1 |
commit: ee67f134bfab0dcdc05b564ec142b820a8846899 |
2 |
Author: mazes_80 <1608580+mazes-80 <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Sun Oct 16 19:52:01 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 17:39:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee67f134 |
7 |
|
8 |
x11-misc/gtkdialog: Drop GTK+2 support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/769131 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/27814 |
12 |
Signed-off-by: mazes_80 <1608580+mazes-80 <AT> users.noreply.github.com> |
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
.../gtkdialog/gtkdialog-0.8.3_p20200202.ebuild | 28 +++++----------------- |
16 |
x11-misc/gtkdialog/gtkdialog-99999.ebuild | 15 +++--------- |
17 |
x11-misc/gtkdialog/metadata.xml | 3 --- |
18 |
3 files changed, 9 insertions(+), 37 deletions(-) |
19 |
|
20 |
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild |
21 |
index 98d5e081d8c8..9f5e5fba792a 100644 |
22 |
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild |
23 |
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild |
24 |
@@ -1,8 +1,8 @@ |
25 |
-# Copyright 1999-2021 Gentoo Authors |
26 |
+# Copyright 1999-2022 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=7 |
30 |
-inherit autotools xdg-utils |
31 |
+EAPI=8 |
32 |
+inherit autotools xdg |
33 |
|
34 |
DESCRIPTION="A small utility for fast and easy GUI building" |
35 |
HOMEPAGE="https://github.com/oshazard/gtkdialog" |
36 |
@@ -11,17 +11,10 @@ SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tar.xz" |
37 |
LICENSE="GPL-2" |
38 |
SLOT="0" |
39 |
KEYWORDS="amd64 ppc x86" |
40 |
-IUSE="gtk2" |
41 |
|
42 |
RDEPEND=" |
43 |
- gtk2? ( |
44 |
- x11-libs/gtk+:2 |
45 |
- x11-libs/vte:0= |
46 |
- ) |
47 |
- !gtk2? ( |
48 |
- x11-libs/gtk+:3 |
49 |
- x11-libs/vte:2.91= |
50 |
- ) |
51 |
+ x11-libs/gtk+:3 |
52 |
+ x11-libs/vte:2.91= |
53 |
" |
54 |
DEPEND=" |
55 |
${RDEPEND} |
56 |
@@ -41,8 +34,7 @@ src_prepare() { |
57 |
} |
58 |
|
59 |
src_configure() { |
60 |
- econf \ |
61 |
- $(usex gtk2 --disable-gtk3 --enable-gtk3) |
62 |
+ econf --enable-gtk3 |
63 |
} |
64 |
|
65 |
src_compile() { |
66 |
@@ -55,11 +47,3 @@ src_install() { |
67 |
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install |
68 |
einstalldocs |
69 |
} |
70 |
- |
71 |
-pkg_postinst() { |
72 |
- xdg_icon_cache_update |
73 |
-} |
74 |
- |
75 |
-pkg_postrm() { |
76 |
- xdg_icon_cache_update |
77 |
-} |
78 |
|
79 |
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild |
80 |
index c23bccd2c836..471ce7d9bc93 100644 |
81 |
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild |
82 |
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild |
83 |
@@ -1,9 +1,9 @@ |
84 |
-# Copyright 1999-2021 Gentoo Authors |
85 |
+# Copyright 1999-2022 Gentoo Authors |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
|
88 |
-EAPI=7 |
89 |
+EAPI=8 |
90 |
|
91 |
-inherit autotools git-r3 xdg-utils |
92 |
+inherit autotools git-r3 xdg |
93 |
|
94 |
DESCRIPTION="Small utility for fast and easy GUI building" |
95 |
HOMEPAGE="https://github.com/oshazard/gtkdialog" |
96 |
@@ -12,7 +12,6 @@ EGIT_REPO_URI="https://github.com/oshazard/gtkdialog" |
97 |
LICENSE="GPL-2" |
98 |
SLOT="0" |
99 |
KEYWORDS="" |
100 |
-IUSE="" |
101 |
|
102 |
RDEPEND=" |
103 |
x11-libs/gtk+:3 |
104 |
@@ -50,11 +49,3 @@ src_install() { |
105 |
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install |
106 |
einstalldocs |
107 |
} |
108 |
- |
109 |
-pkg_postinst() { |
110 |
- xdg_icon_cache_update |
111 |
-} |
112 |
- |
113 |
-pkg_postrm() { |
114 |
- xdg_icon_cache_update |
115 |
-} |
116 |
|
117 |
diff --git a/x11-misc/gtkdialog/metadata.xml b/x11-misc/gtkdialog/metadata.xml |
118 |
index 756afb6ff8d9..97441428731f 100644 |
119 |
--- a/x11-misc/gtkdialog/metadata.xml |
120 |
+++ b/x11-misc/gtkdialog/metadata.xml |
121 |
@@ -14,7 +14,4 @@ |
122 |
<upstream> |
123 |
<remote-id type="github">oshazard/gtkdialog</remote-id> |
124 |
</upstream> |
125 |
- <use> |
126 |
- <flag name="gtk2">Build with GTK+2 instead of GTK+3</flag> |
127 |
- </use> |
128 |
</pkgmetadata> |