[packages/qt5-qtbase] temporarily try to debug qvkgen invocation with LD_DEBUG=all

atler atler at pld-linux.org
Tue Mar 5 23:18:34 CET 2019


commit 3a6a9e703c2f51194d725d5ff3bcda5fa9ee2b01
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 5 23:16:08 2019 +0100

    temporarily try to debug qvkgen invocation with LD_DEBUG=all

 qt5-qtbase.spec     |  2 ++
 wrapper_debug.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index 9eff75c..616582f 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -74,6 +74,7 @@ Source0:	http://download.qt.io/official_releases/qt/5.12/%{version}/submodules/%
 Source1:	http://download.qt.io/official_releases/qt/5.12/%{version}/submodules/qttranslations-everywhere-src-%{version}.tar.xz
 # Source1-md5:	045ad1eda4d3a272b24b6c60a06b313f
 Patch0:		%{name}-system_cacerts.patch
+Patch1:		wrapper_debug.patch
 URL:		http://www.qt.io/
 %{?with_directfb:BuildRequires:	DirectFB-devel}
 BuildRequires:	EGL-devel
@@ -1161,6 +1162,7 @@ Generator plików makefile dla aplikacji Qt5.
 %prep
 %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e 's,usr/X11R6/,usr/,g' mkspecs/linux-g++-64/qmake.conf
 
diff --git a/wrapper_debug.patch b/wrapper_debug.patch
new file mode 100644
index 0000000..88fd658
--- /dev/null
+++ b/wrapper_debug.patch
@@ -0,0 +1,15 @@
+--- qtbase-everywhere-src-5.12.1/mkspecs/features/qt_functions.prf.orig	2019-03-05 23:07:33.009111700 +0100
++++ qtbase-everywhere-src-5.12.1/mkspecs/features/qt_functions.prf	2019-03-05 23:06:37.942822346 +0100
+@@ -230,7 +230,11 @@
+         pluginpath.name = QT_PLUGIN_PATH
+         pluginpath.CONFIG = prepend
+ 
+-        QT_TOOL_ENV += deppath pluginpath
++        lddebug.value = all
++        lddebug.name = LD_DEBUG
++        lddebug.CONFIG = prepend
++
++        QT_TOOL_ENV += deppath pluginpath lddebug
+     }
+     qtAddToolEnv($$1, $$QT_TOOL_ENV, $$3)
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtbase.git/commitdiff/3a6a9e703c2f51194d725d5ff3bcda5fa9ee2b01



More information about the pld-cvs-commit mailing list