summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2022-12-29 12:02:50 +0200
committerViorel Munteanu <ceamac@gentoo.org>2022-12-30 11:18:08 +0200
commit451b63134cb93070d625b9b279c23334f84ef3d5 (patch)
tree2e4e848d743fb581c0656d470ed13e60bceee1a8 /net-misc/turbovnc
parentnet-misc/turbovnc: drop 3.0.1 (diff)
downloadgentoo-451b63134cb93070d625b9b279c23334f84ef3d5.tar.gz
gentoo-451b63134cb93070d625b9b279c23334f84ef3d5.tar.bz2
gentoo-451b63134cb93070d625b9b279c23334f84ef3d5.zip
net-misc/turbovnc: drop 2.2.7-r2
Closes: https://github.com/gentoo/gentoo/pull/28886 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-misc/turbovnc')
-rw-r--r--net-misc/turbovnc/Manifest1
-rw-r--r--net-misc/turbovnc/metadata.xml1
-rw-r--r--net-misc/turbovnc/turbovnc-2.2.7-r2.ebuild119
3 files changed, 0 insertions, 121 deletions
diff --git a/net-misc/turbovnc/Manifest b/net-misc/turbovnc/Manifest
index 0f3313ea52fb..989e229b1c93 100644
--- a/net-misc/turbovnc/Manifest
+++ b/net-misc/turbovnc/Manifest
@@ -1,3 +1,2 @@
-DIST turbovnc-2.2.7.tar.gz 8789325 BLAKE2B 257a9c9b3793b40668bf2f3bd9839b3003364f9130699caa52beaec24b75cb054830ee1b1aa67a22eb6173afc9af99c51e45fa3fa52e050c78e5226466ce99ce SHA512 932faa645a71b825e467bdcdb4b872e961ad688c959beb0adbdd35d77969d856bb5c82b893afe8f6b0aa8be18cac3fa9192ce05074295c92a83f1a2344468788
DIST turbovnc-3.0.2.tar.gz 8691956 BLAKE2B 872dbdb0127d9935e8232757f0939cf95930bcd087d06dabe771bfe4ccf4703c05fd2d9c01f0baf073ba37f989c0f02b4e20d5ed08eb6f2a4a83c6f5bb0f9d36 SHA512 f04ab062dafe3210ab7722aa12a97d1f7956ddef7eed965e7df86810b7c9aa35d981d2397503d154bd0da0c71542e0e58be458fb5841f05fc9a0d80fdddf2d11
DIST turbovnc-3.0.2.tar.gz.sig 543 BLAKE2B 3eeaa647ab3cab092112e3aa14cb4dba204e3c8a164082f32f942fd730d465e9b1973c9c7af047fcbba35fbfa02bb312fb8072963876b6add51d1105ac8eccbc SHA512 d17c6900db2bc47d8bbe3cc4bf8d0d1f17447fe4db5346baabf105c5d37a5a13048d6888d48fc5bd8e7a7a81b473b59b66c4c0108a10fcac211365d603093c4c
diff --git a/net-misc/turbovnc/metadata.xml b/net-misc/turbovnc/metadata.xml
index 91034aafab24..97cad453f15c 100644
--- a/net-misc/turbovnc/metadata.xml
+++ b/net-misc/turbovnc/metadata.xml
@@ -14,7 +14,6 @@
By The VirtualGL Project.
</longdescription>
<use>
- <flag name="java">Build the client (vncviewer)</flag>
<flag name="client">Build the client (vncviewer)</flag>
<flag name="server">Build the server (vncserver, Xvnc)</flag>
</use>
diff --git a/net-misc/turbovnc/turbovnc-2.2.7-r2.ebuild b/net-misc/turbovnc/turbovnc-2.2.7-r2.ebuild
deleted file mode 100644
index 1764dc4c265b..000000000000
--- a/net-misc/turbovnc/turbovnc-2.2.7-r2.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake desktop java-pkg-opt-2
-
-DESCRIPTION="A fast replacement for TigerVNC"
-HOMEPAGE="https://www.turbovnc.org/"
-SRC_URI="https://sourceforge.net/projects/turbovnc/files/${PV}/${P}.tar.gz/download -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="gnutls +ssl"
-
-COMMON_DEPEND="
- app-arch/bzip2
- media-libs/freetype
- >=media-libs/libjpeg-turbo-2.0.0:=[java?]
- sys-libs/pam
- sys-libs/zlib
- virtual/opengl
- x11-libs/libfontenc
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfont2
- x11-libs/libxkbfile
- x11-libs/pixman
- java? (
- >=virtual/jdk-1.8:*
- x11-libs/libXi
- )
- ssl? (
- !gnutls? ( dev-libs/openssl:= )
- gnutls? ( net-libs/gnutls:= )
- )
- !net-misc/tigervnc
-"
-RDEPEND="
- ${COMMON_DEPEND}
- x11-apps/xkbcomp
-"
-DEPEND="
- ${COMMON_DEPEND}
- x11-libs/xtrans
-"
-
-PATCHES=( "${FILESDIR}"/"${P}"-fix-musl-compilation.patch )
-
-src_prepare() {
- use java && java-pkg-opt-2_src_prepare
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DTVNC_SYSTEMX11=ON
- -DTVNC_SYSTEMLIBS=ON
- -DTVNC_BUILDJAVA=$(usex java)
- -DTVNC_BUILDNATIVE=$(usex java)
- -DXKB_BIN_DIRECTORY=/usr/bin
- -DXKB_DFLT_RULES=base
- -DBUILDING_ON_MUSL=$(usex elibc_musl) # bug #836723
- )
-
- if use ssl ; then
- # We prefer OpenSSL, so default to that if SSL is enabled
- if use gnutls ; then
- mycmakeargs+=( -DTVNC_USETLS=GnuTLS )
- else
- # Link properly against OpenSSL to ensure
- # we catch e.g. ABI change
- # (i.e. don't dlopen it)
- mycmakeargs+=(
- -DTVNC_USETLS=OpenSSL
- -DTVNC_DLOPENSSL=OFF
- )
- fi
- else
- mycmakeargs+=( -DTVNC_USETLS=OFF )
- fi
-
- if use java ; then
- export JAVACFLAGS="$(java-pkg_javac-args)"
- export JNI_CFLAGS="$(java-pkg_get-jni-cflags)"
-
- mycmakeargs+=(
- -DTJPEG_JAR="${EPREFIX}/usr/share/java/turbojpeg.jar"
- -DTJPEG_JNILIBRARY="${EPREFIX}/usr/$(get_libdir)/libturbojpeg.so"
- )
- fi
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- if use java ; then
- java-pkg_dojar "${BUILD_DIR}"/java/VncViewer.jar
- make_desktop_entry vncviewer "TurboVNC Viewer" /usr/share/icons/hicolor/48x48/apps/${PN}.png
-
- # turbovnc does not build this file, it merely copies it from media-libs/libjpeg-turbo
- # so let's replace it by a symlink
- rm "${ED}/"usr/share/turbovnc/classes/libturbojpeg.so || die
- dosym -r "/usr/$(get_libdir)/libturbojpeg.so" /usr/share/turbovnc/classes/libturbojpeg.so
- fi
-
- # Don't install incompatible init script
- rm -rf "${ED}"/etc/init.d/ || die
- rm -rf "${ED}"/etc/sysconfig/ || die
-
- find "${ED}"/usr/share/man/man1/ -name Xserver.1\* -delete || die
-
- einstalldocs
-}