From b02fdb4d705016a6c8e83f9d492b8df7c531b805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 13 Dec 2022 00:23:00 +0100 Subject: Conversion to CMake build system. Remove the generated files from the source tree. Copy translations to a new directory layout. Added translation of .desktop files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- doc/man/CMakeLists.txt | 42 +++++++++++++++++++ doc/man/Makefile.am | 1 + doc/man/de/Makefile.am | 3 ++ doc/man/de/bibletime.1 | 109 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/man/en/Makefile.am | 3 ++ doc/man/en/bibletime.1 | 109 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 267 insertions(+) create mode 100644 doc/man/CMakeLists.txt create mode 100644 doc/man/Makefile.am create mode 100644 doc/man/de/Makefile.am create mode 100644 doc/man/de/bibletime.1 create mode 100644 doc/man/en/Makefile.am create mode 100644 doc/man/en/bibletime.1 (limited to 'doc/man') diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt new file mode 100644 index 0000000..60c7e44 --- /dev/null +++ b/doc/man/CMakeLists.txt @@ -0,0 +1,42 @@ + +file( GLOB_RECURSE _man_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) +unset( _dirs ) +foreach( _man_file IN LISTS _man_files ) + get_filename_component( _dir ${_man_file} PATH ) + list( APPEND _dirs ${_dir} ) +endforeach() +if( _dirs ) + list( SORT _dirs ) + list( REMOVE_DUPLICATES _dirs ) +endif() + +string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" ) + +foreach( _dir IN LISTS _dirs ) + string( REGEX REPLACE "/.*" "" _lang ${_dir} ) + if( ${_lang} STREQUAL "en" OR + "${_linguas}" MATCHES "^;*$" OR + ";${_linguas};" MATCHES ";${_lang};" ) + + file( GLOB_RECURSE _man_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${_lang}/* ) + foreach( _man_file IN LISTS _man_files ) + if( ${_man_file} MATCHES "\\.[0-9]$" ) + string( REGEX REPLACE ".*\\.([0-9])$" "\\1" _man_section "${_man_file}" ) + list( APPEND _man_files_${_man_section} "${_man_file}" ) + list( APPEND _man_sections "${_man_section}" ) + endif() + endforeach() + if( ${_lang} STREQUAL "en" ) + set( _lang_dir "" ) + else() + set( _lang_dir "/${_lang}" ) + endif() + foreach( _man_section IN LISTS _man_sections ) + INSTALL( + FILES ${_man_files_${_man_section}} + DESTINATION ${MAN_INSTALL_DIR}${_lang_dir}/man${_man_section} + COMPONENT doc + ) + endforeach() + endif() +endforeach() diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am new file mode 100644 index 0000000..54cb7de --- /dev/null +++ b/doc/man/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = $(AUTODIRS) diff --git a/doc/man/de/Makefile.am b/doc/man/de/Makefile.am new file mode 100644 index 0000000..d92dbf4 --- /dev/null +++ b/doc/man/de/Makefile.am @@ -0,0 +1,3 @@ +tmpdir = $(mandir)/de/man1 +tmp_DATA= bibletime.1 +EXTRA_DIST=$(tmp_DATA) diff --git a/doc/man/de/bibletime.1 b/doc/man/de/bibletime.1 new file mode 100644 index 0000000..a7b223a --- /dev/null +++ b/doc/man/de/bibletime.1 @@ -0,0 +1,109 @@ +.TH "BibleTime" "1" "17. Juli 2004" "BibleTime 1.4.1" "TDE Application" +.SH "NAME" +bibletime \- Software für das Bibelstudium für TDE +.SH "ÜBERSICHT" +.B bibletime +[ +\fIQt\-Optionen\fR +] +[ +\fITDE\-Optionen\fR +] +[ +\fIOptionen\fR +] +.SH "BESCHREIBUNG" +Diese Manpage beschreibt die +TDE\-Applikation +.B bibletime +und wurde für Debian GNU/Linux geschrieben, weil +das Programm selbst keine Manpage mitbrachte. +.P +.B BibleTime +ist ein freies und einfach zu bedienendes Hilfsmittel zum Bibelstudium +für UNIX\-Systeme. +Es erfordert eine laufende TDE\-Umgebung und die Bibliothek SWORD. +BibleTime ermöglicht den einfachen Umgang mit digitalen Texten (Bibeln, +Kommentare und Lexikas) und bietet leistungsfähige Funktionen, um mit diesen +Texten zu arbeiten (suchen in Texten, eigene Notizen schreiben, speichern, +drucken usw.). +.SS "Einfache Optionen:" +.TP +\fB\-\-help\fR +Optionen von "Hilfe zu" anzeigen +.TP +\fB\-\-help\-qt\fR +Spezielle Optionen zu Qt anzeigen +.TP +\fB\-\-help\-tde\fR +Spezielle Optionen zu TDE anzeigen +.TP +\fB\-\-help\-all\fR +Alle Optionen anzeigen +.TP +\fB\-\-author\fR +Autoren\-Information anzeigen +.TP +\fB\-v\fR, \fB\-\-version\fR +Versionsinformation anzeigen +.TP +\fB\-\-license\fR +Lizenz\-Info anzeigen +.TP +\fB\-\-\fR +Ende der Optionen +.SH "OPTIONEN" +.TP +\fB\-\-debug\fR +Fehlermeldungen aktivieren +.TP +\fB\-\-ignore\-session\fR +Die Startsitzung ignorieren, die beim letzten Beenden von BibleTime +gespeichert wurde. +.TP +\fB\-\-open\-default\-bible\fR \fIkey\fR +Die Standardbibel an der angegebenen Stelle \fIkey\fR öffnen. +Verwenden Sie \fIrandom\fR, um eine zufällige Stelle aufzuschlagen. +.SH "SIEHE AUCH" +Die vollständige Dokumentation für +.B bibletime +und das +.B Bibelstudium +werden als DocBook\-Handbuch bereitgestellt. Wenn das Progamm +.B khelpcenter +richtig eingerichtet ist, sollte das Kommando +.IP +.B khelpcenter help:/bibletime +.PP +das komplette Handbuch zugänglich machen. +.SH "FEHLER" +Bitte melden Sie Fehler an +.br +http://bugs.trinitydesktop.org oder info@bibletime.info , +.br +nicht direkt an die Autoren. +.br +.SH "AUTOREN" +BibleTime wurde geschrieben von: +.br +.nh +Joachim Ansorg +.br +Martin Gruner +.br +Nikolay Igotti +.br +Gary Sims +.br +Timothy R. Butler +.br +James Ots +.br +Fred Saalbach +.hy +.P +Diese Manpage wurde erstellt von +.nh +Erik Schanze +.hy +für Debian GNU/Linux (kann aber auch von anderen genutzt werden). diff --git a/doc/man/en/Makefile.am b/doc/man/en/Makefile.am new file mode 100644 index 0000000..631181c --- /dev/null +++ b/doc/man/en/Makefile.am @@ -0,0 +1,3 @@ +tmpdir = $(mandir)/man1 +tmp_DATA= bibletime.1 +EXTRA_DIST=$(tmp_DATA) diff --git a/doc/man/en/bibletime.1 b/doc/man/en/bibletime.1 new file mode 100644 index 0000000..46332c7 --- /dev/null +++ b/doc/man/en/bibletime.1 @@ -0,0 +1,109 @@ +.TH "BibleTime" "1" "July 17, 2004" "BibleTime 1.4.1" "TDE Application" +.SH "NAME" +bibletime \- Bible study tool for TDE +.SH "SYNOPSIS" +.B bibletime +[ +\fIQt\-options\fR +] +[ +\fITDE\-options\fR +] +[ +\fIoptions\fR +] +.SH "DESCRIPTION" +This manual page documents briefly the +.B bibletime +TDE Application. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.P +.B BibleTime +is a free and easy to use bible study tool for UNIX systems. +It requires a working TDE environment and the SWORD library. +BibleTime provides easy handling of digitized texts (Bibles, commentaries +and lexicons) and powerful features to work with these texts (search in +texts, write own notes, save, print etc.). +.SS "Generic options:" +.TP +\fB\-\-help\fR +Show help about options +.TP +\fB\-\-help\-qt\fR +Show Qt specific options +.TP +\fB\-\-help\-tde\fR +Show TDE specific options +.TP +\fB\-\-help\-all\fR +Show all options +.TP +\fB\-\-author\fR +Show author information +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information +.TP +\fB\-\-license\fR +Show license information +.TP +\fB\-\-\fR +End of options. +.SH "OPTIONS" +.TP +\fB\-\-debug\fR +Enable debug messages. +.TP +\fB\-\-ignore\-session\fR +Ignore the startup session that was saved when BibleTime was closed +the last time. +.TP +\fB\-\-open\-default\-bible\fR \fIkey\fR +Open the default bible with the given \fIkey\fR. +Use +.I random +to open at a random position. +.SH "SEE ALSO" +The full documentations for +.B bibletime +and +.B bible study +are maintained as docbook manuals. If the +.B khelpcenter +program is properly installed at your site, the command +.IP +.B khelpcenter help:/bibletime +.PP +should give you access to the complete manual. +.SH "BUGS" +Please use +.br +http://bugs.trinitydesktop.org or info@bibletime.info +.br +to report bugs, do not mail the authors directly. +.br +.SH "AUTHOR" +BibleTime was written by +.br +.nh +Joachim Ansorg +.br +Martin Gruner +.br +Nikolay Igotti +.br +Gary Sims +.br +Timothy R. Butler +.br +James Ots +.br +Fred Saalbach +.hy +.P +This manual page was prepared by +.nh +Erik Schanze +.hy +for the Debian GNU/Linux system (but may be used by others). -- cgit v1.2.1