[gimp-macos-build/wip/lukaso/tests] Fix plugin loading
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-macos-build/wip/lukaso/tests] Fix plugin loading
- Date: Mon, 11 Oct 2021 00:45:04 +0000 (UTC)
commit 046999dacf5b927aa68e7ba719f8dd5beb38dc64
Author: Lukas Oberhuber <lukaso gmail com>
Date: Sun Oct 10 22:17:41 2021 +0100
Fix plugin loading
Unfortunately, because there is no support for subdirectories in the
binary tag, each plugin has to be listed separately.
If plugins are added, they are likely to be forgotten.
package/build299.sh | 7 ---
package/gimp-2.99.bundle | 122 ++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 120 insertions(+), 9 deletions(-)
---
diff --git a/package/build299.sh b/package/build299.sh
index 4ffa329..be00021 100755
--- a/package/build299.sh
+++ b/package/build299.sh
@@ -36,13 +36,6 @@ pushd ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/share/icons
cp -r hicolor ../gimp/2.99/icons
popd
-echo "Copy plugins (TODO: add capability to preserve subdirectories)"
-
-pushd ${HOME}/gtk/inst/lib/gimp/2.99/plug-ins/
- mkdir -p ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.99/plug-ins/
- cp -r * ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.99/plug-ins/
-popd
-
echo "Removing pathnames from the libraries and binaries"
# fix permission for some libs
find ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib -name '*.dylib' -type f | xargs chmod 755
diff --git a/package/gimp-2.99.bundle b/package/gimp-2.99.bundle
index 3e7b9ff..209daa3 100644
--- a/package/gimp-2.99.bundle
+++ b/package/gimp-2.99.bundle
@@ -87,8 +87,124 @@
<!-- Name of main gimp binary -->
<main-binary>${prefix}/bin/gimp-2.99</main-binary>
- <!-- Copy in gimp plugins - does not preserve directory structure -->
- <!-- <binary>${prefix}/lib/gimp/2.99/plug-ins/*</binary> -->
+ <!-- Copy in gimp plugins -->
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-jp2-load/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/align-layers/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/animation-optimize/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/animation-play/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/blinds/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/border-average/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/busy-dialog/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/checkerboard/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/cml-explorer/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/colormap-remap/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/colorxhtml/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/compose/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/contrast-retinex/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/crop-zealous/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/curve-bend/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/decompose/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/depth-merge/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/despeckle/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/destripe/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-aa/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-bmp/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-cel/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-compressor/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-csource/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-darktable/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-dds/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-desktop-link/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-dicom/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-exr/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-faxg3/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-fits/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-fli/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-gbr/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-gegl/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-gif-load/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-gif-save/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-gih/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-glob/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-header/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-heif/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-html-table/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-ico/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-jp2-load/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-jpeg/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-mng/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-openraster/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pat/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pcx/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pdf-load/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pdf-save/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pix/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-png/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-pnm/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-ps/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-psd/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-psp/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-raw-data/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-raw-placeholder/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-rawtherapee/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-sgi/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-sunras/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-svg/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-tga/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-tiff/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-webp/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-wmf/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-xbm/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/file-xwd/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/film/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/flame/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/foggify/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/fractal-explorer/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/gfig/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/gimpressionist/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/gradient-flare/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/gradient-map/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/gradients-save-as-css/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/grid/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/guillotine/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/help/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/histogram-export/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/hot/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/ifs-compose/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/imagemap/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/jigsaw/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/lighting/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/mail/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/map-object/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/metadata-editor/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/metadata-viewer/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/nl-filter/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/pagecurl/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/palette-offset/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/palette-sort/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/palette-to-gradient/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/plugin-browser/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/print/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/procedure-browser/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/python-console/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/python-eval/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/qbist/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/sample-colorize/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/screenshot/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/script-fu/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/selection-to-path/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/smooth-palette/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/sparkle/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/sphere-designer/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/spyro-plus/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/tile/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/tile-small/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/unit-editor/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/van-gogh-lic/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/warp/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/wavelet-decompose/*</binary>
+ <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/web-browser/*</binary>
+ <!-- <binary recurse="True">${prefix}/lib/gimp/2.99/plug-ins/*</binary> -->
<!-- Copy in gimp modules -->
<binary>${prefix}/lib/gimp/2.99/modules/*.so</binary>
<!-- Copy in gimp python modules -->
@@ -123,6 +239,8 @@
<binary>${prefix}/lib/libgs.dylib.9.50</binary>
<!-- Needed for file-mng -->
<binary>${prefix}/lib/libmng.2.dylib</binary>
+ <!-- Needed for file-jp2-load -->
+ <!-- <binary>${prefix}/lib/libopenjp2.7.dylib</binary> -->
<!-- Translation filenames-->
<translations name="gtk30">
${prefix}/share/locale
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]