1 |
pacho 13/03/28 17:50:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk-vnc-0.5.1-r1.ebuild |
5 |
Log: |
6 |
Version bump for Gnome 3.8 |
7 |
|
8 |
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.104 net-libs/gtk-vnc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gtk-vnc/ChangeLog?rev=1.104&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gtk-vnc/ChangeLog?rev=1.104&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gtk-vnc/ChangeLog?r1=1.103&r2=1.104 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/ChangeLog,v |
20 |
retrieving revision 1.103 |
21 |
retrieving revision 1.104 |
22 |
diff -u -r1.103 -r1.104 |
23 |
--- ChangeLog 26 Mar 2013 19:17:21 -0000 1.103 |
24 |
+++ ChangeLog 28 Mar 2013 17:50:09 -0000 1.104 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-libs/gtk-vnc |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/ChangeLog,v 1.103 2013/03/26 19:17:21 eva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/ChangeLog,v 1.104 2013/03/28 17:50:09 pacho Exp $ |
30 |
+ |
31 |
+*gtk-vnc-0.5.1-r1 (28 Mar 2013) |
32 |
+ |
33 |
+ 28 Mar 2013; Pacho Ramos <pacho@g.o> +gtk-vnc-0.5.1-r1.ebuild: |
34 |
+ Version bump for Gnome 3.8 |
35 |
|
36 |
26 Mar 2013; Gilles Dartiguelongue <eva@g.o> gtk-vnc-0.5.2.ebuild: |
37 |
Drop trailing whitespace. |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/gtk-vnc/gtk-vnc-0.5.1-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.5.1-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.5.1-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gtk-vnc-0.5.1-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.5.1-r1.ebuild,v 1.1 2013/03/28 17:50:09 pacho Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
PYTHON_DEPEND="python? 2" |
54 |
VALA_MIN_API_VERSION=0.18 |
55 |
VALA_USE_DEPEND=vapigen |
56 |
|
57 |
inherit base eutils gnome.org python vala |
58 |
|
59 |
DESCRIPTION="VNC viewer widget for GTK" |
60 |
HOMEPAGE="https://live.gnome.org/gtk-vnc" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="examples gtk3 +introspection pulseaudio python sasl vala" |
66 |
|
67 |
# libview is used in examples/gvncviewer -- no need |
68 |
# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129) |
69 |
# TODO: review nsplugin when it will be considered less experimental |
70 |
COMMON_DEPEND=">=dev-libs/glib-2.30.1:2 |
71 |
>=dev-libs/libgcrypt-1.4.2 |
72 |
dev-libs/libgpg-error |
73 |
>=net-libs/gnutls-1.4 |
74 |
>=x11-libs/cairo-1.2 |
75 |
>=x11-libs/gtk+-2.18:2 |
76 |
x11-libs/libX11 |
77 |
gtk3? ( >=x11-libs/gtk+-2.91.3:3 ) |
78 |
introspection? ( >=dev-libs/gobject-introspection-0.9.4 ) |
79 |
pulseaudio? ( media-sound/pulseaudio ) |
80 |
python? ( >=dev-python/pygtk-2:2 ) |
81 |
sasl? ( dev-libs/cyrus-sasl )" |
82 |
RDEPEND="${COMMON_DEPEND}" |
83 |
DEPEND="${COMMON_DEPEND} |
84 |
>=dev-lang/perl-5 |
85 |
virtual/pkgconfig |
86 |
sys-devel/gettext |
87 |
>=dev-util/intltool-0.40 |
88 |
vala? ( |
89 |
$(vala_depend) |
90 |
>=dev-libs/gobject-introspection-0.9.4 )" |
91 |
# eautoreconf requires gnome-common |
92 |
|
93 |
GTK2_BUILDDIR="${WORKDIR}/${P}_gtk2" |
94 |
GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3" |
95 |
|
96 |
pkg_setup() { |
97 |
python_set_active_version 2 |
98 |
python_pkg_setup |
99 |
|
100 |
if use vala && ! use gtk3; then |
101 |
ewarn "You must set USE=gtk3 to enable vala bindings support." |
102 |
fi |
103 |
} |
104 |
|
105 |
src_prepare() { |
106 |
python_convert_shebangs -r 2 . |
107 |
mkdir "${GTK2_BUILDDIR}" || die |
108 |
mkdir "${GTK3_BUILDDIR}" || die |
109 |
|
110 |
# Remove a few files that were autogenerated during distcheck. |
111 |
# Having these around in srcdir breaks out of tree build since they're |
112 |
# expected to be in builddir, which is correct for trunk builds since |
113 |
# they're generated files, not source files. Funny false dichotomy. |
114 |
rm -vf "${S}"/src/{vncconnectionenums.[ch],vncdisplayenums.[ch]} |
115 |
|
116 |
# Fix incorrect codegendir check: h2def.py is in pygobject, not pygtk, upstream bug#???? |
117 |
sed -e 's/codegendir pygtk-2.0/codegendir pygobject-2.0/g' \ |
118 |
-i src/Makefile.* || die |
119 |
|
120 |
vala_src_prepare |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
local myconf |
125 |
myconf=" |
126 |
$(use_with examples) \ |
127 |
$(use_enable introspection) \ |
128 |
$(use_with pulseaudio) \ |
129 |
$(use_with sasl) \ |
130 |
--with-coroutine=gthread \ |
131 |
--without-libview \ |
132 |
--disable-static \ |
133 |
--disable-vala" |
134 |
|
135 |
cd ${GTK2_BUILDDIR} |
136 |
einfo "Running configure in ${GTK2_BUILDDIR}" |
137 |
ECONF_SOURCE="${S}" econf ${myconf} \ |
138 |
$(use_with python) \ |
139 |
--with-gtk=2.0 |
140 |
|
141 |
if use gtk3; then |
142 |
if use vala; then |
143 |
myconf="${myconf} \ |
144 |
--enable-introspection \ |
145 |
--enable-vala" |
146 |
fi |
147 |
|
148 |
cd ${GTK3_BUILDDIR} |
149 |
einfo "Running configure in ${GTK3_BUILDDIR}" |
150 |
# Python support is via gobject-introspection |
151 |
# Ex: from gi.repository import GtkVnc |
152 |
ECONF_SOURCE="${S}" econf ${myconf} \ |
153 |
--with-python=no \ |
154 |
--with-gtk=3.0 |
155 |
fi |
156 |
} |
157 |
|
158 |
src_compile() { |
159 |
cd ${GTK2_BUILDDIR} |
160 |
einfo "Running make in ${GTK2_BUILDDIR}" |
161 |
emake |
162 |
|
163 |
if use gtk3; then |
164 |
cd ${GTK3_BUILDDIR} |
165 |
einfo "Running make in ${GTK3_BUILDDIR}" |
166 |
emake |
167 |
fi |
168 |
} |
169 |
|
170 |
src_test() { |
171 |
cd ${GTK2_BUILDDIR} |
172 |
einfo "Running make check in ${GTK2_BUILDDIR}" |
173 |
emake check |
174 |
|
175 |
if use gtk3; then |
176 |
cd ${GTK3_BUILDDIR} |
177 |
einfo "Running make check in ${GTK3_BUILDDIR}" |
178 |
emake check |
179 |
fi |
180 |
} |
181 |
|
182 |
src_install() { |
183 |
# Parallel installation fails sometimes, bug #328273, upstream bug #651923 |
184 |
|
185 |
dodoc AUTHORS ChangeLog NEWS README |
186 |
|
187 |
cd ${GTK2_BUILDDIR} |
188 |
einfo "Running make install in ${GTK2_BUILDDIR}" |
189 |
MAKEOPTS="${MAKEOPTS} -j1" base_src_install |
190 |
|
191 |
if use gtk3; then |
192 |
cd ${GTK3_BUILDDIR} |
193 |
einfo "Running make install in ${GTK3_BUILDDIR}" |
194 |
MAKEOPTS="${MAKEOPTS} -j1" base_src_install |
195 |
fi |
196 |
|
197 |
python_clean_installation_image |
198 |
|
199 |
# Remove .la files |
200 |
find "${D}" -name '*.la' -exec rm -f '{}' + || die |
201 |
} |