summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2005-05-01 00:57:24 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2005-05-01 00:57:24 +0000
commitfbaef963a283b7449b3399a484b90862ccf671e0 (patch)
tree5965f1368106a8599884ed39a3813bf743563661 /app-admin
parentremove popt dependancy as per bug #90967 (diff)
downloadhistorical-fbaef963a283b7449b3399a484b90862ccf671e0.tar.gz
historical-fbaef963a283b7449b3399a484b90862ccf671e0.tar.bz2
historical-fbaef963a283b7449b3399a484b90862ccf671e0.zip
fixed .desktop file location, validation of .desktop file. Fixes bug #83949.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gnomesu/ChangeLog8
-rw-r--r--app-admin/gnomesu/Manifest19
-rw-r--r--app-admin/gnomesu/files/digest-gnomesu-0.3.1-r11
-rw-r--r--app-admin/gnomesu/files/gnomesu-0.3.1-r1-desktopfix.patch27
-rw-r--r--app-admin/gnomesu/gnomesu-0.3.1-r1.ebuild35
5 files changed, 76 insertions, 14 deletions
diff --git a/app-admin/gnomesu/ChangeLog b/app-admin/gnomesu/ChangeLog
index 195ca4430b6a..2342d8367b9a 100644
--- a/app-admin/gnomesu/ChangeLog
+++ b/app-admin/gnomesu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/gnomesu
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gnomesu/ChangeLog,v 1.14 2005/04/25 06:25:35 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gnomesu/ChangeLog,v 1.15 2005/05/01 00:57:24 allanonjl Exp $
+
+*gnomesu-0.3.1-r1 (01 May 2005)
+
+ 01 May 2005; John N. Laliberte <allanonjl@gentoo.org>
+ +files/gnomesu-0.3.1-r1-desktopfix.patch, +gnomesu-0.3.1-r1.ebuild:
+ fixed .desktop file location, validation of .desktop file. Fixes bug #83949.
25 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> gnomesu-0.3.1.ebuild:
Stable on alpha.
diff --git a/app-admin/gnomesu/Manifest b/app-admin/gnomesu/Manifest
index 3bdae351056f..ecbc675a3717 100644
--- a/app-admin/gnomesu/Manifest
+++ b/app-admin/gnomesu/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b286c1e466b08e974a547121747a83f0 ChangeLog 1472
-MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
MD5 c48113d242293a78f159fc716f8a94f0 gnomesu-0.3.1.ebuild 800
-MD5 d82bf746f24d99997d12c517f8741242 files/digest-gnomesu-0.3.1 65
+MD5 e01d72bdebb90de40301938797177852 ChangeLog 1714
+MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 a2aaad8fdd4bbc7d8dcdec29f48f903a gnomesu-0.3.1-r1.ebuild 925
MD5 6a9d98cc7e10e1a9355d93dcc2590019 files/gnomesu-0.3.1-desktopfix.patch 361
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCbI1sKf2g/qXtneoRApUgAJsFHwgw+Wb0iAdHrQKpQ99jS85gpACeJCpE
-obg7qTWXwcT61qHGb+ayhlA=
-=PNe7
------END PGP SIGNATURE-----
+MD5 b05babeec19a7c9703e18c9eb55740ae files/gnomesu-0.3.1-r1-desktopfix.patch 873
+MD5 d82bf746f24d99997d12c517f8741242 files/digest-gnomesu-0.3.1 65
+MD5 d82bf746f24d99997d12c517f8741242 files/digest-gnomesu-0.3.1-r1 65
diff --git a/app-admin/gnomesu/files/digest-gnomesu-0.3.1-r1 b/app-admin/gnomesu/files/digest-gnomesu-0.3.1-r1
new file mode 100644
index 000000000000..a693e65605e9
--- /dev/null
+++ b/app-admin/gnomesu/files/digest-gnomesu-0.3.1-r1
@@ -0,0 +1 @@
+MD5 8ebcf248b4f8430c96d80379ec2acdd8 gnomesu-0.3.1.tar.gz 222738
diff --git a/app-admin/gnomesu/files/gnomesu-0.3.1-r1-desktopfix.patch b/app-admin/gnomesu/files/gnomesu-0.3.1-r1-desktopfix.patch
new file mode 100644
index 000000000000..e1d2c30c454a
--- /dev/null
+++ b/app-admin/gnomesu/files/gnomesu-0.3.1-r1-desktopfix.patch
@@ -0,0 +1,27 @@
+--- gnomesu-0.3.1.old/xsu.desktop.in 2005-04-30 19:21:26.639044888 -0400
++++ gnomesu-0.3.1/xsu.desktop.in 2005-04-30 19:22:59.617909952 -0400
+@@ -1,9 +1,10 @@
+ [Desktop Entry]
+ Name=Gnome SuperUser
+-Comment=Allows you to run programs as the root user
+-Exec=gsu
++Comment=Run programs as another user
++Exec=gnomesu
+ Terminal=false
+-MultipleArgs=false
++X-MultipleArgs=false
+ Type=Application
+ Categories=Application;System;
+ Icon=gnome-warning.png
++Encoding=UTF-8
+--- gnomesu-0.3.1.old/Makefile.am 2005-04-30 19:21:26.000000000 -0400
++++ gnomesu-0.3.1/Makefile.am 2005-04-30 20:46:44.927946704 -0400
+@@ -15,7 +15,7 @@
+
+ EXTRA_DIST = mkinstalldirs $(xsudoc_DATA)
+
+-gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@/Applications
++gnomemenudir = $(prefix)/share/applications
+ gnomemenu_DATA = xsu.desktop
+
+ # Copy all the spec files. Of cource, only one is actually used.
diff --git a/app-admin/gnomesu/gnomesu-0.3.1-r1.ebuild b/app-admin/gnomesu/gnomesu-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..9ecf30b9e587
--- /dev/null
+++ b/app-admin/gnomesu/gnomesu-0.3.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gnomesu/gnomesu-0.3.1-r1.ebuild,v 1.1 2005/05/01 00:57:24 allanonjl Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="GNOME2 interface to su, previously xsu and xsu2"
+HOMEPAGE="http://sourceforge.net/projects/xsu/"
+SRC_URI="mirror://sourceforge/xsu/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86 ~mips"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2
+ >=dev-libs/glib-2
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ >=x11-libs/libzvt-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # add encoding to desktop and menu icon fs location
+ # fixes #83949
+ # keep other changes from patch before
+ epatch ${FILESDIR}/${PF}-desktopfix.patch
+}
+
+src_install() {
+ gnome2_src_install xsudocdir=${D}/usr/share/doc/${PF}
+}