summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2012-02-19 15:30:40 +0000
committerRaúl Porcel <armin76@gentoo.org>2012-02-19 15:30:40 +0000
commit3bf94137d6efb12276692921207b3e431a28b93f (patch)
tree88d4dedb7d84e4fd2893917bb23053264af1cda1 /net-misc
parentAdding rpmdevtoos: Collection of rpm packaging related utilities (diff)
downloadhistorical-3bf94137d6efb12276692921207b3e431a28b93f.tar.gz
historical-3bf94137d6efb12276692921207b3e431a28b93f.tar.bz2
historical-3bf94137d6efb12276692921207b3e431a28b93f.zip
alpha/ia64/sh/sparc stable wrt #394395, remove old
Package-Manager: portage-2.1.10.44/cvs/Linux ia64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tigervnc/ChangeLog7
-rw-r--r--net-misc/tigervnc/Manifest13
-rw-r--r--net-misc/tigervnc/tigervnc-1.1.0-r1.ebuild183
-rw-r--r--net-misc/tigervnc/tigervnc-1.1.0-r2.ebuild184
-rw-r--r--net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild4
-rw-r--r--net-misc/tigervnc/tigervnc-1.1.0.ebuild182
6 files changed, 13 insertions, 560 deletions
diff --git a/net-misc/tigervnc/ChangeLog b/net-misc/tigervnc/ChangeLog
index 25293da60962..dc0ec1c56b6e 100644
--- a/net-misc/tigervnc/ChangeLog
+++ b/net-misc/tigervnc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tigervnc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.118 2012/01/08 15:24:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.119 2012/02/19 15:30:40 armin76 Exp $
+
+ 19 Feb 2012; Raúl Porcel <armin76@gentoo.org> -tigervnc-1.1.0.ebuild,
+ -tigervnc-1.1.0-r1.ebuild, -tigervnc-1.1.0-r2.ebuild,
+ tigervnc-1.1.0-r3.ebuild:
+ alpha/ia64/sh/sparc stable wrt #394395, remove old
*tigervnc-1.1.0-r3 (08 Jan 2012)
diff --git a/net-misc/tigervnc/Manifest b/net-misc/tigervnc/Manifest
index 43648cab3fd9..b96febe3154a 100644
--- a/net-misc/tigervnc/Manifest
+++ b/net-misc/tigervnc/Manifest
@@ -12,16 +12,13 @@ DIST tigervnc.png 4958 RMD160 24ca257dac5de8d97672d943ee47f310af4fe837 SHA1 2f12
DIST xorg-server-1.10.4.tar.bz2 5386174 RMD160 13eeaf7497e63ecddba46010c075d27121e18aae SHA1 857d6377025c77851a3cc5f8ec2ce84164a2fdc6 SHA256 fafc16b97b9a61b62dfaa74e8d336baa0cea752ce9ed8103c4d212baa8031ca5
DIST xorg-server-1.11.2.tar.bz2 4945939 RMD160 cc69cfd86a5a870d1433262dd1445a8603a9266a SHA1 b4de5c599c90bd08d3122866ba68152cd59a880e SHA256 fa415decf02027ca278b06254ccfbcceba2a83c2741405257ebf749da4a73cf2
EBUILD tigervnc-1.0.1_p20110618-r1.ebuild 4550 RMD160 5362609ee5bb47b23ba8fe3219791a697ef49fb1 SHA1 57ccdc74bb801a13d9c431b2c46f3667fcca4087 SHA256 ffbddf412c8e445ebfc03e0a407857fea2422f4639f0fb24c0c5dc7e028e7133
-EBUILD tigervnc-1.1.0-r1.ebuild 4670 RMD160 f196ababfd171aa1a5b9ea4f98a9000092cef27d SHA1 5bc5417aacb485e1067bc80c2b2a74aae182fd91 SHA256 e48c210c727f314f17d24c17206624ebb570dfd08ee4b449e043808a09d402e7
-EBUILD tigervnc-1.1.0-r2.ebuild 4728 RMD160 776777aad54dcfc540711192c919fe33ca8faaa3 SHA1 6d6e4e7b336cea41167e370aa1373b34dcbb7376 SHA256 a08d3c6a10b2242fcf68ad90b16ed729c93b816199c57f070791abfceb114695
-EBUILD tigervnc-1.1.0-r3.ebuild 4819 RMD160 088c9258a1dabfcbc0f045c03602c6a2dad07258 SHA1 d8670f7b923ac7bf3c1b4232823b80b93b710096 SHA256 e56a5643194c92897c33570b3d98f4db55c5366994e6fa961b411d0da8164e05
-EBUILD tigervnc-1.1.0.ebuild 4632 RMD160 34025ade33219e6e7ce41334e46bf9af127389d6 SHA1 622f189aff6a6c629f36eef34f97b8f3c30e9476 SHA256 c3110fb5cd0671a28e707a6445a539f123e13c8eb7563e9d274daf261c3ca3e3
-MISC ChangeLog 15717 RMD160 1c7e60187a7b8a9e2cb76f52cd130ab13dc4d49a SHA1 615ac97231bcba6dae0e0fcadf3276682fa83ceb SHA256 59ad18af5092dadd9b8a17571843e83ee612b85dcb7f8a95443513276f40ba43
+EBUILD tigervnc-1.1.0-r3.ebuild 4815 RMD160 12989c80deced4fd1868953ed9c60627d25f0bc8 SHA1 85bd9ce48ec61bf89023bafed199903240d67ace SHA256 8ba74fe22af0dcaa906193c3f2633ad7cce3245eeb0fa78d5b15853c6dd045ed
+MISC ChangeLog 15928 RMD160 728c2c4acc8b18ff0c781cf3aacc96103bb133f1 SHA1 c03fe0a460f37a57a2bb941337b0d6d94350e1b0 SHA256 4cdbaa6ea8ec83bc5276f098ab56b2e92e156e979de82f53540fe48a21d636f1
MISC metadata.xml 335 RMD160 a1f13f76a1f6b93bfcda75e10afa92831f24e1a4 SHA1 7030f47cbe62c52bde156cacf6f123487ea7bee3 SHA256 821ea06553b929fa98b219ad2f17ca84dda361965182f46e030ddd3b2d950209
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk8JtU4ACgkQuQc30/atMkBqjACgps7uQqqTDzU/XetBtrZpTSNM
-PXkAnilepgNHjBQih5Fz0amdg+4dkcFS
-=OU3x
+iEYEARECAAYFAk9BFacACgkQuQc30/atMkD9FACgi37+D9IRE1zpe4Qbs7bu2mhc
+48oAmwUj1WyRXR7nRuC/RIBk69XNO0KV
+=MvOY
-----END PGP SIGNATURE-----
diff --git a/net-misc/tigervnc/tigervnc-1.1.0-r1.ebuild b/net-misc/tigervnc/tigervnc-1.1.0-r1.ebuild
deleted file mode 100644
index b6c3a6894baa..000000000000
--- a/net-misc/tigervnc/tigervnc-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0-r1.ebuild,v 1.6 2011/12/27 21:15:45 maekke Exp $
-
-EAPI="1"
-
-inherit eutils toolchain-funcs multilib autotools
-
-XSERVER_VERSION="1.11.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
-SRC_URI="mirror://sourceforge/tigervnc/${P}.tar.gz
- mirror://gentoo/${PN}.png
- 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 ~ppc ~ppc64 ~sh ~sparc x86"
-IUSE="nptl +opengl server +xorgmodule"
-
-RDEPEND="virtual/jpeg
- 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-libs/pixman
- x11-apps/xauth
- x11-apps/xsetroot
- x11-misc/xkeyboard-config
- 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}
- amd64? ( dev-lang/nasm )
- x86? ( dev-lang/nasm )
- >=x11-proto/inputproto-1.5
- >=x11-proto/xextproto-7.0.3
- >=x11-proto/xproto-7.0.13
- server? (
- x11-misc/util-macros
- x11-proto/bigreqsproto
- x11-proto/compositeproto
- x11-proto/damageproto
- x11-proto/dri2proto
- x11-proto/fixesproto
- x11-proto/fontsproto
- >=x11-proto/randrproto-1.2.99
- 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-1.4.10 )
- >=media-libs/mesa-7.1
- >=x11-proto/renderproto-0.9.3
- x11-libs/libpciaccess
- >=x11-libs/xtrans-1.2.2
- )"
-
-#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 ${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
- fi
-
- eautoreconf
- cd unix
-
- if use server ; then
- epatch xserver110.patch
- epatch "${FILESDIR}"/xserver111.patch
- cd xserver
- eautoreconf
- fi
-}
-
-src_compile() {
- econf --without-included-zlib --with-system-jpeg || die "econf failed"
- emake || die "emake failed"
-
- if use server ; then
- cd unix/xserver
- econf \
- --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
- --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
- --disable-static --disable-xinerama \
- --disable-composite \
- --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 \
- --enable-dri2 \
- --disable-config-dbus \
- --disable-config-hal \
- --with-xmlto=no \
- --disable-unit-tests \
- $(use_enable opengl glx) \
- $(use_enable nptl glx-tls) \
- || die "econf server failed"
- emake || die "emake server failed"
- fi
-}
-
-src_install() {
- dodoc README.txt
-
- cd unix
- emake DESTDIR="${D}" install || die "emake install failed"
- newman vncviewer/vncviewer.man vncviewer.1
-
- newicon "${DISTDIR}"/tigervnc.png vncviewer.png
- make_desktop_entry vncviewer vncviewer vncviewer Network
-
- if use server ; then
- cd xserver/hw/vnc
- emake DESTDIR="${D}" install || die "emake install failed"
- ! use xorgmodule && rm -rf "${D}"/usr/$(get_libdir)/xorg
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
-
- rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
- else
- cd "${D}"
- for f in vncserver vncpasswd x0vncserver vncconfig; do
- rm usr/bin/$f
- rm usr/share/man/man1/$f.1
- done
- fi
-}
-
-pkg_postinst() {
- use server && switch_opengl_implem
-}
diff --git a/net-misc/tigervnc/tigervnc-1.1.0-r2.ebuild b/net-misc/tigervnc/tigervnc-1.1.0-r2.ebuild
deleted file mode 100644
index b62d5c1cd841..000000000000
--- a/net-misc/tigervnc/tigervnc-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0-r2.ebuild,v 1.1 2012/01/01 11:57:56 armin76 Exp $
-
-EAPI="1"
-
-inherit eutils toolchain-funcs multilib autotools
-
-XSERVER_VERSION="1.11.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
-SRC_URI="mirror://sourceforge/tigervnc/${P}.tar.gz
- mirror://gentoo/${PN}.png
- 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 ~ppc ~ppc64 ~sh ~sparc x86"
-IUSE="nptl +opengl server +xorgmodule"
-
-RDEPEND="virtual/jpeg
- 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-libs/pixman
- x11-apps/xauth
- x11-apps/xsetroot
- x11-misc/xkeyboard-config
- 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}
- amd64? ( dev-lang/nasm )
- x86? ( dev-lang/nasm )
- >=x11-proto/inputproto-1.5
- >=x11-proto/xextproto-7.0.3
- >=x11-proto/xproto-7.0.13
- server? (
- x11-misc/util-macros
- x11-proto/bigreqsproto
- x11-proto/compositeproto
- x11-proto/damageproto
- x11-proto/dri2proto
- x11-proto/fixesproto
- x11-proto/fontsproto
- >=x11-proto/randrproto-1.2.99
- 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-1.4.10 )
- >=media-libs/mesa-7.1
- >=x11-proto/renderproto-0.9.3
- x11-libs/libpciaccess
- >=x11-libs/xtrans-1.2.2
- )"
-
-#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 ${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
- fi
-
- eautoreconf
- cd unix
-
- if use server ; then
- epatch xserver110.patch
- epatch "${FILESDIR}"/xserver111.patch
- cd xserver
- epatch "${FILESDIR}"/1.1.0-export_missing_symbol.patch
- eautoreconf
- fi
-}
-
-src_compile() {
- econf --without-included-zlib --with-system-jpeg || die "econf failed"
- emake || die "emake failed"
-
- if use server ; then
- cd unix/xserver
- econf \
- --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
- --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
- --disable-static --disable-xinerama \
- --disable-composite \
- --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 \
- --enable-dri2 \
- --disable-config-dbus \
- --disable-config-hal \
- --with-xmlto=no \
- --disable-unit-tests \
- $(use_enable opengl glx) \
- $(use_enable nptl glx-tls) \
- || die "econf server failed"
- emake || die "emake server failed"
- fi
-}
-
-src_install() {
- dodoc README.txt
-
- cd unix
- emake DESTDIR="${D}" install || die "emake install failed"
- newman vncviewer/vncviewer.man vncviewer.1
-
- newicon "${DISTDIR}"/tigervnc.png vncviewer.png
- make_desktop_entry vncviewer vncviewer vncviewer Network
-
- if use server ; then
- cd xserver/hw/vnc
- emake DESTDIR="${D}" install || die "emake install failed"
- ! use xorgmodule && rm -rf "${D}"/usr/$(get_libdir)/xorg
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
-
- rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
- else
- cd "${D}"
- for f in vncserver vncpasswd x0vncserver vncconfig; do
- rm usr/bin/$f
- rm usr/share/man/man1/$f.1
- done
- fi
-}
-
-pkg_postinst() {
- use server && switch_opengl_implem
-}
diff --git a/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild b/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild
index af3f2afebdb2..5a80658e20f5 100644
--- a/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild,v 1.1 2012/01/08 15:24:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild,v 1.2 2012/02/19 15:30:40 armin76 Exp $
EAPI="1"
@@ -19,7 +19,7 @@ SRC_URI="mirror://sourceforge/tigervnc/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 sh sparc x86"
IUSE="nptl +opengl server +xorgmodule"
RDEPEND="virtual/jpeg
diff --git a/net-misc/tigervnc/tigervnc-1.1.0.ebuild b/net-misc/tigervnc/tigervnc-1.1.0.ebuild
deleted file mode 100644
index a77afc64ac8c..000000000000
--- a/net-misc/tigervnc/tigervnc-1.1.0.ebuild
+++ /dev/null
@@ -1,182 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0.ebuild,v 1.1 2011/11/12 18:05:41 armin76 Exp $
-
-EAPI="1"
-
-inherit eutils toolchain-funcs multilib autotools
-
-XSERVER_VERSION="1.10.4"
-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
-SRC_URI="mirror://sourceforge/tigervnc/${P}.tar.gz
- mirror://gentoo/${PN}.png
- 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 ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE="nptl +opengl server +xorgmodule"
-
-RDEPEND="virtual/jpeg
- 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-libs/pixman
- x11-apps/xauth
- x11-apps/xsetroot
- x11-misc/xkeyboard-config
- 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}
- amd64? ( dev-lang/nasm )
- x86? ( dev-lang/nasm )
- >=x11-proto/inputproto-1.5
- >=x11-proto/xextproto-7.0.3
- >=x11-proto/xproto-7.0.13
- server? (
- x11-misc/util-macros
- x11-proto/bigreqsproto
- x11-proto/compositeproto
- x11-proto/damageproto
- x11-proto/dri2proto
- x11-proto/fixesproto
- x11-proto/fontsproto
- >=x11-proto/randrproto-1.2.99
- 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-1.4.10 )
- >=media-libs/mesa-7.1
- >=x11-proto/renderproto-0.9.3
- x11-libs/libpciaccess
- >=x11-libs/xtrans-1.2.2
- )"
-
-#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 ${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
- fi
-
- eautoreconf
- cd unix
-
- if use server ; then
- epatch xserver110.patch
- cd xserver
- eautoreconf
- fi
-}
-
-src_compile() {
- econf --without-included-zlib --with-system-jpeg || die "econf failed"
- emake || die "emake failed"
-
- if use server ; then
- cd unix/xserver
- econf \
- --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
- --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
- --disable-static --disable-xinerama \
- --disable-composite \
- --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 \
- --enable-dri2 \
- --disable-config-dbus \
- --disable-config-hal \
- --with-xmlto=no \
- --disable-unit-tests \
- $(use_enable opengl glx) \
- $(use_enable nptl glx-tls) \
- || die "econf server failed"
- emake || die "emake server failed"
- fi
-}
-
-src_install() {
- dodoc README.txt
-
- cd unix
- emake DESTDIR="${D}" install || die "emake install failed"
- newman vncviewer/vncviewer.man vncviewer.1
-
- newicon "${DISTDIR}"/tigervnc.png vncviewer.png
- make_desktop_entry vncviewer vncviewer vncviewer Network
-
- if use server ; then
- cd xserver/hw/vnc
- emake DESTDIR="${D}" install || die "emake install failed"
- ! use xorgmodule && rm -rf "${D}"/usr/$(get_libdir)/xorg
-
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
-
- rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
- else
- cd "${D}"
- for f in vncserver vncpasswd x0vncserver vncconfig; do
- rm usr/bin/$f
- rm usr/share/man/man1/$f.1
- done
- fi
-}
-
-pkg_postinst() {
- use server && switch_opengl_implem
-}