summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/sabayon/ChangeLog5
-rw-r--r--app-admin/sabayon/sabayon-2.20.1.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/app-admin/sabayon/ChangeLog b/app-admin/sabayon/ChangeLog
index 31d1a81c2e98..21b83570f557 100644
--- a/app-admin/sabayon/ChangeLog
+++ b/app-admin/sabayon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/sabayon
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.28 2007/10/07 22:45:49 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.29 2007/11/03 14:41:53 dang Exp $
+
+ 03 Nov 2007; Daniel Gryniewicz <dang@gentoo.org> sabayon-2.20.1.ebuild:
+ Make sabayon use gksu rather than gnomesu; bug #197865
07 Oct 2007; Gilles Dartiguelongue <eva@gentoo.org> sabayon-2.18.1.ebuild,
sabayon-2.20.1.ebuild:
diff --git a/app-admin/sabayon/sabayon-2.20.1.ebuild b/app-admin/sabayon/sabayon-2.20.1.ebuild
index 0ae4c35fbc1c..c446bb8666db 100644
--- a/app-admin/sabayon/sabayon-2.20.1.ebuild
+++ b/app-admin/sabayon/sabayon-2.20.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.20.1.ebuild,v 1.2 2007/10/07 22:45:49 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.20.1.ebuild,v 1.3 2007/11/03 14:41:53 dang Exp $
inherit gnome2 eutils python multilib pam
@@ -26,7 +26,8 @@ RDEPEND="${DEPEND}
app-admin/gamin
dev-libs/libxml2
>=gnome-base/gconf-2.8.1
- >=dev-python/gnome-python-2.6.0"
+ >=dev-python/gnome-python-2.6.0
+ x11-libs/gksu"
pkg_setup() {
if built_with_use x11-base/xorg-server minimal; then
@@ -63,6 +64,14 @@ pkg_setup() {
USE_DESTDIR="1"
}
+src_unpack() {
+ gnome2_src_unpack
+
+ # Switch gnomesu to gksu; bug #197865
+ sed -i -e 's/gnomesu/gksu/' admin-tool/sabayon.desktop || die "gksu sed failed"
+ sed -i -e 's/gnomesu/gksu/' admin-tool/sabayon.desktop.in || die "gksu sed failed"
+}
+
pkg_postinst() {
# unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd
elog "To apply Sabayon defaults and mandatory settings to all users, put"