summaryrefslogtreecommitdiff
path: root/src/3rd_party/dbus-1.7.8/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rd_party/dbus-1.7.8/cmake')
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/CMakeLists.txt601
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/ConfigureChecks.cmake157
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/bus-test.bat.cmake14
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/bus/CMakeLists.txt189
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/bus/service.cmake3
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/bus/system.conf.cmake62
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/config.h.cmake250
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/dbus-env.bat.cmake8
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/dbus/CMakeLists.txt316
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/doc/CMakeLists.txt154
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/doc/index.html.cmake55
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake37
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c33
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake35
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake36
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake3
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake42
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake52
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake5
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake9
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake22
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake12
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake100
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake18
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake44
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/test/CMakeLists.txt155
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/test/name-test/CMakeLists.txt39
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/tools/CMakeLists.txt49
28 files changed, 0 insertions, 2500 deletions
diff --git a/src/3rd_party/dbus-1.7.8/cmake/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/CMakeLists.txt
deleted file mode 100644
index fe1119664b..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/CMakeLists.txt
+++ /dev/null
@@ -1,601 +0,0 @@
-# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
-list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules")
-
-# we do not need to have WIN32 defined
-set(CMAKE_LEGACY_CYGWIN_WIN32 0)
-
-project(dbus)
-
-# we need to be up to date
-CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
-endif(COMMAND cmake_policy)
-
-
-# detect version
-include(MacrosAutotools)
-autoversion(../configure.ac dbus)
-# used by file version info
-set (DBUS_PATCH_VERSION "0")
-
-# set PACKAGE_... variables
-autopackage(
- dbus
- ${DBUS_VERSION_STRING}
- "http://dbus.freedesktop.org"
- "https://bugs.freedesktop.org/enter_bug.cgi?product=dbus"
-)
-
-include(Macros)
-TIMESTAMP(DBUS_BUILD_TIMESTAMP)
-
-########### basic vars ###############
-
-
-if (DBUSDIR)
- set(DBUS_INSTALL_DIR "${DBUSDIR}")
-endif (DBUSDIR)
-if ($ENV{DBUSDIR})
- set(DBUS_INSTALL_DIR "$ENV{DBUSDIR}")
-endif ($ENV{DBUSDIR})
-
-if (DBUS_INSTALL_DIR)
- set(CMAKE_INSTALL_PREFIX "${DBUS_INSTALL_DIR}" CACHE PATH "install prefix" FORCE)
-else (DBUS_INSTALL_DIR)
- set(DBUS_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}")
-endif (DBUS_INSTALL_DIR)
-
-# autotools style
-if (NOT DATAROOTDIR)
- set (DATAROOTDIR share)
-endif()
-
-if (NOT DATADIR)
- set (DATADIR ${DATAROOTDIR})
-endif()
-
-if (NOT DOCDIR)
- SET(DOCDIR ${DATAROOTDIR}/doc/dbus)
-endif()
-
-if (NOT DBUS_DATADIR)
- SET(DBUS_DATADIR ${DATADIR})
-endif()
-
-set(prefix ${DBUS_INSTALL_DIR})
-set(exec_prefix ${prefix})
-set(EXPANDED_LIBDIR ${DBUS_INSTALL_DIR}/lib)
-set(EXPANDED_INCLUDEDIR ${DBUS_INSTALL_DIR}/include)
-set(EXPANDED_BINDIR ${DBUS_INSTALL_DIR}/bin)
-set(EXPANDED_SYSCONFDIR ${DBUS_INSTALL_DIR}/etc)
-set(EXPANDED_DATADIR ${DBUS_INSTALL_DIR}/${DBUS_DATADIR})
-set(DBUS_MACHINE_UUID_FILE ${DBUS_INSTALL_DIR}/lib/dbus/machine-id)
-set(DBUS_BINDIR ${EXPANDED_BINDIR})
-set(DBUS_DAEMONDIR ${EXPANDED_BINDIR})
-
-
-#enable building of shared library
-SET(BUILD_SHARED_LIBS ON)
-
-if(WIN32)
- set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "bin" LIBRARY DESTINATION "lib" ARCHIVE DESTINATION "lib")
-else()
- set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION "${EXPANDED_LIBDIR}" LIBRARY DESTINATION "${EXPANDED_LIBDIR}" ARCHIVE DESTINATION "${EXPANDED_LIBDIR}")
-endif()
-
-if (CYGWIN)
- set (WIN32)
-endif (CYGWIN)
-
-# search for required packages
-if (WIN32)
- # include local header first to avoid using old installed header
- set (CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/..)
- find_package(LibIconv)
- include(Win32Macros)
- addExplorerWrapper(${CMAKE_PROJECT_NAME})
-endif (WIN32)
-
-if(NOT WIN32)
- option (DBUS_ENABLE_ABSTRACT_SOCKETS "enable support for abstract sockets" ON)
- set (CMAKE_THREAD_PREFER_PTHREAD ON)
- include (FindThreads)
-endif(NOT WIN32)
-
-option (DBUS_DISABLE_ASSERT "Disable assertion checking" OFF)
-
-option (DBUS_ENABLE_STATS "enable bus daemon usage statistics" OFF)
-
-find_package(EXPAT)
-find_package(X11)
-
-# analogous to AC_USE_SYSTEM_EXTENSIONS in configure.ac
-add_definitions(-D_GNU_SOURCE)
-
-# do config checks
-INCLUDE(ConfigureChecks.cmake)
-
-# @TODO: how to remove last dir from ${CMAKE_SOURCE_DIR} ?
-SET(DBUS_SOURCE_DIR ${CMAKE_SOURCE_DIR}/..)
-
-# make some more macros available
-include (MacroLibrary)
-
-if(VCS)
- set(DBUS_VERBOSE_C_S 1 CACHE STRING "verbose mode" FORCE)
-endif(VCS)
-
-if(WIN32)
- set(CMAKE_DEBUG_POSTFIX "d")
- if(MSVC)
- # controll folders in msvc projects
- include(ProjectSourceGroup)
- if(NOT GROUP_CODE)
- #set(GROUP_CODE split) #cmake default
- set(GROUP_CODE flat)
- endif(NOT GROUP_CODE)
- ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
-
-
- # Use the highest warning level
- if (WALL)
- set(WALL 1 CACHE STRING "all warnings" FORCE)
- set(CMAKE_CXX_WARNING_LEVEL 4 CACHE STRING "warning level" FORCE)
-
- if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
- STRING(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
- else(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
- endif(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
-
- if(CMAKE_C_FLAGS MATCHES "/W[0-4]")
- STRING(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
- else(CMAKE_C_FLAGS MATCHES "/W[0-4]")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
- endif(CMAKE_C_FLAGS MATCHES "/W[0-4]")
- else (WALL)
- set(CMAKE_CXX_WARNING_LEVEL 3 CACHE STRING "warning level" FORCE)
- endif (WALL)
-
- SET(MSVC_W_ERROR " /we4028 /we4013 /we4133 /we4047 /we4031 /we4002 /we4003 /we4114")
- SET(MSVC_W_DISABLE " /wd4127 /wd4090 /wd4101 /wd4244")
-
- SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /FIconfig.h ${MSVC_W_ERROR} ${MSVC_W_DISABLE}")
- SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /FIconfig.h ${MSVC_W_ERROR} ${MSVC_W_DISABLE}")
- endif(MSVC)
-endif(WIN32)
-
-if (UNIX AND NOT DBUS_DISABLE_ASSERT)
- # required for backtrace
- SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wl,--export-dynamic")
- SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wl,--export-dynamic")
- add_definitions(-DDBUS_BUILT_R_DYNAMIC)
-endif (UNIX AND NOT DBUS_DISABLE_ASSERT)
-
-SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
-
-#########################################################################
-# Windows CE (>= 5.0.0)
-#
-# WinCE support now relies on the presence of platform files, found in cmake/modules/platform
-# Cmake 2.8.0 doesn't include WinCE platform files by default, but working ones can be found
-# on CMake's bugtracker :
-# http://public.kitware.com/Bug/view.php?id=7919
-#
-# for cmake 2.8.0 get the following patch only :
-# http://public.kitware.com/Bug/file_download.php?file_id=2944&type=bug
-#
-# after applying the patch, you can enable the WinCE build by specifying :
-# cmake [...] -DCMAKE_SYSTEM_NAME=WinCE -DCMAKE_SYSTEM_VERSION=X.XX
-# (where X.XX is your actual WinCE version, e.g. 5.02 for Windows Mobile 6)
-#
-# Note that you should have a proper cross-compilation environment set up prior to running
-# cmake, ie. the PATH, INCLUDE and LIB env vars pointing to your CE SDK/toolchain.
-#
-if(WINCE)
-
-MESSAGE("Building for WinCE (${CMAKE_SYSTEM_VERSION})")
-
-endif(WINCE)
-#########################################################################
-
-
-ENABLE_TESTING()
-
-#########################################################################
-# Disallow in-source build
-#macro_ensure_out_of_source_build("dbus requires an out of source build. Please create a separate build directory and run 'cmake path_to_dbus [options]' there.")
-
-# ... and warn in case of an earlier in-source build
-#set(generatedFileInSourceDir EXISTS ${dbus_SOURCE_DIR}/config.h)
-#if(${generatedFileInSourceDir})
-# message(STATUS "config.h exists in your source directory.")
-#endif(${generatedFileInSourceDir})
-#########################################################################
-
-if (WIN32 OR CYGWIN)
- set (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
-else (WIN32 OR CYGWIN)
- set (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
-endif (WIN32 OR CYGWIN)
-
-set (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
-
-# for including config.h and for includes like <dir/foo.h>
-include_directories( ${CMAKE_SOURCE_DIR}/.. ${CMAKE_BINARY_DIR} ${CMAKE_INCLUDE_PATH} )
-
-# linker search directories
-link_directories(${DBUS_LIB_DIR} ${LIBRARY_OUTPUT_PATH} )
-include_directories( ${CMAKE_LIBRARY_PATH} )
-
-set(DBUS_INCLUDES)
-
-ENABLE_TESTING()
-
-########### command line options ###############
-# TODO: take check from configure.in
-
-option (DBUS_BUILD_TESTS "enable unit test code" ON)
-
-if(DBUS_BUILD_TESTS)
- set (DBUS_ENABLE_EMBEDDED_TESTS ON)
- set (DBUS_ENABLE_MODULAR_TESTS ON)
- add_definitions(-DDBUS_ENABLE_EMBEDDED_TESTS -DDBUS_ENABLE_MODULAR_TESTS)
-endif(DBUS_BUILD_TESTS)
-
-option (DBUS_USE_OUTPUT_DEBUG_STRING "enable win32 debug port for message output" OFF)
-if(DBUS_USE_OUTPUT_DEBUG_STRING)
- add_definitions(-DDBUS_USE_OUTPUT_DEBUG_STRING)
-endif(DBUS_USE_OUTPUT_DEBUG_STRING)
-
-if(WIN32)
- # win32 dbus service support - this support is not complete
- option (DBUS_SERVICE "enable dbus service installer" OFF)
-endif(WIN32)
-
-option (DBUS_ENABLE_ANSI "enable -ansi -pedantic gcc flags" OFF)
-if(DBUS_ENABLE_ANSI)
- if(NOT MSVC)
- add_definitions(-ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic)
- else(NOT MSVC)
- add_definitions(-Za -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -W4)
- endif(NOT MSVC)
-endif(DBUS_ENABLE_ANSI)
-
-option (DBUS_ENABLE_VERBOSE_MODE "support verbose debug mode" ON)
-
-option (DBUS_DISABLE_CHECKS "Disable public API sanity checking" OFF)
-
-if(NOT MSVC)
- option (DBUS_GCOV_ENABLED "compile with coverage profiling instrumentation (gcc only)" OFF)
- if(DBUS_GCOV_ENABLED)
- add_definitions(-fprofile-arcs -ftest-coverage)
- # FIXME!!!!
- ## remove optimization
- # CFLAGS=`echo "$CFLAGS" | sed -e 's/-O[0-9]*//g'`
- endif(DBUS_GCOV_ENABLED)
-endif(NOT MSVC)
-
-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
- option (DBUS_BUS_ENABLE_INOTIFY "build with inotify support (linux only)" ON)
- if(DBUS_BUS_ENABLE_INOTIFY)
- check_include_file(sys/inotify.h HAVE_SYS_INOTIFY_H)
- if(NOT HAVE_SYS_INOTIFY_H)
- message(FATAL_ERROR "sys/inotify.h not found!")
- endif(NOT HAVE_SYS_INOTIFY_H)
- endif(DBUS_BUS_ENABLE_INOTIFY)
-elseif("${CMAKE_SYSTEM_NAME}" MATCHES ".*BSD")
- option (DBUS_BUS_ENABLE_KQUEUE "build with kqueue support (FreeBSD only)" ON)
- if(DBUS_BUS_ENABLE_KQUEUE)
- # cmake check a header by compiling a test program with
- # the header, sys/event.h needs stdint.h and sys/types.h
- # to work.
- check_include_files("stdint.h;sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
- if(NOT HAVE_SYS_EVENT_H)
- message(FATAL_ERROR "sys/event.h not found!")
- endif(NOT HAVE_SYS_EVENT_H)
- endif(DBUS_BUS_ENABLE_KQUEUE)
-endif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
-
-STRING(TOUPPER ${CMAKE_SYSTEM_NAME} sysname)
-if("${sysname}" MATCHES ".*SOLARIS.*")
- option (HAVE_CONSOLE_OWNER_FILE "enable console owner file (solaris only)" ON)
- if(HAVE_CONSOLE_OWNER_FILE)
- set (DBUS_CONSOLE_OWNER_FILE "/dev/console" CACHE STRING "Directory to check for console ownerhip")
- endif(HAVE_CONSOLE_OWNER_FILE)
-endif("${sysname}" MATCHES ".*SOLARIS.*")
-
-if(NOT EXPAT_FOUND)
- message(FATAL_ERROR "expat not found!")
-endif(NOT EXPAT_FOUND)
-
-SET(XML_LIB "Expat")
-SET(XML_LIBRARY ${EXPAT_LIBRARIES})
-SET(XML_INCLUDE_DIR ${EXPAT_INCLUDE_DIR})
-
-# all missing or hardcoded for now
-
-# 'hidden' ones
-set(atomic_int OFF)
-set(atomic_int486 OFF)
-if(CMAKE_COMPILER_IS_GNUCC AND NOT DBUS_ENABLE_ANSI)
- FIND_PROGRAM(UNAME_EXECUTABLE
- NAMES uname
- PATHS /bin /usr/bin /usr/local/bin c:/Programme/MSys/bin d:/Programme/MSys/bin)
-
- if(UNAME_EXECUTABLE)
- EXECUTE_PROCESS(COMMAND ${UNAME_EXECUTABLE} "-m"
- OUTPUT_VARIABLE UNAME_OUTPUT)
-
- if("UNAME_OUTPUT" MATCHES "^.*i[0123]86.*$")
- set(atomic_int ON)
- else("UNAME_OUTPUT" MATCHES "^.*i[0123]86.*$")
- if("UNAME_OUTPUT" MATCHES "^.*i?86.*$")
- set(atomic_int ON)
- set(atomic_int_486 ON)
- endif("UNAME_OUTPUT" MATCHES "^.*i?86.*$")
- endif("UNAME_OUTPUT" MATCHES "^.*i[0123]86.*$")
- endif(UNAME_EXECUTABLE)
-endif(CMAKE_COMPILER_IS_GNUCC AND NOT DBUS_ENABLE_ANSI)
-
-set (DBUS_HAVE_ATOMIC_INT ${atomic_int} CACHE STRING "Some atomic integer implementation present")
-set (DBUS_USE_ATOMIC_INT_486 ${atomic_int_486} CACHE STRING "Use atomic integer implementation for 486")
-
-if(X11_FOUND)
- option (DBUS_BUILD_X11 "Build with X11 autolaunch support " ON)
-endif(X11_FOUND)
-
-# test binary names
-if (WIN32)
- # Automake calls this EXEEXT, and CMake doesn't have a standard name
- # for it; follow Automake's naming convention so we can share .in files
- set (EXEEXT ".exe")
-endif(WIN32)
-
-if (MSVC_IDE)
- if(CMAKE_BUILD_TYPE MATCHES Debug)
- set(IDE_BIN /Debug )
- message(STATUS)
- message(STATUS "Visual Studio: test programs will only work with 'Debug' configuration!")
- message(STATUS "To run tests with 'Release' configuration use -DCMAKE_BUILD_TYPE=Release")
- message(STATUS "Add '..\\..\\test\\data' to the command line option of the test programs")
- message(STATUS)
- else(CMAKE_BUILD_TYPE MATCHES Debug)
- set(IDE_BIN /Release)
- message(STATUS)
- message(STATUS "Visual Studio: test programs will only work with 'Release' configuration!")
- message(STATUS "To run tests with 'Debug' configuration use -DCMAKE_BUILD_TYPE=Debug")
- message(STATUS "Add '..\\..\\test\\data' to the command line option of the test programs")
- message(STATUS)
- endif(CMAKE_BUILD_TYPE MATCHES Debug)
- set (TEST_PATH_FORCE FORCE)
- FILE(REMOVE ${CMAKE_BINARY_DIR}/data/dbus-1/services)
-endif (MSVC_IDE)
-
-#### Find socket directories
- if (NOT $ENV{TMPDIR} STREQUAL "")
- set (DBUS_SESSION_SOCKET_DIR $ENV{TMPDIR})
- else (NOT $ENV{TMPDIR} STREQUAL "")
- if (NOT $ENV{TEMP} STREQUAL "")
- set (DBUS_SESSION_SOCKET_DIR $ENV{TEMP})
- else (NOT $ENV{TEMP} STREQUAL "")
- if (NOT $ENV{TMP} STREQUAL "")
- set (DBUS_SESSION_SOCKET_DIR $ENV{TMP})
- else (NOT $ENV{TMP} STREQUAL "")
- if (WIN32)
- #Should never happen, both TMP and TEMP seem always set on Windows
- message(FATAL_ERROR "Could not determine a usable temporary directory")
- else(WIN32)
- set (DBUS_SESSION_SOCKET_DIR /tmp)
- endif(WIN32)
- endif (NOT $ENV{TMP} STREQUAL "")
- endif (NOT $ENV{TEMP} STREQUAL "")
- endif (NOT $ENV{TMPDIR} STREQUAL "")
-
-# TODO: fix redhet
-if (WIN32)
- # bus-test expects a non empty string
- set (DBUS_SYSTEM_PID_FILE "/dbus-pid")
-else (WIN32)
- set (DBUS_SYSTEM_PID_FILE ${EXPANDED_LOCALSTATEDIR}/run/dbus/pid)
-endif (WIN32)
-
-if (WIN32)
- set (DBUS_CONSOLE_AUTH_DIR "")
-else (WIN32)
- set (DBUS_CONSOLE_AUTH_DIR "/var/run/console/")
-endif (WIN32)
-
-set (DBUS_USER )
-
-# In Autotools this has a different default on QNX, but there seems little
-# point in replicating that here; if you're on an unusual Unix, use Autotools.
-set (DEFAULT_MESSAGE_UNIX_FDS 1024)
-
-# This won't work on Windows. It's not meant to - the system bus is
-# meaningless on Windows anyway.
-#
-# This has to be suitable for hard-coding in client libraries as well as
-# in the dbus-daemon's configuration, so it has to be valid to listen on
-# and also to connect to. If this ever changes, it'll need to be split into
-# two variables, one for the listening address and one for the connecting
-# address.
-set (DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:path=${EXPANDED_LOCALSTATEDIR}/run/dbus/system_bus_socket" CACHE STRING "system bus default address")
-
-if (WIN32)
- set (DBUS_SESSION_BUS_LISTEN_ADDRESS "autolaunch:" CACHE STRING "session bus default listening address")
- set (DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" CACHE STRING "session bus fallback address for clients")
-
- set (DBUS_SYSTEM_CONFIG_FILE "etc/dbus-1/system.conf")
- set (DBUS_SESSION_CONFIG_FILE "etc/dbus-1/session.conf")
- # bus-test expects a non empty string
- set (DBUS_USER "Administrator")
-else (WIN32)
- set (DBUS_SESSION_BUS_LISTEN_ADDRESS "unix:tmpdir=${DBUS_SESSION_SOCKET_DIR}" CACHE STRING "session bus default listening address")
- set (DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" CACHE STRING "session bus fallback address for clients")
- set (sysconfdir "")
- set (configdir ${sysconfdir}/dbus-1 )
- set (DBUS_SYSTEM_CONFIG_FILE ${configdir}/system.conf)
- set (DBUS_SESSION_CONFIG_FILE ${configdir}/session.conf)
- set (DBUS_USER "root")
-endif (WIN32)
-
-set (DBUS_DAEMON_NAME "dbus-daemon" CACHE STRING "The name of the dbus daemon executable")
-
-########### create config.h ###############
-
-#include(ConfigureChecks.cmake)
-
-# better use flags for gcc
-if (MINGW)
- set (HAVE_GNUC_VARARGS 1)
-endif(MINGW)
-
-# compiler definitions
-add_definitions(-DHAVE_CONFIG_H=1)
-add_definitions(${DBUS_BUS_CFLAGS})
-
-
-if (DBUS_BUILD_TESTS)
- # set variables used for the .in files (substituted by configure_file) in test/data:
- set(DBUS_TEST_EXEC ${EXECUTABLE_OUTPUT_PATH}${IDE_BIN})
- set(DBUS_TEST_DATA ${CMAKE_BINARY_DIR}/test/data)
- set(TEST_SOCKET_DIR ${DBUS_SESSION_SOCKET_DIR} )
- set(TEST_LAUNCH_HELPER_BINARY ${EXECUTABLE_OUTPUT_PATH}/dbus-daemon-launch-helper-test)
- if (UNIX)
- set (TEST_LISTEN "unix:tmpdir=${TEST_SOCKET_DIR}")
- endif (UNIX)
- if (WIN32)
- set (TEST_LISTEN "tcp:host=localhost")
- endif (WIN32)
-endif (DBUS_BUILD_TESTS)
-
-set(DBUS_LIBRARIES dbus-1)
-set(DBUS_INTERNAL_LIBRARIES dbus-internal)
-
-# settings for building and using static internal lib
-# important note: DBUS_INTERNAL_xxxxx_DEFINITIONS must *not* be set when building dbus-1 library
-set (DBUS_INTERNAL_ADD_LIBRARY_OPTIONS STATIC)
-set (DBUS_INTERNAL_LIBRARY_DEFINITIONS "-DDBUS_STATIC_BUILD")
-# For now, the CMake build system doesn't support replacing the internal
-# main loop with dbus-glib
-set (DBUS_INTERNAL_CLIENT_DEFINITIONS "-DDBUS_STATIC_BUILD -DDBUS_COMPILATION -DDBUS_TEST_USE_INTERNAL")
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
-
-if (WIN32)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/dbus-env.bat.cmake ${CMAKE_BINARY_DIR}/bin/dbus-env.bat )
-install_files(/bin FILES ${CMAKE_BINARY_DIR}/bin/dbus-env.bat)
-endif()
-
-add_definitions(-DHAVE_CONFIG_H=1)
-
-########### subdirs ###############
-
-add_subdirectory( dbus )
-add_subdirectory( bus )
-if (DBUS_BUILD_TESTS)
- add_subdirectory( test )
-endif (DBUS_BUILD_TESTS)
-add_subdirectory( tools )
-add_subdirectory( doc )
-
-
-OPTION(DBUS_INSTALL_SYSTEM_LIBS "install required system libraries" OFF)
-MESSAGE(" ")
-MESSAGE("set -DDBUS_INSTALL_SYSTEM_LIBS=1 to install runtime libraries too")
-MESSAGE("set DBUSDIR (environment or cmake option) to overwrite the default install directory ")
-MESSAGE(" ")
-MESSAGE(" ")
-GET_FILENAME_COMPONENT(C_COMPILER ${CMAKE_C_COMPILER} NAME)
-GET_FILENAME_COMPONENT(CXX_COMPILER ${CMAKE_CXX_COMPILER} NAME)
-
-message(" D-BUS ${DBUS_VERSION} ")
-message(" =========== ")
-message(" ")
-message(" install prefix: ${prefix} ")
-message(" install exec_prefix: ${exec_prefix} ")
-message(" install libdir: ${EXPANDED_LIBDIR} ")
-message(" install bindir: ${EXPANDED_BINDIR} ")
-message(" install sysconfdir: ${EXPANDED_SYSCONFDIR} ")
-message(" install datadir: ${EXPANDED_DATADIR} ")
-message(" source code location: ${DBUS_SOURCE_DIR} ")
-message(" build dir: ${CMAKE_BINARY_DIR} ")
-message(" c compiler: ${C_COMPILER} ")
-message(" cflags: ${CMAKE_C_FLAGS} ")
-message(" cflags debug: ${CMAKE_C_FLAGS_DEBUG} ")
-message(" cflags release: ${CMAKE_C_FLAGS_RELEASE} ")
-message(" cxx compiler: ${CXX_COMPILER} ")
-message(" cxxflags: ${CMAKE_CXX_FLAGS} ")
-message(" cxxflags debug: ${CMAKE_CXX_FLAGS_DEBUG} ")
-message(" cxxflags release: ${CMAKE_CXX_FLAGS_RELEASE} ")
-message(" 64-bit int: ${DBUS_INT64_TYPE} ")
-message(" 32-bit int: ${DBUS_INT32_TYPE} ")
-message(" 16-bit int: ${DBUS_INT16_TYPE} ")
-message(" Doxygen: ${DOXYGEN} ")
-message(" Docbook Generator: ${DOCBOOK_GENERATOR_NAME} ")
-
-
-message(" gcc coverage profiling: ${DBUS_GCOV_ENABLED} ")
-message(" Building unit tests: ${DBUS_BUILD_TESTS} ")
-message(" Building verbose mode: ${DBUS_ENABLE_VERBOSE_MODE} ")
-message(" Building w/o assertions: ${DBUS_DISABLE_ASSERT} ")
-message(" Building w/o checks: ${DBUS_DISABLE_CHECKS} ")
-message(" Building bus stats API: ${DBUS_ENABLE_STATS} ")
-message(" installing system libs: ${DBUS_INSTALL_SYSTEM_LIBS} ")
-message(" Building inotify support: ${DBUS_BUS_ENABLE_INOTIFY} ")
-message(" Building kqueue support: ${DBUS_BUS_ENABLE_KQUEUE} ")
-message(" Building Doxygen docs: ${DBUS_ENABLE_DOXYGEN_DOCS} ")
-message(" Building XML docs: ${DBUS_ENABLE_XML_DOCS} ")
-message(" Daemon executable name: ${DBUS_DAEMON_NAME}")
-if (WIN32)
-message(" System bus address: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS} ")
-message(" Session bus listens on: ${DBUS_SESSION_BUS_LISTEN_ADDRESS} ")
-message(" Session clients connect to: ${DBUS_SESSION_BUS_CONNECT_ADDRESS} ")
-else (WIN32)
-message(" System bus socket: ${DBUS_SYSTEM_SOCKET} ")
-message(" System bus address: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS} ")
-message(" System bus PID file: ${DBUS_SYSTEM_PID_FILE} ")
-message(" Session bus socket dir: ${DBUS_SESSION_SOCKET_DIR} ")
-message(" Console auth dir: ${DBUS_CONSOLE_AUTH_DIR} ")
-message(" System bus user: ${DBUS_USER} ")
-message(" 'make check' socket dir: ${TEST_SOCKET_DIR} ")
-endif (WIN32)
-message(" Test listen address: ${TEST_LISTEN} ")
-if (MSVC)
-message(" build timestamp: ${DBUS_BUILD_TIMESTAMP} ")
-endif (MSVC)
-
-MESSAGE(" ")
-if (DBUS_BUILD_TESTS)
- message("NOTE: building with unit tests increases the size of the installed library and renders it insecure.")
-endif(DBUS_BUILD_TESTS)
-
-if (DBUS_BUILD_TESTS AND DBUS_DISABLE_ASSERT)
- message("NOTE: building with unit tests but without assertions means tests may not properly report failures (this configuration is only useful when doing something like profiling the tests)")
-endif(DBUS_BUILD_TESTS AND DBUS_DISABLE_ASSERT)
-
-if (DBUS_GCOV_ENABLED)
- message("NOTE: building with coverage profiling is definitely for developers only.")
-endif(DBUS_GCOV_ENABLED)
-
-if (DBUS_ENABLE_VERBOSE_MODE)
- message("NOTE: building with verbose mode increases library size, may slightly increase security risk, and decreases performance.")
-endif(DBUS_ENABLE_VERBOSE_MODE)
-
-if(NOT DBUS_DISABLE_ASSERT)
- message("NOTE: building with assertions increases library size and decreases performance.")
-endif(NOT DBUS_DISABLE_ASSERT)
-
-if (DBUS_DISABLE_CHECKS)
- message("NOTE: building without checks for arguments passed to public API makes it harder to debug apps using D-BUS, but will slightly decrease D-BUS library size and _very_ slightly improve performance.")
-endif(DBUS_DISABLE_CHECKS)
-MESSAGE(" ")
-
-INCLUDE(modules/CPackInstallConfig.cmake)
-
-add_custom_target(help-options
- cmake -LH
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/ConfigureChecks.cmake b/src/3rd_party/dbus-1.7.8/cmake/ConfigureChecks.cmake
deleted file mode 100644
index 2794975ee1..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/ConfigureChecks.cmake
+++ /dev/null
@@ -1,157 +0,0 @@
-include(CheckIncludeFile)
-include(CheckSymbolExists)
-include(CheckStructMember)
-include(CheckTypeSize)
-
-check_include_file(dirent.h HAVE_DIRENT_H) # dbus-sysdeps-util.c
-check_include_file(io.h HAVE_IO_H) # internal
-check_include_file(grp.h HAVE_GRP_H) # dbus-sysdeps-util-win.c
-check_include_file(sys/poll.h HAVE_POLL) # dbus-sysdeps.c, dbus-sysdeps-win.c
-check_include_file(sys/time.h HAVE_SYS_TIME_H)# dbus-sysdeps-win.c
-check_include_file(sys/wait.h HAVE_SYS_WAIT_H)# dbus-sysdeps-win.c
-check_include_file(time.h HAVE_TIME_H) # dbus-sysdeps-win.c
-check_include_file(ws2tcpip.h HAVE_WS2TCPIP_H)# dbus-sysdeps-win.c
-check_include_file(unistd.h HAVE_UNISTD_H) # dbus-sysdeps-util-win.c
-check_include_file(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h
-check_include_file(sys/syslimits.h HAVE_SYS_SYSLIMITS_H) # dbus-sysdeps-unix.c
-check_include_file(errno.h HAVE_ERRNO_H) # dbus-sysdeps.c
-check_include_file(signal.h HAVE_SIGNAL_H)
-check_include_file(locale.h HAVE_LOCALE_H)
-check_include_file(inttypes.h HAVE_INTTYPES_H) # dbus-pipe.h
-check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h
-
-check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE) # dbus-sysdeps.c, dbus-sysdeps-win.c
-check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c
-check_symbol_exists(getpeerucred "ucred.h" HAVE_GETPEERUCRED) # dbus-sysdeps.c, dbus-sysdeps-win.c
-check_symbol_exists(nanosleep "time.h" HAVE_NANOSLEEP) # dbus-sysdeps.c
-check_symbol_exists(getpwnam_r "errno.h pwd.h" HAVE_POSIX_GETPWNAM_R) # dbus-sysdeps-util-unix.c
-check_symbol_exists(setenv "stdlib.h" HAVE_SETENV) # dbus-sysdeps.c
-check_symbol_exists(unsetenv "stdlib.h" HAVE_UNSETENV) # dbus-sysdeps.c
-check_symbol_exists(clearenv "stdlib.h" HAVE_CLEARENV) # dbus-sysdeps.c
-check_symbol_exists(writev "sys/uio.h" HAVE_WRITEV) # dbus-sysdeps.c, dbus-sysdeps-win.c
-check_symbol_exists(setrlimit "sys/resource.h" HAVE_SETRLIMIT) # dbus-sysdeps.c, dbus-sysdeps-win.c, test/test-segfault.c
-check_symbol_exists(socketpair "sys/socket.h" HAVE_SOCKETPAIR) # dbus-sysdeps.c
-check_symbol_exists(socklen_t "sys/socket.h" HAVE_SOCKLEN_T) # dbus-sysdeps-unix.c
-check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE) # dbus-test-main.c
-check_symbol_exists(localeconv "locale.h" HAVE_LOCALECONV) # dbus-sysdeps.c
-check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL) # dbus-send.c
-check_symbol_exists(strtoull "stdlib.h" HAVE_STRTOULL) # dbus-send.c
-
-check_struct_member(cmsgcred cmcred_pid "sys/types.h sys/socket.h" HAVE_CMSGCRED) # dbus-sysdeps.c
-
-# missing:
-# HAVE_ABSTRACT_SOCKETS
-# DBUS_HAVE_GCC33_GCOV
-
-check_type_size("short" SIZEOF_SHORT)
-check_type_size("int" SIZEOF_INT)
-check_type_size("long" SIZEOF_LONG)
-check_type_size("long long" SIZEOF_LONG_LONG)
-check_type_size("__int64" SIZEOF___INT64)
-
-# DBUS_INT64_TYPE
-if(SIZEOF_INT EQUAL 8)
- set (DBUS_INT64_TYPE "int")
- set (DBUS_INT64_CONSTANT "(val)")
- set (DBUS_UINT64_CONSTANT "(val##U)")
-elseif(SIZEOF_LONG EQUAL 8)
- set (DBUS_INT64_TYPE "long")
- set (DBUS_INT64_CONSTANT "(val##L)")
- set (DBUS_UINT64_CONSTANT "(val##UL)")
-elseif(SIZEOF_LONG_LONG EQUAL 8)
- set (DBUS_INT64_TYPE "long long")
- set (DBUS_INT64_CONSTANT "(val##LL)")
- set (DBUS_UINT64_CONSTANT "(val##ULL)")
-elseif(SIZEOF___INT64 EQUAL 8)
- set (DBUS_INT64_TYPE "__int64")
- set (DBUS_INT64_CONSTANT "(val##i64)")
- set (DBUS_UINT64_CONSTANT "(val##ui64)")
-else(SIZEOF_INT EQUAL 8)
- message (FATAL_ERROR "Could not find a 64-bit integer type")
-endif(SIZEOF_INT EQUAL 8)
-
-# DBUS_INT32_TYPE
-if(SIZEOF_INT EQUAL 4)
- set (DBUS_INT32_TYPE "int")
-elseif(SIZEOF_LONG EQUAL 4)
- set (DBUS_INT32_TYPE "long")
-elseif(SIZEOF_LONG_LONG EQUAL 4)
- set (DBUS_INT32_TYPE "long long")
-endif(SIZEOF_INT EQUAL 4)
-
-# DBUS_INT16_TYPE
-if(SIZEOF_INT EQUAL 2)
- set (DBUS_INT16_TYPE "int")
-elseif(SIZEOF_SHORT EQUAL 2)
- set (DBUS_INT16_TYPE "short")
-endif(SIZEOF_INT EQUAL 2)
-
-find_program(DOXYGEN doxygen)
-find_program(XMLTO xmlto)
-
-if(MSVC)
- SET(DBUS_VA_COPY_FUNC "_DBUS_VA_COPY_ASSIGN";)
-else(MSVC)
-write_file("${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/cmake_try_compile.c" "#include <stdarg.h>
- #include <stdlib.h>
- static void f (int i, ...) {
- va_list args1, args2;
- va_start (args1, i);
- va_copy (args2, args1);
- if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
- exit (1);
- va_end (args1); va_end (args2);
- }
- int main() {
- f (0, 42);
- return 0;
- }
-")
-try_compile(DBUS_HAVE_VA_COPY
- ${CMAKE_BINARY_DIR}
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/cmake_try_compile.c)
-
-if(DBUS_HAVE_VA_COPY)
- SET(DBUS_VA_COPY_FUNC va_copy CACHE STRING "va_copy function")
-else(DBUS_HAVE_VA_COPY)
- write_file("${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/cmake_try_compile.c" "#include <stdarg.h>
- #include <stdlib.h>
- static void f (int i, ...) {
- va_list args1, args2;
- va_start (args1, i);
- __va_copy (args2, args1);
- if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
- exit (1);
- va_end (args1); va_end (args2);
- }
- int main() {
- f (0, 42);
- return 0;
- }
- ")
- try_compile(DBUS_HAVE___VA_COPY
- ${CMAKE_BINARY_DIR}
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/cmake_try_compile.c)
- if(DBUS_HAVE___VA_COPY)
- SET(DBUS_VA_COPY_FUNC __va_copy CACHE STRING "va_copy function")
- else(DBUS_HAVE___VA_COPY)
- SET(DBUS_VA_COPY_AS_ARRAY "1" CACHE STRING "'va_lists' cannot be copies as values")
- endif(DBUS_HAVE___VA_COPY)
-endif(DBUS_HAVE_VA_COPY)
-endif(MSVC) # _not_ MSVC
-#### Abstract sockets
-
-if (DBUS_ENABLE_ABSTRACT_SOCKETS)
-
- try_compile(HAVE_ABSTRACT_SOCKETS
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/modules/CheckForAbstractSockets.c)
-
-endif(DBUS_ENABLE_ABSTRACT_SOCKETS)
-
-if(HAVE_ABSTRACT_SOCKETS)
- set(DBUS_PATH_OR_ABSTRACT_VALUE abstract)
-else(HAVE_ABSTRACT_SOCKETS)
- set(DBUS_PATH_OR_ABSTRACT_VALUE path)
-endif(HAVE_ABSTRACT_SOCKETS)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/bus-test.bat.cmake b/src/3rd_party/dbus-1.7.8/cmake/bus-test.bat.cmake
deleted file mode 100644
index 0168871338..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/bus-test.bat.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-:: bus-test wrapper
-@echo off
-
-:: session bus address
-set DBUS_STARTER_BUS=tcp:host=localhost,port=1234
-
-if NOT "%1" == "" (
- SET DATADIR=%1
-) else (
- SET DATADIR=test\data
-)
-
-bin\bus-test.exe test\data
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/bus/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/bus/CMakeLists.txt
deleted file mode 100644
index 9943584ae8..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/bus/CMakeLists.txt
+++ /dev/null
@@ -1,189 +0,0 @@
-project(bus)
-
-add_definitions(-DDBUS_COMPILATION)
-
-SET(EFENCE "")
-SET(BUS_DIR ${CMAKE_SOURCE_DIR}/../bus)
-
-set (config_DATA
- session.conf
- system.conf
-)
-
-# config files for installation
-CONFIGURE_FILE( "${BUS_DIR}/session.conf.in" "${CMAKE_CURRENT_BINARY_DIR}/session.conf" IMMEDIATE @ONLY)
-FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/session.d)
-
-CONFIGURE_FILE( "system.conf.cmake" "${CMAKE_CURRENT_BINARY_DIR}/system.conf" IMMEDIATE @ONLY)
-FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/system.d)
-
-# copy services for local daemon start to local service dir data/dbus-1/services
-SET (SERVICE_FILES test/data/valid-service-files)
-FILE(GLOB FILES "${CMAKE_SOURCE_DIR}/../${SERVICE_FILES}/*.service.in" )
-FOREACH(FILE ${FILES})
- GET_FILENAME_COMPONENT(FILENAME ${FILE} NAME_WE)
- SET (TARGET ${CMAKE_BINARY_DIR}/data/dbus-1/services/${FILENAME}.service)
- IF (CONFIG_VERBOSE)
- MESSAGE("FROM: ${FILE}\nTO: ${TARGET}\n")
- ENDIF (CONFIG_VERBOSE)
- configure_file(${FILE} ${TARGET} )
-ENDFOREACH(FILE)
-
-SET (XML_SOURCES ${BUS_DIR}/config-loader-expat.c)
-
-if (DBUS_BUS_ENABLE_INOTIFY)
- set (DIR_WATCH_SOURCE ${BUS_DIR}/dir-watch-inotify.c)
-elseif (DBUS_BUS_ENABLE_KQUEUE)
- set (DIR_WATCH_SOURCE ${BUS_DIR}/dir-watch-kqueue.c)
-else (DBUS_BUS_ENABLE_INOTIFY)
- set (DIR_WATCH_SOURCE ${BUS_DIR}/dir-watch-default.c)
-endif (DBUS_BUS_ENABLE_INOTIFY)
-
-set (BUS_SOURCES
- ${BUS_DIR}/activation.c
- ${BUS_DIR}/activation.h
- ${BUS_DIR}/bus.c
- ${BUS_DIR}/bus.h
- ${BUS_DIR}/config-parser.c
- ${BUS_DIR}/config-parser.h
- ${BUS_DIR}/config-parser-common.c
- ${BUS_DIR}/config-parser-common.h
-# ${BUS_DIR}/config-parser-trivial.c
- ${BUS_DIR}/connection.c
- ${BUS_DIR}/connection.h
- ${BUS_DIR}/desktop-file.c
- ${BUS_DIR}/desktop-file.h
- ${BUS_DIR}/dir-watch.h
- ${BUS_DIR}/dispatch.c
- ${BUS_DIR}/dispatch.h
- ${BUS_DIR}/driver.c
- ${BUS_DIR}/driver.h
- ${BUS_DIR}/expirelist.c
- ${BUS_DIR}/expirelist.h
- ${BUS_DIR}/policy.c
- ${BUS_DIR}/policy.h
- ${BUS_DIR}/selinux.h
- ${BUS_DIR}/selinux.c
- ${BUS_DIR}/services.c
- ${BUS_DIR}/services.h
- ${BUS_DIR}/signals.c
- ${BUS_DIR}/signals.h
- ${BUS_DIR}/test.c
- ${BUS_DIR}/test.h
- ${BUS_DIR}/utils.c
- ${BUS_DIR}/utils.h
- ${XML_SOURCES}
- ${DIR_WATCH_SOURCE}
-)
-if(DBUS_ENABLE_STATS)
- list(APPEND BUS_SOURCES
- ${BUS_DIR}/stats.c
- ${BUS_DIR}/stats.h
- )
-endif(DBUS_ENABLE_STATS)
-
-include_directories(${XML_INCLUDE_DIR})
-
-add_executable(dbus-daemon ${BUS_SOURCES} ${BUS_DIR}/main.c)
-target_link_libraries(dbus-daemon ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY})
-set_target_properties(dbus-daemon PROPERTIES OUTPUT_NAME ${DBUS_DAEMON_NAME})
-set_target_properties(dbus-daemon PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS})
-
-install_targets(/bin dbus-daemon)
-install_files(/etc/dbus-1 FILES ${config_DATA})
-install(DIRECTORY . DESTINATION etc/dbus-1/session.d FILES_MATCHING PATTERN "*.conf")
-
-if (DBUS_SERVICE)
- set (dbus_service_SOURCES
- ${BUS_DIR}/bus-service-win.c
- # TODO: add additional files
- # ${BUS_DIR}/service-main.c
- # ${BUS_SOURCES}
- )
-
- add_executable(dbus-service ${dbus_service_SOURCES} )
- target_link_libraries(dbus-service ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY})
- set_target_properties(dbus-service PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS})
- install_targets(/bin dbus-service )
-endif (DBUS_SERVICE)
-
-if (DBUS_ENABLE_EMBEDDED_TESTS)
- add_executable(bus-test ${BUS_SOURCES} ${BUS_DIR}/test-main.c)
- target_link_libraries(bus-test ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY})
- set_target_properties(bus-test PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS})
- add_test(bus-test ${EXECUTABLE_OUTPUT_PATH}/bus-test ${CMAKE_BINARY_DIR}/test/data)
-endif (DBUS_ENABLE_EMBEDDED_TESTS)
-
-if(MSVC)
- project_source_group(${GROUP_CODE} bus_test_SOURCES dummy)
-endif(MSVC)
-
-## mop up the gcov files
-#clean-local:
-# /bin/rm *.bb *.bbg *.da *.gcov || true
-
-#install-data-hook:
-# $(mkinstalldirs) $(DESTDIR)/$(localstatedir)/run/dbus
-# $(mkinstalldirs) $(DESTDIR)/$(configdir)/system.d
-# $(mkinstalldirs) $(DESTDIR)/$(datadir)/dbus-1/services
-
-##install_file(${configdir}/system.d FILE
-
-
-set(LAUNCH_HELPER_SOURCES ${XML_SOURCES}
- ${BUS_DIR}/config-parser-common.c
- ${BUS_DIR}/config-parser-trivial.c
- ${BUS_DIR}/desktop-file.c
- ${BUS_DIR}/utils.c
- ${BUS_DIR}/activation-helper.c
-
-)
-
-if(NOT WIN32)
-# TODO PENDING(kdab) fix build on windows (activation-helper.c)
- add_executable(dbus-daemon-launch-helper ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/activation-helper-bin.c )
- target_link_libraries(dbus-daemon-launch-helper ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY} )
-
- add_executable(dbus-daemon-launch-helper-test ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/activation-helper-bin.c)
- set_target_properties(dbus-daemon-launch-helper-test PROPERTIES COMPILE_FLAGS "-DACTIVATION_LAUNCHER_TEST")
- target_link_libraries(dbus-daemon-launch-helper-test ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY} )
-
- add_executable(bus-test-launch-helper ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/test-launch-helper.c)
- set_target_properties(bus-test-launch-helper PROPERTIES COMPILE_FLAGS "-DACTIVATION_LAUNCHER_TEST -DACTIVATION_LAUNCHER_DO_OOM")
- target_link_libraries(bus-test-launch-helper ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY} )
- add_test(bus-test-launch-helper ${EXECUTABLE_OUTPUT_PATH}/bus-test-launch-helper )
-
-endif(NOT WIN32)
-
-#### Init scripts fun
-#SCRIPT_IN_FILES=messagebus.in
-# rc.messagebus.in
-
-## Red Hat start
-#if DBUS_INIT_SCRIPTS_RED_HAT
-
-#initddir=$(sysconfdir)/rc.d/init.d
-
-#initd_SCRIPTS=
-# messagebus
-
-#endif
-# ## Red Hat end
-
-## Slackware start
-#if DBUS_INIT_SCRIPTS_SLACKWARE
-
-#initddir=$(sysconfdir)/rc.d/
-
-#initd_SCRIPTS=
-# rc.messagebus
-
-#endif
-## Slackware end
-
-#MAN_IN_FILES=dbus-daemon.1.in
-#man_MANS = dbus-daemon.1
-
-#### Extra dist
-
-#EXTRA_DIST=$(CONFIG_IN_FILES) $(SCRIPT_IN_FILES) $(man_MANS) $(MAN_IN_FILES)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/bus/service.cmake b/src/3rd_party/dbus-1.7.8/cmake/bus/service.cmake
deleted file mode 100644
index 25d17ff17e..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/bus/service.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=org.freedektop.DBus.ServiceName
-Exec=notepad
diff --git a/src/3rd_party/dbus-1.7.8/cmake/bus/system.conf.cmake b/src/3rd_party/dbus-1.7.8/cmake/bus/system.conf.cmake
deleted file mode 100644
index ee85ecc484..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/bus/system.conf.cmake
+++ /dev/null
@@ -1,62 +0,0 @@
-<!-- This configuration file controls the systemwide message bus.
- Add a system-local.conf and edit that rather than changing this
- file directly. -->
-
-<!-- Note that there are any number of ways you can hose yourself
- security-wise by screwing up this file; in particular, you
- probably don't want to listen on any more addresses, add any more
- auth mechanisms, run as a different user, etc. -->
-
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
- <!-- Our well-known bus type, do not change this -->
- <type>system</type>
-
- <!-- Run as special user -->
- <user>@DBUS_USER@</user>
-
- <!-- Fork into daemon mode -->
- <fork/>
-
- <!-- Write a pid file -->
- <pidfile>@DBUS_SYSTEM_PID_FILE@</pidfile>
-
- <!-- Only allow socket-credentials-based authentication -->
- <auth>EXTERNAL</auth>
-
- <!-- Only listen on a local socket. (abstract=/path/to/socket
- means use abstract namespace, don't really create filesystem
- file; only Linux supports this. Use path=/whatever on other
- systems.) -->
- <listen>@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@</listen>
-
- <policy context="default">
- <!-- Deny everything then punch holes -->
- <deny send_interface="*"/>
- <deny receive_interface="*"/>
- <deny own="*"/>
- <!-- But allow all users to connect -->
- <allow user="*"/>
- <!-- Allow anyone to talk to the message bus -->
- <!-- FIXME I think currently these allow rules are always implicit
- even if they aren't in here -->
- <allow send_destination="org.freedesktop.DBus"/>
- <allow receive_sender="org.freedesktop.DBus"/>
- <!-- valid replies are always allowed -->
- <allow send_requested_reply="true"/>
- <allow receive_requested_reply="true"/>
- </policy>
-
- <!-- Config files are placed here that among other things, punch
- holes in the above policy for specific services. -->
- <includedir>system.d</includedir>
-
- <!-- This is included last so local configuration can override what's
- in this standard file -->
- <include ignore_missing="yes">system-local.conf</include>
-
- <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
-
-</busconfig>
diff --git a/src/3rd_party/dbus-1.7.8/cmake/config.h.cmake b/src/3rd_party/dbus-1.7.8/cmake/config.h.cmake
deleted file mode 100644
index 3735560955..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/config.h.cmake
+++ /dev/null
@@ -1,250 +0,0 @@
-/* config.h. Generated by cmake from config.h.cmake */
-
-#ifndef _DBUS_CONFIG_H
-#define _DBUS_CONFIG_H
-/****************************/
-/* indicate that we are building with cmake */
-#define DBUS_CMAKE 1
-
-@AUTOPACKAGE_CONFIG_H_TEMPLATE@
-
-/*
- * Variables defined by AC_DEFINE in ../configure.ac
- * should be placed in this file
-*/
-#cmakedefine HAVE_GNUC_VARARGS 1
-
-#cmakedefine DBUS_CONSOLE_AUTH_DIR "@DBUS_CONSOLE_AUTH_DIR@"
-#cmakedefine DBUS_DATADIR "@DBUS_DATADIR@"
-#cmakedefine DBUS_BINDIR "@DBUS_BINDIR@"
-#cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
-#cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
-#cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
-#cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
-#cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
-#cmakedefine DBUS_MACHINE_UUID_FILE "@DBUS_MACHINE_UUID_FILE@"
-#cmakedefine DBUS_DAEMONDIR "@DBUS_DAEMONDIR@"
-
-#cmakedefine DBUS_ENABLE_STATS
-
-#define TEST_LISTEN "@TEST_LISTEN@"
-
-// test binaries
-#define DBUS_TEST_EXEC "@DBUS_TEST_EXEC@"
-#define DBUS_EXEEXT "@EXEEXT@"
-
-/* Some dbus features */
-#cmakedefine DBUS_ENABLE_ANSI 1
-#cmakedefine DBUS_ENABLE_VERBOSE_MODE 1
-#cmakedefine DBUS_DISABLE_ASSERT 1
-#ifndef DBUS_DISABLE_ASSERT
-# define DBUS_ENABLE_ASSERT 1
-#endif
-#cmakedefine DBUS_DISABLE_CHECKS 1
-#ifndef DBUS_DISABLE_CHECKS
-# define DBUS_ENABLE_CHECKS 1
-#endif
-/* xmldocs */
-/* doxygen */
-#cmakedefine DBUS_GCOV_ENABLED 1
-
-/* abstract-sockets */
-
-#cmakedefine HAVE_ABSTRACT_SOCKETS 1
-
-#cmakedefine DBUS_PATH_OR_ABSTRACT_VALUE 1
-
-#if (defined DBUS_PATH_OR_ABSTRACT_VALUE)
-#define DBUS_PATH_OR_ABSTRACT @DBUS_PATH_OR_ABSTRACT_VALUE@
-#endif
-
-#ifdef DBUS_PATH_OR_ABSTRACT_VALUE
-#undef DBUS_PATH_OR_ABSTRACT_VALUE
-#endif
-
-/* selinux */
-/* kqueue */
-#cmakedefine HAVE_CONSOLE_OWNER_FILE 1
-#define DBUS_CONSOLE_OWNER_FILE "@DBUS_CONSOLE_OWNER_FILE@"
-
-#cmakedefine DBUS_HAVE_ATOMIC_INT 1
-#cmakedefine DBUS_USE_ATOMIC_INT_486 1
-#if (defined(__i386__) || defined(__x86_64__))
-# define DBUS_HAVE_ATOMIC_INT 1
-# define DBUS_USE_ATOMIC_INT_486 1
-#endif
-
-#cmakedefine DBUS_BUILD_X11 1
-/* For the moment, the cmake build system doesn't have an equivalent of
- * the autoconf build system's --disable-x11-autolaunch */
-#ifdef DBUS_BUILD_X11
-# define DBUS_ENABLE_X11_AUTOLAUNCH 1
-#endif
-
-#define DBUS_DEFAULT_MESSAGE_UNIX_FDS @DEFAULT_MESSAGE_UNIX_FDS@
-
-#define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }
-
-#cmakedefine DBUS_VA_COPY_FUNC
-#if (defined DBUS_VA_COPY_FUNC)
-# define DBUS_VA_COPY @DBUS_VA_COPY_FUNC@
-#endif
-
-#ifdef DBUS_VA_COPY_FUNC
-#undef DBUS_VA_COPY_FUNC
-#endif
-
-#cmakedefine DBUS_VA_COPY_AS_ARRAY @DBUS_VA_COPY_AS_ARRAY@
-
-// headers
-/* Define to 1 if you have dirent.h */
-#cmakedefine HAVE_DIRENT_H 1
-
-/* Define to 1 if you have io.h */
-#cmakedefine HAVE_IO_H 1
-
-/* Define to 1 if you have grp.h */
-#cmakedefine HAVE_GRP_H 1
-
-/* Define to 1 if you have sys/poll.h */
-#cmakedefine HAVE_POLL 1
-
-/* Define to 1 if you have sys/time.h */
-#cmakedefine HAVE_SYS_TIME 1
-
-/* Define to 1 if you have sys/wait.h */
-#cmakedefine HAVE_SYS_WAIT 1
-
-/* Define to 1 if you have time.h */
-#cmakedefine HAVE_TIME_H 1
-
-/* Define to 1 if you have ws2tcpip.h */
-#cmakedefine HAVE_WS2TCPIP_H
-
-/* Define to 1 if you have unistd.h */
-#cmakedefine HAVE_UNISTD_H 1
-
-/* Define to 1 if you have stdio.h */
-#cmakedefine HAVE_STDIO_H 1
-
-/* Define to 1 if you have sys/syslimits.h */
-#cmakedefine HAVE_SYS_SYSLIMITS_H 1
-
-/* Define to 1 if you have errno.h */
-#cmakedefine HAVE_ERRNO_H 1
-
-/* Define to 1 if you have signal.h */
-#cmakedefine HAVE_SIGNAL_H 1
-
-/* Define to 1 if you have locale.h */
-#cmakedefine HAVE_LOCALE_H 1
-
-/* Define to 1 if you have inttypes.h */
-#cmakedefine HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have stdint.h */
-#cmakedefine HAVE_STDINT_H 1
-
-// symbols
-/* Define to 1 if you have backtrace */
-#cmakedefine HAVE_BACKTRACE 1
-
-/* Define to 1 if you have getgrouplist */
-#cmakedefine HAVE_GETGROUPLIST 1
-
-/* Define to 1 if you have getpeerucred */
-#cmakedefine HAVE_GETPEERUCRED 1
-
-/* Define to 1 if you have nanosleep */
-#cmakedefine HAVE_NANOSLEEP 1
-
-/* Define to 1 if you have getpwnam_r */
-#cmakedefine HAVE_POSIX_GETPWNAM_R 1
-
-/* Define to 1 if you have socketpair */
-#cmakedefine HAVE_SOCKETPAIR 1
-
-/* Define to 1 if you have setenv */
-#cmakedefine HAVE_SETENV 1
-
-/* Define to 1 if you have unsetenv */
-#cmakedefine HAVE_UNSETENV 1
-
-/* Define to 1 if you have clearenv */
-#cmakedefine HAVE_CLEARENV 1
-
-/* Define to 1 if you have writev */
-#cmakedefine HAVE_WRITEV 1
-
-/* Define to 1 if you have socklen_t */
-#cmakedefine HAVE_SOCKLEN_T 1
-
-/* Define to 1 if you have setlocale */
-#cmakedefine HAVE_SETLOCALE 1
-
-/* Define to 1 if you have localeconv */
-#cmakedefine HAVE_LOCALECONV 1
-
-/* Define to 1 if you have strtoll */
-#cmakedefine HAVE_STRTOLL 1
-
-/* Define to 1 if you have strtoull */
-#cmakedefine HAVE_STRTOULL 1
-
-// structs
-/* Define to 1 if you have struct cmsgred */
-#cmakedefine HAVE_CMSGCRED 1
-
-// system type defines
-#if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
-# define DBUS_WIN
-# define DBUS_WIN_FIXME 1
-# ifdef _WIN32_WCE
-# define DBUS_WINCE
-# else
-# define DBUS_WIN32
-# endif
-#else
-# define DBUS_UNIX
-#endif
-
-#if defined(_WIN32) || defined(_WIN64)
-// mingw mode_t
-# ifdef HAVE_STDIO_H
-# include <stdio.h>
-# endif
-# ifndef _MSC_VER
-# define uid_t int
-# define gid_t int
-# else
-# define snprintf _snprintf
- typedef int mode_t;
-# if !defined(_WIN32_WCE)
-# define strtoll _strtoi64
-# define strtoull _strtoui64
-# define HAVE_STRTOLL 1
-# define HAVE_STRTOULL 1
-# endif
-# endif
-#endif // defined(_WIN32) || defined(_WIN64)
-
-#ifdef interface
-#undef interface
-#endif
-
-#ifndef SIGHUP
-#define SIGHUP 1
-#endif
-
-#cmakedefine DBUS_VERBOSE_C_S 1
-#ifdef DBUS_VERBOSE_C_S
-#define _dbus_verbose_C_S printf
-#else
-#define _dbus_verbose_C_S _dbus_verbose
-#endif
-
-# if defined(_MSC_VER) && !defined(inline)
-#define inline __inline
-#endif
-
-#endif // _DBUS_CONFIG_H
diff --git a/src/3rd_party/dbus-1.7.8/cmake/dbus-env.bat.cmake b/src/3rd_party/dbus-1.7.8/cmake/dbus-env.bat.cmake
deleted file mode 100644
index d859ce0361..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/dbus-env.bat.cmake
+++ /dev/null
@@ -1,8 +0,0 @@
-:: environment setting for dbus clients
-@echo off
-
-:: session bus address
-set DBUS_SESSION_BUS_ADDRESS=@DBUS_SESSION_BUS_CONNECT_ADDRESS@
-
-:: system bus address
-set DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@
diff --git a/src/3rd_party/dbus-1.7.8/cmake/dbus/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/dbus/CMakeLists.txt
deleted file mode 100644
index 0205f85295..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/dbus/CMakeLists.txt
+++ /dev/null
@@ -1,316 +0,0 @@
-project(dbus-lib)
-
-SET(DBUS_DIR ${CMAKE_SOURCE_DIR}/../dbus)
-
-configure_file(${DBUS_DIR}/dbus-arch-deps.h.in ${CMAKE_CURRENT_BINARY_DIR}/dbus-arch-deps.h )
-
-add_definitions(-DDBUS_COMPILATION)
-
-set (dbusinclude_HEADERS
- ${DBUS_DIR}/dbus.h
- ${DBUS_DIR}/dbus-address.h
- ${DBUS_DIR}/dbus-bus.h
- ${DBUS_DIR}/dbus-connection.h
- ${DBUS_DIR}/dbus-errors.h
- ${DBUS_DIR}/dbus-macros.h
- ${DBUS_DIR}/dbus-memory.h
- ${DBUS_DIR}/dbus-message.h
- ${DBUS_DIR}/dbus-misc.h
- ${DBUS_DIR}/dbus-pending-call.h
- ${DBUS_DIR}/dbus-protocol.h
- ${DBUS_DIR}/dbus-server.h
- ${DBUS_DIR}/dbus-shared.h
- ${DBUS_DIR}/dbus-signature.h
- ${DBUS_DIR}/dbus-syntax.h
- ${DBUS_DIR}/dbus-threads.h
- ${DBUS_DIR}/dbus-types.h
- dbus-arch-deps.h
-)
-
-### source code that goes in the installed client library
-### and is specific to library functionality
-set (DBUS_LIB_SOURCES
- ${DBUS_DIR}/dbus-address.c
- ${DBUS_DIR}/dbus-auth.c
- ${DBUS_DIR}/dbus-bus.c
- ${DBUS_DIR}/dbus-connection.c
- ${DBUS_DIR}/dbus-credentials.c
- ${DBUS_DIR}/dbus-errors.c
- ${DBUS_DIR}/dbus-keyring.c
- ${DBUS_DIR}/dbus-marshal-header.c
- ${DBUS_DIR}/dbus-marshal-byteswap.c
- ${DBUS_DIR}/dbus-marshal-recursive.c
- ${DBUS_DIR}/dbus-marshal-validate.c
- ${DBUS_DIR}/dbus-message.c
- ${DBUS_DIR}/dbus-misc.c
- ${DBUS_DIR}/dbus-nonce.c
- ${DBUS_DIR}/dbus-object-tree.c
- ${DBUS_DIR}/dbus-pending-call.c
- ${DBUS_DIR}/dbus-resources.c
- ${DBUS_DIR}/dbus-server.c
- ${DBUS_DIR}/dbus-server-socket.c
- ${DBUS_DIR}/dbus-server-debug-pipe.c
- ${DBUS_DIR}/dbus-sha.c
- ${DBUS_DIR}/dbus-signature.c
- ${DBUS_DIR}/dbus-syntax.c
- ${DBUS_DIR}/dbus-timeout.c
- ${DBUS_DIR}/dbus-threads.c
- ${DBUS_DIR}/dbus-transport.c
- ${DBUS_DIR}/dbus-transport-socket.c
- ${DBUS_DIR}/dbus-watch.c
-)
-
-
-if(UNIX)
- set (DBUS_LIB_SOURCES ${DBUS_LIB_SOURCES}
- ${DBUS_DIR}/dbus-transport-unix.c
- ${DBUS_DIR}/dbus-server-unix.c
- )
-else(UNIX)
- set (DBUS_LIB_SOURCES ${DBUS_LIB_SOURCES}
- ${DBUS_DIR}/dbus-transport-win.c
- ${DBUS_DIR}/dbus-server-win.c
- )
-endif(UNIX)
-
-set (DBUS_LIB_HEADERS
- ${DBUS_DIR}/dbus-auth.h
- ${DBUS_DIR}/dbus-connection-internal.h
- ${DBUS_DIR}/dbus-credentials.h
- ${DBUS_DIR}/dbus-keyring.h
- ${DBUS_DIR}/dbus-marshal-header.h
- ${DBUS_DIR}/dbus-marshal-byteswap.h
- ${DBUS_DIR}/dbus-marshal-recursive.h
- ${DBUS_DIR}/dbus-marshal-validate.h
- ${DBUS_DIR}/dbus-message-internal.h
- ${DBUS_DIR}/dbus-message-private.h
- ${DBUS_DIR}/dbus-misc.h
- ${DBUS_DIR}/dbus-object-tree.h
- ${DBUS_DIR}/dbus-protocol.h
- ${DBUS_DIR}/dbus-resources.h
- ${DBUS_DIR}/dbus-server-debug-pipe.h
- ${DBUS_DIR}/dbus-server-protected.h
- ${DBUS_DIR}/dbus-server-unix.h
- ${DBUS_DIR}/dbus-sha.h
- ${DBUS_DIR}/dbus-timeout.h
- ${DBUS_DIR}/dbus-threads.h
- ${DBUS_DIR}/dbus-threads-internal.h
- ${DBUS_DIR}/dbus-transport.h
- ${DBUS_DIR}/dbus-transport-protected.h
- ${DBUS_DIR}/dbus-watch.h
- ${CMAKE_BINARY_DIR}/config.h
-)
-if(UNIX)
- set (DBUS_LIB_HEADERS ${DBUS_LIB_HEADERS}
- ${DBUS_DIR}/dbus-transport-unix.h
- )
-else(UNIX)
- set (DBUS_LIB_HEADERS ${DBUS_LIB_HEADERS}
- ${DBUS_DIR}/dbus-transport-win.h
- )
-endif(UNIX)
-
-
-### source code that goes in the installed client library
-### AND is generic utility functionality used by the
-### daemon or test programs (all symbols in here should
-### be underscore-prefixed)
-set (DBUS_SHARED_SOURCES
- ${DBUS_DIR}/dbus-dataslot.c
- ${DBUS_DIR}/dbus-file.c
- ${DBUS_DIR}/dbus-hash.c
- ${DBUS_DIR}/dbus-internals.c
- ${DBUS_DIR}/dbus-list.c
- ${DBUS_DIR}/dbus-marshal-basic.c
- ${DBUS_DIR}/dbus-memory.c
- ${DBUS_DIR}/dbus-mempool.c
- ${DBUS_DIR}/dbus-string.c
- ${DBUS_DIR}/dbus-sysdeps.c
- ${DBUS_DIR}/dbus-pipe.c
-)
-
-set (DBUS_SHARED_HEADERS
- ${DBUS_DIR}/dbus-dataslot.h
- ${DBUS_DIR}/dbus-file.h
- ${DBUS_DIR}/dbus-hash.h
- ${DBUS_DIR}/dbus-internals.h
- ${DBUS_DIR}/dbus-list.h
- ${DBUS_DIR}/dbus-marshal-basic.h
- ${DBUS_DIR}/dbus-mempool.h
- ${DBUS_DIR}/dbus-string.h
- ${DBUS_DIR}/dbus-string-private.h
- ${DBUS_DIR}/dbus-pipe.h
- ${DBUS_DIR}/dbus-sysdeps.h
-)
-
-### source code that is generic utility functionality used
-### by the bus daemon or test apps, but is NOT included
-### in the D-BUS client library (all symbols in here
-### should be underscore-prefixed but don't really need
-### to be unless they move to DBUS_SHARED_SOURCES later)
-set (DBUS_UTIL_SOURCES
- ${DBUS_DIR}/dbus-asv-util.c
- ${DBUS_DIR}/dbus-auth-script.c
- ${DBUS_DIR}/dbus-auth-util.c
- ${DBUS_DIR}/dbus-credentials-util.c
- ${DBUS_DIR}/dbus-mainloop.c
- ${DBUS_DIR}/dbus-marshal-byteswap-util.c
- ${DBUS_DIR}/dbus-marshal-recursive-util.c
- ${DBUS_DIR}/dbus-marshal-validate-util.c
- ${DBUS_DIR}/dbus-message-factory.c
- ${DBUS_DIR}/dbus-message-util.c
- ${DBUS_DIR}/dbus-shell.c
- ${DBUS_DIR}/dbus-socket-set.c
- ${DBUS_DIR}/dbus-socket-set-poll.c
- ${DBUS_DIR}/dbus-string-util.c
- ${DBUS_DIR}/dbus-sysdeps-util.c
-)
-
-if (DBUS_ENABLE_EMBEDDED_TESTS)
- set (DBUS_UTIL_SOURCES
- ${DBUS_UTIL_SOURCES}
- ${DBUS_DIR}/dbus-test.c
- )
-endif (DBUS_ENABLE_EMBEDDED_TESTS)
-
-set (DBUS_UTIL_HEADERS
- ${DBUS_DIR}/dbus-asv-util.h
- ${DBUS_DIR}/dbus-auth-script.h
- ${DBUS_DIR}/dbus-mainloop.h
- ${DBUS_DIR}/dbus-message-factory.h
- ${DBUS_DIR}/dbus-shell.h
- ${DBUS_DIR}/dbus-socket-set.h
- ${DBUS_DIR}/dbus-spawn.h
- ${DBUS_DIR}/dbus-test.h
-)
-
-### platform specific settings
-if (WIN32)
- set (DBUS_SHARED_SOURCES ${DBUS_SHARED_SOURCES}
- ${DBUS_DIR}/dbus-file-win.c
- ${DBUS_DIR}/dbus-init-win.cpp
- ${DBUS_DIR}/dbus-sysdeps-win.c
- ${DBUS_DIR}/dbus-pipe-win.c
- ${DBUS_DIR}/dbus-sysdeps-thread-win.c
- )
- set (DBUS_SHARED_HEADERS ${DBUS_SHARED_HEADERS}
- ${DBUS_DIR}/dbus-sockets-win.h
- ${DBUS_DIR}/dbus-sysdeps-win.h
- )
- set (DBUS_UTIL_SOURCES ${DBUS_UTIL_SOURCES}
- ${DBUS_DIR}/dbus-spawn-win.c
- ${DBUS_DIR}/dbus-sysdeps-util-win.c
- )
- if(WINCE)
- set (DBUS_SHARED_SOURCES ${DBUS_SHARED_SOURCES}
- ${DBUS_DIR}/dbus-sysdeps-wince-glue.c
- )
- set (DBUS_SHARED_HEADERS ${DBUS_SHARED_HEADERS}
- ${DBUS_DIR}/dbus-sysdeps-wince-glue.h
- )
- endif(WINCE)
-else (WIN32)
- set (DBUS_SHARED_SOURCES ${DBUS_SHARED_SOURCES}
- ${DBUS_DIR}/dbus-file-unix.c
- ${DBUS_DIR}/dbus-pipe-unix.c
- ${DBUS_DIR}/dbus-sysdeps-unix.c
- ${DBUS_DIR}/dbus-sysdeps-pthread.c
- ${DBUS_DIR}/dbus-userdb.c
- ${DBUS_DIR}/sd-daemon.c
- )
- set (DBUS_SHARED_HEADERS ${DBUS_SHARED_HEADERS}
- ${DBUS_DIR}/dbus-server-unix.h
- ${DBUS_DIR}/dbus-transport-unix.h
- ${DBUS_DIR}/dbus-sysdeps-unix.h
- ${DBUS_DIR}/dbus-userdb.h
- ${DBUS_DIR}/sd-daemon.h
- )
- set (DBUS_UTIL_SOURCES ${DBUS_UTIL_SOURCES}
- ${DBUS_DIR}/dbus-spawn.c
- ${DBUS_DIR}/dbus-userdb-util.c
- ${DBUS_DIR}/dbus-sysdeps-util-unix.c
- )
-endif (WIN32)
-
-set(libdbus_SOURCES
- ${DBUS_LIB_SOURCES}
- ${DBUS_SHARED_SOURCES}
-)
-
-set(libdbus_HEADERS
- ${DBUS_LIB_HEADERS}
- ${DBUS_SHARED_HEADERS}
-)
-if (MSVC)
- set (BUILD_FILEVERSION ${DBUS_MAJOR_VERSION},${DBUS_MINOR_VERSION},${DBUS_MICRO_VERSION},${DBUS_PATCH_VERSION})
- set (BUILD_TIMESTAMP ${DBUS_BUILD_TIMESTAMP})
-
- configure_file(${DBUS_DIR}/versioninfo.rc.in ${CMAKE_CURRENT_BINARY_DIR}/versioninfo.rc)
- file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/afxres.h "")
- list(APPEND libdbus_SOURCES versioninfo.rc)
- set_source_files_properties(versioninfo.rc COMPILE_FLAGS "-D__LINE__=1")
-endif (MSVC)
-
-if(MSVC_IDE)
- project_source_group(${GROUP_CODE} DBUS_LIB_SOURCES DBUS_LIB_HEADERS)
- project_source_group(${GROUP_CODE} DBUS_SHARED_SOURCES DBUS_SHARED_HEADERS)
- project_source_group(${GROUP_CODE} DBUS_UTIL_SOURCES DBUS_UTIL_SOURCES)
-endif(MSVC_IDE)
-
-### Client library
-
-add_library(dbus-1 SHARED
- ${libdbus_SOURCES}
- ${libdbus_HEADERS}
-)
-if(WIN32)
- if(WINCE)
- target_link_libraries(dbus-1 ws2)
- else(WINCE)
- target_link_libraries(dbus-1 ws2_32 advapi32 netapi32 iphlpapi)
- endif(WINCE)
-else(WIN32)
- target_link_libraries(dbus-1 ${CMAKE_THREAD_LIBS_INIT} rt)
-endif(WIN32)
-
-install(TARGETS dbus-1 ${INSTALL_TARGETS_DEFAULT_ARGS})
-install_files(/include/dbus FILES ${dbusinclude_HEADERS})
-
-### Internal library, used for the daemon, tools and tests, compiled statically.
-
-add_library(dbus-internal ${DBUS_INTERNAL_ADD_LIBRARY_OPTIONS}
- ${DBUS_LIB_SOURCES}
- ${DBUS_LIB_HEADERS}
- ${DBUS_SHARED_SOURCES}
- ${DBUS_SHARED_HEADERS}
- ${DBUS_UTIL_SOURCES}
- ${DBUS_UTIL_HEADERS}
-)
-target_link_libraries(dbus-internal)
-set_target_properties(dbus-internal PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_LIBRARY_DEFINITIONS})
-if(WIN32)
- if(WINCE)
- target_link_libraries(dbus-internal ws2)
- else(WINCE)
- target_link_libraries(dbus-internal ws2_32 advapi32 netapi32 iphlpapi)
- endif(WINCE)
-else(WIN32)
- target_link_libraries(dbus-internal ${CMAKE_THREAD_LIBS_INIT} rt)
-endif(WIN32)
-
-if (DBUS_ENABLE_EMBEDDED_TESTS)
- set (TESTS_ENVIRONMENT "DBUS_TEST_DATA=${CMAKE_SOURCE_DIR}/test/data DBUS_TEST_HOMEDIR=${CMAKE_BUILD_DIR}/dbus")
- ADD_EXECUTABLE(dbus-test ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c)
- target_link_libraries(dbus-test ${DBUS_INTERNAL_LIBRARIES})
- add_test(dbus-test ${EXECUTABLE_OUTPUT_PATH}/dbus-test ${CMAKE_SOURCE_DIR}/../test/data)
- set_target_properties(dbus-test PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS})
-ENDIF (DBUS_ENABLE_EMBEDDED_TESTS)
-
-if (UNIX)
-# set version info
-ENDIF (UNIX)
-
-
-## mop up the gcov files
-#clean-local:
-#/bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true
diff --git a/src/3rd_party/dbus-1.7.8/cmake/doc/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/doc/CMakeLists.txt
deleted file mode 100644
index 7fdfc2196f..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/doc/CMakeLists.txt
+++ /dev/null
@@ -1,154 +0,0 @@
-find_package(Doxygen)
-
-if(DOXYGEN_EXECUTABLE)
- OPTION(DBUS_ENABLE_DOXYGEN_DOCS "build DOXYGEN documentation (requires Doxygen)" ON)
-endif(DOXYGEN_EXECUTABLE)
-
-if (DBUS_ENABLE_DOXYGEN_DOCS)
- set (top_srcdir ${CMAKE_SOURCE_DIR}/..)
- configure_file(${CMAKE_SOURCE_DIR}/../Doxyfile.in ${CMAKE_BINARY_DIR}/Doxyfile )
- add_custom_target(doc
- COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
- )
-endif (DBUS_ENABLE_DOXYGEN_DOCS)
-
-#
-# find docbook generator
-#
-find_program(MEINPROC4_EXECUTABLE meinproc4)
-
-find_program(XMLTO_EXECUTABLE xmlto)
-
-if (MEINPROC4_EXECUTABLE OR XMLTO_EXECUTABLE)
- OPTION(DBUS_ENABLE_XML_DOCS "build XML documentation (requires xmlto or meinproc4)" ON)
- ADD_CUSTOM_TARGET(xmldoc ALL)
-endif (MEINPROC4_EXECUTABLE OR XMLTO_EXECUTABLE)
-
-if (XMLTO_EXECUTABLE)
- set (DOCBOOK_GENERATOR_NAME "xmlto" PARENT_SCOPE)
- set(DBUS_XML_DOCS_ENABLED 1)
- set(MEINPROC4_EXECUTABLE 0)
- MESSAGE(STATUS "xmlto docbook generator found")
- set(STYLESHEET_MAN "${DOCBOOKXSL_DIR}/manpages/docbook.xsl")
- set(STYLESHEET_HTML "${DOCBOOKXSL_DIR}/html/docbook.xsl")
-
-elseif (MEINPROC4_EXECUTABLE)
- set(DOCBOOK_GENERATOR_NAME "meinproc4" PARENT_SCOPE)
- set(DBUS_XML_DOCS_ENABLED 1)
- if(WIN32)
- get_filename_component(_a ${MEINPROC4_EXECUTABLE} PATH)
- get_filename_component(_meinproc_install_path ${_a} PATH)
- set(STYLESHEET_HTML "${_meinproc_install_path}/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl")
- else(WIN32)
- set(STYLESHEET_HTML file:///usr/share/kde4/apps/ksgmltools2/customization/kde-nochunk.xsl)
- endif(WIN32)
-endif ()
-
-if (DBUS_ENABLE_XML_DOCS)
-
-macro (DOCBOOK _sources _format)
- get_filename_component(_infile ${_sources} ABSOLUTE)
- get_filename_component(_name ${_infile} NAME)
- set(_deps ${CMAKE_SOURCE_DIR}/CMakeLists.txt ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)
-
- if (${_format} STREQUAL "man")
- string(REPLACE ".xml" "" _outname ${_name})
- set(STYLESHEET ${STYLESHEET_MAN})
- else()
- string(REPLACE ".xml" ".html" _outname ${_name})
- set(STYLESHEET ${STYLESHEET_HTML})
- endif ()
-
- set(_outfile ${CMAKE_CURRENT_BINARY_DIR}/${_outname})
- if (EXISTS ${_sources})
- if (MEINPROC4_EXECUTABLE)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${_outfile}
- COMMAND ${MEINPROC4_EXECUTABLE} --stylesheet ${STYLESHEET} -o ${_outfile} ${_infile}
- DEPENDS ${_infile} ${STYLESHEET} ${_deps}
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- )
- endif ()
- if (XMLTO_EXECUTABLE)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${_outfile}
- COMMAND ${XMLTO_EXECUTABLE} -vv ${_format} ${_infile}
- DEPENDS ${_infile} ${_deps}
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- )
- endif ()
- if (${_format} STREQUAL "man")
- install(FILES ${_outfile} DESTINATION share/man/man1)
- else ()
- install(FILES ${_outfile} DESTINATION share/doc/dbus)
- endif ()
- else ()
- MESSAGE(STATUS "skipping xml doc generating for ${_infile}, file not found")
- endif ()
- ADD_CUSTOM_TARGET(${_outname} DEPENDS ${_outfile})
- ADD_DEPENDENCIES(xmldoc ${_outname})
-endmacro (DOCBOOK)
-
-### copy tests to builddir so that generated tests and static tests
-### are all in one place.
-### todo how to add more filetypes
-MACRO (COPYDIR _src _type)
- FOREACH(FILE_TYPE ${_type})
- FOREACH(DIR ${_src})
- FILE(GLOB FILES "${CMAKE_SOURCE_DIR}/../${DIR}/${FILE_TYPE}" )
- FILE(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${DIR})
- FOREACH(FILE ${FILES})
- GET_FILENAME_COMPONENT(FILENAME ${FILE} NAME)
- SET (TARGET ${CMAKE_BINARY_DIR}/${DIR}/${FILENAME})
- configure_file(${FILE} ${TARGET} COPYONLY)
- IF (CONFIG_VERBOSE)
- MESSAGE("FROM: ${FILE}\nTO: ${TARGET}\n")
- ENDIF (CONFIG_VERBOSE)
- ENDFOREACH(FILE)
- ENDFOREACH(DIR)
- ENDFOREACH(FILE_TYPE)
-ENDMACRO (COPYDIR)
-
-COPYDIR(doc *.png)
-COPYDIR(doc *.svg)
-
-DOCBOOK(${CMAKE_SOURCE_DIR}/../doc/dbus-test-plan.xml html-nochunks)
-DOCBOOK(${CMAKE_SOURCE_DIR}/../doc/dbus-tutorial.xml html-nochunks)
-DOCBOOK(${CMAKE_SOURCE_DIR}/../doc/dbus-specification.xml html-nochunks)
-DOCBOOK(${CMAKE_SOURCE_DIR}/../doc/dbus-faq.xml html-nochunks)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-cleanup-sockets.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-cleanup-sockets.1.xml)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-daemon.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-daemon.1.xml)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-launch.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-launch.1.xml)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-monitor.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-monitor.1.xml)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-send.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-send.1.xml)
-configure_file(${CMAKE_SOURCE_DIR}/../doc/dbus-uuidgen.1.xml.in ${CMAKE_BINARY_DIR}/doc/dbus-uuidgen.1.xml)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-cleanup-sockets.1.xml html-nochunks)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-daemon.1.xml html-nochunks)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-launch.1.xml html-nochunks)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-monitor.1.xml html-nochunks)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-send.1.xml html-nochunks)
-DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-uuidgen.1.xml html-nochunks)
-if (UNIX)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-daemon.1.xml man)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-monitor.1.xml man)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-send.1.xml man)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-launch.1.xml man)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-uuidgen.1.xml man)
- DOCBOOK(${CMAKE_BINARY_DIR}/doc/dbus-cleanup-sockets.1.xml man)
-endif()
-#
-# handle html index file
-#
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/index.html.cmake ${CMAKE_CURRENT_BINARY_DIR}/index.html )
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/index.html DESTINATION share/doc/dbus)
-
-set (EXTRA_DIST
- ${CMAKE_SOURCE_DIR}/../doc/busconfig.dtd
- ${CMAKE_SOURCE_DIR}/../doc/introspect.dtd
- ${CMAKE_SOURCE_DIR}/../doc/introspect.xsl
-)
-
-install(FILES ${EXTRA_DIST} DESTINATION share/doc/dbus)
-
-endif(DBUS_ENABLE_XML_DOCS)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/doc/index.html.cmake b/src/3rd_party/dbus-1.7.8/cmake/doc/index.html.cmake
deleted file mode 100644
index 77dd6614ef..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/doc/index.html.cmake
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>
-<head>
-<title>D-Bus Documentation Index</title>
-</head>
-<body>
-<h1>D-Bus Documentation Index</h1>
-<p>Version @DBUS_VERSION_STRING@</p>
-
-<table>
- <tr>
- <th width=10%>
- </th>
- <th width=30% align=left>
- generic documentation
- </th>
- <th width=30% align=left>
-application manuals
- </th>
- </tr>
- <tr>
- <td valign=top>
- </td>
- <td valign=top>
-<a href="http://dbus.freedesktop.org">D-Bus Website</a>
- <br>
- <br>
-<a href="dbus-tutorial.html">D-Bus Tutorial</a>
- <br>
- <br>
-<a href="dbus-specification.html">D-Bus Specification</a>
- <br>
- <br>
-<a href="dbus-faq.html">D-Bus FAQ</a>
- <br>
- <br>
-<a href="dbus-test-plan.html">D-Bus Test Plan</a>
- <br>
- <br>
- </td>
- <td valign=top>
-<a href="dbus-daemon.html">D-Bus Daemon manual</a>
- <br>
- <br>
-<a href="dbus-launch.html">D-Bus launch manual</a>
- <br>
- <br>
-<a href="dbus-send.html">D-Bus send tool manual</a>
- <br>
- <br>
-<a href="dbus-monitor.html">D-Bus monitor manual</a>
- </td>
- </tr>
-</table>
-</body>
-</html>
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake
deleted file mode 100644
index 74b6689880..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake
+++ /dev/null
@@ -1,37 +0,0 @@
-
-if (DBUS_INSTALL_SYSTEM_LIBS)
- if (MINGW)
- install_files(/bin FILES ${LIBEXPAT_LIBRARIES})
- else (MINGW)
- INCLUDE(InstallRequiredSystemLibraries)
- endif (MINGW)
-endif (DBUS_INSTALL_SYSTEM_LIBS)
-
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "D-BUS For Windows")
-SET(CPACK_PACKAGE_VENDOR "D-BUS Windows Team")
-SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/../README")
-SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../COPYING")
-# duplicated from VERSION
-SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
-SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
-SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
-#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
-SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus")
-IF(WIN32 AND NOT UNIX)
- SET(CPACK_GENERATOR NSIS ZIP) # can be NSIS, STGZ, TBZ2, TGZ, TZ and ZIP
- SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
- # There is a bug in NSI that does not handle full unix paths properly. Make
- # sure there is at least one set of four (4) backlasshes.
-# SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\InstallIcon.bmp")
- SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\dbus-launch.bat")
- SET(CPACK_NSIS_DISPLAY_NAME "D-Bus for Windows")
- SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\sourceforge.net/projects/windbus")
- SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\sourceforge.net/projects/windbus")
- SET(CPACK_NSIS_CONTACT "me@my-personal-home-page.com")
- SET(CPACK_NSIS_MODIFY_PATH ON)
-ELSE(WIN32 AND NOT UNIX)
- SET(CPACK_STRIP_FILES "bin/MyExecutable")
- SET(CPACK_SOURCE_STRIP_FILES "")
-ENDIF(WIN32 AND NOT UNIX)
-SET(CPACK_PACKAGE_EXECUTABLES "dbus-launch" "D-Bus Daemon")
-INCLUDE(CPack)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c
deleted file mode 100644
index 062b846c39..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <errno.h>
-
-int main() {
- int listen_fd;
- struct sockaddr_un addr;
-
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
-
- if (listen_fd < 0)
- {
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
- exit (1);
- }
-
- memset (&addr, '\0', sizeof (addr));
- addr.sun_family = AF_UNIX;
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
-
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
- {
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
- strerror (errno));
- exit (1);
- }
- else
- exit (0);
-} \ No newline at end of file
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake
deleted file mode 100644
index da319f13a5..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake
+++ /dev/null
@@ -1,35 +0,0 @@
-# - Check if the prototype for a function exists.
-# CHECK_PROTOTYPE_EXISTS (FUNCTION HEADER VARIABLE)
-#
-# FUNCTION - the name of the function you are looking for
-# HEADER - the header(s) where the prototype should be declared
-# VARIABLE - variable to store the result
-#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
-#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-
-INCLUDE(CheckCXXSourceCompiles)
-
-MACRO (CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT)
- SET(_INCLUDE_FILES)
- FOREACH (it ${_HEADER})
- SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
- ENDFOREACH (it)
-
- SET(_CHECK_PROTO_EXISTS_SOURCE_CODE "
-${_INCLUDE_FILES}
-int main()
-{
-#ifndef ${_SYMBOL}
- int i = sizeof(&${_SYMBOL});
-#endif
- return 0;
-}
-")
- CHECK_CXX_SOURCE_COMPILES("${_CHECK_PROTO_EXISTS_SOURCE_CODE}" ${_RESULT})
-ENDMACRO (CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake
deleted file mode 100644
index fd5d3461b1..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake
+++ /dev/null
@@ -1,36 +0,0 @@
-# - Check if the given struct or class has the specified member variable
-# CHECK_STRUCT_MEMBER (STRUCT MEMBER HEADER VARIABLE)
-#
-# STRUCT - the name of the struct or class you are interested in
-# MEMBER - the member which existence you want to check
-# HEADER - the header(s) where the prototype should be declared
-# VARIABLE - variable to store the result
-#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
-#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-
-INCLUDE(CheckCXXSourceCompiles)
-
-MACRO (CHECK_STRUCT_MEMBER _STRUCT _MEMBER _HEADER _RESULT)
- SET(_INCLUDE_FILES)
- FOREACH (it ${_HEADER})
- SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
- ENDFOREACH (it)
-
- SET(_CHECK_STRUCT_MEMBER_SOURCE_CODE "
-${_INCLUDE_FILES}
-int main()
-{
- ${_STRUCT}* tmp;
- tmp->${_MEMBER};
- return 0;
-}
-")
- CHECK_CXX_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
-
-ENDMACRO (CHECK_STRUCT_MEMBER)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake
deleted file mode 100644
index 1767901e78..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-find_program(DOXYGEN_EXECUTABLE NAMES doxygen DOC "doxygen executable")
-mark_as_advanced(DOXYGEN_EXECUTABLE)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake
deleted file mode 100644
index 1fdaee9597..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake
+++ /dev/null
@@ -1,42 +0,0 @@
-# - Try to find the GLIB library
-# Once done this will define
-#
-# GLIB_FOUND - system has GLIB
-# GLIB_INCLUDES - the GLIB include directories
-# GLIB_LIBRARIES - The libraries needed to use GLIB
-
-if (WIN32)
-
-INCLUDE(MacroGetenvWinPath)
-
-MACRO_GETENV_WIN_PATH(_program_FILES_DIR PROGRAMFILES)
-
-FIND_PATH(GLIB_INCLUDE_DIR glib.h
- ${_program_FILES_DIR}/glib/include/glib-2.0
-)
-
-
-# search for GLIB in the default install directory for applications (default of (n)make install)
-FIND_LIBRARY(GLIB_LIBRARY NAMES glib-2.0
- PATHS
- ${_program_FILES_DIR}/glib/lib
-)
-
-if (GLIB_LIBRARY AND GLIB_INCLUDE_DIR)
- set(GLIB_FOUND TRUE)
- set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${GLIB_INCLUDES})
- set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${GLIB_LIBRARIES})
-
-endif (GLIB_LIBRARY AND GLIB_INCLUDE_DIR)
-
-if (GLIB_FOUND)
- if (NOT GLIB_FIND_QUIETLY)
- message(STATUS "Found GLIB: ${GLIB_LIBRARY}")
- endif (NOT GLIB_FIND_QUIETLY)
-else (GLIB_FOUND)
- if (GLIB_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find GLIB library")
- endif (GLIB_FIND_REQUIRED)
-endif (GLIB_FOUND)
-
-endif (WIN32)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake
deleted file mode 100644
index dac63449fa..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-# - Try to find LibIconv
-# Once done this will define
-#
-# LIBICONV_FOUND - system has LibIconv
-# LIBICONV_INCLUDE_DIR - the LibIconv include directory
-# LIBICONV_LIBRARIES - the libraries needed to use LibIconv
-# LIBICONV_DEFINITIONS - Compiler switches required for using LibIconv
-
-if (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- # in cache already
- SET(LIBICONV_FOUND TRUE)
-
-else (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- IF (NOT WIN32)
- MESSAGE(FATAL_ERROR "Please set this to the correct values!")
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- INCLUDE(UsePkgConfig)
- PKGCONFIG(libiconv-1.9 _LibIconvIncDir _LibIconvLinkDir _LibIconvLinkFlags _LiIconvCflags)
- SET(LIBICONV_DEFINITIONS ${_LibIconvCflags})
- ENDIF (NOT WIN32)
-
- FIND_PATH(LIBICONV_INCLUDE_DIR iconv.h
- PATHS
- ${_LibIconvIncDir}
- PATH_SUFFIXES libiconv
- )
-
- FIND_LIBRARY(LIBICONV_LIBRARIES NAMES iconv libiconv
- PATHS
- ${_LibIconvLinkDir}
- )
-
- if (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
- set(LIBICONV_FOUND TRUE)
- endif (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- if (LIBICONV_FOUND)
- if (NOT LibIconv_FIND_QUIETLY)
- message(STATUS "Found LibIconv: ${LIBICONV_LIBRARIES}")
- endif (NOT LibIconv_FIND_QUIETLY)
- else (LIBICONV_FOUND)
- if (LibIconv_FIND_REQUIRED)
- message(SEND_ERROR "Could NOT find LibIconv")
- endif (LibIconv_FIND_REQUIRED)
- endif (LIBICONV_FOUND)
-
- MARK_AS_ADVANCED(LIBICONV_INCLUDE_DIR LIBICONV_LIBRARIES)
-
-endif (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake
deleted file mode 100644
index b18f7f639a..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake
+++ /dev/null
@@ -1,5 +0,0 @@
-
-MACRO (MACRO_GETENV_WIN_PATH var name)
- set(${var} $ENV{${name}})
- STRING(REGEX REPLACE "\\\\" "/" ${var} "${${var}}")
-ENDMACRO (MACRO_GETENV_WIN_PATH var name)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake
deleted file mode 100644
index 6523530cac..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake
+++ /dev/null
@@ -1,9 +0,0 @@
-# - include MacroLibrary offers a collection of macros which extend the built-in cmake commands
-# OPTIONAL_FIND_PACKAGE( <name> [QUIT] )
-
-INCLUDE(MacroOptionalFindPackage)
-#INCLUDE(MacroAdditionalCleanFiles)
-#INCLUDE(MacroAddFileDependencies)
-#INCLUDE(MacroGetenvWinPath)
-#INCLUDE(MacroEnsureOutOfSourceBuild)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake
deleted file mode 100644
index 7068131202..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION()
-# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] )
-# This macro is a combination of OPTION() and FIND_PACKAGE(), it
-# works like FIND_PACKAGE(), but additionally it automatically creates
-# an option name WITH_<name>, which can be disabled via the cmake GUI.
-# or via -DWITH_<name>=OFF
-# The standard <name>_FOUND variables can be used in the same way
-# as when using the normal FIND_PACKAGE()
-
-MACRO (MACRO_OPTIONAL_FIND_PACKAGE _name )
- OPTION(WITH_${_name} "Search for ${_name} package" ON)
- if (WITH_${_name})
- FIND_PACKAGE(${_name} ${ARGN})
- else (WITH_${_name})
- set(${_name}_FOUND)
- set(${_name}_INCLUDE_DIR)
- set(${_name}_INCLUDES)
- set(${_name}_LIBRARY)
- set(${_name}_LIBRARIES)
- endif (WITH_${_name})
-ENDMACRO (MACRO_OPTIONAL_FIND_PACKAGE)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake
deleted file mode 100644
index adb34b5161..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-
-MACRO(TIMESTAMP RESULT)
- if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
- EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE DATE)
- string(REGEX REPLACE "(..)[/.](..)[/.](....).*" "\\3\\2\\1" DATE ${DATE})
- EXECUTE_PROCESS(COMMAND "cmd" " /C time /T" OUTPUT_VARIABLE TIME)
- string(REGEX REPLACE "(..):(..)" "\\1\\2" TIME ${TIME})
- set (${RESULT} "${DATE}${TIME}")
- else ()
- EXECUTE_PROCESS(COMMAND "date" "+%Y%m%d%H%M" OUTPUT_VARIABLE ${RESULT})
- endif ()
-ENDMACRO()
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake
deleted file mode 100644
index 68e8ae5126..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake
+++ /dev/null
@@ -1,100 +0,0 @@
-#
-# @Author Ralf Habacker
-#
-# extracts version information from autoconf config file
-# and set related cmake variables
-#
-# returns
-# ${prefix}_VERSION
-# ${prefix}_VERSION_STRING
-# ${prefix}_MAJOR_VERSION
-# ${prefix}_MINOR_VERSION
-# ${prefix}_MICRO_VERSION
-#
-macro(autoversion config prefix)
- file (READ ${config} _configure_ac)
- string(TOUPPER ${prefix} prefix_upper)
- string (REGEX REPLACE ".*${prefix}_major_version], .([0-9]+).*" "\\1" ${prefix_upper}_MAJOR_VERSION ${_configure_ac})
- string (REGEX REPLACE ".*${prefix}_minor_version], .([0-9]+).*" "\\1" ${prefix_upper}_MINOR_VERSION ${_configure_ac})
- string (REGEX REPLACE ".*${prefix}_micro_version], .([0-9]+).*" "\\1" ${prefix_upper}_MICRO_VERSION ${_configure_ac})
- set (${prefix_upper}_VERSION ${${prefix_upper}_MAJOR_VERSION}.${${prefix_upper}_MINOR_VERSION}.${${prefix_upper}_MICRO_VERSION})
- set (${prefix_upper}_VERSION_STRING "${${prefix_upper}_VERSION}")
-
-endmacro()
-
-#
-# Defines package related variables (PACKAGE_..., PACKAGE and VERSION)
-# as done by autotools.
-#
-# Additional it defines a cmake variable named PACKAGE_CONFIG_H_TEMPLATE
-# which could be placed in config.h templates to have those variables
-# defined at code level like shown below:
-#
-# config.h.template
-# ...
-# @AUTOPACKAGE_CONFIG_H_TEMPLATE@
-# ...
-#
-macro(autopackage name version url support_url)
- # Define to the full name of this package.
- set(PACKAGE_NAME ${name})
-
- # Define to the version of this package.
- set(PACKAGE_VERSION ${version})
-
- # Define to the home page for this package.
- set(PACKAGE_URL ${url})
-
- # Define to the address where bug reports for this package should be sent.
- set(PACKAGE_BUGREPORT ${support_url})
-
- # Define to the full name and version of this package.
- set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
-
- # Define to the one symbol short name of this package.
- set(PACKAGE_TARNAME ${PACKAGE_NAME})
-
- set(PACKAGE ${name})
- set(VERSION ${DBUS_VERSION_STRING})
-
- set(AUTOPACKAGE_CONFIG_H_TEMPLATE "/* generated by cmake macro autopackage */\n
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT \"@PACKAGE_BUGREPORT@\"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME \"@PACKAGE_NAME@\"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING \"@PACKAGE_STRING@\"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME \"@PACKAGE_TARNAME@\"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL \"@PACKAGE_URL@\"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION \"@PACKAGE_VERSION@\"
-
-/* defined by autotools package */
-#define PACKAGE \"@PACKAGE@\"
-#define VERSION \"@VERSION@\"
-")
-endmacro(autopackage)
-
-#
-# parses config.h template and create cmake equivalent
-# not implemented yet
-#
-macro(autoconfig template output)
- file(READ ${template} contents)
- # Convert file contents into a CMake list (where each element in the list
- # is one line of the file)
- STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}")
- STRING(REGEX REPLACE "\n" ";" contents "${contents}")
- foreach(line contents)
- message(STATUS ${line})
- # find #undef lines
- # append to config.h #define <variable-name> <variable-content>
- endforeach()
-endmacro()
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake
deleted file mode 100644
index 713a67a1ed..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-# folders in the msvc projects
-# mode==flat : headers and ourses in no folders
-# mode==split : standard behavior of cmake, split headers and sources
-# mode== <other values" : code is in this folder
-macro(project_source_group mode sources headers)
- #message(STATUS ${mode})
- #message(STATUS ${sources} ${headers})
- if(${mode} MATCHES "flat")
- source_group("Source Files" Files)
- source_group("Header Files" Files)
- source_group("cmake" FILES CMakeLists.txt)
- else(${mode} MATCHES "flat")
- if(NOT ${mode} MATCHES "split")
- source_group("${mode}" FILES ${${sources}} ${${headers}})
- endif(NOT ${mode} MATCHES "split")
- endif(${mode} MATCHES "flat")
-endmacro(project_source_group mode sources headers)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake
deleted file mode 100644
index 4385cc97e1..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# win32 macros
-#
-# Copyright (c) 2006-2007, Ralf Habacker
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-#
-
-if (WIN32)
- #
- # addExplorerWrapper creates batch files for fast access
- # to the build environment from the win32 explorer.
- #
- # For mingw and nmake projects it's opens a command shell,
- # for Visual Studio IDE's (at least tested with VS 8 2005) it
- # opens the related .sln file with paths setting specified at
- # configure time.
- #
- MACRO (addExplorerWrapper _projectname)
- # write explorer wrappers
- get_filename_component(CMAKE_BIN_PATH ${CMAKE_COMMAND} PATH)
- set (ADD_PATH "${CMAKE_BIN_PATH}")
-
- if (QT_QMAKE_EXECUTABLE)
- get_filename_component(QT_BIN_PATH ${QT_QMAKE_EXECUTABLE} PATH)
- set (ADD_PATH "${ADD_PATH};${QT_BIN_PATH}")
- endif (QT_QMAKE_EXECUTABLE)
-
- # add here more pathes
-
- if (MINGW)
- get_filename_component(MINGW_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
- set (ADD_PATH "${ADD_PATH};${MINGW_BIN_PATH}")
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncmd.exe")
- else (MINGW)
- if (CMAKE_BUILD_TOOL STREQUAL "nmake")
- get_filename_component(VC_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncall \"${VC_BIN_PATH}\\vcvars32.bat\"\ncmd.exe")
- else (CMAKE_BUILD_TOOL STREQUAL "nmake")
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-sln.bat "set PATH=${ADD_PATH};%PATH%\nstart ${_projectname}.sln")
- endif (CMAKE_BUILD_TOOL STREQUAL "nmake")
- endif (MINGW)
- ENDMACRO (addExplorerWrapper)
-endif(WIN32)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/test/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/test/CMakeLists.txt
deleted file mode 100644
index 8657e4c759..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/test/CMakeLists.txt
+++ /dev/null
@@ -1,155 +0,0 @@
-project(test)
-
-add_definitions(${DBUS_INTERNAL_CLIENT_DEFINITIONS})
-
-add_library(dbus-testutils STATIC
- ${CMAKE_SOURCE_DIR}/../test/test-utils.h
- ${CMAKE_SOURCE_DIR}/../test/test-utils.c
-)
-target_link_libraries(dbus-testutils ${DBUS_INTERNAL_LIBRARIES})
-
-add_subdirectory( name-test )
-
-set (test-service_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-service.c
-)
-
-set (test-names_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-names.c
-)
-
-set (break_loader_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/break-loader.c
-)
-
-set (test-shell-service_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-shell-service.c
-)
-
-set (shell-test_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/shell-test.c
-)
-
-set (spawn-test_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/spawn-test.c
-)
-
-set (test-exit_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-exit.c
-)
-
-set (test-segfault_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-segfault.c
-)
-
-set (test-sleep-forever_SOURCES
- ${CMAKE_SOURCE_DIR}/../test/test-sleep-forever.c
-)
-
-add_executable(test-service ${test-service_SOURCES})
-target_link_libraries(test-service dbus-testutils)
-
-add_executable(test-names ${test-names_SOURCES})
-target_link_libraries(test-names dbus-testutils)
-
-add_executable(shell-test ${shell-test_SOURCES})
-target_link_libraries(shell-test ${DBUS_INTERNAL_LIBRARIES})
-ADD_TEST(shell-test ${EXECUTABLE_OUTPUT_PATH}/shell-test${EXEEXT})
-
-add_executable(test-shell-service ${test-shell-service_SOURCES})
-target_link_libraries(test-shell-service dbus-testutils)
-
-add_executable(spawn-test ${spawn-test_SOURCES})
-target_link_libraries(spawn-test ${DBUS_INTERNAL_LIBRARIES})
-
-add_executable(test-exit ${test-exit_SOURCES})
-target_link_libraries(test-exit ${DBUS_INTERNAL_LIBRARIES})
-
-add_executable(test-segfault ${test-segfault_SOURCES})
-target_link_libraries(test-segfault ${DBUS_INTERNAL_LIBRARIES})
-
-add_executable(test-sleep-forever ${test-sleep-forever_SOURCES})
-target_link_libraries(test-sleep-forever ${DBUS_INTERNAL_LIBRARIES})
-
-### keep these in creation order, i.e. uppermost dirs first
-set (TESTDIRS
- test/data
- test/data/valid-messages
- test/data/invalid-messages
- test/data/incomplete-messages
- test/data/auth
- test/data/sha-1
- test/data/valid-config-files
- test/data/valid-config-files/basic.d
- test/data/valid-config-files/system.d
- test/data/valid-config-files-system
- test/data/valid-introspection-files
- test/data/valid-messages
- test/data/valid-service-files
- test/data/valid-service-files-system
- test/data/invalid-config-files
- test/data/invalid-config-files-system
- test/data/invalid-messages
- test/data/invalid-service-files-system
- test/data/equiv-config-files
- test/data/equiv-config-files/basic
- test/data/equiv-config-files/basic/basic.d
- test/data/equiv-config-files/entities
- test/data/equiv-config-files/entities/basic.d
-)
-set (CONFIG_VERBOSE 0)
-
-### copy tests to builddir so that generated tests and static tests
-### are all in one place.
-MESSAGE(STATUS "Copying test files to test directory")
-FOREACH(FILE_TYPE *.message *.message-raw *.auth-script *.sha1 *.txt *.conf *.service)
- FOREACH(DIR ${TESTDIRS})
- FILE(GLOB FILES "${CMAKE_SOURCE_DIR}/../${DIR}/${FILE_TYPE}" )
- FILE(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${DIR})
- FOREACH(FILE ${FILES})
- GET_FILENAME_COMPONENT(FILENAME ${FILE} NAME)
- SET (TARGET ${CMAKE_BINARY_DIR}/${DIR}/${FILENAME})
- configure_file(${FILE} ${TARGET} COPYONLY)
- IF (CONFIG_VERBOSE)
- MESSAGE("${FILE}")
- ENDIF (CONFIG_VERBOSE)
- ENDFOREACH(FILE)
- ENDFOREACH(DIR)
-ENDFOREACH(FILE_TYPE)
-
-### generate test files
-MESSAGE(STATUS "Generating test files from templates into test directory")
-
-FOREACH(FILE_TYPE *.conf.in *.service.in)
- FOREACH(DIR ${TESTDIRS})
- FILE(GLOB FILES "${CMAKE_SOURCE_DIR}/../${DIR}/${FILE_TYPE}" )
- FILE(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${DIR})
- FOREACH(FILE ${FILES})
- GET_FILENAME_COMPONENT(FILENAME ${FILE} NAME)
- STRING(REGEX REPLACE "\\.in$" "" FILENAME ${FILENAME})
- SET (TARGET ${CMAKE_BINARY_DIR}/${DIR}/${FILENAME})
- configure_file(${FILE} ${TARGET} @ONLY IMMEDIATE)
- IF (CONFIG_VERBOSE)
- MESSAGE("${FILE}")
- ENDIF (CONFIG_VERBOSE)
- ENDFOREACH(FILE)
- ENDFOREACH(DIR)
-ENDFOREACH(FILE_TYPE)
-
-MESSAGE(STATUS "Copying generated bus config files to test directory")
-set (OUTDIR ${CMAKE_BINARY_DIR}/test/data/valid-config-files)
-
-FILE(GLOB FILES "${CMAKE_BINARY_DIR}/bus/*.conf" )
-FILE(MAKE_DIRECTORY ${OUTDIR})
-FOREACH(FILE ${FILES})
- GET_FILENAME_COMPONENT(FILENAME ${FILE} NAME)
- SET (TARGET ${OUTDIR}/${FILENAME})
- configure_file(${FILE} ${TARGET} COPYONLY)
- IF (CONFIG_VERBOSE)
- MESSAGE("FROM: ${FILE}\nTO: ${TARGET}\n")
- ENDIF (CONFIG_VERBOSE)
-ENDFOREACH(FILE)
-
-# todo: for installation the TEST_..._BINARY variables must reflect the
-# installation dir or has to be defined relative
-#
diff --git a/src/3rd_party/dbus-1.7.8/cmake/test/name-test/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/test/name-test/CMakeLists.txt
deleted file mode 100644
index bf096ba7eb..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/test/name-test/CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-if (DBUS_ENABLE_EMBEDDED_TESTS)
-
-set (NAMEtest-DIR ../../../test/name-test)
-
-add_definitions(${DBUS_INTERNAL_CLIENT_DEFINITIONS})
-
-add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c)
-target_link_libraries(test-pending-call-dispatch ${DBUS_INTERNAL_LIBRARIES})
-ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch)
-
-add_executable(test-pending-call-timeout ${NAMEtest-DIR}/test-pending-call-timeout.c)
-target_link_libraries(test-pending-call-timeout ${DBUS_INTERNAL_LIBRARIES})
-ADD_TEST(test-pending-call-timeout ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-timeout)
-
-add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
-target_link_libraries(test-thread-init ${DBUS_INTERNAL_LIBRARIES})
-ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
-
-add_executable(test-ids ${NAMEtest-DIR}/test-ids.c)
-target_link_libraries(test-ids ${DBUS_INTERNAL_LIBRARIES})
-ADD_TEST(test-ids ${EXECUTABLE_OUTPUT_PATH}/test-ids)
-
-add_executable(test-shutdown ${NAMEtest-DIR}/test-shutdown.c)
-target_link_libraries(test-shutdown dbus-testutils)
-ADD_TEST(test-shutdown ${EXECUTABLE_OUTPUT_PATH}/test-shutdown)
-
-add_executable(test-privserver ${NAMEtest-DIR}/test-privserver.c)
-target_link_libraries(test-privserver dbus-testutils)
-ADD_TEST(test-privserver ${EXECUTABLE_OUTPUT_PATH}/test-privserver)
-
-add_executable(test-privserver-client ${NAMEtest-DIR}/test-privserver-client.c)
-target_link_libraries(test-privserver-client dbus-testutils)
-ADD_TEST(test-privserver-client ${EXECUTABLE_OUTPUT_PATH}/test-privserver-client)
-
-add_executable(test-autolaunch ${NAMEtest-DIR}/test-autolaunch.c)
-target_link_libraries(test-autolaunch dbus-testutils)
-ADD_TEST(test-autolaunch ${EXECUTABLE_OUTPUT_PATH}/test-autolaunch)
-
-endif (DBUS_ENABLE_EMBEDDED_TESTS)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/tools/CMakeLists.txt b/src/3rd_party/dbus-1.7.8/cmake/tools/CMakeLists.txt
deleted file mode 100644
index 101c7e60d9..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/tools/CMakeLists.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-project(tools)
-
-set (dbus_send_SOURCES
- ../../tools/dbus-print-message.c
- ../../tools/dbus-print-message.h
- ../../tools/dbus-send.c
-)
-
-set (dbus_monitor_SOURCES
- ../../tools/dbus-monitor.c
- ../../tools/dbus-print-message.c
- ../../tools/dbus-print-message.h
-)
-
-if (WIN32)
-set (dbus_launch_SOURCES
- ../../tools/dbus-launch-win.c
-)
-else (WIN32)
-set (dbus_launch_SOURCES
- ../../tools/dbus-launch.c
-)
-endif (WIN32)
-
-if (DBUS_BUILD_X11)
-set (dbus_launch_SOURCES
- ${dbus_launch_SOURCES}
- ../../tools/dbus-launch-x11.c
-)
-endif(DBUS_BUILD_X11)
-
-set (dbus_cleanup_sockets_SOURCES
- ../../tools/dbus-cleanup-sockets.c
-)
-
-add_executable(dbus-send ${dbus_send_SOURCES})
-target_link_libraries(dbus-send ${DBUS_LIBRARIES})
-install_targets(/bin dbus-send )
-
-add_executable(dbus-launch ${dbus_launch_SOURCES})
-target_link_libraries(dbus-launch )
-if (DBUS_BUILD_X11)
- target_link_libraries(dbus-launch ${X11_LIBRARIES} )
-endif (DBUS_BUILD_X11)
-install_targets(/bin dbus-launch )
-
-add_executable(dbus-monitor ${dbus_monitor_SOURCES})
-target_link_libraries(dbus-monitor ${DBUS_LIBRARIES})
-install_targets(/bin dbus-monitor )