diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-08 22:53:21 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-08 22:56:36 +0200 |
commit | b3a400f6db9a97b982915af2a9b4a3aacdf72c29 (patch) | |
tree | c0fb915d93e8fb836e4a9b76b59dcb02e5f596ec /tests | |
parent | 98ae0c7fa6fa8f66605e72310e85e43ae82a3024 (diff) | |
download | ayatana-indicator-display-b3a400f6db9a97b982915af2a9b4a3aacdf72c29.tar.gz ayatana-indicator-display-b3a400f6db9a97b982915af2a9b4a3aacdf72c29.tar.bz2 ayatana-indicator-display-b3a400f6db9a97b982915af2a9b4a3aacdf72c29.zip |
data/: Rename org.ayatana.display.gschema.xml.in to org.ayatana.indicator.display.gschema.xml. Fix and simplify translations of .gschema.xml strings with it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 7d42693..930eb70 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -12,7 +12,7 @@ set_source_files_properties (gschemas.compiled GENERATED) # and help the tests to find that file by setting -DSCHEMA_DIR set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas") set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas") -set (DISPLAY_SCHEMA ${CMAKE_BINARY_DIR}/data/org.ayatana.display.gschema.xml) +set (DISPLAY_SCHEMA ${CMAKE_BINARY_DIR}/data/org.ayatana.indicator.display.gschema.xml) add_definitions(-DSCHEMA_DIR="${SCHEMA_DIR}") execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE COMPILE_SCHEMA_EXECUTABLE @@ -23,7 +23,7 @@ execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compil # https://discourse.cmake.org/t/race-condition-when-multi-add-custom-target-deps-on-same-file-generated-by-add-custom-command/2358 # https://bugs.debian.org/892091 (bug for ayatana-indicators-power, but applies here as well) add_custom_command (OUTPUT gschemas.compiled - DEPENDS ${CMAKE_BINARY_DIR}/data/org.ayatana.display.gschema.xml + DEPENDS ${CMAKE_BINARY_DIR}/data/org.ayatana.indicator.display.gschema.xml COMMAND mkdir -p ${SCHEMA_DIR} COMMAND cp -f ${DISPLAY_SCHEMA} ${SCHEMA_DIR} COMMAND ${COMPILE_SCHEMA_EXECUTABLE} ${SCHEMA_DIR}) |