summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-23 16:29:22 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-23 16:29:22 +0200
commitb73d673abb4ea046cfa1c17383302ba91d3b5024 (patch)
treeaf781ae7c86c233b1d7109d5e68a33c6a7b85f28 /kde/polkit-kde
parent63e9d10f60dff0889bb060f28a93061340deb0c4 (diff)
downloadnutyx-pakxe-b73d673abb4ea046cfa1c17383302ba91d3b5024.tar.gz
nutyx-pakxe-b73d673abb4ea046cfa1c17383302ba91d3b5024.tar.bz2
nutyx-pakxe-b73d673abb4ea046cfa1c17383302ba91d3b5024.tar.xz
nutyx-pakxe-b73d673abb4ea046cfa1c17383302ba91d3b5024.zip
polkit-kde, port nettoyé
Diffstat (limited to 'kde/polkit-kde')
-rwxr-xr-xkde/polkit-kde/Pkgfile3
-rw-r--r--kde/polkit-kde/gcc45.patch11
-rw-r--r--kde/polkit-kde/xdg-path.patch13
3 files changed, 1 insertions, 26 deletions
diff --git a/kde/polkit-kde/Pkgfile b/kde/polkit-kde/Pkgfile
index 8195e7674..0f261a787 100755
--- a/kde/polkit-kde/Pkgfile
+++ b/kde/polkit-kde/Pkgfile
@@ -8,8 +8,7 @@ name=polkit-kde
version=0.95.1
release=3
source=(ftp://kde.mirrors.pair.com/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
- xdg-path.patch
- gcc45.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/{xdg-path.patch,gcc45.patch})
build() {
cd $SRC/$name-1-$version
diff --git a/kde/polkit-kde/gcc45.patch b/kde/polkit-kde/gcc45.patch
deleted file mode 100644
index 478b1660c..000000000
--- a/kde/polkit-kde/gcc45.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- agent/AuthDialog.cpp 2010-04-10 10:13:18.634941750 +0200
-+++ agent/AuthDialog.cpp 2010-04-10 10:13:56.021565836 +0200
-@@ -169,7 +169,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 = KUser(identity->toString().remove("unix-user:"));
- if (!user.isValid()) {
- kWarning() << "User invalid: " << user.loginName();
- continue;
diff --git a/kde/polkit-kde/xdg-path.patch b/kde/polkit-kde/xdg-path.patch
deleted file mode 100644
index 872523bb3..000000000
--- a/kde/polkit-kde/xdg-path.patch
+++ /dev/null
@@ -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)