OBS User unknown
2008-04-21 16:44:17 +00:00
committed by Git OBS Bridge
parent 37dc78a769
commit 7bc3f45655
4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 21 17:25:52 CEST 2008 - mfabian@suse.de
- bnc#381905: remove the hack in /usr/bin/nroff to convert
UTF-8 encoded man-pages back to the appropriate legacy encoding
because newer versions of “man” also do this conversion now
and doing the same conversion twice breaks it.
-------------------------------------------------------------------
Tue Mar 25 13:11:08 CET 2008 - mfabian@suse.de

View File

@@ -22,7 +22,7 @@ Obsoletes: jgroff
PreReq: %fillup_prereq %install_info_prereq
AutoReqProv: on
Version: 1.18.1.1
Release: 126
Release: 131
Summary: GNU troff Document Formatting System
Url: http://www.gnu.org/software/groff/groff.html
# cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/groff co groff
@@ -177,6 +177,11 @@ popd
/var/adm/fillup-templates/sysconfig.suseconfig-groff
%changelog
* Mon Apr 21 2008 mfabian@suse.de
- bnc#381905: remove the hack in /usr/bin/nroff to convert
UTF-8 encoded man-pages back to the appropriate legacy encoding
because newer versions of “man” also do this conversion now
and doing the same conversion twice breaks it.
* Tue Mar 25 2008 mfabian@suse.de
- bnc#373284: fix wrong spelling of UTF-8 in iconv call used in
nroff.sh (Thanks to Bruno Haible <bruno@clisp.org> for the fix).
@@ -194,7 +199,7 @@ popd
- add bison BuildRequires.
* Wed Jan 17 2007 mfabian@suse.de
- Bugzilla #217106: too few arguments in function call.
* Tue Jan 09 2007 mfabian@suse.de
* Wed Jan 10 2007 mfabian@suse.de
- do not build as root.
- make it build in the openSUSE build service.
* Tue Jan 02 2007 mfabian@suse.de
@@ -243,7 +248,7 @@ popd
* Thu Jun 02 2005 mfabian@suse.de
- add symbolic link for tetex (and others):
/usr/share/groff/%%{version} -> /usr/share/groff/current
* Mon Dec 06 2004 mfabian@suse.de
* Tue Dec 07 2004 mfabian@suse.de
- Bugzilla #47862: fix insecure creation of temporary directory
in groffer.sh, see also CAN-2004-0969.
* Fri Sep 17 2004 mfabian@suse.de
@@ -416,7 +421,7 @@ popd
- don't redclare strchr for glibc
* Tue Dec 15 1998 bs@suse.de
- fixed SuSEconfig
* Sun Dec 13 1998 bs@suse.de
* Mon Dec 14 1998 bs@suse.de
- made SuSEconfig.groff a little bit more silent.
* Wed Nov 18 1998 ro@suse.de
- commented out "find" in specfile

View File

@@ -18,7 +18,7 @@ AutoReqProv: on
Requires: groff
Conflicts: jgxdview
Version: 1.18.1.1
Release: 154
Release: 160
Summary: Ditroff Output Displayer for Groff
Url: http://www.gnu.org/software/groff/groff.html
Source0: ftp://ftp.gnu.org/gnu/groff/groff-1.18.1.1.tar.bz2

View File

@@ -167,11 +167,11 @@ diff -ru groff-1.18.1.1.orig/src/roff/nroff/nroff.sh groff-1.18.1.1/src/roff/nro
+ cat > $TMPDIR/input
+fi
+
+iconv -s -c -f utf-8 -t utf-8 < $TMPDIR/input > /dev/null
+if [ $? -eq 0 ]; then
+ iconv -s -c -f utf-8 -t $LEGACY_ENCODING < $TMPDIR/input > $TMPDIR/input.new
+ mv $TMPDIR/input.new $TMPDIR/input
+fi
+#iconv -s -c -f utf-8 -t utf-8 < $TMPDIR/input > /dev/null
+#if [ $? -eq 0 ]; then
+# iconv -s -c -f utf-8 -t $LEGACY_ENCODING < $TMPDIR/input > $TMPDIR/input.new
+# mv $TMPDIR/input.new $TMPDIR/input
+#fi
+
# This shell script is intended for use with man, so warnings are
# probably not wanted. Also load nroff-style character definitions.