* arch/djgpp/config.sed:
* bootstrap.conf:
* contrib/mm/tests/lists-indent-correctly.sh:
* src/roff/groff/tests/backslash-X-works.sh:
* src/roff/groff/tests/device-control-special-character-handling.sh:
* src/roff/groff/tests/device-request-works.sh: Use strict POSIX.1-2017
regexes with grep and sed.
In POSIX.1-2017, the regular expression '\]' has undefined behavior.
In POSIX.1-2024 it's equivalent to ']', but the groff build process
should not yet rely on this.
Fixes <https://savannah.gnu.org/bugs/?66476>.
See man-pages(7). A project should select and use a consistent style.
Not changed:
* change log entries
* contrib/ stuff that GBR doesn't maintain (mom) or hasn't yet seriously
worked on (glilypond)
* false positive "rewards"
* glyph names containing "backwards" and similar
Use a surgical, not a shotgun, approach. Remove stale and/or overbroad
patterns. This way it is easier to detect bitrot and junk in the build
tree, and recognize when changes occur that affect payload or might need
to be reflected in Makefile updates.
Organize the files by "module"--by logically discrete components of the
tree. This makes the internal symmetry of the repository less obscure.
These files' contents reflect an "everything" build on GNU/Linux. Gaps
are expected for platforms with different file naming
conventions--Cygwin, for instance, still names executables with ".exe"
extensions, and may still use ".obj" instead of ".o". Please contribute
similar patterns for your platform.
* arch/misc/misc.am (shdeps.sed): Rename target from this...
($(SH_DEPS_SED_SCRIPT)): ...to this, to work better with make(1) on
FreeBSD, NetBSD, and AIX.
* arch/misc/misc.am:
(arch_shdeps_sh): Pull file name into a new variable.
(EXTRA_DIST, shdeps.sed): Ue it.
(shdeps.sed): Build more quietly; prefix with `$(AM_GEN_V)`.
Also wrap long lines and tweak legal notice formatting.
This is the correct casing of the acronym per
http://www.undocprint.org/formats/page_description_language/capsl (via
the Internet Archive).
Also:
* doc/groff.texi (grolbp): Use Texinfo @acronym command for this term
instead of @strong, and don't mark up "Canon" specially at all.
* update-copyright.sh: use gnulib's 'update-copyright' script. Pass
this script in directories 'arch', 'contrib', 'font', 'man', 'tmac',
'src' and on a list of extra files.
* FOR-RELEASE: mention this point.
Use gnulib's update-copyright script.
* src/roff/groff/groff.cpp: update the printf displayed when 'groff -v' is invoked.
* FOR-RELEASE: mention this point.
Per discussion on the groff development mailing list, there is
no desire to retain the maintenance of this portion of the groff
distribution.
See <https://lists.gnu.org/archive/html/groff/2020-04/msg00051.html>
et seq.
* contrib/groffer: Recursively delete.
* Makefile.am:
* arch/mingw/mingw.am: Stop building groffer.
* m4/groff.m4 (GROFF_GROFFERDIR_OPTION):
(GROFF_GROFFERDIR_OPTION): Delete; remove "--with-grofferdir"
configuration option.
* MANIFEST:
* NEWS:
* PROJECTS:
* TODO:
* contrib/chem/chem.1.man:
* contrib/chem/examples/122/README.txt:
* contrib/chem/examples/README.txt:
* contrib/glilypond/glilypond.1.man:
* contrib/gperl/gperl.1.man:
* contrib/gpinyin/gpinyin.1.man:
* contrib/groff_filenames/groff_filenames.5.man:
* man/groff_font.5.man:
* man/roff.7.man:
* src/roff/groff/groff.1.man:
* src/roff/grog/grog.1.man:
* src/utils/addftinfo/addftinfo.1.man:
* tmac/groff_trace.7.man: Delete references to groffer.
Historical references to groffer deliberately remain in ChangeLog,
ChangeLog.{118,120}, NEWS, contrib/{chem,glilypond}/ChangeLog,
and doc/webpage.ms. This is a case of deletion, not damnatio memoriae.
Some minor cosmetic changes came along for the ride:
* contrib/groff_filenames/groff_filenames.5.man: Use literal section
numbers for non-groff man page cross-references; the expansions
@MAN[157]EXT@ are determined by groff configuration parameters and not
appropriate for other pages.
* contrib/groff_filenames/groff_filenames.5.man: Refer to Heirloom
Doctools project as such, not "Heirloom roff", and stop ascribing its
ownership to Gunnar Ritter; as I understand it, he stopped working on
it years ago, and it is now maintained by others.
* PROJECTS:
* TODO: Correct asymmetric `quotes' in copyright comments.
* contrib/chem/chem.1.man:
* contrib/gperl/gperl.1.man:
* contrib/gpinyin/gpinyin.1.man Stop preventing hyphenation on words
that won't get hyphenated; no visible effect on output.
* contrib/gperl/gperl.1.man:
* contrib/groff_filenames/groff_filenames.5.man:
* src/roff/grog/grog.1.man: Fix source style nit in sectioning; no
visible effect on output.
Most users and developers have lexical coloring/syntax highlighting
available these days (cf. 30 years ago).
Leaving them in plain-text files (like READMEs) because these are
generally not machine-parsed (except for changelogs...) and the
indicator may conceivably be useful to novices who stumble across them.
arch/mingw/grap2graph.cmd:
contrib/groffer/version.sh:
doc/groff.texi:
doc/webpage.ms:
* Bump from 1.22.3 to 1.22.4.
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Refer to the X Window System correctly.
* Migrate comments and plain text from `quotes' to 'quotes'.
* Similarly from ``quotes'' to "quotes".
* Remove trailing whitespace from lines near other changes.
Deliberately not done: recognition of the consolidation of GNU
fileutils, shellutils, and textutils into coreutils. This happened in
2003, but I wouldn't want anyone to get the idea that the groff port to
DJGPP has been checked since then. _I_ sure haven't done it.
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Fixes half of Savannah #51609 but applies it much more generally.
This is a wide-ranging change, but it makes these notices consistent
with modern copies of the GPLv3 text. (Some of these files are not
GPLv3, but that's where the boilerplate comes from; GPLv2 and LGPLv2.x
used semicolons to separate these clauses instead.)
If the next resync with Autotools regresses some of these, well, that's
a bug in Autotools.
I checked with wc -L, and no file grew its longest line to 81 characters
due to this change.
contrib/hdtbl/hdmisc.tmac-u only:
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Blame me for the rest.
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Remove many quotes (and introduce a few as additional guards) since
groff's build system is generally not set up to properly handle
paths that need quoting.
directory while searching and scanning troffrc and troffrc-end.
Similarly, replace the current directory with the home directory
in the font path.
* Makefile.in (fontpath, tmacpath): Remove current directory.
* src/libs/libgroff/searchpath.cc (search_path::search_path): Add
two parameters `add_home' and `add_current'.
(search_path::~search_path, search_path::command_line_dir,
search_path::open_file): Remove tests for `dirs' being zero.
* src/include/searchpath.h: Adjust.
* src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
`safer_macro_path'.
* src/libs/libgroff/fontfile.cc: Adjust `font_path'.
* src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
* src/roff/troff/input.cc: Use `mac_path', initialized with
`macro_path'.
(process_startup_file): Set `mac_path' to `safer_macro_path'.
* src/roff/troff/env.cc: Use `mac_path'.
* src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
* NEWS, man/roff.man, src/roff/troff/troff.man,
src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Updated.
* src/include/lib.h: Don't include groff-getopt.h for OSF/1.
* aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
* configure.in: Fix typo in comment.
* configure: Regenerated.
* src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
dates.
tmac.doc.old -> doc-old.tmac
tmac.an.old -> an-old.tmac
* tmac/tmac.*: Moved to ...
* tmac/*.tmac: this.
* tmac/man.local: Fix comment.
* tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
Added some `FILES' sections. More use of @...@ directives. Other
minor updates.
* arch/djgpp/README, font/devutf8/NOTES: Updated.
* doc/homepage.ms, doc/groff.texinfo: Updated.
* man/groff.man, man/roff.man: Updated.
* src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* src/preproc/pic/pic.man: Updated.
* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
instead of -mdoc.old.
* src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
* src/roff/nroff/nroff.man: Updated.
* NEWS: Updated.
* tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
* tmac/mm.diff: Removed -- it has no use now since the mm package
is part of groff.
* tmac/*: Removed trailing spaces.
* arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
the tmac subdirectory also).
* configure: Updated.
* arch/djgpp/README, font/devutf8/NOTES: Use it.
* man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
@MACRODIR@ instead of hard-coded directories.