From 767505f2fb0927714d2c30735c36a91653090356 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 24 Oct 2015 09:43:30 +0200 Subject: [PATCH 1/5] dev-libs/elfutils: Stable for HPPA PPC64 (bug #563250). Package-Manager: portage-2.2.23 RepoMan-Options: --ignore-arches --- dev-libs/elfutils/elfutils-0.163.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/elfutils/elfutils-0.163.ebuild b/dev-libs/elfutils/elfutils-0.163.ebuild index b7322d972be51..27eb91f44727a 100644 --- a/dev-libs/elfutils/elfutils-0.163.ebuild +++ b/dev-libs/elfutils/elfutils-0.163.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2 LICENSE="GPL-2-with-exceptions" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" IUSE="bzip2 lzma nls static-libs test +threads +utils zlib" # This pkg does not actually seem to compile currently in a uClibc From 6c693e0a73b17ba7b4d4ab202e66f96181ffc366 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 24 Oct 2015 09:44:31 +0200 Subject: [PATCH 2/5] net-misc/vino: Apply upstream fixes, also including a fix for a crash when gnome-control-center is not present (#561786 by Mikhail Kurinnoi) Package-Manager: portage-2.2.23 --- .../vino/files/vino-3.16.0-fix-crash.patch | 53 +++++++++++++ .../files/vino-3.16.0-name-resolution.patch | 47 +++++++++++ net-misc/vino/vino-3.16.0-r1.ebuild | 77 +++++++++++++++++++ 3 files changed, 177 insertions(+) create mode 100644 net-misc/vino/files/vino-3.16.0-fix-crash.patch create mode 100644 net-misc/vino/files/vino-3.16.0-name-resolution.patch create mode 100644 net-misc/vino/vino-3.16.0-r1.ebuild 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 new file mode 100644 index 0000000000000..bf0d190cb6535 --- /dev/null +++ b/net-misc/vino/files/vino-3.16.0-fix-crash.patch @@ -0,0 +1,53 @@ +From 22f6575b32675ae38567efd3ed8e2362bbc9240d Mon Sep 17 00:00:00 2001 +From: David King +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 new file mode 100644 index 0000000000000..2989ffabd5670 --- /dev/null +++ b/net-misc/vino/files/vino-3.16.0-name-resolution.patch @@ -0,0 +1,47 @@ +From bdd14508f9ea46372fcef93e17a9c14bcb8b4c83 Mon Sep 17 00:00:00 2001 +From: Dimitri Tarassenko +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 new file mode 100644 index 0000000000000..0b338c3449ebd --- /dev/null +++ b/net-misc/vino/vino-3.16.0-r1.ebuild @@ -0,0 +1,77 @@ +# 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) +} From a905a76b1c1e4daddf4e3ad262f373fa8bef8439 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 24 Oct 2015 09:45:09 +0200 Subject: [PATCH 3/5] net-misc/vino: Drop old Package-Manager: portage-2.2.23 --- net-misc/vino/Manifest | 1 - net-misc/vino/vino-3.14.2.ebuild | 69 -------------------------------- 2 files changed, 70 deletions(-) delete mode 100644 net-misc/vino/vino-3.14.2.ebuild diff --git a/net-misc/vino/Manifest b/net-misc/vino/Manifest index c09843eda2ebb..d0888f9f1a509 100644 --- a/net-misc/vino/Manifest +++ b/net-misc/vino/Manifest @@ -1,2 +1 @@ -DIST vino-3.14.2.tar.xz 750452 SHA256 9042ca347968617f831a472a5c6c123b71bb9ba5339e45ccf46004a7452da3a5 SHA512 daf6710ad89991ae248c633ffcd623182c7b7404daea75762123e17687ea3ede5f49102d6dff7bde9d233257b044a3b95a26b0ea235587004877203bd077d1c8 WHIRLPOOL 975b9d739adafbee5c0276ba630e3232953a39d03f55c97b60b0d0c055ed87a6fb3b19818aa4d7062643419c22ed854761126df16cb1e17f2094b77557e942b7 DIST vino-3.16.0.tar.xz 760508 SHA256 608d3613d4e0ad40566759df06587effcfae77f205fce83e3bcf7574bc608dc5 SHA512 232cf9e2d986043e8da4db6d7a07ada77b46f71280da85915c54ed53c7212d47256b0e9532aa4879f6e3fa374a46c7ec7e58310d07581f7708efc1a131ba643f WHIRLPOOL 676c055ce1ef93c966c9691d415c84922247993ac6821ba174108bbaf359d3ee7f6d5d6b8e070bc4af02136ead206a25d11b1efba92a46b4dc209d83e0f88543 diff --git a/net-misc/vino/vino-3.14.2.ebuild b/net-misc/vino/vino-3.14.2.ebuild deleted file mode 100644 index 32f65b27e679d..0000000000000 --- a/net-misc/vino/vino-3.14.2.ebuild +++ /dev/null @@ -1,69 +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 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 libsecret ipv6 jpeg networkmanager 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 - >=x11-libs/gtk+-3.0.0:3 - >=dev-libs/libgcrypt-1.1.90:0= - - dev-libs/dbus-glib - x11-libs/cairo:= - x11-libs/pango[X] - x11-libs/libICE - x11-libs/libX11 - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libSM - x11-libs/libXtst - - >=x11-libs/libnotify-0.7.0:= - - crypt? ( >=dev-libs/libgcrypt-1.1.90:0= ) - libsecret? ( app-crypt/libsecret ) - jpeg? ( virtual/jpeg:0= ) - networkmanager? ( >=net-misc/networkmanager-0.7 ) - 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_configure() { - gnome2_src_configure \ - --with-gcrypt \ - $(use_with crypt gcrypt) \ - $(use_enable ipv6) \ - $(use_with jpeg) \ - $(use_with libsecret secret) \ - $(use_with networkmanager network-manager) \ - $(use_with ssl gnutls) \ - $(use_with telepathy) \ - $(use_with zeroconf avahi) \ - $(use_with zlib) -} From 8c6d9b3b489be7e0c4aab2f9002142c0d71b52d6 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 24 Oct 2015 09:46:01 +0200 Subject: [PATCH 4/5] sys-libs/glibc: Stable for PPC64 (bug #563524). Package-Manager: portage-2.2.23 RepoMan-Options: --ignore-arches --- sys-libs/glibc/glibc-2.21-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-libs/glibc/glibc-2.21-r1.ebuild b/sys-libs/glibc/glibc-2.21-r1.ebuild index 4223add679b5a..f6d44240af32b 100644 --- a/sys-libs/glibc/glibc-2.21-r1.ebuild +++ b/sys-libs/glibc/glibc-2.21-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="GNU libc6 (also called glibc2) C library" HOMEPAGE="https://www.gnu.org/software/libc/libc.html" LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86" RESTRICT="strip" # strip ourself #46186 EMULTILIB_PKG="true" From f75977fbabf89559aaa42cb0f13ebaa99c785ea1 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 24 Oct 2015 09:48:52 +0200 Subject: [PATCH 5/5] media-sound/mpc: Stable for HPPA PPC64 (bug #563304). Package-Manager: portage-2.2.23 RepoMan-Options: --ignore-arches --- media-sound/mpc/mpc-0.27.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/mpc/mpc-0.27.ebuild b/media-sound/mpc/mpc-0.27.ebuild index 459e80fd93e12..96e76f156fca5 100644 --- a/media-sound/mpc/mpc-0.27.ebuild +++ b/media-sound/mpc/mpc-0.27.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc ~x86" IUSE="iconv" RDEPEND=">=media-libs/libmpdclient-2.2