Hello community, here is the log from the commit of package groff checked in at Fri Nov 28 15:07:34 CET 2008. -------- --- groff/groff.changes 2008-11-20 17:54:13.000000000 +0100 +++ groff/groff.changes 2008-11-25 15:16:52.000000000 +0100 @@ -1,0 +2,23 @@ +Tue Nov 25 15:15:44 CET 2008 - mfabian@suse.de + +- bnc#448185: improve workaround for bnc#446710. After the + tmandocdb workaround was removed from "man", the new + workaround in groff failed in some locales. + +------------------------------------------------------------------- +Fri Nov 21 15:54:34 CET 2008 - mfabian@suse.de + +- bnc#401952: Add a workaround to /usr/bin/nroff to make Korean + man-pages display correctly again. +- /etc/profile.d/groff.{sh,csh} moved to + /etc/profile.d/zzz-groff.{sh,csh} to be able to check for LANG. + Changes in these scripts: + • Don’t set GROFF_NO_SGR by default anymore, it causes problems + with Korean man pages. + • For CJK languages, set MAN_KEEP_FORMATTING by default. + Without MAN_KEEP_FORMATTING man will use GROFF_NO_SGR when + writing to a pipe or file and will also pipe the result + through "col -b -p -x". This doesn’t work well for CJK, at + least not with the current version of groff. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- groff.csh groff.sh New: ---- zzz-groff.csh zzz-groff.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ groff.spec ++++++ --- /var/tmp/diff_new_pack.v16826/_old 2008-11-28 15:05:53.000000000 +0100 +++ /var/tmp/diff_new_pack.v16826/_new 2008-11-28 15:05:53.000000000 +0100 @@ -29,15 +29,15 @@ PreReq: %fillup_prereq %install_info_prereq AutoReqProv: on Version: 1.18.1.1 -Release: 166 +Release: 167 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 Source0: ftp://ftp.gnu.org/gnu/groff/groff-1.18.1.1.tar.bz2 Source1: SuSEconfig.groff Source2: sysconfig.suseconfig-groff -Source3: groff.sh -Source4: groff.csh +Source3: zzz-groff.sh +Source4: zzz-groff.csh Patch0: groff_1.18.1.1-1-debian.diff.bz2 Patch1: suse.patch Patch2: pic-html.patch @@ -141,8 +141,8 @@ chmod 0644 $RPM_BUILD_ROOT/etc/papersize # install profiles to disable the use of ANSI colour sequences by default: mkdir -p $RPM_BUILD_ROOT/etc/profile.d -install -m 644 $RPM_SOURCE_DIR/groff.sh $RPM_BUILD_ROOT/etc/profile.d -install -m 644 $RPM_SOURCE_DIR/groff.csh $RPM_BUILD_ROOT/etc/profile.d +install -m 644 $RPM_SOURCE_DIR/zzz-groff.sh $RPM_BUILD_ROOT/etc/profile.d +install -m 644 $RPM_SOURCE_DIR/zzz-groff.csh $RPM_BUILD_ROOT/etc/profile.d pushd $RPM_BUILD_ROOT/usr/share/groff test -d 1.18.1 || exit 1 ln -s 1.18.1 current @@ -167,7 +167,7 @@ /usr/bin/* %doc %{_mandir}/man?/* %config(noreplace) %verify(not md5 size mtime) /etc/papersize -%config /etc/profile.d/groff.*sh +%config /etc/profile.d/zzz-groff.*sh %dir /usr/share/groff/ %dir /usr/share/groff/site-tmac/ /usr/share/groff/site-tmac/* @@ -191,6 +191,23 @@ /var/adm/fillup-templates/sysconfig.suseconfig-groff %changelog +* Tue Nov 25 2008 mfabian@suse.de +- bnc#448185: improve workaround for bnc#446710. After the + tmandocdb workaround was removed from "man", the new + workaround in groff failed in some locales. +* Fri Nov 21 2008 mfabian@suse.de +- bnc#401952: Add a workaround to /usr/bin/nroff to make Korean + man-pages display correctly again. +- /etc/profile.d/groff.{sh,csh} moved to + /etc/profile.d/zzz-groff.{sh,csh} to be able to check for LANG. + Changes in these scripts: + • Don’t set GROFF_NO_SGR by default anymore, it causes problems + with Korean man pages. + • For CJK languages, set MAN_KEEP_FORMATTING by default. + Without MAN_KEEP_FORMATTING man will use GROFF_NO_SGR when + writing to a pipe or file and will also pipe the result + through "col -b -p -x". This doesn’t work well for CJK, at + least not with the current version of groff. * Thu Nov 20 2008 mfabian@suse.de - bnc#446710: add the workarounds from /usr/share/groff/site-tmac/tmac.andocdb (man package) directly ++++++ gxdview.spec ++++++ --- /var/tmp/diff_new_pack.v16826/_old 2008-11-28 15:05:53.000000000 +0100 +++ /var/tmp/diff_new_pack.v16826/_new 2008-11-28 15:05:53.000000000 +0100 @@ -25,14 +25,12 @@ Requires: groff Conflicts: jgxdview Version: 1.18.1.1 -Release: 207 +Release: 208 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 Source1: SuSEconfig.groff Source2: sysconfig.suseconfig-groff -Source3: groff.sh -Source4: groff.csh Patch0: groff_1.18.1.1-1-debian.diff.bz2 Patch1: suse.patch Patch2: pic-html.patch ++++++ bnc446710.patch ++++++ --- /var/tmp/diff_new_pack.v16826/_old 2008-11-28 15:05:53.000000000 +0100 +++ /var/tmp/diff_new_pack.v16826/_new 2008-11-28 15:05:54.000000000 +0100 @@ -1,25 +1,29 @@ diff -ru groff-1.18.1.1.orig//font/devutf8/R.proto groff-1.18.1.1/font/devutf8/R.proto --- groff-1.18.1.1.orig//font/devutf8/R.proto 2002-07-19 09:58:45.000000000 +0200 -+++ groff-1.18.1.1/font/devutf8/R.proto 2008-11-20 17:45:46.000000000 +0100 -@@ -285,13 +285,10 @@ ++++ groff-1.18.1.1/font/devutf8/R.proto 2008-11-25 14:58:19.000000000 +0100 +@@ -285,13 +285,13 @@ +h 24 0 0x03D1 +f 24 0 0x03D5 +p 24 0 0x03D6 -- 24 0 0x2010 ++- 24 0 0x002D hy " en 24 0 0x2013 em 24 0 0x2014 -` 24 0 0x2018 ++` 24 0 0x0060 oq " -' 24 0 0x2019 ++' 24 0 0x0027 cq " bq 24 0 0x201A lq 24 0 0x201C -@@ -334,7 +331,6 @@ +@@ -334,7 +334,7 @@ st 24 0 0x220B product 24 0 0x220F sum 24 0 0x2211 -\- 24 0 0x2212 ++\- 24 0 0x002D mi " ** 24 0 0x2217 sr 24 0 0x221A ++++++ utf8.patch ++++++ --- /var/tmp/diff_new_pack.v16826/_old 2008-11-28 15:05:54.000000000 +0100 +++ /var/tmp/diff_new_pack.v16826/_new 2008-11-28 15:05:54.000000000 +0100 @@ -2,7 +2,7 @@ diff -ru groff-1.18.1.1.orig/src/roff/nroff/nroff.sh groff-1.18.1.1/src/roff/nroff/nroff.sh --- groff-1.18.1.1.orig/src/roff/nroff/nroff.sh 2007-07-23 19:22:48.000000000 +0200 +++ groff-1.18.1.1/src/roff/nroff/nroff.sh 2007-07-23 19:27:54.000000000 +0200 -@@ -87,11 +87,178 @@ +@@ -87,11 +87,183 @@ shift done @@ -102,6 +102,11 @@ + export LC_ALL=zh_CN.GB18030 + ICONV="iconv -f GB18030 -t UTF-8" + ;; ++ ko*) ++ T=-Tlatin1 ++ export LC_ALL=ko_KR.EUC-KR ++ ICONV="iconv -f EUC-KR -t UTF-8" ++ ;; +# Czech, Hungarian, ... and Russian man-pages don't need special treatment in nroff anymore +# with man-2.4.3 because man already does the necessary conversions (see bugzilla #230030). +# cs*|hu*|hr*|pl*) ++++++ zzz-groff.csh ++++++ # # /etc/profile.d/zzz-groff.csh # # This script must be executed after setting the LANG variable. switch ( $LANG ) case ja*: setenv MAN_KEEP_FORMATTING yes unsetenv GROFF_NO_SGR case zh*: setenv MAN_KEEP_FORMATTING yes unsetenv GROFF_NO_SGR case ko*: setenv MAN_KEEP_FORMATTING yes unsetenv GROFF_NO_SGR endsw ++++++ zzz-groff.sh ++++++ # # /etc/profile.d/zzz-groff.sh # # This script must be executed after setting the LANG variable. case "${LANGUAGE-${LC_ALL-${LC_MESSAGES-${LANG}}}}" in ja*|zh*|ko*) unset GROFF_NO_SGR export MAN_KEEP_FORMATTING=yes ;; esac ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org