[gimp-macos-build/wip/lukaso/tests: 2/9] Install icons in 2 places to resolve missing icon
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-macos-build/wip/lukaso/tests: 2/9] Install icons in 2 places to resolve missing icon
- Date: Sun, 10 Oct 2021 10:00:43 +0000 (UTC)
commit 21019b7c5654fadb06f10f0c90d277dd19b3e002
Author: Lukas Oberhuber <lukaso gmail com>
Date: Fri Oct 8 21:28:38 2021 +0100
Install icons in 2 places to resolve missing icon
package/build299.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/package/build299.sh b/package/build299.sh
index 97676e1..ce49537 100755
--- a/package/build299.sh
+++ b/package/build299.sh
@@ -29,6 +29,13 @@ BASEDIR=$(dirname "$0")
# target directory
PACKAGE_DIR="${HOME}/gimp299-osx-app"
+echo "Move icons to right directory"
+
+pushd ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/share/icons
+ cp -r Adwaita ../gimp/2.99/icons
+ cp -r hicolor ../gimp/2.99/icons
+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
@@ -71,7 +78,7 @@ find ${PACKAGE_DIR}/GIMP-2.99.app/Contents/MacOS/ -type f -perm +111 \
| xargs -n1 install_name_tool -add_rpath @executable_path/../Resources/lib/
echo "adding @rpath to the plugins"
-find ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.0/plug-ins/ -perm +111 -type f \
+find ${PACKAGE_DIR}/GIMP-2.99.app/Contents/Resources/lib/gimp/2.99/plug-ins/ -perm +111 -type f \
| xargs file \
| grep ' Mach-O '|awk -F ':' '{print $1}' \
| xargs -n1 install_name_tool -add_rpath @executable_path/../../../
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]