summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2012-11-04 10:19:11 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2012-11-04 10:19:11 +0000
commitbe4fe6dc003075f6ec2feaba4d2b9153b56f40f1 (patch)
tree0ec47ed32e9497b5ad786333ed14aac6205a949e /sys-block
parentMove sci-chemistry/mmtk to sci-libs/mmtk due to duplication, #441648 (diff)
downloadgentoo-2-be4fe6dc003075f6ec2feaba4d2b9153b56f40f1.tar.gz
gentoo-2-be4fe6dc003075f6ec2feaba4d2b9153b56f40f1.tar.bz2
gentoo-2-be4fe6dc003075f6ec2feaba4d2b9153b56f40f1.zip
Version bump, bug #439856. Enable su replacement through pkexec, bug #425156.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/gparted/ChangeLog7
-rw-r--r--sys-block/gparted/gparted-0.14.0.ebuild94
2 files changed, 100 insertions, 1 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog
index fbed62e4fe79..a39b5bced109 100644
--- a/sys-block/gparted/ChangeLog
+++ b/sys-block/gparted/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/gparted
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.117 2012/08/31 10:12:31 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.118 2012/11/04 10:19:11 eva Exp $
+
+*gparted-0.14.0 (04 Nov 2012)
+
+ 04 Nov 2012; Gilles Dartiguelongue <eva@gentoo.org> +gparted-0.14.0.ebuild:
+ Version bump, bug #439856. Enable su replacement through pkexec, bug #425156.
*gparted-0.13.1 (31 Aug 2012)
diff --git a/sys-block/gparted/gparted-0.14.0.ebuild b/sys-block/gparted/gparted-0.14.0.ebuild
new file mode 100644
index 000000000000..4d9a5c468516
--- /dev/null
+++ b/sys-block/gparted/gparted-0.14.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.14.0.ebuild,v 1.1 2012/11/04 10:19:11 eva Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="btrfs dmraid fat gtk hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
+
+# FIXME: add gpart support
+COMMON_DEPEND=">=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2
+ >=sys-block/parted-3.1"
+
+RDEPEND="${COMMON_DEPEND}
+ !policykit? (
+ gtk? ( x11-libs/gksu )
+ kde? ( kde-base/kdesu ) )
+ policykit? ( sys-auth/polkit )
+
+ >=sys-apps/util-linux-2.20
+ >=sys-fs/e2fsprogs-1.41
+ btrfs? ( sys-fs/btrfs-progs )
+ dmraid? ( || (
+ >=sys-fs/lvm2-2.02.45
+ sys-fs/device-mapper )
+ sys-fs/dmraid
+ sys-fs/multipath-tools )
+ fat? (
+ sys-fs/dosfstools
+ sys-fs/mtools )
+ hfs? (
+ sys-fs/diskdev_cmds
+ sys-fs/udev
+ sys-fs/hfsutils )
+ jfs? ( sys-fs/jfsutils )
+ mdadm? ( sys-fs/mdadm )
+ ntfs? ( >=sys-fs/ntfs3g-2011.4.12[ntfsprogs] )
+ reiserfs? ( sys-fs/reiserfsprogs )
+ reiser4? ( sys-fs/reiser4progs )
+ xfs? ( sys-fs/xfsprogs sys-fs/xfsdump )"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/gnome-doc-utils
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_configure() {
+ G2CONF="${G2CONF}
+ --enable-doc
+ GKSUPROG=$(type -P true)"
+ gnome2_src_configure
+}
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+
+ local _ddir="${D}"/usr/share/applications
+
+ if use policykit; then
+ sed -i -e 's:Exec=:Exec=pkexec :' "${_ddir}"/gparted.desktop
+ else
+ if use kde; then
+ cp "${_ddir}"/gparted{,-kde}.desktop
+ sed -i -e 's:Exec=:Exec=kdesu :' "${_ddir}"/gparted-kde.desktop
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop
+ fi
+
+ if use gtk; then
+ sed -i -e 's:Exec=:Exec=gksu :' "${_ddir}"/gparted.desktop
+ echo 'NotShowIn=KDE;' >> "${_ddir}"/gparted.desktop
+ else
+ echo 'OnlyShowIn=X-NeverShowThis;' >> "${_ddir}"/gparted.desktop
+ fi
+ fi
+}