[arch-commits] Commit in kdebindings-python/kde-unstable (PKGBUILD fix.patch)

Andrea Scarpino andrea at archlinux.org
Fri Jan 4 17:41:43 UTC 2013


    Date: Friday, January 4, 2013 @ 12:41:42
  Author: andrea
Revision: 174453

Fix broken pykde plasmoids https://bugs.kde.org/show_bug.cgi?id=312618)

Added:
  kdebindings-python/kde-unstable/fix.patch
Modified:
  kdebindings-python/kde-unstable/PKGBUILD

-----------+
 PKGBUILD  |   17 +++++++++++++----
 fix.patch |   10 ++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-04 16:47:52 UTC (rev 174452)
+++ PKGBUILD	2013-01-04 17:41:42 UTC (rev 174453)
@@ -12,19 +12,27 @@
 groups=('kdebindings')
 makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
              'pyqt' 'qscintilla' 'python2-sip' 'python-sip')
-source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz")
-sha1sums=('3e8aef059de39184be505718094e67aa0d84273e')
+source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz"
+        'fix.patch')
+sha1sums=('3e8aef059de39184be505718094e67aa0d84273e'
+          'c02432fbe0e0c600a2c422f5d2221ece73fce017')
 
 build() {
   export PYTHONDONTWRITEBYTECODE="TRUE"
 
+  # KDEBUG#312618
+  cd pykde4-${pkgver}
+  patch -p1 -i "${srcdir}"/fix.patch
+  cd ../
+
   mkdir build
   cd build
   cmake ../pykde4-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DPYTHON_EXECUTABLE=/usr/bin/python3 \
-    -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0
+    -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
+    -DPYKDEUIC4_ALTINSTALL=TRUE
   make
   cd ..
 
@@ -33,7 +41,8 @@
   cmake ../pykde4-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DPYTHON_EXECUTABLE=/usr/bin/python2
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DPYKDEUIC4_ALTINSTALL=TRUE
   make
 }
 

Added: fix.patch
===================================================================
--- fix.patch	                        (rev 0)
+++ fix.patch	2013-01-04 17:41:42 UTC (rev 174453)
@@ -0,0 +1,10 @@
+--- pykde4-4.9.97/CMakeLists.txt~	2013-01-04 16:49:33.259672808 +0000
++++ pykde4-4.9.97/CMakeLists.txt	2013-01-04 16:52:26.535208136 +0000
+@@ -1,7 +1,5 @@
+ project(pykde4)
+ 
+-cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR)
+-
+ # search packages used by KDE
+ find_package(KDE4 4.9.4 REQUIRED)
+ 




More information about the arch-commits mailing list