Michele Calgaro
1aae5a01b3
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 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>
3 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>
4 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>
4 years ago
Michele Calgaro
5255fdc964
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
177b748ba1
Fix path added to CMAKE_MODULE_PATH.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 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>
6 years ago
Slávek Banko
f3f392caec
Merge tag 'LibVNCServer-0.9.12'
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Christian Beier
acc9af95ee
CMake: require stdint.h
...
This is used at quite a few places in the code, so make it mandatory.
6 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.
6 years ago
Christian Beier
6566ba5f02
CMake: require some form of hton64() for websockets
...
Closes #127
6 years ago
Christian Beier
5f3ea4e53d
CMake: build the repeater example as well
6 years ago
Christian Beier
5c968dd8a4
CMake: fix build error that occured on Windows with CMake 3.12
6 years ago
Christian Beier
77dce5b6af
CMake: only do jpeg-turbo tests if a libjpeg was found
6 years ago
Christian Beier
79516a6aa3
CMake: make get_link_libraries() not crash when there are no linked libraries at all
6 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.
6 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
6 years ago
Christian Beier
1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define
6 years ago
Christian Beier
e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support
6 years ago
Christian Beier
a2ebdf46cc
CMake: declare that websockets depend on crypto
6 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.
6 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>
6 years ago
Christian Beier
5c0ff7e072
CMake: require FFMPEG version >= 3.1.0
...
re #231
7 years ago
Christian Beier
71c3215d8f
SDLvncviewer: enable the X11 clipboard if X11 was found
7 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.
7 years ago
Slávek Banko
6fbd5fcdf1
Fix build with cmake < 3.0
7 years ago
Slávek Banko
68cb29a12f
Merge tag 'LibVNCServer-0.9.11' of https://github.com/LibVNC/libvncserver
...
Conflicts:
CMakeLists.txt
libvncserver/main.c
7 years ago
Christian Beier
6814e946e0
libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming of other files
7 years ago
Christian Beier
98e1be528f
Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into simonwaterman-sasl2
7 years ago
simon
cb4e15c1ae
Added SASL authentication support
...
Added SASL support to OpenSSL
8 years ago
Jocelyn Le Sage
e8a1ca2035
Fixed compilation of websockets on system where there is no implementation of base64 functions.
8 years ago
Christian Beier
0e76b289c8
websockets: only build tests for a websockets-enabled build
8 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
8 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
8 years ago
Christian Beier
c80879ee69
CMake: add all function checks that used to be in configure.ac
...
Fixes #174
8 years ago
Christian Beier
81d5b844ed
CMake: properly name rfbconfig.h cmake template
8 years ago
Christian Beier
5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1'
8 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
8 years ago
Christian Beier
fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found
8 years ago
Christian Beier
2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found
8 years ago
Christian Beier
6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h
8 years ago
Christian Beier
ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android
8 years ago
Christian Beier
5b920be490
CMake: when crosscompiling for Android, don't look for systemd
8 years ago
Christian Beier
0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support
8 years ago
Christian Beier
06978dee89
CMake: remove check for C++ compiler
...
We don't have any C++ sources.
8 years ago
Christian Beier
417eb7590b
CMake: only add tjunittest if turbojpeg found
8 years ago
Christian Beier
9198875122
CMake: enable the tests that succeed
8 years ago
Christian Beier
f21825bac0
CMake: add libm to tests only on Unix
8 years ago
Christian Beier
a6c599a5fc
CMake: build the tests
8 years ago
Christian Beier
ebbbc8bd1b
CMake: properly name examples as examples, not tests
8 years ago