Commit Graph

113 Commits (master)

Author SHA1 Message Date
Michele Calgaro 5155367781
Replace pthread linking with cmake-based variable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro a4bf9eacf3
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 3867fea38f
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 711aa54404
Add path to the local CMake modules to detect libraries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 1aae5a01b3
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko d8cf476afd
Raise the minimum required version of CMake to 3.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko c87a678c21
Raise the minimum required version of CMake to 2.8.12.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko c22381d0e4
Update the CMake rules according to the previous rename.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 5255fdc964
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 177b748ba1
Fix path added to CMAKE_MODULE_PATH.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko d63fb689d4
Disable support for systemd socket activation.
We do not want any direct dependence on the systemd.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko f3f392caec
Merge tag 'LibVNCServer-0.9.12'
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Christian Beier acc9af95ee
CMake: require stdint.h
This is used at quite a few places in the code, so make it mandatory.
7 years ago
Tobias Junghans e66a8a17f3 Allow to use global LZO library instead of miniLZO
The complete LZO library nowadays is installed on many systems so we can
optionally make use of it and omit internal miniLZO implementation.
7 years ago
Christian Beier 6566ba5f02
CMake: require some form of hton64() for websockets
Closes #127
7 years ago
Christian Beier 5f3ea4e53d
CMake: build the repeater example as well 7 years ago
Christian Beier 5c968dd8a4 CMake: fix build error that occured on Windows with CMake 3.12 7 years ago
Christian Beier 77dce5b6af
CMake: only do jpeg-turbo tests if a libjpeg was found 7 years ago
Christian Beier 79516a6aa3
CMake: make get_link_libraries() not crash when there are no linked libraries at all 8 years ago
Christian Beier bfdb850bfb
SDLvncviewer: use SDL2 for clipboard handling
By using this, we can get rid of our own homebrewn solution scrap.[c|h] and drop X11 from the build system.
8 years ago
Christian Beier 4d3c7dfc04
CMake: look for SDL2 instead of SDL
FindSDL2.cmake was downloaded from
https://github.com/tcbrindle/sdl2-cmake-scripts/blob/master/FindSDL2.cmake
8 years ago
Christian Beier 1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define 8 years ago
Christian Beier e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support 8 years ago
Christian Beier a2ebdf46cc
CMake: declare that websockets depend on crypto 8 years ago
Christian Beier 85fb69515c
crypto: move to common
As of now, only LibVNCServer makes uses of these digest functions _and_
they depend on sys/uio.h, but in the future LibVNCClient will need those
as well.
8 years ago
Slávek Banko a3628aa81c Fix FTBFS due to new DSO linkage style
This resolves bug 2927

Signed-off-by: Ray Vine <ray-v@inbox.lv>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Christian Beier 5c0ff7e072
CMake: require FFMPEG version >= 3.1.0
re #231
8 years ago
Christian Beier 71c3215d8f
SDLvncviewer: enable the X11 clipboard if X11 was found 8 years ago
DRC d7b14624cb Include Tight decoding optimizations from TurboVNC
- As with the encoder, the decoder now uses the TurboJPEG wrapper, which
  allows it to decode JPEG images directly into the framebuffer.  This
  eliminates a buffer copy (CopyRectangle()) as well as the expensive
  RGB pixel conversion in DecompressJpegRectBPP().  The TurboJPEG
  wrapper performs RGB pixel conversion more optimally, and only when
  necessary (it uses the libjpeg-turbo colorspace extensions when
  available, in order to avoid RGB conversion.)
- The other Tight subencoding types are also now decoded directly into
  the framebuffer, which eliminates buffer copies.
- The Tight decoder now supports the rfbTightNoZlib extension, which
  allows the server to bypass zlib compression when Compression Level 0
  is selected.  The encoder already supports this extension.  Passing
  the data stream through zlib when Compression Level 0 is selected
  needlessly wastes CPU time, since all zlib is doing is copying the
  data internally into its own structures.
8 years ago
Slávek Banko 6fbd5fcdf1 Fix build with cmake < 3.0 8 years ago
Slávek Banko 68cb29a12f Merge tag 'LibVNCServer-0.9.11' of https://github.com/LibVNC/libvncserver
Conflicts:
	CMakeLists.txt
	libvncserver/main.c
8 years ago
Christian Beier 6814e946e0
libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming of other files 8 years ago
Christian Beier 98e1be528f
Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into simonwaterman-sasl2 8 years ago
simon cb4e15c1ae Added SASL authentication support
Added SASL support to OpenSSL
9 years ago
Jocelyn Le Sage e8a1ca2035 Fixed compilation of websockets on system where there is no implementation of base64 functions. 9 years ago
Christian Beier 0e76b289c8
websockets: only build tests for a websockets-enabled build 9 years ago
Andreas Weigel 8fefdcde27
fix problems in test and requests for cmake build
add missing stdarg header

fix hardcoded errno integer values in tests

add dependency to wstestdata and rename to prevent building it as c
source
9 years ago
Andreas Weigel 826e0f9e39
add generation wstest to cmake
add wstestdata.c, because the python data generation script has too many
dependencies

remove some redundance from jpeg test creation

add support for decoding close messages
9 years ago
Christian Beier c80879ee69
CMake: add all function checks that used to be in configure.ac
Fixes #174
9 years ago
Christian Beier 81d5b844ed
CMake: properly name rfbconfig.h cmake template 9 years ago
Christian Beier 5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1' 9 years ago
Christian Beier 7ccae55b59
CMake: include a FindFFMPEG module and use it
Thankfully taken from https://github.com/robotology/ycm/blob/master/find-modules/FindFFMPEG.cmake
9 years ago
Christian Beier fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found 9 years ago
Christian Beier 2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found 9 years ago
Christian Beier 6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h 9 years ago
Christian Beier ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android 9 years ago
Christian Beier 5b920be490
CMake: when crosscompiling for Android, don't look for systemd 9 years ago
Christian Beier 0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support 9 years ago
Christian Beier 06978dee89 CMake: remove check for C++ compiler
We don't have any C++ sources.
9 years ago
Christian Beier 417eb7590b CMake: only add tjunittest if turbojpeg found 9 years ago