summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-11-05 00:06:55 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-11-05 00:06:55 +0000
commitdca0efcd6256db934fee22d5822b627efa407f0d (patch)
tree5dcf671b43c34bdd8df67315b6907b6aa986e4f5 /sys-block/gparted
parentBuild doc in and only once, bug #291735. (diff)
downloadgentoo-2-dca0efcd6256db934fee22d5822b627efa407f0d.tar.gz
gentoo-2-dca0efcd6256db934fee22d5822b627efa407f0d.tar.bz2
gentoo-2-dca0efcd6256db934fee22d5822b627efa407f0d.zip
Version bump. Support devicekit-disk locking and improve dmraid support, bug fixes.
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/ChangeLog8
-rw-r--r--sys-block/gparted/gparted-0.4.8.ebuild85
2 files changed, 92 insertions, 1 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog
index 0294c2d49019..4b459b383c8f 100644
--- a/sys-block/gparted/ChangeLog
+++ b/sys-block/gparted/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/gparted
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.72 2009/10/14 18:11:20 mrpouet Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.73 2009/11/05 00:06:55 eva Exp $
+
+*gparted-0.4.8 (05 Nov 2009)
+
+ 05 Nov 2009; Gilles Dartiguelongue <eva@gentoo.org> +gparted-0.4.8.ebuild:
+ Version bump. Support devicekit-disk locking and improve dmraid support,
+ bug fixes.
*gparted-0.4.7 (14 Oct 2009)
diff --git a/sys-block/gparted/gparted-0.4.8.ebuild b/sys-block/gparted/gparted-0.4.8.ebuild
new file mode 100644
index 000000000000..497c973cf669
--- /dev/null
+++ b/sys-block/gparted/gparted-0.4.8.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.4.8.ebuild,v 1.1 2009/11/05 00:06:55 eva Exp $
+
+EAPI="1"
+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 ~ppc ~x86"
+IUSE="dmraid fat gnome hfs jfs kde ntfs reiserfs reiser4 xfs xfce"
+
+common_depends=">=sys-apps/parted-1.7.1
+ >=dev-cpp/gtkmm-2.8.0"
+
+RDEPEND="${common_depends}
+ gnome? ( x11-libs/gksu )
+ xfce? ( x11-libs/gksu )
+ kde? ( || ( kde-base/kdesu kde-base/kdebase ) )
+
+ >=sys-fs/e2fsprogs-1.41.0
+ dmraid? ( || (
+ >=sys-fs/lvm2-2.02.45
+ sys-fs/device-mapper )
+ sys-fs/dmraid
+ sys-fs/multipath-tools )
+ fat? ( sys-fs/dosfstools )
+ ntfs? ( sys-fs/ntfsprogs )
+ hfs? (
+ sys-fs/udev
+ sys-fs/hfsutils )
+ jfs? ( sys-fs/jfsutils )
+ reiserfs? ( sys-fs/reiserfsprogs )
+ reiser4? ( sys-fs/reiser4progs )
+ xfs? ( sys-fs/xfsprogs sys-fs/xfsdump )"
+
+DEPEND="${common_depends}
+ >=dev-util/pkgconfig-0.12
+ >=dev-util/intltool-0.35.5
+ app-text/scrollkeeper
+ app-text/gnome-doc-utils
+ app-text/docbook-xml-dtd:4.1.2"
+
+DOCS="AUTHORS NEWS ChangeLog README"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Revert upstream changes to use gksu inconditionally
+ sed "s:Exec=@gksuprog@ :Exec=:" \
+ -i gparted.desktop.in.in || die "sed 1 failed"
+}
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --enable-doc
+ --disable-scrollkeeper
+ GKSUPROG=$(type -P true)"
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use kde; then
+ cp "${D}"/usr/share/applications/gparted.desktop \
+ "${D}"/usr/share/applications/gparted-kde.desktop
+
+ sed -i "s:Exec=:Exec=kdesu :" "${D}"/usr/share/applications/gparted-kde.desktop
+ echo "OnlyShowIn=KDE;" >> "${D}"/usr/share/applications/gparted-kde.desktop
+ fi
+
+ if use gnome || use xfce; then
+ sed -i "s:Exec=:Exec=gksu :" "${D}"/usr/share/applications/gparted.desktop
+ echo "OnlyShowIn=GNOME;XFCE;" >> "${D}"/usr/share/applications/gparted.desktop
+ else
+ echo "OnlyShowIn=X-NeverShowThis;" >> "${D}"/usr/share/applications/gparted.desktop
+ fi
+}