File x11vnc-examples.diff of Package x11vnc
Index: x11vnc-0.9.8/x11vnc/Makefile.am
===================================================================
--- x11vnc-0.9.8.orig/x11vnc/Makefile.am
+++ x11vnc-0.9.8/x11vnc/Makefile.am
@@ -8,10 +8,10 @@ if OSX
x11vnc_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit -framework Cocoa
x11vnc_CFLAGS = -ObjC
endif
-SUBDIRS = misc
-DIST_SUBDIRS = misc
+SUBDIRS = examples
+DIST_SUBDIRS = examples
desktopdir = $(datadir)/applications
desktop_DATA = x11vnc.desktop
Index: x11vnc-0.9.8/configure.ac
===================================================================
--- x11vnc-0.9.8.orig/configure.ac
+++ x11vnc-0.9.8/configure.ac
@@ -779,9 +779,9 @@ if test "$build_x11vnc" = "yes"; then
# automake error messages like:
#
# configure.ac:690: required file `x11vnc/Makefile.in' not found
#
- AC_CONFIG_FILES([x11vnc/Makefile x11vnc/misc/Makefile x11vnc/misc/turbovnc/Makefile])
+ AC_CONFIG_FILES([x11vnc/Makefile x11vnc/examples/Makefile x11vnc/examples/turbovnc/Makefile])
fi
AC_OUTPUT
Index: x11vnc-0.9.8/README
===================================================================
--- x11vnc-0.9.8.orig/README
+++ x11vnc-0.9.8/README
@@ -6379,14 +6379,14 @@ EndSection
When using it with x11vnc in such a situation you may want to dial
down the delays, e.g. "[547]-wait 5" and "[548]-defer 5" (or even a
smaller setting) to poll and pump things out more quickly.
- See the instructions in "x11vnc/misc/turbovnc/README" for how to build
+ See the instructions in "x11vnc/examples/turbovnc/README" for how to build
x11vnc with TurboVNC support. You will also need to download the
[549]TurboJPEG software.
In brief, the steps look like this:
- cd x11vnc-x.y.z/x11vnc/misc/turbovnc
+ cd x11vnc-x.y.z/x11vnc/examples/turbovnc
./apply_turbovnc
cd ../../..
env LDFLAGS='-L/DIR -Xlinker --rpath=/DIR' ./configure
make AM_LDFLAGS='-lturbojpeg'
@@ -7644,9 +7644,9 @@ minal #2)
to just pipe it to the -pipeinput command.
Note the -pipeinput helper program could actually control the raw
framebuffer. In the libvncserver CVS a simple example program
- x11vnc/misc/slide.pl is provided that demonstrates a simple jpeg
+ x11vnc/examples/slide.pl is provided that demonstrates a simple jpeg
"slideshow" application. Also the builtin "-pipeinput VID" mode does
this for webcams and TV capture devices (/dev/video0.)
The -pipeinput program is run with these environment variables set:
@@ -7654,9 +7654,9 @@ minal #2)
knowing what is up.
Another example provided in libvncserver CVS is a script to inject
keystrokes into the Linux console (e.g. the virtual consoles:
- /dev/tty1, /dev/tty2, etc) in x11vnc/misc/vcinject.pl. It is based on
+ /dev/tty1, /dev/tty2, etc) in x11vnc/examples/vcinject.pl. It is based on
the vncterm/LinuxVNC.c program also in the libvncserver CVS. So to
view and interact with VC #2 (assuming it is the [661]active VC) one
can run something like:
x11vnc -rawfb map:/dev/fb0@1024x768x16 -pipeinput './vcinject.pl 2'
@@ -13880,9 +13880,9 @@ e
By default FINDCREATEDISPLAY will try Xdummy and then
Xvfb:
The Xdummy wrapper is part of the x11vnc source code
- (x11vnc/misc/Xdummy) It should be available in PATH and
+ (x11vnc/examples/Xdummy) It should be available in PATH and
have run "Xdummy -install" once to create the shared
library. Xdummy requires root permission and only works
on Linux. (Note: specify FD_XDUMMY_NOROOT=1 to skip
a check for the root id; evidently your sudo(1) will