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/vte/, x11-libs/vte/files/, x11-libs/gnome-pty-helper/
Date: Mon, 21 Feb 2011 23:38:36
Message-Id: 1a05011c67b01d040d5d10738c37c3988566407c.nirbheek@gentoo
1 commit: 1a05011c67b01d040d5d10738c37c3988566407c
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 23:32:23 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 23:37:46 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1a05011c
7
8 x11-libs/vte, gnome-pty-helper: bump, split
9
10 * Bump to 0.27.90, add gtk+:2 version
11 * Split gnome-pty-helper out to avoid file-collisions b/w gtk+:2 and gtk+:3 versions
12
13 ---
14 .../gnome-pty-helper-0.27.90.ebuild | 24 ++++++++++++
15 ...ets.patch => vte-0.27.90-fix-gdk-targets.patch} | 2 +-
16 ...-0.26.2-r200.ebuild => vte-0.27.90-r200.ebuild} | 40 +++++++++++--------
17 .../vte/{vte-0.27.5.ebuild => vte-0.27.90.ebuild} | 15 +++----
18 x11-libs/vte/vte-9999.ebuild | 15 +++----
19 5 files changed, 62 insertions(+), 34 deletions(-)
20
21 diff --git a/x11-libs/gnome-pty-helper/gnome-pty-helper-0.27.90.ebuild b/x11-libs/gnome-pty-helper/gnome-pty-helper-0.27.90.ebuild
22 new file mode 100644
23 index 0000000..db12b6f
24 --- /dev/null
25 +++ b/x11-libs/gnome-pty-helper/gnome-pty-helper-0.27.90.ebuild
26 @@ -0,0 +1,24 @@
27 +# Copyright 1999-2011 Gentoo Foundation
28 +# Distributed under the terms of the GNU General Public License v2
29 +# $Header: $
30 +
31 +EAPI="3"
32 +VTE_PV="0.26.2" # check for changes in git to bump
33 +
34 +inherit gnome.org base
35 +
36 +DESCRIPTION="GNOME Setuid helper for opening ptys"
37 +HOMEPAGE="http://git.gnome.org/browse/vte/"
38 +# gnome-pty-helper is inside vte
39 +SRC_URI="${SRC_URI//${PN}/vte}"
40 +SRC_URI="${SRC_URI//${PV}/${VTE_PV}}"
41 +
42 +LICENSE="LGPL-2"
43 +SLOT="0"
44 +IUSE=""
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
46 +
47 +# gnome-pty-helper was spit out with 0.27.90
48 +RDEPEND="!!<x11-libs/vte-0.27.90"
49 +DEPEND="${RDEPEND}"
50 +S="${WORKDIR}/vte-${VTE_PV}/gnome-pty-helper"
51
52 diff --git a/x11-libs/vte/files/vte-0.27.4-fix-gdk-targets.patch b/x11-libs/vte/files/vte-0.27.90-fix-gdk-targets.patch
53 similarity index 97%
54 rename from x11-libs/vte/files/vte-0.27.4-fix-gdk-targets.patch
55 rename to x11-libs/vte/files/vte-0.27.90-fix-gdk-targets.patch
56 index 936a596..1590b81 100644
57 --- a/x11-libs/vte/files/vte-0.27.4-fix-gdk-targets.patch
58 +++ b/x11-libs/vte/files/vte-0.27.90-fix-gdk-targets.patch
59 @@ -15,7 +15,7 @@ no longer works. So, sort of hack around it for now?
60 @@ -62,6 +63,7 @@
61 VTE_SEAL_CFLAGS="-DVTE_SEAL_ENABLE"
62 GTK_API_VERSION=3.0
63 - GTK_REQUIRED=2.91.6
64 + GTK_REQUIRED=3.0.0
65 + GDK_TARGETS=$($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION)
66 ;;
67 esac
68
69 diff --git a/x11-libs/vte/vte-0.26.2-r200.ebuild b/x11-libs/vte/vte-0.27.90-r200.ebuild
70 similarity index 65%
71 rename from x11-libs/vte/vte-0.26.2-r200.ebuild
72 rename to x11-libs/vte/vte-0.27.90-r200.ebuild
73 index 02ff6b9..9139b7c 100644
74 --- a/x11-libs/vte/vte-0.26.2-r200.ebuild
75 +++ b/x11-libs/vte/vte-0.27.90-r200.ebuild
76 @@ -4,39 +4,48 @@
77
78 EAPI="3"
79 GCONF_DEBUG="yes"
80 +GNOME2_LA_PUNT="yes"
81 PYTHON_DEPEND="python? 2:2.4"
82
83 inherit gnome2 python
84
85 -DESCRIPTION="Gnome terminal widget"
86 -HOMEPAGE="http://www.gnome.org/"
87 +DESCRIPTION="GNOME terminal widget"
88 +HOMEPAGE="http://git.gnome.org/browse/vte"
89
90 LICENSE="LGPL-2"
91 SLOT="0"
92 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
93 IUSE="debug doc glade +introspection python"
94 -
95 -COMMON_DEPEND=">=dev-libs/glib-2.22:2
96 - >=x11-libs/gtk+-2.20:2
97 +if [[ ${PV} = 9999 ]]; then
98 + inherit gnome2-live
99 + KEYWORDS=""
100 +else
101 + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
102 +fi
103 +
104 +PDEPEND="x11-libs/gnome-pty-helper"
105 +RDEPEND=">=dev-libs/glib-2.26:2
106 + >=x11-libs/gtk+-2.20.0:2
107 >=x11-libs/pango-1.22.0
108 +
109 sys-libs/ncurses
110 - glade? ( dev-util/glade:3 )
111 - introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
112 - python? ( >=dev-python/pygtk-2.4 )
113 x11-libs/libX11
114 - x11-libs/libXft"
115 -RDEPEND="${COMMON_DEPEND}
116 - x11-libs/vte:2.90"
117 -DEPEND="${COMMON_DEPEND}
118 + x11-libs/libXft
119 +
120 + glade? ( dev-util/glade:3 )
121 + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
122 + python? ( >=dev-python/pygtk-2.4 ) "
123 +DEPEND="${RDEPEND}
124 doc? ( >=dev-util/gtk-doc-1.13 )
125 >=dev-util/intltool-0.35
126 >=dev-util/pkgconfig-0.9
127 + sys-apps/sed
128 sys-devel/gettext"
129
130 pkg_setup() {
131 G2CONF="${G2CONF}
132 - --disable-maintainer-mode
133 + --disable-gnome-pty-helper
134 --disable-deprecation
135 + --disable-maintainer-mode
136 --disable-static
137 $(use_enable debug)
138 $(use_enable glade glade-catalogue)
139 @@ -51,7 +60,4 @@ pkg_setup() {
140 src_install() {
141 gnome2_src_install
142 python_clean_installation_image
143 -
144 - # Avoid clashing with SLOT=2.90
145 - rm -vf "${ED}/usr/libexec/gnome-pty-helper" || die
146 }
147
148 diff --git a/x11-libs/vte/vte-0.27.5.ebuild b/x11-libs/vte/vte-0.27.90.ebuild
149 similarity index 83%
150 rename from x11-libs/vte/vte-0.27.5.ebuild
151 rename to x11-libs/vte/vte-0.27.90.ebuild
152 index ca5975d..cd7db5a 100644
153 --- a/x11-libs/vte/vte-0.27.5.ebuild
154 +++ b/x11-libs/vte/vte-0.27.90.ebuild
155 @@ -9,8 +9,8 @@ GNOME2_LA_PUNT="yes"
156
157 inherit autotools eutils gnome2 #python
158
159 -DESCRIPTION="Gnome terminal widget"
160 -HOMEPAGE="http://www.gnome.org/"
161 +DESCRIPTION="GNOME terminal widget"
162 +HOMEPAGE="http://git.gnome.org/browse/vte"
163
164 LICENSE="LGPL-2"
165 SLOT="2.90"
166 @@ -23,8 +23,9 @@ else
167 fi
168
169 # No python bindings (yet) with gtk+:3
170 +PDEPEND="x11-libs/gnome-pty-helper"
171 RDEPEND=">=dev-libs/glib-2.26:2
172 - >=x11-libs/gtk+-2.91.6:3
173 + >=x11-libs/gtk+-3.0:3
174 >=x11-libs/pango-1.22.0
175
176 sys-libs/ncurses
177 @@ -32,9 +33,7 @@ RDEPEND=">=dev-libs/glib-2.26:2
178 x11-libs/libXft
179
180 glade? ( dev-util/glade:3 )
181 - introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
182 -
183 - !!<x11-libs/vte-0.26.2-r200"
184 + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
185 DEPEND="${RDEPEND}
186 doc? ( >=dev-util/gtk-doc-1.13 )
187 >=dev-util/intltool-0.35
188 @@ -44,9 +43,9 @@ DEPEND="${RDEPEND}
189
190 src_prepare() {
191 G2CONF="${G2CONF}
192 + --disable-gnome-pty-helper
193 --disable-deprecation
194 --disable-maintainer-mode
195 - --disable-schemas-compile
196 --disable-static
197 $(use_enable debug)
198 $(use_enable glade glade-catalogue)
199 @@ -57,7 +56,7 @@ src_prepare() {
200 DOCS="AUTHORS ChangeLog HACKING NEWS README"
201 #use python && python_set_active_version 2
202
203 - epatch "${FILESDIR}/${PN}-0.27.4-fix-gdk-targets.patch"
204 + epatch "${FILESDIR}/${PN}-0.27.90-fix-gdk-targets.patch"
205
206 [[ ${PV} != 9999 ]] && eautoreconf
207
208
209 diff --git a/x11-libs/vte/vte-9999.ebuild b/x11-libs/vte/vte-9999.ebuild
210 index ca5975d..cd7db5a 100644
211 --- a/x11-libs/vte/vte-9999.ebuild
212 +++ b/x11-libs/vte/vte-9999.ebuild
213 @@ -9,8 +9,8 @@ GNOME2_LA_PUNT="yes"
214
215 inherit autotools eutils gnome2 #python
216
217 -DESCRIPTION="Gnome terminal widget"
218 -HOMEPAGE="http://www.gnome.org/"
219 +DESCRIPTION="GNOME terminal widget"
220 +HOMEPAGE="http://git.gnome.org/browse/vte"
221
222 LICENSE="LGPL-2"
223 SLOT="2.90"
224 @@ -23,8 +23,9 @@ else
225 fi
226
227 # No python bindings (yet) with gtk+:3
228 +PDEPEND="x11-libs/gnome-pty-helper"
229 RDEPEND=">=dev-libs/glib-2.26:2
230 - >=x11-libs/gtk+-2.91.6:3
231 + >=x11-libs/gtk+-3.0:3
232 >=x11-libs/pango-1.22.0
233
234 sys-libs/ncurses
235 @@ -32,9 +33,7 @@ RDEPEND=">=dev-libs/glib-2.26:2
236 x11-libs/libXft
237
238 glade? ( dev-util/glade:3 )
239 - introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
240 -
241 - !!<x11-libs/vte-0.26.2-r200"
242 + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
243 DEPEND="${RDEPEND}
244 doc? ( >=dev-util/gtk-doc-1.13 )
245 >=dev-util/intltool-0.35
246 @@ -44,9 +43,9 @@ DEPEND="${RDEPEND}
247
248 src_prepare() {
249 G2CONF="${G2CONF}
250 + --disable-gnome-pty-helper
251 --disable-deprecation
252 --disable-maintainer-mode
253 - --disable-schemas-compile
254 --disable-static
255 $(use_enable debug)
256 $(use_enable glade glade-catalogue)
257 @@ -57,7 +56,7 @@ src_prepare() {
258 DOCS="AUTHORS ChangeLog HACKING NEWS README"
259 #use python && python_set_active_version 2
260
261 - epatch "${FILESDIR}/${PN}-0.27.4-fix-gdk-targets.patch"
262 + epatch "${FILESDIR}/${PN}-0.27.90-fix-gdk-targets.patch"
263
264 [[ ${PV} != 9999 ]] && eautoreconf