Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: net-misc/vinagre/
Date: Tue, 26 Jul 2011 08:31:13
Message-Id: fc9f4877d33f975aa612c9aa33dcf42e98d22aba.tetromino@gentoo
1 commit: fc9f4877d33f975aa612c9aa33dcf42e98d22aba
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 26 06:15:44 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Tue Jul 26 06:15:44 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=fc9f4877
7
8 net-misc/vinagre: 3.0.2 → 3.1.4
9
10 Bump to gnome-3.1.x version. Update dependencies. Introspection support
11 was removed by upstream, so workaround is no longer needed.
12
13 ---
14 .../{vinagre-3.0.2.ebuild => vinagre-3.1.4.ebuild} | 22 ++-------
15 net-misc/vinagre/vinagre-9999.ebuild | 48 +++++++-------------
16 2 files changed, 22 insertions(+), 48 deletions(-)
17
18 diff --git a/net-misc/vinagre/vinagre-3.0.2.ebuild b/net-misc/vinagre/vinagre-3.1.4.ebuild
19 similarity index 69%
20 rename from net-misc/vinagre/vinagre-3.0.2.ebuild
21 rename to net-misc/vinagre/vinagre-3.1.4.ebuild
22 index 7e03e88..d98af8e 100644
23 --- a/net-misc/vinagre/vinagre-3.0.2.ebuild
24 +++ b/net-misc/vinagre/vinagre-3.1.4.ebuild
25 @@ -6,7 +6,7 @@ EAPI="4"
26 GCONF_DEBUG="no"
27 GNOME2_LA_PUNT="yes"
28
29 -inherit gnome2 virtualx
30 +inherit gnome2
31 if [[ ${PV} = 9999 ]]; then
32 inherit gnome2-live
33 fi
34 @@ -21,25 +21,23 @@ if [[ ${PV} = 9999 ]]; then
35 else
36 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
37 fi
38 -IUSE="applet avahi +introspection +ssh +telepathy test"
39 +IUSE="avahi +ssh +telepathy test"
40
41 -RDEPEND=">=dev-libs/glib-2.25.11:2
42 +RDEPEND=">=dev-libs/glib-2.28.0:2
43 >=x11-libs/gtk+-3.0.3:3
44 - >=dev-libs/libpeas-0.7.2[gtk]
45 >=dev-libs/libxml2-2.6.31:2
46 >=net-libs/gtk-vnc-0.4.3[gtk3]
47 >=gnome-base/gnome-keyring-1
48 x11-themes/gnome-icon-theme
49
50 - applet? ( >=gnome-base/gnome-panel-2.91 )
51 avahi? ( >=net-dns/avahi-0.6.26[dbus,gtk3] )
52 - introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
53 ssh? ( >=x11-libs/vte-0.20:2.90 )
54 telepathy? (
55 dev-libs/dbus-glib
56 >=net-libs/telepathy-glib-0.11.6 )
57 "
58 DEPEND="${RDEPEND}
59 + dev-lang/vala:0.12
60 gnome-base/gnome-common
61 >=dev-lang/perl-5
62 >=dev-util/pkgconfig-0.16
63 @@ -54,26 +52,16 @@ pkg_setup() {
64 # Spice support?
65 # SSH support fails to compile
66 G2CONF="${G2CONF}
67 + VALAC=$(type -p valac-0.12)
68 --disable-schemas-compile
69 --disable-scrollkeeper
70 --disable-spice
71 --enable-rdp
72 - $(use_with applet panelapplet)
73 $(use_with avahi)
74 - $(use_enable introspection)
75 $(use_enable ssh)
76 $(use_with telepathy)"
77 }
78
79 -src_compile() {
80 - # Dbus is needed for introspection because it runs vinagre.
81 - # Hence, we need X. But that's okay, because dbus auto-exits after a while.
82 - # Also, we need the schemas from data/ to run the app for introspection.
83 - local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}"
84 - ${updater} --allow-any-name "${S}/data" || die
85 - GSETTINGS_SCHEMA_DIR=${S}/data Xemake || die
86 -}
87 -
88 src_install() {
89 gnome2_src_install
90
91
92 diff --git a/net-misc/vinagre/vinagre-9999.ebuild b/net-misc/vinagre/vinagre-9999.ebuild
93 index 3884b35..d98af8e 100644
94 --- a/net-misc/vinagre/vinagre-9999.ebuild
95 +++ b/net-misc/vinagre/vinagre-9999.ebuild
96 @@ -2,11 +2,11 @@
97 # Distributed under the terms of the GNU General Public License v2
98 # $Header: /var/cvsroot/gentoo-x86/net-misc/vinagre/vinagre-2.30.3.ebuild,v 1.4 2011/01/19 21:26:57 hwoarang Exp $
99
100 -EAPI="3"
101 +EAPI="4"
102 GCONF_DEBUG="no"
103 GNOME2_LA_PUNT="yes"
104
105 -inherit gnome2 virtualx
106 +inherit gnome2
107 if [[ ${PV} = 9999 ]]; then
108 inherit gnome2-live
109 fi
110 @@ -16,64 +16,50 @@ HOMEPAGE="http://www.gnome.org/projects/vinagre/"
111
112 LICENSE="GPL-2"
113 SLOT="0"
114 -IUSE="applet avahi +introspection +telepathy test" #+ssh
115 if [[ ${PV} = 9999 ]]; then
116 KEYWORDS=""
117 else
118 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
119 fi
120 +IUSE="avahi +ssh +telepathy test"
121
122 -RDEPEND=">=dev-libs/glib-2.25.11:2
123 - >=x11-libs/gtk+-2.99.3:3
124 - >=dev-libs/libpeas-0.7.2[gtk]
125 +RDEPEND=">=dev-libs/glib-2.28.0:2
126 + >=x11-libs/gtk+-3.0.3:3
127 >=dev-libs/libxml2-2.6.31:2
128 - >=net-libs/gtk-vnc-0.4.3-r300
129 -
130 - gnome-base/gnome-keyring
131 + >=net-libs/gtk-vnc-0.4.3[gtk3]
132 + >=gnome-base/gnome-keyring-1
133 + x11-themes/gnome-icon-theme
134
135 avahi? ( >=net-dns/avahi-0.6.26[dbus,gtk3] )
136 - introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
137 + ssh? ( >=x11-libs/vte-0.20:2.90 )
138 telepathy? (
139 dev-libs/dbus-glib
140 >=net-libs/telepathy-glib-0.11.6 )
141 - applet? ( >=gnome-base/gnome-panel-2.91 )"
142 -# ssh? ( >=x11-libs/vte-0.20:2.90 )
143 +"
144 DEPEND="${RDEPEND}
145 + dev-lang/vala:0.12
146 gnome-base/gnome-common
147 >=dev-lang/perl-5
148 - >=dev-util/pkgconfig-0.9
149 + >=dev-util/pkgconfig-0.16
150 >=dev-util/intltool-0.40
151 app-text/scrollkeeper
152 app-text/gnome-doc-utils
153 + >=sys-devel/gettext-0.17
154 test? ( ~app-text/docbook-xml-dtd-4.3 )"
155
156 -DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README"
157 -
158 -src_prepare() {
159 +pkg_setup() {
160 + DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README"
161 # Spice support?
162 # SSH support fails to compile
163 G2CONF="${G2CONF}
164 + VALAC=$(type -p valac-0.12)
165 --disable-schemas-compile
166 --disable-scrollkeeper
167 --disable-spice
168 - --disable-ssh
169 --enable-rdp
170 - $(use_with panelapplet)
171 $(use_with avahi)
172 - $(use_enable introspection)
173 + $(use_enable ssh)
174 $(use_with telepathy)"
175 - #$(use_enable ssh)
176 -
177 - gnome2_src_prepare
178 -}
179 -
180 -src_compile() {
181 - # Dbus is needed for introspection because it runs vinagre.
182 - # Hence, we need X. But that's okay, because dbus auto-exits after a while.
183 - # Also, we need the schemas from data/ to run the app for introspection.
184 - local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}"
185 - ${updater} --allow-any-name "${S}/data" || die
186 - GSETTINGS_SCHEMA_DIR=${S}/data Xemake || die
187 }
188
189 src_install() {