Commit graph

121 commits

Author SHA1 Message Date
jperkin
0a830f96a8 groff: Now requires yacc due to ypp patch. 2020-04-03 19:47:00 +00:00
joerg
6643b51f68 Include config.h before stdlib.h before the overwrite for math.h bails
out otherwise.
2020-03-30 19:32:24 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
rillig
398d303295 textproc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:45:55 +00:00
rillig
768cd99f7f textproc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:43:32 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
ryoon
4a16dca3c7 It seems that libiconv is not needed. Bump PKGREVISION 2019-05-24 16:14:44 +00:00
ryoon
b766855432 Update to 1.22.4
Changelog:
VERSION 1.22.4
==============

Troff
-----

o The `hy' request has been extended.  Value 16 enables hyphenation before
  the last character, and value 32 enables hyphenation after the first
  character.


PDFPIC
------

o PDFPIC has been corrected so the behaviour is the same whether you use the
  PostScript or PDF drivers.  However, this means that any documents which
  were written using the old behaviour will not be rendered correctly if
  using the PDF driver with the new version.

  The change would mean that documents which relied on the previous
  behaviour are likely to have a gap underneath the image which was not
  there before.  If you see this effect there are three ways you can restore
  the previous behaviour:

  Add the line ".nr PDFPIC_NOSPACE 1" to the document before the first call
  to .PDFPIC.

  If it is just a single document which exhibits this behaviour you can run
  groff adding "-rPDFPIC_NOSPACE=1" to the command line.

  If you have many documents which rely on the previous behaviour you can
  set an environment variable "export GROFF_PDFPIC_NOSPACE=1" which will
  restore the previous behaviour for all runs.

  Note that this change has no effect if you were using .PDFPIC with the
  PostScript driver--only if you used it with the PDF driver.


Gropdf
------

o Type 1 font loading is fixed to handle newer Ghostscript versions.

o Handling of glyphs above position 255 is improved to allow many more
  glyphs to be used.

o New macros .pdftransition and .pdfpause are introduced to allow creation
  of presentation slides.  Partially backward-compatible with present.tmac,
  specifically the PAUSE, BLOCKS and BLOCKE commands.  Supports all the
  transition types introduced in PDF v1.5 (see the gropdf man page).


Miscellaneous
-------------

o A new 'configure' option --with-compatibility-wrappers controls how groff
  compatibility wrappers for vendor-provided non-GNU macro sets are
  installed (see ./configure --help).

o eqn2graph, grap2graph, and pic2graph now attempt to adapt to very old
  installed versions of the ImageMagick and GraphicsMagick programs
  "convert".  They search the output of convert's "-help" option, and use
  "-trim" if that string is found; otherwise, the old "-crop 0x0" method
  (which produces incompatible results on versions that _do_ support
  "-trim") is used.  The programs emit a warning to standard error if the
  search fails and the old method is used.

o eqn2graph no longer supports the "-unsafe" option.  It did nothing.

o groffer now supports the output of XHTML.  Use the "--xhtml" or
  "--mode=xhtml" command-line options to generate it.

o Much work has been done, and is ongoing, to make groff's man pages better
  examples for man page writers to follow.  groff_man(7) itself has been
  expanded and largely rewritten to more precisely document the macro
  package's behavior and to be more helpful and accessible to man page
  writers who may never read any other groff documentation.
2019-04-01 16:48:37 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
wiz
d678f8f800 Switch from mdocml to mandoc; remove obsolete references. 2017-08-01 15:09:52 +00:00
leot
6dc3cf8006 Update PLIST.{,docs} in order to fix building of groff without the `groff-docs'
option.
Bump PKGREVISION

Noticed by and thanks to Hiroshi Hakoyama via PR pkg/51896.
2017-01-18 13:44:46 +00:00
leot
de6d3b55a6 Instead of using find(1) in font/devpdf/Makefile.sub just use grep(1) following
what upstream does (`-maxdepth' option can be problematic on some platforms).

Should fix pkg/51332 reported by Hiroshi Hakoyama

From <maya>
2016-08-03 10:31:28 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
jperkin
d1ee7036a4 Use PKGMANDIR. 2016-04-21 08:35:46 +00:00
jperkin
36eaaf6066 Use OPSYSVARS. 2016-02-26 10:24:10 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
richard
311895ca7b Avoid arbitrary decisions wrt troff being present or not to use a g'prefix.
Force it instead and use PKGGNUDIR logic to work it out.
Thanks for the heads up wiz@.
2015-10-15 14:11:20 +00:00
richard
1f860aaf81 Fix symlinks to not be relative and ride last PKGREVISION bump 2015-10-03 07:45:26 +00:00
richard
f6b4fdcbf4 correct last commit by using makeinfo tool in options
ride last PKGREVISION
2015-10-03 07:26:11 +00:00
richard
a160b84c3d gnu updates for groff with special fixup for chem.1 manpage not g' prefixed
add dependency to gtexinfo when building docs
remove special SunOS processing which seems unnecessary now.

TODO: there are still some apparent fonts issues indicated in the build logs
2015-10-02 11:33:14 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
joerg
7d91725cc1 Fix config.guess/config.sub overrides. 2015-03-08 23:29:22 +00:00
wiedi
9bede05d39 SunOS needs __EXTENSIONS__ 2015-01-17 12:10:01 +00:00
wiz
b833f17837 Add patch-ab to distinfo. 2015-01-16 23:28:23 +00:00
wiz
64f365bbfa Remove some patches that are not needed and add comments to the others. 2015-01-08 09:14:58 +00:00
wiz
16a572b4fb Update to 1.22.3:
VERSION 1.22.3
==============

Gxditview
---------

o X11 resources for `gxditview', which were previously installed in
  /usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
  now installed in appresdir=$prefix/lib/X11/app-defaults.  If
  `appresdir' is not a standard X11 resource directory, the environment
  variable XFILESEARCHPATH should be set to this path.  The standard
  default directories depends on the system `libXt'.  Common directories
  include:

   /usr/lib/X11/app-defaults
   /usr/share/X11/app-defaults
   /etc/X11/app-defaults

  Note that if the option `--with-appresdir' is passed to `configure',
  the `prefix' will not be added to `appresdir'.


Glilypond
---------

o This new preprocessor (contributed by Bernd Warken) allows embedding of
  code for GNU LilyPond (http://www.lilypond.org), a music typesetter.  The
  data gets automatically processed and embedded as EPS images.


Gperl
-----

o Bernd Warken contributed a new preprocessor to handle Perl code that can
  be evaluated and then processed by groff.


Gpinyin
-------

o Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
  like `guo2wang2' as `guówáng'.


Pdfroff
-------

o The pdfroff utility script now activates its `--no-toc-relocation' option
  by default, unless a request similar to:

     .if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled

  is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
  that the effect of the `.tm' request is restricted to the document setup
  phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
  but leaves it unset in the setup phase).

  The bundled `spdf.tmac' macro package, which implicitly activates
  `-mpdfmark' for `ms' macro users, ensures that TOC relocation is
  appropriately enabled, when the `.TC' macro is invoked.


Macro Packages
--------------

o The -mom macro package now has full support for eqn, pic, and tbl, as well
  as captioning and labelling of pdf images and preprocessor output.  Lists
  of Figures, Equations, and Tables can now be autogenerated.  PDF_IMAGE has
  a new FRAME option.

o A French introduction to the -me macro package has been added (file
  `meintro_fr.me').

o In -mdoc, command %C is now available, providing a city or place
  reference.


VERSION 1.22.2
==============

Tbl
---

o The character `#' can now be used as an eqn delimiter within tables.


Eqn
---

o A GNU extension

    delim on

  has been added to reactivate delimiters which have been disabled with
  `delim off'.


VERSION 1.22.1
==============

(There was no release 1.22.)

Groff
-----

o A new option `-j' has been added to call the `chem' preprocessor.

Tbl
---

o Improved line numbering support.

Macro Packages
--------------

o Support for the `refer' preprocessor has been added to the -mm macro
  package.

o In -me, the `TH' macro was changed for compatibility with line number
  support in tables.

  `bl' now works inside of blocks.

  The behaviour of centered blocks has been improved.

  Line numbering support has been improved.

o The -mom macro package has reached version 2.0, focusing on PDF output
  with gropdf (using the new `pdfmom' wrapper script).  See the file
  `version-2.html' of the -mom documentation for a list of the many changes.

o Some generic Unicode fallback characters (mainly Roman numerals) have been
  added.

Gropdf
------

o A new driver for generating PDF output directly, contributed by Deri James
  <deri@chuzzlewit.myzen.co.uk>.  Note that this driver is written in Perl,
  thus you need a working Perl installation to run this output device.

Pdfmom
------

o A new wrapper around groff that facilitates the production of PDF
  documents from files formatted with the -mom macros.


VERSION 1.21
============

Troff
-----

o The new `lsm' request specifies a macro to be invoked when leading spaces
  in an input line are encountered (which are removed then).  Number
  registers `lsn' and `lss' hold the number of removed leading spaces and
  the corresponding horizontal space, respectively.

o There is a new warning category `file', enabled by default.  The `mso'
  request emits warnings in this category when the requested macro file does
  not exist.

o The new `class' request assigns a short name to a set of characters
  which can be referred to in the `cflags' request.  This is especially
  useful to control line-breaking and hyphenation rules in CJK languages.

o Three new values for the `cflags' request have been added, which are
  needed for proper CJK support.

    128  prohibit before but allow break after character
    256  prohibit after but allow break before character
    512  allow break before and after character

Tbl
---

o A new global option `nowarn' suppresses warnings if tables are longer than
  the current line width.

Afmtodit
--------

o New option `-o' to specify the name of the output file.

Macro Packages
--------------

o A new macro `%U' has been added to the mdoc package to indicate a URL
  reference within an .Rs/.Re environment.

o Rudimentary support for the Japanese script has been added, most suitable
  for man page handling as output by grotty.  The file `ja.tmac' contains
  the necessary setup to allow line breaks before and after CJK characters
  (with proper exceptions).  Note, however, that no inter-character spacing
  is implemented yet -- this usually causes many warnings about bad line
  breaks.
2015-01-08 09:02:27 +00:00
ryoon
b15754056d Fix SCO OpenServer 5.0.7/3.2 build. 2014-07-18 10:11:35 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
fhajny
4bc0619538 Step back from requiring gmake, remove unneeded bits that break bmake. 2013-09-19 10:11:47 +00:00
fhajny
89ef0677b2 Needs gmake to install chem (fixes at least SunOS). 2013-09-18 09:58:09 +00:00
joerg
317ffbde20 Installs chem now, so add it to the PLIST, fix the interpreter path and
bump revision.
2013-09-17 21:15:37 +00:00
jperkin
479a183b70 Adjust CONFLICTS with mdocml, versions after and including 1.12.0nb3
no longer conflict with this package.

Bump PKGREVISION.
2013-09-12 10:39:24 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
sbd
87b94069aa Revbump for all packages that have USE_TOOLS+=gs 2013-04-24 10:06:47 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
cheusov
bb97a98721 Add CONFLICTS with mdocml and ja-groff; Add LICENSE; Fix pkglint warning 2012-10-21 21:23:45 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
fhajny
50c811fa3f Bypass a troff check in configure to stop introducing an unneeded
g-prefix on SunOS, brings PLIST consistency across operating systems.
2012-05-31 09:24:53 +00:00
hans
38ed99194f Make CFLAGS.SunOS specific to gcc>=4.6
On SunOS, gcc 4.6 and later enable c99 and XPG6 features for c++, but
the configure check for iconv uses plain c and gets a pre-XPG6 prototype
for iconv(). This inconsistency then leads to failure when building
preconv.
2012-03-31 20:17:13 +00:00
hans
c35c3eec01 Set CFLAGS.SunOS to get a XPG6 iconv to fix the build of preconv. 2012-02-29 13:34:24 +00:00
hans
d236be61af Revert libiconv buildlink change, breaks on systems with builtin iconv. 2012-02-29 13:33:00 +00:00
hans
07104ec176 Buildlink against converters/libiconv instead of just depending on it.
Fixes a build problem seen on SunOS, and shouldn't negatively affect
other systems.
2012-02-28 15:09:04 +00:00
tez
2a71947635 Adjust pdfroff security patch to not use '-p' option to mktemp which is
missing on some platforms.  fixes PR#45181
2011-07-27 16:33:25 +00:00
tez
d0e2c7972a Fix many temporary file handling issues, including in pdfroff
(resolves CVE-2009-5044 / SA44999)
Patches copied from:
 http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff?rev=1.2
Modified for pkgsrc and excluded a documentaion change to doc/groff.texinfo
that changes a `makeinfo' is too old warning into a fatal error.

Added patch to make pdfroff.sh use -dSAFER
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538338 for details.
2011-07-19 21:09:38 +00:00
obache
e50522ed12 replace shebang for perl scripts.
Bump PKGREVISION.
2011-04-26 12:07:14 +00:00
tnn
a9dc3bb228 move comment 2010-02-04 13:13:57 +00:00
tnn
589959e9a4 Give up trying to code for the various tmac prefix cases and just
do that part dynamically.
2010-02-04 12:49:03 +00:00
wiz
a52a02562f Drop MAINTAINER. 2009-12-07 00:01:04 +00:00
tnn
14c60a3dd6 resolve lib/charset.alias conflicts. PR pkg/42199 2009-10-21 16:51:46 +00:00