Commit dd924bb3 authored by Jehan's avatar Jehan

build: stable flatpak manifest is now hosted at flathub.

parent 5f7c0323
GIMP Flatpak HowTo
==================
Stable build
~~~~~~~~~~~~
The stable manifest is maintained at flathub: https://github.com/flathub/org.gimp.GIMP
Development and nightly builds
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Flathub does not host non-stable builds, therefore they are maintained
separately on the GIMP repository. Nevertheless they should remain as
close to the stable manifest as possible since they are meant to become
stable too.
Building and maintaining
~~~~~~~~~~~~~~~~~~~~~~~~
* Install flatpak and flatpak-builder. There are packages for most
distributions. Check: http://flatpak.org/getting.html
Use at least flatpak 0.9.5.
......
{
"id": "org.gimp.GIMP",
"branch": "stable",
"base": "org.gimp.BaseApp",
"base-version": "stable",
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"sdk": "org.gnome.Sdk",
"command": "gimp-2.8",
"rename-desktop-file": "gimp.desktop",
"rename-appdata-file": "gimp.appdata.xml",
"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": ["stable"],
"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*"],
"modules": [
{
"name": "babl",
"config-opts": [ "--disable-docs" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/babl",
"branch": "BABL_0_1_10",
"commit": "0aa5c964e466e87dd4842863d63dfc989a3ef4d3"
}
]
},
{
"name": "gegl",
"config-opts": [ "--disable-docs", "--disable-introspection" ],
"cleanup": [ "/bin" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gegl",
"branch": "GEGL_0_2_0",
"commit": "57e23d310291a632ea8e16b7b8e5b97f7f289680"
}
]
},
{
"name": "gimp",
"config-opts": [ "--disable-docs", "--disable-gtk-doc", "--disable-gtk-doc-html", "--enable-vector-icons" ],
"cleanup": [ "/bin/gimptool-2.0", "/bin/gimp-console-2.9" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gimp",
"branch": "GIMP_2_8_22",
"commit": "e39a4e12039a255f29d7cf79365190f01c5f37aa"
}
],
"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"
]
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment