Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/
Date: Sun, 25 Dec 2011 00:43:48
Message-Id: 3d600af7fa94baf6989dd946a5c3b41cce7f3bf5.nirbheek@gentoo
1 commit: 3d600af7fa94baf6989dd946a5c3b41cce7f3bf5
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 24 19:06:48 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 24 19:10:00 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=3d600af7
7
8 x11-libs/gtk+: bump to 3.3.6
9
10 ---
11 .../gtk+/{gtk+-9999.ebuild => gtk+-3.3.6.ebuild} | 26 +++++++-------------
12 x11-libs/gtk+/gtk+-9999.ebuild | 13 ++++-----
13 2 files changed, 15 insertions(+), 24 deletions(-)
14
15 diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-3.3.6.ebuild
16 similarity index 89%
17 copy from x11-libs/gtk+/gtk+-9999.ebuild
18 copy to x11-libs/gtk+/gtk+-3.3.6.ebuild
19 index b55d38a..b9d5b14 100644
20 --- a/x11-libs/gtk+/gtk+-9999.ebuild
21 +++ b/x11-libs/gtk+/gtk+-3.3.6.ebuild
22 @@ -1,13 +1,10 @@
23 # Copyright 1999-2011 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: $
26 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.2.2-r2.ebuild,v 1.1 2011/12/15 23:46:04 tetromino Exp $
27
28 EAPI="4"
29
30 inherit eutils flag-o-matic gnome.org gnome2-utils libtool virtualx
31 -if [[ ${PV} = 9999 ]]; then
32 - inherit gnome2-live
33 -fi
34
35 DESCRIPTION="Gimp ToolKit +"
36 HOMEPAGE="http://www.gtk.org/"
37 @@ -20,11 +17,7 @@ SLOT="3"
38 # I tried this and got it all compiling, but the end result is unusable as it
39 # horribly mixes up the backends -- grobian
40 IUSE="aqua colord cups debug doc examples +introspection packagekit test vim-syntax xinerama"
41 -if [[ ${PV} = 9999 ]]; then
42 - KEYWORDS=""
43 -else
44 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 -fi
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47
48 # FIXME: introspection data is built against system installation of gtk+:3
49 # NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf)
50 @@ -49,7 +42,7 @@ COMMON_DEPEND="!aqua? (
51 >=x11-libs/gdk-pixbuf-2.23.5:2[introspection?]
52 )
53 xinerama? ( x11-libs/libXinerama )
54 - >=dev-libs/glib-2.29.14
55 + >=dev-libs/glib-2.31.6
56 >=x11-libs/pango-1.29.0[introspection?]
57 >=dev-libs/atk-2.1.5[introspection?]
58 >=x11-libs/gtk+-2.24:2
59 @@ -74,8 +67,10 @@ DEPEND="${COMMON_DEPEND}
60 test? (
61 media-fonts/font-misc-misc
62 media-fonts/font-cursor-misc )"
63 +# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
64 RDEPEND="${COMMON_DEPEND}
65 !<gnome-base/gail-1000
66 + !<x11-libs/vte-0.30.1-r1:2.90
67 packagekit? ( app-admin/packagekit-base )"
68 PDEPEND="vim-syntax? ( app-vim/gtk-syntax )"
69
70 @@ -109,7 +104,7 @@ src_prepare() {
71 -i tests/Makefile.* || die "sed 3 failed"
72
73 # Test results depend on the list of mounted filesystems!
74 - rm tests/a11y/pickers.{ui,txt} || die "rm failed"
75 + rm -v tests/a11y/pickers.{ui,txt} || die "rm failed"
76
77 # Failing treeview scrolling tests; bug #384855,
78 # https://bugzilla.gnome.org/show_bug.cgi?id=660931
79 @@ -118,20 +113,17 @@ src_prepare() {
80 if ! use test; then
81 # don't waste time building tests
82 strip_builddir SRC_SUBDIRS tests Makefile.am
83 - [[ ${PV} != 9999 ]] && strip_builddir SRC_SUBDIRS tests Makefile.in
84 + strip_builddir SRC_SUBDIRS tests Makefile.in
85 fi
86
87 if ! use examples; then
88 # don't waste time building demos
89 strip_builddir SRC_SUBDIRS demos Makefile.am
90 - [[ ${PV} != 9999 ]] && strip_builddir SRC_SUBDIRS demos Makefile.in
91 + strip_builddir SRC_SUBDIRS demos Makefile.in
92 fi
93 -
94 - [[ ${PV} == 9999 ]] && gnome2_src_prepare
95 }
96
97 src_configure() {
98 - # png always on to display icons (foser)
99 local myconf="$(use_enable doc gtk-doc)
100 $(use_enable xinerama)
101 $(use_enable packagekit)
102 @@ -173,7 +165,7 @@ src_install() {
103 dodoc AUTHORS ChangeLog* HACKING NEWS* README*
104
105 # Remove unneeded *.la files
106 - find "${ED}" -name "*.la" -delete
107 + find "${D}" -name '*.la' -exec rm -f {} +
108
109 # add -framework Carbon to the .pc files
110 use aqua && for i in gtk+-3.0.pc gtk+-quartz-3.0.pc gtk+-unix-print-3.0.pc; do
111
112 diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-9999.ebuild
113 index b55d38a..c2e17d0 100644
114 --- a/x11-libs/gtk+/gtk+-9999.ebuild
115 +++ b/x11-libs/gtk+/gtk+-9999.ebuild
116 @@ -1,6 +1,6 @@
117 # Copyright 1999-2011 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 -# $Header: $
120 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.2.2-r2.ebuild,v 1.1 2011/12/15 23:46:04 tetromino Exp $
121
122 EAPI="4"
123
124 @@ -49,7 +49,7 @@ COMMON_DEPEND="!aqua? (
125 >=x11-libs/gdk-pixbuf-2.23.5:2[introspection?]
126 )
127 xinerama? ( x11-libs/libXinerama )
128 - >=dev-libs/glib-2.29.14
129 + >=dev-libs/glib-2.31.6
130 >=x11-libs/pango-1.29.0[introspection?]
131 >=dev-libs/atk-2.1.5[introspection?]
132 >=x11-libs/gtk+-2.24:2
133 @@ -74,8 +74,10 @@ DEPEND="${COMMON_DEPEND}
134 test? (
135 media-fonts/font-misc-misc
136 media-fonts/font-cursor-misc )"
137 +# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
138 RDEPEND="${COMMON_DEPEND}
139 !<gnome-base/gail-1000
140 + !<x11-libs/vte-0.30.1-r1:2.90
141 packagekit? ( app-admin/packagekit-base )"
142 PDEPEND="vim-syntax? ( app-vim/gtk-syntax )"
143
144 @@ -109,7 +111,7 @@ src_prepare() {
145 -i tests/Makefile.* || die "sed 3 failed"
146
147 # Test results depend on the list of mounted filesystems!
148 - rm tests/a11y/pickers.{ui,txt} || die "rm failed"
149 + rm -v tests/a11y/pickers.{ui,txt} || die "rm failed"
150
151 # Failing treeview scrolling tests; bug #384855,
152 # https://bugzilla.gnome.org/show_bug.cgi?id=660931
153 @@ -126,12 +128,9 @@ src_prepare() {
154 strip_builddir SRC_SUBDIRS demos Makefile.am
155 [[ ${PV} != 9999 ]] && strip_builddir SRC_SUBDIRS demos Makefile.in
156 fi
157 -
158 - [[ ${PV} == 9999 ]] && gnome2_src_prepare
159 }
160
161 src_configure() {
162 - # png always on to display icons (foser)
163 local myconf="$(use_enable doc gtk-doc)
164 $(use_enable xinerama)
165 $(use_enable packagekit)
166 @@ -173,7 +172,7 @@ src_install() {
167 dodoc AUTHORS ChangeLog* HACKING NEWS* README*
168
169 # Remove unneeded *.la files
170 - find "${ED}" -name "*.la" -delete
171 + find "${D}" -name '*.la' -exec rm -f {} +
172
173 # add -framework Carbon to the .pc files
174 use aqua && for i in gtk+-3.0.pc gtk+-quartz-3.0.pc gtk+-unix-print-3.0.pc; do