packages: qt4/qt4.spec - do not override default graphics system (let autho...

gotar gotar at pld-linux.org
Mon May 21 00:36:18 CEST 2012


Author: gotar                        Date: Sun May 20 22:36:18 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not override default graphics system (let authors be blamed) as raster:
 - doesn't work well via network (it's dramatically slow),
 - doesn't support subpixel rendering (only native/X11 does!),
 - have (had?) some issues with some software (hardware related?),
 - has unknown RAM/power usage, measure influence before switching!
 - while speeding up some ops it slows down others - qtperf default benchmark
   is 2 times slower! and I do not care about KDE or other eye-candy shit,
- packaged env.d variable for system-wide configuration of default backend,
- rel. 4

---- Files affected:
packages/qt4:
   qt4.spec (1.311 -> 1.312) 

---- Diffs:

================================================================
Index: packages/qt4/qt4.spec
diff -u packages/qt4/qt4.spec:1.311 packages/qt4/qt4.spec:1.312
--- packages/qt4/qt4.spec:1.311	Sat Apr 14 20:47:10 2012
+++ packages/qt4/qt4.spec	Mon May 21 00:36:13 2012
@@ -56,7 +56,7 @@
 Summary(pt_BR.UTF-8):	Estrutura para rodar aplicações GUI Qt
 Name:		qt4
 Version:	4.8.1
-Release:	3
+Release:	4
 License:	LGPL v2.1 or GPL v3.0
 Group:		X11/Libraries
 Source0:	http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-%{version}.tar.gz
@@ -1496,7 +1496,6 @@
 	-system-zlib \
 	-openssl-linked \
 	-exceptions \
-	-graphicssystem raster \
 	-largefile \
 	-I/usr/include/postgresql/server \
 	-I/usr/include/mysql \
@@ -1574,9 +1573,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
+install -d $RPM_BUILD_ROOT{/etc/env.d,%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
 
+echo '#QT_GRAPHICSSYSTEM=raster' > $RPM_BUILD_ROOT/etc/env.d/QT_GRAPHICSSYSTEM
+
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
@@ -1968,6 +1969,7 @@
 
 %files -n QtGui
 %defattr(644,root,root,755)
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/QT_GRAPHICSSYSTEM
 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4
 %dir %{_qtdir}/plugins/accessible
@@ -2418,6 +2420,17 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.312  2012/05/20 22:36:13  gotar
+- do not override default graphics system (let authors be blamed) as raster:
+ - doesn't work well via network (it's dramatically slow),
+ - doesn't support subpixel rendering (only native/X11 does!),
+ - have (had?) some issues with some software (hardware related?),
+ - has unknown RAM/power usage, measure influence before switching!
+ - while speeding up some ops it slows down others - qtperf default benchmark
+   is 2 times slower! and I do not care about KDE or other eye-candy shit,
+- packaged env.d variable for system-wide configuration of default backend,
+- rel. 4
+
 Revision 1.311  2012/04/14 18:47:10  glen
 - _localedir adapter
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/qt4/qt4.spec?r1=1.311&r2=1.312



More information about the pld-cvs-commit mailing list