summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-02-02 08:40:54 +0000
committerPacho Ramos <pacho@gentoo.org>2014-02-02 08:40:54 +0000
commit496874ecff1f3f02340af87eab24992913f1f28c (patch)
tree3858419e3e4198db9da78fb9dd22630416959792 /x11-themes/light-themes
parentAdd various fixes from upstream. (diff)
downloadgentoo-2-496874ecff1f3f02340af87eab24992913f1f28c.tar.gz
gentoo-2-496874ecff1f3f02340af87eab24992913f1f28c.tar.bz2
gentoo-2-496874ecff1f3f02340af87eab24992913f1f28c.zip
Provide icons with a Gentoo-style coloring by David Abbott (#499506), thanks to Ulrich Muller for his help with licensing. Drop old.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'x11-themes/light-themes')
-rw-r--r--x11-themes/light-themes/ChangeLog11
-rw-r--r--x11-themes/light-themes/light-themes-0.1.8.32.ebuild37
-rw-r--r--x11-themes/light-themes/light-themes-0.1.93-r3.ebuild56
-rw-r--r--x11-themes/light-themes/light-themes-0.1.93.ebuild41
4 files changed, 65 insertions, 80 deletions
diff --git a/x11-themes/light-themes/ChangeLog b/x11-themes/light-themes/ChangeLog
index a11760bddd9f..0181d890f49a 100644
--- a/x11-themes/light-themes/ChangeLog
+++ b/x11-themes/light-themes/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-themes/light-themes
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.21 2013/12/08 19:54:09 pacho Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/ChangeLog,v 1.22 2014/02/02 08:40:54 pacho Exp $
+
+*light-themes-0.1.93-r3 (02 Feb 2014)
+
+ 02 Feb 2014; Pacho Ramos <pacho@gentoo.org> +light-themes-0.1.93-r3.ebuild,
+ -light-themes-0.1.8.32.ebuild, -light-themes-0.1.93.ebuild:
+ Provide icons with a Gentoo-style coloring by David Abbott (#499506), thanks
+ to Ulrich Muller for his help with licensing. Drop old.
08 Dec 2013; Pacho Ramos <pacho@gentoo.org> light-themes-0.1.93-r2.ebuild:
x86 stable, bug #478252
diff --git a/x11-themes/light-themes/light-themes-0.1.8.32.ebuild b/x11-themes/light-themes/light-themes-0.1.8.32.ebuild
deleted file mode 100644
index 8ba8df94ae53..000000000000
--- a/x11-themes/light-themes/light-themes-0.1.8.32.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/light-themes-0.1.8.32.ebuild,v 1.4 2013/02/07 23:00:32 ulm Exp $
-
-EAPI=4
-
-DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
-HOMEPAGE="https://launchpad.net/light-themes"
-SRC_URI="mirror://ubuntu/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-0ubuntu1.tar.gz"
-
-LICENSE="CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gtk3"
-
-DEPEND=""
-RDEPEND="x11-themes/gtk-engines-murrine
- gtk3? ( x11-themes/gtk-engines-unico )"
-
-src_prepare() {
- cp -r Ambiance/ Ambiance-Gentoo || die
- cp -r Radiance/ Radiance-Gentoo || die
- sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
- Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
- sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
- Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
- sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#75755f5fbbbb/g' \
- Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini \
- Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.0/settings.ini || die
- sed -i -e 's/nbg_color:#F2F1F0/nbg_color:#f2f2f1f1f0f0/g' \
- Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini || die
-}
-
-src_install() {
- insinto /usr/share/themes
- doins -r Radiance* Ambiance*
-}
diff --git a/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild b/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild
new file mode 100644
index 000000000000..a204f1ce962c
--- /dev/null
+++ b/x11-themes/light-themes/light-themes-0.1.93-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
+HOMEPAGE="https://launchpad.net/light-themes"
+SRC_URI="
+ mirror://ubuntu/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz
+ http://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons.tar.xz
+"
+
+LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk3"
+
+DEPEND="app-arch/xz-utils"
+RDEPEND="
+ x11-themes/gtk-engines-murrine
+ gtk3? ( x11-themes/gtk-engines-unico )
+"
+
+src_prepare() {
+ # Apply upstream fixes for gtk+-3.8 compat, bug #469062
+ # upstream: https://bugs.launchpad.net/ubuntu-themes/+bug/1130183
+ epatch "${FILESDIR}/${P}-gtk3.8-1.patch"
+ epatch "${FILESDIR}/${P}-gtk3.8-2.patch"
+ epatch "${FILESDIR}/${P}-gtk3.8-3.patch"
+
+ cp -r Ambiance/ Ambiance-Gentoo || die
+ cp -r Radiance/ Radiance-Gentoo || die
+ sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
+ Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
+ sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
+ Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
+ sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \
+ Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini \
+ Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.0/settings.ini || die
+ sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \
+ Ambiance-Gentoo/gtk-3.0/gtk-main.css Radiance-Gentoo/gtk-3.0/gtk-main.css || die
+
+ cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die
+ cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die
+}
+
+src_install() {
+ insinto /usr/share/themes
+ doins -r Radiance* Ambiance*
+
+ use gtk3 || {
+ rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
+ }
+}
diff --git a/x11-themes/light-themes/light-themes-0.1.93.ebuild b/x11-themes/light-themes/light-themes-0.1.93.ebuild
deleted file mode 100644
index 12e19c169af6..000000000000
--- a/x11-themes/light-themes/light-themes-0.1.93.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/light-themes/light-themes-0.1.93.ebuild,v 1.2 2013/02/07 23:00:31 ulm Exp $
-
-EAPI=4
-
-DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
-HOMEPAGE="https://launchpad.net/light-themes"
-SRC_URI="mirror://ubuntu/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gtk3"
-
-DEPEND=""
-RDEPEND="x11-themes/gtk-engines-murrine
- gtk3? ( x11-themes/gtk-engines-unico )"
-
-src_prepare() {
- cp -r Ambiance/ Ambiance-Gentoo || die
- cp -r Radiance/ Radiance-Gentoo || die
- sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
- Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
- sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
- Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
- sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#75755f5fbbbb/g' \
- Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini \
- Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.0/settings.ini || die
- sed -i -e 's/nbg_color:#F2F1F0/nbg_color:#f2f2f1f1f0f0/g' \
- Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.0/settings.ini || die
-}
-
-src_install() {
- insinto /usr/share/themes
- doins -r Radiance* Ambiance*
-
- use gtk3 || {
- rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
- }
-}