FreeRDP/cmake
ilammy b0bc59595d wClipboard: local file subsystem boilerplate
This adds some initial skeleton for local file subsystems of wClipboard.

The idea is to delegate handling of local file formats to dedicated
subsystems selected at runtime based on the compiled-in support code.
This is somewhat similar to the approach used by audin, rdpsnd, rdpgfx
channels in FreeRDP.

Only one subsystem is actually used by wClipboard during runtime. It is
selected by the ClipboardInitLocalFileSubsystem() function which will
try initializing the compiled-in subsystems in the preferred order. Thus
when adding new subsystems one must make sure to 1) return as soon as
any initialization succeeds, 2) leave wClipboard in usable state if the
initialization fails.

A POSIX file subsystem is added as a pioneer. It will handle local file
format "text/uri-list" and will use POSIX API to access the files. This
is the combination one would expect to be supported by Linux systems
which can run the XFreeRDP client.

The POSIX subsystem is enabled only when CMake detects <unistd.h> as
available. This is the core POSIX include file so we can reasonably
expect the rest of the POSIX API to be available along with that file.

We also define a new configuration option WITH_DEBUG_WCLIPBOARD which
will be used to guard some debug-only verbose logging in wClipboad.
2017-04-09 03:15:48 +03:00
..
compat_2.8.2 cmake: fixed compatibility with version 2.8.0 2012-11-23 14:12:52 +00:00
compat_2.8.3 cmake: make sure build works with cmake < 2.8.3 2012-10-25 11:22:53 +02:00
compat_2.8.6 cmake: fixed compatibility with version 2.8.0 2012-11-23 14:12:52 +00:00
compat_2.8.11 cmake: fix exporting of targets on pre-2.8.11 2013-10-29 14:47:40 -04:00
AndroidToolchain.cmake cmake: fix Android toolchain missing usage of CMAKE_PREFIX_PATH 2016-07-19 21:53:23 -04:00
AutoVersioning.cmake Error fixed in AutoVersioning when no .git is found 2012-07-27 03:32:42 +02:00
CheckCmakeCompat.cmake libfreerdp: always build "MONOLITHIC" 2014-09-12 00:19:53 +02:00
ComplexLibrary.cmake build: remove FREERDP_MONOLITHIC_BUILD 2016-01-12 17:32:32 +01:00
ConfigOptions.cmake wClipboard: local file subsystem boilerplate 2017-04-09 03:15:48 +03:00
ConfigOptionsAndroid.cmake Fixed android build issues. 2016-02-01 15:21:07 +01:00
ConfigOptionsiOS.cmake Disabled thread local storage on iOS. 2016-10-06 13:43:10 +02:00
EchoTarget.cmake cmake: add target helper functions 2013-09-05 15:20:51 -04:00
FindDBus.cmake Added proper CMake checks for libraries linked with urbdrc 2013-08-02 15:49:53 +02:00
FindDbusGlib.cmake channels/urbdrc: fix cmake scripts 2014-04-26 13:44:58 -04:00
FindDevD.cmake * tsmf: OSS code cleanup 2015-05-27 22:58:41 +03:00
FindDirectFB.cmake build: Honor REQUIRE if set in find_package 2012-01-23 14:40:05 +01:00
FindDocBookXSL.cmake Replaced xmlto with xsltproc to word around a bug preventing manpages 2013-08-06 15:02:36 +02:00
FindFeature.cmake xfreerdp: add async-channels command-line argument 2013-02-19 12:29:15 -05:00
FindFFmpeg.cmake build: check libavcodec api version 2012-12-16 22:38:09 -05:00
FindGlib.cmake Find glibconfig.h cmake should use pkgconfig information instead of a hard coded path to /usr/lib. 2014-06-27 14:46:27 -05:00
FindGSM.cmake channels/rdpsnd: initial attempt at adding GSM610 support 2013-11-22 12:11:39 -05:00
FindGStreamer_0_10.cmake Added cmake magic to allow selection of gstreamer 1.0 or 0.10 2014-05-24 18:21:40 +02:00
FindGStreamer_1_0.cmake FindGStreamer_1_0: fix build failure for new gstreamer versions 2015-10-04 18:17:33 +02:00
FindImageMagick.cmake xfreerdp-client: hack cmake for ubuntu imagemagick 2013-05-01 12:39:26 -04:00
FindIPP.cmake cmake: fix Mac OS X IPP detection 2013-01-19 20:46:14 -05:00
FindKRB5.cmake Updated KRB5 detection, added error case handler 2017-02-21 10:54:34 +01:00
Findlibsystemd.cmake Adds a systemd journal appender 2015-10-30 14:50:14 +01:00
Findlibusb-1.0.cmake Added libusb detection CMake script. 2013-08-02 15:49:53 +02:00
FindMbedTLS.cmake cmake: add mbed TLS detection 2015-09-15 20:52:46 -04:00
FindOpenH264.cmake Added openh264_dll to library name hints. 2015-03-25 10:41:40 +01:00
FindOpenSLES.cmake Fixed android library detection. 2016-06-03 13:01:59 +02:00
FindOpenSSL.cmake Renamed OpenSSL library 2017-01-16 16:39:06 +01:00
FindOSS.cmake Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:42:06 -04:00
FindPAM.cmake cmake: added PAM detection script 2013-05-03 23:29:04 -04:00
FindPCSC.cmake libwinpr-smartcard: add option to build statically against specialized pcsclite build 2014-04-08 01:26:28 -04:00
FindPCSCWinPR.cmake libwinpr-smartcard: add option to build statically against specialized pcsclite build 2014-04-08 01:26:28 -04:00
FindPixman.cmake cmake: add FindPixman.cmake 2013-08-05 20:50:23 -04:00
FindPulse.cmake cmake: add PULSE_FOUND variable to FindPulse.cmake 2015-05-20 11:27:36 -04:00
FindUDev.cmake Added proper CMake checks for libraries linked with urbdrc 2013-08-02 15:49:53 +02:00
FindUUID.cmake Fixed UUID find. 2016-06-27 10:37:24 +02:00
FindWayland.cmake cmake/FindWayland: cleanup 2016-02-25 21:57:56 +01:00
Findx264.cmake libfreerdp-codec: add x264 stubs 2015-07-28 16:01:34 -04:00
FindX11.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXcursor.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXdamage.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXext.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXfixes.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXi.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXinerama.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXKBFile.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXmlto.cmake types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
FindXRandR.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXrender.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXShm.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXTest.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
FindXv.cmake build: improve X11 detection on OS X 2014-12-12 17:43:14 +01:00
GetGitRevisionDescription.cmake Added git function to retrieve current hash. 2014-10-09 16:14:09 +02:00
GetGitRevisionDescription.cmake.in Git build versioning added. 2012-07-27 03:11:40 +02:00
GNUInstallDirsWrapper.cmake cmake: Allow CMAKE_INSTALL_LIBDIR to be an absolute path. 2012-08-15 00:26:04 -04:00
InstallFreeRDPMan.cmake Install man pages 2017-01-16 11:34:32 +01:00
iOSToolchain.cmake ios: updates to build with xcode6+ 2015-04-21 14:16:32 +02:00
LibFindMacros.cmake Added new cmake library search functions. 2014-05-23 13:06:03 +02:00
MergeStaticLibs.cmake freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
MSVCRuntime.cmake freerdp: fix build warnings with MSVC 2013-07-26 15:21:19 -04:00
today.cmake Support old CMake versions without TIMESTAMP #3727 2017-01-31 16:53:04 +01:00
WindowsDLLVersion.rc.in build/win32: fix DLL version information 2016-02-29 16:00:35 +01:00