[gimp-macos-build] Use shell script to add interp
- From: Alex Samorukov <asamorukov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-macos-build] Use shell script to add interp
- Date: Tue, 29 Oct 2019 22:15:12 +0000 (UTC)
commit 81898a8d141b32176a6dcac6336d7eb6e459532a
Author: Oleksii Samorukov <oleksii_samorukov mckinsey com>
Date: Tue Oct 29 23:15:06 2019 +0100
Use shell script to add interp
package/build.sh | 4 ++++
package/gimp-2.10.bundle | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/package/build.sh b/package/build.sh
index 382c1ea..924e052 100755
--- a/package/build.sh
+++ b/package/build.sh
@@ -94,6 +94,10 @@ popd
echo "copy xdg-email wrapper to the package"
cp xdg-email ${PACKAGE_DIR}/GIMP-2.10.app/Contents/MacOS
+echo "copy pygimp.interp wrapper to the package"
+mkdir -p ${PACKAGE_DIR}/GIMP-2.10.app/Contents/Resources/lib/gimp/2.0/interpreters
+cp pygimp.interp ${PACKAGE_DIR}/GIMP-2.10.app/Contents/Resources/lib/gimp/2.0/interpreters
+
echo "Creating pyc files"
python -m compileall -q ${PACKAGE_DIR}/GIMP-2.10.app
diff --git a/package/gimp-2.10.bundle b/package/gimp-2.10.bundle
index 2b6c845..c69d778 100644
--- a/package/gimp-2.10.bundle
+++ b/package/gimp-2.10.bundle
@@ -165,9 +165,6 @@
<data dest="${bundle}/Contents/Resources">${project}/gimp.icns</data>
<data dest="${bundle}/Contents/Resources">${project}/xcf.icns</data>
- <!-- fix gimp python execution -->
- <data
dest="${bundle}Contents/Resources/lib/gimp/2.0/interpreters/pygimp.interp">${project}/pygimp.interp</data>
-
<!-- Icon theme, both tango and hicolor are required? -->
<icon-theme icons="auto">
Tango
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]