diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-04 18:40:25 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-04 18:40:25 +0000 |
commit | 354946491290b454242911d801d476f6d16c3a4a (patch) | |
tree | ed59cd764f14a7f3e5b0b7bd2ad1f83e685d3d2c /net-misc/tightvnc | |
parent | Fix nls support (diff) | |
download | historical-354946491290b454242911d801d476f6d16c3a4a.tar.gz historical-354946491290b454242911d801d476f6d16c3a4a.tar.bz2 historical-354946491290b454242911d801d476f6d16c3a4a.zip |
version bump thanks to armin76
Package-Manager: portage-2.1.2_pre2-r3
Diffstat (limited to 'net-misc/tightvnc')
-rw-r--r-- | net-misc/tightvnc/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/tightvnc/Manifest | 36 | ||||
-rw-r--r-- | net-misc/tightvnc/files/digest-tightvnc-1.3.8 | 3 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.3.8-amd64.patch | 150 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.3.8-darwin.patch | 24 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.3.8-imake-tmpdir.patch | 37 | ||||
-rw-r--r-- | net-misc/tightvnc/files/tightvnc-1.3.8-pathfixes.patch | 23 | ||||
-rw-r--r-- | net-misc/tightvnc/tightvnc-1.3.8.ebuild | 102 |
8 files changed, 378 insertions, 7 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog index d83160a492c6..d3fb91d16cb9 100644 --- a/net-misc/tightvnc/ChangeLog +++ b/net-misc/tightvnc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/tightvnc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.72 2006/08/09 18:48:23 tcort Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.73 2006/10/04 18:40:25 genstef Exp $ + +*tightvnc-1.3.8 (04 Oct 2006) + + 04 Oct 2006; Stefan Schweizer <genstef@gentoo.org> + +files/tightvnc-1.3.8-amd64.patch, +files/tightvnc-1.3.8-darwin.patch, + +files/tightvnc-1.3.8-imake-tmpdir.patch, + +files/tightvnc-1.3.8-pathfixes.patch, +tightvnc-1.3.8.ebuild: + version bump thanks to armin76 09 Aug 2006; Thomas Cort <tcort@gentoo.org> tightvnc-1.2.9-r2.ebuild: Stable on amd64 wrt Bug #138779. diff --git a/net-misc/tightvnc/Manifest b/net-misc/tightvnc/Manifest index 16dc39461101..9cf70eb2879c 100644 --- a/net-misc/tightvnc/Manifest +++ b/net-misc/tightvnc/Manifest @@ -26,6 +26,22 @@ AUX tightvnc-1.2.9-imake-tmpdir.patch 956 RMD160 efa2723e879f96a2176685252854905 MD5 b801cfcb63f9c7c9299dd4919ba332b9 files/tightvnc-1.2.9-imake-tmpdir.patch 956 RMD160 efa2723e879f96a2176685252854905207516120 files/tightvnc-1.2.9-imake-tmpdir.patch 956 SHA256 01c00a5ef8eed18633ed3b800ea23dc08602bdaa2c737e60ea13803243731aef files/tightvnc-1.2.9-imake-tmpdir.patch 956 +AUX tightvnc-1.3.8-amd64.patch 5278 RMD160 555b78e36df77b721699652cc085c037a6d47111 SHA1 125e4c6a7334935bb9e9cf46291b1f1abade98b1 SHA256 e29ad675941ef90a2ef13095e950a63fd67134c9b6ed1cf44a7aa83342c645a9 +MD5 dc6cc8160bc641c7f0907473e1400f6c files/tightvnc-1.3.8-amd64.patch 5278 +RMD160 555b78e36df77b721699652cc085c037a6d47111 files/tightvnc-1.3.8-amd64.patch 5278 +SHA256 e29ad675941ef90a2ef13095e950a63fd67134c9b6ed1cf44a7aa83342c645a9 files/tightvnc-1.3.8-amd64.patch 5278 +AUX tightvnc-1.3.8-darwin.patch 827 RMD160 f1bb43e02807ad8424dabbc284a3a8b8437101f7 SHA1 14a5038444dab48e78d6e677cc1720b54cd918bb SHA256 88308226944e5f15ec217ef25d75d25ce2a97cc00e8eb49f7f5597c85e29859e +MD5 123eaef930daa068bd0b5366ca89f33c files/tightvnc-1.3.8-darwin.patch 827 +RMD160 f1bb43e02807ad8424dabbc284a3a8b8437101f7 files/tightvnc-1.3.8-darwin.patch 827 +SHA256 88308226944e5f15ec217ef25d75d25ce2a97cc00e8eb49f7f5597c85e29859e files/tightvnc-1.3.8-darwin.patch 827 +AUX tightvnc-1.3.8-imake-tmpdir.patch 956 RMD160 efa2723e879f96a2176685252854905207516120 SHA1 5a79393b313205db152a825f245dc2d67d14098a SHA256 01c00a5ef8eed18633ed3b800ea23dc08602bdaa2c737e60ea13803243731aef +MD5 b801cfcb63f9c7c9299dd4919ba332b9 files/tightvnc-1.3.8-imake-tmpdir.patch 956 +RMD160 efa2723e879f96a2176685252854905207516120 files/tightvnc-1.3.8-imake-tmpdir.patch 956 +SHA256 01c00a5ef8eed18633ed3b800ea23dc08602bdaa2c737e60ea13803243731aef files/tightvnc-1.3.8-imake-tmpdir.patch 956 +AUX tightvnc-1.3.8-pathfixes.patch 871 RMD160 aef060a40ba1c79bc8478ddd494283fdb97358ad SHA1 e937e328c4af00206e7d6d723e336e42c9d42512 SHA256 10c2e9d604235443e953a8c13b986d0c212d2cdad6858a54db819a6aa87eabf5 +MD5 248193a5095c87c7b10c1683a7eabb2f files/tightvnc-1.3.8-pathfixes.patch 871 +RMD160 aef060a40ba1c79bc8478ddd494283fdb97358ad files/tightvnc-1.3.8-pathfixes.patch 871 +SHA256 10c2e9d604235443e953a8c13b986d0c212d2cdad6858a54db819a6aa87eabf5 files/tightvnc-1.3.8-pathfixes.patch 871 AUX tightvnc-1.3_alpha7-amd64.patch 5874 RMD160 1f946ae361db97afcfaf9303197cbe5fe2bc137b SHA1 9c35000336f1fdbd7a5089a0683bf2f72be1d659 SHA256 d0e8e0dd1b56f1dac28bc10a20f2af194027c2b3db06eded30efa472b50c1ddf MD5 7f0dcab7d01dfc820fabe9a79872085c files/tightvnc-1.3_alpha7-amd64.patch 5874 RMD160 1f946ae361db97afcfaf9303197cbe5fe2bc137b files/tightvnc-1.3_alpha7-amd64.patch 5874 @@ -62,8 +78,9 @@ AUX x86.patch 1613 RMD160 7ca1fddbfff3f197b0060164b0202308eb31feda SHA1 e4ffd116 MD5 1ddf3e5ec0121aaca487686a7bb6dd55 files/x86.patch 1613 RMD160 7ca1fddbfff3f197b0060164b0202308eb31feda files/x86.patch 1613 SHA256 48cfb696ca4b55f9aa3c9bc647ce474c0dc18d27ce09c5dd1631d5aba78b3391 files/x86.patch 1613 -DIST tightvnc-1.2.9_unixsrc.tar.bz2 1738256 RMD160 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 SHA1 62b55237676bbdc7f08771e6ff72c0f70264f4ee SHA256 c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548 -DIST tightvnc-1.3dev7_unixsrc.tar.bz2 1764364 RMD160 348edffc87254392f8ebcd1e3cc14fffda8b33ba SHA1 7af9cf0c6b5e9dd7487429fc60f320ebdd2e097d SHA256 ed1eed5127e4d04f2cf81ee1d7aaf7cbf5201d80dcd0cf91a8a4ef77de4c6bdb +DIST tightvnc-1.2.9_unixsrc.tar.bz2 1738256 RMD160 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 SHA256 c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548 +DIST tightvnc-1.3.8_unixsrc.tar.bz2 1766473 RMD160 98013a7074c488d1cfc85ea2d7a9665a05ee2431 SHA1 1c733cb8525c6259a9cb6b35ca5a82ba02eb725c SHA256 cd76e1c5c6843fec2a7a5c493158cdb3642eb1ef4caecee7a89bfd2078881178 +DIST tightvnc-1.3dev7_unixsrc.tar.bz2 1764364 RMD160 348edffc87254392f8ebcd1e3cc14fffda8b33ba SHA256 ed1eed5127e4d04f2cf81ee1d7aaf7cbf5201d80dcd0cf91a8a4ef77de4c6bdb EBUILD tightvnc-1.2.9-r1.ebuild 2146 RMD160 ba4418e9662b7f52a9b08774572d451424cd35f0 SHA1 d691edd2c24c00b5a12f64bb2273d54f89385702 SHA256 ff9e3b6115b8b43f4adaee99904aff07fe1549e014b04e9a220901bae150fb94 MD5 7fa234e5d9c5ba8d40110c5a72e8730a tightvnc-1.2.9-r1.ebuild 2146 RMD160 ba4418e9662b7f52a9b08774572d451424cd35f0 tightvnc-1.2.9-r1.ebuild 2146 @@ -72,14 +89,18 @@ EBUILD tightvnc-1.2.9-r2.ebuild 2232 RMD160 7d9e5c6c27bd559f09ada02fc347923b4209 MD5 a688bc63b1ba2e061deadab08aff60f1 tightvnc-1.2.9-r2.ebuild 2232 RMD160 7d9e5c6c27bd559f09ada02fc347923b42096fea tightvnc-1.2.9-r2.ebuild 2232 SHA256 b7d520cf2b82377b88e69e9fa279f80be3352ef6d9b09b03fe214d660ba8b86c tightvnc-1.2.9-r2.ebuild 2232 +EBUILD tightvnc-1.3.8.ebuild 2638 RMD160 ded8e7f009b667f1edb3df92ad3c67eb25680017 SHA1 766e04ca02fe2160f5133e3d8ebc9c2d28be3d58 SHA256 a822292c7643b5ede0f82027dfa7bde4e107d6092c76ad7e755c9bdb557925be +MD5 4b3dfcd2fe73c694a62742012be4ae9f tightvnc-1.3.8.ebuild 2638 +RMD160 ded8e7f009b667f1edb3df92ad3c67eb25680017 tightvnc-1.3.8.ebuild 2638 +SHA256 a822292c7643b5ede0f82027dfa7bde4e107d6092c76ad7e755c9bdb557925be tightvnc-1.3.8.ebuild 2638 EBUILD tightvnc-1.3_alpha7.ebuild 2633 RMD160 68c4415cdbf8f0e21975ec7882b62daab6660bd1 SHA1 06abf1d5c547eaef6e787fd501377c2dd1c50df3 SHA256 11b8ae99e0d080bca1e87e1fe3f0c708dc887d90c86091cfb64d3a724ca94993 MD5 316d7d331a4aba48e2f3beb0900ca3de tightvnc-1.3_alpha7.ebuild 2633 RMD160 68c4415cdbf8f0e21975ec7882b62daab6660bd1 tightvnc-1.3_alpha7.ebuild 2633 SHA256 11b8ae99e0d080bca1e87e1fe3f0c708dc887d90c86091cfb64d3a724ca94993 tightvnc-1.3_alpha7.ebuild 2633 -MISC ChangeLog 10705 RMD160 21c6f8c6e8353d4443d13bd3483cdd7cfa5a03c0 SHA1 0ce00ec5822d7095d2110753ec2070d5001bff95 SHA256 2d416c1e614d5a728f7b894913c2c9fe75122ff8660fe1c3c50799d64f5a0eda -MD5 a486fc32011bf3a5409adf0ad9fd8cd1 ChangeLog 10705 -RMD160 21c6f8c6e8353d4443d13bd3483cdd7cfa5a03c0 ChangeLog 10705 -SHA256 2d416c1e614d5a728f7b894913c2c9fe75122ff8660fe1c3c50799d64f5a0eda ChangeLog 10705 +MISC ChangeLog 11007 RMD160 e72d91bbdfd0eff2eb50969c0af293f66e6f22fa SHA1 892a7db9f9bd38afea947a0805853e6ff7875592 SHA256 26f9ba7429a4da23294f6a37b25b711c10480ee1a076b9b0734a5cd5ff856866 +MD5 92a3703865ee62a84320e5ed3fc36bb0 ChangeLog 11007 +RMD160 e72d91bbdfd0eff2eb50969c0af293f66e6f22fa ChangeLog 11007 +SHA256 26f9ba7429a4da23294f6a37b25b711c10480ee1a076b9b0734a5cd5ff856866 ChangeLog 11007 MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 @@ -90,6 +111,9 @@ SHA256 c7b13ad35c4b2e2bde6a2fcb01b6ad276384a265613a35ee739c2a3f0c2e3ea3 files/di MD5 31a483eed14190f8cd911b0d05521431 files/digest-tightvnc-1.2.9-r2 274 RMD160 c998a7ff40fb44c186f7089d877a68b8e33a4a06 files/digest-tightvnc-1.2.9-r2 274 SHA256 c7b13ad35c4b2e2bde6a2fcb01b6ad276384a265613a35ee739c2a3f0c2e3ea3 files/digest-tightvnc-1.2.9-r2 274 +MD5 bfe15238bfcba463b0abf4e830dbc177 files/digest-tightvnc-1.3.8 274 +RMD160 da00418fe1031595ec6a5943151b71ac60c5e8cf files/digest-tightvnc-1.3.8 274 +SHA256 b5684a8c3ea14d9490e9fe673bb74100da2bd98b86c58dc2332857f4f2885193 files/digest-tightvnc-1.3.8 274 MD5 afc732a9264f824104e222a2e1b8485d files/digest-tightvnc-1.3_alpha7 280 RMD160 575d59cc1f7bfb4ac81263a70796ee78ecee2b34 files/digest-tightvnc-1.3_alpha7 280 SHA256 8b5239e5d4fbf4ea657ae8e074987321f193c510d0200b6d107367c210fa4957 files/digest-tightvnc-1.3_alpha7 280 diff --git a/net-misc/tightvnc/files/digest-tightvnc-1.3.8 b/net-misc/tightvnc/files/digest-tightvnc-1.3.8 new file mode 100644 index 000000000000..bc139c537f55 --- /dev/null +++ b/net-misc/tightvnc/files/digest-tightvnc-1.3.8 @@ -0,0 +1,3 @@ +MD5 9b9b0465834289d1b7899982c0096440 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 +RMD160 98013a7074c488d1cfc85ea2d7a9665a05ee2431 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 +SHA256 cd76e1c5c6843fec2a7a5c493158cdb3642eb1ef4caecee7a89bfd2078881178 tightvnc-1.3.8_unixsrc.tar.bz2 1766473 diff --git a/net-misc/tightvnc/files/tightvnc-1.3.8-amd64.patch b/net-misc/tightvnc/files/tightvnc-1.3.8-amd64.patch new file mode 100644 index 000000000000..9b7153465e7f --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.3.8-amd64.patch @@ -0,0 +1,150 @@ +--- vnc_unixsrc.org/Xvnc/config/cf/Imake.cf 2003-02-06 19:11:28.000000000 +0100 ++++ vnc_unixsrc/Xvnc/config/cf/Imake.cf 2006-09-14 21:37:48.000000000 +0200 +@@ -801,6 +801,10 @@ + # ifdef PpcArchitecture + # define PowerPCArchitecture + # endif ++# ifdef __x86_64__ ++# define x86_64Architecture ++# undef __x86_64__ ++# endif + #endif /* linux */ + + #if (defined(__Lynx__) || defined(Lynx)) && (defined(i386) || defined(__i386__) || defined(__x86__) || defined(__powerpc__) || defined(__sparc__) || defined(sparc)) +--- vnc_unixsrc.org/Xvnc/config/cf/linux.cf 2002-03-20 11:49:23.000000000 +0100 ++++ vnc_unixsrc/Xvnc/config/cf/linux.cf 2006-09-14 21:37:48.000000000 +0200 +@@ -43,7 +43,7 @@ + #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \ + defined(SparcArchitecture) || defined(ArmArchitecure) || \ + defined(i386Architecture) || defined(s390Architecture) || \ +- defined(s390xArchitecture) ++ defined(s390xArchitecture) || defined(x86_64Architecture) + #define DefaultLinuxCLibMajorVersion 6 + #else + #define DefaultLinuxCLibMajorVersion 5 +@@ -290,6 +290,14 @@ + #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines + #endif /* PowerPCArchitecture */ + ++#ifdef x86_64Architecture ++#define DefaultCCOptions -fsigned-char ++#define OptimizedCDebugFlags -O2 ++#define LinuxMachineDefines -D__x86_64__ ++#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET ++#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64 ++#endif /* x86_64PCArchitecture */ ++ + #ifdef ArmArchitecture + #define DefaultCCOptions -fsigned-char + #define OptimizedCDebugFlags -O2 +--- vnc_unixsrc.org/Xvnc/include/Xmd.h 2000-06-11 14:00:52.000000000 +0200 ++++ vnc_unixsrc/Xvnc/include/Xmd.h 2006-09-14 21:29:47.000000000 +0200 +@@ -59,7 +59,7 @@ + #ifdef CRAY + #define WORD64 /* 64-bit architecture */ + #endif +-#if defined(__alpha) || defined(__alpha__) ++#if defined(__alpha) || defined(__alpha__) || defined(__x86_64__) + #define LONG64 /* 32/64-bit architecture */ + #endif + #ifdef __sgi +--- vnc_unixsrc.org/Xvnc/lib/font/bitmap/bdfread.c 2000-06-11 14:00:52.000000000 +0200 ++++ vnc_unixsrc/Xvnc/lib/font/bitmap/bdfread.c 2006-09-14 21:29:47.000000000 +0200 +@@ -79,7 +79,7 @@ + byte, + glyph, + scan; +- int sizes[GLYPHPADOPTIONS]; ++ CARD32 sizes[GLYPHPADOPTIONS]; + { + int widthBits, + widthBytes, +--- vnc_unixsrc.org/Xvnc/programs/Xserver/dix/dixutils.c 2000-06-11 14:00:51.000000000 +0200 ++++ vnc_unixsrc/Xvnc/programs/Xserver/dix/dixutils.c 2006-09-14 21:29:47.000000000 +0200 +@@ -404,6 +404,7 @@ + */ + void + NoopDDA( ++#undef NeedVarargsPrototypes + #if NeedVarargsPrototypes + void* f, ... + #endif +--- vnc_unixsrc.org/Xvnc/programs/Xserver/hw/vnc/httpd.c 2003-04-09 00:18:33.000000000 +0200 ++++ vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc/httpd.c 2006-09-14 21:29:47.000000000 +0200 +@@ -39,6 +39,7 @@ + #endif + #if USE_LIBWRAP + #include <tcpd.h> ++#include <arpa/inet.h> + #endif + + #include "rfb.h" +--- vnc_unixsrc.org/Xvnc/programs/Xserver/hw/vnc/init.c 2006-08-15 09:05:07.000000000 +0200 ++++ vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc/init.c 2006-09-14 21:29:47.000000000 +0200 +@@ -80,6 +80,7 @@ + #include <sys/param.h> + #include "dix.h" + #include "rfb.h" ++#include <time.h> + + #ifdef CORBA + #include <vncserverctrl.h> +--- vnc_unixsrc.org/Xvnc/programs/Xserver/hw/vnc/rfb.h 2004-02-27 13:22:47.000000000 +0100 ++++ vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc/rfb.h 2006-09-14 21:29:47.000000000 +0200 +@@ -30,6 +30,7 @@ + #include <rfbproto.h> + #include <vncauth.h> + #include <zlib.h> ++#include <stdarg.h> + + /* It's a good idea to keep these values a bit greater than required. */ + #define MAX_ENCODINGS 10 +--- vnc_unixsrc.org/Xvnc/programs/Xserver/hw/vnc/sockets.c 2002-10-27 13:36:02.000000000 +0100 ++++ vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc/sockets.c 2006-09-14 21:29:47.000000000 +0200 +@@ -42,6 +42,7 @@ + #include <sys/time.h> + #include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <netinet/tcp.h> + #include <netdb.h> + #include <fcntl.h> +--- vnc_unixsrc.org/Xvnc/programs/Xserver/include/dix.h 2000-06-11 14:00:52.000000000 +0200 ++++ vnc_unixsrc/Xvnc/programs/Xserver/include/dix.h 2006-09-14 21:29:47.000000000 +0200 +@@ -479,6 +479,7 @@ + ); + + extern void NoopDDA( ++#undef NeedVarargsPrototypes + #if NeedVarargsPrototypes + void *, + ... +--- vnc_unixsrc.org/Xvnc/programs/Xserver/include/servermd.h 2003-02-19 17:39:54.000000000 +0100 ++++ vnc_unixsrc/Xvnc/programs/Xserver/include/servermd.h 2006-09-14 21:29:47.000000000 +0200 +@@ -374,6 +374,25 @@ + #define NO_ONE_RECT + #endif + ++/* Values for AMD Opteron and Intel 64 bit extensions. Copied from Alpha. ++ */ ++#ifdef __x86_64__ ++# define BITMAP_SCANLINE_UNIT 64 ++# define BITMAP_SCANLINE_PAD 64 ++# define LOG2_BITMAP_PAD 6 ++# define LOG2_BYTES_PER_SCANLINE_PAD 3 ++ ++/* Add for handling protocol XPutImage and XGetImage; see comment in ++ * Alpha section. ++ */ ++#define INTERNAL_VS_EXTERNAL_PADDING ++#define BITMAP_SCANLINE_UNIT_PROTO 32 ++ ++#define BITMAP_SCANLINE_PAD_PROTO 32 ++#define LOG2_BITMAP_PAD_PROTO 5 ++#define LOG2_BYTES_PER_SCANLINE_PAD_PROTO 2 ++#endif ++ + #endif /* SVR4 / BSD / i386 */ + + #if defined (linux) && defined (__mc68000__) + diff --git a/net-misc/tightvnc/files/tightvnc-1.3.8-darwin.patch b/net-misc/tightvnc/files/tightvnc-1.3.8-darwin.patch new file mode 100644 index 000000000000..e5f7aa7016cf --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.3.8-darwin.patch @@ -0,0 +1,24 @@ +--- vnc_unixsrc/Xvnc/config/cf/darwin.cf.orig 2005-11-05 16:42:53.000000000 +0100 ++++ vnc_unixsrc/Xvnc/config/cf/darwin.cf 2005-11-05 16:46:52.000000000 +0100 +@@ -106,7 +106,6 @@ + # endif + #endif + +-#define StandardDefines -DCSRG_BASED + #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC + + +--- vnc_unixsrc/Xvnc/config/cf/vnclibs.def.orig 2005-11-05 17:11:41.000000000 +0100 ++++ vnc_unixsrc/Xvnc/config/cf/vnclibs.def 2005-11-05 17:17:21.000000000 +0100 +@@ -11,7 +11,11 @@ + /* Avoid linking with different libjpeg in /usr/shlib under Tru64. */ + VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a -lcrypt + #else ++# if HasLibCrypt == YES + VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz -lcrypt ++# else ++VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz ++# endif + #endif + + VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include diff --git a/net-misc/tightvnc/files/tightvnc-1.3.8-imake-tmpdir.patch b/net-misc/tightvnc/files/tightvnc-1.3.8-imake-tmpdir.patch new file mode 100644 index 000000000000..9d5ccc58ad76 --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.3.8-imake-tmpdir.patch @@ -0,0 +1,37 @@ +--- vnc_unixsrc/Xvnc/config/imake/imake.c.orig 2000-06-11 14:00:51.000000000 +0200 ++++ vnc_unixsrc/Xvnc/config/imake/imake.c 2003-09-01 22:59:25.000000000 +0200 +@@ -913,12 +913,25 @@ + static void get_libc_version(inFile) + FILE* inFile; + { +- char *aout = tmpnam (NULL); ++ char aout[PATH_MAX]; + FILE *fp; + const char *format = "%s -o %s -x c -"; + char *cc; + int len; + char *command; ++ char *tmpdir; ++ int tmpfd; ++ ++ if((tmpdir = getenv("TMPDIR")) != NULL && strlen(tmpdir) < (PATH_MAX-13)) ++ strcpy(aout, tmpdir); ++ else ++ strcpy(aout, "/tmp"); ++ strcat(aout, "/imakeXXXXXX"); ++ ++ if((tmpfd = mkstemp(aout)) == -1) { ++ perror("mkstemp"); ++ abort(); ++ } + + cc = getenv ("CC"); + if (cc == NULL) +@@ -930,6 +943,7 @@ + if (snprintf (command , len, format, cc, aout) == len) + abort (); + ++ close(tmpfd); + fp = popen (command, "w"); + if (fp == NULL || fprintf (fp, "%s\n", libc_c) < 0 + || pclose (fp) != 0) diff --git a/net-misc/tightvnc/files/tightvnc-1.3.8-pathfixes.patch b/net-misc/tightvnc/files/tightvnc-1.3.8-pathfixes.patch new file mode 100644 index 000000000000..d9fa5aae30b8 --- /dev/null +++ b/net-misc/tightvnc/files/tightvnc-1.3.8-pathfixes.patch @@ -0,0 +1,23 @@ +--- vncserver.old 2006-08-10 13:01:07.000000000 +0200 ++++ vncserver 2006-09-05 19:31:30.000000000 +0200 +@@ -36,16 +36,16 @@ + $geometry = "1024x768"; + $depth = 24; + $desktopName = "X"; +-$vncClasses = "/usr/local/vnc/classes"; ++$vncClasses = "/usr/share/tightvnc/classes"; + $vncUserDir = "$ENV{HOME}/.vnc"; +-$fontPath = "unix/:7100"; ++$fontPath = "unix/:-1"; + $authType = "-rfbauth $vncUserDir/passwd"; + + # Here is another example of setting the font path: +-# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; ++$fontPath = "/usr/share/fonts/misc/,/usr/share/fonts/Type1/"; + + # X colors database path is optional, uncomment and edit to use: +-# $colorPath = "/usr/lib/X11/rgb"; ++$colorPath = "/usr/share/X11/rgb"; + + # You might wish to make your vnc directory under /tmp, to make sure + # passwords are always kept on the local filesystem. To do that, just diff --git a/net-misc/tightvnc/tightvnc-1.3.8.ebuild b/net-misc/tightvnc/tightvnc-1.3.8.ebuild new file mode 100644 index 000000000000..5e24610aebec --- /dev/null +++ b/net-misc/tightvnc/tightvnc-1.3.8.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.8.ebuild,v 1.1 2006/10/04 18:40:25 genstef Exp $ + +inherit eutils toolchain-funcs + +IUSE="java tcpd server" + +S="${WORKDIR}/vnc_unixsrc" +DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." +SRC_URI="mirror://sourceforge/vnc-tight/${P}_unixsrc.tar.bz2" +HOMEPAGE="http://www.tightvnc.com/" + +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc-macos ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXp + x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + server? ( + x11-proto/inputproto + x11-proto/kbproto + x11-proto/printproto + ) + >=x11-misc/imake-1 + x11-misc/gccmakedep + ~media-libs/jpeg-6b + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) + !net-misc/vnc" + +RDEPEND="${DEPEND} + server? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc + x11-apps/rgb + x11-apps/xauth + ) + java? ( || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) )" + +src_unpack() { + + if ! use server; + then + echo + einfo "The 'server' USE flag will build tightvnc'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 + + unpack ${A} && cd ${S} + epatch "${FILESDIR}/${P}-pathfixes.patch" # fixes bug 78385 and 146099 + epatch "${FILESDIR}/${P}-imake-tmpdir.patch" # fixes bug 23483 + epatch "${FILESDIR}/${P}-darwin.patch" # fixes bug 89908 + use amd64 && epatch "${FILESDIR}/${P}-amd64.patch" # fixes bug 82583 +} + +src_compile() { + xmkmf -a || die "xmkmf failed" + + make CDEBUGFLAGS="${CFLAGS}" World || die + + if use server; then + cd Xvnc && ./configure || die "Configure failed." + if use tcpd; then + local myextra="-lwrap" + use userland_Darwin || myextra="${myextra} -lnss_nis" + make EXTRA_LIBRARIES="${myextra}" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_DEFINES="-DUSE_LIBWRAP=1" || die + else + make CDEBUGFLAGS="${CFLAGS}" || die + fi + fi + +} + +src_install() { + # the web based interface and the java viewer need the java class files + if use java; then + insinto /usr/share/tightvnc/classes + doins classes/* + fi + + dodir /usr/share/man/man1 /usr/bin + ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die "vncinstall failed" + + if ! use server; then + rm -f ${D}/usr/bin/vncserver + rm -f ${D}/usr/share/man/man1/{Xvnc,vncserver}* + fi + + dodoc ChangeLog README WhatsNew + use java && dodoc ${FILESDIR}/README.JavaViewer + newdoc vncviewer/README README.vncviewer +} |