Commit Graph

28 Commits (a705cd625cd4ae61ba05cb8333a46662429ca6a1)

Author SHA1 Message Date
Raphael Kubo da Costa 95dd76327b Use htobeNN(3) to convert numbers in websocket.c.
byteswap.h exists only on glibc, so building libvncserver with websockets
support was not possible in other systems.

Replace the inclusion of byteswap.h and the WS_* definitions with calls to
htobeNN, which should perform the same conversions, be more portable and
avoid the need to check for the platform's endianness.
14 years ago
Raphael Kubo da Costa 2d18f3cdcf Do not hardcode the need for libresolv.
libresolv is only present on systems which use glibc; platforms such as
FreeBSD have __b64_ntop as part of libc itself.

Improve the detection process and only link against libresolv if it exists
on the system, and remember to reset CMAKE_REQUIRED_LIBRARIES after
performing the necessary tests, since we do not always want to link against
libresolv.
14 years ago
Raphael Kubo da Costa 539b310b48 CMake: Link against libgcrypt when it is found.
So far, libgcrypt was looked for but no targets linked against it
directly; this caused linking problems for the client and server
examples, as the symbols they needed were not passed to the linker.

The issue that the GnuTLS websockets code uses libgcrypt regardless of
whether it has been found or not has not been touched by this commit,
though.
14 years ago
Christian Beier fef4386acc Add Compile Time Version Test Defines. 14 years ago
Christian Beier 62cfb3bbda Bump version to 0.9.10. 14 years ago
Christian Beier 98125f9d4c Fix CMake build of LibVNCClient. 14 years ago
Christian Beier b3a661fb72 Bump version to 0.9.9. 14 years ago
DRC 729e965dff Extend support for the new TurboVNC encoder to the CMake build system 14 years ago
Christian Beier 5ea7e51e6b Merge branch 'websockets' of https://github.com/kanaka/libvncserver 14 years ago
Gernot Tenchio 9e09040699 cmake: adapted to latest websocket crypto changes 14 years ago
Christian Beier 609ccec1a0 Update version number in autotools && cmake, NEWS entry. 14 years ago
Gernot Tenchio f6eeb5d383 cmake: set SOVERSION 15 years ago
Gernot Tenchio 3eec976558 Merge branch 'kanaka/websockets' into websockets
Conflicts:
	libvncserver/websockets.c
15 years ago
Gernot Tenchio b16e8c2afb cmake: use sha1.c for websocket builds 15 years ago
Gernot Tenchio 27eadfa899 cmake: make some noise 15 years ago
Gernot Tenchio 02651bacca cmake: don't link sdl libs to vnc libraries
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
Gernot Tenchio b543d48677 Move libvncserver/md5* to common
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
Gernot Tenchio c2fb69f84d websockets: Add Websockets support to CMakeLists.txt
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
15 years ago
Joel Martin 896ca2036c tightPng: Add initial tightPng encoding support.
http://wiki.qemu.org/VNC_Tight_PNG

Signed-off-by: Joel Martin <github@martintribe.org>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
15 years ago
Christian Beier 6b60690a4a CMake: Check for libgcrypt availability. 15 years ago
Christian Beier 8879213734 CMake: Threads can be available even if SDL is not. 15 years ago
Christian Beier 56af603ec1 CMake: fix building SDLvncviewer. 15 years ago
Christian Beier d26118a038 Next version will be 0.9.8. 15 years ago
Christian Beier ffe30366d6 Put files used by both libs into a 'common' dir.
No functional changes. All files used by _both_ libvncserver and
libvncclient are put into a 'common' directory and references
from other files as well as Autotools and CMake build systems are
updated.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
15 years ago
Wouter Van Meir 4fa9e2bbab fix CMakeLists.txt: other way to find pthread library
... and fixed linking of the tests in the examples directory.

Signed-off-by: Wouter Van Meir <wouter.vanmeir@pandora.be>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
Corentin Chary a34d921571 cmake: fix CMakeLists.txt
- It's SDL_LIBRARY, not SDL_LIBRARIES
- Detect GnuTLS and set the macro in rfbconfig.h
- Add tls.c to libvncclient to avoid missing symbols

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
16 years ago
runge effe81e36a configure.ac, CMakeLists.txt: set LibVNCServer version to 0.9.7 17 years ago
dscho 09d902c5b7 Add CMake support (thanks to Christian Ehrlicher)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
18 years ago