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 years ago
Mārtiņš Možeiko
139e5e9477
support H264 decoding with MediaFoundation on Windows
2 years ago
Vladimir Sukhonosov
03df448496
H264 Decoder
Linux implementation using ffmpeg
2 years ago
Jan Grulich
d2d5270462
SELinux: restore SELinux context in case of different policies
2 years ago
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 years ago
Pierre Ossman
56c50c0146
Change development version to 1.12.80
2 years ago
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 years ago
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 years ago
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.
2 years ago
Pierre Ossman
a7f1984a08
Change development version to 1.11.80
3 years ago
Pierre Ossman
fdde72c820
Move release cmake stuff to release directory
It's just confusing when this is split over two directories.
3 years ago
Samuel Mannehed
3264216c2d
Bump up Windows version from Vista to Windows 7
4 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Pierre Ossman
ebaa948e46
Add default configuration files
Install some example files to make things more easily discoverable.
5 years ago
Pierre Ossman
0029e3e2b4
Change development version to 1.10.80
4 years ago
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 years ago
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 years ago
Pierre Ossman
1f8d9988d1
Change development version to 1.9.80
5 years ago
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 years ago
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 years ago
Pierre Ossman
eefa6fe6e7
Change development version to 1.8.80
7 years ago
Joel Teichroeb
ec71201348
Check CMake version for MinGW RC file handling
7 years ago
Pierre Ossman
f524072e54
Change development version to 1.7.80
7 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Pierre Ossman
b74728f9d6
Add option to enable thread sanitizer
8 years ago
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 years ago
Pierre Ossman
c416ad5389
Change development version to 1.6.80
8 years ago
DRC
872e5dd859
Allow BUILD_TIMESTAMP to be set statically
8 years ago
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 years ago
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 years ago
Pierre Ossman
8d6e356f7d
Change development version to 1.5.80
9 years ago
Pierre Ossman
cfb21169c4
Require getaddrinfo() on all systems
Every reasonably current system support getaddrinfo() so get rid
of the legacy fallbacks.
9 years ago
Pierre Ossman
a08a8436a9
Remove HAVE_INET_ATON as nothing uses it
9 years ago
Pierre Ossman
a3f6194601
Look in libsocket for socket functions on Solaris
9 years ago
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 years ago
Pierre Ossman
70b51fe032
stop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()
It ignores it anyway.
9 years ago
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 years ago
Pierre Ossman
123d59cd19
Make warnings into errors when doing debug builds
Assume debug builds means it's a developer working on TigerVNC
rather than a user just compiling it. At that point we should not
accept any new warnings in the code.
9 years ago
Pierre Ossman
7ca879fb90
Turn on more warnings to catch potential bugs
9 years ago
Peter Åstrand (astrand)
c4bc5a8f0e
Build fixes for modern versions of binutils.
Need to explicitly list DSOs.
9 years ago
Pierre Ossman
cc8c6a296f
Drop bundled zlib
We're not doing a sufficient job of keeping this updated so list
it as an external requirement instead.
9 years ago
Pierre Ossman
88c24edd8f
Raise GnuTLS requirements to 3.x
This allows us to simplify things by getting rid of some old
compatibility code. People should really be using current versions
of GnuTLS anyway to stay secure.
9 years ago
Pierre Ossman
56610fb847
Raise FLTK requirement to 1.3.3
This means that we can remove a lot of conditionals and fallback code.
9 years ago