[arch-commits] Commit in kdeutils/repos/extra-i686 (2 files)

Andrea Scarpino andrea at archlinux.org
Thu Jul 29 07:54:38 EDT 2010


    Date: Thursday, July 29, 2010 @ 07:54:38
  Author: andrea
Revision: 86334

fix printer-applet with pyqt 4.7.4 (FS#20180)

Added:
  kdeutils/repos/extra-i686/fix-printer-applet-pyqt4.7.4.patch
Modified:
  kdeutils/repos/extra-i686/PKGBUILD

------------------------------------+
 PKGBUILD                           |   10 +++++++---
 fix-printer-applet-pyqt4.7.4.patch |   15 +++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-29 11:54:25 UTC (rev 86333)
+++ PKGBUILD	2010-07-29 11:54:38 UTC (rev 86334)
@@ -16,7 +16,7 @@
          'kdeutils-superkaramba'
          'kdeutils-sweeper')
 pkgver=4.4.5
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
@@ -24,11 +24,15 @@
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs' 'kdepimlibs' 'kdebase-lib'
              'kdebase-workspace' 'kdebindings-python' 'system-config-printer-common'
              'libarchive' 'qimageblitz' 'kdepim-runtime')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('c092cfbb46719d89a5718735dc81ca75c0176e45')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+	'fix-printer-applet-pyqt4.7.4.patch')
+sha1sums=('c092cfbb46719d89a5718735dc81ca75c0176e45'
+	'942ec0827f0d8ba7974c246ce8aabc52e2b0cd15')
 
 build() {
 	cd ${srcdir}
+	patch -Np0 -i ${srcdir}/fix-printer-applet-pyqt4.7.4.patch
+	
 	mkdir build
 	cd build
 	cmake ../${pkgbase}-${pkgver} \

Added: fix-printer-applet-pyqt4.7.4.patch
===================================================================
--- fix-printer-applet-pyqt4.7.4.patch	                        (rev 0)
+++ fix-printer-applet-pyqt4.7.4.patch	2010-07-29 11:54:38 UTC (rev 86334)
@@ -0,0 +1,15 @@
+--- kdeutils-4.4.5/printer-applet/printer-applet.py~	2010-05-28 11:42:32.000000000 +0200
++++ kdeutils-4.4.5/printer-applet/printer-applet.py	2010-07-29 13:17:29.715164501 +0200
+@@ -237,10 +237,10 @@
+             APPDIR = file.left(file.lastIndexOf("/"))
+ 
+         self.mainWindow = MainWindow()
+-        uic.loadUi(APPDIR + "/" + "printer-applet.ui", self.mainWindow)
++        uic.loadUi(unicode(APPDIR + "/" + "printer-applet.ui"), self.mainWindow)
+ 
+         self.printersWindow = PrintersWindow(self)
+-        uic.loadUi(APPDIR + "/" + "printer-applet-printers.ui", self.printersWindow)
++        uic.loadUi(unicode(APPDIR + "/" + "printer-applet-printers.ui"), self.printersWindow)
+ 
+         self.sysTray = QSystemTrayIcon(KIcon("printer"), self.mainWindow)
+         #self.sysTray.show()



More information about the arch-commits mailing list