net-misc/vino: Drop old
authorPacho Ramos <pacho@gentoo.org>
Tue, 28 Jun 2016 20:23:46 +0000 (22:23 +0200)
committerPacho Ramos <pacho@gentoo.org>
Tue, 28 Jun 2016 20:29:57 +0000 (22:29 +0200)
Package-Manager: portage-2.3.0_rc1

net-misc/vino/Manifest
net-misc/vino/files/vino-3.16.0-fix-crash.patch [deleted file]
net-misc/vino/files/vino-3.16.0-name-resolution.patch [deleted file]
net-misc/vino/vino-3.16.0-r1.ebuild [deleted file]

index acf9a7c9c6fc10eb8e3816a5fde09764f7b54937..8f45ea4149042943e76cfa9afae8cf67d1c11c43 100644 (file)
@@ -1,2 +1 @@
-DIST vino-3.16.0.tar.xz 760508 SHA256 608d3613d4e0ad40566759df06587effcfae77f205fce83e3bcf7574bc608dc5 SHA512 232cf9e2d986043e8da4db6d7a07ada77b46f71280da85915c54ed53c7212d47256b0e9532aa4879f6e3fa374a46c7ec7e58310d07581f7708efc1a131ba643f WHIRLPOOL 676c055ce1ef93c966c9691d415c84922247993ac6821ba174108bbaf359d3ee7f6d5d6b8e070bc4af02136ead206a25d11b1efba92a46b4dc209d83e0f88543
 DIST vino-3.18.1.tar.xz 766944 SHA256 07ec6e78bbecd4ee3fce873eb26932fdda9c7642bb09d17ac36483b996fafe5a SHA512 6c98b86a1ae324547b63a2071208f5c2213765ad554f10f3e504bc6ab5817682e5a03df5c23ddbb814d918f263027579c3344dab944eeb4329b0a84f9a3bd182 WHIRLPOOL 261c6fcd7a93b7a937c4c9dfe49a5c6f9833518dc70100b350a12ed282b482761a80e1e4bdf5a08fa27282d0903f2b6ab85a03c2b8f501f43ce16ad5a38160a9
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
deleted file mode 100644 (file)
index bf0d190..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-From 22f6575b32675ae38567efd3ed8e2362bbc9240d Mon Sep 17 00:00:00 2001
-From: David King <amigadave@amigadave.com>
-Date: Mon, 19 Oct 2015 14:48:44 +0100
-Subject: Avoid a crash when showing the preferences
-
-Show an error message when the preferences desktop file is not found,
-such as if gnome-control-center is not installed.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=756654
----
- server/vino-status-icon.c      | 5 +++++
- server/vino-status-tube-icon.c | 9 ++++++++-
- 2 files changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/server/vino-status-icon.c b/server/vino-status-icon.c
-index 53eec02..aaab0af 100644
---- a/server/vino-status-icon.c
-+++ b/server/vino-status-icon.c
-@@ -202,6 +202,11 @@ vino_status_icon_preferences (VinoStatusIcon *icon)
-   info = g_desktop_app_info_new ("gnome-sharing-panel.desktop");
-   if (info == NULL)
-     info = g_desktop_app_info_new ("vino-preferences.desktop");
-+  if (info == NULL)
-+    {
-+      vino_util_show_error (NULL, _("Error displaying preferences"), NULL);
-+      return;
-+    }
-   context = gdk_display_get_app_launch_context (gdk_screen_get_display (screen));
-   if (!g_app_info_launch (G_APP_INFO (info), NULL, G_APP_LAUNCH_CONTEXT (context), &error))
-     {
-diff --git a/server/vino-status-tube-icon.c b/server/vino-status-tube-icon.c
-index 0a23a23..e5cbb11 100644
---- a/server/vino-status-tube-icon.c
-+++ b/server/vino-status-tube-icon.c
-@@ -165,7 +165,14 @@ vino_status_tube_icon_preferences (VinoStatusTubeIcon *icon)
-   GError *error = NULL;
-   screen = gtk_status_icon_get_screen (GTK_STATUS_ICON (icon));
--  info = g_desktop_app_info_new ("vino-preferences.desktop");
-+  info = g_desktop_app_info_new ("gnome-sharing-panel.desktop");
-+  if (info == NULL)
-+    info = g_desktop_app_info_new ("vino-preferences.desktop");
-+  if (info == NULL)
-+    {
-+      vino_util_show_error (NULL, _("Error displaying preferences"), NULL);
-+      return;
-+    }
-   context = gdk_display_get_app_launch_context (gdk_screen_get_display (screen));
-   if (!g_app_info_launch (G_APP_INFO (info), NULL, G_APP_LAUNCH_CONTEXT (context), &error))
-     {
--- 
-cgit v0.11.2
-
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
deleted file mode 100644 (file)
index 2989ffa..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From bdd14508f9ea46372fcef93e17a9c14bcb8b4c83 Mon Sep 17 00:00:00 2001
-From: Dimitri Tarassenko <dtarassenko@gmail.com>
-Date: Fri, 28 Aug 2015 17:02:15 +0100
-Subject: Improve handling of name resolution failure
-
-Ensure that the host string for a client is always filled with a valid
-string, by calling getnameinfo() a second time (ensuring a numeric host
-is returned) if the first call fails.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=754194
----
- server/libvncserver/rfbserver.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/server/libvncserver/rfbserver.c b/server/libvncserver/rfbserver.c
-index 1295219..0a60fb2 100644
---- a/server/libvncserver/rfbserver.c
-+++ b/server/libvncserver/rfbserver.c
-@@ -150,7 +150,7 @@ rfbNewClient(rfbScreenInfoPtr rfbScreen,
-     struct sockaddr_storage addr;
-     socklen_t addrlen = sizeof(addr);
-     int i;
--    char host[NI_MAXHOST];
-+    char host[NI_MAXHOST] = "(unresolved)";
-     const char *prt = "unknown";
-     cl = (rfbClientPtr)calloc(sizeof(rfbClientRec),1);
-@@ -166,11 +166,11 @@ rfbNewClient(rfbScreenInfoPtr rfbScreen,
-       getpeername(sock, (struct sockaddr *)&addr, &addrlen);
--      getnameinfo((struct sockaddr *)&addr,
--                  addrlen,
--                  host, sizeof(host),
--                  NULL, 0,
--                  0);
-+      if (getnameinfo((struct sockaddr *)&addr, addrlen,
-+                      host, sizeof(host), NULL, 0, 0)) {
-+        getnameinfo((struct sockaddr *)&addr, addrlen,
-+                    host, sizeof(host), NULL, 0, NI_NUMERICHOST);
-+      }
-       cl->host = strdup(host);
--- 
-cgit v0.11.2
-
diff --git a/net-misc/vino/vino-3.16.0-r1.ebuild b/net-misc/vino/vino-3.16.0-r1.ebuild
deleted file mode 100644 (file)
index 5e463dd..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-GCONF_DEBUG="yes"
-
-inherit eutils gnome2
-
-DESCRIPTION="An integrated VNC server for GNOME"
-HOMEPAGE="https://wiki.gnome.org/Projects/Vino"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-IUSE="crypt gnome-keyring ipv6 jpeg ssl +telepathy zeroconf +zlib"
-# bug #394611; tight encoding requires zlib encoding
-REQUIRED_USE="jpeg? ( zlib )"
-
-# cairo used in vino-fb
-# libSM and libICE used in eggsmclient-xsmp
-RDEPEND="
-       >=dev-libs/glib-2.26:2
-       >=dev-libs/libgcrypt-1.1.90:0=
-       >=x11-libs/gtk+-3:3
-
-       dev-libs/dbus-glib
-       x11-libs/cairo:=
-       x11-libs/libICE
-       x11-libs/libSM
-       x11-libs/libX11
-       x11-libs/libXdamage
-       x11-libs/libXext
-       x11-libs/libXfixes
-       x11-libs/libXtst
-       x11-libs/pango[X]
-
-       >=x11-libs/libnotify-0.7.0:=
-
-       crypt? ( >=dev-libs/libgcrypt-1.1.90:0= )
-       gnome-keyring? ( app-crypt/libsecret )
-       jpeg? ( virtual/jpeg:0= )
-       ssl? ( >=net-libs/gnutls-2.2.0:= )
-       telepathy? ( >=net-libs/telepathy-glib-0.18 )
-       zeroconf? ( >=net-dns/avahi-0.6:=[dbus] )
-       zlib? ( sys-libs/zlib:= )
-"
-DEPEND="${RDEPEND}
-       >=dev-lang/perl-5
-       >=dev-util/intltool-0.50
-       virtual/pkgconfig
-       app-crypt/libsecret
-"
-# libsecret is always required at build time per bug 322763
-
-src_prepare() {
-       # Improve handling of name resolution failure (from 'master')
-       epatch "${FILESDIR}"/${P}-name-resolution.patch
-
-       # Avoid a crash when showing the preferences (from 'master')
-       epatch "${FILESDIR}"/${P}-fix-crash.patch
-
-       gnome2_src_prepare
-}
-
-src_configure() {
-       gnome2_src_configure \
-               --with-gcrypt \
-               $(use_enable ipv6) \
-               $(use_with crypt gcrypt) \
-               $(use_with gnome-keyring secret) \
-               $(use_with jpeg) \
-               $(use_with ssl gnutls) \
-               $(use_with telepathy) \
-               $(use_with zeroconf avahi) \
-               $(use_with zlib)
-}