rpms/soprano/F-13 soprano-2.4.1-missing-qdebug-header.patch, NONE, 1.1 soprano.spec, 1.52, 1.53

Kevin Kofler kkofler at fedoraproject.org
Wed Mar 24 00:02:54 UTC 2010


Author: kkofler

Update of /cvs/pkgs/rpms/soprano/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11690/F-13

Modified Files:
	soprano.spec 
Added Files:
	soprano-2.4.1-missing-qdebug-header.patch 
Log Message:
Sync from devel:

* Tue Mar 23 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 2.4.1-3
- disable debugging output (-DQT_NO_DEBUG_OUTPUT)

soprano-2.4.1-missing-qdebug-header.patch:
 localsocketclient.cpp |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE soprano-2.4.1-missing-qdebug-header.patch ---
diff -ur soprano-2.4.1/client/localsocketclient.cpp soprano-2.4.1-missing-qdebug-header/client/localsocketclient.cpp
--- soprano-2.4.1/client/localsocketclient.cpp	2010-01-19 16:19:53.000000000 +0100
+++ soprano-2.4.1-missing-qdebug-header/client/localsocketclient.cpp	2010-03-23 21:30:53.000000000 +0100
@@ -23,6 +23,7 @@
 #include "clientconnection.h"
 #include "clientmodel.h"
 
+#include <QtCore/QDebug>
 #include <QtCore/QDir>
 #include <QtCore/QThread>
 #include <QtNetwork/QLocalSocket>


Index: soprano.spec
===================================================================
RCS file: /cvs/pkgs/rpms/soprano/F-13/soprano.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- soprano.spec	10 Mar 2010 02:07:33 -0000	1.52
+++ soprano.spec	24 Mar 2010 00:02:53 -0000	1.53
@@ -9,7 +9,7 @@
 Summary: Qt wrapper API to different RDF storage solutions
 Name:    soprano
 Version: 2.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 Group:   System Environment/Libraries
 License: LGPLv2+
@@ -19,7 +19,9 @@ Source0: soprano-%{snap}svn.tar.bz2
 %else
 Source0: http://downloads.sf.net/soprano/soprano-%{version}.tar.bz2
 %endif
-Source1: soprano-svn_checkout.sh 
+Source1: soprano-svn_checkout.sh
+# fix missing #include which breaks QT_NO_DEBUG_OUTPUT build
+Patch0:  soprano-2.4.1-missing-qdebug-header.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 ## upstreamable patches
@@ -93,6 +95,7 @@ format for easy browsing.
 
 %prep
 %setup -q -n soprano%{!?snap:-%{version}}
+%patch0 -p1 -b .missing-qdebug-header
 
 %patch50 -p1 -b .fix_version
 
@@ -101,6 +104,7 @@ format for easy browsing.
 
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
+export CXXFLAGS="%optflags -DQT_NO_DEBUG_OUTPUT"
 %{cmake} \
   -DDATA_INSTALL_DIR:PATH=%{_kde4_appsdir} \
   -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \
@@ -177,6 +181,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Mar 23 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 2.4.1-3
+- disable debugging output (-DQT_NO_DEBUG_OUTPUT)
+
 * Tue Mar 09 2010 Rex Dieter <rdieter at fedoraproject.org> - 2.4.1-2
 - fix version string in CMakeLists.txt
 



More information about the scm-commits mailing list