summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-01-17 15:54:34 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-01-17 15:54:34 +0000
commitcd3def1e154df0e19a15abfd47631430f902e9b1 (patch)
tree01c8add22f54f69d319d80fcb5dc6a6717cb9521 /net-misc/vnc
parentarm/s390/sh stable (diff)
downloadhistorical-cd3def1e154df0e19a15abfd47631430f902e9b1.tar.gz
historical-cd3def1e154df0e19a15abfd47631430f902e9b1.tar.bz2
historical-cd3def1e154df0e19a15abfd47631430f902e9b1.zip
Version bump
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64
Diffstat (limited to 'net-misc/vnc')
-rw-r--r--net-misc/vnc/ChangeLog9
-rw-r--r--net-misc/vnc/Manifest5
-rw-r--r--net-misc/vnc/vnc-4.1.3-r1.ebuild213
-rw-r--r--net-misc/vnc/vnc-4.1.3.ebuild185
4 files changed, 410 insertions, 2 deletions
diff --git a/net-misc/vnc/ChangeLog b/net-misc/vnc/ChangeLog
index 902edc4b2b8c..0af5e1133eda 100644
--- a/net-misc/vnc/ChangeLog
+++ b/net-misc/vnc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/vnc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.114 2009/01/04 20:03:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.115 2009/01/17 15:54:34 armin76 Exp $
+
+*vnc-4.1.3-r1 (17 Jan 2009)
+*vnc-4.1.3 (17 Jan 2009)
+
+ 17 Jan 2009; Raúl Porcel <armin76@gentoo.org> +vnc-4.1.3.ebuild,
+ +vnc-4.1.3-r1.ebuild:
+ Version bump
04 Jan 2009; Raúl Porcel <armin76@gentoo.org> vnc-4.1.2-r5.ebuild:
Fix bug #242350, thanks to Eric Bosch <eric dot bosch at comcast dot net>
diff --git a/net-misc/vnc/Manifest b/net-misc/vnc/Manifest
index e5ad59b6bf52..1434459f1ecc 100644
--- a/net-misc/vnc/Manifest
+++ b/net-misc/vnc/Manifest
@@ -5,9 +5,12 @@ AUX vncviewer.png 1048 RMD160 ad99643d65a77044cac96a31dc46b16f8273b4c7 SHA1 e463
DIST vnc-4.1.2-r4-patches-0.5.tar.bz2 16721 RMD160 2f65ff144daca9af4f0fb3a20997d467ca1d677a SHA1 4985f1b16e3f19c680a809eab186200193156ffb SHA256 f9c0b0d77d2f266f0cac3aef95adb35ba8c9418f21bbb096bc1411a5ffb34ef2
DIST vnc-4.1.2-r5-patches-0.1.tar.bz2 25955 RMD160 60fbcfff846fdd8762bbc0cf8cfeb1b449393906 SHA1 c8636bc2b7e019dd2ce8a4859f25f50704041f65 SHA256 9dbfe26b206c74d69984214f6048fcebea57b406ce6d72d0c1f0f805230a02b3
DIST vnc-4_1_2-unixsrc.tar.gz 537713 RMD160 2a2d615825e6ac74aca5f0c29d025e576b725dc3 SHA1 9d8d8d93f4120b2e60c0ec0fce7e81ea302614e7 SHA256 ed73cd1abf4c4044032929fa2dd023d851f5fe37f88009523d3b08b7d836d542
+DIST vnc-4_1_3-unixsrc.tar.gz 550870 RMD160 9ef5a3b6f13d1227e5b9399c4d56884639cf9686 SHA1 fd4ebf2bf8945b5a419ab69059a98fe3bc6698ef SHA256 a5897cbeaef74e02f23d43b89905f5a218041292743ed469f45092073c2bc047
DIST xorg-server-1.3.0.0.tar.bz2 5968263 RMD160 1a4fecd73aed0d5adabe84066c24ce69dc2c2dc1 SHA1 6f9645fe70da5b6a121f3e8fa6c2fc1e4307390c SHA256 93c656f142f37607c15372dd24c5de9eab82cd79c5d60449174a928d345c2975
DIST xorg-server-1.5.3.tar.bz2 5622625 RMD160 dc0c552e031963070b7a315ea4499810021d0eed SHA1 177529b6d7191a73df6abf2990cd7708398a8d81 SHA256 a680174f54be7763819e5275c5d5d44fc9e9b6f8e9351dd45c150eb4c182d5bb
EBUILD vnc-4.1.2-r4.ebuild 4738 RMD160 8224b9a825cc21a502fc92ef327056db3c616d64 SHA1 d8ae28cc5e54cfb2c82410d817db34a1044630fa SHA256 335d4a8039f32e1411c8b3625da2080f56be055ff99267740303223350482206
EBUILD vnc-4.1.2-r5.ebuild 5422 RMD160 ac97d1c3de1c254c363c10af7751823a0f560fbc SHA1 ff29020ebf1764b214b81f702551c6cb2ba85b0b SHA256 696e0d6c66ce643a10d987422b443cd7b212b4a5ed44f16376ba81ae1528644a
-MISC ChangeLog 16434 RMD160 b2542bad82510a5c12188dad68e52b3bc6152021 SHA1 902c3618a836138eacab91ad274c96ce08897f3f SHA256 5ee32e073954d73d30ee71ff7221904eb6e31addc4e32153d60e8a2d2476227d
+EBUILD vnc-4.1.3-r1.ebuild 5433 RMD160 453b2b23b6f364560630c8ee938fc1725378eb5f SHA1 a6d225ac86a0d75a47711e0db07850b977b1ce1b SHA256 6b6344e0ed1e1429787269fc4e7a2a4208fab7b99a60a28fe6a99104670dab78
+EBUILD vnc-4.1.3.ebuild 4756 RMD160 1ebd475c2399627486b75f069557a4d12ffe3e8c SHA1 4b9bae74f94cfca59a085e0f9d44e5c0a55658a1 SHA256 c03ccd29cf789390437fbf308b2916e0762885f2b782d8aa76f4edae770ee3e5
+MISC ChangeLog 16596 RMD160 6e23269c9175f3a6467336086d82883c1e948d09 SHA1 7bf3f2401840e66216f43d940b8fe0eace976ce4 SHA256 b70f664185bb93c0cfa1b6847b32c0182f8aa0da2699b767fcec7914af2fc9ee
MISC metadata.xml 353 RMD160 9182601f0c747cc5b0ca5ef851d3badb9df4373b SHA1 446fcb655f047d6c01ed222ab1f22242596eb539 SHA256 1f140f4c66f228965291c2e2945c7ac573a0fb3630bf1c76d012c17240084740
diff --git a/net-misc/vnc/vnc-4.1.3-r1.ebuild b/net-misc/vnc/vnc-4.1.3-r1.ebuild
new file mode 100644
index 000000000000..b25b3f60e436
--- /dev/null
+++ b/net-misc/vnc/vnc-4.1.3-r1.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.3-r1.ebuild,v 1.1 2009/01/17 15:54:34 armin76 Exp $
+
+EAPI="1"
+
+inherit eutils toolchain-funcs multilib autotools
+
+OPENGL_DIR="xorg-x11"
+XSERVER_VERSION="1.5.3"
+PATCH="${PN}-4.1.2-r5-patches-0.1"
+
+MY_P="vnc-4_1_3-unixsrc"
+DESCRIPTION="Remote desktop viewer display system"
+HOMEPAGE="http://www.realvnc.com/"
+SRC_URI="http://ltsp.mirrors.tds.net/pub/ltsp/tarballs/${MY_P}.tar.gz
+ http://ftp.plusline.de/FreeBSD/distfiles/xc/${MY_P}.tar.gz
+ mirror://gentoo/${PATCH}.tar.bz2
+ server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -arm ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="server +xorgmodule"
+
+RDEPEND="sys-libs/zlib
+ media-libs/freetype
+ x11-libs/libSM
+ x11-libs/libXtst
+ app-admin/eselect-opengl
+ server? (
+ x11-libs/libXi
+ x11-libs/libXfont
+ x11-libs/libXmu
+ x11-libs/libxkbfile
+ x11-libs/libXrender
+ x11-apps/xauth
+ x11-apps/xsetroot
+ media-fonts/font-adobe-100dpi
+ media-fonts/font-adobe-75dpi
+ media-fonts/font-alias
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ xorgmodule? ( ~x11-base/xorg-server-${XSERVER_VERSION} )
+ )
+ !net-misc/tightvnc
+ !net-misc/xf4vnc"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ server? (
+ x11-proto/bigreqsproto
+ x11-proto/compositeproto
+ x11-proto/damageproto
+ x11-proto/fixesproto
+ x11-proto/fontsproto
+ x11-proto/randrproto
+ x11-proto/resourceproto
+ x11-proto/scrnsaverproto
+ x11-proto/trapproto
+ x11-proto/videoproto
+ x11-proto/xcmiscproto
+ x11-proto/xineramaproto
+ x11-proto/xf86bigfontproto
+ x11-proto/xf86dgaproto
+ x11-proto/xf86miscproto
+ x11-proto/xf86vidmodeproto
+ >=media-libs/mesa-7.1
+ >=x11-proto/renderproto-0.9.3
+ x11-libs/libpciaccess
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! use server ; then
+ echo
+ einfo "The 'server' USE flag will build vnc's server."
+ einfo "If '-server' is chosen only the client is built to save space."
+ einfo "Stop the build now if you need to add 'server' to USE flags.\n"
+ ebeep
+ epause 5
+ else
+ ewarn "Forcing on xorg-x11 for new enough glxtokens.h..."
+ OLD_IMPLEM="$(eselect opengl show)"
+ eselect opengl set --impl-headers ${OPENGL_DIR}
+ fi
+}
+
+switch_opengl_implem() {
+ # Switch to the xorg implementation.
+ # Use new opengl-update that will not reset user selected
+ # OpenGL interface ...
+ echo
+ eselect opengl set ${OLD_IMPLEM}
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use server ; then
+ mv "${WORKDIR}"/xorg-server-${XSERVER_VERSION} unix/xorg-x11-server-source
+ else
+ rm -f "${WORKDIR}"/patch/*vnc-server*
+ fi
+
+ if use server ; then
+ cd unix
+ mkdir xorg-x11-server-source/hw/vnc
+ cp -RPp xc/programs/Xserver/vnc/Xvnc/xvnc.cc \
+ xc/programs/Xserver/Xvnc.man \
+ xc/programs/Xserver/vnc/*.{h,cc} \
+ xorg-x11-server-source/hw/vnc
+ cp -RPp xorg-x11-server-source/{cfb/cfb.h,hw/vnc}
+ cp -RPp xorg-x11-server-source/{fb/fb.h,hw/vnc}
+ cp -RPp xorg-x11-server-source/{fb/fbrop.h,hw/vnc}
+ sed -i -e 's,xor,c_xor,' -e 's,and,c_and,' \
+ xorg-x11-server-source/hw/vnc/{cfb,fb,fbrop}.h
+ fi
+
+ cd "${S}"
+
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+ epatch "${FILESDIR}"/${PN}-4.1.2-freebsd.patch
+
+ cd common
+ eautoreconf
+ cd ../unix
+ eautoreconf
+ if use server; then
+ cd xorg-x11-server-source
+ eautoreconf
+ fi
+}
+
+src_compile() {
+ cd common
+ econf || die "econf failed"
+ emake || die "emake failed"
+ cd ../unix
+ econf || die "econf failed"
+ emake || die "emake failed"
+
+ if use server ; then
+ cd xorg-x11-server-source
+ econf \
+ --disable-xorg \
+ --disable-xnest --disable-xvfb --disable-dmx \
+ --disable-xwin --disable-xephyr --disable-kdrive \
+ --with-pic \
+ --disable-xorgcfg \
+ --disable-xprint \
+ --disable-static \
+ --disable-composite \
+ --disable-xtrap \
+ --enable-xcsecurity \
+ --with-xkb-output=/usr/share/X11/xkb \
+ --with-rgb-path=/usr/share/X11/rgb.txt \
+ --disable-xevie \
+ --disable-dri2 \
+ --enable-glx \
+ --disable-config-dbus \
+ --disable-config-hal \
+ --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
+ || die "econf server failed"
+ emake || die "emake server failed"
+ fi
+}
+
+src_install() {
+ cd common
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cd ../unix
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newman vncviewer/vncviewer.man vncviewer.1
+ cd ..
+ dodoc README
+
+ doicon "${FILESDIR}"/vncviewer.png
+ make_desktop_entry vncviewer vncviewer vncviewer Network
+
+ if use server ; then
+ cd unix
+ dobin vncserver || die "dobin failed"
+ for f in vncviewer/vncviewer vncpasswd/vncpasswd \
+ vncconfig/vncconfig vncserver x0vncserver/x0vncserver; do
+ mv $f.man $f.1
+ doman $f.1
+ done
+
+ cd xorg-x11-server-source/hw/vnc
+ emake DESTDIR="${D}" install || die "emake install failed"
+ ! use xorgmodule && rm -rf "${D}"/usr/$(get_libdir)/xorg
+
+ newman Xvnc.man Xvnc.1
+ newconfd "${FILESDIR}"/vnc.confd vnc
+ newinitd "${FILESDIR}"/vnc.initd vnc
+
+ rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
+ else
+ cd "${D}"
+ rm usr/bin/x0vncserver
+ rm usr/bin/vncpasswd
+ rm usr/bin/vncconfig
+ fi
+
+ rm "${D}"/usr/$(get_libdir)/librfb.{a,la,so}
+}
+
+pkg_postinst() {
+ use server && switch_opengl_implem
+} \ No newline at end of file
diff --git a/net-misc/vnc/vnc-4.1.3.ebuild b/net-misc/vnc/vnc-4.1.3.ebuild
new file mode 100644
index 000000000000..6e4ca27bb3f3
--- /dev/null
+++ b/net-misc/vnc/vnc-4.1.3.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.3.ebuild,v 1.1 2009/01/17 15:54:34 armin76 Exp $
+
+inherit eutils toolchain-funcs multilib autotools
+
+XSERVER_VERSION="1.3.0.0"
+PATCH="${PN}-4.1.2-r4-patches-0.5"
+
+MY_P="vnc-4_1_3-unixsrc"
+DESCRIPTION="Remote desktop viewer display system"
+HOMEPAGE="http://www.realvnc.com/"
+SRC_URI="http://ltsp.mirrors.tds.net/pub/ltsp/tarballs/${MY_P}.tar.gz
+ http://ftp.plusline.de/FreeBSD/distfiles/xc/${MY_P}.tar.gz
+ mirror://gentoo/${PATCH}.tar.bz2
+ server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 -arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="server"
+
+RDEPEND="sys-libs/zlib
+ media-libs/freetype
+ x11-libs/libSM
+ x11-libs/libXtst
+ server? (
+ x11-libs/libXi
+ x11-libs/libXfont
+ x11-libs/libXmu
+ x11-libs/libxkbfile
+ x11-libs/libXrender
+ x11-apps/xauth
+ x11-apps/xsetroot
+ media-fonts/font-adobe-100dpi
+ media-fonts/font-adobe-75dpi
+ media-fonts/font-alias
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ ~x11-base/xorg-server-${XSERVER_VERSION}
+ )
+ !net-misc/tightvnc
+ !net-misc/xf4vnc"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/xextproto
+ server? (
+ x11-proto/bigreqsproto
+ x11-proto/compositeproto
+ x11-proto/damageproto
+ x11-proto/fixesproto
+ x11-proto/fontsproto
+ x11-proto/randrproto
+ ~x11-proto/renderproto-0.9.2
+ x11-proto/resourceproto
+ x11-proto/scrnsaverproto
+ x11-proto/trapproto
+ x11-proto/videoproto
+ x11-proto/xcmiscproto
+ x11-proto/xineramaproto
+ x11-proto/xf86bigfontproto
+ x11-proto/xf86dgaproto
+ x11-proto/xf86miscproto
+ x11-proto/xf86vidmodeproto
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! use server ; then
+ echo
+ einfo "The 'server' USE flag will build vnc's server."
+ einfo "If '-server' is chosen only the client is built to save space."
+ einfo "Stop the build now if you need to add 'server' to USE flags.\n"
+ ebeep
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use server ; then
+ mv "${WORKDIR}"/xorg-server-${XSERVER_VERSION} unix/xorg-x11-server-source
+ else
+ rm -f "${WORKDIR}"/patch/*vnc-server*
+ fi
+
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+
+ cd common
+ eautoreconf
+ cd ../unix
+ eautoreconf
+
+ if use server ; then
+ cp -RPp xc/programs/Xserver/vnc/Xvnc/xvnc.cc \
+ xc/programs/Xserver/Xvnc.man \
+ xc/programs/Xserver/vnc/*.{h,cc} \
+ xorg-x11-server-source/hw/vnc
+ cp -RPp xorg-x11-server-source/{cfb/cfb.h,hw/vnc}
+ cp -RPp xorg-x11-server-source/{fb/fb.h,hw/vnc}
+ cp -RPp xorg-x11-server-source/{fb/fbrop.h,hw/vnc}
+ sed -i -e 's,xor,c_xor,' -e 's,and,c_and,' \
+ xorg-x11-server-source/hw/vnc/{cfb,fb,fbrop}.h
+ cd xorg-x11-server-source
+ eautoreconf
+ fi
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-4.1.2-freebsd.patch
+}
+
+src_compile() {
+ cd common
+ econf || die "econf failed"
+ emake || die "emake failed"
+ cd ../unix
+ econf || die "econf failed"
+ emake || die "emake failed"
+
+ if use server ; then
+ cd xorg-x11-server-source
+ econf \
+ --enable-xorg \
+ --disable-xnest --disable-xvfb --disable-dmx \
+ --disable-xwin --disable-xephyr --disable-kdrive \
+ --with-pic \
+ --disable-xorgcfg \
+ --disable-xprint \
+ --disable-static \
+ --enable-composite \
+ --enable-xtrap \
+ --enable-xcsecurity \
+ --with-xkb-output=/usr/share/X11/xkb \
+ --with-rgb-path=/usr/share/X11/rgb.txt \
+ --disable-xevie \
+ --disable-dri \
+ --enable-glx \
+ --with-int10=stub \
+ --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
+ || die "econf server failed"
+ emake || die "emake server failed"
+ fi
+}
+
+src_install() {
+ cd common
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cd ../unix
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newman vncviewer/vncviewer.man vncviewer.1
+ cd ..
+ dodoc README
+
+ doicon "${FILESDIR}"/vncviewer.png
+ make_desktop_entry vncviewer vncviewer vncviewer Network
+
+ if use server ; then
+ cd unix
+ dobin vncserver || die "dobin failed"
+ for f in vncviewer/vncviewer vncpasswd/vncpasswd \
+ vncconfig/vncconfig vncserver x0vncserver/x0vncserver; do
+ mv $f.man $f.1
+ doman $f.1
+ done
+
+ cd xorg-x11-server-source/hw/vnc
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newman Xvnc.man Xvnc.1
+ newconfd "${FILESDIR}"/vnc.confd vnc
+ newinitd "${FILESDIR}"/vnc.initd vnc
+
+ rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
+ else
+ cd "${D}"
+ rm usr/bin/x0vncserver
+ rm usr/bin/vncpasswd
+ rm usr/bin/vncconfig
+ fi
+
+ rm "${D}"/usr/$(get_libdir)/librfb.{a,la,so}
+} \ No newline at end of file