[gimp] build: add a flatpak for the gtk3-port branch.



commit 1d30426102d5559401b8f4eb3c39e254eaf99f02
Author: Jehan <jehan girinstud io>
Date:   Mon May 14 01:19:41 2018 +0200

    build: add a flatpak for the gtk3-port branch.
    
    This flatpak is tested and working.
    I have not yet verified though if it has the maximum options enabled
    (guessing not), but only that we had at least the required dependencies
    at least.
    
    When we will merge, it will become the nightly flatpak and the current
    nightly can be used to follow the 2.10 (future) branch.

 build/flatpak/org.gimp.GIMP-gtk3.json |   94 +++++++++++++++++++++++++++++++++
 1 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/build/flatpak/org.gimp.GIMP-gtk3.json b/build/flatpak/org.gimp.GIMP-gtk3.json
new file mode 100644
index 0000000..d076c8e
--- /dev/null
+++ b/build/flatpak/org.gimp.GIMP-gtk3.json
@@ -0,0 +1,94 @@
+{
+    "id": "org.gimp.GIMP",
+    "branch": "gtk3",
+    "base": "org.gimp.BaseApp",
+    "base-version": "stable",
+    "runtime": "org.gnome.Platform",
+    "runtime-version": "3.28",
+    "sdk": "org.gnome.Sdk",
+    "command": "gimp-2.99",
+    "rename-desktop-file": "gimp.desktop",
+    "rename-icon": "gimp",
+    "finish-args": ["--share=ipc", "--socket=x11", "--share=network",
+                    "--filesystem=host", "--filesystem=xdg-config/GIMP",
+                    "--filesystem=xdg-config/gtk-3.0",
+                    "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*" ],
+    "tags": ["GTK+3", "nightly"],
+    "desktop-file-name-prefix": "(GTK+3) ",
+    "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", "/bin/wmf*", "/bin/libwmf-*",
+                "/bin/pygtk*", "/bin/pygobject*", "/bin/pygobject-codegen-2.0"],
+    "modules": [
+        {
+            "name" : "fribidi",
+            "sources" : [
+                {
+                    "url" : 
"https://github.com/fribidi/fribidi/releases/download/0.19.7/fribidi-0.19.7.tar.bz2";,
+                    "sha256" : "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e",
+                    "type" : "archive"
+                }
+            ]
+        },
+        {
+            "name" : "pango",
+            "sources" : [
+                {
+                    "url" : "https://download.gnome.org/sources/pango/1.42/pango-1.42.1.tar.xz";,
+                    "sha256" : "915a6756b298578ff27c7a6393f8c2e62e6e382f9411f2504d7af1a13c7bce32",
+                    "type" : "archive"
+                }
+            ]
+        },
+        {
+            "name": "babl",
+            "config-opts": [ "--disable-docs" ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "git://git.gnome.org/babl",
+                    "branch": "master"
+                }
+            ]
+        },
+        {
+            "name": "gegl",
+            "config-opts": [ "--disable-docs", "--disable-introspection" ],
+            "cleanup": [ "/bin" ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "git://git.gnome.org/gegl",
+                    "branch": "master"
+                }
+            ]
+        },
+        {
+            "name": "gimp",
+            "config-opts": [ "--disable-docs", "--disable-gtk-doc", "--disable-gtk-doc-html", 
"--enable-vector-icons" ],
+            "cleanup": [ "/bin/gimptool-3.0", "/bin/gimp-console-2.99" ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "git://git.gnome.org/gimp",
+                    "branch": "gtk3-port"
+                }
+            ],
+           "post-install": [
+                "rm -fr /app/include /app/lib/pkgconfig /app/share/pkgconfig",
+                "rm -fr /app/share/gtk-doc/ /app/share/man/",
+                "rm -fr /app/lib/*.la /app/lib/*.a",
+                "rm -fr /app/share/ghostscript/9.20/doc/",
+                "rm -fr /app/bin/wmf* /app/bin/libwmf-*",
+                "rm -fr /app/bin/pygtk* /app/bin/pygobject* /app/bin/pygobject-codegen-2.0"
+            ]
+        }
+    ]
+}


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