Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/vino/files/, net-misc/vino/
Date: Tue, 28 Jun 2016 20:30:54
Message-Id: 1467145797.3bdc0ce6ff231ec13b88169bbcb0e80d81c9287b.pacho@gentoo
1 commit: 3bdc0ce6ff231ec13b88169bbcb0e80d81c9287b
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 20:23:46 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 20:29:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bdc0ce6
7
8 net-misc/vino: Drop old
9
10 Package-Manager: portage-2.3.0_rc1
11
12 net-misc/vino/Manifest | 1 -
13 net-misc/vino/files/vino-3.16.0-fix-crash.patch | 53 ---------------
14 .../vino/files/vino-3.16.0-name-resolution.patch | 47 -------------
15 net-misc/vino/vino-3.16.0-r1.ebuild | 77 ----------------------
16 4 files changed, 178 deletions(-)
17
18 diff --git a/net-misc/vino/Manifest b/net-misc/vino/Manifest
19 index acf9a7c..8f45ea4 100644
20 --- a/net-misc/vino/Manifest
21 +++ b/net-misc/vino/Manifest
22 @@ -1,2 +1 @@
23 -DIST vino-3.16.0.tar.xz 760508 SHA256 608d3613d4e0ad40566759df06587effcfae77f205fce83e3bcf7574bc608dc5 SHA512 232cf9e2d986043e8da4db6d7a07ada77b46f71280da85915c54ed53c7212d47256b0e9532aa4879f6e3fa374a46c7ec7e58310d07581f7708efc1a131ba643f WHIRLPOOL 676c055ce1ef93c966c9691d415c84922247993ac6821ba174108bbaf359d3ee7f6d5d6b8e070bc4af02136ead206a25d11b1efba92a46b4dc209d83e0f88543
24 DIST vino-3.18.1.tar.xz 766944 SHA256 07ec6e78bbecd4ee3fce873eb26932fdda9c7642bb09d17ac36483b996fafe5a SHA512 6c98b86a1ae324547b63a2071208f5c2213765ad554f10f3e504bc6ab5817682e5a03df5c23ddbb814d918f263027579c3344dab944eeb4329b0a84f9a3bd182 WHIRLPOOL 261c6fcd7a93b7a937c4c9dfe49a5c6f9833518dc70100b350a12ed282b482761a80e1e4bdf5a08fa27282d0903f2b6ab85a03c2b8f501f43ce16ad5a38160a9
25
26 diff --git a/net-misc/vino/files/vino-3.16.0-fix-crash.patch b/net-misc/vino/files/vino-3.16.0-fix-crash.patch
27 deleted file mode 100644
28 index bf0d190..0000000
29 --- a/net-misc/vino/files/vino-3.16.0-fix-crash.patch
30 +++ /dev/null
31 @@ -1,53 +0,0 @@
32 -From 22f6575b32675ae38567efd3ed8e2362bbc9240d Mon Sep 17 00:00:00 2001
33 -From: David King <amigadave@×××××××××.com>
34 -Date: Mon, 19 Oct 2015 14:48:44 +0100
35 -Subject: Avoid a crash when showing the preferences
36 -
37 -Show an error message when the preferences desktop file is not found,
38 -such as if gnome-control-center is not installed.
39 -
40 -https://bugzilla.gnome.org/show_bug.cgi?id=756654
41 ----
42 - server/vino-status-icon.c | 5 +++++
43 - server/vino-status-tube-icon.c | 9 ++++++++-
44 - 2 files changed, 13 insertions(+), 1 deletion(-)
45 -
46 -diff --git a/server/vino-status-icon.c b/server/vino-status-icon.c
47 -index 53eec02..aaab0af 100644
48 ---- a/server/vino-status-icon.c
49 -+++ b/server/vino-status-icon.c
50 -@@ -202,6 +202,11 @@ vino_status_icon_preferences (VinoStatusIcon *icon)
51 - info = g_desktop_app_info_new ("gnome-sharing-panel.desktop");
52 - if (info == NULL)
53 - info = g_desktop_app_info_new ("vino-preferences.desktop");
54 -+ if (info == NULL)
55 -+ {
56 -+ vino_util_show_error (NULL, _("Error displaying preferences"), NULL);
57 -+ return;
58 -+ }
59 - context = gdk_display_get_app_launch_context (gdk_screen_get_display (screen));
60 - if (!g_app_info_launch (G_APP_INFO (info), NULL, G_APP_LAUNCH_CONTEXT (context), &error))
61 - {
62 -diff --git a/server/vino-status-tube-icon.c b/server/vino-status-tube-icon.c
63 -index 0a23a23..e5cbb11 100644
64 ---- a/server/vino-status-tube-icon.c
65 -+++ b/server/vino-status-tube-icon.c
66 -@@ -165,7 +165,14 @@ vino_status_tube_icon_preferences (VinoStatusTubeIcon *icon)
67 - GError *error = NULL;
68 -
69 - screen = gtk_status_icon_get_screen (GTK_STATUS_ICON (icon));
70 -- info = g_desktop_app_info_new ("vino-preferences.desktop");
71 -+ info = g_desktop_app_info_new ("gnome-sharing-panel.desktop");
72 -+ if (info == NULL)
73 -+ info = g_desktop_app_info_new ("vino-preferences.desktop");
74 -+ if (info == NULL)
75 -+ {
76 -+ vino_util_show_error (NULL, _("Error displaying preferences"), NULL);
77 -+ return;
78 -+ }
79 - context = gdk_display_get_app_launch_context (gdk_screen_get_display (screen));
80 - if (!g_app_info_launch (G_APP_INFO (info), NULL, G_APP_LAUNCH_CONTEXT (context), &error))
81 - {
82 ---
83 -cgit v0.11.2
84 -
85
86 diff --git a/net-misc/vino/files/vino-3.16.0-name-resolution.patch b/net-misc/vino/files/vino-3.16.0-name-resolution.patch
87 deleted file mode 100644
88 index 2989ffa..0000000
89 --- a/net-misc/vino/files/vino-3.16.0-name-resolution.patch
90 +++ /dev/null
91 @@ -1,47 +0,0 @@
92 -From bdd14508f9ea46372fcef93e17a9c14bcb8b4c83 Mon Sep 17 00:00:00 2001
93 -From: Dimitri Tarassenko <dtarassenko@×××××.com>
94 -Date: Fri, 28 Aug 2015 17:02:15 +0100
95 -Subject: Improve handling of name resolution failure
96 -
97 -Ensure that the host string for a client is always filled with a valid
98 -string, by calling getnameinfo() a second time (ensuring a numeric host
99 -is returned) if the first call fails.
100 -
101 -https://bugzilla.gnome.org/show_bug.cgi?id=754194
102 ----
103 - server/libvncserver/rfbserver.c | 12 ++++++------
104 - 1 file changed, 6 insertions(+), 6 deletions(-)
105 -
106 -diff --git a/server/libvncserver/rfbserver.c b/server/libvncserver/rfbserver.c
107 -index 1295219..0a60fb2 100644
108 ---- a/server/libvncserver/rfbserver.c
109 -+++ b/server/libvncserver/rfbserver.c
110 -@@ -150,7 +150,7 @@ rfbNewClient(rfbScreenInfoPtr rfbScreen,
111 - struct sockaddr_storage addr;
112 - socklen_t addrlen = sizeof(addr);
113 - int i;
114 -- char host[NI_MAXHOST];
115 -+ char host[NI_MAXHOST] = "(unresolved)";
116 - const char *prt = "unknown";
117 -
118 - cl = (rfbClientPtr)calloc(sizeof(rfbClientRec),1);
119 -@@ -166,11 +166,11 @@ rfbNewClient(rfbScreenInfoPtr rfbScreen,
120 -
121 - getpeername(sock, (struct sockaddr *)&addr, &addrlen);
122 -
123 -- getnameinfo((struct sockaddr *)&addr,
124 -- addrlen,
125 -- host, sizeof(host),
126 -- NULL, 0,
127 -- 0);
128 -+ if (getnameinfo((struct sockaddr *)&addr, addrlen,
129 -+ host, sizeof(host), NULL, 0, 0)) {
130 -+ getnameinfo((struct sockaddr *)&addr, addrlen,
131 -+ host, sizeof(host), NULL, 0, NI_NUMERICHOST);
132 -+ }
133 -
134 - cl->host = strdup(host);
135 -
136 ---
137 -cgit v0.11.2
138 -
139
140 diff --git a/net-misc/vino/vino-3.16.0-r1.ebuild b/net-misc/vino/vino-3.16.0-r1.ebuild
141 deleted file mode 100644
142 index 5e463dd..0000000
143 --- a/net-misc/vino/vino-3.16.0-r1.ebuild
144 +++ /dev/null
145 @@ -1,77 +0,0 @@
146 -# Copyright 1999-2015 Gentoo Foundation
147 -# Distributed under the terms of the GNU General Public License v2
148 -# $Id$
149 -
150 -EAPI="5"
151 -GCONF_DEBUG="yes"
152 -
153 -inherit eutils gnome2
154 -
155 -DESCRIPTION="An integrated VNC server for GNOME"
156 -HOMEPAGE="https://wiki.gnome.org/Projects/Vino"
157 -
158 -LICENSE="GPL-2+"
159 -SLOT="0"
160 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
161 -IUSE="crypt gnome-keyring ipv6 jpeg ssl +telepathy zeroconf +zlib"
162 -# bug #394611; tight encoding requires zlib encoding
163 -REQUIRED_USE="jpeg? ( zlib )"
164 -
165 -# cairo used in vino-fb
166 -# libSM and libICE used in eggsmclient-xsmp
167 -RDEPEND="
168 - >=dev-libs/glib-2.26:2
169 - >=dev-libs/libgcrypt-1.1.90:0=
170 - >=x11-libs/gtk+-3:3
171 -
172 - dev-libs/dbus-glib
173 - x11-libs/cairo:=
174 - x11-libs/libICE
175 - x11-libs/libSM
176 - x11-libs/libX11
177 - x11-libs/libXdamage
178 - x11-libs/libXext
179 - x11-libs/libXfixes
180 - x11-libs/libXtst
181 - x11-libs/pango[X]
182 -
183 - >=x11-libs/libnotify-0.7.0:=
184 -
185 - crypt? ( >=dev-libs/libgcrypt-1.1.90:0= )
186 - gnome-keyring? ( app-crypt/libsecret )
187 - jpeg? ( virtual/jpeg:0= )
188 - ssl? ( >=net-libs/gnutls-2.2.0:= )
189 - telepathy? ( >=net-libs/telepathy-glib-0.18 )
190 - zeroconf? ( >=net-dns/avahi-0.6:=[dbus] )
191 - zlib? ( sys-libs/zlib:= )
192 -"
193 -DEPEND="${RDEPEND}
194 - >=dev-lang/perl-5
195 - >=dev-util/intltool-0.50
196 - virtual/pkgconfig
197 - app-crypt/libsecret
198 -"
199 -# libsecret is always required at build time per bug 322763
200 -
201 -src_prepare() {
202 - # Improve handling of name resolution failure (from 'master')
203 - epatch "${FILESDIR}"/${P}-name-resolution.patch
204 -
205 - # Avoid a crash when showing the preferences (from 'master')
206 - epatch "${FILESDIR}"/${P}-fix-crash.patch
207 -
208 - gnome2_src_prepare
209 -}
210 -
211 -src_configure() {
212 - gnome2_src_configure \
213 - --with-gcrypt \
214 - $(use_enable ipv6) \
215 - $(use_with crypt gcrypt) \
216 - $(use_with gnome-keyring secret) \
217 - $(use_with jpeg) \
218 - $(use_with ssl gnutls) \
219 - $(use_with telepathy) \
220 - $(use_with zeroconf avahi) \
221 - $(use_with zlib)
222 -}