From f97847b949e42e4500dd1f13109a457ecb5c9b81 Mon Sep 17 00:00:00 2001 From: blue Date: Sun, 3 Dec 2023 18:34:16 -0300 Subject: [PATCH] some more renaming, flatpak manifest --- org.macaw.magpie.yml | 19 +++++++++++++++++++ qml/Welcome.qml | 2 +- qml/main.qml | 2 +- root.cpp | 4 ++-- 4 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 org.macaw.magpie.yml diff --git a/org.macaw.magpie.yml b/org.macaw.magpie.yml new file mode 100644 index 0000000..8586ce3 --- /dev/null +++ b/org.macaw.magpie.yml @@ -0,0 +1,19 @@ +app-id: org.macaw.magpie +runtime: org.kde.Platform +runtime-version: '6.6' +sdk: org.kde.Sdk +command: magpie +finish-args: + - --share=ipc + - --share=network + - --socket=fallback-x11 + - --socket=wayland + - --device=dri +modules: + - name: magpie + buildsystem: cmake + config-opts: + - -DCMAKE_BUILD_TYPE=Debug + sources: + - type: dir + path: . diff --git a/qml/Welcome.qml b/qml/Welcome.qml index 99091b5..97fbe33 100644 --- a/qml/Welcome.qml +++ b/qml/Welcome.qml @@ -15,7 +15,7 @@ Page { Label { anchors.horizontalCenter: parent.horizontalCenter - text: qsTr("Welcome to Megpie!") + text: qsTr("Welcome to Magpie!") font { pixelSize: 22 bold: true diff --git a/qml/main.qml b/qml/main.qml index 43e5ea9..7841a96 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -12,7 +12,7 @@ ApplicationWindow { width: 640 height: 480 visible: true - title: "Megpie" + title: "Magpie" header: Label { text: stack.currentItem.title diff --git a/root.cpp b/root.cpp index 3058f0b..bcb00cb 100644 --- a/root.cpp +++ b/root.cpp @@ -7,7 +7,7 @@ Root::Root(const QUrl& root, int& argc, char* argv[]) : context(engine.rootContext()), api() { - std::cout << "Starting megpie..." << std::endl; + std::cout << "Starting Magpie..." << std::endl; connect(&engine, &QQmlApplicationEngine::objectCreated, this, &Root::onObjectCreated, @@ -36,7 +36,7 @@ bool Root::notify(QObject* receiver, QEvent* e) { std::cout << "Caught an exception" << std::endl; } - std::cout << "Squawk is quiting..." << std::endl; + std::cout << "Magpie is quiting..." << std::endl; exit(1); return false; }