spice/client/x11
Christophe Fergeau 2a4614ea94 autotools: refactor the whole build machinery
spice Makefile.am setup is a bit confusing, with source file
names being listed several times in different Makefile.am
(generally, once in EXTRA_DIST and another time in another
Makefile.am in _SOURCES). The client binaries are built
by client/x11/Makefile.am, which means recursing into client,
then into x11 to finally build spicec. This Makefile.am is
also referencing files from common/ and client/, which is
a bit unusual with autotools.

This patch attempts to simplify the build process to get
something more usual from an autotools point of view.
The source from common/ are compiled into a libtool convenience
library, which the server and the client links against which avoids
referencing source files from common/ when building the server and
the client. The client is built in client/Makefile.am and directly
builds files from x11/ windows/ and gui/ if needed (without
recursing in these subdirectories).

This makes the build simpler to understand, and also makes it
possible to list source files once, which avoids potential
make distcheck breakage when adding new files.

There is a regression in this patch with respect to
sw_canvas/gl_canvas/gdi_canvas. They should be built with
different preprocessor #defines resulting in different behaviour
of the canvas for the client and the server. However, this is not
currently the case, both the client and the server will use the same
code for now (which probably means one of them is broken). This will
be fixed in a subsequent commit.

make distcheck passes, but compilation on windows using the
autotools build system hasn't been tested, which means it's likely
to be broken. It shouldn't be too hard ot fix it though, just let
me know of any issues with this.
2011-05-03 14:44:10 +02:00
..
images autotools: refactor the whole build machinery 2011-05-03 14:44:10 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
atomic_count.h client: Include stdint.h for uint32_t 2010-09-29 12:44:33 +02:00
event_sources_p.cpp Replace epoll with select in X client 2010-10-12 13:43:44 +02:00
event_sources_p.h Replace epoll with select in X client 2010-10-12 13:43:44 +02:00
main.cpp client: Include config.h from common.h 2010-09-29 13:26:21 +02:00
named_pipe.cpp Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
named_pipe.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixels_source_p.h Make opengl optional, disabled by default 2010-06-21 14:50:18 +02:00
pixels_source.cpp Client: Support pixmap format conversion in copy_pixels 2010-04-23 16:39:13 +02:00
platform_utils.cpp Remove no longer used wstring_printf functions 2010-10-21 13:22:01 +02:00
platform_utils.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform.cpp spicec-x11: Work around a bug in xsel 2011-03-23 17:18:37 +01:00
playback.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
playback.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_drawable.cpp gl: use correct pixman accessor for image data 2011-04-08 11:09:36 +02:00
red_pixmap_gl.cpp gl: remove unused variables 2011-04-08 11:09:39 +02:00
red_pixmap_sw.cpp Remove all mentions of "cairo" from the code 2010-05-03 12:38:02 +02:00
red_pixmap.cpp Make client canvas and pixmaps handle more formats and simplify 2010-04-23 16:36:35 +02:00
red_window_p.h spicec-x11: Let the window manager place our window the 1st time (rhbz#662407) 2010-12-16 14:54:46 +01:00
red_window.cpp Fixes compilation error of Spice Client (Linux/X11) with OpenGL enabled modified: client/x11/red_window.cpp 2011-01-05 09:59:59 +01:00
res.cpp spicec: Remove spice-client watermark (rhbz#662450) 2010-12-16 14:54:46 +01:00
res.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
resource.h spicec: Remove spice-client watermark (rhbz#662450) 2010-12-16 14:54:46 +01:00
x_icon.cpp spicec-x11: Put locks around xlib calls which wait for a reply 2010-10-11 22:36:42 +02:00
x_icon.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
x_platform.h Make opengl optional, disabled by default 2010-06-21 14:50:18 +02:00