Date: Friday, November 26, 2010 @ 06:56:20 Author: andrea Revision: 100902
use a snapshot Added: polkit-kde/kde-unstable/ Modified: polkit-kde/kde-unstable/PKGBUILD Deleted: polkit-kde/kde-unstable/gcc4.5.patch polkit-kde/kde-unstable/xdg-path.patch ----------------+ PKGBUILD | 24 +++++++----------------- gcc4.5.patch | 14 -------------- xdg-path.patch | 13 ------------- 3 files changed, 7 insertions(+), 44 deletions(-) Modified: kde-unstable/PKGBUILD =================================================================== --- trunk/PKGBUILD 2010-11-26 10:04:20 UTC (rev 100900) +++ kde-unstable/PKGBUILD 2010-11-26 11:56:20 UTC (rev 100902) @@ -1,36 +1,26 @@ -# $Id $ +# $Id$ # Maintainer: Andrea Scarpino <[email protected]> # Contributor: Pierre Schmitz <[email protected]> pkgname=polkit-kde -pkgver=0.95.1 -pkgrel=2 -pkgdesc='KDE PolicyKit Authentication Agent' +pkgver=git20101126 +pkgrel=1 +pkgdesc='Daemon providing a polkit authentication UI for KDE' arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL') depends=('kdelibs') makedepends=('cmake' 'automoc4') -source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2" - 'xdg-path.patch' - 'gcc4.5.patch') -md5sums=('68e40d2a43335cb5876a1c8bc51c461b' - '84d4873e60c1b628bcbaaf38c7ab2f44' - '06caf1645510367eb253509240d3c8bd') +source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2") +md5sums=('2ab61c3326cd7b933ca9fbdc472a8b32') build() { - cd ${srcdir}/${pkgname}-1-${pkgver} - patch -p0 -i ${srcdir}/xdg-path.patch - patch -Np4 -i ${srcdir}/gcc4.5.patch - cd ${srcdir} mkdir build cd build - export XDG_CONFIG_DIRS=/etc/xdg cmake ../${pkgname}-1-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_SKIP_RPATH=ON + -DCMAKE_INSTALL_PREFIX=/usr make } Deleted: kde-unstable/gcc4.5.patch =================================================================== --- trunk/gcc4.5.patch 2010-11-26 10:04:20 UTC (rev 100900) +++ kde-unstable/gcc4.5.patch 2010-11-26 11:56:20 UTC (rev 100902) @@ -1,14 +0,0 @@ -http://bugs.gentoo.org/314471 -http://websvn.kde.org/trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp?r1=1065570&r2=1073600 - ---- trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp -+++ trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp -@@ -195,7 +195,7 @@ - foreach(PolkitQt1::Identity *identity, identities) { - // First check to see if the user is valid - qDebug() << "User: " << identity; -- KUser user = KUser::KUser(identity->toString().remove("unix-user:")); -+ KUser user(identity->toString().remove("unix-user:")); - if (!user.isValid()) { - kWarning() << "User invalid: " << user.loginName(); - continue; Deleted: kde-unstable/xdg-path.patch =================================================================== --- trunk/xdg-path.patch 2010-11-26 10:04:20 UTC (rev 100900) +++ kde-unstable/xdg-path.patch 2010-11-26 11:56:20 UTC (rev 100902) @@ -1,13 +0,0 @@ ---- agent/CMakeLists.txt 2009-12-23 12:31:29.000000000 +0100 -+++ agent/CMakeLists.txt 2010-02-10 21:26:05.183779591 +0100 -@@ -18,8 +18,8 @@ - - install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR}) - --# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise --set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}) -+# Install .desktop file to the XDG_CONFIG_DIRS/autostart if exists, to the /etc/xdg/autostart otherwise -+set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}/autostart) - if (DESKTOP_INSTALL_DIR) - else (DESKTOP_INSTALL_DIR) - set (DESKTOP_INSTALL_DIR /etc/xdg/autostart)
