Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=84b6bf2c4699785ac97d146b9f1cdfdcb2e4d4c9

commit 84b6bf2c4699785ac97d146b9f1cdfdcb2e4d4c9
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Apr 1 12:28:41 2010 +0000

gksu
*broken with new gnome-keyring and gksu-polkit don't works as well
*replaces by gksu-frugalware (pam authentification)

diff --git a/source/gnome/gksu/Fix_gvfs222.diff 
b/source/gnome/gksu/Fix_gvfs222.diff
deleted file mode 100644
index b812873..0000000
--- a/source/gnome/gksu/Fix_gvfs222.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN 
gksu-2.0.0.orig/configure.ac gksu-2.0.0/configure.ac
---- gksu-2.0.0.orig/configure.ac       2006-09-23 16:08:21.000000000 -0400
-+++ gksu-2.0.0/configure.ac    2008-03-31 15:21:46.000000000 -0400
-@@ -66,7 +66,7 @@ AC_ARG_ENABLE(nautilus-extension, [  --e
- AM_CONDITIONAL(ENABLE_NAUTILUS_EXTENSION, test x$enable_nautilus_extension = 
xyes)
-
- if test x$enable_nautilus_extension = xyes; then
--   PKG_CHECK_MODULES(NAUTILUS, [libgksu2 >= 2.0.0, libnautilus-extension])
-+   PKG_CHECK_MODULES(NAUTILUS, [libgksu2 >= 2.0.0, libnautilus-extension, 
gnome-vfs-2.0])
- fi
-
- AC_CONFIG_FILES([
diff --git a/source/gnome/gksu/FrugalBuild b/source/gnome/gksu/FrugalBuild
deleted file mode 100644
index 326a772..0000000
--- a/source/gnome/gksu/FrugalBuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Compiling time: 0.10 SBU
-# Maintainer: bouleetbil <bouleet...@frogdev.info>
-# Contributor: AlexExtreme <a...@alex-smith.me.uk>
-
-pkgname=gksu
-pkgver=2.0.2
-pkgrel=2
-pkgdesc="A GTK+2 frontend for su and sudo"
-url="http://www.gnu.org/non-gnu/gksu/";
-backup=(etc/gksu.conf)
-depends=('atk' 'libgksu>=2.0.10-2' 'freetype2' 'pango')
-makedepends=('gtk-doc' 'perl-xml-parser' 'nautilus>=2.26.2-2' 'intltool')
-groups=('gnome' 'gnome-apps')
-archs=('i686' 'x86_64' 'ppc')
-options=('scriptlet')
-up2date="lynx -dump http://people.debian.org/~kov/gksu/ | grep -v libgksu | 
grep tar.gz$ | head -n 1 | sed 's/.*gksu-\([0-9\.]*\).tar.gz/\1/'"
-source=(http://people.debian.org/~kov/$pkgname/$pkgname-$pkgver.tar.gz 
Fix_gvfs222.diff)
-sha1sums=('dae634e3ed2aa8c3f2bebac17d875bcb49d825cc' \
-          '813d7cd2ac823ca14210293d927ab98e34719321')
-
-subpkgs=("nautilus-$pkgname")
-subdescs=('Gksu nautilus extension')
-subgroups=('gnome gnome-apps')
-subdepends=("$pkgname=$pkgver nautilus>=2.26.0")
-subarchs=('i686 x86_64 ppc')
-Fconfopts="${Fconfopts} --disable-schemas-install"
-
-build() {
-       Fpatchall
-       Fautoreconf
-       Fmake
-       Fmakeinstall
-       Fsed "x-terminal-emulator" "gnome-terminal" 
$Fdestdir/usr/share/applications/gksu.desktop
-       Fsplit nautilus-$pkgname usr/lib
-}
-
-# optimization OK
diff --git a/source/gnome/gksu/nautilus-2.24.diff 
b/source/gnome/gksu/nautilus-2.24.diff
deleted file mode 100644
index 04d319c..0000000
--- a/source/gnome/gksu/nautilus-2.24.diff
+++ /dev/null
@@ -1,75 +0,0 @@
-diff -Nur -x '*.orig' -x '*~' gksu-2.0.0/nautilus-gksu/Makefile.am 
gksu-2.0.0.new/nautilus-gksu/Makefile.am
---- gksu-2.0.0/nautilus-gksu/Makefile.am       2006-09-15 10:45:10.000000000 
+0800
-+++ gksu-2.0.0.new/nautilus-gksu/Makefile.am   2008-04-12 15:45:47.000000000 
+0800
-@@ -2,7 +2,7 @@
- INCLUDES = ${NAUTILUS_CFLAGS}
- AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" 
-DPREFIX=\"$(prefix)\"
-
--nautilus_extensiondir=$(libdir)/nautilus/extensions-1.0
-+nautilus_extensiondir=$(libdir)/nautilus/extensions-2.0
- nautilus_extension_LTLIBRARIES = libnautilus-gksu.la
- libnautilus_gksu_la_SOURCES = libnautilus-gksu.c
- libnautilus_gksu_la_LDFLAGS = LDFLAGS = -module -avoid-version -no-undefined
-diff -Nur -x '*.orig' -x '*~' gksu-2.0.0/nautilus-gksu/Makefile.in 
gksu-2.0.0.new/nautilus-gksu/Makefile.in
---- gksu-2.0.0/nautilus-gksu/Makefile.in       2006-09-24 04:23:10.000000000 
+0800
-+++ gksu-2.0.0.new/nautilus-gksu/Makefile.in   2008-04-12 15:45:53.000000000 
+0800
-@@ -241,7 +241,7 @@
- AM_CFLAGS = -g -O2 -Wall
- INCLUDES = ${NAUTILUS_CFLAGS}
- AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" 
-DPREFIX=\"$(prefix)\"
--nautilus_extensiondir = $(libdir)/nautilus/extensions-1.0
-+nautilus_extensiondir = $(libdir)/nautilus/extensions-2.0
- nautilus_extension_LTLIBRARIES = libnautilus-gksu.la
- libnautilus_gksu_la_SOURCES = libnautilus-gksu.c
- libnautilus_gksu_la_LDFLAGS = LDFLAGS = -module -avoid-version -no-undefined
--- gksu-2.0.0.orig/debian/patches/01_always_ask.patch
-++ gksu-2.0.0/debian/patches/01_always_ask.patch
-@ -0,0 +1,48 @@
-diff -Nur gksu-2.0.0/gksu/gksu.c gksu-2.0.0.new/gksu/gksu.c
---- gksu-2.0.0/gksu/gksu.c     2006-09-15 04:45:04.000000000 +0200
-+++ gksu-2.0.0.new/gksu/gksu.c 2007-03-05 09:09:47.000000000 +0100
-@@ -55,6 +55,7 @@
-     {"prompt", optional_argument, NULL, 'P'},
-     {"desktop", required_argument, NULL, 'D'},
-     {"description", required_argument, NULL, 'D'},
-+    {"always-ask-pass", no_argument, NULL, 'A'},
-     {0, 0, 0, 0}
- };
-
-@@ -119,6 +120,9 @@
-     N_("  --su-mode, -w\n"
-        "    Make GKSu use su, instead of using libgksu's\n"
-        "    default.\n"),
-+    N_("  --always-ask-pass\n"
-+       "    Make GKSu always ask for a password, even if it is cached\n"
-+       "    by sudo.\n"),
-   };
-
-   help_trans = g_strconcat(_(help_text[0]), _(help_text[1]),
-@@ -129,6 +133,7 @@
-                          _(help_text[10]), _(help_text[11]),
-                          _(help_text[12]), _(help_text[13]),
-                          _(help_text[14]), _(help_text[15]),
-+                         _(help_text[16]), _(help_text[17]),
-                          NULL);
-   g_print (_(help_trans), PACKAGE_VERSION, cmdname);
-   g_free (help_trans);
-@@ -501,7 +506,7 @@
-   gtk_init (&newargc, &newargv);
-
-   context = gksu_context_new ();
--  while ((c = getopt_long(newargc, newargv, "?hu:lpm:kt:i:gdsSwP::aD:", 
long_opts, NULL))
-+  while ((c = getopt_long(newargc, newargv, "?hu:lpm:kt:i:gdsSwP::aD:A", 
long_opts, NULL))
-        != EOF)
-     {
-       switch (c)
-@@ -564,6 +569,9 @@
-       case 'w':
-         run_mode = SU_MODE;
-         break;
-+      case 'A':
-+        gksu_context_set_always_ask_password(context, TRUE);
-+        break;
-       case 'P':
-         prompt = TRUE;
-
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to