]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- do not override default graphics system (let authors be blamed) as raster: auto/th/qt4-4_8_1-4
authorTomasz Pala <gotar@pld-linux.org>
Sun, 20 May 2012 22:36:13 +0000 (22:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
 - 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

Changed files:
    qt4.spec -> 1.312

qt4.spec

index c1e38b6f0e28d2c65a8cb0fd226a83c54da7f6ba..dee1ccb05191a59bf7480c0848d57eed00b1befc 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
@@ -55,7 +55,7 @@ Summary(pl.UTF-8):    Biblioteka Qt do tworzenia GUI
 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
@@ -1495,7 +1495,6 @@ COMMONOPT=" \
        -system-zlib \
        -openssl-linked \
        -exceptions \
-       -graphicssystem raster \
        -largefile \
        -I/usr/include/postgresql/server \
        -I/usr/include/mysql \
@@ -1573,9 +1572,11 @@ yes" | ./configure $COMMONOPT $OPT
 
 %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
 
@@ -1967,6 +1968,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.368572 seconds and 4 git commands to generate.