rman 3.0.9 is obsolete and due to changes in groff tkman is not able to display manpages correctly. I will attach a proposed ebuild for 2.1-r2. Reproducible: Always Steps to Reproduce: 1. start tkman with rman 3.0.9 2. view a man-page (eg. ls) Actual Results: see bad strange codes in text etc. Expected Results: show me a correctly rendere man-page :) Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test8) ================================================================= System uname: 2.6.0-test8 i686 Intel(R) Pentium(R) 4 CPU 1700MHz Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss foomaticdb mad mikmod nls zlib gtkhtml gdbm berkdb arts bonobo esd gtk cdr mmx sse -3dnow nocardbus -pcmcia apm -pda -gphoto cups X opengl xv fbcon qt -kde arts gtk-evo -gnome imlib motif tctk ncurses readline sdl lcms gif jpeg png tiff avi mpeg quicktime alsa dvd xmms oggvorbis flash encode ipv6 -snmp pam ssl crypt -imap ldap tcpd xface mozilla mozaccess-builtin -mozirc -mozxmlterm -mozctl -spell truetype xml xml2 pdflib plotutils tetex guile java perl python ruby slang libwww libg++ -mysql obdc mule gpm sasl ati usagi cssi libcss svga tcltk gtk2 moznoirc moznocompose nomozmail apache2 threads"
Created attachment 19669 [details] Proposed ebuild to fix the rman-Problem. The patch used is the same as for 2.1-r1 so a simple cp will do.
Nice catch Hynek. Making tkman depend on rman-3.1 would indeed fix the problem with handling groff escape codes. However, rman-3.1 is still in the unstable tree and we can't have a stable package (tkman) with an unstable dependency (rman.) rman-3.1 needs to be first made stable on all archs supported by tkman (currently x86, ppc and sparc) before we can make it a dependency like >=app-text/rman-3.1. Fortunately tkman-2.2 depends on rman-3.1, so I'll make this bug depend on bug #23228; hopefully we shall see tkman-2.2 in cvs soon.
There is quick work-around if sticking to an older rman is necessary, as found on the tkman-Homepage. I wouldn't wait for tkman 2.2 as it depends on Tcl/Tk 8.4 and that might take a bit... I'll attach a patch that fixes the problem w/o updating rman maybe you want to incorporate into the gentoo-patch.
Created attachment 20043 [details, diff] Proposed patch to the tkman-Makefile to workaround the color-problems.
Thanks Hynek. I've used sed to append the extra flags only if we have >=groff-1.18 and <rman-3.1. Of course, since the upgrade from rman-3.0.9 to -3.1 did not involve any significant changes, I hoping that rman-3.1 will be bumped stable in the near future (which was what you originally requested wasn't it.) ;)
That's why I called this solution a "workaround". :) It would make tkman useful until rman 3.1 is marked stable as w/o it isn't.
i think we can mark it stable now :)