diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2011-03-22 22:57:49 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2011-03-22 22:57:49 +0000 |
commit | 37e68987319c3c7714a590e9f302ac6658e164a7 (patch) | |
tree | 9a7bff709d1fe542ed7c6ff2fe1552efc153c74e /sys-block | |
parent | Version bump. (diff) | |
download | gentoo-2-37e68987319c3c7714a590e9f302ac6658e164a7.tar.gz gentoo-2-37e68987319c3c7714a590e9f302ac6658e164a7.tar.bz2 gentoo-2-37e68987319c3c7714a590e9f302ac6658e164a7.zip |
Version bump. Add missing dependencies for hfs support, bug #348274.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/gparted/ChangeLog | 7 | ||||
-rw-r--r-- | sys-block/gparted/gparted-0.8.0.ebuild | 87 |
2 files changed, 93 insertions, 1 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog index bd0b9bb2e2ec..f47d83569554 100644 --- a/sys-block/gparted/ChangeLog +++ b/sys-block/gparted/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-block/gparted # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.89 2011/01/29 16:34:35 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.90 2011/03/22 22:57:49 eva Exp $ + +*gparted-0.8.0 (22 Mar 2011) + + 22 Mar 2011; Gilles Dartiguelongue <eva@gentoo.org> +gparted-0.8.0.ebuild: + Version bump. Add missing dependencies for hfs support, bug #348274. 29 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> gparted-0.7.0.ebuild: Replace USE="gnome xfce" with USE="gtk" wrt #353121. diff --git a/sys-block/gparted/gparted-0.8.0.ebuild b/sys-block/gparted/gparted-0.8.0.ebuild new file mode 100644 index 000000000000..b170fdaf36ab --- /dev/null +++ b/sys-block/gparted/gparted-0.8.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.8.0.ebuild,v 1.1 2011/03/22 22:57:49 eva Exp $ + +EAPI="2" +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 reiserfs reiser4 xfs" + +# FIXME: add gpart support +common_depends=">=sys-block/parted-2.3 + >=dev-cpp/gtkmm-2.16:2.4" + +RDEPEND="${common_depends} + gtk? ( x11-libs/gksu ) + kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) + + >=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 ) + hfs? ( + sys-fs/diskdev_cmds + sys-fs/udev + sys-fs/hfsutils ) + jfs? ( sys-fs/jfsutils ) + mdadm? ( sys-fs/mdadm ) + ntfs? ( sys-fs/ntfsprogs ) + 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" + +pkg_setup() { + DOCS="AUTHORS NEWS ChangeLog README" + G2CONF="${G2CONF} + --enable-doc + --disable-scrollkeeper + GKSUPROG=$(type -P true)" +} + +src_prepare() { + gnome2_src_prepare + + # Revert upstream changes to use gksu inconditionally + sed "s:Exec=@gksuprog@ :Exec=:" \ + -i gparted.desktop.in.in || die "sed 1 failed" +} + +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 gtk; then + sed -i "s:Exec=:Exec=gksu :" "${D}"/usr/share/applications/gparted.desktop + echo "NotShowIn=KDE;" >> "${D}"/usr/share/applications/gparted.desktop + else + echo "OnlyShowIn=X-NeverShowThis;" >> "${D}"/usr/share/applications/gparted.desktop + fi +} |