From 867e7a50e6396338ab4fe9aa22ad141e4cd344d2 Mon Sep 17 00:00:00 2001 From: Jenkins CI Date: Wed, 18 Dec 2013 00:45:18 +0000 Subject: Move kconfig code to the root directory. --- tier1/kconfig/src/kconf_update/CMakeLists.txt | 17 - tier1/kconfig/src/kconf_update/Mainpage.dox | 31 - tier1/kconfig/src/kconf_update/README.kconf_update | 248 ------ .../kconfig/src/kconf_update/config-kconf.h.cmake | 4 - tier1/kconfig/src/kconf_update/kconf_update.cpp | 967 --------------------- tier1/kconfig/src/kconf_update/kconfigutils.cpp | 127 --- tier1/kconfig/src/kconf_update/kconfigutils.h | 43 - 7 files changed, 1437 deletions(-) delete mode 100644 tier1/kconfig/src/kconf_update/CMakeLists.txt delete mode 100644 tier1/kconfig/src/kconf_update/Mainpage.dox delete mode 100644 tier1/kconfig/src/kconf_update/README.kconf_update delete mode 100644 tier1/kconfig/src/kconf_update/config-kconf.h.cmake delete mode 100644 tier1/kconfig/src/kconf_update/kconf_update.cpp delete mode 100644 tier1/kconfig/src/kconf_update/kconfigutils.cpp delete mode 100644 tier1/kconfig/src/kconf_update/kconfigutils.h (limited to 'tier1/kconfig/src/kconf_update') diff --git a/tier1/kconfig/src/kconf_update/CMakeLists.txt b/tier1/kconfig/src/kconf_update/CMakeLists.txt deleted file mode 100644 index e4e37ba9..00000000 --- a/tier1/kconfig/src/kconf_update/CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -find_package(Qt5Core 5.2.0 REQUIRED NO_MODULE) - -remove_definitions(-DQT_NO_CAST_FROM_ASCII) - -configure_file(config-kconf.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kconf.h ) - -########### next target ############### - -set(kconf_update_SRCS - kconf_update.cpp - kconfigutils.cpp - ) - -add_executable(kconf_update ${kconf_update_SRCS}) -target_link_libraries(kconf_update Qt5::Core KF5::ConfigCore) - -install(TARGETS kconf_update DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/tier1/kconfig/src/kconf_update/Mainpage.dox b/tier1/kconfig/src/kconf_update/Mainpage.dox deleted file mode 100644 index 77d486ce..00000000 --- a/tier1/kconfig/src/kconf_update/Mainpage.dox +++ /dev/null @@ -1,31 +0,0 @@ -/** @mainpage ./kconf_update - -kconf_update is a tool designed to update config files. Over time applications -sometimes need to rearrange the way configuration options are stored. Since -such an update shouldn't influence the configuration options that the user -has selected, the application must take care that the options stored in the -old way will still be honored. - -What used to happen is that the application looks up both the old and the -new configuration option and then decides which one to use. This method has -several drawbacks: -- The application may need to read more configuration files than strictly - needed, resulting in a slower startup. -- The application becomes bigger with code that will only be used once. - -kconf_update addresses these problems by offering a framework to update -configuration files without adding code to the application itself. - -See the README file for more information. - -@authors -Waldo Bastian \ - -@maintainers -[Unknown/None] - -@licenses -@lgpl - -*/ -// vim:ts=4:sw=4:expandtab:filetype=doxygen diff --git a/tier1/kconfig/src/kconf_update/README.kconf_update b/tier1/kconfig/src/kconf_update/README.kconf_update deleted file mode 100644 index 281fb9e5..00000000 --- a/tier1/kconfig/src/kconf_update/README.kconf_update +++ /dev/null @@ -1,248 +0,0 @@ -README kconf_update - -Version: 1.1 -Author: Waldo Bastian , - -What it does -============ - -kconf_update is a tool designed to update config files. Over time applications -sometimes need to rearrange the way configuration options are stored. Since -such an update shouldn't influence the configuration options that the user -has selected, the application must take care that the options stored in the -old way will still be honored. - -What used to happen is that the application looks up both the old and the -new configuration option and then decides which one to use. This method has -several drawbacks: -* The application may need to read more configuration files than strictly -needed, resulting in a slower startup. -* The application becomes bigger with code that will only be used once. - -kconf_update addresses these problems by offering a framework to update -configuration files without adding code to the application itself. - - -How it works -============ - -Applications can install so called "update files" under -$KDEDIR/share/apps/kconf_update. An update file has ".upd" as extension and -contains instructions for transferring/converting configuration information -from one place to another. - -Updating the configuration happens automatically, either when KDE gets started -or when kded detects a new update file in the above mentioned location. - -Update files are separated into sections. Each section has an Id. When a -section describing a configuration change has been applied, the Id will be -stored in the file "kconf_updaterc". This information is used to make sure -that a configuration update is only performed once. - -If you overwrite an existing update file with a new version that contains a -new section, only the update instructions from this extra section will be -performed. - -File format of the update file -============================== - -Empty lines or lines that start with '#' are considered comments. -Commas (,) are used to seperate fields and may not occur as part -of any field and all of the keywords are case-sensitive, i.e. you -cannot say "key" instead of "Key" for example. - -For the rest the file is parsed and executed sequentially from top to bottom. -Each line can contain one entry. The following entries are recognized: - - -Id= - -With identifying the group of update entries that follows. Once a group -of entries have been applied, their is stored and this group of entries -will not be applied again. - - -File=, -File= - -Specifies that configuration information is read from and written -to . If you only specify , the information is read from -as well as written to . Note that if the file does not exist -at the time kconf_update first checks, no related update will be performed -(script won't be run at all, etc.). - - -Script=