summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2018-11-27 11:40:12 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2018-11-27 11:47:45 +0100
commitfcfd176a0ebb96b43d221543edbfd2586d96f433 (patch)
tree1faff26a6cf9a1b21cddfc1d1ff385ef2bc27148 /sys-block
parentapp-crypt/gnupg-2.2.10: arm64 stable (bug #669180) (diff)
downloadgentoo-fcfd176a0ebb96b43d221543edbfd2586d96f433.tar.gz
gentoo-fcfd176a0ebb96b43d221543edbfd2586d96f433.tar.bz2
gentoo-fcfd176a0ebb96b43d221543edbfd2586d96f433.zip
sys-block/gparted: 0.29.0 → 0.32.0
Add support for opening/closing LUKS mappings. Rollback specific failed partition change steps. Add workaround for wayland. Integrate downstream polkit handling. Closes: https://bugs.gentoo.org/658382 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-0.32.0.ebuild85
-rw-r--r--sys-block/gparted/metadata.xml2
3 files changed, 88 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 495d973d8255..28a63e01a8df 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1,3 +1,4 @@
DIST gparted-0.27.0.tar.gz 3377303 BLAKE2B 3da7f8713609bacba535745fc2655302826404b9f6fe61edac9db161bad8c40b23e107168674b2e3b6b5153329538ab3cd1d04e0ec69d3402017ad771a1af125 SHA512 0a44697e6d34d1ca3d3fc65fb90ec945ff3807cd208bf18fb118b73980e018b6d69fa515f4f1b199974eabb36b977c541f141790fe640e083ff14c2bbd578e5f
DIST gparted-0.28.1.tar.gz 3444521 BLAKE2B da7c8fe221284be60671b37fcd639b128d0d349239ee5d0c518ec9b64a52e3430bc8c0e23686ef0e54e6c585a6f83a1bd1b17dc010bb858675094c8e33606e60 SHA512 533adc9c2896063532f109ee6ee5fd1e1f510f47aad4ed2b673fc74ba2406f1f8d86db8096965920608028ce255385e04a60926bbf771f7df96100c3e0546a67
DIST gparted-0.29.0.tar.gz 3751292 BLAKE2B 3feeb5abe01cdef5a14efb1bbe229d1ae167a087a5488eacd00577eb16f4038563e21144e15b38113b1cdca0b53455a036f9f5ac594b2633d579ecdfdf7b1d8e SHA512 ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f
+DIST gparted-0.32.0.tar.gz 3880559 BLAKE2B bdd3dd636fd651af06623cdaca828f199a42048d270674c5d5c29a1b99f34fb3a903fa9499bd141ef58a3455d0b861af01b9ed44d9cdba10629e20e5b5114715 SHA512 ea05c387031d0e5ac7f8fa582d9b15881336d72ed2e04a8515217bedccea763491e8d093f9ed3f47fc6c648412a2dca7fff1735e70d897beb065e6b3e698ad43
diff --git a/sys-block/gparted/gparted-0.32.0.ebuild b/sys-block/gparted/gparted-0.32.0.ebuild
new file mode 100644
index 000000000000..ae34b4d6f991
--- /dev/null
+++ b/sys-block/gparted/gparted-0.32.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="https://gparted.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="btrfs cryptsetup dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 udf wayland xfs"
+
+COMMON_DEPEND="
+ !policykit? (
+ kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) )
+ policykit? ( >=sys-auth/polkit-0.102 )
+ >=dev-cpp/glibmm-2.45.40:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+ >=dev-libs/libsigc++-2.5.1:2
+"
+RDEPEND="${COMMON_DEPEND}
+ >=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 )
+ wayland? ( x11-apps/xhost )
+ 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-0.36.0
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ $(use_enable wayland xhost-root) \
+ GKSUPROG=kdesu \
+ ac_cv_prog_have_scrollkeeper_update=no
+}
+
+src_install() {
+ gnome2_src_install
+
+ local _ddir="${D}"/usr/share/applications
+ local _bdir="${D}"/usr/bin
+
+ if ! use policykit; then
+ if use kde; then
+ cp "${_ddir}"/gparted{,-kde}.desktop || die
+ cp "${_bdir}"/gparted{,-kde} || die
+ sed -i -e '/Exec/ s:gparted:gparted-kde:' "${_ddir}"/gparted-kde.desktop || die
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop || die
+ fi
+ else
+ sed -i -e 's:kdesu::' "${_bdir}"/gparted || die
+ fi
+}
diff --git a/sys-block/gparted/metadata.xml b/sys-block/gparted/metadata.xml
index 2fb14814df55..ade662b4afee 100644
--- a/sys-block/gparted/metadata.xml
+++ b/sys-block/gparted/metadata.xml
@@ -34,6 +34,8 @@
<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="wayland">Enable interim workaround to allow running GParted under
+ Wayland by granting permission to the X11 display using <pkg>x11-apps/xhost</pkg>.</flag>
<flag name="xfs">Include XFS support
(<pkg>sys-fs/xfsprogs</pkg>, <pkg>sys-fs/xfsdump</pkg>)</flag>
</use>