Pierre Ossman
0b1d57be37
Test packaging on Travis
Don't just build things, also test the various packaging.
3 lat temu
Aaron Sowry
95ad018961
Implement touch gesture handling on Unix
Allows the user to perform certain important mouse operations using
touch gestures instead.
5 lat temu
Aaron Sowry
c79a05dc15
Implement X Input pointer handling for Unix
Switch from using Core events to using X Input events for pointer
devices in order to differentiate between mouse events and touch events.
Because FLTK doesn't understand X Input 2, we intercept these events and
translate them to core events where possible.
5 lat temu
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 lat temu
Pierre Ossman
849bd56728
Also link in math library in static build
It's included by default in dynamic builds so we need to make sure it
isn't lost when switching to static.
4 lat temu
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 lat temu
Pierre Ossman
7996059455
Fix C linking when doing static builds
5 lat temu
Pierre Ossman
57da16bbcf
Include Carbon when statically linking gettext on macOS
As gettext needs some stuff from Carbon and we don't want to rely on it
being pulled in as a side effect.
4 lat temu
Pierre Ossman
5ef3a70d1d
Fix link order of nettle and hogweed
Hogweed needs nettle, not the other way around. So make sure they
are specified in the correct order for the static link to succeed.
4 lat temu
Pierre Ossman
18ba39cb71
Include libuuid in static builds
Modern fontconfig needs it, so make sure it is included.
5 lat temu
Peter Åstrand (astrand)
97eeefd771
Link zlib statically on all platforms
The API and ABI isn't as stable as we need, so it isn't safe to
link it dynamically even on Linux.
5 lat temu
Peter Åstrand (astrand)
242c5b2c8a
Add RandR support for x0vncserver
Change Xserver screen through libXrandr. For complex configurations,
all outputs must have corresponding size modes. As a special case, if
the client requests a single screen with an odd size (for example when
adjusting the size of a non-fullscreen vncviewer), find a smaller
suitable mode, and reduce the framebuffer size as well.
6 lat temu
Peter Åstrand (astrand)
6011f96cdc
Rename README.txt to README.rst and convert to reStructuredText
6 lat temu
Pierre Ossman
2699967aad
Improve test if library is a CMake target
Newer CMake complains when you try to get the property of something
that isn't a target so use the specific if operator instead.
6 lat temu
Pierre Ossman
c27f5da1b7
Avoid getting LOCATION property
It's not supported in newer CMake, so try to deduce the library
filename from the target name.
6 lat temu
Pierre Ossman
82e753d4e1
Add libpng as a dependency for freetype for static builds
Newer versions of Freetype requires libpng as well.
6 lat temu
klemens
0536d0975b
spelling fixes
7 lat temu
Pierre Ossman
4495b72f99
Update .la files on each build
This makes sure other build systems trigger properly, e.g. when
building Xvnc.
7 lat temu
Pierre Ossman
b74728f9d6
Add option to enable thread sanitizer
8 lat temu
DRC
2a2e2c3611
Allow static linking against only the GCC libs
8 lat temu
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 lat temu
Pierre Ossman
de2df7e600
Set libdir in generated .la files
This is needed in order to get libtool to treat them as normal
libraries and not "convenience libraries". The latter are linked
with --whole-archive, which pulls a lot of unnecessary stuff into
Xvnc and libvnc.so.
9 lat temu
Pierre Ossman
95763a63e8
GnuTLS needs socket libraries so include them in the static link
9 lat temu
Peter Åstrand (astrand)
c4bc5a8f0e
Build fixes for modern versions of binutils.
Need to explicitly list DSOs.
9 lat temu
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 lat temu
Brian P. Hinz
44759765fc
Static build fix - only attempt to link against libtasn1 if it's present
GnuTLS may be compiled without external libtasn1, so we shouldn't try
to link against it unless it's actually present.
9 lat temu
Brian P. Hinz
37c2f4da50
Back out previous change
Needed to merge upstream changes in before creating pull request.
9 lat temu
Brian P. Hinz
2773ff9371
Static build fix - only attempt to link against libtasn1 if it's present
GnuTLS may be compiled without external libtasn1, so we shouldn't try
to link against it unless it's actually present.
9 lat temu
Pierre Ossman
df3cc42631
Handle mingw circular dependencies in base libraries
Our link order should now match the built-in library list.
9 lat temu
Pierre Ossman
881a8e27fc
Handle static linking flags in .la files
9 lat temu
Pierre Ossman
40a5f9ef65
Handle arguments that have the -l prefix
9 lat temu
Pierre Ossman
216d591f41
Split up any entries that contain multiple link arguments
This happens sometimes in order to enforce a strict ordering.
9 lat temu
Pierre Ossman
818550b54d
The output variable from find_library() needs to be cleared
Otherwise you'll just get the initial response back every time
you call it.
9 lat temu
Pierre Ossman
d94e3f2d3c
Remove obsolete reference to staticlib
We don't use that directory anymore.
9 lat temu
Pierre Ossman
ced99a9dba
Use dynamic builds by default
Static builds are the special case, so it should be left off
by default.
9 lat temu
Pierre Ossman
5b9303a697
Include gettext and zlib in static GnuTLS link
This is needed to make sure they are always included, and in the
proper order.
9 lat temu
Pierre Ossman
95491397a5
Only link with crypt32 on Windows
crypt32 is a Windows thing, and it is used no matter the crypto
backend.
9 lat temu
Pierre Ossman
4790e114da
Put quotes around entire static link variables
CMake is very aggressive about minimising the list of libraries,
so we need to be similarily aggressive about quotes to make sure
we get everything we want and in the correct order.
9 lat temu
Brian P. Hinz
a6d6dbb5b0
Add in missing dependency for windows builds.
Commit f95272d
created some undefined references in GnuTLS.
9 lat temu
Pierre Ossman
f95272de30
Extend "static" build option
Try to link as much as possible statically in an effort to produce
binaries that can be run everywhere.
9 lat temu
Pierre Ossman
ec3dfe6893
Clean up GnuTLS linking and instructions
GnuTLS can have different crypto backends, and it is rarely gcrypt
these days. So we should not be including that unconditionally,
and should not be pointing people at it either. Also remove the
section about Win32 binaries as those are out of date and probably
insecure. Lastly remove the section about static builds as it is
a general issue and in no way complete with just the GnuTLS portions.
9 lat temu
Brian Hinz
236b019980
Fixes problems with cmake detection of GnuTLS. The current CMakeLists.txt uses check_function_exists to identify legacy versions of GnuTLS but cmake performs this test by linking a small test program. If libgnutls, libgcrypt, or libgpg-error are outside the default library search path, linking the test program fails even though gnutls and it's dependencies are installed. This patch makes it possible to specify the location of each of the three libraries independently and only as needed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5160 3789f03b-4d11-0410-bbf8-ca57d06f2519
10 lat temu
Brian Hinz
491b9505c2
Use CMAKE_COMMAND variable instead of hard coded cmake executable name for better portability.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5088 3789f03b-4d11-0410-bbf8-ca57d06f2519
11 lat temu
Pierre Ossman
95e28f74a2
Consolidate the installation paths and make sure we have decent defaults.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
4f6286c9d1
We don't need HAVE_GNUTLS anymore, either
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4778 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
e4f7c77bf9
If the Java viewer build is enabled, make sure it gets built when doing 'make installer'
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4777 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
c67db65070
We don't need BUILD_DIR anymore since we divorced Visual Studio
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4776 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
ccc0969dd9
Remove Visual C++ support
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4774 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
c19ab9ec7f
Move Java source up one level and allow Java viewer to be built as a standalone project (per community request)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4715 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu
DRC
d000252926
Only sign JAR when it is built
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4703 3789f03b-4d11-0410-bbf8-ca57d06f2519
12 lat temu