summary refs log tree commit diff
path: root/gnu/packages/patches/qtbase-absolute-runpath.patch
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-07-15 20:08:10 +0200
committerMarius Bakke <marius@gnu.org>2020-07-15 20:08:10 +0200
commitdec0217f6e21a2f48328aaff5448dcf2f4fea7d9 (patch)
tree684f37a5f3c6033633f884d06c27a59dbc727b83 /gnu/packages/patches/qtbase-absolute-runpath.patch
parentb514478cb9205ef04194dbe4235765abd0930da9 (diff)
downloadguix-dec0217f6e21a2f48328aaff5448dcf2f4fea7d9.tar.gz
gnu: python-shiboken-2, python-pyside-2: Update to 5.14.2.3.
* gnu/packages/patches/qtbase-absolute-runpath.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/qt.scm (qtbase/next): New variable.
* gnu/packages/qt.scm (python-shiboken-2): Update to 5.14.2.3.
[source](uri): Adjust for tarball rename.
[inputs]: Use the default CLANG-TOOLCHAIN.
(python-pyside-2)[inputs]: Likewise.
(python-pyside-2-tools)[inputs]: Change from QTBASE to QTBASE/NEXT.
Diffstat (limited to 'gnu/packages/patches/qtbase-absolute-runpath.patch')
-rw-r--r--gnu/packages/patches/qtbase-absolute-runpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/qtbase-absolute-runpath.patch b/gnu/packages/patches/qtbase-absolute-runpath.patch
new file mode 100644
index 0000000000..cec4ddc0a3
--- /dev/null
+++ b/gnu/packages/patches/qtbase-absolute-runpath.patch
@@ -0,0 +1,17 @@
+Do not use $ORIGIN in RUNPATH so that executables can be copied elsewhere and
+still be expected to work (needed for python-pyside-2-tools).
+
+diff --git a/mkspecs/common/linux.conf b/mkspecs/common/linux.conf
+--- a/mkspecs/common/linux.conf
++++ b/mkspecs/common/linux.conf
+@@ -10,8 +10,8 @@ QMAKE_CFLAGS_THREAD    += -D_REENTRANT
+ QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
+ QMAKE_LFLAGS_GCSECTIONS = -Wl,--gc-sections
+ 
+-QMAKE_LFLAGS_REL_RPATH  = -Wl,-z,origin
+-QMAKE_REL_RPATH_BASE    = $ORIGIN
++QMAKE_LFLAGS_REL_RPATH  =
++QMAKE_REL_RPATH_BASE    =
+ 
+ QMAKE_INCDIR            =
+ QMAKE_LIBDIR            =