{ "//": "GENERATED by tools/make_manifest.py from flatpak/upstream/org.gimp.GIMP.json and patches/series. Do not edit by hand.", "app-id": "io.github.diegochagas.GIMPhoto", "runtime": "org.gnome.Platform", "runtime-version": "51", "sdk": "org.gnome.Sdk", "command": "gimp", "build-options": { "//": "See: https://github.com/flatpak/flatpak-builder/issues/605", "env": { "CLICOLOR_FORCE": "1" }, "cflags": "-fdiagnostics-color=always", "cxxflags": "-fdiagnostics-color=always" }, "separate-locales": false, "rename-appdata-file": "org.gimp.GIMP.appdata.xml", "rename-desktop-file": "gimp.desktop", "rename-icon": "gimp", "copy-icon": true, "finish-args": [ "--share=ipc", "--share=network", "--socket=fallback-x11", "--socket=wayland", "--device=all", "--filesystem=host", "--filesystem=xdg-config/GIMP:create", "--filesystem=xdg-config/gtk-3.0:ro", "--filesystem=/tmp", "--filesystem=xdg-run/gvfs", "--filesystem=xdg-run/gvfsd", "--unset-env=GTK_MODULES", "--talk-name=org.gtk.vfs.*", "--talk-name=org.freedesktop.FileManager1", "--talk-name=org.gnome.Shell.Screenshot", "--talk-name=org.kde.kwin.Screenshot", "--talk-name=com.canonical.AppMenu.Registrar", "--env=GIMP3_DIRECTORY=.var/app/io.github.diegochagas.GIMPhoto/config/GIMPhoto" ], "tags": [ "GTK+3", "stable" ], "cleanup": [ "/lib/cmake", "/man", "/share/aclocal", "/share/doc", "/share/gir-1.0", "/share/gtk-doc", "/share/man", "/share/pkgconfig", "/share/vala", "*.la", "*.a" ], "add-extensions": { "org.gimp.GIMP.Plugin": { "version": "3", "directory": "extensions", "add-ld-path": "lib", "merge-dirs": "plug-ins;scripts", "subdirectories": true, "no-autodownload": true }, "org.gimp.GIMP.Manual": { "version": "3.2", "directory": "share/gimp/3.0/help", "locale-subset": true, "no-autodownload": true } }, "modules": [ { "//": "This dep is tricky to be included in the SDK: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1826", "name": "libbacktrace", "sources": [ { "type": "git", "url": "https://github.com/ianlancetaylor/libbacktrace.git", "commit": "1db85642e3fca189cf4e076f840a45d6934b2456" }, { "type": "shell", "commands": [ "autoreconf -vfi" ] } ], "config-opts": [ "--enable-shared" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "//": "libappstream is only on the SDK, not on runtime: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/work_items/1305", "name": "appstream", "sources": [ { "type": "archive", "url": "https://github.com/ximion/appstream/archive/refs/tags/v1.2.1.tar.gz", "sha256": "2bc53d1d63ae28e7409a15747d4ae23a557409249461aab87a7947640402d1bd", "x-checker-data": { "type": "anitya", "project-id": 10385, "stable-only": true, "url-template": "https://github.com/ximion/appstream/archive/refs/tags/v$version.tar.gz" } } ], "buildsystem": "meson", "config-opts": [ "-Dstemming=false", "-Dsystemd=false", "-Dcompose=false", "-Dgir=false", "-Dvapi=false", "-Dapidocs=false", "-Dinstall-docs=false", "-Dman=false", "-Dbash-completion=false" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig", "/share" ], "modules": [ { "name": "libfyaml", "sources": [ { "type": "archive", "url": "https://github.com/pantoniou/libfyaml/releases/download/v0.9.6/libfyaml-0.9.6.tar.gz", "sha256": "a59cc3331e2eb903ec36933ad52a45888041cac31e44f553a00511131242c483", "x-checker-data": { "type": "anitya", "project-id": 383614, "stable-only": true, "url-template": "https://github.com/pantoniou/libfyaml/releases/download/v$version/libfyaml-$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DBUILD_TESTING=OFF", "-DENABLE_NETWORK=OFF" ], "cleanup": [ "/bin", "/include", "/lib/cmake", "/lib/pkgconfig" ] }, { "name": "libxmlb", "sources": [ { "type": "archive", "url": "https://github.com/hughsie/libxmlb/releases/download/0.3.29/libxmlb-0.3.29.tar.xz", "sha256": "448294be33bfae62f00fa66e506f1cae80237ce71b7ab6530aefa75005eeb08a", "x-checker-data": { "type": "anitya", "project-id": 179028, "stable-only": true, "url-template": "https://github.com/hughsie/libxmlb/releases/download/$version/libxmlb-$version.tar.xz" } } ], "buildsystem": "meson", "config-opts": [ "-Dcli=false", "-Dgtkdoc=false", "-Dintrospection=false", "-Dtests=false" ], "cleanup": [ "/include", "/lib/pkgconfig" ] } ] }, { "name": "gexiv2", "sources": [ { "type": "archive", "url": "https://download.gnome.org/sources/gexiv2/0.14/gexiv2-0.14.7.tar.xz", "sha256": "373b67b24f1a7b5c0606aaf0ea00b352f9511751e21deba0bac650bd5159c93d", "x-checker-data": { "type": "anitya", "project-id": 1626, "stable-only": true, "//": "https://gitlab.gnome.org/GNOME/gexiv2/-/issues/82", "versions": { "<": "0.15.0" }, "url-template": "https://download.gnome.org/sources/gexiv2/$major.$minor/gexiv2-$version.tar.xz" } } ], "buildsystem": "meson", "config-opts": [ "-Dpython3=false", "-Dtools=false" ], "modules": [ { "name": "exiv2", "sources": [ { "type": "archive", "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.9.tar.gz", "sha256": "700b76b97695b2fab4ef8c79619c68ae57d09e0c130724791cafbd39e0eb4aef", "x-checker-data": { "type": "anitya", "project-id": 769, "stable-only": true, "url-template": "https://github.com/Exiv2/exiv2/archive/refs/tags/v$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DEXIV2_BUILD_EXIV2_COMMAND=OFF", "-DEXIV2_ENABLE_INIH=OFF", "-DEXIV2_ENABLE_VIDEO=OFF" ] } ] }, { "name": "openexr", "sources": [ { "type": "archive", "url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.5.2.tar.gz", "sha256": "85a291b9b8563fabef1aa3f6e912d744ce1d4b9fd5a8f978eda194cd51b15ae9", "x-checker-data": { "type": "anitya", "project-id": 13289, "stable-only": true, "url-template": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DOPENEXR_BUILD_TOOLS=OFF", "-DOPENEXR_BUILD_EXAMPLES=OFF", "-DBUILD_TESTING=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ], "modules": [ { "name": "imath", "sources": [ { "type": "archive", "url": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.2.3.tar.gz", "sha256": "e10c12b3f21f45bf08e09d4215d9c7691368d747beebd840de0b6fefed2df9f8", "x-checker-data": { "type": "anitya", "project-id": 223366, "stable-only": true, "url-template": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DBUILD_TESTING=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "libdeflate", "sources": [ { "type": "archive", "url": "https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.26.zip", "sha256": "cc64b9177e8c7eed2d3960a3dd9b0aa061ddc4c43c9067af1209e208e4a8144f", "x-checker-data": { "type": "anitya", "project-id": 242778, "stable-only": true, "url-template": "https://github.com/ebiggers/libdeflate/archive/refs/tags/v$version.zip" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DLIBDEFLATE_BUILD_STATIC_LIB=OFF", "-DLIBDEFLATE_GZIP_SUPPORT=OFF", "-DLIBDEFLATE_BUILD_GZIP=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "openjph", "sources": [ { "type": "archive", "url": "https://github.com/aous72/OpenJPH/archive/refs/tags/0.32.0.tar.gz", "sha256": "5cb1ebe18e5ee1322d23ff2130b37562d447d1ad5586c3d16cf84be3ae30f719", "x-checker-data": { "type": "anitya", "project-id": 375199, "stable-only": true, "url-template": "https://github.com/aous72/OpenJPH/archive/refs/tags/$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DOJPH_ENABLE_TIFF_SUPPORT=OFF", "-DOJPH_BUILD_EXECUTABLES=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ] } ] }, { "name": "poppler", "sources": [ { "type": "archive", "url": "https://poppler.freedesktop.org/poppler-26.08.0.tar.xz", "sha256": "dc906e68cea698109706ac6aa3d2c9d4512fcfcac42d90b8afcda486d1b9abd0", "x-checker-data": { "type": "anitya", "project-id": 3686, "stable-only": true, "url-template": "https://poppler.freedesktop.org/poppler-$version.tar.xz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DBUILD_GTK_TEST=OFF", "-DBUILD_QT5_TESTS=OFF", "-DBUILD_QT6_TESTS=OFF", "-DBUILD_CPP_TESTS=OFF", "-DBUILD_MANUAL_TESTS=OFF", "-DENABLE_GOBJECT_INTROSPECTION=OFF", "-DENABLE_UTILS=OFF", "-DENABLE_CPP=OFF", "-DENABLE_LIBOPENJPEG=openjpeg2", "-DENABLE_BOOST=OFF", "-DENABLE_NSS3=OFF", "-DENABLE_GPGME=OFF", "-DENABLE_QT5=OFF", "-DENABLE_QT6=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ], "modules": [ { "name": "popplerdata", "sources": [ { "type": "archive", "url": "https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz", "sha256": "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74", "x-checker-data": { "type": "anitya", "project-id": 3687, "stable-only": true, "url-template": "https://poppler.freedesktop.org/poppler-data-$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true } ] }, { "name": "libmng", "sources": [ { "type": "archive", "url": "https://src.fedoraproject.org/repo/pkgs/rpms/libmng/libmng-2.0.3.tar.gz/7e9a12ba2a99dff7e736902ea07383d4/libmng-2.0.3.tar.gz", "sha256": "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" } ], "config-opts": [ "--disable-static" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "libwmf", "sources": [ { "type": "archive", "url": "https://github.com/caolanm/libwmf/archive/refs/tags/v0.2.16.tar.gz", "sha512": "f6c48e557b9cb69910fc106db2fa497c44c0e5fc5088f353abdc981746db5a5015a4ee0749f0ec713da3d0275a1f5f9e27e93430d26b9cacb574cd28928e1714", "x-checker-data": { "type": "anitya", "project-id": 230209, "stable-only": true, "url-template": "https://github.com/caolanm/libwmf/archive/refs/tags/v$version.tar.gz" } }, { "type": "shell", "commands": [ "cp -p /usr/share/automake-*/config.{sub,guess} .", "autoreconf -vfi" ] } ], "config-opts": [ "--disable-static", "--disable-dependency-tracking" ], "cleanup": [ "/bin", "/include", "/lib/gdk-pixbuf-*", "/lib/pkgconfig" ] }, { "name": "ghostscript", "sources": [ { "type": "archive", "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10080/ghostscript-10.08.0.tar.gz", "sha512": "429f9b1eb85dc5a463468242fcd1de1dac015cac4195472a4d30a59b3c9baa7f6aeeb2ca22ee3f009631bcdae76fb52bc226e499a79b8bdad3167d3d538e8528", "x-checker-data": { "//": "Bypass broken url-template with anitya checker - See https://github.com/flathub/flatpak-external-data-checker/issues/360", "type": "json", "url": "https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest", "version-query": ".name | split(\" \") | .[1]", "url-query": ".assets[] | select(.name|test(\"^ghostscript-(.*).tar.gz$\")) | .browser_download_url" } }, { "type": "shell", "commands": [ "cp -p /usr/share/automake-*/config.{sub,guess} freetype/builds/unix/", "cp -p /usr/share/automake-*/config.{sub,guess} ijs/", "cp -p /usr/share/automake-*/config.{sub,guess} jpeg/", "cp -p /usr/share/automake-*/config.{sub,guess} libpng/", "cp -p /usr/share/automake-*/config.{sub,guess} lcms2mt/", "cp -p /usr/share/automake-*/config.{sub,guess} tiff/config/", "rm -rf libpng/pngread.c" ] } ], "config-opts": [ "--disable-cups", "--disable-gtk", "--without-tesseract", "--without-libpaper", "--without-pdftoraster" ], "make-args": [ "so" ], "make-install-args": [ "soinstall" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig", "/share/ghostscript" ] }, "shared-modules/intltool/intltool-0.51.json", { "name": "libmypaint", "sources": [ { "type": "archive", "url": "https://github.com/mypaint/libmypaint/releases/download/v1.6.1/libmypaint-1.6.1.tar.xz", "sha256": "741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f", "x-checker-data": { "type": "anitya", "project-id": 12974, "stable-only": true, "url-template": "https://github.com/mypaint/libmypaint/releases/download/v$version/libmypaint-$version.tar.xz" } } ], "config-opts": [ "--disable-gegl", "--disable-introspection", "--disable-i18n" ], "cleanup": [ "/include", "/lib/pkgconfig" ], "modules": [ { "name": "json-c", "sources": [ { "type": "git", "url": "https://github.com/json-c/json-c.git", "tag": "json-c-0.19-20260627", "commit": "aa716cd8d663c976b99b0f30f102ee1d8ef63146", "x-checker-data": { "type": "git", "tag-pattern": "^json-c-([\\d.]+)-[\\d]+$" } } ], "buildsystem": "cmake-ninja", "config-opts": [ "-DDISABLE_WERROR=ON", "-DBUILD_TESTING=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ] } ] }, { "name": "mypaint-brushes", "sources": [ { "type": "archive", "url": "https://github.com/mypaint/mypaint-brushes/releases/download/v2.0.2/mypaint-brushes-2.0.2.tar.xz", "sha256": "7984a74edef94571d872d0629b224abaa956a36f632f5c5516b33d22e49eb566", "x-checker-data": { "type": "anitya", "project-id": 17096, "stable-only": true, "url-template": "https://github.com/mypaint/mypaint-brushes/releases/download/v$version/mypaint-brushes-$version.tar.xz" } }, { "//": "https://gitlab.gnome.org/GNOME/gimp/-/issues/14461", "type": "shell", "commands": [ "find brushes/Dieterle -iname '*.myb' ! -name 'arrow#1.myb' ! -name 'Fount-offset#1.myb' ! -name 'Pencil-_Left_Handed.myb' ! -name 'HalfToneCMY#1.myb' ! -name 'Fountain_SF#1.myb' ! -name 'HalfTone#1.myb' ! -name '8B_Pencil#1.myb' -print0 | xargs -0 -n1 perl -i -pe 'BEGIN{$m=0} $m=1 if s/surfacemap_x/gridmap_x/g; $m=1 if s/surfacemap_y/gridmap_y/g; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }'" ] } ] }, { "name": "libilbm", "sources": [ { "type": "git", "url": "https://github.com/svanderburg/libilbm.git", "commit": "586f5822275ef5780509a851cb90c7407b2633d9" }, { "type": "shell", "commands": [ "perl -i -pe 'BEGIN{$m=0} $m=1 if s|doc/Makefile\\s*||; $m=1 if s|src/ilbmpack/Makefile\\s*||; $m=1 if s|src/ilbmpp/Makefile\\s*||; $m=1 if s|src/acbm2ilbm/Makefile\\s*||; $m=1 if s|src/ilbm2acbm/Makefile\\s*||; $m=1 if s|tests/Makefile\\s*||; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' configure.ac", "perl -i -pe 'BEGIN{$m=0} $m=1 if s|SUBDIRS = doc src tests|SUBDIRS = src|; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' Makefile.am", "perl -i -pe 'BEGIN{$m=0} $m=1 if s|SUBDIRS = libilbm ilbmpack ilbmpp acbm2ilbm ilbm2acbm|SUBDIRS = libilbm|; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' src/Makefile.am", "./bootstrap" ] } ], "cleanup": [ "/include", "/lib/pkgconfig" ], "modules": [ { "name": "libiff", "sources": [ { "type": "git", "url": "https://github.com/svanderburg/libiff.git", "commit": "b5f542a83c824f26e0816770c9a17c22bd388606" }, { "type": "shell", "commands": [ "perl -i -pe 'BEGIN{$m=0} $m=1 if s|doc/Makefile\\s*||; $m=1 if s|src/iffjoin/Makefile\\s*||; $m=1 if s|src/iffpp/Makefile\\s*||; $m=1 if s|tests/Makefile\\s*||; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' configure.ac", "perl -i -pe 'BEGIN{$m=0} $m=1 if s|SUBDIRS = doc src tests|SUBDIRS = src|; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' Makefile.am", "perl -i -pe 'BEGIN{$m=0} $m=1 if s|SUBDIRS = libiff iffjoin iffpp|SUBDIRS = libiff|; END{ if(!$m){ warn \"Patch failed on $ARGV\\n\"; exit 1 } }' src/Makefile.am", "./bootstrap" ] } ], "cleanup": [ "/include", "/lib/pkgconfig" ] } ] }, { "name": "xmu", "sources": [ { "type": "archive", "url": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-1.3.1.tar.xz", "sha256": "81a99e94c4501e81c427cbaa4a11748b584933e94b7a156830c3621256857bc4", "x-checker-data": { "type": "anitya", "project-id": 1785, "stable-only": true, "url-template": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.xz" } } ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "qoi", "sources": [ { "type": "git", "url": "https://github.com/phoboslab/qoi.git", "commit": "4ab68bbd20618a663255625160c40875713f5485" } ], "buildsystem": "simple", "build-commands": [ "install -D qoi.h /app/include/qoi.h" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "cfitsio", "sources": [ { "type": "archive", "url": "https://github.com/HEASARC/cfitsio/archive/refs/tags/cfitsio-4.7.0.tar.gz", "sha256": "f281ca292407d8682e83a37ea68fce6e1383d2449d923647ea62fa0570c59aee", "x-checker-data": { "type": "anitya", "project-id": 270, "stable-only": true, "url-template": "https://github.com/HEASARC/cfitsio/archive/refs/tags/cfitsio-$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DUTILS=OFF", "-DTESTS=OFF" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "//": "Originally taken from org.octave.Octave manifest", "name": "SuiteSparse", "sources": [ { "type": "archive", "url": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v7.14.1.tar.gz", "sha256": "81e560e1f74546df139edb765b3f5bc865866da23062312ffe8fd821063c8397", "x-checker-data": { "type": "anitya", "project-id": 4908, "stable-only": true, "url-template": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DBLA_VENDOR=OpenBLAS", "-DGRAPHBLAS_COMPACT=ON", "-DSUITESPARSE_USE_OPENMP=ON", "-DSUITESPARSE_USE_PYTHON=OFF", "-DSUITESPARSE_DEMOS=OFF", "-DBUILD_TESTING=OFF", "-DCMAKE_INSTALL_LIBDIR=/app/lib", "-DCMAKE_INSTALL_INCLUDEDIR=/app/include" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig" ], "modules": [ { "name": "openblas", "sources": [ { "type": "archive", "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.34.tar.gz", "sha256": "cd7e129868320cc2d033afa920e31202dfe0b8066a5b66661900ccc0f197dfed", "x-checker-data": { "type": "anitya", "project-id": 2540, "stable-only": true, "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "config-opts": [ "-DBUILD_SHARED_LIBS=ON", "-DDYNAMIC_ARCH=ON", "-DUSE_OPENMP=ON", "-DBUILD_WITHOUT_CBLAS=ON", "-DNO_LAPACKE=1" ], "cleanup": [ "/include", "/lib/pkgconfig" ] } ] }, { "name": "maxflow", "sources": [ { "type": "git", "url": "https://github.com/gerddie/maxflow.git", "commit": "6ac148f164b9567ac81fbb4ebb36112f850c902b" } ], "buildsystem": "cmake-ninja", "config-opts": [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" ], "cleanup": [ "/include", "/lib/pkgconfig" ] }, { "name": "graphviz", "sources": [ { "type": "archive", "url": "https://gitlab.com/graphviz/graphviz/-/archive/16.1.0/graphviz-16.1.0.tar.gz", "sha256": "1e028b2b3e84e946c1d3e8c47590f8f0741bba1041fe6eff36eee87e598ea249", "x-checker-data": { "type": "anitya", "project-id": 1249, "stable-only": true, "url-template": "https://gitlab.com/graphviz/graphviz/-/archive/$version/graphviz-$version.tar.gz" } } ], "buildsystem": "cmake-ninja", "config-opts": [ "-DWITH_GDK=OFF", "-DWITH_GTK=OFF", "-DWITH_GHOSTSCRIPT=OFF", "-DWITH_POPPLER=OFF", "-DWITH_RSVG=OFF", "-DWITH_WEBP=OFF", "-DWITH_X=OFF" ], "cleanup": [ "/bin/??", "/bin/????*", "/bin/fdp", "/bin/nop", "/include", "/lib/libgvpr*", "/lib/graphviz/libgvplugin_core*", "/lib/graphviz/libgvplugin_kitty*", "/lib/graphviz/libgvplugin_neato_layout*", "/lib/graphviz/libgvplugin_vt*", "/lib/pkgconfig", "/share/graphviz" ] }, { "name": "babl", "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/babl.git", "tag": "BABL_0_1_128", "commit": "4abcea43550699e0c93e6f154c44d68822e62753" } ], "buildsystem": "meson", "config-opts": [ "-Dgi-docgen=disabled", "-Dwith-docs=false" ], "cleanup": [ "/bin" ] }, { "name": "gegl", "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/gegl.git", "tag": "GEGL_0_4_72", "commit": "02096df3c53f95970c4347a57b43ee571c78a968" } ], "buildsystem": "meson", "config-opts": [ "-Dgi-docgen=disabled", "-Ddocs=false" ], "cleanup": [ "/bin/gegl-imgcmp", "/share/gegl*" ] }, { "name": "gimp", "sources": [ { "type": "git", "url": "https://gitlab.gnome.org/GNOME/gimp.git", "tag": "GIMP_3_2_6", "commit": "e101dd19b165f927d3ba0a74658a71537c5661b9" }, { "type": "shell", "commands": [ "sed -i \"/]*date=\\\"TODO\\\"[^>]*>/,/<\\/release>/d\" desktop/org.gimp.GIMP.appdata.xml.in.in", "appdata='desktop/org.gimp.GIMP.appdata.xml.in.in'; mv=$(awk -F\"'\" '/version:/ {print $2; exit}' meson.build | sed 's/-/~/g' | tr '[:upper:]' '[:lower:]'); av=$(grep ']*version=' $appdata | head -1 | sed 's/^.*version=\"\\([^\"]*\\)\".*$/\\1/'); appstreamcli vercmp $mv '>=' $av || sed -i \"/]*version=\\\"$av\\\"[^>]*>/,/<\\/release>/d\" $appdata", "appdata='desktop/org.gimp.GIMP.appdata.xml.in.in'; v=$(awk -F\"'\" '/version:/ {print $2; exit}' meson.build | sed 's/-/~/g' | tr '[:upper:]' '[:lower:]'); grep -q \"version=\\\"$v\\\"\" $appdata || grep -q \"date=\\\"$(date --iso-8601)\\\"\" $appdata || sed -i \"//a \" $appdata", "echo ### AppStream Metadata ###", "cat desktop/org.gimp.GIMP.appdata.xml.in.in", "echo ##########################" ] }, { "type": "patch", "paths": [ "upstream/patches/gimp-extension-path.patch" ] }, { "type": "patch", "use-git-am": true, "paths": [ "../patches/0001-Layers-dock-add-the-Layer-Style-fx-button.patch", "../patches/0002-Photoshop-shortcuts-by-default.patch", "../patches/0003-Layers-dock-list-each-layer-s-effects-under-it-with-.patch" ] } ], "buildsystem": "meson", "config-opts": [ "-Dicc-directory=/run/host/usr/share/color/icc/", "-Dgi-docgen=disabled", "-Dcheck-update=no", "-Denable-default-bin=enabled", "-Dbuild-id=org.gimp.GIMP.flatpak.stable" ], "post-install": [ "install -d ${FLATPAK_DEST}/extensions/plug-ins", "for gimp_api_version in ${FLATPAK_DEST}/share/gimp/*; do install -d $gimp_api_version/help; done", "desktop-file-edit --set-name=GIMPhoto ${FLATPAK_DEST}/share/applications/gimp.desktop" ] }, { "name": "gimphoto-plug-ins", "buildsystem": "simple", "sources": [ { "type": "dir", "path": "../plugins" } ], "build-commands": [ "install -d ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-style", "find layer-style -maxdepth 1 -type f -exec install -m 644 -t ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-style {} +", "chmod 755 ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-style/layer-style.py", "install -d ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-via", "find layer-via -maxdepth 1 -type f -exec install -m 644 -t ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-via {} +", "chmod 755 ${FLATPAK_DEST}/lib/gimp/3.0/plug-ins/layer-via/layer-via.py" ] }, { "name": "gimphoto-gegl-ops", "buildsystem": "simple", "sources": [ { "type": "dir", "path": "../gegl" } ], "build-commands": [ "cc -shared -fPIC -O2 -Wall -I. -DGETTEXT_PACKAGE='\"gimphoto\"' $(pkg-config --cflags gegl-0.4) -o gradient-overlay.so gradient-overlay.c $(pkg-config --libs gegl-0.4) -lm", "cc -shared -fPIC -O2 -Wall -I. -DGETTEXT_PACKAGE='\"gimphoto\"' $(pkg-config --cflags gegl-0.4) -o pattern-overlay.so pattern-overlay.c $(pkg-config --libs gegl-0.4) -lm", "install -Dm 755 -t ${FLATPAK_DEST}/lib/gegl-0.4 gradient-overlay.so pattern-overlay.so" ] }, { "name": "gimphoto-defaults", "buildsystem": "simple", "sources": [ { "type": "dir", "path": "../defaults" } ], "build-commands": [ "install -Dm 644 -t ${FLATPAK_DEST}/share/gimp/3.0/gimphoto shortcutsrc" ] } ] }