Package: groff / 1.22.3-9

Metadata

Package Version Patches format
groff 1.22.3-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
bash scripts.patch | (download)

contrib/eqn2graph/eqn2graph.sh | 2 1 + 1 - 0 !
contrib/grap2graph/grap2graph.sh | 2 1 + 1 - 0 !
contrib/pic2graph/pic2graph.sh | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 the *2graph scripts use $random, which is bash-specific

mdate perl.patch | (download)

mdate.sh | 36 4 + 32 - 0 !
1 file changed, 4 insertions(+), 32 deletions(-)

 avoid relying on awk in mdate.sh

The results were unpredictable on mips/mipsel.

Bug-Debian: http://bugs.debian.org/62554
nroff ifs.patch | (download)

src/roff/nroff/nroff.sh | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 unset ifs at nroff startup

It's questionable whether we should forward this; as noted in the bug
trail, there's a decent argument that this is a dash bug.

Bug-Debian: http://bugs.debian.org/541621
awk path.patch | (download)

font/devlj4/generate/special.awk | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust #! line of font/devlj4/generate/special.awk

awk is in /usr/bin/awk on Debian, not /bin/awk.

papersize pre html.patch | (download)

src/preproc/html/pre-html.cpp | 54 54 + 0 - 0 !
1 file changed, 54 insertions(+)

 set appropriate papersize when calling gs from html preprocessor

This patch seems fishy.  get_papersize was removed upstream in r335.1.348,
so should we even be applying this any more?  Furthermore, we don't use
gsPaper anywhere, and looking at devps/DESC here is just nasty.  Needs
review.

doc gfdl.patch | (download)

contrib/hdtbl/groff_hdtbl.man | 4 4 + 0 - 0 !
contrib/pdfmark/pdfroff.man | 4 4 + 0 - 0 !
man/ditroff.man | 4 4 + 0 - 0 !
man/groff.man | 4 4 + 0 - 0 !
man/groff_diff.man | 4 4 + 0 - 0 !
man/groff_out.man | 4 4 + 0 - 0 !
man/groff_tmac.man | 4 4 + 0 - 0 !
man/roff.man | 4 4 + 0 - 0 !
src/roff/groff/groff.man | 4 4 + 0 - 0 !
src/roff/troff/troff.man | 4 4 + 0 - 0 !
tmac/groff_trace.man | 4 4 + 0 - 0 !
11 files changed, 44 insertions(+)

 add gfdl references to manual pages licensed under gfdl

Bug-Debian: http://bugs.debian.org/292229
doc gzipped.patch | (download)

contrib/pdfmark/pdfroff.man | 2 1 + 1 - 0 !
src/preproc/pic/pic.man | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 adjust documentation references to account for compression

Bug-Debian: http://bugs.debian.org/498356
make targets.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust default recursive make targets

This has been in the groff packaging since records began, and the reason
for it is unclear.  Needs investigation.

pic eqn warnings.patch | (download)

src/preproc/eqn/main.cpp | 2 2 + 0 - 0 !
src/preproc/pic/main.cpp | 4 4 + 0 - 0 !
2 files changed, 6 insertions(+)

 inhibit -wmac warnings due to pic and eqn

Define .PS and .PE to empty strings in pic output to inhibit -wmac
warnings; similarly, define .EQ and .EN to empty strings in eqn output.

Bug-Debian: http://bugs.debian.org/495713
extratmacdirs.patch | (download)

Makefile.in | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 allow adding a version-independent directory to the macro path

This allows us to put /usr/share/groff/tmac at the end of groff's macro
path in Debian.

papersize config.patch | (download)

font/devdvi/Makefile.sub | 4 2 + 2 - 0 !
font/devlbp/Makefile.sub | 4 2 + 2 - 0 !
font/devlj4/Makefile.sub | 4 2 + 2 - 0 !
font/devps/Makefile.sub | 4 2 + 2 - 0 !
4 files changed, 8 insertions(+), 8 deletions(-)

 use /etc/papersize in preference to configure-time selection

load desc failure.patch | (download)

src/roff/groff/groff.cpp | 12 10 + 2 - 0 !
1 file changed, 10 insertions(+), 2 deletions(-)

 display more helpful output when failing to load a device

If the device is known to be one of the devices in the groff binary package
rather than groff-base, refer the user to that.

no validation icons.patch | (download)

doc/Makefile.in | 4 2 + 2 - 0 !
doc/Makefile.sub | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 remove the w3c validation icons from generated html

As the Lintian privacy-breach-w3c-valid-html tag puts it:

  "These badges may be displayed to tell readers that care has been
  taken to make a page compliant with W3C standards.  Unfortunately,
  downloading the image from www.w3.org might expose the reader's IP
  address to potential tracking."

mmse note.patch | (download)

contrib/mm/groff_mm.man | 1 1 + 0 - 0 !
contrib/mm/mmroff.man | 3 2 + 1 - 0 !
man/groff_tmac.man | 3 2 + 1 - 0 !
src/roff/groff/groff.man | 3 2 + 1 - 0 !
4 files changed, 7 insertions(+), 3 deletions(-)

 note that groff_mmse(7) is only available in swedish locales

Bug-Debian: http://bugs.debian.org/710431
source date epoch.patch | (download)

doc/groff.texinfo | 6 6 + 0 - 0 !
src/devices/grohtml/grohtml.man | 7 7 + 0 - 0 !
src/devices/grohtml/post-html.cpp | 5 3 + 2 - 0 !
src/devices/gropdf/gropdf.man | 7 7 + 0 - 0 !
src/devices/gropdf/gropdf.pl | 3 2 + 1 - 0 !
src/devices/grops/grops.man | 7 7 + 0 - 0 !
src/devices/grops/ps.cpp | 3 2 + 1 - 0 !
src/include/curtime.h | 23 23 + 0 - 0 !
src/libs/libgroff/Makefile.sub | 2 2 + 0 - 0 !
src/libs/libgroff/curtime.cpp | 51 51 + 0 - 0 !
src/roff/troff/input.cpp | 3 2 + 1 - 0 !
11 files changed, 112 insertions(+), 5 deletions(-)

 implement `source_date_epoch' for reproducible builds.

hdtbl examples less random.patch | (download)

contrib/hdtbl/examples/common.roff | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 remove unnecessary randomness from example output

The hdtbl examples don't need good randomness, as they're only example
output; removing the process ID from consideration allows better
integration with reproducible builds.

display utc times.patch | (download)

src/devices/grohtml/post-html.cpp | 4 2 + 2 - 0 !
src/devices/gropdf/gropdf.pl | 4 2 + 2 - 0 !
src/devices/grops/ps.cpp | 2 1 + 1 - 0 !
src/roff/troff/input.cpp | 2 1 + 1 - 0 !
4 files changed, 6 insertions(+), 6 deletions(-)

 always use utc times for display

Using localtime is problematic for reproducible builds.  For now, always
use UTC times (gmtime etc.) for display.  (Note that this changes the
semantics of \n[hours] etc., so may need further work.)

sort perl hash keys.patch | (download)

src/devices/gropdf/gropdf.pl | 10 5 + 5 - 0 !
src/utils/afmtodit/afmtodit.pl | 12 6 + 6 - 0 !
2 files changed, 11 insertions(+), 11 deletions(-)

 sort perl hash keys

zh tmac.patch | (download)

tmac/Makefile.sub | 3 2 + 1 - 0 !
tmac/zh.tmac | 48 48 + 0 - 0 !
2 files changed, 50 insertions(+), 1 deletion(-)

 fix savannah bug #44941.

* tmac/zh.tmac: New file to support basic Chinese (both simplified
and traditional).
* tmac/Makefile.sub (NORMALFILES): Add `zh.tmac'.