Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/tangerine-icon-theme: ChangeLog tangerine-icon-theme-0.26.ebuild
Date: Tue, 28 Apr 2009 11:06:04
Message-Id: E1Lyl8J-0000PQ-Qk@stork.gentoo.org
1 ssuominen 09/04/28 11:05:51
2
3 Modified: ChangeLog tangerine-icon-theme-0.26.ebuild
4 Log:
5 Convert to USE dep and add gnome2_icon_savelist.
6 (Portage version: 2.1.6.11/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.16 x11-themes/tangerine-icon-theme/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog?r1=1.15&r2=1.16
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- ChangeLog 24 Nov 2008 17:30:03 -0000 1.15
22 +++ ChangeLog 28 Apr 2009 11:05:51 -0000 1.16
23 @@ -1,9 +1,10 @@
24 # ChangeLog for x11-themes/tangerine-icon-theme
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog,v 1.15 2008/11/24 17:30:03 ssuominen Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/ChangeLog,v 1.16 2009/04/28 11:05:51 ssuominen Exp $
29
30 - 24 Nov 2008; <ssuominen@g.o> metadata.xml:
31 - Rename my old e-mail drac at gentoo.org to ssuominen at gentoo.org.
32 + 28 Apr 2009; Samuli Suominen <ssuominen@g.o>
33 + tangerine-icon-theme-0.26.ebuild:
34 + Convert built_with_use to USE dep.
35
36 06 Nov 2007; Raúl Porcel <armin76@g.o>
37 -tangerine-icon-theme-0.20.ebuild, -tangerine-icon-theme-0.22.ebuild,
38 @@ -20,14 +21,14 @@
39
40 *tangerine-icon-theme-0.26 (29 Sep 2007)
41
42 - 29 Sep 2007; Samuli Suominen <drac@g.o>
43 + 29 Sep 2007; Samuli Suominen <ssuominen@g.o>
44 +tangerine-icon-theme-0.26.ebuild:
45 Version bump with Gentoo branding fixed wrt #193212, thanks to Pacho Ramos
46 for reporting.
47
48 *tangerine-icon-theme-0.22 (22 Aug 2007)
49
50 - 22 Aug 2007; Samuli Suominen <drac@g.o>
51 + 22 Aug 2007; Samuli Suominen <ssuominen@g.o>
52 +tangerine-icon-theme-0.22.ebuild:
53 Version bump.
54
55 @@ -39,17 +40,13 @@
56 tangerine-icon-theme-0.20.ebuild:
57 x86 stable
58
59 - 16 Jun 2007; Samuli Suominen <drac@g.o>
60 - tangerine-icon-theme-0.20.ebuild:
61 - Add missing quotes.
62 -
63 07 Jun 2007; Gustavo Zacarias <gustavoz@g.o>
64 tangerine-icon-theme-0.20.ebuild:
65 Stable on sparc
66
67 *tangerine-icon-theme-0.20 (16 May 2007)
68
69 - 16 May 2007; Samuli Suominen <drac@g.o>
70 + 16 May 2007; Samuli Suominen <ssuominen@g.o>
71 -tangerine-icon-theme-0.15.ebuild, +tangerine-icon-theme-0.20.ebuild:
72 Version bump.
73
74 @@ -57,10 +54,10 @@
75 tangerine-icon-theme-0.15.ebuild:
76 Keyworded ~sparc
77
78 - 11 Mar 2007; Samuli Suominen <drac@g.o>
79 + 11 Mar 2007; Samuli Suominen <ssuominen@g.o>
80 tangerine-icon-theme-0.15.ebuild:
81 Use Gentoo logo instead of Ubuntu logo as start-here.svg
82 - Bug 170427. Thanks to Pacho Ramos for reporting.
83 + Bug 170427, thanks to Pacho Ramos for reporting.
84
85 11 Mar 2007; Peter Weller <welp@g.o>
86 tangerine-icon-theme-0.15.ebuild:
87 @@ -68,7 +65,7 @@
88
89 *tangerine-icon-theme-0.15 (10 Mar 2007)
90
91 - 10 Mar 2007; Samuli Suominen <drac@g.o>
92 + 10 Mar 2007; Samuli Suominen <ssuominen@g.o>
93 +tangerine-icon-theme-0.15.ebuild:
94 Initial commit.
95
96
97
98
99 1.5 x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild?rev=1.5&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild?rev=1.5&content-type=text/plain
103 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild?r1=1.4&r2=1.5
104
105 Index: tangerine-icon-theme-0.26.ebuild
106 ===================================================================
107 RCS file: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild,v
108 retrieving revision 1.4
109 retrieving revision 1.5
110 diff -u -r1.4 -r1.5
111 --- tangerine-icon-theme-0.26.ebuild 6 Nov 2007 17:13:35 -0000 1.4
112 +++ tangerine-icon-theme-0.26.ebuild 28 Apr 2009 11:05:51 -0000 1.5
113 @@ -1,8 +1,9 @@
114 -# Copyright 1999-2007 Gentoo Foundation
115 +# Copyright 1999-2009 Gentoo Foundation
116 # Distributed under the terms of the GNU General Public License v2
117 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild,v 1.4 2007/11/06 17:13:35 armin76 Exp $
118 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.26.ebuild,v 1.5 2009/04/28 11:05:51 ssuominen Exp $
119
120 -inherit autotools eutils gnome2-utils
121 +EAPI=2
122 +inherit autotools gnome2-utils
123
124 DESCRIPTION="a derivative of the standard Tango theme, using a more orange approach"
125 HOMEPAGE="http://packages.ubuntu.com/gutsy/x11/tangerine-icon-theme"
126 @@ -14,54 +15,41 @@
127 KEYWORDS="amd64 sparc x86"
128 IUSE="png"
129
130 -RESTRICT="binchecks strip"
131 -
132 RDEPEND=">=x11-misc/icon-naming-utils-0.8.2
133 - media-gfx/imagemagick
134 + media-gfx/imagemagick[png?]
135 >=gnome-base/librsvg-2.12.3
136 >=x11-themes/gnome-icon-theme-2.18"
137 DEPEND="${RDEPEND}
138 - >=dev-util/pkgconfig-0.19
139 - >=dev-util/intltool-0.33
140 + dev-util/pkgconfig
141 + dev-util/intltool
142 sys-devel/gettext"
143 +RESTRICT="binchecks strip"
144
145 -pkg_setup() {
146 - if use png && ! built_with_use media-gfx/imagemagick png; then
147 - die "Build media-gfx/imagemagick with USE=png."
148 - fi
149 -}
150 -
151 -src_unpack() {
152 - unpack ${PN}_${PV}.tar.gz
153 - cd "${S}"
154 -
155 - cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg
156 +src_unpack() { unpack ${PN}_${PV}.tar.gz; }
157 +src_prepare() {
158 + cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg \
159 + || die "cp failed"
160
161 for res in 16 22 32; do
162 - rsvg -w ${res} -h ${res} scalable/places/start-here.svg ${res}x${res}/places/start-here.png
163 + rsvg -w ${res} -h ${res} scalable/places/start-here.svg \
164 + ${res}x${res}/places/start-here.png || die "rsvg failed"
165 done
166
167 - intltoolize --force --copy --automake || die "intltoolize failed."
168 + intltoolize --force --copy --automake || die "intltoolize failed"
169 eautoreconf
170 }
171
172 -src_compile() {
173 +src_configure() {
174 econf $(use_enable png png-creation) \
175 $(use_enable png icon-framing)
176 - emake || die "emake failed."
177 }
178
179 src_install() {
180 - addwrite "/root/.gnome2"
181 -
182 - emake DESTDIR="${D}" install || die "emake install failed."
183 + addwrite /root/.gnome2
184 + emake DESTDIR="${D}" install || die "emake install failed"
185 dodoc AUTHORS ChangeLog README
186 }
187
188 -pkg_postinst() {
189 - gnome2_icon_cache_update
190 -}
191 -
192 -pkg_postrm() {
193 - gnome2_icon_cache_update
194 -}
195 +pkg_preinst() { gnome2_icon_savelist; }
196 +pkg_postinst() { gnome2_icon_cache_update; }
197 +pkg_postrm() { gnome2_icon_cache_update; }