summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-12 11:30:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-12 11:36:24 +0200
commita5e262a67d56ccb85f8df78d3d1b1b27e889d790 (patch)
treec19ac3b951f67cb2fb051943204c39e8d40b9195
parent121339c53bda69fd0551540699d28fb5a9df8790 (diff)
downloadtde-style-baghira-a5e262a6.tar.gz
tde-style-baghira-a5e262a6.zip
Use common rules for build and install documentation and translations.HEADmaster
Remove old twin_baghira_config template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt8
-rw-r--r--doc/CMakeLists.txt14
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--translations/CMakeLists.txt1
-rw-r--r--translations/messages/CMakeLists.txt14
-rw-r--r--translations/messages/twin_baghira_config/twin_baghira_config.pot322
6 files changed, 6 insertions, 358 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2516c0d..664d2ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,8 +77,12 @@ add_subdirectory( starter )
add_subdirectory( kickermenu )
add_subdirectory( colorscheme )
add_subdirectory( sessionapplet )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
deleted file mode 100644
index 70d6348..0000000
--- a/doc/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
-string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
-
-foreach( _dir ${_dirs} )
- if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
- EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
- if( "${_dir}" STREQUAL "en" OR
- "${_dir}" STREQUAL "man" OR
- "${_linguas}" MATCHES "^;*$" OR
- ";${_linguas};" MATCHES ";${_dir};" )
- add_subdirectory( ${_dir} )
- endif( )
- endif()
-endforeach()
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
deleted file mode 100644
index 50bbc0e..0000000
--- a/doc/man/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-INSTALL(
- FILES bab.1
- DESTINATION ${MAN_INSTALL_DIR}/man1
- COMPONENT doc
-)
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
deleted file mode 100644
index 42b186a..0000000
--- a/translations/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_auto_add_subdirectories()
diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt
deleted file mode 100644
index 75c89f8..0000000
--- a/translations/messages/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
-string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
-
-foreach( _po ${po_files} )
- get_filename_component( _lang ${_po} NAME_WE )
- if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
- if( "${_po}" MATCHES "^([^/]*)/.*" )
- string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" )
- else( )
- set( _component "${PROJECT_NAME}" )
- endif( )
- tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} )
- endif( )
-endforeach( )
diff --git a/translations/messages/twin_baghira_config/twin_baghira_config.pot b/translations/messages/twin_baghira_config/twin_baghira_config.pot
deleted file mode 100644
index 5c6c4dd..0000000
--- a/translations/messages/twin_baghira_config/twin_baghira_config.pot
+++ /dev/null
@@ -1,322 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2021-07-07 18:33+0000\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
-#, ignore-inconsistent
-msgid ""
-"_: NAME OF TRANSLATORS\n"
-"Your names"
-msgstr ""
-
-#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
-#, ignore-inconsistent
-msgid ""
-"_: EMAIL OF TRANSLATORS\n"
-"Your emails"
-msgstr ""
-
-#: configdialog.ui:16
-#, no-c-format
-msgid "Configure Baghira Window Decoration"
-msgstr ""
-
-#: configdialog.ui:33
-#, no-c-format
-msgid "Common Settings"
-msgstr ""
-
-#: configdialog.ui:52
-#, no-c-format
-msgid "Minimum Title Height"
-msgstr ""
-
-#: configdialog.ui:83
-#, no-c-format
-msgid ""
-"The Titlebar height will follow your font setting.<br>However, you can set a "
-"minmum value to extend the Titlebar if you prefer small fonts.<br>18 is the "
-"minimum due to the Buttons :)"
-msgstr ""
-
-#: configdialog.ui:93
-#, no-c-format
-msgid "Show resize grip"
-msgstr ""
-
-#: configdialog.ui:96
-#, no-c-format
-msgid ""
-"Starts in Brushed Metal mode instead of default, if the Style is set to "
-"Brushed Metal"
-msgstr ""
-
-#: configdialog.ui:104
-#, no-c-format
-msgid "Add auto spacing"
-msgstr ""
-
-#: configdialog.ui:112
-#, no-c-format
-msgid "Fullscreen maximized"
-msgstr ""
-
-#: configdialog.ui:115
-#, no-c-format
-msgid ""
-"Check this to have any window in fullscreen Mode - demaximize the window by "
-"clicking into the top right corner of your screen"
-msgstr ""
-
-#: configdialog.ui:123
-#, no-c-format
-msgid "Draw Comic Frame"
-msgstr ""
-
-#: configdialog.ui:126
-#, no-c-format
-msgid ""
-"Draws a black frame around the window (not the Titlebar).<br>Anyway i "
-"suggest to get the twin dropshadow patch."
-msgstr ""
-
-#: configdialog.ui:134
-#, no-c-format
-msgid "Hide deco for fixed size modal windows"
-msgstr ""
-
-#: configdialog.ui:142
-#, no-c-format
-msgid "Keep maximized resizable"
-msgstr ""
-
-#: configdialog.ui:150
-#, no-c-format
-msgid "Allow Easy Closing"
-msgstr ""
-
-#: configdialog.ui:153
-#, no-c-format
-msgid ""
-"Allows Closing by clicking into the top left or right corner <br> Close "
-"Button must be most left or right element (also no spacers) <br> Closes on "
-"Mouse Button release (so you have the chance to move the mouse away and keep "
-"the Window) <br> The Window must be active and maximized <br> Unfortunately "
-"you will not be able tho resize the Window from that corner"
-msgstr ""
-
-#: configdialog.ui:159 configdialog.ui:384 configdialog.ui:566
-#: configdialog.ui:1311 configdialog.ui:1690 configdialog.ui:2392
-#: configdialog.ui:2643 customdecosettings.ui:429
-#, no-c-format
-msgid "Jaguar"
-msgstr ""
-
-#: configdialog.ui:164 configdialog.ui:561 configdialog.ui:946
-#: configdialog.ui:1306 configdialog.ui:1685 configdialog.ui:2387
-#: configdialog.ui:2638 customdecosettings.ui:424
-#, no-c-format
-msgid "Panther"
-msgstr ""
-
-#: configdialog.ui:169
-#, no-c-format
-msgid "Brushed Metal"
-msgstr ""
-
-#: configdialog.ui:174 configdialog.ui:2073
-#, no-c-format
-msgid "Tiger"
-msgstr ""
-
-#: configdialog.ui:179 configdialog.ui:571 configdialog.ui:1316
-#: configdialog.ui:1695 configdialog.ui:2397 configdialog.ui:2648
-#: customdecosettings.ui:434
-#, no-c-format
-msgid "Milk"
-msgstr ""
-
-#: configdialog.ui:191
-#, no-c-format
-msgid "Default Mode is"
-msgstr ""
-
-#: configdialog.ui:213
-#, no-c-format
-msgid ""
-"Try to remove application name\n"
-"from multipart titles"
-msgstr ""
-
-#: configdialog.ui:224
-#, no-c-format
-msgid "Title &Alignment"
-msgstr ""
-
-#: configdialog.ui:230
-#, no-c-format
-msgid "Use these buttons to set the alignment of the window title"
-msgstr ""
-
-#: configdialog.ui:311
-#, no-c-format
-msgid "None"
-msgstr ""
-
-#: configdialog.ui:355
-#, no-c-format
-msgid "Configure Button Colors"
-msgstr ""
-
-#: configdialog.ui:403 configdialog.ui:1197 configdialog.ui:1576
-#: configdialog.ui:2092 configdialog.ui:2529 customdecosettings.ui:267
-#, no-c-format
-msgid "3D Intensity"
-msgstr ""
-
-#: configdialog.ui:449 configdialog.ui:965 configdialog.ui:1527
-#: configdialog.ui:3024 customdecosettings.ui:218
-#, no-c-format
-msgid "Titleshadow Intensity"
-msgstr ""
-
-#: configdialog.ui:506 configdialog.ui:1251 configdialog.ui:1630
-#: configdialog.ui:2332 configdialog.ui:2583 customdecosettings.ui:313
-#, no-c-format
-msgid "ButtonStyle"
-msgstr ""
-
-#: configdialog.ui:514 configdialog.ui:1259 configdialog.ui:1638
-#: configdialog.ui:2340 configdialog.ui:2591 customdecosettings.ui:321
-#, no-c-format
-msgid "Active Titlebar Effect"
-msgstr ""
-
-#: configdialog.ui:525 configdialog.ui:1270 configdialog.ui:1649
-#: configdialog.ui:2351 configdialog.ui:2602 customdecosettings.ui:332
-#, no-c-format
-msgid "Inactive Titlebar Effect"
-msgstr ""
-
-#: configdialog.ui:576 configdialog.ui:596 configdialog.ui:640
-#: configdialog.ui:1321 configdialog.ui:1341 configdialog.ui:1385
-#: configdialog.ui:1700 configdialog.ui:1720 configdialog.ui:1764
-#: configdialog.ui:2402 configdialog.ui:2653 configdialog.ui:2673
-#: configdialog.ui:2717 customdecosettings.ui:439 customdecosettings.ui:459
-#: customdecosettings.ui:503
-#, no-c-format
-msgid "Nostalgia"
-msgstr ""
-
-#: configdialog.ui:586 configdialog.ui:630 configdialog.ui:1331
-#: configdialog.ui:1375 configdialog.ui:1710 configdialog.ui:1754
-#: configdialog.ui:2663 configdialog.ui:2707 customdecosettings.ui:449
-#: customdecosettings.ui:493
-#, no-c-format
-msgid "Gradient"
-msgstr ""
-
-#: configdialog.ui:591 configdialog.ui:635 configdialog.ui:1336
-#: configdialog.ui:1380 configdialog.ui:1715 configdialog.ui:1759
-#: configdialog.ui:2668 configdialog.ui:2712 customdecosettings.ui:454
-#: customdecosettings.ui:498
-#, no-c-format
-msgid "Stippled"
-msgstr ""
-
-#: configdialog.ui:601 configdialog.ui:645 configdialog.ui:1346
-#: configdialog.ui:1390 configdialog.ui:1725 configdialog.ui:1769
-#: configdialog.ui:2678 configdialog.ui:2722 customdecosettings.ui:464
-#: customdecosettings.ui:508
-#, no-c-format
-msgid "Glossy"
-msgstr ""
-
-#: configdialog.ui:606 configdialog.ui:650 configdialog.ui:1351
-#: configdialog.ui:1395 configdialog.ui:1508 configdialog.ui:1730
-#: configdialog.ui:1774 configdialog.ui:2683 configdialog.ui:2727
-#: customdecosettings.ui:469 customdecosettings.ui:513
-#, no-c-format
-msgid "Brushed"
-msgstr ""
-
-#: configdialog.ui:611 configdialog.ui:655 configdialog.ui:1356
-#: configdialog.ui:1400 configdialog.ui:1735 configdialog.ui:1779
-#: configdialog.ui:2688 configdialog.ui:2732 customdecosettings.ui:474
-#: customdecosettings.ui:518
-#, no-c-format
-msgid "Scanlines"
-msgstr ""
-
-#: configdialog.ui:624 configdialog.ui:668 configdialog.ui:1369
-#: configdialog.ui:1413 configdialog.ui:1748 configdialog.ui:1792
-#: configdialog.ui:2701 configdialog.ui:2745 customdecosettings.ui:487
-#: customdecosettings.ui:531
-#, no-c-format
-msgid "Select an effect for the titlebar to change its appearance"
-msgstr ""
-
-#: configdialog.ui:686 configdialog.ui:1431 configdialog.ui:1810
-#: configdialog.ui:2440 configdialog.ui:2763 customdecosettings.ui:353
-#, no-c-format
-msgid "Colors"
-msgstr ""
-
-#: configdialog.ui:753 configdialog.ui:1006 configdialog.ui:1877
-#: configdialog.ui:2130 configdialog.ui:2830 customdecosettings.ui:27
-#, no-c-format
-msgid "Round Corners"
-msgstr ""
-
-#: configdialog.ui:875 configdialog.ui:1145 configdialog.ui:1991
-#: configdialog.ui:2244 configdialog.ui:2944 customdecosettings.ui:149
-#, no-c-format
-msgid "Border Size"
-msgstr ""
-
-#: configdialog.ui:936 configdialog.ui:1498 configdialog.ui:2063
-#: configdialog.ui:2492 configdialog.ui:2513 customdecosettings.ui:558
-#, no-c-format
-msgid "Draw Icon"
-msgstr ""
-
-#: configdialog.ui:2414
-#, no-c-format
-msgid "(Gradient)"
-msgstr ""
-
-#: configdialog.ui:2422
-#, no-c-format
-msgid "(Scanlines)"
-msgstr ""
-
-#: configdialog.ui:2477
-#, no-c-format
-msgid "(Background)"
-msgstr ""
-
-#: configdialog.ui:2502
-#, no-c-format
-msgid "Special"
-msgstr ""
-
-#: customdecosettings.ui:16
-#, no-c-format
-msgid "CustomDecoSettings"
-msgstr ""
-
-#: customdecosettings.ui:572
-#, no-c-format
-msgid "Name"
-msgstr ""