[glom] xdg-app-builder manifest: Add patch to install python library as writable.



commit faae91ce565ca9c94c85d54bf1f365328af6f970
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Dec 12 16:36:06 2015 +0100

    xdg-app-builder manifest: Add patch to install python library as writable.
    
    So that xdg-app-builder can strip the library after it is installed.

 glom-xdg-app-builder/manifest.json                 |    4 ++++
 .../python_install_as_writable.patch               |   12 ++++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/glom-xdg-app-builder/manifest.json b/glom-xdg-app-builder/manifest.json
index 629ee15..7b48131 100644
--- a/glom-xdg-app-builder/manifest.json
+++ b/glom-xdg-app-builder/manifest.json
@@ -236,6 +236,10 @@
                     "type": "patch",
                     "path": "python_add_symlink.patch"
                 }
+                {
+                    "type": "patch",
+                    "path": "python_install_as_writable.patch"
+                }
             ]
         },
         {
diff --git a/glom-xdg-app-builder/python_install_as_writable.patch 
b/glom-xdg-app-builder/python_install_as_writable.patch
new file mode 100644
index 0000000..c98dea6
--- /dev/null
+++ b/glom-xdg-app-builder/python_install_as_writable.patch
@@ -0,0 +1,12 @@
+diff -u -r Python-3.5.1-orig/Makefile.pre.in Python-3.5.1/Makefile.pre.in
+--- Python-3.5.1-orig/Makefile.pre.in  2015-12-12 15:12:05.504527644 +0100
++++ Python-3.5.1/Makefile.pre.in       2015-12-12 16:33:20.633015133 +0100
+@@ -65,7 +65,7 @@
+ # Shared libraries must be installed with executable mode on some systems;
+ # rather than figuring out exactly which, we always give them executable mode.
+ # Also, making them read-only seems to be a good idea...
+-INSTALL_SHARED= ${INSTALL} -m 555
++INSTALL_SHARED= ${INSTALL} -m 755
+ 
+ MKDIR_P=      @MKDIR_P@
+ 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]