Commit Graph

171 Commits (6b58614fc45d23e442c2c1f468dc51c239ce38b4)

Author SHA1 Message Date
Slávek Banko cc3cab06b7
Update TDEL10n module
+ Little modification in code formatting.
+ Added comment about editing the list inside foreach.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4eb308f914)
6 years ago
Slávek Banko 9cad1a7d43
Update TDEL10n module
+ Use file( READ ) during updating references for resources
  because file( STRINGS ) has problems with special characters.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0f348d894e)
6 years ago
Slávek Banko 5e93c9bb7c
Update TDEL10n module
+ Changed the concept of naming functions and macros.
+ Now all the functions and macros begin with "tde_l10n_".

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 990c0c1132)
6 years ago
Slávek Banko 828d242728
Update TDEL10n module
+ Added automatic handling of the "_translatorinfo" file.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 97ab4f494c)
6 years ago
Slávek Banko e5b09dcf46
Update TDEL10n module
+ Added the ability to process tips files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dcb28a87ae)
6 years ago
Slávek Banko 23d320a5d7
Update TDEL10n module
+ Input files with the extension ".tde_l10n" are considered
  as temporary modified source files.
+ Location information for such files in generated POT file
  will be modified to refer to the corresponding original
  files without the extension ".tde_l10n".
+ After the POT file is generated, these temporary modified
  source files will be automatically deleted.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1f90129fec)
6 years ago
Slávek Banko ef3050859d
Update TDEL10n module
+ Added option to exclude files from processing.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 13a14899d5)
6 years ago
Slávek Banko bb13efcd1a
Update TDEL10n module
+ Added the ability to extract strings using extractattr.
+ Added a description of using the tde_create_l10n_template macro.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 451ca41345)
6 years ago
Slávek Banko 5011a297f3
Fix small typing errors in the tde_create_translation macro.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 30ce93d11a)
6 years ago
Slávek Banko ed0d46cb47
Use POSITION_INDEPENDENT_CODE property for CMake >= 2.8.9.
This resolves bug 2985.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e5b3a250fc)
6 years ago
Slávek Banko 529bdf2f48
Add TDEL10n module
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f87cec4baa)
6 years ago
Slávek Banko 2e6daa80e2 Add support for libraries with release number in the name of the library
See https://www.gnu.org/software/libtool/manual/html_node/Release-numbers.html

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit edad8a20b9)
8 years ago
Slávek Banko f5ec55650b Fix '.la' file name for libraries with dot in name
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2f44704668)
8 years ago
Slávek Banko 7eed3aa726 Automatically run tests within check target
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6455cb89f3)
8 years ago
Alexander Golubev 0d13cc2b5a tde_add_check_executable: add TEST argument
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 9150bd170f)
8 years ago
Alexander Golubev 094407b3b9 add tde_add_check_executable macro
- also add EXCLUDE_FROM_ALL arg for tde_add_library

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6679a58c97)
8 years ago
Slávek Banko d4e69bf65f Fix FTBFS when tdelibs was built without tdelfeditor
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0e0f4e9be4)
9 years ago
Slávek Banko 3bb71d2ebd Find tdelfeditor executable on the system paths
instead of on the current installation path

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 416e4baaa9)
9 years ago
Slávek Banko 283bc113d9 Removed use of tdelfeditor on base 'so' file of versioned library
because this file is a symlink to versioned library

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8ce1dddbac)
9 years ago
Slávek Banko 0df82ab817 Move last command processing 'ui' file from TDEMacros to tde_uic
Used cmake method of processing output from the command

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d7904dbbf4)
9 years ago
Slávek Banko 04cc5a03d8 Fix CMP0054 warnings with CMake 3.1
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1d8a7873c0)
10 years ago
Slávek Banko e708fab736 Fix CMP0011 warning related to CMP0026
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1d1f9fc4fd)
10 years ago
Slávek Banko a4263ae0e1 Fix characters disallowed for target name in tde_create_translation
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit beb73fe239)
10 years ago
Timothy Pearson 1994b80881 Bring package_development, package_games, package_graphics, package_network, package_multimedia, package_wordprocessing, edu_science, package_utilities, input_devices_settings, kcmsystem, personal, and looknfeel icons into XDG compliance 11 years ago
Slávek Banko 47d775518c Fix FTBFS if PIE is not supported 11 years ago
Slávek Banko 08c6f54d6f Build setuid binaries with PIE flags 11 years ago
Slávek Banko 0d5ca8bebb Silence warnings on CMP0026 with CMake 3.x 11 years ago
Francois Andriot 38a8a335c3 Fix openbsd library naming convention
Fix setup architecture flags on openbsd
11 years ago
Timothy Pearson f405562992 Load metadata into versioned libraries 11 years ago
Timothy Pearson 5e4b437180 Fill in SCM metadata if present
Properly set library metadata
11 years ago
Timothy Pearson 836cbcaead Add metadata to shared libraries
Update metadata information
11 years ago
Slávek Banko d29f6d6b10 Rename kdewidgets => tdewidgets 11 years ago
Slávek Banko ce8049e3aa Fix build with cmake >= 2.8.12
This resolves Bug 1759
11 years ago
Alexander Golubev 541bb2f48a Fix FTBFS with clang 11 years ago
Alexander Golubev b51b691c8b Add support for all-in-one-dir structure in tde_create_translation 12 years ago
Timothy Pearson ba27b9f232 Rename makekdewidgets 12 years ago
Slávek Banko d53ac2db87 Add compiler flags according to build type 12 years ago
Francois Andriot b928573e55 Fix 'tde_create_handbook' macro if TDE_HTML_DIR is not set 12 years ago
Timothy Pearson 5438330f96 Rename additional header files to avoid conflicts with KDE4 12 years ago
Slávek Banko 274366fb8b Fix icon name parsing in tde_install_icons 12 years ago
Timothy Pearson 9a217903f9 Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
Slávek Banko 0953d90e24 Do not create symlink "common" in tde_createte_handbook with NOINDEX flag 12 years ago
Timothy Pearson 3e0a4c9f3b Install icons to places instead of filesystems 12 years ago
Timothy Pearson f1cea7f894 Install mng icons as well as png and svg icons 13 years ago
Timothy Pearson cd6c8614e9 Fix TDE version detection 13 years ago
Timothy Pearson 477d071b5d Second patch for covariant return type check
Thanks to 'Nix' for the patch!
13 years ago
Timothy Pearson 07921f23f8 Remove spurious tmoc check from tqtqui module 13 years ago
Timothy Pearson ce9e1ce429 Add FindTQtQUI 13 years ago
Darrell Anderson e47cc63e66 Update XDG information in support of bug report 892. 13 years ago
Darrell Anderson d2f658ca47 Update final HTML install path so all modules are consistent. 13 years ago
Timothy Pearson 6868254e6c Add support for tqt.pc 13 years ago
Timothy Pearson ea715e15ed Added CACHE option to tde_execute_process and clean up build output
This partially closes Bug 882
Thanks to Aleksey Midenkov for the patch!
13 years ago
Timothy Pearson 6b3a1fc54f Rename kde-config to tde-config 13 years ago
Timothy Pearson 975cc10f8b Fix vague build errors due to blind execution in CMake
This closes Bug 874
Thanks to Aleksey Midenkov for the patch!
13 years ago
Timothy Pearson 8e6f203f92 Add new tde_setup_architecture_flags macro 13 years ago
Serghei Amelian caedf8323c [TDEMacros.cmake] added tde_save_and_set() macro 13 years ago
Timothy Pearson 11b41ecbbc Update version checks 13 years ago
Timothy Pearson 4ea6710b85 Add qwizard to kwizard autoconversion from Autotools to CMake 13 years ago
Timothy Pearson e4bd3f0771 Clean up tdelfeditor warnings in CMake builds 13 years ago
Timothy Pearson 3b4610f57a Update tdelfeditor argument list 13 years ago
Timothy Pearson 6092ca3fd1 Automatically generate ELF metadata for each TDE executable
This is another first for a Linux desktop environment!
13 years ago
Timothy Pearson 42b03b0965 Additional renaming of kde to tde 13 years ago
Timothy Pearson cb635a74b7 Actually move the kde files that were renamed in the last commit 13 years ago
Timothy Pearson 7759772420 Additional kde to tde renaming 13 years ago
tpearson ae53051703 Enable owner write access on suid executables
This does not change the security of said executables, as the owner always has the ability to chmod +w and then edit the file


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1260904 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 6e930aafbc Fix FTBFS under CMake
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1248418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 45266df787 Convert remaining references to kde3 (e.g. in paths) to trinity
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1248408 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 17d03aa0d5 Revert prior commit as it caused other problems
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1245668 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson b8fce97c8a Fix FTBFS under Debian
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1245663 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 780c1ebc22 [kde-common/cmake] tde_uic.cmake: pass qtplugins argument to generator of header
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1232088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 2354904fd2 [kde-common/cmake] tde_uic: copy ui.h extension to binary dir
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1231438 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian b5c2dd898d [kde-common/cmake] fixed tde_moc() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1231316 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 192bc90396 [kde-common/cmake] added tde_file_to_cpp() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1229667 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 4da24f1aec [kde-common/cmake] added tde_create_translation() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1228679 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 6ef79f898a [kde-common/cmake] added NOINDEX directive to tde_create_handbook() macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1228472 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian e2c0c02da4 [cmake] rename TQt.pc to tqt.pc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226585 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 35b56aafcd [kde-common/cmake] tde_install_icons: properly clearing theme
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226579 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 9144f3a4b6 Enable Qt4 compilation again
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226574 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 33b492d849 [cmake] reworked tqtinterface build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 7cc3c63488 Add Qt autodetect option
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225945 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian acd7af9b20 [kde-common/cmake] enforce out-of-source mode
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian a763e012b0 [kde-common/cmake] FindQt.cmake: removed defaulting to qt3 QT_INCLUDE_DIRS/QT_INCLUDE_DIRS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 12653f606e [kde-common/cmake] TDEMacros.cmake: added tde_setup_install_path()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225817 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson f689d16002 Fix uic name under TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 187d94553a Added crude Qt3/Qt4 autodetect
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225450 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 8d2dffbc5f Add preliminary support for TQt for Qt4 to CMake
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225433 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 9a8f200e3d [kde-common/cmake] tde_create_handbook: added EXTRA directive; *.css files are detected automatically
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225140 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 68af5e4ed5 [kde-common/cmake] tde_create_handbook(): added SRCDIR directive
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224577 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 46f5e7dea8 Bring the HTML directory in line with the old Automake directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 3e1a04a699 [kde-common/cmake] tde_automoc: fixed variable colision
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224112 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 1ff73c1b47 [kde-common/cmake] tde_automoc: use absolute path to source header
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224110 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 679b5fa751 [kde-common/cmake] added META_INCLUDES directive
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224106 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian b337a1ca02 [kde-common/cmake] FindTDE.cmake: check for makekdewidgets
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1223984 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 2022a265ad [kde-common/cmake] TDEMacros.cmake: added tde_moc macro
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1216495 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 28ba65c6d2 [kde-common/cmake] tde_uic.cmake: copy .ui file locally and run tqt-replace before uic
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1215873 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian cdf8d5f5ff [kde-common/cmake] tde_add_library: do not add soversion for exported libraries without version
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1213591 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 62d21a9e38 [kde-common/cmake] FindQt.cmake: checking for patched Qt; added more flags to QT_DEFINITIONS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1213590 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 45bcef7b05 [kde-common/cmake] using our own export procedure, for more control
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1212363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 6b6377bc01 [kde-common/cmake] tde_add_library: processing .skel files when they aren't in current directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1207076 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
samelian 8f57627040 [kde-common/cmake] added FindTDE.cmake
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1205856 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago