From 1caaab1122801cbcdfc827b800e9a1f5f84fb58e Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 01 2020 10:11:54 +0000 Subject: Apply patch 0001-Add-a-manual.patch patch_name: 0001-Add-a-manual.patch present_in_specfile: true --- diff --git a/Makefile.am b/Makefile.am index 14b59ba..52dd726 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = src po help +SUBDIRS = man src po help NULL = diff --git a/configure.ac b/configure.ac index c5f40c0..0002885 100644 --- a/configure.ac +++ b/configure.ac @@ -192,6 +192,14 @@ if test -z "$DESKTOP_FILE_VALIDATE"; then fi fi +AC_ARG_VAR([XSLTPROC],[the xsltproc programme]) +if test -z "$XSLTPROC"; then + AC_PATH_PROG([XSLTPROC],[xsltproc],[]) + if test -z "$XSLTPROC"; then + AC_MSG_ERROR([xsltproc not found]) + fi +fi + # *************************** # GNOME Shell search provider # *************************** @@ -327,6 +335,7 @@ AC_DEFINE_UNQUOTED([GDK_VERSION_MAX_ALLOWED],[G_ENCODE_VERSION($(echo $GTK_MAX_A AC_CONFIG_FILES([ Makefile org.gnome.Terminal.desktop.in +man/Makefile src/Makefile src/terminal-version.h help/Makefile diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..ecce224 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,18 @@ +XSLTPROC_FLAGS = \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 + +.xml.1: + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +man_MANS = \ + gnome-terminal.1 + +xml_files = $(man_MANS:.1=.xml) + +EXTRA_DIST = $(xml_files) + +CLEANFILES = $(man_MANS) diff --git a/man/gnome-terminal.xml b/man/gnome-terminal.xml new file mode 100644 index 0000000..abdac00 --- /dev/null +++ b/man/gnome-terminal.xml @@ -0,0 +1,385 @@ + + + + + gnome-terminal + June 2020 + GNOME + + + + gnome-terminal + 1 + User Commands + + + + gnome-terminal + A terminal emulator for GNOME + + + + + gnome-terminal + + + + + + DESCRIPTION + + gnome-terminal is a terminal emulator application for + accessing a UNIX shell environment which can be used to run programs + available on your system. It supports several profiles, multiple tabs and + implements several keyboard shortcuts. + + + + + OPTIONS + + + + + + Show a brief overview of all the options. + + + + + + + + Show all the options in detail. + + + + + + + + Show all the GTK options. + + + + + + + + Show all the options to select between new terminal tabs or + windows. + + + + + + + + Show all the options to change the attributes of terminals + regardless of whether they are in separate tabs or windows. + + + + + + + + Show all the options to change the attributes of windows + containing terminals. + + + + + + + + Restore the application to a previously saved state by loading it + from a configuration file. + + + + + + + + Show the preferences window. + + + + + + + + Print the environment variables to interact with newly created + terminals. + + + + + + + + Suppress diagnostics. + + + + + + + + Increase diagnostic verbosity. + + + + + + + + Open a new tab containing a terminal in the last-opened window with + the default profile. + + + + + + + + Open a new window with a tab containing a terminal with the default + profile. + + + + + + + + Execute the argument to this option inside the terminal. + + + + + + + + Forward file descriptor. + + + + + + + + Use the given profile instead of the default profile. + + + + + + + + Set the initial terminal title. + + + + + + + + Wait until the terminal's child exits. + + + + + + + + Set the terminal's working directory. + + + + + + + + Set the terminal's zoom factor. 1.0 is normal size. + + + + + + + + Set the last specified tab as the active one in its window. + + + + + + + + Full-screen the window. + + + + + + + + Set the window size as COLSxROWS+X+Y. For example, 80x24 or + 80x24+200+200. + + + + + + + + Turn off the menubar for the window. + + + + + + + + Turn on the menubar for the window. + + + + + + + + Maximize the window. + + + + + + + + Set the X window role. + + + + + + + + Program class as used by the window manager. + + + + + + + + X display to use. + + + + + + + + Make all warnings fatal. + + + + + + + + GDK debugging flags to set. + + + + + + + + GDK debugging flags to unset. + + + + + + + + GTK debugging flags to set. + + + + + + + + GTK debugging flags to unset. + + + + + + + + Load additional GTK modules. + + + + + + + + Program name as used by the window manager. + + + + + + + + BUGS + + Please read + + on how to report bugs. + + + + + SEE ALSO + + For further information, visit the website + . There's a + list of frequently asked questions at + . + + +