[qt] enable debuginfo in libQt3Support

Rex Dieter rdieter at fedoraproject.org
Fri May 11 16:56:51 UTC 2012


commit 04f02f196f224496fe351e66afa95cc44a1a067d
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Fri May 11 11:59:16 2012 -0500

    enable debuginfo in libQt3Support

 ...opensource-src-4.8.1-qt3support_debuginfo.patch |   10 ++++++++++
 qt.spec                                            |    9 ++++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch b/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
new file mode 100644
index 0000000..7458314
--- /dev/null
+++ b/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
@@ -0,0 +1,10 @@
+diff -up qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro.debuginfo qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro
+--- qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro.debuginfo	2012-03-14 09:01:17.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro	2012-05-11 11:55:37.780070386 -0500
+@@ -34,6 +34,3 @@ MOCDIR = .moc
+ 
+ *-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
+ 
+-CONFIG -= separate_debug_info
+-CONFIG += no_debug_info
+-
diff --git a/qt.spec b/qt.spec
index 36d0ce2..2ab1596 100644
--- a/qt.spec
+++ b/qt.spec
@@ -16,7 +16,7 @@ Summary: Qt toolkit
 Name:    qt
 Epoch:   1
 Version: 4.8.1
-Release: 11%{?dist}
+Release: 12%{?dist}
 
 # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
 License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
@@ -58,6 +58,9 @@ Patch25: qt-everywhere-opensource-src-4.8.1-qdbusconnection_no_debug.patch
 # lrelease-qt4 tries to run qmake not qmake-qt4 (http://bugzilla.redhat.com/820767)
 Patch26: qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch
 
+# enable debuginfo in libQt3Support
+Patch27: qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
+
 ## upstreamable bits
 # fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
 Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
@@ -436,6 +439,7 @@ rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
 %patch24 -p1 -b .moc-boost148
 %patch25 -p1 -b .qdbusconnection_no_debug.patch
 %patch26 -p1 -b .linguist_qtmake-qt4
+%patch27 -p1 -b .qt3support_debuginfo
 ## TODO: still worth carrying?  if so, upstream it.
 %patch53 -p1 -b .qatomic-inline-asm
 ## TODO: upstream me
@@ -1096,6 +1100,9 @@ fi
 
 
 %changelog
+* Fri May 11 2012 Rex Dieter <rdieter at fedoraproject.org> 4.8.1-12
+- enable debuginfo in libQt3Support
+
 * Fri May 11 2012 Rex Dieter <rdieter at fedoraproject.org> 4.8.1-11
 - lrelease-qt4 tries to run qmake not qmake-qt4 (#820767)
 


More information about the scm-commits mailing list