SPECS: qt4.spec - don't build useless qt3support (it's not api/abi...

pluto pluto at pld-linux.org
Sun Jan 15 17:01:31 CET 2006


Author: pluto                        Date: Sun Jan 15 16:01:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't build useless qt3support (it's not api/abi compatible with qt3).
- don't build special debug version (we have *.debuginfo for this).
- enable SSE code (src/gui/painting) on archs support it.

---- Files affected:
SPECS:
   qt4.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.50 SPECS/qt4.spec:1.51
--- SPECS/qt4.spec:1.50	Fri Jan 13 16:26:36 2006
+++ SPECS/qt4.spec	Sun Jan 15 17:01:25 2006
@@ -7,7 +7,6 @@
 #
 # Conditional build:
 %bcond_with	nas		# enable NAS audio support
-# static libs disabled for now
 %bcond_without	static_libs	# build static libraries
 %bcond_without	cups		# disable CUPS support
 %bcond_without	mysql		# don't build MySQL plugin
@@ -18,6 +17,7 @@
 %bcond_without	sqlite		# don't build SQLite2 plugin
 %bcond_without	ibase		# don't build ibase (InterBase/Firebird) plugin
 %bcond_without	pch		# disable pch in qmake
+%bcond_with	sse		# use SSE instructions in gui/painting module
 %bcond_with	dont_enable	# blocks translations, they are not yet available
 
 %undefine	with_dont_enable
@@ -25,6 +25,11 @@
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine	with_ibase
 %endif
+
+%ifarch pentium3 pentium4 %{x8664}
+%define		with_sse	1
+%endif
+
 %define		_withsql	1
 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
 
@@ -51,6 +56,8 @@
 %endif
 Patch2:		%{name}-buildsystem.patch
 Patch4:		%{name}-locale.patch
+Patch5:		%{name}-debug-and-release.patch
+Patch6:		%{name}-sse.patch
 Patch8:		%{name}-antialias.patch
 Patch10:	%{name}-support-cflags-with-commas.patch
 URL:		http://www.trolltech.com/products/qt/
@@ -762,6 +769,8 @@
 %endif
 %patch2 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 %patch8 -p1
 %patch10 -p1
 
@@ -831,6 +840,7 @@
 	-demosdir %{_examplesdir}/qt4-demos \
 	-fast \
 	-%{!?with_pch:no-}pch \
+	-%{!?with_sse:no-}sse \
 	-qt-gif \
 	-system-libjpeg \
 	-system-libpng \
@@ -841,6 +851,8 @@
 	%{?with_cups:-cups} \
 	%{?with_nas:-system-nas-sound} \
 	%{?debug:-debug} \
+	-release \
+	-no-qt3support \
 	-xcursor \
 	-xshape \
 	-xrender \
@@ -1312,6 +1324,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2006/01/15 16:01:25  pluto
+- don't build useless qt3support (it's not api/abi compatible with qt3).
+- don't build special debug version (we have *.debuginfo for this).
+- enable SSE code (src/gui/painting) on archs support it.
+
 Revision 1.50  2006/01/13 15:26:36  qboosh
 - desc cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list