From 50aaa955da4947e8e8daafdbeae5c9380cd3fbab Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 7 Jul 2025 17:41:11 +0200 Subject: [PATCH] New upstream version 2.9.582 --- CMakeLists.txt | 10 ++++++---- src/version.h | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a41b39..8f5453b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,10 +53,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL Linux) LIST(APPEND QtComponents DBus) LIST(APPEND QtLibraries Qt6::DBus) - - list(APPEND VymSources src/dbus/adaptormodel.cpp src/dbus/adaptorvym.cpp) - include_directories(${CMAKE_SOURCE_DIR}/src/dbus ${CMAKE_SOURCE_DIR}/src) - ADD_COMPILE_DEFINITIONS(VYM_DBUS) endif() endif() @@ -107,6 +103,12 @@ if(WIN32) ADD_COMPILE_DEFINITIONS(_USE_MATH_DEFINES) endif() +# Add DBUS interfaces to sources, if DBUS is available on platform +if(DBus1_FOUND) + list(APPEND VymSources src/dbus/adaptormodel.cpp src/dbus/adaptorvym.cpp) + include_directories(${CMAKE_SOURCE_DIR}/src/dbus ${CMAKE_SOURCE_DIR}/src) + ADD_COMPILE_DEFINITIONS(VYM_DBUS) +endif() # Translations (release) diff --git a/src/version.h b/src/version.h index a75e733..828ea49 100644 --- a/src/version.h +++ b/src/version.h @@ -1,8 +1,8 @@ #ifndef VERSION_H #define VERSION_H -#define __VYM_VERSION "2.9.581" -#define __VYM_BUILD_DATE "2025-07-04" +#define __VYM_VERSION "2.9.582" +#define __VYM_BUILD_DATE "2025-07-07" #define __VYM_NAME "VYMng" // FIXME "next generation" in in window title #define __VYM_HOME "http://www.insilmaril.de/vym" -- 2.47.3