summaryrefslogtreecommitdiff
path: root/sys-block/gparted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/gparted
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/Manifest11
-rw-r--r--sys-block/gparted/files/gparted-pkexec2
-rw-r--r--sys-block/gparted/files/org.gentoo.pkexec.gparted.policy22
-rw-r--r--sys-block/gparted/gparted-0.27.0.ebuild86
-rw-r--r--sys-block/gparted/gparted-0.28.1.ebuild87
-rw-r--r--sys-block/gparted/gparted-0.29.0.ebuild88
-rw-r--r--sys-block/gparted/metadata.xml44
7 files changed, 340 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
new file mode 100644
index 000000000000..244786d199d9
--- /dev/null
+++ b/sys-block/gparted/Manifest
@@ -0,0 +1,11 @@
+AUX gparted-pkexec 42 SHA256 c666be6fbcbcafa660e3b875a31f6f565989086cec620ff675f90f7d19b814a3 SHA512 ecc34719a6fdf3739f87d3d2174a56b02c33c69e77d9811f4a043024d2f0479d077214e36fa6081d9717dc55d51dc3b8e0b51f86d95162422438841af24f7b35 WHIRLPOOL 9f0538db9d9008ef6fff9855b3fffe654614a27be9c318005bde49f85a7303110e9ecbaee9f44f34d53f722ddf33063d1be13e285e71a5b43357e000b5024869
+AUX org.gentoo.pkexec.gparted.policy 815 SHA256 8fac3302c7c4daa670656212161e79de0c7485c163534ba3ab50d9b9f570c6a0 SHA512 56a4c6906c721322a2530de4832f422f1a6dda2a049b8fbbf7536cfd798e0f1557148130af8f489c12687cd301b11563667150e3a703e8e3b01a4e0135ced845 WHIRLPOOL d6a098aa8e44ef1d48ba83556961892d13c939088e23d8c06eb11c09c1e8face1dad1f46ea9926a9bb87aceb2530739f1e6aa6c3e0dd4a08f26c64b25d8048c9
+DIST gparted-0.27.0.tar.gz 3377303 SHA256 208cf60c061b86bee4f658d568a3b5d843dce3ab9847f66b452298268799e7bd SHA512 0a44697e6d34d1ca3d3fc65fb90ec945ff3807cd208bf18fb118b73980e018b6d69fa515f4f1b199974eabb36b977c541f141790fe640e083ff14c2bbd578e5f WHIRLPOOL ec823c78deb342ba448ebc956b9758e0fca6f405f7f9b03b7039ac63f3add1dd7a9b139eddc8787c4eb85f9b9222d9b5e99d04b62e70f157fa86e6b582f56e3f
+DIST gparted-0.28.1.tar.gz 3444521 SHA256 76891f14394754f7d6ecceba2af0e585bf89f9d780c389a255dcd41a2f45d333 SHA512 533adc9c2896063532f109ee6ee5fd1e1f510f47aad4ed2b673fc74ba2406f1f8d86db8096965920608028ce255385e04a60926bbf771f7df96100c3e0546a67 WHIRLPOOL b3b5fd08c2bcfba690ea34bd5d1c24f119451eeee3e191641a7cd4a8c31a343c2c8b7b56d029942cf1f79b2a0aee2e300bacb720d03d492167d9ee9a5505dacb
+DIST gparted-0.29.0.tar.gz 3751292 SHA256 2250bf6bb43687be149c2a95fbfe2f6f0215690e187179d5f733ae518fa7c3cd SHA512 ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f WHIRLPOOL 5627ed37dd6a51995560d190bc9ced75f28cfb1f389bab495cf1946add0d4f27979dad54e4b1c85d6d07f9723bd040ff27e17faf4db88eb808ffb4b11bbae710
+EBUILD gparted-0.27.0.ebuild 2046 SHA256 89ea1328255d3ca81e37f5b735b31cf7f7e385cf9862c48cf110077e7ee8b63a SHA512 c9dfa3bf4642f350acb95e24e3a807d4ff5912318977d6c891a922b083298e84815c5fa762ec29eed6425057e899f8b041b5ab3a8c920c6a0706469cd0328d57 WHIRLPOOL 5ef79a338fe2f4b0489bb753d0e45b5dba7a3bb5c7126ca3fd263ac11c1ac3de7f50ded97b76c0bbcd1a4c9ee023b5a68ae0412857b45331fa74893a3b0a267f
+EBUILD gparted-0.28.1.ebuild 2104 SHA256 99e57896773b0cbfa58d313bf728b87b89a36b323507e694af4017ffa02b4a3a SHA512 4bbd41acdbc645aff307a68fdbfa15e9659a3a6ef0e12d616ae89c3d45d40dd5bdab99ac58684f3a24c0a3cbe82b264ba5c7ffbae91d8251891346fc52e9f65b WHIRLPOOL fff2321f3deab0ccc383fce68158cde35045132ad9ba42ce6f327aafd5ac93d4bd39ac7f62cb247610dee4c9b3a2aa11b1e5887bb5c6a4315d40be6eb45db8fd
+EBUILD gparted-0.29.0.ebuild 2134 SHA256 05b217a59de9e919910e20b321068080bcfd5888ea2192b7b185cd085d16ebd8 SHA512 295ff5550cd0e8770620cff7b34b6548d0b0d2765dfbe86aeb8228d7fd2d0f5b4ebeec1f259c784ad4c2ddf39f32ea53e9b5d000849afc92d68ee733d76e0746 WHIRLPOOL e96250a861c42237a6c24229f015592ec25192ef2bfb606e98ae493ef4197ed67e5cf942e528a6ca0c482e01e4f215c6a0f1f5c87710db19bed8a5f4e443cf2f
+MISC ChangeLog 6437 SHA256 bc4e541669f0975854d1e94a4727ef3bfaed47b8fa535da1286b826b8a50da20 SHA512 a90ef29ae3a6e3371874e4bf2cfbe30238297ba0970a2b7f14fa5fafc06dfbe835af05c203032e50d4a1ff487b8269127aa4952546693ab83f5109e9540d50ac WHIRLPOOL dde03b43d8767b0f7efd5707cabe1aa2a2d519698f4ee3279cc02ac3a5207f6e695f6f8d227cfe4751ae2c004e33fe4ce0e650a1d411783a1a190e44e01d1804
+MISC ChangeLog-2015 20326 SHA256 5a0d43beceb1cc5da9c367ba9049086d52cf834da28a840fa97a1454a9a92668 SHA512 c1b268556ccba84a9d132f6f1c3cee0c6e67a9a61246cc9367fee6b4aa3c010f90c5f526510011df905e9b9f70ef11111728c2930cebf9a7a9ec3187ec2d41dc WHIRLPOOL ebd512a12699eaa166af5dc521730b53911866e0d1a5250cdcd3ccf9101e7ef9887c03438cb6775421dcfc570de713e9c09cd1c1f419b2e9f11178c9f34b1fb4
+MISC metadata.xml 1906 SHA256 ed98b32a5d2996be6f81556f547501a77732ac5f670d50c64bf9a34c7b3f67e0 SHA512 bf2c02576b610ab149f5be05f7117f0cdec91311fb5c8108a46f9676214997dce46338e9b007c666237aecbe8821351122aa3243fc1d21e58a4805635da9be6e WHIRLPOOL 30d8f060d3f0e490ceb9e3153f289cde45f48e9744ee05092910aa52a9f61ed5dac304be8a62b0d5245773eed1f2daf23cc24cb19880ea2eda427d880f1c4e53
diff --git a/sys-block/gparted/files/gparted-pkexec b/sys-block/gparted/files/gparted-pkexec
new file mode 100644
index 000000000000..4405cf42a1ca
--- /dev/null
+++ b/sys-block/gparted/files/gparted-pkexec
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkexec "/usr/sbin/gparted" "$@"
diff --git a/sys-block/gparted/files/org.gentoo.pkexec.gparted.policy b/sys-block/gparted/files/org.gentoo.pkexec.gparted.policy
new file mode 100644
index 000000000000..566712ce2b43
--- /dev/null
+++ b/sys-block/gparted/files/org.gentoo.pkexec.gparted.policy
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>Gentoo</vendor>
+ <vendor_url>http://www.gentoo.org/</vendor_url>
+
+ <action id="org.gentoo.pkexec.gparted">
+ <message>Authentication is required to run the GParted Partition Editor</message>
+ <icon_name>gparted</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>
diff --git a/sys-block/gparted/gparted-0.27.0.ebuild b/sys-block/gparted/gparted-0.27.0.ebuild
new file mode 100644
index 000000000000..e55999468ed3
--- /dev/null
+++ b/sys-block/gparted/gparted-0.27.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+IUSE="btrfs dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
+
+COMMON_DEPEND="
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+"
+RDEPEND="${COMMON_DEPEND}
+ !policykit? (
+ kde? ( kde-plasma/kde-cli-tools[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
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ 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=kdesu5 :' "${_ddir}"/gparted-kde.desktop
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop
+ fi
+ fi
+}
diff --git a/sys-block/gparted/gparted-0.28.1.ebuild b/sys-block/gparted/gparted-0.28.1.ebuild
new file mode 100644
index 000000000000..77807ab932d0
--- /dev/null
+++ b/sys-block/gparted/gparted-0.28.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="btrfs cryptsetup dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
+
+COMMON_DEPEND="
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+"
+RDEPEND="${COMMON_DEPEND}
+ !policykit? (
+ kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) )
+ policykit? ( sys-auth/polkit )
+
+ >=sys-apps/util-linux-2.20
+ >=sys-fs/e2fsprogs-1.41
+ btrfs? ( sys-fs/btrfs-progs )
+ cryptsetup? ( sys-fs/cryptsetup )
+ 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
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ 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
+ fi
+}
diff --git a/sys-block/gparted/gparted-0.29.0.ebuild b/sys-block/gparted/gparted-0.29.0.ebuild
new file mode 100644
index 000000000000..4a1f9e1ab81b
--- /dev/null
+++ b/sys-block/gparted/gparted-0.29.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="btrfs cryptsetup dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 udf xfs"
+
+COMMON_DEPEND="
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+"
+RDEPEND="${COMMON_DEPEND}
+ !policykit? (
+ kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) )
+ policykit? ( sys-auth/polkit )
+
+ >=sys-apps/util-linux-2.20
+ >=sys-fs/e2fsprogs-1.41
+ btrfs? ( sys-fs/btrfs-progs )
+ cryptsetup? ( sys-fs/cryptsetup )
+ 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 )
+ udf? ( sys-fs/udftools )
+ xfs? ( sys-fs/xfsprogs sys-fs/xfsdump )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/gnome-doc-utils
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ 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
+ fi
+}
diff --git a/sys-block/gparted/metadata.xml b/sys-block/gparted/metadata.xml
new file mode 100644
index 000000000000..2fb14814df55
--- /dev/null
+++ b/sys-block/gparted/metadata.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>eva@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ GParted is the Gnome Partition Editor. It can create, grow, shrink, move and
+ copy various filesystems.
+ </longdescription>
+ <longdescription lang="fr">
+ GParted est l'éditeur de partition de Gnome. Il peut créer, redimensionner,
+ 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="cryptsetup">Include LUKS volume support (<pkg>sys-fs/cryptsetup</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="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/ntfs3g</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="udf">Include UDF support (<pkg>sys-fs/udftools</pkg>)</flag>
+ <flag name="xfs">Include XFS support
+ (<pkg>sys-fs/xfsprogs</pkg>, <pkg>sys-fs/xfsdump</pkg>)</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gparted</remote-id>
+ <remote-id type="cpe">cpe:/a:gparted:gparted</remote-id>
+ </upstream>
+</pkgmetadata>