commit: dc0a4d28e422ef984e59df5e7956df80cb6ab81e Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> AuthorDate: Wed May 21 18:10:16 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 21:36:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0a4d28
x11-misc/x11vnc: version bump to 0.9.17 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me> Part-of: https://github.com/gentoo/gentoo/pull/42189 Closes: https://github.com/gentoo/gentoo/pull/42189 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-misc/x11vnc/Manifest | 1 + ...1vnc-0.9.17-implicit-function-declaration.patch | 26 +++++++ x11-misc/x11vnc/metadata.xml | 1 + x11-misc/x11vnc/x11vnc-0.9.17.ebuild | 79 ++++++++++++++++++++++ 4 files changed, 107 insertions(+) diff --git a/x11-misc/x11vnc/Manifest b/x11-misc/x11vnc/Manifest index 99593c73b350..cfad26a89b74 100644 --- a/x11-misc/x11vnc/Manifest +++ b/x11-misc/x11vnc/Manifest @@ -1 +1,2 @@ DIST x11vnc-0.9.16.tar.gz 1708009 BLAKE2B a8789f95ef421a78a83703748e1d80fd45539dff24f80493fd75e357bc22378213915853f9d114248c172cd83977880e1e4e8a3f8df0771017e9988d83b7307d SHA512 69f65ee312f8dede6051b401304987502a213c6c28c7f41e855734f11de1fae14d5d493dc9c28b2e4b7c0be55f8dbd3b35dd2610aae910183772c3e626736fec +DIST x11vnc-0.9.17.tar.gz 1691520 BLAKE2B c8b61b2d48517e68a579faa077bef5d2de371fb5567294908ef824d2521cf439cdf7f4efa076e659a20bf4c726d19fc88e4481b4e3c2f745b1a8aa3e39880376 SHA512 687c41e03cca43dbca6ffdeb40960dddfba54ba00cf890f89f63fd66b9559a4c09602f84c1d4b7ffd7ac58818b90893013925d94a45a6feb83ab8cf7a02c1fe8 diff --git a/x11-misc/x11vnc/files/x11vnc-0.9.17-implicit-function-declaration.patch b/x11-misc/x11vnc/files/x11vnc-0.9.17-implicit-function-declaration.patch new file mode 100644 index 000000000000..55481783a3c4 --- /dev/null +++ b/x11-misc/x11vnc/files/x11vnc-0.9.17-implicit-function-declaration.patch @@ -0,0 +1,26 @@ +From f71fa6e9159b4514c9a1bec813ac166f47d58ed9 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy <[email protected]> +Date: Mon, 6 Mar 2023 00:57:20 +0300 +Subject: [PATCH] configure: drop AC_FUNC_STAT macro + +This macro is obsolescent and doesn't work with +-Werror=implicit-function-declaration compiler flag +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 2fd443a..f891d81 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -496,7 +496,6 @@ if test $inaddrt = no ; then + fi + # Checks for library functions. + AC_FUNC_MEMCMP +-AC_FUNC_STAT + AC_FUNC_STRFTIME + AC_FUNC_VPRINTF + AC_FUNC_FORK +-- +2.49.0 + diff --git a/x11-misc/x11vnc/metadata.xml b/x11-misc/x11vnc/metadata.xml index 432585e4ec19..2333dfe80d1c 100644 --- a/x11-misc/x11vnc/metadata.xml +++ b/x11-misc/x11vnc/metadata.xml @@ -15,6 +15,7 @@ to connect to an actual X display. </longdescription> <use> + <flag name="drm">Use x11-libs/libdrm to support shm key and drm schema in -rawfb option</flag> <flag name="xdamage">Enable support for the Xdamage library</flag> <flag name="xfixes">Enable support for the Xfixes library</flag> <flag name="xrandr">Enable support for the X xrandr extension</flag> diff --git a/x11-misc/x11vnc/x11vnc-0.9.17.ebuild b/x11-misc/x11vnc/x11vnc-0.9.17.ebuild new file mode 100644 index 000000000000..1633a55a6fff --- /dev/null +++ b/x11-misc/x11vnc/x11vnc-0.9.17.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="VNC server for real X displays" +HOMEPAGE="https://libvnc.github.io/" +SRC_URI="https://github.com/LibVNC/x11vnc/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+-with-openssl-exception" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="crypt drm fbcon ssl +xcomposite +xdamage +xfixes xinerama +xrandr zeroconf" + +COMMON_DEPEND=" + >=net-libs/libvncserver-0.9.8[ssl=] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + >=x11-libs/libXtst-1.1.0 + virtual/libcrypt:= + drm? ( x11-libs/libdrm ) + ssl? ( dev-libs/openssl:0= ) + xcomposite? ( x11-libs/libXcomposite ) + xdamage? ( x11-libs/libXdamage ) + xfixes? ( x11-libs/libXfixes ) + xinerama? ( x11-libs/libXinerama ) + xrandr? ( x11-libs/libXrandr ) + zeroconf? ( >=net-dns/avahi-0.6.4 ) +" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto + x11-libs/libXt +" +# https://bugzilla.redhat.com/show_bug.cgi?id=920554 +RDEPEND="${COMMON_DEPEND} + dev-lang/tk:0 +" + +DOCS=( NEWS README doc/. ) + +PATCHES=( + "${FILESDIR}"/${P}-implicit-function-declaration.patch # https://github.com/LibVNC/x11vnc/pull/268 +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # --without-v4l because of missing video4linux 2.x support wrt #389079 + local myconf=( + --without-v4l + --without-xkeyboard + --without-fbpm + --without-dpms + $(use_with crypt) + $(use_with drm) + $(use_with fbcon fbdev) + $(use_with ssl) + $(use_with ssl crypto) + $(use_with xcomposite) + $(use_with xdamage) + $(use_with xfixes) + $(use_with xinerama) + $(use_with xrandr) + $(use_with zeroconf avahi) + ) + econf "${myconf[@]}" +} + +src_install() { + default + newinitd "${FILESDIR}/x11vnc.init.d-r1" x11vnc + newconfd "${FILESDIR}/x11vnc.conf.d" x11vnc +}
