mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-05 15:59:59 +01:00
The Kdenlive layouts are currently stored in a config file (`kdenlive-kddlayoutsrc` in ~/.config).
This is rather ugly as it means we have full layout data in the form of:
`kdenlive_editing={"allDockWidgets": [{"lastCloseReason": 0.. }`
With lines having more than 15'000 characters length.
This MR changes this to have each layout stored in its own json file in `~/.local/share/kdenlive/layouts`.
The code change is rather long and maybe not perfect, but I think it would be great to make the switch now as we are introducing a new layout format with KDDockWidgets.
24 lines
852 B
CMake
24 lines
852 B
CMake
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# SPDX-FileCopyrightText: 2023 Gabriel Barrantes <gabriel.barrantes.dev@outlook.com>
|
|
|
|
if(NOT BUILD_TESTING OR NOT CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
return()
|
|
endif()
|
|
|
|
find_package(SeleniumWebDriverATSPI)
|
|
set_package_properties(SeleniumWebDriverATSPI PROPERTIES
|
|
DESCRIPTION "Server component for selenium tests using Linux accessibility infrastructure"
|
|
PURPOSE "Needed for GUI tests"
|
|
URL "https://invent.kde.org/sdk/selenium-webdriver-at-spi"
|
|
TYPE OPTIONAL
|
|
)
|
|
if(NOT SeleniumWebDriverATSPI_FOUND) # AND NOT DEFINED ENV{KDECI_BUILD})
|
|
return()
|
|
endif()
|
|
|
|
add_test(
|
|
NAME appiumtests
|
|
COMMAND selenium-webdriver-at-spi-run ${CMAKE_CURRENT_SOURCE_DIR}/insertclip.py
|
|
)
|
|
set_tests_properties(appiumtests PROPERTIES TIMEOUT 300 ENVIRONMENT "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}/bin")
|