Commit 2c668dea authored by runge's avatar runge

fix XKBlib.h detection on *BSD, x11vnc: manpage and README

parent a19a9de3
2004-08-03 Karl Runge <runge@karlrunge.com>
* x11vnc: manpage and README
* fix XKBlib.h detection on *BSD
2004-07-31 Karl Runge <runge@karlrunge.com> 2004-07-31 Karl Runge <runge@karlrunge.com>
* x11vnc: -cursorpos now the default * x11vnc: -cursorpos now the default
......
...@@ -42,8 +42,11 @@ AC_PATH_XTRA ...@@ -42,8 +42,11 @@ AC_PATH_XTRA
AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present]) AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present])
AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present]) AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present])
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true", AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true",
HAVE_XKBLIB_H="false", [#include <X11/Xlib.h>]) HAVE_XKBLIB_H="false", [#include <X11/Xlib.h>])
CPPFLAGS="$saved_CPPFLAGS"
if test $HAVE_XKBLIB_H = "true"; then if test $HAVE_XKBLIB_H = "true"; then
AC_CHECK_LIB(X11, XkbSelectEvents, AC_CHECK_LIB(X11, XkbSelectEvents,
[AC_DEFINE(HAVE_XKEYBOARD)], , [AC_DEFINE(HAVE_XKEYBOARD)], ,
......
#!/bin/bash #!/bin/bash
VERSION="0.6.2pre" VERSION="0.6.3pre"
cd "$(dirname "$0")" cd "$(dirname "$0")"
......
2004-08-03 Karl Runge <runge@karlrunge.com>
* add man page x11vnc.1 autogenerated from x11vnc -help; tweak
help output a little bit. Adjust autoconf to pick up manpage.
* add README from website docs.
* zero watch_bell and use_xkb_modtweak if no XKEYBOARD
2004-07-31 Karl Runge <runge@karlrunge.com> 2004-07-31 Karl Runge <runge@karlrunge.com>
* -cursorpos now the default; make cursorpos work when scaling * -cursorpos now the default; make cursorpos work when scaling
* fix bug with multiple adds of the same keysym for -add_keysyms * fix bug with multiple adds of the same keysym for -add_keysyms
......
DEFINES = -I .. DEFINES = -I ..
LDADD = ../libvncserver/libvncserver.a LDADD = ../libvncserver/libvncserver.a
EXTRA_DIST=ChangeLog man_MANS=x11vnc.1
EXTRA_DIST=ChangeLog README $(man_MANS)
if CYGIPC if CYGIPC
LD_CYGIPC=-lcygipc LD_CYGIPC=-lcygipc
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
#endif #endif
/* date +'lastmod: %Y-%m-%d' */ /* date +'lastmod: %Y-%m-%d' */
char lastmod[] = "0.6.2 lastmod: 2004-07-31"; char lastmod[] = "0.6.3pre lastmod: 2004-08-03";
/* X display info */ /* X display info */
Display *dpy = 0; Display *dpy = 0;
...@@ -7814,7 +7814,7 @@ static void print_help(void) { ...@@ -7814,7 +7814,7 @@ static void print_help(void) {
" setting the XAUTHORITY environment varirable to \"file\"\n" " setting the XAUTHORITY environment varirable to \"file\"\n"
" before startup. See Xsecurity(7), xauth(1) man pages.\n" " before startup. See Xsecurity(7), xauth(1) man pages.\n"
"\n" "\n"
"-id windowid Show the window corresponding to <windowid> not the\n" "-id windowid Show the window corresponding to \"windowid\" not the\n"
" entire display. Warning: bugs! new toplevels missed!...\n" " entire display. Warning: bugs! new toplevels missed!...\n"
"-flashcmap In 8bpp indexed color, let the installed colormap flash\n" "-flashcmap In 8bpp indexed color, let the installed colormap flash\n"
" as the pointer moves from window to window (slow).\n" " as the pointer moves from window to window (slow).\n"
...@@ -7835,8 +7835,8 @@ static void print_help(void) { ...@@ -7835,8 +7835,8 @@ static void print_help(void) {
" number, alternatively the notation \"m/n\" may be used\n" " number, alternatively the notation \"m/n\" may be used\n"
" to denote fractions, e.g. -scale 2/3.\n" " to denote fractions, e.g. -scale 2/3.\n"
"\n" "\n"
" Scaling Options: can be added after fraction via \":\",\n" " Scaling Options: can be added after \"fraction\" via\n"
" to supply multiple \":\" options use commas.\n" " \":\", to supply multiple \":\" options use commas.\n"
" If you just want a quick, rough scaling without\n" " If you just want a quick, rough scaling without\n"
" blending, append \":nb\" to \"fraction\" (e.g. -scale\n" " blending, append \":nb\" to \"fraction\" (e.g. -scale\n"
" 1/3:nb). For compatibility with vncviewers the scaled\n" " 1/3:nb). For compatibility with vncviewers the scaled\n"
...@@ -7853,9 +7853,9 @@ static void print_help(void) { ...@@ -7853,9 +7853,9 @@ static void print_help(void) {
"-forever Keep listening for more connections rather than exiting\n" "-forever Keep listening for more connections rather than exiting\n"
" as soon as the first client(s) disconnect. Same as -many\n" " as soon as the first client(s) disconnect. Same as -many\n"
"-connect string For use with \"vncviewer -listen\" reverse connections.\n" "-connect string For use with \"vncviewer -listen\" reverse connections.\n"
" If string has the form \"host\" or \"host:port\"\n" " If \"string\" has the form \"host\" or \"host:port\"\n"
" the connection is made once at startup. Use commas\n" " the connection is made once at startup. Use commas\n"
" for a list of host's and host:port's. If string\n" " for a list of host's and host:port's. If \"string\"\n"
" contains \"/\" it is instead interpreted as a file to\n" " contains \"/\" it is instead interpreted as a file to\n"
" periodically check for new hosts. The first line is\n" " periodically check for new hosts. The first line is\n"
" read and then the file is truncated.\n" " read and then the file is truncated.\n"
...@@ -7941,8 +7941,8 @@ static void print_help(void) { ...@@ -7941,8 +7941,8 @@ static void print_help(void) {
" responses. All 3 of the popup keywords can be followed\n" " responses. All 3 of the popup keywords can be followed\n"
" by +N+M to supply a position for the popup window.\n" " by +N+M to supply a position for the popup window.\n"
" The default is to center the popup window.\n" " The default is to center the popup window.\n"
"-gone string As -accept string, except to run a user supplied command\n" "-gone string As -accept, except to run a user supplied command when\n"
" when a client goes away (disconnects). Unlike -accept,\n" " a client goes away (disconnects). Unlike -accept,\n"
" the command return code is not interpreted by x11vnc.\n" " the command return code is not interpreted by x11vnc.\n"
"\n" "\n"
"-noshm Do not use the MIT-SHM extension for the polling.\n" "-noshm Do not use the MIT-SHM extension for the polling.\n"
...@@ -7956,8 +7956,9 @@ static void print_help(void) { ...@@ -7956,8 +7956,9 @@ static void print_help(void) {
" just use 1 shm tile for polling. Same as -old_copytile.\n" " just use 1 shm tile for polling. Same as -old_copytile.\n"
" Limits shm segments used to 3.\n" " Limits shm segments used to 3.\n"
"\n" "\n"
"-blackout string Black out rectangles on the screen. string is a comma\n" "-blackout string Black out rectangles on the screen. \"string\" is a\n"
" separated list of WxH+X+Y type geometries for each rect.\n" " comma separated list of WxH+X+Y type geometries for\n"
" each rectangle.\n"
"-xinerama If your screen is composed of multiple monitors\n" "-xinerama If your screen is composed of multiple monitors\n"
" glued together via XINERAMA, and that screen is\n" " glued together via XINERAMA, and that screen is\n"
" non-rectangular this option will try to guess the areas\n" " non-rectangular this option will try to guess the areas\n"
...@@ -9004,6 +9005,8 @@ int main(int argc, char* argv[]) { ...@@ -9004,6 +9005,8 @@ int main(int argc, char* argv[]) {
} }
#else #else
use_xkb = 0; use_xkb = 0;
watch_bell = 0;
use_xkb_modtweak = 0;
#endif #endif
if (use_dpy) { if (use_dpy) {
dpy = XOpenDisplay(use_dpy); dpy = XOpenDisplay(use_dpy);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment