Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f73ebbe523619b3ebf09f889f919b0f14d2466c0
commit f73ebbe523619b3ebf09f889f919b0f14d2466c0 Author: Marius Cirsta <mcir...@frugalware.org> Date: Thu May 3 23:51:09 2012 +0000 kdebase-workspace-4.8.2-2-x86_64 * add patch to fix errors with bad theme diff --git a/source/kde/kdebase-workspace/FrugalBuild b/source/kde/kdebase-workspace/FrugalBuild index 348ec33..40989b7 100644 --- a/source/kde/kdebase-workspace/FrugalBuild +++ b/source/kde/kdebase-workspace/FrugalBuild @@ -7,7 +7,7 @@ USE_GPSD=${USE_GPSD:-"n"} USE_NETWORKMANAGER=${USE_NETWORKMANAGER:-"y"} pkgname=kdebase-workspace -pkgrel=1 +pkgrel=2 pkgdesc="Programs specific for the KDE4 desktop." groups=('kde' 'kde-minimal') archs=('i686' 'x86_64') @@ -32,14 +32,16 @@ source=("${source[@]}" \ kde-np.pamd \ kdebase-workspace-4.4.92-kdm_plymouth081.patch \ kdebase-workspace-4.7.0-enable-lcdfilter.patch \ - shutdownfix.patch) + shutdownfix.patch \ + fix-theme-crash.patch) sha1sums=("${sha1sums[@]}" \ 'e1f706c984fc81633663c662e674b6f2c64d2f83' \ '6216aad404aa0b846c835a0e8f9df4941bf74d37' \ '072f69fd5bdf5ea20b23bb9b3fae688a500d7169' \ '5924185ad7a9f16964edd36e68cb3714ba406253' \ '48e6d8e6a38438d93ba53fff3784662814a2adb1' \ - '0385f30d7dd28a2d2365edebed4a4833ac9171f6') + '0385f30d7dd28a2d2365edebed4a4833ac9171f6' \ + 'e057363c42a7f3f26638e01f784e6f5993727704') provides=("libksysguard" "$pkgname-extra-cursors" "plasma-scriptengine-google-gadgets") conflicts=("${provides[@]}") diff --git a/source/kde/kdebase-workspace/fix-theme-crash.patch b/source/kde/kdebase-workspace/fix-theme-crash.patch new file mode 100644 index 0000000..ef87037 --- /dev/null +++ b/source/kde/kdebase-workspace/fix-theme-crash.patch @@ -0,0 +1,13 @@ +--- kde-workspace-4.8.2/libs/plasmagenericshell/panelshadows.cpp 2012-03-29 22:02:31.000000000 +0000 ++++ kde-workspace-4.8.2.new/libs/plasmagenericshell/panelshadows.cpp 2012-05-03 22:10:07.000000000 +0000 +@@ -122,6 +122,10 @@ + { + #ifdef Q_WS_X11 + QPixmap pix = q->pixmap(element); ++ if(pix.width()<=0 || pix.height()<=0) { ++ kError()<<"could not load "<<element<<" check your theme"; ++ return; ++ } + if (pix.handle() == 0) { + Pixmap xPix = XCreatePixmap(QX11Info::display(), QX11Info::appRootWindow(), pix.width(), pix.height(), 32); + QPixmap tempPix = QPixmap::fromX11Pixmap(xPix, QPixmap::ExplicitlyShared); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git