diff options
author | Florian Müllner <fmuellner@gnome.org> | 2019-04-18 14:54:02 +0200 |
---|---|---|
committer | Jonathan Kang <jonathankang@gnome.org> | 2019-04-23 01:55:21 +0000 |
commit | 691312d2599d28ea228218a022e024a733c4f278 (patch) | |
tree | 579a71a76f95eed402aa2af9f0195258da3ed8f7 /org.gnome.Logs.json | |
parent | 6939d0da4271f2346b5ae1ebdcf7dfada210bcc3 (diff) | |
download | gnome-logs-691312d2599d28ea228218a022e024a733c4f278.tar.gz |
Add flatpak manifest
This is useful both for development[0] and for distribution in the
gnome-apps-nightly repository. It is also a good base for a future
stable manifest on flathub.
Unfortunately the manifest isn't as simple as hoped: The current
platform contains a libsystemd without lz4 support, which means
that it cannot open any journal files if the host stores them with
the preferred compression. That is, to be actually useful on common
systems, we have to rebuild libsystemd ourselves ...
[0] https://csorianognome.wordpress.com/2017/04/07/the-new-contribution-workflow-for-gnome/
https://gitlab.gnome.org/GNOME/gnome-logs/issues/39
Diffstat (limited to 'org.gnome.Logs.json')
-rw-r--r-- | org.gnome.Logs.json | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/org.gnome.Logs.json b/org.gnome.Logs.json new file mode 100644 index 0000000..7869b73 --- /dev/null +++ b/org.gnome.Logs.json @@ -0,0 +1,118 @@ +{ + "app-id": "org.gnome.Logs", + "runtime": "org.gnome.Platform", + "runtime-version": "master", + "sdk": "org.gnome.Sdk", + "command": "gnome-logs", + "tags": ["nightly"], + "desktop-file-name-prefix": "(Nightly) ", + "finish-args": [ + "--share=ipc", "--socket=x11", + "--socket=wayland", + "--filesystem=/var/log/journal:ro", + "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + ], + "build-options": { + "cflags": "-O2 -g" + }, + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "modules": [ + { + "name": "liblz4", + "buildsystem": "meson", + "builddir": true, + "subdir": "contrib/meson", + "sources": [ + { + "type": "git", + "url": "https://github.com/lz4/lz4", + "tag": "v1.9.0", + "commit": "131896ab9d4fc9b8c606616327ed223d5d86472b" + } + ] + }, + { + "name": "systemd", + "buildsystem": "meson", + "builddir": true, + "config-opts": [ + "--libdir=lib", + "-Drootprefix=/app", + "-Drootlibdir=/app/lib", + "-Dsysconfdir=/app/etc", + + "-Dutmp=false", + "-Dhibernate=false", + "-Dldconfig=false", + "-Dresolve=false", + "-Defi=false", + "-Dtpm=false", + "-Denvironment-d=false", + "-Dbinfmt=false", + "-Dcoredump=false", + "-Dlogind=false", + "-Dhostnamed=false", + "-Dlocaled=false", + "-Dmachined=false", + "-Dportabled=false", + "-Dnetworkd=false", + "-Dtimedated=false", + "-Dtimesyncd=false", + "-Dremote=false", + "-Dnss-myhostname=false", + "-Dnss-mymachines=false", + "-Dnss-resolve=false", + "-Dnss-systemd=false", + "-Dfirstboot=false", + "-Drandomseed=false", + "-Dbacklight=false", + "-Dvconsole=false", + "-Dquotacheck=false", + "-Dsysusers=false", + "-Dtmpfiles=false", + "-Dimportd=false", + "-Dhwdb=false", + "-Drfkill=false", + "-Dman=false", + "-Dhtml=false", + "-Dbashcompletiondir=no", + "-Dzshcompletiondir=no" + ], + "cleanup": [ + "/bin", + "/etc", + "/lib/libudev*", + "/lib/kernel", + "/lib/modprobe.d", + "/lib/rpm", + "/lib/sysctl.d", + "/lib/systemd", + "/lib/udev", + "/share" + ], + "sources": [ + { + "type": "git", + "url": "https://github.com/systemd/systemd.git", + "tag": "v242", + "commit": "1e5d2d656420d0e755dbcf72aeba3c3aba54e956" + } + ] + }, + { + "name": "gnome-logs", + "buildsystem": "meson", + "builddir": true, + "sources": [ + { + "type": "git", + "url": "https://gitlab.gnome.org/GNOME/gnome-logs.git" + } + ] + } + ] +} |