[arch-commits] CVS update of core/base/groff (PKGBUILD man-utf8.tmac)
Aaron Griffin
aaron at archlinux.org
Wed Jan 30 05:52:19 UTC 2008
Date: Wednesday, January 30, 2008 @ 00:52:19
Author: aaron
Path: /home/cvs-core/core/base/groff
Added: man-utf8.tmac (1.1)
Modified: PKGBUILD (1.29 -> 1.30)
upgpkg: groff 1.19.2-4
Fix the output in utf8 mode so characters match those we can actually type
---------------+
PKGBUILD | 15 +++++++++++----
man-utf8.tmac | 9 +++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Index: core/base/groff/PKGBUILD
diff -u core/base/groff/PKGBUILD:1.29 core/base/groff/PKGBUILD:1.30
--- core/base/groff/PKGBUILD:1.29 Thu Nov 15 18:53:16 2007
+++ core/base/groff/PKGBUILD Wed Jan 30 00:52:19 2008
@@ -1,16 +1,18 @@
-# $Id: PKGBUILD,v 1.29 2007/11/15 23:53:16 daniel Exp $
+# $Id: PKGBUILD,v 1.30 2008/01/30 05:52:19 aaron Exp $
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=groff
pkgver=1.19.2
-pkgrel=3
+pkgrel=4
pkgdesc="GNU troff text-formatting system"
arch=(i686 x86_64)
url="http://www.gnu.org/software/groff/groff.html"
license=('GPL')
groups=('base')
depends=('perl' 'gcc-libs')
-source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz)
-md5sums=('f7c9cf2e4b9967d3af167d7c9fadaae4')
+source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz
+ man-utf8.tmac)
+md5sums=('f7c9cf2e4b9967d3af167d7c9fadaae4'
+ 'faefbef2b05ee5438b632464607c6cc4')
build() {
cd $startdir/src/$pkgname-$pkgver
@@ -24,4 +26,9 @@
ln -s tbl gtbl
ln -s soelim zsoelim
rm -rf $startdir/pkg/usr/lib
+
+ # Fix some issues when encoding to utf8 man pages
+ # The output chars don't match keyboard chars...
+ cat $startdir/src/man-utf8.tmac >> \
+ $startdir/pkg/usr/share/groff/site-tmac/man.local
}
Index: core/base/groff/man-utf8.tmac
diff -u /dev/null core/base/groff/man-utf8.tmac:1.1
--- /dev/null Wed Jan 30 00:52:19 2008
+++ core/base/groff/man-utf8.tmac Wed Jan 30 00:52:19 2008
@@ -0,0 +1,9 @@
+.\" This file is loaded after an-old.tmac.
+.\" Put any local modifications to an-old.tmac here.
+
+.if '\*[.T]'utf8' \
+. char \- \N'45'
+. char - \N'45'
+. char ' \N'39'
+..
+
More information about the arch-commits
mailing list