[arch-commits] Commit in kdepim/trunk (PKGBUILD korganizer-urihandler.patch)

Pierre Schmitz pierre at archlinux.org
Thu May 6 09:31:52 UTC 2010


    Date: Thursday, May 6, 2010 @ 05:31:52
  Author: pierre
Revision: 79707

upgpkg: kdepim 4.4.3-2
Fix FS#19373

Added:
  kdepim/trunk/korganizer-urihandler.patch
Modified:
  kdepim/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   14 ++++++++++----
 korganizer-urihandler.patch |   14 ++++++++++++++
 2 files changed, 24 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-06 08:35:58 UTC (rev 79706)
+++ PKGBUILD	2010-05-06 09:31:52 UTC (rev 79707)
@@ -20,18 +20,24 @@
          'kdepim-libkdepim'
          'kdepim-wizards')
 pkgver=4.4.3
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
 groups=('kde' 'kdepim')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdelibs' 'kdepimlibs'
              'kdepim-runtime' 'gnokii' 'libxss' 'kdebase-runtime' 'pilot-link' 'kde-agent')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('0bfd843e03836664758baac95e1127d96077993f')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+        'korganizer-urihandler.patch')
+sha1sums=('0bfd843e03836664758baac95e1127d96077993f'
+          'ed7cd9c293a5283403d682ec588cf99c81242805')
 
 build() {
-	cd ${srcdir}
+	cd ${srcdir}/${pkgbase}-${pkgver}
+	# fixes FS#19373
+	# will be part of 4.4.4
+	patch -p4 -i ${srcdir}/korganizer-urihandler.patch || return 1
+	cd ..
 	mkdir build
 	cd build
 	cmake ../${pkgbase}-${pkgver} \

Added: korganizer-urihandler.patch
===================================================================
--- korganizer-urihandler.patch	                        (rev 0)
+++ korganizer-urihandler.patch	2010-05-06 09:31:52 UTC (rev 79707)
@@ -0,0 +1,14 @@
+--- branches/KDE/4.4/kdepim/korganizer/urihandler.cpp	2010/01/06 22:46:33	1070858
++++ branches/KDE/4.4/kdepim/korganizer/urihandler.cpp	2010/05/03 21:56:54	1122444
+@@ -78,8 +78,11 @@
+       */
+       QString iconPath =
+         KIconLoader::global()->iconPath( "view-pim-contacts", KIconLoader::SizeSmall );
++#if 0
+       QString tmpStr = "kaddressbook --editor-only --uid ";
+       tmpStr += KShell::quoteArg( uri.mid( ::qstrlen( KDEPIMPROTOCOL_CONTACT ) ) );
++#endif
++      QString tmpStr = "kaddressbook";
+       KRun::runCommand( tmpStr, "KAddressBook", iconPath, 0 );
+       return true;
+     }




More information about the arch-commits mailing list