diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a23c50fef..5d5add1d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -152,7 +152,7 @@ jobs: run: | mkdir ./build cd ./build - cmake -DENABLE_UNIT_TESTS=YES -DENABLE_SPARKLE_UPDATER=ON -DDISABLE_PYTHON=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=${{ env.MIN_MACOS_VERSION }} -DQTDIR="/tmp/obsdeps" -DSWIGDIR="/tmp/obsdeps" -DDepsPath="/tmp/obsdeps" -DVLCPath="${{ github.workspace }}/cmbuild/vlc-${{ env.VLC_VERSION }}" -DENABLE_VLC=ON -DBUILD_BROWSER=ON -DBROWSER_DEPLOY=ON -DBUILD_CAPTIONS=ON -DWITH_RTMPS=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_BUILD_VERSION }}_macosx64" .. + cmake -DENABLE_UNIT_TESTS=YES -DENABLE_SPARKLE_UPDATER=ON -DDISABLE_PYTHON=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=${{ env.MIN_MACOS_VERSION }} -DQTDIR="/tmp/obsdeps" -DSWIGDIR="/tmp/obsdeps" -DDepsPath="/tmp/obsdeps" -DVLCPath="${{ github.workspace }}/cmbuild/vlc-${{ env.VLC_VERSION }}" -DENABLE_VLC=ON -DBUILD_BROWSER=ON -DBROWSER_DEPLOY=ON -DWITH_RTMPS=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_BUILD_VERSION }}_macosx64" .. - name: 'Build' shell: bash working-directory: ${{ github.workspace }}/build @@ -417,7 +417,7 @@ jobs: run: | mkdir ./build cd ./build - cmake -DUNIX_STRUCTURE=0 -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/obs-studio-portable" -DENABLE_UNIT_TESTS=ON -DENABLE_VLC=ON -DBUILD_CAPTIONS=ON -DWITH_RTMPS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_BUILD_VERSION }}_linux64" .. + cmake -DUNIX_STRUCTURE=0 -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/obs-studio-portable" -DENABLE_UNIT_TESTS=ON -DENABLE_VLC=ON -DWITH_RTMPS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_BUILD_VERSION }}_linux64" .. - name: 'Build' shell: bash working-directory: ${{ github.workspace }}/build @@ -541,7 +541,7 @@ jobs: mkdir ./build mkdir ./build64 cd ./build64 - cmake -G"${{ env.CMAKE_GENERATOR }}" -A"x64" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DBUILD_BROWSER=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DVLCPath="${{ github.workspace }}/cmbuild/vlc" -DDepsPath="${{ github.workspace }}/cmbuild/deps/win64" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2017_64" -DENABLE_VLC=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_VERSION }}_windows64_minimal" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE -DVIRTUALCAM_GUID=${{ env.VIRTUALCAM-GUID }} .. + cmake -G"${{ env.CMAKE_GENERATOR }}" -A"x64" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DBUILD_BROWSER=true -DCOMPILE_D3D12_HOOK=true -DVLCPath="${{ github.workspace }}/cmbuild/vlc" -DDepsPath="${{ github.workspace }}/cmbuild/deps/win64" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2017_64" -DENABLE_VLC=ON -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_VERSION }}_windows64_minimal" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE -DVIRTUALCAM_GUID=${{ env.VIRTUALCAM-GUID }} .. - name: 'Build' run: msbuild /m /p:Configuration=RelWithDebInfo .\build64\obs-studio.sln - name: 'Package' @@ -653,7 +653,7 @@ jobs: mkdir ./build mkdir ./build32 cd ./build32 - cmake -G"${{ env.CMAKE_GENERATOR }}" -A"Win32" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DENABLE_VLC=ON -DBUILD_BROWSER=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DVLCPath="${{ github.workspace }}/cmbuild/vlc" -DDepsPath="${{ github.workspace }}/cmbuild/deps/win32" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2017" -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_VERSION }}_windows32_minimal" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE -DVIRTUALCAM_GUID=${{ env.VIRTUALCAM-GUID }} .. + cmake -G"${{ env.CMAKE_GENERATOR }}" -A"Win32" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DENABLE_VLC=ON -DBUILD_BROWSER=true -DCOMPILE_D3D12_HOOK=true -DVLCPath="${{ github.workspace }}/cmbuild/vlc" -DDepsPath="${{ github.workspace }}/cmbuild/deps/win32" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2017" -DCEF_ROOT_DIR="${{ github.workspace }}/cmbuild/cef_binary_${{ env.CEF_VERSION }}_windows32_minimal" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE -DVIRTUALCAM_GUID=${{ env.VIRTUALCAM-GUID }} .. - name: 'Build' run: msbuild /m /p:Configuration=RelWithDebInfo .\build32\obs-studio.sln - name: 'Package' diff --git a/CI/before-script-linux.sh b/CI/before-script-linux.sh index 2118a27e9..5279c932e 100755 --- a/CI/before-script-linux.sh +++ b/CI/before-script-linux.sh @@ -3,4 +3,4 @@ set -ex ccache -s || echo "CCache is not available." mkdir build && cd build -cmake -DBUILD_CAPTIONS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../cef_binary_${CEF_BUILD_VERSION}_linux64" .. +cmake -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../cef_binary_${CEF_BUILD_VERSION}_linux64" .. diff --git a/CI/before-script-osx.sh b/CI/before-script-osx.sh index 3e37b1766..fb7b213a0 100755 --- a/CI/before-script-osx.sh +++ b/CI/before-script-osx.sh @@ -13,6 +13,5 @@ cmake -DENABLE_SPARKLE_UPDATER=ON \ -DVLCPath=$PWD/../../vlc-3.0.8 \ -DBUILD_BROWSER=ON \ -DBROWSER_DEPLOY=ON \ --DBUILD_CAPTIONS=ON \ -DWITH_RTMPS=ON \ -DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 .. diff --git a/CI/full-build-macos.sh b/CI/full-build-macos.sh index c63a6a182..090e5963f 100755 --- a/CI/full-build-macos.sh +++ b/CI/full-build-macos.sh @@ -278,7 +278,6 @@ configure_obs_build() { -DVLCPath="${DEPS_BUILD_DIR}/vlc-${VLC_VERSION:-${CI_VLC_VERSION}}" \ -DBUILD_BROWSER=ON \ -DBROWSER_DEPLOY=ON \ - -DBUILD_CAPTIONS=ON \ -DWITH_RTMPS=ON \ -DCEF_ROOT_DIR="${DEPS_BUILD_DIR}/cef_binary_${CEF_BUILD_VERSION:-${CI_CEF_VERSION}}_macosx64" \ -DCMAKE_BUILD_TYPE="${BUILD_CONFIG}" \ diff --git a/CI/install-script-win.cmd b/CI/install-script-win.cmd index 780d8b1f3..c12773d97 100644 --- a/CI/install-script-win.cmd +++ b/CI/install-script-win.cmd @@ -18,13 +18,13 @@ set VIRTUALCAM-GUID=A3FCE0F5-3493-419F-958A-ABA1250EC20B mkdir build build32 build64 if "%TWITCH-CLIENTID%"=="$(twitch_clientid)" ( cd ./build32 -cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_32% -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. +cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_32% -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. cd ../build64 -cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_64% -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. +cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_64% -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. ) else ( cd ./build32 -cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_32% -DTWITCH_CLIENTID="%TWITCH-CLIENTID%" -DTWITCH_HASH="%TWITCH-HASH%" -DRESTREAM_CLIENTID="%RESTREAM-CLIENTID%" -DRESTREAM_HASH="%RESTREAM-HASH%" -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. +cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_32% -DTWITCH_CLIENTID="%TWITCH-CLIENTID%" -DTWITCH_HASH="%TWITCH-HASH%" -DRESTREAM_CLIENTID="%RESTREAM-CLIENTID%" -DRESTREAM_HASH="%RESTREAM-HASH%" -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. cd ../build64 -cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_64% -DTWITCH_CLIENTID="%TWITCH-CLIENTID%" -DTWITCH_HASH="%TWITCH-HASH%" -DRESTREAM_CLIENTID="%RESTREAM-CLIENTID%" -DRESTREAM_HASH="%RESTREAM-HASH%" -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. +cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0 -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DENABLE_VLC=ON -DCOMPILE_D3D12_HOOK=true -DBUILD_BROWSER=true -DCEF_ROOT_DIR=%CEF_64% -DTWITCH_CLIENTID="%TWITCH-CLIENTID%" -DTWITCH_HASH="%TWITCH-HASH%" -DRESTREAM_CLIENTID="%RESTREAM-CLIENTID%" -DRESTREAM_HASH="%RESTREAM-HASH%" -DVIRTUALCAM_GUID="%VIRTUALCAM-GUID%" .. ) cd .. diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e4a67175..8b36df8e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,6 @@ endif() project(obs-studio) -option(BUILD_CAPTIONS "Build captions" FALSE) option(DEBUG_FFMPEG_MUX "Debug FFmpeg muxer subprocess" FALSE) set_property(GLOBAL PROPERTY USE_FOLDERS ON) diff --git a/UI/frontend-plugins/frontend-tools/CMakeLists.txt b/UI/frontend-plugins/frontend-tools/CMakeLists.txt index c017c5f19..f174793d8 100644 --- a/UI/frontend-plugins/frontend-tools/CMakeLists.txt +++ b/UI/frontend-plugins/frontend-tools/CMakeLists.txt @@ -81,21 +81,19 @@ if(WIN32) auto-scene-switcher-win.cpp frontend-tools.rc) - if(BUILD_CAPTIONS) - set(frontend-tools_PLATFORM_SOURCES - ${frontend-tools_PLATFORM_SOURCES} - captions.cpp - captions-handler.cpp - captions-mssapi.cpp - captions-mssapi-stream.cpp) - set(frontend-tools_PLATFORM_HEADERS - captions.hpp - captions-handler.hpp - captions-mssapi.hpp - captions-mssapi-stream.hpp) - set(frontend-tools_PLATFORM_UI - forms/captions.ui) - endif() + set(frontend-tools_PLATFORM_SOURCES + ${frontend-tools_PLATFORM_SOURCES} + captions.cpp + captions-handler.cpp + captions-mssapi.cpp + captions-mssapi-stream.cpp) + set(frontend-tools_PLATFORM_HEADERS + captions.hpp + captions-handler.hpp + captions-mssapi.hpp + captions-mssapi-stream.hpp) + set(frontend-tools_PLATFORM_UI + forms/captions.ui) elseif(APPLE) set(frontend-tools_PLATFORM_SOURCES auto-scene-switcher-osx.mm) diff --git a/UI/frontend-plugins/frontend-tools/frontend-tools-config.h.in b/UI/frontend-plugins/frontend-tools/frontend-tools-config.h.in index 8bc3af969..c2e45d9f5 100644 --- a/UI/frontend-plugins/frontend-tools/frontend-tools-config.h.in +++ b/UI/frontend-plugins/frontend-tools/frontend-tools-config.h.in @@ -16,7 +16,6 @@ #define OFF 0 #endif -#define BUILD_CAPTIONS @BUILD_CAPTIONS@ #define ENABLE_SCRIPTING @SCRIPTING_ENABLED@ #define COMPILE_LUA @COMPILE_LUA@ #define COMPILE_PYTHON @COMPILE_PYTHON@ diff --git a/UI/frontend-plugins/frontend-tools/frontend-tools.c b/UI/frontend-plugins/frontend-tools/frontend-tools.c index 78e199d22..2b9cb812e 100644 --- a/UI/frontend-plugins/frontend-tools/frontend-tools.c +++ b/UI/frontend-plugins/frontend-tools/frontend-tools.c @@ -7,7 +7,7 @@ OBS_MODULE_USE_DEFAULT_LOCALE("frontend-tools", "en-US") void InitSceneSwitcher(); void FreeSceneSwitcher(); -#if defined(_WIN32) && BUILD_CAPTIONS +#if defined(_WIN32) void InitCaptions(); void FreeCaptions(); #endif @@ -22,7 +22,7 @@ void FreeScripts(); bool obs_module_load(void) { -#if defined(_WIN32) && BUILD_CAPTIONS +#if defined(_WIN32) InitCaptions(); #endif InitSceneSwitcher(); @@ -35,7 +35,7 @@ bool obs_module_load(void) void obs_module_unload(void) { -#if defined(_WIN32) && BUILD_CAPTIONS +#if defined(_WIN32) FreeCaptions(); #endif FreeSceneSwitcher(); diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 333dc6a3b..886241e31 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -19,9 +19,7 @@ if(WIN32) add_subdirectory(lzma) endif() -if(BUILD_CAPTIONS) - add_subdirectory(libcaption) -endif() +add_subdirectory(libcaption) find_package(Jansson 2.5 QUIET) diff --git a/deps/obs-scripting/CMakeLists.txt b/deps/obs-scripting/CMakeLists.txt index a9aaa34ea..42558be20 100644 --- a/deps/obs-scripting/CMakeLists.txt +++ b/deps/obs-scripting/CMakeLists.txt @@ -87,10 +87,6 @@ if(UI_ENABLED) include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/UI/obs-frontend-api") endif() -IF(BUILD_CAPTIONS) - string(TOUPPER "${BUILD_CAPTIONS}" BUILD_CAPTIONS) -endif() - configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/obs-scripting-config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/obs-scripting-config.h") diff --git a/deps/obs-scripting/obs-scripting-config.h.in b/deps/obs-scripting/obs-scripting-config.h.in index 6fab8d85b..420512637 100644 --- a/deps/obs-scripting/obs-scripting-config.h.in +++ b/deps/obs-scripting/obs-scripting-config.h.in @@ -21,4 +21,3 @@ #define COMPILE_LUA @LUAJIT_FOUND@ #define COMPILE_PYTHON @PYTHON_FOUND@ #define UI_ENABLED @UI_ENABLED@ -#define BUILD_CAPTIONS @BUILD_CAPTIONS@ diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt index afb625d63..2753f48dc 100644 --- a/libobs/CMakeLists.txt +++ b/libobs/CMakeLists.txt @@ -473,12 +473,10 @@ source_group("util\\Header Files" FILES ${libobs_util_HEADERS}) source_group("audio-monitoring\\Source Files" FILES ${libobs_audio_monitoring_SOURCES}) source_group("audio-monitoring\\Header Files" FILES ${libobs_audio_monitoring_HEADERS}) -if(BUILD_CAPTIONS) - include_directories(${CMAKE_SOURCE_DIR}/deps/libcaption) - set(libobs_PLATFORM_DEPS - ${libobs_PLATFORM_DEPS} - caption) -endif() +include_directories(${CMAKE_SOURCE_DIR}/deps/libcaption) +set(libobs_PLATFORM_DEPS + ${libobs_PLATFORM_DEPS} + caption) add_library(libobs SHARED ${libobs_SOURCES} ${libobs_HEADERS}) if(UNIX AND NOT APPLE) diff --git a/libobs/obs-output.c b/libobs/obs-output.c index 5383065cc..0001f332a 100644 --- a/libobs/obs-output.c +++ b/libobs/obs-output.c @@ -21,10 +21,8 @@ #include "obs.h" #include "obs-internal.h" -#if BUILD_CAPTIONS #include #include -#endif static inline bool active(const struct obs_output *output) { @@ -1206,7 +1204,6 @@ static inline bool has_higher_opposing_ts(struct obs_output *output, return output->highest_video_ts > packet->dts_usec; } -#if BUILD_CAPTIONS static const uint8_t nal_start[4] = {0, 0, 0, 1}; static bool add_caption(struct obs_output *output, struct encoder_packet *out) @@ -1302,7 +1299,6 @@ static bool add_caption(struct obs_output *output, struct encoder_packet *out) return true; } -#endif double last_caption_timestamp = 0; @@ -1321,7 +1317,6 @@ static inline void send_interleaved(struct obs_output *output) if (out.type == OBS_ENCODER_VIDEO) { output->total_frames++; -#if BUILD_CAPTIONS pthread_mutex_lock(&output->caption_mutex); double frame_timestamp = @@ -1349,7 +1344,6 @@ static inline void send_interleaved(struct obs_output *output) } pthread_mutex_unlock(&output->caption_mutex); -#endif } output->info.encoded_packet(output->context.data, &out); @@ -2545,7 +2539,6 @@ void obs_output_caption(obs_output_t *output, pthread_mutex_unlock(&output->caption_mutex); } -#if BUILD_CAPTIONS static struct caption_text *caption_text_new(const char *text, size_t bytes, struct caption_text *tail, struct caption_text **head, @@ -2592,7 +2585,6 @@ void obs_output_output_caption_text2(obs_output_t *output, const char *text, pthread_mutex_unlock(&output->caption_mutex); } -#endif float obs_output_get_congestion(obs_output_t *output) { diff --git a/libobs/obs.h b/libobs/obs.h index 738a09e55..6e3593059 100644 --- a/libobs/obs.h +++ b/libobs/obs.h @@ -1906,15 +1906,12 @@ EXPORT const char *obs_output_get_id(const obs_output_t *output); EXPORT void obs_output_caption(obs_output_t *output, const struct obs_source_cea_708 *captions); -#if BUILD_CAPTIONS EXPORT void obs_output_output_caption_text1(obs_output_t *output, const char *text); EXPORT void obs_output_output_caption_text2(obs_output_t *output, const char *text, double display_duration); -#endif - EXPORT float obs_output_get_congestion(obs_output_t *output); EXPORT int obs_output_get_connect_time_ms(obs_output_t *output); diff --git a/libobs/obsconfig.h.in b/libobs/obsconfig.h.in index 1a09ebea0..60dc6d0a4 100644 --- a/libobs/obsconfig.h.in +++ b/libobs/obsconfig.h.in @@ -15,7 +15,6 @@ #define OBS_PLUGIN_DESTINATION "@OBS_PLUGIN_DESTINATION@" #define OBS_RELATIVE_PREFIX "@OBS_RELATIVE_PREFIX@" #define OBS_UNIX_STRUCTURE @OBS_UNIX_STRUCTURE@ -#define BUILD_CAPTIONS @BUILD_CAPTIONS@ #define HAVE_DBUS @HAVE_DBUS@ #define HAVE_PULSEAUDIO @HAVE_PULSEAUDIO@ #define USE_XINPUT @USE_XINPUT@