[gimp-macos-build/wip/lukaso/tests: 7/9] Copy all libs needed for plugins
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-macos-build/wip/lukaso/tests: 7/9] Copy all libs needed for plugins
- Date: Sun, 10 Oct 2021 10:00:44 +0000 (UTC)
commit 7d7e14da038816b379903989a7fdb7b690385658
Author: Lukas Oberhuber <lukaso gmail com>
Date: Sat Oct 9 16:20:28 2021 +0100
Copy all libs needed for plugins
package/build299.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/package/build299.sh b/package/build299.sh
index 065a457..7200058 100755
--- a/package/build299.sh
+++ b/package/build299.sh
@@ -43,11 +43,21 @@ pushd ${HOME}/gtk/inst/lib/gimp/2.99/plug-ins/
cp -r * ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.99/plug-ins/
popd
-echo "Copy missing libraries (TODO: why are they not copied?)"
+echo "Copy missing libraries (TODO: why are they not copied during regular installation?)"
pushd ${HOME}/gtk/inst/lib/
cp libgimp-3.*.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
cp libgimpui-3.*.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ # Needed for file-wmf
+ cp libwmf-0.*.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ cp libwmflite-0.*.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ # Needed for file-webp
+ cp libwebpmux.3.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ cp libwebpdemux.2.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ # Needed for file-ps
+ cp libgs.dylib.9.50 ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
+ # Needed for file-mng
+ cp libmng.2.dylib ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/
popd
echo "Removing pathnames from the libraries and binaries"
@@ -72,6 +82,7 @@ do
done
echo "Installing LC_RPATH for plugins"
+# Unclear why plugins need their own rpath, however they appear to be independent executables
PLUGINS=$(
find ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.99/plug-ins -perm +111 -type f \
| xargs file \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]