[evolution] Add flatpak build script for stable Evolution version



commit 238c982fa784d3a5314b615b19f236b605cbcab0
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 11 14:02:56 2017 +0200

    Add flatpak build script for stable Evolution version

 flatpak/org.gnome.Evolution-master.json |    1 -
 flatpak/org.gnome.Evolution-stable.json |  351 +++++++++++++++++++++++++++++++
 2 files changed, 351 insertions(+), 1 deletions(-)
---
diff --git a/flatpak/org.gnome.Evolution-master.json b/flatpak/org.gnome.Evolution-master.json
index f614bcf..ad6bec5 100644
--- a/flatpak/org.gnome.Evolution-master.json
+++ b/flatpak/org.gnome.Evolution-master.json
@@ -292,7 +292,6 @@
                                        "type": "git",
                                        "url": "https://git.gnome.org/browse/evolution";,
                                        "branch": "master"
-
                                },
 
                                {
diff --git a/flatpak/org.gnome.Evolution-stable.json b/flatpak/org.gnome.Evolution-stable.json
new file mode 100644
index 0000000..b484a6c
--- /dev/null
+++ b/flatpak/org.gnome.Evolution-stable.json
@@ -0,0 +1,351 @@
+{
+       "app-id": "org.gnome.Evolution",
+       "runtime": "org.gnome.Platform",
+       "runtime-version": "3.24",
+       "sdk": "org.gnome.Sdk",
+       "command": "evolution",
+       "rename-desktop-file": "evolution.desktop",
+       "rename-icon": "evolution",
+       "copy-icon": true,
+       "branch": "gnome-3-26",
+       "desktop-file-name-suffix": " (3.26)",
+       "build-options" : {
+               "cflags": "-O2 -g -Wno-deprecated-declarations",
+               "cxxflags": "-O2 -g -Wno-deprecated-declarations"
+       },
+       "cleanup": [
+               "/include",
+               "/lib/pkgconfig",
+               "/share/pkgconfig",
+               "/share/aclocal",
+               "*.la",
+               "*.a"
+       ],
+       "finish-args": [
+               "--socket=x11",
+               "--share=ipc",
+               "--socket=wayland",
+               "--socket=pulseaudio",
+               "--share=network"
+       ],
+       "modules": [
+               {
+                       "name": "libical",
+                       "cleanup": [ "/lib/cmake" ],
+                       "buildsystem": "cmake",
+                       "config-opts": [
+                               "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
+                               "-DBUILD_SHARED_LIBS:BOOL=ON",
+                               "-DGOBJECT_INTROSPECTION:BOOL=OFF"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://github.com/libical/libical/releases/download/v2.0.0/libical-2.0.0.tar.gz";,
+                                       "sha256": 
"654c11f759c19237be39f6ad401d917e5a05f36f1736385ed958e60cf21456da"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "liboauth",
+                       "config-opts": [ "--enable-nss" ],
+                       "cleanup": [ "/share/man" ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://downloads.sourceforge.net/project/liboauth/liboauth-1.0.3.tar.gz";,
+                                       "sha256": 
"0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "libgdata",
+                       "config-opts": [
+                               "--disable-always-build-tests",
+                               "--disable-goa",
+                               "--disable-gtk-doc",
+                               "--disable-introspection",
+                               "--disable-installed-tests",
+                               "--disable-vala"
+                       ],
+                       "cleanup": [
+                               "/share/gtk-doc"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://download.gnome.org/sources/libgdata/0.17/libgdata-0.17.9.tar.xz";,
+                                       "sha256": 
"85c4f7674c0098ffaf060ae01b6b832cb277b3673d54ace3bdedaad6b127453a"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "geocode-glib",
+                       "config-opts": [
+                               "--disable-introspection",
+                               "--disable-gtk-doc"
+                       ],
+                       "cleanup": [
+                               "/share/gtk-doc"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://download.gnome.org/sources/geocode-glib/3.24/geocode-glib-3.24.0.tar.xz";,
+                                       "sha256": 
"19c1fef4fd89eb4bfe6decca45ac45a2eca9bb7933be560ce6c172194840c35e"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "libgweather",
+                       "config-opts": [
+                               "--disable-glade-catalog",
+                               "--disable-introspection",
+                               "--disable-vala"
+                       ],
+                       "cleanup": [
+                               "/share/gtk-doc"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://download.gnome.org/sources/libgweather/3.24/libgweather-3.24.1.tar.xz";,
+                                       "sha256": 
"1227316037b63dac4153031a22abccb3d2ac679a7409e29cd303eec499eb653c"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "openldap",
+                       "cleanup": [
+                               "/bin",
+                               "/share/man"
+                       ],
+                       "config-opts": [
+                               "--disable-backends",
+                               "--disable-overlays",
+                               "--disable-slapd",
+                               "--disable-debug",
+                               "--enable-dynamic",
+                               "--without-threads",
+                               "--with-tls=gnutls"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.45.tgz";,
+                                       "sha256": 
"cdd6cffdebcd95161a73305ec13fc7a78e9707b46ca9f84fb897cd5626df3824"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "dconf",
+                       "config-opts": [
+                               "--disable-gtk-doc",
+                               "--disable-man"
+                       ],
+                       "cleanup": [
+                               "/share/bash-completion",
+                               "/share/gtk-doc",
+                               "/share/vala"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://download.gnome.org/sources/dconf/0.26/dconf-0.26.0.tar.xz";,
+                                       "sha256": 
"8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "libgpg-error",
+                       "cleanup": [
+                               "/bin",
+                               "/share/common-lisp",
+                               "/share/info",
+                               "/share/man"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.27.tar.bz2";,
+                                       "sha256": 
"4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "libgcrypt",
+                       "cleanup": [
+                               "/bin",
+                               "/share/info",
+                               "/share/man"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.8.1.tar.bz2";,
+                                       "sha256": 
"7a2875f8b1ae0301732e878c0cca2c9664ff09ef71408f085c50e332656a78b3"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "gnome-keyring",
+                       "config-opts": [
+                               "--with-pkcs11-config=/app/share/gk-to-remove",
+                               "--with-pkcs11-modules=/app/share/gk-to-remove",
+                               "--disable-doc",
+                               "--disable-pam",
+                               "--disable-p11-tests",
+                               "--disable-ssh-agent"
+                       ],
+                       "cleanup": [
+                               "/etc/xdg",
+                               "/share/gk-to-remove",
+                               "/share/GConf"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://download.gnome.org/sources/gnome-keyring/3.20/gnome-keyring-3.20.1.tar.xz";,
+                                       "sha256": 
"97964e723f454be509c956ed5e38b5c2fd7363f43bd3f153b94a4a63eb888c8c"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "evolution-data-server",
+                       "buildsystem": "cmake",
+                       "cleanup": [ "/share/GConf" ],
+                       "config-opts": [
+                               "-DENABLE_FILE_LOCKING=fcntl",
+                               "-DENABLE_DOT_LOCKING=OFF",
+                               "-DENABLE_GOOGLE_AUTH=ON",
+                               "-DENABLE_GTK=ON",
+                               "-DENABLE_UOA=OFF",
+                               "-DENABLE_GOA=OFF",
+                               "-DENABLE_EXAMPLES=OFF",
+                               "-DENABLE_INTROSPECTION=OFF",
+                               "-DENABLE_VALA_BINDINGS=OFF",
+                               "-DENABLE_INSTALLED_TESTS=OFF",
+                               "-DENABLE_GTK_DOC=OFF",
+                               "-DWITH_PRIVATE_DOCS=OFF",
+                               "-DWITH_PHONENUMBER=OFF",
+                               "-DWITH_SYSTEMDUSERUNITDIR=OFF"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "git",
+                                       "url": "https://git.gnome.org/browse/evolution-data-server";,
+                                       "branch": "gnome-3-26"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "gtkspell3",
+                       "config-opts": [
+                               "--disable-gtk-doc",
+                               "--disable-introspection",
+                               "--disable-vala"
+                       ],
+                       "cleanup": [ "/share/gtk-doc" ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://downloads.sourceforge.net/project/gtkspell/3.0.9/gtkspell3-3.0.9.tar.xz";,
+                                       "sha256": 
"a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "evolution",
+                       "buildsystem": "cmake",
+                       "config-opts": [
+                               "-DVERSION_SUBSTRING:STRING=' (flatpak)'",
+                               "-DENABLE_AUTOAR=OFF",
+                               "-DENABLE_CONTACT_MAPS=OFF",
+                               "-DENABLE_GNOME_DESKTOP=OFF",
+                               "-DENABLE_GTK_DOC=OFF",
+                               "-DENABLE_INSTALLED_TESTS=OFF",
+                               "-DENABLE_LIBCRYPTUI=OFF",
+                               "-DENABLE_PST_IMPORT=OFF",
+                               "-DENABLE_TEXT_HIGHLIGHT=OFF",
+                               "-DENABLE_YTNEF=OFF",
+                               "-DWITH_GLADE_CATALOG=OFF",
+                               "-DWITH_HELP=OFF"
+                       ],
+                       "cleanup": [
+                               "/etc/xdg",
+                               "/share/GConf"
+                       ],
+                       "sources": [
+                               {
+                                       "type": "git",
+                                       "url": "https://git.gnome.org/browse/evolution";,
+                                       "branch": "gnome-3-26"
+                               },
+
+                               {
+                                       "type": "script",
+                                       "commands": [
+                                               "echo evolution-flatpak | /app/bin/gnome-keyring-daemon 
--daemonize --unlock &",
+                                               "/app/libexec/dconf-service &",
+                                               "sleep 1",
+                                               "/app/libexec/evolution-source-registry &",
+                                               "sleep 1",
+                                               "/app/libexec/evolution-addressbook-factory -r &",
+                                               "/app/libexec/evolution-calendar-factory -r &",
+                                               "sleep 1",
+                                               "/app/bin/evolution.bin",
+                                               "sleep 3"
+                                       ],
+                                       "dest-filename": "flatpak-evolution-wrapper.sh"
+                               },
+
+                               {
+                                       "type": "script",
+                                       "commands": [ "dbus-run-session /app/bin/evolution-wrapper" ],
+                                       "dest-filename": "flatpak-evolution-run.sh"
+                               }
+                       ],
+                       "post-install": [
+                               "mv /app/bin/evolution /app/bin/evolution.bin",
+                               "cp flatpak-evolution-run.sh /app/bin/evolution",
+                               "cp flatpak-evolution-wrapper.sh /app/bin/evolution-wrapper"
+                       ]
+               },
+
+               {
+                       "name": "libmspack",
+                       "cleanup": [ "/bin" ],
+                       "sources": [
+                               {
+                                       "type": "archive",
+                                       "url": 
"https://www.cabextract.org.uk/libmspack/libmspack-0.6alpha.tar.gz";,
+                                       "sha256": 
"1edbee82accb28e679ab538f803aab7a5a569e4102ccf1715b462b1bd915f921"
+                               }
+                       ]
+               },
+
+               {
+                       "name": "evolution-ews",
+                       "buildsystem": "cmake",
+                       "sources": [
+                               {
+                                       "type": "git",
+                                       "url": "https://git.gnome.org/browse/evolution-ews";,
+                                       "branch": "gnome-3-26"
+                               }
+                       ]
+               }
+       ]
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]