SPECS: qt4.spec - removed obsolete sse patch - deal with sse2 support

qboosh qboosh at pld-linux.org
Thu Jun 14 23:14:41 CEST 2007


Author: qboosh                       Date: Thu Jun 14 21:14:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed obsolete sse patch
- deal with sse2 support

---- Files affected:
SPECS:
   qt4.spec (1.132 -> 1.133) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.132 SPECS/qt4.spec:1.133
--- SPECS/qt4.spec:1.132	Sun Jun  3 10:40:32 2007
+++ SPECS/qt4.spec	Thu Jun 14 23:14:36 2007
@@ -18,6 +18,7 @@
 %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	sse2		# use SSE2 instructions
 
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine	with_ibase
@@ -27,6 +28,10 @@
 %define		with_sse	1
 %endif
 
+%ifarch pentium4 %{x8664}
+%define		with_sse2	1
+%endif
+
 %define		_withsql	1
 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
 
@@ -50,7 +55,7 @@
 Patch1:		%{name}-qt_copy.patch
 Patch2:		%{name}-buildsystem.patch
 Patch3:		%{name}-locale.patch
-Patch5:		%{name}-sse.patch
+
 Patch6:		%{name}-antialias.patch
 Patch7:		%{name}-support-cflags-with-commas.patch
 Patch8:		%{name}-build-lib-static.patch
@@ -969,7 +974,6 @@
 %patch1 -p0
 %patch2 -p1
 %patch3 -p1
-#%patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
@@ -1022,6 +1026,7 @@
 	-glib \
 	-%{!?with_pch:no-}pch \
 	-%{!?with_sse:no-}sse \
+	-%{!?with_sse2:no-}sse2 \
 	-qdbus \
 	-qt-gif \
 	-system-libjpeg \
@@ -1609,6 +1614,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.133  2007/06/14 21:14:36  qboosh
+- removed obsolete sse patch
+- deal with sse2 support
+
 Revision 1.132  2007/06/03 08:40:32  qboosh
 - fixed qdbus* duplicates
 
================================================================

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



More information about the pld-cvs-commit mailing list