[gnome-maps] flatpak: add org.gnome.Maps.json manifest
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] flatpak: add org.gnome.Maps.json manifest
- Date: Thu, 1 Dec 2016 02:46:58 +0000 (UTC)
commit 400c6db333b77b81ccf15b1d9ec21ae106ea9a00
Author: Christian Hergert <chergert redhat com>
Date: Wed Nov 30 18:46:19 2016 -0800
flatpak: add org.gnome.Maps.json manifest
This manifest allows Maps to easily be built with all of its dependencies
inside of GNOME Builder. Just clone the project, select the runtime in
Build Preferences, and Build/Run to generate a flatpak and run.
Maps maintainers: feel free to revert if you don't want this, but I do
think it will simplify your "newcomer" process.
Requires Builder 3.22.3 (package or flatpak) and flatpak-builder on
the host system.
org.gnome.Maps.json | 188 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 188 insertions(+), 0 deletions(-)
---
diff --git a/org.gnome.Maps.json b/org.gnome.Maps.json
new file mode 100644
index 0000000..5cdf22a
--- /dev/null
+++ b/org.gnome.Maps.json
@@ -0,0 +1,188 @@
+{
+ "app-id": "org.gnome.Maps",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "master",
+ "sdk": "org.gnome.Sdk",
+ "command": "gnome-maps",
+ "tags": ["devel"],
+ "desktop-file-name-prefix": "(Development) ",
+ "finish-args": [
+ /* X11 + XShm access */
+ "--share=ipc", "--socket=x11",
+ /* Wayland access */
+ "--socket=wayland",
+ /* OpenGL access */
+ "--device=dri",
+ /* Needs to talk to the network: */
+ "--share=network",
+ /* Evolution data server access */
+ "--talk-name=org.gnome.OnlineAccounts",
+ "--talk-name=org.gnome.evolution.dataserver.AddressBook9",
+ "--talk-name=org.gnome.evolution.dataserver.Calendar7",
+ "--talk-name=org.gnome.evolution.dataserver.Sources5",
+ "--talk-name=org.gnome.evolution.dataserver.Subprocess.Backend.*",
+
+ /* Connectivity check */
+ "--system-talk-name=org.freedesktop.NetworkManager",
+ /* Needed to save OAuth token from OpenStreetMap */
+ "--talk-name=org.freedesktop.secrets",
+ /* Needed to get geo-positioning */
+ "--system-talk-name=org.freedesktop.GeoClue2",
+ /* Needed for dconf to work */
+ "--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",
+ "cxxflags": "-O2 -g",
+ "env": {
+ "V": "1"
+ }
+ },
+ "cleanup": ["/include", "/lib/pkgconfig",
+ "/share/pkgconfig", "/share/aclocal",
+ "/man", "/share/man", "/share/gtk-doc",
+ "/share/vala",
+ "*.la", "*.a"],
+ "modules": [
+ {
+ "name": "libical",
+ "cleanup": [ "/lib/cmake"],
+ "cmake": true,
+ "config-opts": [ "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
+ "-DBUILD_SHARED_LIBS:BOOL=ON" ],
+ "sources": [
+ {
+ "type": "archive",
+ "url":
"https://github.com/libical/libical/releases/download/v1.0.1/libical-1.0.1.tar.gz",
+ "sha256": "089ce3c42d97fbd7a5d4b3c70adbdd82115dd306349c1f5c46a8fb3f8c949592"
+ }
+ ]
+ },
+ {
+ "name": "libgee",
+ "build-options" : {
+ "env": {
+ "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR": "/app/share/gir-1.0",
+ "PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR": "/app/lib/girepository-1.0"
+ }
+ },
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/libgee"
+ }
+ ]
+ },
+ {
+ "name": "gnome-online-accounts",
+ "config-opts": ["--disable-telepathy", "--disable-documentation", "--disable-backend"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/gnome-online-accounts"
+ }
+ ]
+ },
+ {
+ "name": "geocode-glib",
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/geocode-glib"
+ }
+ ]
+ },
+ {
+ "name": "libgweather",
+ "config-opts": ["--disable-vala"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/libgweather"
+ }
+ ]
+ },
+ {
+ "name": "evolution-data-server",
+ "cleanup": [
+ "/lib/cmake",
+ "/lib/evolution-data-server/*-backends",
+ "/libexec",
+ "/share/dbus-1/services"
+ ],
+ "config-opts": [
+ "-DENABLE_GTK=OFF",
+ "-DENABLE_GOOGLE_AUTH=OFF",
+ "-DENABLE_UOA=OFF",
+ "-DENABLE_GOOGLE=OFF",
+ "-DENABLE_VALA_BINDINGS=ON",
+ "-DWITH_OPENLDAP=OFF",
+ "-DENABLE_INTROSPECTION=ON",
+ "-DENABLE_INSTALLED_TESTS=OFF",
+ "-DENABLE_GTK_DOC=OFF",
+ "-DENABLE_EXAMPLES=OFF"
+ ],
+ "cmake": true,
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/evolution-data-server"
+ }
+ ]
+ },
+ {
+ "name": "folks",
+ "cleanup": [ "/bin", "/share/GConf" ],
+ "config-opts": ["--disable-telepathy-backend",
+ "--disable-ofono-backend",
+ "--disable-bluez-backend",
+ "--disable-fatal-warnings"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/folks"
+ }
+ ]
+ },
+ {
+ "name": "libchamplain",
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/libchamplain"
+ }
+ ]
+ },
+ {
+ /* we need rest-0.7 so we use a tarball for it */
+ "name": "librest",
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://git.gnome.org/browse/librest/snapshot/librest-librest-0.7.12.tar.xz",
+ "sha256": "570917e570e6e8bf55572eb04902d4cf3975c2629df9df96c21be2059d71dab9"
+ }
+ ]
+ },
+ {
+ "name": "libgfbgraph",
+ "cleanup": [ "/doc/libgfbgraph"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/libgfbgraph"
+ }
+ ]
+ },
+ {
+ "name": "gnome-maps",
+ "sources": [
+ {
+ "type": "git",
+ "url": "git://git.gnome.org/gnome-maps"
+ }
+ ]
+ }
+ ]
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]