Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/light-themes: light-themes-0.1.93-r3.ebuild ChangeLog light-themes-0.1.93.ebuild light-themes-0.1.8.32.ebuild
Date: Sun, 02 Feb 2014 08:40:58
Message-Id: 20140202084054.BC5CA2004C@flycatcher.gentoo.org
1 pacho 14/02/02 08:40:54
2
3 Modified: ChangeLog
4 Added: light-themes-0.1.93-r3.ebuild
5 Removed: light-themes-0.1.93.ebuild
6 light-themes-0.1.8.32.ebuild
7 Log:
8 Provide icons with a Gentoo-style coloring by David Abbott (#499506), thanks to Ulrich Muller for his help with licensing. Drop old.
9
10 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
11
12 Revision Changes Path
13 1.22 x11-themes/light-themes/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/light-themes/ChangeLog?rev=1.22&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/light-themes/ChangeLog?rev=1.22&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/light-themes/ChangeLog?r1=1.21&r2=1.22
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v
22 retrieving revision 1.21
23 retrieving revision 1.22
24 diff -u -r1.21 -r1.22
25 --- ChangeLog 8 Dec 2013 19:54:09 -0000 1.21
26 +++ ChangeLog 2 Feb 2014 08:40:54 -0000 1.22
27 @@ -1,6 +1,13 @@
28 # ChangeLog for x11-themes/light-themes
29 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.21 2013/12/08 19:54:09 pacho Exp $
31 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.22 2014/02/02 08:40:54 pacho Exp $
33 +
34 +*light-themes-0.1.93-r3 (02 Feb 2014)
35 +
36 + 02 Feb 2014; Pacho Ramos <pacho@g.o> +light-themes-0.1.93-r3.ebuild,
37 + -light-themes-0.1.8.32.ebuild, -light-themes-0.1.93.ebuild:
38 + Provide icons with a Gentoo-style coloring by David Abbott (#499506), thanks
39 + to Ulrich Muller for his help with licensing. Drop old.
40
41 08 Dec 2013; Pacho Ramos <pacho@g.o> light-themes-0.1.93-r2.ebuild:
42 x86 stable, bug #478252
43
44
45
46 1.1 x11-themes/light-themes/light-themes-0.1.93-r3.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild?rev=1.1&content-type=text/plain
50
51 Index: light-themes-0.1.93-r3.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild,v 1.1 2014/02/02 08:40:54 pacho Exp $
56
57 EAPI=5
58 inherit eutils
59
60 DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
61 HOMEPAGE="https://launchpad.net/light-themes"
62 SRC_URI="
63 mirror://ubuntu/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz
64 http://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons.tar.xz
65 "
66
67 LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="gtk3"
71
72 DEPEND="app-arch/xz-utils"
73 RDEPEND="
74 x11-themes/gtk-engines-murrine
75 gtk3? ( x11-themes/gtk-engines-unico )
76 "
77
78 src_prepare() {
79 # Apply upstream fixes for gtk+-3.8 compat, bug #469062
80 # upstream: https://bugs.launchpad.net/ubuntu-themes/+bug/1130183
81 epatch "${FILESDIR}/${P}-gtk3.8-1.patch"
82 epatch "${FILESDIR}/${P}-gtk3.8-2.patch"
83 epatch "${FILESDIR}/${P}-gtk3.8-3.patch"
84
85 cp -r Ambiance/ Ambiance-Gentoo || die
86 cp -r Radiance/ Radiance-Gentoo || die
87 sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
88 Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
89 sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
90 Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
91 sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \
92 Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini \
93 Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.0/settings.ini || die
94 sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \
95 Ambiance-Gentoo/gtk-3.0/gtk-main.css Radiance-Gentoo/gtk-3.0/gtk-main.css || die
96
97 cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die
98 cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die
99 }
100
101 src_install() {
102 insinto /usr/share/themes
103 doins -r Radiance* Ambiance*
104
105 use gtk3 || {
106 rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
107 }
108 }