1 |
nirbheek 12/01/09 15:33:10 |
2 |
|
3 |
Modified: metadata.xml ChangeLog spice-gtk-0.7.159.ebuild |
4 |
Log: |
5 |
Add usbredir support, remove USE=cairo, + other minor ebuild changes. Update vala use-description. Add myself to metadata.xml with dev-zero's permission. |
6 |
|
7 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 net-misc/spice-gtk/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/metadata.xml,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- metadata.xml 19 Oct 2011 08:37:10 -0000 1.4 |
23 |
+++ metadata.xml 9 Jan 2012 15:33:10 -0000 1.5 |
24 |
@@ -5,9 +5,20 @@ |
25 |
<email>dev-zero@g.o</email> |
26 |
<name>Tiziano Müller</name> |
27 |
</maintainer> |
28 |
+ <maintainer> |
29 |
+ <email>nirbheek@g.o</email> |
30 |
+ <name>Nirbheek Chauhan</name> |
31 |
+ </maintainer> |
32 |
<use> |
33 |
- <flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of <pkg>x11-libs/gtk+:2</pkg></flag> |
34 |
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> |
35 |
- <flag name="vala">Regenerate pre-generated vala code using <pkg>dev-lang/vala:0.12</pkg></flag> |
36 |
+ <flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of |
37 |
+ <pkg>x11-libs/gtk+:2</pkg></flag> |
38 |
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> |
39 |
+ for introspection</flag> |
40 |
+ <flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the |
41 |
+ usbredir acl helper</flag> |
42 |
+ <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB |
43 |
+ devices to another machine over TCP</flag> |
44 |
+ <flag name="vala">Generate <pkg>dev-lang/vala</pkg> bindings using |
45 |
+ vapigen and regenerate .vala files using valac</flag> |
46 |
</use> |
47 |
</pkgmetadata> |
48 |
|
49 |
|
50 |
|
51 |
1.8 net-misc/spice-gtk/ChangeLog |
52 |
|
53 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.8&view=markup |
54 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.8&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?r1=1.7&r2=1.8 |
56 |
|
57 |
Index: ChangeLog |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v |
60 |
retrieving revision 1.7 |
61 |
retrieving revision 1.8 |
62 |
diff -u -r1.7 -r1.8 |
63 |
--- ChangeLog 7 Jan 2012 20:38:03 -0000 1.7 |
64 |
+++ ChangeLog 9 Jan 2012 15:33:10 -0000 1.8 |
65 |
@@ -1,6 +1,11 @@ |
66 |
# ChangeLog for net-misc/spice-gtk |
67 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
68 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.7 2012/01/07 20:38:03 nirbheek Exp $ |
69 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.8 2012/01/09 15:33:10 nirbheek Exp $ |
70 |
+ |
71 |
+ 09 Jan 2012; Nirbheek Chauhan <nirbheek@g.o> spice-gtk-0.7.159.ebuild, |
72 |
+ metadata.xml: |
73 |
+ Add usbredir support, remove USE=cairo, + other minor ebuild changes. Update |
74 |
+ vala use-description. Add myself to metadata.xml with dev-zero's permission. |
75 |
|
76 |
*spice-gtk-0.7.159 (07 Jan 2012) |
77 |
|
78 |
|
79 |
|
80 |
|
81 |
1.2 net-misc/spice-gtk/spice-gtk-0.7.159.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild?rev=1.2&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild?rev=1.2&content-type=text/plain |
85 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild?r1=1.1&r2=1.2 |
86 |
|
87 |
Index: spice-gtk-0.7.159.ebuild |
88 |
=================================================================== |
89 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild,v |
90 |
retrieving revision 1.1 |
91 |
retrieving revision 1.2 |
92 |
diff -u -r1.1 -r1.2 |
93 |
--- spice-gtk-0.7.159.ebuild 7 Jan 2012 20:38:03 -0000 1.1 |
94 |
+++ spice-gtk-0.7.159.ebuild 9 Jan 2012 15:33:10 -0000 1.2 |
95 |
@@ -1,6 +1,6 @@ |
96 |
# Copyright 1999-2012 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild,v 1.1 2012/01/07 20:38:03 nirbheek Exp $ |
99 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild,v 1.2 2012/01/09 15:33:10 nirbheek Exp $ |
100 |
|
101 |
EAPI="4" |
102 |
GCONF_DEBUG="no" |
103 |
@@ -16,8 +16,10 @@ |
104 |
SLOT="0" |
105 |
SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
106 |
KEYWORDS="~amd64 ~x86" |
107 |
-IUSE="+cairo doc gnome gstreamer gtk3 +introspection kde +pulseaudio python sasl static-libs vala" |
108 |
+IUSE="doc gnome gstreamer gtk3 +introspection kde policykit +pulseaudio |
109 |
+python sasl static-libs usbredir vala" |
110 |
|
111 |
+# TODO: check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
112 |
RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) ) |
113 |
gstreamer? ( |
114 |
media-libs/gstreamer:0.10 |
115 |
@@ -35,14 +37,26 @@ |
116 |
introspection? ( dev-libs/gobject-introspection ) |
117 |
python? ( dev-python/pygtk:2 ) |
118 |
sasl? ( dev-libs/cyrus-sasl ) |
119 |
- gnome? ( gnome-base/gconf )" |
120 |
+ gnome? ( gnome-base/gconf ) |
121 |
+ usbredir? ( |
122 |
+ policykit? ( |
123 |
+ sys-auth/polkit |
124 |
+ sys-apps/acl ) |
125 |
+ >=dev-libs/libusb-1.0.9_rc1 |
126 |
+ >=sys-apps/usbredir-0.3.1 |
127 |
+ sys-fs/udev[gudev] )" |
128 |
DEPEND="${RDEPEND} |
129 |
vala? ( dev-lang/vala:0.14 ) |
130 |
dev-lang/python |
131 |
- dev-lang/perl |
132 |
- dev-perl/Text-CSV |
133 |
dev-python/pyparsing |
134 |
- dev-util/pkgconfig" |
135 |
+ dev-util/pkgconfig |
136 |
+ >=dev-util/intltool-0.40.0 |
137 |
+ >=sys-devel/gettext-0.17" |
138 |
+ |
139 |
+# Hard-deps while building from git: |
140 |
+# dev-lang/vala:0.14 |
141 |
+# dev-lang/perl |
142 |
+# dev-perl/Text-CSV |
143 |
|
144 |
pkg_setup() { |
145 |
if use gstreamer && use pulseaudio ; then |
146 |
@@ -59,35 +73,34 @@ |
147 |
# TODO: do a double build like gtk-vnc does to install both gtk2 & gtk3 libs |
148 |
use gtk3 && gtk="3.0" |
149 |
if use vala ; then |
150 |
- rm -vf gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c # force vala regen |
151 |
+ # force vala regen for MinGW, etc |
152 |
+ rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c |
153 |
fi |
154 |
|
155 |
- # TODO: usbredirection support |
156 |
- # needs libusbredirhost, newer libusb, policykit, libacl |
157 |
- econf \ |
158 |
+ econf --disable-maintainer-mode \ |
159 |
VALAC=$(type -P valac-0.14) \ |
160 |
VAPIGEN=$(type -P vapigen-0.14) \ |
161 |
$(use_enable static-libs static) \ |
162 |
$(use_enable introspection) \ |
163 |
--with-audio="${audio}" \ |
164 |
- $(use_with !cairo x11) \ |
165 |
$(use_with python) \ |
166 |
$(use_with sasl) \ |
167 |
+ $(use_enable usbredir) \ |
168 |
+ $(use_enable policykit polkit) \ |
169 |
$(use_enable vala) \ |
170 |
--with-gtk="${gtk}" \ |
171 |
--disable-smartcard \ |
172 |
- --disable-usbredir \ |
173 |
--disable-werror |
174 |
} |
175 |
|
176 |
src_install() { |
177 |
- emake -j1 DESTDIR="${D}" install || die "emake install failed" |
178 |
+ emake -j1 DESTDIR="${D}" install |
179 |
|
180 |
use static-libs || rm -rf "${D}"/usr/lib*/*.la |
181 |
use python && rm -rf "${D}"/usr/lib*/python*/site-packages/*.la |
182 |
use doc || rm -rf "${D}/usr/share/gtk-doc" |
183 |
|
184 |
- dodoc AUTHORS NEWS README TODO |
185 |
+ dodoc AUTHORS NEWS README THANKS TODO |
186 |
|
187 |
make_desktop_entry spicy Spicy "" net |