summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-03-07 11:32:55 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-03-07 11:32:55 +0000
commit2a89379e6b7f7407ceb11197551d9b517ef8eb4b (patch)
tree1f2d36b87a4d7d63790428f1cf868eb04342e637 /net-misc/vnc
parentVersion bump (diff)
downloadhistorical-2a89379e6b7f7407ceb11197551d9b517ef8eb4b.tar.gz
historical-2a89379e6b7f7407ceb11197551d9b517ef8eb4b.tar.bz2
historical-2a89379e6b7f7407ceb11197551d9b517ef8eb4b.zip
Reverting incomplete dep fix for -r1 ebuild. Adding missing deps for USE=server. Adding opengl useflag for server and the deps that pulls in. Keep opengl enabled by default to mirror previous behaviour.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-misc/vnc')
-rw-r--r--net-misc/vnc/ChangeLog10
-rw-r--r--net-misc/vnc/Manifest5
-rw-r--r--net-misc/vnc/vnc-4.1.3-r1.ebuild3
-rw-r--r--net-misc/vnc/vnc-4.1.3-r2.ebuild216
4 files changed, 229 insertions, 5 deletions
diff --git a/net-misc/vnc/ChangeLog b/net-misc/vnc/ChangeLog
index 29f2eb3501bb..d4cc2619812b 100644
--- a/net-misc/vnc/ChangeLog
+++ b/net-misc/vnc/ChangeLog
@@ -1,6 +1,14 @@
# 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.122 2009/03/07 10:26:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.123 2009/03/07 11:32:55 patrick Exp $
+
+*vnc-4.1.3-r2 (07 Mar 2009)
+
+ 07 Mar 2009; Patrick Lauer <patrick@gentoo.org> vnc-4.1.3-r1.ebuild,
+ +vnc-4.1.3-r2.ebuild:
+ Reverting incomplete dep fix for -r1 ebuild. Adding missing deps for
+ USE=server. Adding opengl useflag for server and the deps that pulls in.
+ Keep opengl enabled by default to mirror previous behaviour.
07 Mar 2009; Patrick Lauer <patrick@gentoo.org> vnc-4.1.3-r1.ebuild:
Adding x11-proto/glproto to deps for USE=server.
diff --git a/net-misc/vnc/Manifest b/net-misc/vnc/Manifest
index a5a75e6e40be..45abc8b2e11f 100644
--- a/net-misc/vnc/Manifest
+++ b/net-misc/vnc/Manifest
@@ -10,7 +10,8 @@ DIST xorg-server-1.3.0.0.tar.bz2 5968263 RMD160 1a4fecd73aed0d5adabe84066c24ce69
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
-EBUILD vnc-4.1.3-r1.ebuild 5454 RMD160 979a645386b0cd811f3c93a4ce345e45907d3dfb SHA1 5abd8b2efc03cd2e94c743b918d8b5b6ac69a558 SHA256 feff7453d4d855f5b1462d05c9b35e0b39639c1bdace7375bc55b8c4de90b587
+EBUILD vnc-4.1.3-r1.ebuild 5434 RMD160 70c80e632e2eeb31b83b837717ee890f32a82309 SHA1 7c6dd0550ef7515134140ac7ea7acf579af57cf6 SHA256 3f289c6462b36100400dd6cb7ea92f57f49ed18810dc4341bc29879478aa5f67
+EBUILD vnc-4.1.3-r2.ebuild 5533 RMD160 e36c731bbdb3506f0f1341feed1331964ab8aee3 SHA1 6d91751d06ad149b0fababe67757d72606e24055 SHA256 511f806dced719fa26207bb1842ccacef4cb433f034fc732cd2a9453b8f0e21e
EBUILD vnc-4.1.3.ebuild 4747 RMD160 29491a6c295a6808129b23f1a4e0b089b281baac SHA1 90d562631f7b53899253362205906187013576bb SHA256 d636a6f037f5e07e9ebd0f3f23431d0a6b2ce8c6b6848cf985148d8c913128db
-MISC ChangeLog 17332 RMD160 91a3e0b283ccbf15c20ef62fbf50694914193aa5 SHA1 9b413b6acee6f1e2282a799692913b8a93f00013 SHA256 e83674bb71d7cec24a94e9bf3fd6d3157ade23613bffb4f6303a9da1c491829e
+MISC ChangeLog 17666 RMD160 6b925a1ea9728ff77575e47972a00e293e508eb5 SHA1 771f9390c1ad02fc0fad664a084dc677502fab25 SHA256 5b3f8e5955baf4bd526888bae92555c54943512f6367957d85e49fd3f63db66e
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
index ee47114bf5a3..c2cf7c1502f5 100644
--- a/net-misc/vnc/vnc-4.1.3-r1.ebuild
+++ b/net-misc/vnc/vnc-4.1.3-r1.ebuild
@@ -1,6 +1,6 @@
# 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.3 2009/03/07 10:26:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.3-r1.ebuild,v 1.4 2009/03/07 11:32:55 patrick Exp $
EAPI="1"
@@ -36,7 +36,6 @@ RDEPEND="sys-libs/zlib
x11-libs/libXrender
x11-apps/xauth
x11-apps/xsetroot
- x11-proto/glproto
media-fonts/font-adobe-100dpi
media-fonts/font-adobe-75dpi
media-fonts/font-alias
diff --git a/net-misc/vnc/vnc-4.1.3-r2.ebuild b/net-misc/vnc/vnc-4.1.3-r2.ebuild
new file mode 100644
index 000000000000..47407a1de408
--- /dev/null
+++ b/net-misc/vnc/vnc-4.1.3-r2.ebuild
@@ -0,0 +1,216 @@
+# 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-r2.ebuild,v 1.1 2009/03/07 11:32:55 patrick 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="+opengl 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
+ x11-proto/dri2proto
+ x11-proto/xf86driproto
+ opengl? ( x11-proto/glproto )
+ 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 \
+ $(use_enable opengl 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
+}