I have tried to build the flatpak-kde-applications repo (https://github.com/KDE/flatpak-kde-applications) with make but it failed giving the error: Fetching git repo git://anongit.kde.org/marble.git Starting build of org.kde.marble.maps Cache hit for marble, skipping build Cache miss, checking out last cache hit Cleaning up Rewriting contents of org.kde.marble.maps.desktop Error: Can't load desktop file /home/fusion809/GitHub/others/flatpak-kde-applications/app/files/share/applications/org.kde.marble.maps.desktop: Error opening file /home/fusion809/GitHub/others/flatpak-kde-applications/app/files/share/applications/org.kde.marble.maps.desktop: No such file or directory Makefile:6: recipe for target 'org.kde.marble.app' failed make: *** [org.kde.marble.app] Error 1
When I move the org.kde.marble.json out of this directory and re-run make it fails with the error: 6.3.0.debug stripping /home/fusion809/GitHub/others/flatpak-kde-applications/app/files/lib/libqgpgme.so.7.1.0 to /home/fusion809/GitHub/others/flatpak-kde-applications/app/files/lib/debug/lib/libqgpgme.so.7.1.0.debug Committing stage build-gpgme to cache ======================================================================== Building module libotp in /home/fusion809/GitHub/others/flatpak-kde-applications/.flatpak-builder/build/libotp-1 ======================================================================== Cloning into '/home/fusion809/GitHub/others/flatpak-kde-applications/.flatpak-builder/build/libotp-1'... done. Branch dev/libotp set up to track remote branch dev/libotp from origin. Switched to a new branch 'dev/libotp' -- The C compiler identification is GNU 5.2.0 -- The CXX compiler identification is GNU 5.2.0 -- Check for working C compiler: /run/ccache/bin/cc -- Check for working C compiler: /run/ccache/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /run/ccache/bin/c++ -- Check for working CXX compiler: /run/ccache/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could not set up the appstream test. appstreamcli is missing. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success CMake Error at CMakeLists.txt:43 (if): if given arguments: "KF5Akonadi_FOUND" "AND" Unknown arguments specified -- Configuring incomplete, errors occurred! See also "/run/build/libotp/CMakeFiles/CMakeOutput.log". Error: module libotp: Child process exited with code 1 Makefile:6: recipe for target 'org.kde.kube.app' failed make: *** [org.kde.kube.app] Error 1 if relevant I am building this on 64-bit Fedora 25.
Aleix, can you comment on https://github.com/KDE/flatpak-kde-applications/blob/master/org.kde.marble.json and what it expects? I wonder if "id": "org.kde.marble.maps" should rather be "id": "org.kde.marble" which corresponds to the Desktop application, while org.kde.marble.maps is the mobile variant which is not installed by default.
The flatpak id should be the same as the desktop file, which in turn should be the same as the appdata file. Feel free to submit a patch with the fixed json (either directly or through phabricator for review). Happy holidays!
Git commit 070d3992b88f3938a8670d617387ab482178c900 by Aleix Pol. Committed on 30/12/2016 at 15:45. Pushed by apol into branch 'master'. Address used marble metadata M +1 -1 org.kde.marble.json https://commits.kde.org/flatpak-kde-applications/070d3992b88f3938a8670d617387ab482178c900
That final commit fixes this bug.
Except... Running flatpak run org.kde.kdevelop after running: make flatpak --user remote-add --no-gpg-verify flatpak-kde-applications repo flatpak install --user org.kde.kdevelop fails to launch KDevelop. Giving repeated lines of errors along the lines of: (process:15831): GLib-GIO-CRITICAL **: g_dbus_message_set_body: assertion '(body == NULL) || g_variant_is_of_type (body, G_VARIANT_TYPE_TUPLE)' failed
Kate launches without a problem, however, using this Flatpak. The only error message it gives is: Qt: Session management error: Could not open network socket (process:16010): GLib-GIO-CRITICAL **: g_dbus_message_set_body: assertion '(body == NULL) || g_variant_is_of_type (body, G_VARIANT_TYPE_TUPLE)' failed
flatpak run org.kde.okular returns: Qt: Session management error: Could not open network socket (process:17434): GLib-GIO-CRITICAL **: g_dbus_message_set_body: assertion '(body == NULL) || g_variant_is_of_type (body, G_VARIANT_TYPE_TUPLE)' failed (process:17434): GLib-GIO-CRITICAL **: g_dbus_message_set_body: assertion '(body == NULL) || g_variant_is_of_type (body, G_VARIANT_TYPE_TUPLE)' failed WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification it opens a window with the error message: Unable to find the Okular component: Cannot load library /app/lib64/plugins/okularpart.so: (libpcreposix.so.0: cannot open shared object file: No such file or directory)
Please open new issues if other things don't work.