diff options
author | wl <wl> | 2011-01-27 05:03:20 +0000 |
---|---|---|
committer | wl <wl> | 2011-01-27 05:03:20 +0000 |
commit | 91cdde71c8944164f55136d2991f93fd8bc03694 (patch) | |
tree | 318c59e961d40a07b505d87fbd5a9f0a5c77a9d5 | |
parent | dfbb9d911a8d563aea5a5d8ff5827606e51579cb (diff) | |
download | groff-91cdde71c8944164f55136d2991f93fd8bc03694.tar.gz |
Add ChangeLog entry and other minor clean-ups.
-rw-r--r-- | contrib/groffer/ChangeLog | 17 | ||||
-rwxr-xr-x | contrib/groffer/perl/groffer.pl | 4 | ||||
-rw-r--r-- | contrib/groffer/perl/man.pl | 6 | ||||
-rw-r--r-- | contrib/groffer/version.sh | 2 |
4 files changed, 22 insertions, 7 deletions
diff --git a/contrib/groffer/ChangeLog b/contrib/groffer/ChangeLog index aa561a55..d881fd62 100644 --- a/contrib/groffer/ChangeLog +++ b/contrib/groffer/ChangeLog @@ -1,3 +1,18 @@ +2011-01-27 James Budiono <james.budiono@gmail.com> + Bernd Warken + + Fix display of manpages. + + Reported as + http://lists.gnu.org/archive/html/bug-groff/2011-01/msg00015.html. + + * perl/groffer.pl (_get_first_prog): Fix return value. + (Viewer_X): Add `okular' viewer. + * perl/man.pl (manpath_set_from_path): Handle `@main::Path)' + correctly. + + * version.sh: Updated. + 2009-01-03 Werner LEMBERG <wl@gnu.org> * version.sh: Prepare for groff release 1.20. @@ -226,7 +241,7 @@ ________________________________________________________________ License - Copyright (C) 2006, 2007, 2008, 2009 + Copyright (C) 2006-2009, 2011 Free Software Foundation, Inc. Written by Bernd Warken diff --git a/contrib/groffer/perl/groffer.pl b/contrib/groffer/perl/groffer.pl index e5d76b49..5254dcd8 100755 --- a/contrib/groffer/perl/groffer.pl +++ b/contrib/groffer/perl/groffer.pl @@ -8,7 +8,7 @@ # Copyright (C) 2006, 2009, 2011 Free Software Foundation, Inc. # Written by Bernd Warken. -# Last update: 26 Jan 2011 +# Last update: 27 Jan 2011 # This file is part of `groffer', which is part of `groff'. @@ -1323,7 +1323,7 @@ sub _get_first_prog { if (%prog) { $Display{'PROG'} = $prog{'fullname'}; $Display{'ARGS'} = $prog{'args'}; - return 1; # james bug fix + return 1; } } return 0; diff --git a/contrib/groffer/perl/man.pl b/contrib/groffer/perl/man.pl index 0e3ee0ab..fb7ace3a 100644 --- a/contrib/groffer/perl/man.pl +++ b/contrib/groffer/perl/man.pl @@ -8,7 +8,7 @@ # Copyright (C) 2006, 2009, 2011 Free Software Foundation, Inc. # Written by Bernd Warken. -# Last update: 26 Jan 2011 +# Last update: 27 Jan 2011 # This file is part of `groffer', which is part of `groff'. @@ -522,8 +522,8 @@ sub manpath_set_from_path { my @path = qw( /usr/local /usr /usr/X11R6 /usr/openwin /opt /opt/gnome /opt/kde ); # get a basic man path from $ENV{PATH} - my @path2 = @main::Path; # james bug fix - foreach (@path2) { # james bug fix + my @path2 = @main::Path; + foreach (@path2) { s#bin/*$##; push @path, $_; } diff --git a/contrib/groffer/version.sh b/contrib/groffer/version.sh index f1f69b90..caf1e00e 100644 --- a/contrib/groffer/version.sh +++ b/contrib/groffer/version.sh @@ -5,7 +5,7 @@ # Source file position: <groff-source>/contrib/groffer/version.sh # Installed position: <prefix>/lib/groff/groffer/version.sh -# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2011 +# Copyright (C) 2001-2006, 2009, 2011 # Free Software Foundation, Inc. # Written by Bernd Warken |