diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-04-16 07:53:50 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-04-16 07:53:50 +0000 |
commit | e25ab7d347ce5d812981f9f828fd4c4d1d34f7b1 (patch) | |
tree | 4b2ccec73afe3b747724ff2e3b8620b7013a2f64 /net-misc/vnc | |
parent | Stable for HPPA (bug #264897). (diff) | |
download | historical-e25ab7d347ce5d812981f9f828fd4c4d1d34f7b1.tar.gz historical-e25ab7d347ce5d812981f9f828fd4c4d1d34f7b1.tar.bz2 historical-e25ab7d347ce5d812981f9f828fd4c4d1d34f7b1.zip |
ia64/sh stable wrt #264897
Package-Manager: portage-2.1.6.7/cvs/Linux ia64
Diffstat (limited to 'net-misc/vnc')
-rw-r--r-- | net-misc/vnc/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/vnc/Manifest | 8 | ||||
-rw-r--r-- | net-misc/vnc/vnc-4.1.2-r4.ebuild | 185 | ||||
-rw-r--r-- | net-misc/vnc/vnc-4.1.2-r5.ebuild | 213 | ||||
-rw-r--r-- | net-misc/vnc/vnc-4.1.3-r1.ebuild | 213 | ||||
-rw-r--r-- | net-misc/vnc/vnc-4.1.3-r2.ebuild | 4 |
6 files changed, 9 insertions, 620 deletions
diff --git a/net-misc/vnc/ChangeLog b/net-misc/vnc/ChangeLog index a2f87d1d68ba..20fec5c0544d 100644 --- a/net-misc/vnc/ChangeLog +++ b/net-misc/vnc/ChangeLog @@ -1,6 +1,10 @@ # 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.129 2009/04/16 07:30:27 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.130 2009/04/16 07:53:50 armin76 Exp $ + + 16 Apr 2009; Raúl Porcel <armin76@gentoo.org> -vnc-4.1.2-r4.ebuild, + -vnc-4.1.2-r5.ebuild, -vnc-4.1.3-r1.ebuild, vnc-4.1.3-r2.ebuild: + ia64/sh stable wrt #264897 16 Apr 2009; Jeroen Roovers <jer@gentoo.org> vnc-4.1.3-r2.ebuild: Stable for HPPA (bug #264897). diff --git a/net-misc/vnc/Manifest b/net-misc/vnc/Manifest index e463cda4c830..f81903482503 100644 --- a/net-misc/vnc/Manifest +++ b/net-misc/vnc/Manifest @@ -4,14 +4,10 @@ AUX vnc.initd 1538 RMD160 935834931e769ddc58235917d4c891cd495c4d8b SHA1 42760322 AUX vncviewer.png 1048 RMD160 ad99643d65a77044cac96a31dc46b16f8273b4c7 SHA1 e463d04d7fbbece2495ad424feec1fe009e20a16 SHA256 0780cf53e78b43849bdb9f31ad0103bb4dd98489ed59c76e5c50cf0a6ff3db41 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 -EBUILD vnc-4.1.3-r1.ebuild 5440 RMD160 2dbb82012a5c7825ea25750f9298d5849cc71609 SHA1 13b2d420e7b1d0537ee063de83ee6df2efb76b96 SHA256 9988ab3eb1a4d3930e627dbe4c1c5ef4c4520c8c45cded18a4817e47109a93ec -EBUILD vnc-4.1.3-r2.ebuild 5531 RMD160 dc26208fe5eca70356c764aa09e5affa0306c493 SHA1 9a52064844c1b46d043e2363e9bd35c7266a2de3 SHA256 b7d733c47e80a7bd7a4422214ebd5c2ed55633faaa625ce4a7d54136dc4c3596 +EBUILD vnc-4.1.3-r2.ebuild 5537 RMD160 a238ada6dcca51745459825605f97b65868c4642 SHA1 522e4f0303a8809f9fdd8c238b49960719d5c6ea SHA256 7f35e5d375e5618cfca2d6498d5f33d959baf4e05ee9dca2ce97d6d4d3a55aa2 EBUILD vnc-4.1.3.ebuild 4747 RMD160 29491a6c295a6808129b23f1a4e0b089b281baac SHA1 90d562631f7b53899253362205906187013576bb SHA256 d636a6f037f5e07e9ebd0f3f23431d0a6b2ce8c6b6848cf985148d8c913128db -MISC ChangeLog 18277 RMD160 4e0729b93b84f6b802c224abb081f05d8a904f49 SHA1 beaf0f8d63b49feadf2a93157f867e248149059f SHA256 58b6053fe0c62058d7466bcff2cbf25a5c77793c71a0cdbeb34f7087cf44778e +MISC ChangeLog 18449 RMD160 6751e867dee68929ad732c7db430044b42865380 SHA1 6a5f25baaa684fbaee324415c7ae0ad3cc77bb48 SHA256 9859908b7e1830b6392f01a7382fccfe8febcc8b0b8a1848c1320a1c173349b7 MISC metadata.xml 353 RMD160 9182601f0c747cc5b0ca5ef851d3badb9df4373b SHA1 446fcb655f047d6c01ed222ab1f22242596eb539 SHA256 1f140f4c66f228965291c2e2945c7ac573a0fb3630bf1c76d012c17240084740 diff --git a/net-misc/vnc/vnc-4.1.2-r4.ebuild b/net-misc/vnc/vnc-4.1.2-r4.ebuild deleted file mode 100644 index 0bb6e457e139..000000000000 --- a/net-misc/vnc/vnc-4.1.2-r4.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2-r4.ebuild,v 1.15 2008/10/05 20:55:14 armin76 Exp $ - -inherit eutils toolchain-funcs multilib autotools - -XSERVER_VERSION="1.3.0.0" -PATCH="${P}-r4-patches-0.5" - -MY_P="vnc-4_1_2-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}"/${P}-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} -} diff --git a/net-misc/vnc/vnc-4.1.2-r5.ebuild b/net-misc/vnc/vnc-4.1.2-r5.ebuild deleted file mode 100644 index 6be6ae8865e8..000000000000 --- a/net-misc/vnc/vnc-4.1.2-r5.ebuild +++ /dev/null @@ -1,213 +0,0 @@ -# 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.2-r5.ebuild,v 1.6 2009/01/05 01:19:33 mr_bones_ Exp $ - -EAPI="1" - -inherit eutils toolchain-funcs multilib autotools - -OPENGL_DIR="xorg-x11" -XSERVER_VERSION="1.5.3" -PATCH="${P}-r5-patches-0.1" - -MY_P="vnc-4_1_2-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}"/${P}-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 -} diff --git a/net-misc/vnc/vnc-4.1.3-r1.ebuild b/net-misc/vnc/vnc-4.1.3-r1.ebuild deleted file mode 100644 index 782953f5a2a8..000000000000 --- a/net-misc/vnc/vnc-4.1.3-r1.ebuild +++ /dev/null @@ -1,213 +0,0 @@ -# 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.5 2009/04/13 21:06:31 ranger 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 ~ppc64 ~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 -} diff --git a/net-misc/vnc/vnc-4.1.3-r2.ebuild b/net-misc/vnc/vnc-4.1.3-r2.ebuild index bcecbce1895a..073039c3ba07 100644 --- a/net-misc/vnc/vnc-4.1.3-r2.ebuild +++ b/net-misc/vnc/vnc-4.1.3-r2.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-r2.ebuild,v 1.7 2009/04/16 07:30:27 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.3-r2.ebuild,v 1.8 2009/04/16 07:53:50 armin76 Exp $ EAPI="1" @@ -20,7 +20,7 @@ SRC_URI="http://ltsp.mirrors.tds.net/pub/ltsp/tarballs/${MY_P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 -arm hppa ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd" +KEYWORDS="amd64 -arm hppa ia64 ppc ~ppc64 sh sparc x86 ~x86-fbsd" IUSE="+opengl server +xorgmodule" RDEPEND="sys-libs/zlib |