rev 14898 - in trunk/packages/qt4-x11/debian: . patches

Sune Vuorela pusling-guest at alioth.debian.org
Sat Jun 6 18:16:45 UTC 2009


Author: pusling-guest
Date: 2009-06-06 18:16:45 +0000 (Sat, 06 Jun 2009)
New Revision: 14898

Added:
   trunk/packages/qt4-x11/debian/patches/91_s390_-gstabs.diff
Modified:
   trunk/packages/qt4-x11/debian/changelog
   trunk/packages/qt4-x11/debian/patches/series
Log:
Add patch to build s390 debugging symbols with -gstabs instead of with -g,
to make them a bit smaller. Noone can use a 1G file with debugging
symbols. (Closes: 528485) 

Modified: trunk/packages/qt4-x11/debian/changelog
===================================================================
--- trunk/packages/qt4-x11/debian/changelog	2009-06-06 17:52:18 UTC (rev 14897)
+++ trunk/packages/qt4-x11/debian/changelog	2009-06-06 18:16:45 UTC (rev 14898)
@@ -1,3 +1,11 @@
+qt4-x11 (4.5.1-3) UNRELEASED; urgency=low
+
+  * Add patch to build s390 debugging symbols with -gstabs instead of with -g,
+    to make them a bit smaller. Noone can use a 1G file with debugging
+    symbols. (Closes: 528485) 
+
+ -- Sune Vuorela <debian at pusling.com>  Sat, 06 Jun 2009 20:00:20 +0200
+
 qt4-x11 (4.5.1-2) unstable; urgency=low
 
   +++ Changes by Fathi Boudra:

Added: trunk/packages/qt4-x11/debian/patches/91_s390_-gstabs.diff
===================================================================
--- trunk/packages/qt4-x11/debian/patches/91_s390_-gstabs.diff	                        (rev 0)
+++ trunk/packages/qt4-x11/debian/patches/91_s390_-gstabs.diff	2009-06-06 18:16:45 UTC (rev 14898)
@@ -0,0 +1,17 @@
+--- a/src/3rdparty/webkit/WebKit.pri
++++ b/src/3rdparty/webkit/WebKit.pri
+@@ -24,6 +24,14 @@ CONFIG(release) {
+     DEFINES += NDEBUG
+ }
+ 
++arch=$$system(dpkg-architecture -qDEB_BUILD_ARCH)
++equals(arch, s390) {
++	message("S/390 workaround: is not building with -g, but with -gstabs")
++	QMAKE_CXXFLAGS -= -g
++	QMAKE_CXXFLAGS += -gstabs
++}
++
++
+ BASE_DIR = $$PWD
+ INCLUDEPATH += $$PWD/WebKit/qt/Api
+ QMAKE_LFLAGS += -Wl,--version-script,$$BASE_DIR/symbols.filter

Modified: trunk/packages/qt4-x11/debian/patches/series
===================================================================
--- trunk/packages/qt4-x11/debian/patches/series	2009-06-06 17:52:18 UTC (rev 14897)
+++ trunk/packages/qt4-x11/debian/patches/series	2009-06-06 18:16:45 UTC (rev 14898)
@@ -37,3 +37,4 @@
 81_hurd_more_max_path.diff
 89_powerpc_opts.diff
 90_ia64_boilerplate.diff
+91_s390_-gstabs.diff




More information about the pkg-kde-commits mailing list