pdlan
484ae7a2ea
Add support for RSA-AES security types
1 jaar geleden
Pierre Ossman
f2bbb6b303
Move include_directories() to proper places
We should scope these as narrowely as possible to avoid side effects.
1 jaar geleden
Pierre Ossman
101cef956d
Find FFMPEG using pkg-config
This is the standard method of finding it on Unix systems, so make sure
we use it. Still keep a fallback, though, for other systems, e.g.
Windows.
2 jaren geleden
Pierre Ossman
4cf31302a1
Fix up ffmpeg header and library handling
FFMPEG is needed by the RFB library, so all the details about it should
only be applied there and not for other components.
2 jaren geleden
Pierre Ossman
115d3f883e
Add target_link_directory() compat function
We need this function to deal with pkgconfig files properly, but
unfortunately it doesn't exist until CMake 3.13, and we need to support
CMake 3.10. So add a hacky compatibility function for older systems.
2 jaren geleden
Pierre Ossman
99209d0339
Enable stream sanity checks in debug builds
Enable this automatically for developers so we increase the chance of
these problems getting caught. There is a risk of overhead though so
keep them disabled for release builds.
2 jaren geleden
Pierre Ossman
d0c7b915c7
Remove 32-/64-bit distinctions
The migration from 32-bit to 64-bit has long passed. Let's get rid of
all distinctions as native applications it the norm now.
2 jaren geleden
Mārtiņš Možeiko
139e5e9477
support H264 decoding with MediaFoundation on Windows
2 jaren geleden
Vladimir Sukhonosov
03df448496
H264 Decoder
Linux implementation using ffmpeg
2 jaren geleden
Jan Grulich
d2d5270462
SELinux: restore SELinux context in case of different policies
2 jaren geleden
Pierre Ossman
cb3c78f433
Raise CMake requirement to 3.10
It's difficult to support both old and new versions, so raise the
requirement to the oldest that is commonly used, which is CMake 3.10.2
on Ubuntu 18.04.
2 jaren geleden
Pierre Ossman
56c50c0146
Change development version to 1.12.80
2 jaren geleden
Pierre Ossman
e7f8370ffc
Disable dangerous macOS SDK macros
They define macros such as "check()" which causes our code to break as
we have methods with that name.
2 jaren geleden
Alex Richardson
9d2b692afd
Allow building with -DBUILD_VIEWER=OFF
Without this change I get CMake errors due to use of ${FLTK_INCLUDE_DIR}
and references to the non-existent vncviewer target.
2 jaren geleden
Pierre Ossman
087895a2f8
Disable nonliteral format warnings on clang
These are incompatible with functions such as gettext() as clang hasn't
implemented the function attribute function_arg.
3 jaren geleden
Pierre Ossman
a7f1984a08
Change development version to 1.11.80
3 jaren geleden
Pierre Ossman
fdde72c820
Move release cmake stuff to release directory
It's just confusing when this is split over two directories.
3 jaren geleden
Samuel Mannehed
3264216c2d
Bump up Windows version from Vista to Windows 7
4 jaren geleden
Pierre Ossman
ecb016fe3f
Switch region code to pixman
This is the current upstream so let's make use of it to get the latest
in features and fixes.
4 jaren geleden
Pierre Ossman
e4f253e1d1
Use standard install dir variable names
This makes our builds directly compatible with most distributions
without packagers/users having to specify extra flags.
5 jaren geleden
Pierre Ossman
1af1cfdf87
Start sessions via PAM
This sets up a more correct session as there are key tasks that
need to be performed by PAM. E.g. systemd will allocate cgroups
and start base services.
In order to easily handle this as a system service the mapping of
displays is now done via a configuration file.
5 jaren geleden
Pierre Ossman
d80817f101
Make PAM mandatory
It is present on all UNIX systems anyway, so let's simplify things.
We will need it for more proper session startup anyway.
5 jaren geleden
Pierre Ossman
df25ae4119
Always install systemd services
It is the most common init system these days so it should not be
hidden in the contrib/ directory.
This also removes all old SysV files from the contrib packages.
6 jaren geleden
Pierre Ossman
ebaa948e46
Add default configuration files
Install some example files to make things more easily discoverable.
5 jaren geleden
Pierre Ossman
0029e3e2b4
Change development version to 1.10.80
4 jaren geleden
Bernhard M. Wiedemann
e27c896998
Use cmake TIMESTAMP function
because it is not only platform independent
but also allows to override the build date
This helps to make tigervnc builds reproducible
See https://reproducible-builds.org/ for why this is good
Also adds UTC flag, to be independent of timezone.
Also changes JAVA_DATE format to ISO-8601 date format.
Requires cmake-2.8.11+ from 2013
5 jaren geleden
Pierre Ossman
beb59a4320
Remove variable length arrays
These are not allowed in C++, and have been made optional in C11.
So let's just get rid of them and any issues they may cause.
5 jaren geleden
Pierre Ossman
1f8d9988d1
Change development version to 1.9.80
6 jaren geleden
Peter Åstrand (astrand)
f6ebe21f6c
Fix windows build with -DCMAKE_BUILD_TYPE=Debug on machines with IActiveDesktop
Avoid that the check_c_source_compiles tests fails due to unused
variables, since Debug adds -Werror.
6 jaren geleden
Pierre Ossman
d5391142f7
Make sure we get C99
The compiler might default to something older, so make sure we get
the features we need.
6 jaren geleden
Pierre Ossman
eefa6fe6e7
Change development version to 1.8.80
7 jaren geleden
Joel Teichroeb
ec71201348
Check CMake version for MinGW RC file handling
8 jaren geleden
Pierre Ossman
f524072e54
Change development version to 1.7.80
8 jaren geleden
Pierre Ossman
4b9c1ff9a8
Use cmake_policy() in a safe way
cmake_policy() by itself raises the minimum requirement on CMake.
We want it to be optional though, so add the necessary if() around
it.
8 jaren geleden
Pierre Ossman
14c563a22e
Avoid builtin dgettext when checking libc
The builtin causes errors in the test, and we're also trying to
determine if it is provided by libc or not.
8 jaren geleden
Pierre Ossman
aaa2d0e44c
Silence CMake link interface warning
We don't modify the link interface directly so these warnings are
just useless noise. We could in theory use the new naming instead,
but at least CMake 2.8.12 is buggy and screws up the link when that
policy is active.
8 jaren geleden
Pierre Ossman
210b4b5b24
Don't probe libintl if it wasn't found
It just makes CMake error out rather than continue without NLS
support.
8 jaren geleden
Pierre Ossman
b74728f9d6
Add option to enable thread sanitizer
8 jaren geleden
Pierre Ossman
1cc323df53
Raise system requirement on Windows to Vista/2008
We need the newer versions of Windows to get access to better
thread primitives.
8 jaren geleden
Pierre Ossman
c416ad5389
Change development version to 1.6.80
8 jaren geleden
DRC
872e5dd859
Allow BUILD_TIMESTAMP to be set statically
8 jaren geleden
DRC
fd9f319b45
Ensure that libjpeg-turbo headers are included
On some systems, the build was picking up jpeglib.h from the system
include directories, and if the system's version of libjpeg[-turbo] used
a different API/ABI version than the one specified in JPEG_LIBRARY, this
led to a "Wrong JPEG library version" error at run time.
8 jaren geleden
Pierre Ossman
86640e8f91
Add address sanitizer switch
Useful for debugging memory leaks and access violations. It is
not available on Windows though, and there is some problem compiling
ObjectiveC++ with it turned on.
8 jaren geleden
Pierre Ossman
8d6e356f7d
Change development version to 1.5.80
9 jaren geleden
Pierre Ossman
cfb21169c4
Require getaddrinfo() on all systems
Every reasonably current system support getaddrinfo() so get rid
of the legacy fallbacks.
9 jaren geleden
Pierre Ossman
a08a8436a9
Remove HAVE_INET_ATON as nothing uses it
9 jaren geleden
Pierre Ossman
a3f6194601
Look in libsocket for socket functions on Solaris
9 jaren geleden
Pierre Ossman
98af8b1e73
stop using check_function_exists() for Windows socket functions
It fails to find stdcall functions, so we need to just hard code
things based on our minimum Windows requirements.
9 jaren geleden
Pierre Ossman
70b51fe032
stop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()
It ignores it anyway.
9 jaren geleden
Pierre Ossman
725121715e
Bump Windows requirement to XP SP2
That's even more generous than Microsoft themselves, and we need
such a new version for basic IPv6 support.
9 jaren geleden