1 |
commit: 14978635fa589d8f46fa4c909e20bf93ae4ab54e |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 21:35:28 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 21:35:28 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=14978635 |
7 |
|
8 |
Add x11-themes/gnome-themes-2.91.90 |
9 |
|
10 |
--- |
11 |
.../files/gnome-themes-2.24.3-bashism.patch | 13 +++++ |
12 |
.../gnome-themes/gnome-themes-2.91.90.ebuild | 52 ++++++++++++++++++++ |
13 |
2 files changed, 65 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch b/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch |
16 |
new file mode 100644 |
17 |
index 0000000..382766f |
18 |
--- /dev/null |
19 |
+++ b/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch |
20 |
@@ -0,0 +1,13 @@ |
21 |
+# https://bugs.gentoo.org/show_bug.cgi?id=256337 |
22 |
+# http://bugzilla.gnome.org/show_bug.cgi?id=550927 |
23 |
+--- a/common/mkiconlinks.sh 2008-09-04 17:15:42.000000000 -0500 |
24 |
++++ b/common/mkiconlinks.sh 2008-09-04 17:16:31.000000000 -0500 |
25 |
+@@ -16,7 +16,7 @@ |
26 |
+ while [ ! -z "$NEXTLINE" ] ; do |
27 |
+ |
28 |
+ # Skip lines beginning with '#' |
29 |
+- if [ ! "${NEXTLINE:0:1}" == '#' ]; then |
30 |
++ if ! echo ${NEXTLINE} | grep -q "^#" ; then |
31 |
+ #Extract first field, minus its trailing colon |
32 |
+ ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'` |
33 |
+ |
34 |
|
35 |
diff --git a/x11-themes/gnome-themes/gnome-themes-2.91.90.ebuild b/x11-themes/gnome-themes/gnome-themes-2.91.90.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..e420da1 |
38 |
--- /dev/null |
39 |
+++ b/x11-themes/gnome-themes/gnome-themes-2.91.90.ebuild |
40 |
@@ -0,0 +1,52 @@ |
41 |
+# Copyright 1999-2011 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/gnome-themes/gnome-themes-2.32.1.ebuild,v 1.2 2011/01/24 16:38:35 eva Exp $ |
44 |
+ |
45 |
+EAPI="3" |
46 |
+GCONF_DEBUG="no" |
47 |
+ |
48 |
+inherit eutils gnome2 |
49 |
+ |
50 |
+DESCRIPTION="A set of GNOME themes, with sets for users with limited or low vision" |
51 |
+HOMEPAGE="http://www.gnome.org/" |
52 |
+ |
53 |
+LICENSE="LGPL-2.1" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
56 |
+IUSE="accessibility" |
57 |
+ |
58 |
+RDEPEND="x11-libs/gtk+:3 |
59 |
+ x11-themes/gtk-engines:3" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ >=x11-misc/icon-naming-utils-0.8.7 |
62 |
+ >=dev-util/pkgconfig-0.19 |
63 |
+ >=dev-util/intltool-0.35 |
64 |
+ sys-devel/gettext" |
65 |
+# For problems related with dev-perl/XML-LibXML please see bug 266136 |
66 |
+ |
67 |
+# This ebuild does not install any binaries |
68 |
+RESTRICT="binchecks strip" |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ G2CONF="${G2CONF} |
72 |
+ $(use_enable accessibility all-themes) |
73 |
+ --disable-test-themes |
74 |
+ --enable-icon-mapping" |
75 |
+ DOCS="AUTHORS ChangeLog NEWS README" |
76 |
+} |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ gnome2_src_prepare |
80 |
+ |
81 |
+ # Fix bashisms, bug #256337 |
82 |
+ epatch "${FILESDIR}/${PN}-2.24.3-bashism.patch" |
83 |
+ |
84 |
+ # Do not build/install accessibility themes, bug #274515 |
85 |
+ if ! use accessibility; then |
86 |
+ sed 's:HighContrast.*\\:\\:g' -i \ |
87 |
+ desktop-themes/Makefile.am desktop-themes/Makefile.in \ |
88 |
+ gtk-themes/Makefile.am gtk-themes/Makefile.in \ |
89 |
+ icon-themes/Makefile.am icon-themes/Makefile.in \ |
90 |
+ || die "sed failed" |
91 |
+ fi |
92 |
+} |