Commit Graph

45 Commits (cc835fa938a8a4d3dd13a4f71ecd38ed9a2b82e9)

Author SHA1 Message Date
Christian Beier cc835fa938
CMake: generate and install pkgconfig files. 9 years ago
Christian Beier 2f54d3ef62
CMake: bump SOVERSION to 1.
Fixes https://github.com/LibVNC/libvncserver/issues/149
9 years ago
Christian Beier cc2c604605
CMake: update bugreport path 9 years ago
Christian Beier ac478e6c70 Fix some OSX linker problems. 9 years ago
Christian Beier f52c92003d
CMake: CMP0037 requires CMake 3.0. 9 years ago
Christian Beier a9cf593fab
CMake: output examples to respective directories. 9 years ago
Christian Beier 1026ad43f5
CMake: version up as well. 9 years ago
Kyle Russell 21fd4d27bb Support systemd socket activation 9 years ago
Christian Beier 15dd6470c5 CMake: Add maybe-found OpenSSL libs to libvncclient. 9 years ago
Christian Beier cb66df0779 CMake: Not all platforms have endian.h, so use the build system's endianess check. 9 years ago
Cédric Georges 6fabf75f9c Append missing include directory for GNUTLS and OPENSSL in CMake project
Append support of gnutls > v 2.99.01 (gnutls_transport_set_global_errno have a different signature)
9 years ago
Cédric Georges e91132f6a9 re-up comment 9 years ago
Cédric Georges 445fb7d531 Append IPv6 option in CMake Project 9 years ago
Christian Beier 97f442ef2a Instead of letting the build system define endianess, rely on endian.h. 10 years ago
Christian Beier 92f558482d Do away with rfbint.h generation and use stdint.h directly instead. 10 years ago
Peter Spiess-Knafl 2daa082773 fixing SOVERSION and .so VERSION 11 years ago
Matthias Treydte 57fcf68844 Use CMAKE_CURRENT_*_DIR instead of CMAKE_*_DIR.
This makes the library friendly to use as a git submodule within another
project, and should change nothing when compiled alone.

For example when having a directory structure like "my_project/external/libvnc",
where in libvnc resides a checkout of libvncserver, one can just reference that
directory from the CMakeLists.txt in my_project with

> add_directory ( external/libvnc )

and add vncclient / vncserver in my_project's taret_link_libraries, one can just
hack away without having to manually make / install LibVNCServer whenever
something is changed there.
11 years ago
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.
13 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.
13 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.
13 years ago
Christian Beier fef4386acc Add Compile Time Version Test Defines. 13 years ago
Christian Beier 62cfb3bbda Bump version to 0.9.10. 13 years ago
Christian Beier 98125f9d4c Fix CMake build of LibVNCClient. 13 years ago
Christian Beier b3a661fb72 Bump version to 0.9.9. 13 years ago
DRC 729e965dff Extend support for the new TurboVNC encoder to the CMake build system 13 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 14 years ago
Gernot Tenchio 3eec976558 Merge branch 'kanaka/websockets' into websockets
Conflicts:
	libvncserver/websockets.c
14 years ago
Gernot Tenchio b16e8c2afb cmake: use sha1.c for websocket builds 14 years ago
Gernot Tenchio 27eadfa899 cmake: make some noise 14 years ago
Gernot Tenchio 02651bacca cmake: don't link sdl libs to vnc libraries
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Gernot Tenchio b543d48677 Move libvncserver/md5* to common
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 years ago
Gernot Tenchio c2fb69f84d websockets: Add Websockets support to CMakeLists.txt
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
14 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>
14 years ago
Christian Beier 6b60690a4a CMake: Check for libgcrypt availability. 14 years ago
Christian Beier 8879213734 CMake: Threads can be available even if SDL is not. 14 years ago
Christian Beier 56af603ec1 CMake: fix building SDLvncviewer. 14 years ago
Christian Beier d26118a038 Next version will be 0.9.8. 14 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>
15 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>
15 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