--- libvncserver-0.8.2.orig/rfb/rfbconfig.h +++ libvncserver-0.8.2/rfb/rfbconfig.h @@ -140,10 +140,14 @@ #endif /* XDAMAGE extension build environment present */ -/* #undef LIBVNCSERVER_HAVE_LIBXDAMAGE */ +#ifndef LIBVNCSERVER_HAVE_LIBXDAMAGE +#define LIBVNCSERVER_HAVE_LIBXDAMAGE 1 +#endif /* XFIXES extension build environment present */ -/* #undef LIBVNCSERVER_HAVE_LIBXFIXES */ +#ifndef LIBVNCSERVER_HAVE_LIBXFIXES +#define LIBVNCSERVER_HAVE_LIBXFIXES 1 +#endif /* XINERAMA extension build environment present */ #ifndef LIBVNCSERVER_HAVE_LIBXINERAMA --- libvncserver-0.8.2.orig/configure +++ libvncserver-0.8.2/configure @@ -8336,7 +8336,7 @@ fi -if test -z "$with_sdl"; then +if test "$with_sdl"; then if sdl-config --version >/dev/null 2>&1; then with_sdl=yes SDL_CFLAGS=`sdl-config --cflags` @@ -12300,13 +12300,13 @@ # Check if /dev/vcsa1 exists, if so, define LINUX -if test -c /dev/vcsa1; then +#if test -c /dev/vcsa1; then LINUX_TRUE= LINUX_FALSE='#' -else - LINUX_TRUE='#' - LINUX_FALSE= -fi +#else +# LINUX_TRUE='#' +# LINUX_FALSE= +#fi # Check for OS X specific header --- libvncserver-0.8.2.orig/debian/dirs +++ libvncserver-0.8.2/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- libvncserver-0.8.2.orig/debian/docs +++ libvncserver-0.8.2/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- libvncserver-0.8.2.orig/debian/control +++ libvncserver-0.8.2/debian/control @@ -0,0 +1,38 @@ +Source: libvncserver +Section: x11 +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 4.0.0), zlib1g-dev, libjpeg62-dev, libsdl1.2-dev, libx11-dev, libxext-dev, libxinerama-dev, libxrandr-dev, libxtrap-dev, libxtst-dev, x-dev, libxfixes-dev, libxdamage-dev +Standards-Version: 3.6.2 + +Package: libvncserver-dev +Architecture: any +Depends: ${shlibs:Depends} +Description: easy API to write one's own VNC server + Contains headers and static libraries to write your own VNC server. + +Package: x11vnc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: VNC server which uses your current X11 session + With x11vnc you can export your currently running X11 session to any VNC + client. You do not have to launch another session as the regular VNC server + does. So it's very useful, if you want to move to another computer without + having to log out, or to help a distant colleague to solve a problem with + their desktop. + +Package: linuxvnc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: VNC server to monitor a tty + With linuxvnc you can export your currently running text sessions to any VNC + client. So it can be useful, if you want to move to another computer without + having to log out and if you've forgotten to attach a 'screen' session to it, + or to help a distant colleague to solve a problem. + +Package: vncommand +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: VNC server which monitors a specified program + With VNCommand you can start a command and export its standard input and + output to any VNC client. --- libvncserver-0.8.2.orig/debian/vncommand.1 +++ libvncserver-0.8.2/debian/vncommand.1 @@ -0,0 +1,31 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH VNCOMMAND 1 "January 10, 2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +vncommand \- run a command and export its stdin/stdout to any VNC client +.SH SYNOPSIS +.B vncommand +.SH DESCRIPTION +Executes redirecting stdin from a vncviewer and stdout & +stderr to the VNC clients. Does not implement a full featured +terminal (up to now, bash doesn't look nice). +Colours and other ANSI sequences need to be added. +.SH SEE ALSO +.BR x11vnc (1). +.SH AUTHOR +This manual page was written by Ludovic Drolez , +for the Debian project (but may be used by others). --- libvncserver-0.8.2.orig/debian/x11vnc.files +++ libvncserver-0.8.2/debian/x11vnc.files @@ -0,0 +1,2 @@ +/usr/bin/x11vnc +/usr/share/man/man1/x11vnc.1 --- libvncserver-0.8.2.orig/debian/libvncserver-dev.manpages +++ libvncserver-0.8.2/debian/libvncserver-dev.manpages @@ -0,0 +1 @@ +debian/libvncserver-config.1 --- libvncserver-0.8.2.orig/debian/x11vnc.manpages.old +++ libvncserver-0.8.2/debian/x11vnc.manpages.old @@ -0,0 +1 @@ +debian/x11vnc.1 --- libvncserver-0.8.2.orig/debian/rules +++ libvncserver-0.8.2/debian/rules @@ -0,0 +1,140 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + #(cd x11vnc-0.7.3;chmod 755 compile configure depcomp install-sh missing;./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info) + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: config.status + + # Add here commands to compile the arch part of the package. + # ... the configure does not want my cflags, so I add them here... + $(MAKE) CFLAGS="$(CFLAGS) -Wall" + #(cd x11vnc-0.7.3;$(MAKE) CFLAGS="$(CFLAGS) -Wall") + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: config.status + + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + touch build-indep-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + #-(cd x11vnc-0.7.3;$(MAKE) distclean) + rm -f config.guess config.sub + #(cd x11vnc-0.7.3;rm -f config.guess config.sub _configs.sed) +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: install-indep install-arch +install-indep: +# dh_testdir +# dh_testroot +# dh_clean -k -i +# dh_installdirs -i +# +# # Add here commands to install the indep part of the package into +# # debian/-doc. +# #INSTALLDOC# +# +# dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + $(MAKE) install DESTDIR=$(CURDIR)/debian/libvncserver-dev + #(cd x11vnc-0.7.3;$(MAKE) install DESTDIR=$(CURDIR)/debian/libvncserver-dev) + cp -f vncterm/VNCommand $(CURDIR)/debian/libvncserver-dev/usr/bin + dh_install -s + dh_movefiles --sourcedir=debian/libvncserver-dev + mv debian/linuxvnc/usr/bin/LinuxVNC debian/linuxvnc/usr/bin/linuxvnc + #rm debian/libvncserver-dev/usr/bin/VNCommand + mv debian/vncommand/usr/bin/VNCommand debian/vncommand/usr/bin/vncommand + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch --- libvncserver-0.8.2.orig/debian/libvncserver-config.1 +++ libvncserver-0.8.2/debian/libvncserver-config.1 @@ -0,0 +1,30 @@ +.\" Do whatever you want with this file. +.\" NO warranty is provided. +.TH libvncserver-config 1 "13 April 2004" "libvncserver 0.6" "libvncserver-config manual" +.SH NAME +libvncserver-config \- Get information about a libvncserver installation +.SH SYNOPSIS +.B libvncserver-config [options] +.SH DESCRIPTION +.B libvncserver-config +displays information about a previous libvncserver installation. +.SH OPTIONS +.IP "--cflags" +Set of compiler options (CFLAGS) to use when compiling files that use +libvncserver. +.IP "--libs" +Shows the complete set of libs and other linker options you will need in order +to link your application with libvncserver. +.SH "EXAMPLES" +What linker options do I need when I link with libvncserver? + + libvncserver-config --libs + +What compiler options do I need when I compile using libvncserver functions? + + libvncserver-config --cflags +.SH SEE ALSO +whatever you're able to see. +.SH AUTHOR +This manual page was written by Ludovic Drolez +for the Debian GNU/Linux system (but may be used by others). --- libvncserver-0.8.2.orig/debian/watch +++ libvncserver-0.8.2/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://heanet.dl.sourceforge.net/sourceforge/libvncserver/ LibVNCServer-([0-9\.]*)\.tar\.gz debian uupdate --- libvncserver-0.8.2.orig/debian/vncommand.files +++ libvncserver-0.8.2/debian/vncommand.files @@ -0,0 +1 @@ +/usr/bin/VNCommand --- libvncserver-0.8.2.orig/debian/changelog +++ libvncserver-0.8.2/debian/changelog @@ -0,0 +1,76 @@ +libvncserver (0.8.2-2) unstable; urgency=low + + * Orphaning package + + -- Ludovic Drolez Wed, 25 Apr 2007 12:00:32 +0200 + +libvncserver (0.8.2-1) unstable; urgency=high + + * New upstream release. Closes: #373808 + * This new release fixes a security bug which might be present in the + previous release of the package. Closes: #376824 + * urgency=high because a probable security bug was fixed. + + -- Ludovic Drolez Mon, 17 Jul 2006 20:43:38 +0200 + +libvncserver (0.7.1-5) unstable; urgency=high + + * Re-upload with urgency=high because the package in testing is unusable + + -- Ludovic Drolez Thu, 12 Jan 2006 15:30:00 +0100 + +libvncserver (0.7.1-4) unstable; urgency=low + + * Put x11vnc 0.7.3 sources in their own directory. Closes: #333880 + * Updated build-depends. Closes: #347019 + + -- Ludovic Drolez Mon, 9 Jan 2006 23:13:15 +0100 + +libvncserver (0.7.1-3) unstable; urgency=low + + * Added x11vnc 0.7.3 sources. Closes: #328943 + * Added the x11vnc FAQ which is in the README. Closes: #325479 + * Added build dependencies on libxdamage-dev, libfixes-dev, libxrandr-dev + + -- Ludovic Drolez Wed, 28 Sep 2005 19:00:05 +0200 + +libvncserver (0.7.1-2) unstable; urgency=low + + * Removed the /dev/vcsa1 test to fix the pbuilder bug. Closes: #322643 + * new vncommand package: allows you to attach a VNC server to any command + + -- Ludovic Drolez Fri, 26 Aug 2005 18:02:16 +0200 + +libvncserver (0.7.1-1) unstable; urgency=low + + * New upstream release. Closes: #309385 + + -- Ludovic Drolez Fri, 25 Mar 2005 20:48:38 +0100 + +libvncserver (0.7-1) unstable; urgency=low + + * New upstream release + * New upstream x11vnc man page. Closes: Bug#277510 + + -- Ludovic Drolez Mon, 31 Jan 2005 23:06:17 +0100 + +libvncserver (0.6-3) unstable; urgency=low + + * Added the latest x11vnc.c (0.6.1) which has the -scale option. + * Added the scale option in the manual. + + -- Ludovic Drolez Fri, 16 Jul 2004 16:26:09 +0200 + +libvncserver (0.6-2) unstable; urgency=low + + * Added the latest x11vnc.c from the CVS. Closes: Bug#246205 + + -- Ludovic Drolez Thu, 29 Apr 2004 22:09:53 +0200 + +libvncserver (0.6-1) unstable; urgency=low + + * Initial Release. + * Integrated the last release of x11vnc. + + -- Ludovic Drolez Wed, 10 Mar 2004 23:42:26 +0100 + --- libvncserver-0.8.2.orig/debian/linuxvnc.files +++ libvncserver-0.8.2/debian/linuxvnc.files @@ -0,0 +1 @@ +/usr/bin/LinuxVNC --- libvncserver-0.8.2.orig/debian/compat +++ libvncserver-0.8.2/debian/compat @@ -0,0 +1 @@ +4 --- libvncserver-0.8.2.orig/debian/README.Debian +++ libvncserver-0.8.2/debian/README.Debian @@ -0,0 +1,42 @@ +libvncserver for Debian +----------------------- + +This source package produced 4 binary packages: +- x11vnc: export your current X11 session to any VNC client +- linuxvnc: export any tty to any VNC client +- vncommand: export any command output/input to any VNC client +- libvncserver-dev: static libs for making your own VNC server + +I should soon modify the package to have a shared libs instead of only static +ones. + +FAQ/Known bugs +-------------- + +Q: If the X session I am trying to connect to is not the currently active +VC, then all I get is a black screen. (And sometimes, garbage.) However, +the remote end is handling mouse events OK - I just can't see the +results. Switching the remote end from another VC to X (while the vnc +session is running) solves this problem, and switching back to text mode +remanifests it. + +A: Hi, I am the upstream x11vnc maintainer. I don't think this problem has +anything to do with nVidia or it special drivers: I've seen this problem +on every video card I've tried. +It might not be possible to solve this at the application level, e.g. even +xwd(1) suffers from it (please try that on your setup; I've never gotten +even xwd to work on a non-active VC). +I think it has to do with how the Linux VC's are implemented and how +each X server manages its own video memory. I don't know enough about +these subsystems, but I think when x11vnc does a screen poll by calling +XShmGetImage() or XGetImage() this instructs the X server to request +the framebuffer data from the video card hardware itself. (BTW, this +aspect this contributes to x11vnc being slow: video cards are optimized +for writing to video memory, not reading from it; the speed difference +can be 10-20X). +Anyway, when a VC is not active, it seems the video memory associated +with it is not available... Karl + + + + -- Ludovic Drolez , Wed, 10 Mar 2004 23:42:26 +0100 --- libvncserver-0.8.2.orig/debian/linuxvnc.1 +++ libvncserver-0.8.2/debian/linuxvnc.1 @@ -0,0 +1,37 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LINUXVNC 1 "March 10, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +linuxvnc \- export a tty to any VNC client +.SH SYNOPSIS +.B linuxvnc [ tty_number [ vnc args ] ] +.SH DESCRIPTION +You need root privileges, or at least be in the "tty" group, because +it reads /dev/vcsN and writes /dev/ttyN. +.PP +It follows the same idea as WinVNC, x11vnc or OSXvnc, i.e. it +takes an existing desktop and exports it via RFB (VNC), just that +LinuxVNC exports text. +.PP +If you want to export another tty, specify it as 'tty_number'. +You can also pass VNC options to tune what encodings are used for the VNC +session. You can read x11vnc man page for more information on this. +.SH SEE ALSO +.BR x11vnc (1). +.SH AUTHOR +This manual page was written by Ludovic Drolez , +for the Debian project (but may be used by others). --- libvncserver-0.8.2.orig/debian/copyright +++ libvncserver-0.8.2/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Ludovic Drolez on +Wed, 10 Mar 2004 23:42:26 +0100. + +It was downloaded from http://libvncserver.sourceforge.net/ and the latest +x11vnc code was taken from http://www.karlrunge.com/x11vnc/. + +Upstream Authors: + libvncserver: Johannes Schindelin + x11vnc: Karl Runge + +Copyright / License : + + LibVNCServer (C) 2001 Johannes E. Schindelin + Original OSXvnc (C) 2001 Dan McGuirk . + Original Xvnc (C) 1999 AT&T Laboratories Cambridge. + All Rights Reserved. + + X11vnc Copyright (c) 2002-2003 Karl J. Runge + All rights reserved. + + This is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This software is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +A full copy of the GPL is available from /usr/share/common-licenses/GPL. --- libvncserver-0.8.2.orig/debian/vncommand.manpages +++ libvncserver-0.8.2/debian/vncommand.manpages @@ -0,0 +1 @@ +debian/vncommand.1 --- libvncserver-0.8.2.orig/debian/linuxvnc.manpages +++ libvncserver-0.8.2/debian/linuxvnc.manpages @@ -0,0 +1 @@ +debian/linuxvnc.1