From 256d714ec5a4edfc4b4b50fcc7b8e911b2e8a4c3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 14 2020 01:23:57 +0000 Subject: import gnome-terminal-3.28.3-2.el8 --- diff --git a/SOURCES/0001-Add-a-manual.patch b/SOURCES/0001-Add-a-manual.patch new file mode 100644 index 0000000..47c3fbd --- /dev/null +++ b/SOURCES/0001-Add-a-manual.patch @@ -0,0 +1,470 @@ +From 33c56bac4d5592e845a824f3273de5af5eee0ae4 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Wed, 17 Jun 2020 12:59:48 +0200 +Subject: [PATCH] Add a manual + +https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/277 +--- + Makefile.am | 2 +- + configure.ac | 9 + + man/Makefile.am | 18 ++ + man/gnome-terminal.xml | 385 +++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 413 insertions(+), 1 deletion(-) + create mode 100644 man/Makefile.am + create mode 100644 man/gnome-terminal.xml + +diff --git a/Makefile.am b/Makefile.am +index 14b59bac43b9..52dd7265d715 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 c5f40c07884a..00028858c654 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 000000000000..ecce224d455d +--- /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 000000000000..abdac002c8ae +--- /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 ++ . ++ ++ ++ +-- +2.25.4 + diff --git a/SPECS/gnome-terminal.spec b/SPECS/gnome-terminal.spec index bef3e2e..d853e76 100644 --- a/SPECS/gnome-terminal.spec +++ b/SPECS/gnome-terminal.spec @@ -7,7 +7,7 @@ Name: gnome-terminal Version: 3.28.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Terminal emulator for GNOME License: GPLv3+ and GFDL and LGPLv2+ @@ -18,6 +18,10 @@ Source1: org.gnome.Terminal.gschema.override Patch100: gnome-terminal-notify-open-title-transparency.patch Patch101: 0001-build-Don-t-treat-warnings-as-errors.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1612688 +Patch102: 0001-Add-a-manual.patch + +BuildRequires: docbook-style-xsl BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk3-devel >= %{gtk3_version} BuildRequires: gsettings-desktop-schemas-devel @@ -29,6 +33,7 @@ BuildRequires: gnome-common BuildRequires: autoconf automake libtool BuildRequires: itstool BuildRequires: dconf-devel +BuildRequires: libxslt BuildRequires: libuuid-devel BuildRequires: nautilus-devel BuildRequires: gnome-shell @@ -61,6 +66,7 @@ option to the right-click context menu in Nautilus. %setup -q %patch100 -p1 -b .notify-open-title-transparency %patch101 -p1 -b .warnings +%patch102 -p1 -b .manual %build autoreconf -f -i @@ -93,6 +99,7 @@ make check %{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.override %{_datadir}/gnome-shell +%{_datadir}/man/man1/gnome-terminal.1* %{_userunitdir}/gnome-terminal-server.service %files nautilus @@ -100,6 +107,10 @@ make check %{_datadir}/metainfo/org.gnome.Terminal.Nautilus.metainfo.xml %changelog +* Fri Jun 19 2020 Debarshi Ray - 3.28.3-2 +- Add a manual +- Resolves: #1612688 + * Wed Dec 11 2019 Debarshi Ray - 3.28.3-1 - Update to 3.28.3 - Resolves: #1642427