summaryrefslogtreecommitdiff
path: root/app-admin/gtkdiskfree
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
commita3bb28551df94028000fb72308a9e9baa01458b0 (patch)
tree33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /app-admin/gtkdiskfree
parent6657c680376cedf378fcf328e5fa03ed3b41d580 (diff)
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'app-admin/gtkdiskfree')
-rw-r--r--app-admin/gtkdiskfree/Manifest2
-rw-r--r--app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch18
-rw-r--r--app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild39
3 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/gtkdiskfree/Manifest b/app-admin/gtkdiskfree/Manifest
index c9d30ba43fa6..e75e9509224b 100644
--- a/app-admin/gtkdiskfree/Manifest
+++ b/app-admin/gtkdiskfree/Manifest
@@ -1,5 +1,7 @@
AUX gtkdiskfree-2.0.4-musl-setlocale.patch 304 BLAKE2B 3ed1157d242a0d6d4aba09721111c8f6811dd087ead3537e1f2f7808fdb0d57558819c14f0d178c852a31a9bc760eb11b7a53671517cbf7ea29b8b7bb6894e9b SHA512 fde3ba124368a14144553464b2465fc24c40bab5ed86519e59432c982823c285369c34770930d132998c28abbe6f9ca98410741acb1ec2bd01f1ab00e256c58a
+AUX gtkdiskfree-2.0.4-use-const-data-for-icon.patch 456 BLAKE2B c997cc936f878133641ccf213e72f978dda04a52e1dd78b39aa4404edee511dee82836e21f776c8e2b4112833a26f7611ac28aaa1cac99efa8a41104e642e10b SHA512 b99d9950a24b11f7e4bcc6410293683a960f5b12622ac04a3643fe2ce89fb75f3d9cb181cb82d9133416d6db80607a650d8bfe87c1f2276e8b8f47d537286d79
DIST gtkdiskfree-bdda379b9109a226a37801505a19da91494144a6.tar.gz 318381 BLAKE2B 06fa325714dba0ec8ee319448286af791472d4aebdd7b94923fc102dfa0352f69247b941e91877c906b754a3b15c8c97d3b01281389274bc92ae23d1c4dfe858 SHA512 641aff62adb665ed6faa82925cc8941d894591e8209a46097b04a5feaba50a401144414edaaa1d97dd9c6b01fa6b4a057b3a5d96f9fd20318f85e535550ef2b7
EBUILD gtkdiskfree-2.0.4_p20200224-r1.ebuild 858 BLAKE2B 2c8c2a71fe1d4151c13fd5f4a6f593b194829d9907d9b7a86d906318188bca7b59a5e129c971c39193226f51b5ca77f5bd37d5c03d36b4d1efd33cff1e0edddc SHA512 4a6af5c3840da75410cb7282f8e02ad346f285089b4717defb08de1cc25b9499ccce960e9e712d265460e77d8329c7d1f47527e70cb7d3d41555776bba273070
+EBUILD gtkdiskfree-2.0.4_p20200224-r2.ebuild 917 BLAKE2B 3c0da657998f4be364faefd72777886a4ff694093df45388a74acdd53e4c92303141c870aa77617cc52d0e6b7837399fbbf7217aaa9104612c8edf73dd2ea76d SHA512 85a47717202fc343d5c2e4e1b70e477e09b627979b384ec11c8634210cc4237a54db8f1eb1e898027684d8eec3d76eae817c51bc19bfab56d8a5fc152f9115d5
EBUILD gtkdiskfree-2.0.4_p20200224.ebuild 775 BLAKE2B bfbc8fa6f36663e46239e49954c2e23de38a6a32aa88991f6a7f5b6322fe58112e490c71a610516f2ff2d7b6da9e58559df87f26660c6e698d30c93454374c63 SHA512 e3aac871b014e841241b7af30feefd40168feee5eb883c9090a5a5792ed3dc582c9de6db2078dedee77e28abd7b4c501cc7cc782d1783069429cf05868c0e338
MISC metadata.xml 476 BLAKE2B 3991159342982a35d1edc7d40505ed702a6720cc6b94b15bc0d934a9015928185e122d2198d6fe4e1e1fbb9754e60a4a9aa46b678e15226da7cd9f423da6f97c SHA512 8ea510fdb6ad071afdc0a4a557b3422df7746e24e037cdd4d67d6398039c6dfabfa306eeb420ce106e518931b26c682728e22e3c3c6cb9777df4a4d32534f41e
diff --git a/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch
new file mode 100644
index 000000000000..a1b99c946c73
--- /dev/null
+++ b/app-admin/gtkdiskfree/files/gtkdiskfree-2.0.4-use-const-data-for-icon.patch
@@ -0,0 +1,18 @@
+https://gitlab.com/listout/gtkdiskfree/-/commit/3e8d72c2e4115e1372edb81ae9e3a9cd682e9c48.patch
+Bug: https://bugs.gentoo.org/923113
+From: Samuel Bauer <samuel.bauer@yahoo.fr>
+Date: Tue, 8 Jun 2021 20:40:21 +0200
+Subject: [PATCH] Use const datas for icon
+
+--- a/src/icons/icon.xpm
++++ b/src/icons/icon.xpm
+@@ -1,5 +1,5 @@
+ /* XPM */
+-static char * icon_xpm[] = {
++const static char * icon_xpm[] = {
+ "48 48 592 2",
+ " c None",
+ ". c #C7C7C7",
+--
+GitLab
+
diff --git a/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild b/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild
new file mode 100644
index 000000000000..7b48a540eb7d
--- /dev/null
+++ b/app-admin/gtkdiskfree/gtkdiskfree-2.0.4_p20200224-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Graphical tool to show free disk space like df"
+HOMEPAGE="https://gitlab.com/mazes_80/gtkdiskfree"
+COMMIT="bdda379b9109a226a37801505a19da91494144a6"
+SRC_URI="https://gitlab.com/mazes_80/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk2"
+
+RDEPEND="
+ dev-libs/glib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk2? ( x11-libs/gtk+:2 )
+ !gtk2? ( x11-libs/gtk+:3 )"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.4-musl-setlocale.patch
+ "${FILESDIR}"/${PN}-2.0.4-use-const-data-for-icon.patch
+)
+
+src_configure() {
+ if use gtk2 ; then
+ econf $(use_with gtk2)
+ else
+ econf --enable-old-color-selector
+ fi
+}