summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-04-14 15:43:29 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-04-14 15:43:29 +0000
commit0081a13d18fa6643d9df500028ed51fb42eb7fc0 (patch)
tree3f6bb51e25cba161bf519f909b70a97ee15fd744 /net-misc
parentit is better to have a revision bump here so we can avoid any file collision ... (diff)
downloadhistorical-0081a13d18fa6643d9df500028ed51fb42eb7fc0.tar.gz
historical-0081a13d18fa6643d9df500028ed51fb42eb7fc0.tar.bz2
historical-0081a13d18fa6643d9df500028ed51fb42eb7fc0.zip
Version bump
Package-Manager: portage-2.1.6.7/cvs/Linux ia64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tigervnc/ChangeLog8
-rw-r--r--net-misc/tigervnc/Manifest5
-rw-r--r--net-misc/tigervnc/tigervnc-0.0.90_p3751.ebuild184
3 files changed, 195 insertions, 2 deletions
diff --git a/net-misc/tigervnc/ChangeLog b/net-misc/tigervnc/ChangeLog
index 4a6ba83abdc6..ee9cdd7766d3 100644
--- a/net-misc/tigervnc/ChangeLog
+++ b/net-misc/tigervnc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/tigervnc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.3 2009/03/12 17:27:04 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.4 2009/04/14 15:43:29 armin76 Exp $
+
+*tigervnc-0.0.90_p3751 (14 Apr 2009)
+
+ 14 Apr 2009; Raúl Porcel <armin76@gentoo.org>
+ +tigervnc-0.0.90_p3751.ebuild:
+ Version bump
12 Mar 2009; Raúl Porcel <armin76@gentoo.org> files/vncviewer.png:
Change the vncviewer icon
diff --git a/net-misc/tigervnc/Manifest b/net-misc/tigervnc/Manifest
index 58ec8841f1b0..061dee3f2ba1 100644
--- a/net-misc/tigervnc/Manifest
+++ b/net-misc/tigervnc/Manifest
@@ -2,8 +2,11 @@ AUX tigervnc.confd 346 RMD160 07a4541c0d9ef5611afafa8db75d2caf2e7ab051 SHA1 a3b0
AUX tigervnc.initd 1558 RMD160 644d0cb5d7ea3db9233f293662289c40475822da SHA1 2c86caa586c62b090712381be24ac6c5ad2f93e9 SHA256 07db91b7df6dbc02c6e8efe3682143c0d5a418546eca4eb3d017f3f54a3982c8
AUX vncviewer.png 4958 RMD160 24ca257dac5de8d97672d943ee47f310af4fe837 SHA1 2f12a12a0f105c6f2ecc9aa306c63719f07b0062 SHA256 e0828aeb92ccaaf93e690e9ee5e17803de1cb140d3ca79fb756fe08ebbc4492e
DIST tigervnc-0.0.90-patches-0.1.tar.bz2 4764 RMD160 39e7cf8305b65cc02a0d500e8cdd7b6358ada2c7 SHA1 117ab76404b1c000b22ca7b391363fff2ca416e2 SHA256 2da58f3cc57e972871b80da689e264ab6c74f56f7dd305bd0ef155729745dfdc
+DIST tigervnc-0.0.90-patches-0.2.tar.bz2 4205 RMD160 871418de0c81770f9d6ee4a99e1c146c469fa1ed SHA1 e6cd5fa3d5598c8dbabe65c2507e7dc8716a5ebd SHA256 55027f0b4e3909f9513c500e3dd5c68a7328388da5e11bae8d4369ed7dc916f3
DIST tigervnc-0.0.90_p3631.tar.bz2 3415864 RMD160 29e9e423107a9fc70ea4df71b846b41510b6c46a SHA1 2cc2f6b263703b507204e312e3458246ab8eee85 SHA256 d872d39151dec4fbbe3eedfb6917a4a6bdbd6fdadfed544746b1752214ffb0b4
+DIST tigervnc-0.0.90_p3751.tar.bz2 2711662 RMD160 08fa8bb7bd5a68bc9568ce49408d06250fec3db3 SHA1 4e8e3b9f54ee4dbd71d3a060f4285091257a55a6 SHA256 1adf3ec7bf5c99f1a74fa3c1ea2a91bc1cf0bf8590bf81a3060370f5d7e4083b
DIST xorg-server-1.5.3.tar.bz2 5622625 RMD160 dc0c552e031963070b7a315ea4499810021d0eed SHA1 177529b6d7191a73df6abf2990cd7708398a8d81 SHA256 a680174f54be7763819e5275c5d5d44fc9e9b6f8e9351dd45c150eb4c182d5bb
EBUILD tigervnc-0.0.90_p3631.ebuild 4576 RMD160 d46b2f83418934ed2b7988874b900d9e977cb4d7 SHA1 3f86115a5cd8e72dbf0d98f81f832058b6e7c9f6 SHA256 afd7317bcd0b6c0944607812d2a08f2c3c84694273e8aba642a13ac0370dcea0
-MISC ChangeLog 641 RMD160 67b3cf061265b9ac3ccb65c07d08f805b8969504 SHA1 7a0e6e9e6fcd2130b31f90e147718e61993d2a35 SHA256 a533f3e3f7166a0f9b2c437e6511493bd6ac2c64f35fd134bdbb13af233c35c5
+EBUILD tigervnc-0.0.90_p3751.ebuild 4678 RMD160 675d60eeb341c6c9c92955ea9d21286345112ac0 SHA1 9298db599c3e388b42ed0d83c5feb8311edd47d0 SHA256 431fb74699e9e2e0e4f934f2603fe666e9bce1453c875707a7368b97df6aabdb
+MISC ChangeLog 777 RMD160 fa5aa46f9445aec4308b2b351a7a6e92859096fc SHA1 123c976b5f9b5f081a648343f9029b35e89fddec SHA256 930e1e44c9f15722a3966d754411495cdac4cc6b0cc0498fa738da60a12a78a3
MISC metadata.xml 358 RMD160 02e6829cd6be9fce91fefadf5e0c04a989f36615 SHA1 351fe95fb94b3892226413dccf261f1da0b68960 SHA256 1048c34a670204e65435b0fa3d5782658ad72d41aea92a694b2a22ebc3f61713
diff --git a/net-misc/tigervnc/tigervnc-0.0.90_p3751.ebuild b/net-misc/tigervnc/tigervnc-0.0.90_p3751.ebuild
new file mode 100644
index 000000000000..761d958cc360
--- /dev/null
+++ b/net-misc/tigervnc/tigervnc-0.0.90_p3751.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-0.0.90_p3751.ebuild,v 1.1 2009/04/14 15:43:29 armin76 Exp $
+
+EAPI="1"
+
+inherit eutils toolchain-funcs multilib autotools
+
+XSERVER_VERSION="1.5.3"
+PATCH="${P/_p*/}-patches-0.2"
+OPENGL_DIR="xorg-x11"
+
+DESCRIPTION="Remote desktop viewer display system"
+HOMEPAGE="http://www.tigervnc.org"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~armin76/dist/${P}.tar.bz2
+ mirror://gentoo/${PATCH}.tar.bz2
+ http://dev.gentoo.org/~armin76/dist/${PATCH}.tar.bz2
+ server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+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
+ 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/vnc
+ !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/dri2proto
+ 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/xf86driproto
+ x11-proto/xf86miscproto
+ x11-proto/xf86vidmodeproto
+ opengl? ( x11-proto/glproto )
+ >=media-libs/mesa-7.1
+ >=x11-proto/renderproto-0.9.3
+ x11-libs/libpciaccess
+ )"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ if ! use server ; then
+ echo
+ einfo "The 'server' USE flag will build tigervnc'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
+ cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/* unix/xserver
+# else
+# rm -f "${WORKDIR}"/patch/*tigervnc-server*
+ fi
+
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
+
+ cd unix
+ eautoreconf
+ if use server ; then
+ epatch xserver15.patch
+ cd xserver
+ eautoreconf
+ fi
+}
+
+src_compile() {
+ cd unix
+ econf || die "econf failed"
+ emake || die "emake failed"
+
+ if use server ; then
+ cd xserver
+ 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 \
+ --disable-{a,c,m}fb \
+ --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
+ --enable-install-libxf86config \
+ --disable-xevie \
+ --disable-dri2 \
+ --disable-config-dbus \
+ --disable-config-hal \
+ $(use_enable opengl glx) \
+ || die "econf server failed"
+ emake || die "emake server failed"
+ fi
+}
+
+src_install() {
+ cd unix
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newman vncviewer/vncviewer.man vncviewer.1
+ dodoc README
+
+ doicon "${FILESDIR}"/vncviewer.png
+ make_desktop_entry vncviewer vncviewer vncviewer Network
+
+ if use server ; then
+ 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 xserver/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}"/${PN}.confd ${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+
+ rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
+ else
+ cd "${D}"
+ rm usr/bin/vncconfig
+ rm usr/bin/vncpasswd
+ rm usr/bin/vncserver
+ rm usr/bin/x0vncserver
+ fi
+}
+
+pkg_postinst() {
+ use server && switch_opengl_implem
+}