Sync from SUSE:SLFO:Main groff revision 9dd6d5572585923e213fe44061419d22

This commit is contained in:
Adrian Schröter 2024-10-11 10:03:53 +02:00
parent 5eb04ece65
commit 18badfd1eb
4 changed files with 53 additions and 4 deletions

View File

@ -0,0 +1,42 @@
Index: b/tmac/man.local
===================================================================
--- a/tmac/man.local
+++ b/tmac/man.local
@@ -2,6 +2,16 @@
.\"
.\" Put local modifications to groff_man(7)'s behavior here.
.\"
+.\" With groff 1.23.0 some characters are mapped to non-Basic Latin code points
+.\" in output. Restore old behavior in order to keep character search and copy-paste
+.\" working.
+.if '\*[.T]'utf8' \{\
+. char ' \[aq]
+. char - \-
+. char ^ \[ha]
+. char ` \[ga]
+. char ~ \[ti]
+.\}
.\" Change "0" to "1" to enable OSC 8 links on SGR-capable grotty(1)
.\" output devices.
.if !'\*[.T]'html' \
Index: b/tmac/mdoc.local
===================================================================
--- a/tmac/mdoc.local
+++ b/tmac/mdoc.local
@@ -2,6 +2,16 @@
.\"
.\" Put local modifications to groff_mdoc(7)'s behavior here.
.\"
+.\" With groff 1.23.0 some characters are mapped to non-Basic Latin code points
+.\" in output. Restore old behavior in order to keep character search and copy-paste
+.\" working.
+.if '\*[.T]'utf8' \{\
+. char ' \[aq]
+. char - \-
+. char ^ \[ha]
+. char ` \[ga]
+. char ~ \[ti]
+.\}
.\" "CW" is not a portable font name, but some man pages use it anyway.
.\" Uncomment this to suppress warnings produced by such pages. This
.\" test remaps the font to roman ("R") on nroff (terminal) devices. You

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 13 15:15:09 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
- Add groff-restore-hyphen-minus.patch (bsc#1226153)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 4 23:01:54 UTC 2023 - Luciano Santos <luc14n0@opensuse.org> Wed Oct 4 23:01:54 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package groff
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -49,6 +49,8 @@ Patch5: 0002-documentation-for-the-locale-keyword.patch
# it can be supressed by /etc/papersize if needed # it can be supressed by /etc/papersize if needed
Patch6: groff-force-locale-usage.patch Patch6: groff-force-locale-usage.patch
Patch7: 0004-don-t-use-usr-bin-env-in-shebang.patch Patch7: 0004-don-t-use-usr-bin-env-in-shebang.patch
# PATCH-FIX-OPENSUSE groff-restore-hyphen-minus.patch bsc#1226153
Patch8: groff-restore-hyphen-minus.patch
# Patches from debian # Patches from debian
Patch100: https://salsa.debian.org/debian/groff/raw/master/debian/patches/bash-scripts.patch Patch100: https://salsa.debian.org/debian/groff/raw/master/debian/patches/bash-scripts.patch
Patch101: https://salsa.debian.org/debian/groff/raw/master/debian/patches/nroff-map-CW-to-R.patch Patch101: https://salsa.debian.org/debian/groff/raw/master/debian/patches/nroff-map-CW-to-R.patch
@ -89,7 +91,7 @@ Obsoletes: groff-devx <= 1.21
# alternatives # alternatives
BuildRequires: update-alternatives BuildRequires: update-alternatives
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%endif %endif
%description %description

View File

@ -1,4 +1,4 @@
From 742dfac36f1fd23e17d27dbf83e3793d3f3a063d Mon Sep 17 00:00:00 2001 From 107cd6d6e837d9b6201e071f9488fa5e32e6aa64 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org> From: Colin Watson <cjwatson@debian.org>
Date: Fri, 14 Jul 2023 12:42:26 +0100 Date: Fri, 14 Jul 2023 12:42:26 +0100
Subject: Map CW to R for nroff Subject: Map CW to R for nroff