From d501328c0ed52ea976146b99f9f58805383d097e Mon Sep 17 00:00:00 2001 From: Rmys Date: Sat, 16 May 2026 16:59:42 +0300 Subject: [PATCH] groff ver. bump --- .../groff-1.19.2-man-unicode-dashes.patch | 37 ++++++++++++++----- system/base/groff/pspec.xml | 11 +++++- 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/system/base/groff/files/groff-1.19.2-man-unicode-dashes.patch b/system/base/groff/files/groff-1.19.2-man-unicode-dashes.patch index d85a8330..49a6cc58 100644 --- a/system/base/groff/files/groff-1.19.2-man-unicode-dashes.patch +++ b/system/base/groff/files/groff-1.19.2-man-unicode-dashes.patch @@ -1,24 +1,41 @@ format dashes as dashes so as to not confuse people +groff 1.23.0 also changed the "utf8" device to render +"^" and "~" as U+02C6 and U+02DC respectively. +this causes similar searchability/copy-paste issue +especially for ~ which is often used to denote $HOME path. + http://bugs.gentoo.org/16108 http://bugs.gentoo.org/17580 http://bugs.gentoo.org/121502 ---- tmac/man.local -+++ tmac/man.local -@@ -1,2 +1,6 @@ - .\" This file is loaded after an-old.tmac. - .\" Put any local modifications to an-old.tmac here. +--- a/tmac/man.local ++++ b/tmac/man.local +@@ -1,6 +1,12 @@ + .\" This file is loaded by an.tmac. + .\" + .\" Put local modifications to groff_man(7)'s behavior here. +.if '\*[.T]'utf8' \{\ +. char \- \N'45' +. char - \N'45' ++. char ^ \[ha] ++. char ~ \[ti] +.\} ---- tmac/mdoc.local -+++ tmac/mdoc.local -@@ -1,2 +1,6 @@ - .\" This file is loaded after doc.tmac. - .\" Put any local modifications to doc.tmac here. + .\" + .\" Change "0" to "1" to enable OSC 8 links on SGR-capable grotty(1) + .\" output devices. +--- a/tmac/mdoc.local ++++ b/tmac/mdoc.local +@@ -1,6 +1,12 @@ + .\" This file is loaded by mdoc.tmac. + .\" + .\" Put local modifications to groff_mdoc(7)'s behavior here. +.if '\*[.T]'utf8' \{\ +. char \- \N'45' +. char - \N'45' ++. char ^ \[ha] ++. 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 diff --git a/system/base/groff/pspec.xml b/system/base/groff/pspec.xml index 698b7b4e..08981de3 100644 --- a/system/base/groff/pspec.xml +++ b/system/base/groff/pspec.xml @@ -1,5 +1,5 @@ - + groff @@ -14,7 +14,7 @@ app:console A document formatting system groff is a document formatting system. Groff takes standard text and formatting commands as input and produces formatted output. - http://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz + http://ftp.gnu.org/gnu/groff/groff-1.24.1.tar.gz texinfo @@ -52,6 +52,13 @@ + + 2026-05-15 + 1.24.1 + Version bump. + Pisi Linux Community + admin@pisilinux.org + 2020-12-09 1.22.4