summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-05-10 22:37:17 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-05-10 22:37:17 +0000
commit7935a9b360213487a9d94b0381e925cf05fe9853 (patch)
treefb811eab04702a4c8aa3e992f8a6e33e44f5c8a1 /sys-block/gparted
parentFix (diff)
downloadgentoo-2-7935a9b360213487a9d94b0381e925cf05fe9853.tar.gz
gentoo-2-7935a9b360213487a9d94b0381e925cf05fe9853.tar.bz2
gentoo-2-7935a9b360213487a9d94b0381e925cf05fe9853.zip
Version
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/ChangeLog8
-rw-r--r--sys-block/gparted/gparted-0.16.1.ebuild98
-rw-r--r--sys-block/gparted/metadata.xml34
3 files changed, 123 insertions, 17 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog
index acc4add6b240..31072a9ed076 100644
--- a/sys-block/gparted/ChangeLog
+++ b/sys-block/gparted/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/gparted
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.124 2013/04/09 09:59:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.125 2013/05/10 22:37:17 eva Exp $
+
+*gparted-0.16.1 (10 May 2013)
+
+ 10 May 2013; Gilles Dartiguelongue <eva@gentoo.org> +gparted-0.16.1.ebuild,
+ metadata.xml:
+ Version bump, bug #462676.
09 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> gparted-0.14.1.ebuild:
Remove sys-fs/device-mapper from || () syntax in favour of sys-fs/lvm2 wrt
diff --git a/sys-block/gparted/gparted-0.16.1.ebuild b/sys-block/gparted/gparted-0.16.1.ebuild
new file mode 100644
index 000000000000..9f28e5b09f24
--- /dev/null
+++ b/sys-block/gparted/gparted-0.16.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.16.1.ebuild,v 1.1 2013/05/10 22:37:17 eva Exp $
+
+EAPI="5"
+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 f2fs fat gtk hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
+
+# FIXME: add gpart support
+COMMON_DEPEND="
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2: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/dmraid
+ sys-fs/multipath-tools )
+ f2fs? ( sys-fs/f2fs-tools )
+ fat? (
+ sys-fs/dosfstools
+ sys-fs/mtools )
+ hfs? (
+ sys-fs/diskdev_cmds
+ virtual/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
+"
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ gnome2_src_configure \
+ --enable-doc \
+ GKSUPROG=$(type -P true)
+}
+
+src_install() {
+ gnome2_src_install
+
+ local _ddir="${D}"/usr/share/applications
+
+ if use policykit; then
+ sed -i -e 's:/usr/sbin/gparted %f:gparted-pkexec:' "${_ddir}"/gparted.desktop
+ insinto /usr/share/polkit-1/actions/
+ doins "${FILESDIR}"/org.gentoo.pkexec.gparted.policy
+ dobin "${FILESDIR}"/gparted-pkexec
+ 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
+}
diff --git a/sys-block/gparted/metadata.xml b/sys-block/gparted/metadata.xml
index 18f62b9bafe3..8d2cfec25717 100644
--- a/sys-block/gparted/metadata.xml
+++ b/sys-block/gparted/metadata.xml
@@ -14,21 +14,23 @@
déplacer et copier différents systèmes de fichiers.
</longdescription>
<use>
- <flag name='btrfs'>Include Btrfs support (<pkg>sys-fs/btrfs-progs</pkg>)</flag>
- <flag name="dmraid">Support for dmraid devices, also known as ATA-RAID, or
- Fake RAID.</flag>
- <flag name='fat'>Include FAT16/FAT32 support (<pkg>sys-fs/dosfstools</pkg>)
- </flag>
- <flag name='gtk'>Enable .desktop support for gtk+ based desktops.</flag>
- <flag name='hfs'>Include HFS support (<pkg>sys-fs/hfsutils</pkg>)</flag>
- <flag name='jfs'>Include JFS support (<pkg>sys-fs/jfsutils</pkg>)</flag>
- <flag name="mdadm">Support for Linux software RAID.</flag>
- <flag name='ntfs'>Include NTFS support (<pkg>sys-fs/ntfsprogs</pkg>)</flag>
- <flag name='reiser4'>Include ReiserFS4 support
- (<pkg>sys-fs/reiser4progs</pkg>)</flag>
- <flag name='reiserfs'>Include ReiserFS support
- (<pkg>sys-fs/reiserfsprogs</pkg>)</flag>
- <flag name='xfs'>Include XFS support
- (<pkg>sys-fs/xfsprogs</pkg>, <pkg>sys-fs/xfsdump</pkg>)</flag>
+ <flag name='btrfs'>Include Btrfs support (<pkg>sys-fs/btrfs-progs</pkg>)</flag>
+ <flag name="dmraid">Support for dmraid devices, also known as ATA-RAID, or
+ Fake RAID.</flag>
+ <flag name='f2fs'>Include F2FS support (<pkg>sys-fs/f2fs-tools</pkg>)
+ </flag>
+ <flag name='fat'>Include FAT16/FAT32 support (<pkg>sys-fs/dosfstools</pkg>)
+ </flag>
+ <flag name='gtk'>Enable .desktop support for gtk+ based desktops.</flag>
+ <flag name='hfs'>Include HFS support (<pkg>sys-fs/hfsutils</pkg>)</flag>
+ <flag name='jfs'>Include JFS support (<pkg>sys-fs/jfsutils</pkg>)</flag>
+ <flag name="mdadm">Support for Linux software RAID.</flag>
+ <flag name='ntfs'>Include NTFS support (<pkg>sys-fs/ntfsprogs</pkg>)</flag>
+ <flag name='reiser4'>Include ReiserFS4 support
+ (<pkg>sys-fs/reiser4progs</pkg>)</flag>
+ <flag name='reiserfs'>Include ReiserFS support
+ (<pkg>sys-fs/reiserfsprogs</pkg>)</flag>
+ <flag name='xfs'>Include XFS support
+ (<pkg>sys-fs/xfsprogs</pkg>, <pkg>sys-fs/xfsdump</pkg>)</flag>
</use>
</pkgmetadata>