Initial import, ebuild written by me.
authorSven Wegener <swegener@gentoo.org>
Mon, 22 Nov 2004 00:57:41 +0000 (00:57 +0000)
committerSven Wegener <swegener@gentoo.org>
Mon, 22 Nov 2004 00:57:41 +0000 (00:57 +0000)
x11-misc/x11vnc/ChangeLog [new file with mode: 0644]
x11-misc/x11vnc/Manifest [new file with mode: 0644]
x11-misc/x11vnc/files/0.6.2-configure.ac.patch [new file with mode: 0644]
x11-misc/x11vnc/files/digest-x11vnc-0.6.2 [new file with mode: 0644]
x11-misc/x11vnc/metadata.xml [new file with mode: 0644]
x11-misc/x11vnc/x11vnc-0.6.2.ebuild [new file with mode: 0644]

diff --git a/x11-misc/x11vnc/ChangeLog b/x11-misc/x11vnc/ChangeLog
new file mode 100644 (file)
index 0000000..32a889d
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for x11-misc/x11vnc
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/ChangeLog,v 1.1 2004/11/22 00:57:41 swegener Exp $
+
+*x11vnc-0.6.2 (22 Nov 2004)
+
+  22 Nov 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+  +files/0.6.2-configure.ac.patch, +x11vnc-0.6.2.ebuild:
+  Initial import, ebuild written by me.
+
diff --git a/x11-misc/x11vnc/Manifest b/x11-misc/x11vnc/Manifest
new file mode 100644 (file)
index 0000000..96dd8da
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 dc997457b6c24df5253530f22f7433d4 x11vnc-0.6.2.ebuild 1217
+MD5 f2646e982a0f8dfb43360aa8c9cca78c ChangeLog 397
+MD5 8845b35c56be21370ef600f1b3eca775 metadata.xml 470
+MD5 2933f74d7e72b3c58eba75f7448c1564 files/digest-x11vnc-0.6.2 64
+MD5 bed373def7254533185032fe28580512 files/0.6.2-configure.ac.patch 826
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBoTmLI1lqEGTUzyQRAvZXAJ9JXnF3Y66wmGUvWArZv4DiB07/XQCg1lJ7
+fgcWrvr/0w1nRLsITC4MO58=
+=pIGb
+-----END PGP SIGNATURE-----
diff --git a/x11-misc/x11vnc/files/0.6.2-configure.ac.patch b/x11-misc/x11vnc/files/0.6.2-configure.ac.patch
new file mode 100644 (file)
index 0000000..21665d0
--- /dev/null
@@ -0,0 +1,22 @@
+diff -Nur x11vnc-0.6.2.orig/configure.ac x11vnc-0.6.2/configure.ac
+--- x11vnc-0.6.2.orig/configure.ac     2004-11-16 17:39:24.860061978 +0100
++++ x11vnc-0.6.2/configure.ac  2004-11-16 17:39:39.745018698 +0100
+@@ -14,6 +14,10 @@
+ AC_PROG_MAKE_SET
+ AC_PROG_RANLIB
+ 
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h])
++
+ # Options
+ AH_TEMPLATE(BACKCHANNEL, [Enable BackChannel communication])
+ AC_ARG_WITH(backchannel,
+@@ -108,7 +112,3 @@
+ AC_SUBST(SDL_LIBS)
+-
+-# Checks for header files.
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h])
+ 
+ # Checks for typedefs, structures, and compiler characteristics.
diff --git a/x11-misc/x11vnc/files/digest-x11vnc-0.6.2 b/x11-misc/x11vnc/files/digest-x11vnc-0.6.2
new file mode 100644 (file)
index 0000000..e917d75
--- /dev/null
@@ -0,0 +1 @@
+MD5 e8d2e11332624dcf3eea992248dd8f68 x11vnc-0.6.2.tar.gz 350243
diff --git a/x11-misc/x11vnc/metadata.xml b/x11-misc/x11vnc/metadata.xml
new file mode 100644 (file)
index 0000000..17b040b
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer>
+               <email>swegener@gentoo.org</email>
+               <description>Primary Maintainer</description>
+       </maintainer>
+       <longdescription>
+The primary goal of this program is to create a portable and simple command-line
+server utility that allows a VNC viewer to connect to an actual X display.
+       </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/x11vnc/x11vnc-0.6.2.ebuild b/x11-misc/x11vnc/x11vnc-0.6.2.ebuild
new file mode 100644 (file)
index 0000000..ad444a8
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/x11vnc-0.6.2.ebuild,v 1.1 2004/11/22 00:57:41 swegener Exp $
+
+inherit eutils
+
+DESCRIPTION="A VNC server for real X displays"
+HOMEPAGE="http://www.karlrunge.com/x11vnc/"
+SRC_URI="mirror://sourceforge/libvncserver/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="jpeg zlib"
+
+RDEPEND="virtual/x11
+       zlib? ( sys-libs/zlib )
+       jpeg? (
+               media-libs/jpeg
+               sys-libs/zlib
+       )"
+DEPEND="${RDEPEND}
+       sys-devel/autoconf"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Hack to avoid running all autotools
+       touch -r configure configure.timestamp
+       touch -r configure.ac configure.ac.timestamp
+
+       epatch ${FILESDIR}/${PV}-configure.ac.patch
+       WANT_AUTOCONF="2.5" autoconf || die "autoconf failed"
+
+       touch -r configure.timestamp configure
+       touch -r configure.ac.timestamp configure.ac
+}
+
+src_compile() {
+       econf \
+               $(use_with jpeg) \
+               $(use_with jpeg zlib) \
+               $(use_with zlib) \
+               || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR=${D} install || die "make install failed"
+       dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}