1 |
commit: f89e03ad7cdf9102e9c399339f381e6b0280310b |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 24 11:53:28 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 24 11:53:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89e03ad |
7 |
|
8 |
x11-themes/tango-icon-theme-extras: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
.../tango-icon-theme-extras-0.1.0-MKDIR_P.patch | 14 ---------- |
14 |
... tango-icon-theme-extras-0.1.0-autotools.patch} | 29 ++++++++++++++++---- |
15 |
.../tango-icon-theme-extras-0.1.0-r2.ebuild | 31 +++++++++------------- |
16 |
3 files changed, 37 insertions(+), 37 deletions(-) |
17 |
|
18 |
diff --git a/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-MKDIR_P.patch b/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-MKDIR_P.patch |
19 |
deleted file mode 100644 |
20 |
index f757248c8f5..00000000000 |
21 |
--- a/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-MKDIR_P.patch |
22 |
+++ /dev/null |
23 |
@@ -1,14 +0,0 @@ |
24 |
-https://bugs.gentoo.org/show_bug.cgi?id=486906 |
25 |
- |
26 |
-diff --git a/configure.ac b/configure.ac |
27 |
-index ce2bc5f..21cc450 100644 |
28 |
---- a/configure.ac |
29 |
-+++ b/configure.ac |
30 |
-@@ -6,6 +6,7 @@ AC_CONFIG_SRCDIR([svg2png.sh.in]) |
31 |
- |
32 |
- AM_INIT_AUTOMAKE([1.9 tar-ustar]) |
33 |
- |
34 |
-+AC_PROG_MKDIR_P |
35 |
- PKG_PROG_PKG_CONFIG([0.19]) |
36 |
- |
37 |
- # Workaround to make aclocal get the right flags |
38 |
|
39 |
diff --git a/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-graphicsmagick.patch b/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-autotools.patch |
40 |
similarity index 53% |
41 |
rename from x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-graphicsmagick.patch |
42 |
rename to x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-autotools.patch |
43 |
index 446d42c8f43..1bce972ea28 100644 |
44 |
--- a/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-graphicsmagick.patch |
45 |
+++ b/x11-themes/tango-icon-theme-extras/files/tango-icon-theme-extras-0.1.0-autotools.patch |
46 |
@@ -1,8 +1,18 @@ |
47 |
-http://bugs.gentoo.org/314423 |
48 |
+https://bugs.gentoo.org/314423 |
49 |
+https://bugs.gentoo.org/413183 |
50 |
+https://bugs.gentoo.org/486906 |
51 |
|
52 |
---- configure.ac |
53 |
-+++ configure.ac |
54 |
-@@ -39,9 +39,6 @@ |
55 |
+--- a/configure.ac |
56 |
++++ b/configure.ac |
57 |
+@@ -6,6 +6,7 @@ |
58 |
+ |
59 |
+ AM_INIT_AUTOMAKE([1.9 tar-ustar]) |
60 |
+ |
61 |
++AC_PROG_MKDIR_P |
62 |
+ PKG_PROG_PKG_CONFIG([0.19]) |
63 |
+ |
64 |
+ # Workaround to make aclocal get the right flags |
65 |
+@@ -39,9 +40,6 @@ |
66 |
AM_CONDITIONAL(ENABLE_ICON_FRAMING, test x$enable_framing = xyes) |
67 |
|
68 |
if test "x$enable_framing" = "xyes"; then |
69 |
@@ -12,7 +22,7 @@ http://bugs.gentoo.org/314423 |
70 |
AC_PATH_PROG(CONVERT, convert) |
71 |
if test -z "$CONVERT"; then |
72 |
AC_MSG_ERROR([ImageMagick is required to build tango-icon-theme]) |
73 |
-@@ -50,9 +47,6 @@ |
74 |
+@@ -50,9 +48,6 @@ |
75 |
# Add the command line options we need here |
76 |
CONVERT="$CONVERT -bordercolor Transparent -border 1x1" |
77 |
AC_SUBST(CONVERT) |
78 |
@@ -22,3 +32,12 @@ http://bugs.gentoo.org/314423 |
79 |
fi |
80 |
|
81 |
# Check for rsvg or ksvgtopng for creating large scale bitmaps from svg |
82 |
+@@ -68,7 +63,7 @@ |
83 |
+ PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3], |
84 |
+ [enable_large_bitmaps=yes], [enable_large_bitmaps=no]) |
85 |
+ if test "x$enable_large_bitmaps" = "xyes"; then |
86 |
+- svgconvert_prog="rsvg" |
87 |
++ svgconvert_prog="rsvg-convert" |
88 |
+ else |
89 |
+ svgconvert_prog="ksvgtopng" |
90 |
+ fi |
91 |
|
92 |
diff --git a/x11-themes/tango-icon-theme-extras/tango-icon-theme-extras-0.1.0-r2.ebuild b/x11-themes/tango-icon-theme-extras/tango-icon-theme-extras-0.1.0-r2.ebuild |
93 |
index 359cd9fad71..102e33b7dc4 100644 |
94 |
--- a/x11-themes/tango-icon-theme-extras/tango-icon-theme-extras-0.1.0-r2.ebuild |
95 |
+++ b/x11-themes/tango-icon-theme-extras/tango-icon-theme-extras-0.1.0-r2.ebuild |
96 |
@@ -1,8 +1,9 @@ |
97 |
-# Copyright 1999-2017 Gentoo Foundation |
98 |
+# Copyright 1999-2019 Gentoo Authors |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
|
101 |
-EAPI=4 |
102 |
-inherit autotools eutils gnome2-utils |
103 |
+EAPI=7 |
104 |
+ |
105 |
+inherit autotools xdg |
106 |
|
107 |
DESCRIPTION="Tango icons for iPod Digital Audio Player devices and the Dell Pocket DJ DAP" |
108 |
HOMEPAGE="http://tango.freedesktop.org" |
109 |
@@ -12,22 +13,20 @@ LICENSE="CC-BY-SA-2.5" |
110 |
SLOT="0" |
111 |
KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
112 |
IUSE="png" |
113 |
+RESTRICT="binchecks strip" |
114 |
|
115 |
-RDEPEND=">=x11-themes/tango-icon-theme-0.8.90" |
116 |
-DEPEND="${RDEPEND} |
117 |
- virtual/pkgconfig |
118 |
- >=gnome-base/librsvg-2.34 |
119 |
+RDEPEND="x11-themes/tango-icon-theme" |
120 |
+DEPEND="${RDEPEND}" |
121 |
+BDEPEND=" |
122 |
+ gnome-base/librsvg |
123 |
virtual/imagemagick-tools[png?] |
124 |
- >=x11-misc/icon-naming-utils-0.8.90" |
125 |
- |
126 |
-RESTRICT="binchecks strip" |
127 |
+ virtual/pkgconfig |
128 |
+ x11-misc/icon-naming-utils" |
129 |
|
130 |
-DOCS="AUTHORS ChangeLog NEWS README" |
131 |
+PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) |
132 |
|
133 |
src_prepare() { |
134 |
- epatch "${FILESDIR}"/${P}-graphicsmagick.patch |
135 |
- epatch "${FILESDIR}"/${P}-MKDIR_P.patch |
136 |
- sed -i -e '/svgconvert_prog/s:rsvg:&-convert:' configure{,.ac} || die #413183 |
137 |
+ xdg_src_prepare |
138 |
eautoreconf |
139 |
} |
140 |
|
141 |
@@ -36,7 +35,3 @@ src_configure() { |
142 |
$(use_enable png png-creation) \ |
143 |
$(use_enable png icon-framing) |
144 |
} |
145 |
- |
146 |
-pkg_preinst() { gnome2_icon_savelist; } |
147 |
-pkg_postinst() { gnome2_icon_cache_update; } |
148 |
-pkg_postrm() { gnome2_icon_cache_update; } |