Commit graph

110 commits

Author SHA1 Message Date
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
wiz
cef00728e2 Mark as not make-jobs safe. Fails with -j16 for me. 2009-08-14 15:41:18 +00:00
dholland
3daca2eb4a Rearrange how the conditional plist substitutions are done to be more
flexible. Adjust Solaris case to not expect gan.tmac. Fixes PR 35295.
Bump PKGREVISION as a precaution.
2009-08-01 19:13:15 +00:00
joerg
75fc561a65 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:28:46 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
wiz
45fed580be Update to 1.20.1:
VERSION 1.20.1
==============

A packaging error made it necessary to publish this release.  No
user-visible changes.


VERSION 1.20
============

Groff
-----

o XHTML support has been added to grohtml and can be specified by
  -Txhtml.  This option also utilizes the MathML capability of
  eqn and combines the outputs of both in the final XHTML file.
  Users can also specify the `-P-V' option together with `-Txhtml'
  in groff.  This has the effect of creating an XHTML validator
  button at the bottom of each page.

o Some options have been added to control a new preprocessor,
  `preconv' (see below): `-k' activates it, `-K' sets the input
  encoding, and `-D' sets the default encoding.

o A new environment variable `GROFF_ENCODING' sets the encoding
  of input files; it implies command option `-k'.

Troff
-----

o Two new requests `device' and `devicem' have been added which are
  equivalents to the \X and \Y escapes, respectively.

o A new read-only number register `.br' is available which is set to 1
  if a macro is called as .foo and to 0 if called as 'foo.  This allows to
  reliably modify requests.

    .als bp@orig bp
    .de bp
    .  tm before bp
    .  ie \\n[.br] .bp@orig
    .  el 'bp@orig
    .  tm after bp
    ..

o A new request `fzoom' has been added to adjust the optical size of a
  font in relation to the others.  The zoom factor is given in integer
  multiples of 1/1000th.  In the following example, the CR font is
  magnified by 10% (the zoom factor is 1.1).

    .fam P
    .fzoom CR 1100
    .ps 12
    Palatino and \f[CR]Courier\f[]

  The new number register `.zoom' holds the zoom value of the current font,
  in multiples of 1/1000th.

o The `cflags' request has been extended with a new flag value 64, to be
  used in combination with values 2 (break before character) and 4 (break
  after character).  If set, the hyphenation codes of the surrounding
  characters are ignored.

o A new debugging request, `pev', has been added to print all of the current
  known environments to stderr.  It first prints the state of the current
  environment, then iterates through all of the known environments, printing
  each except the one that is current.

o A new escape `\$^' has been added.  It represents the parameters of a
  macro as if they were an argument to the `ds' request.  This is used by
  `trace.tmac'.

o A new read-only number register `.O' is available which returns the
  current suppression level as set by the `\O' escape.

o The space width emitted by the `\|' and `\^' escape sequences can be
  controlled on a per-font basis.  If there is a glyph named `\|' or `\^',
  respectively (note the leading backslash), defined in the current font
  file, use this glyph's width instead of the default value.

  This behaviour is not new, but hasn't been documented before.

Nroff
-----

o Two new command line options `-w' and `-W' are accepted and passed to
  groff to enable and disable warning messages, respectively.

Preconv
-------

o This is a new preprocessor to convert various input encodings to something
  groff understands (this is, ASCII and \[uXXXX] entities, with `XXXX' a
  hexadecimal number with 4 to 6 digits, representing a Unicode input code).
  Normally, preconv should be invoked with options `-k' and `-K' of groff.
  See the preconv man page for details.

Pic
---

o int(x) now really behaves as documented: It truncates the non-integer part
  of x, this is, it rounds towards zero and not towards the next integer
  less than or equal to x.

o Pic now supports up to 32 macro arguments (and up to 16 on EBCDIC
  platforms).

o Heinz-J
  `yslanted', which can change the shape of boxes into arbitrary
  parallelograms.

Tbl
---

o Latest versions of DWB tbl introduced an `x' column specifier for a single
  column expanded to the line width.  GNU tbl has now been extended to
  support even multiple `x' specifiers within a table.

o To avoid collision with the new `x' specifier, a block formatting macro
  must now be selected with specifier letter `m'.

Eqn
---

o Eric S. Raymond has added a new device type to eqn, MathML.  When
  -TMathML is enabled, eqn now emits MathML formula markup rather than
  groff commands.  The new groff -Txhtml device uses this.

Chem
----

o The preprocessor `chem' was added.  `chem' is a roff language to generate
  chemical structure diagrams.  It generates `pic' output.

Grops
-----

o The PS font definition files have been regenerated with newer AFM versions
  from Adobe's 35 core fonts as present in most Level 2 PS printers.  The
  changes are minor (most notably, the addition of the `Euro' glyph and an
  extended set of kerning values).

  For backwards compatibility, the old set of font definition files is still
  available; for details please read the man page of grops.

Grotty
------

o \D'p...' is now supported if the polygon consists entirely of horizontal
   and vertical lines.

Grohtml
-------

o XHTML support has been added.

o New command line option `-V' (to be used in XHTML mode) to produce an
  XHTML validator button.

o New command line option `-y' to produce a right-justified groff signature
  at the end of the document (in combination with option `-V').

Gxditview
---------

o Support for keyboard navigation has been improved.

o Similar to other X11 applications, there are now two resource files,
  `GXditview' and `GXditview-color'.

Groffer
-------

o `groffer' version 1.* exists now in a shell and a Perl version.

Afmtodit
--------

o New option `-c' to output more font information as comments.

o New option `-k' to suppress output of kerning data.

o New option `-f NAME' to set the internal name of the groff font.

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

o Joachim Walsdorff contributed the `hdtbl' package for the generation of
  tables, using a syntax very similar to the HTML table model.  For
  example, a table with two cells and two rows looks like this:

    .TBL cols=2
    .  TR .TD 1*1 .TD 1*2
    .  TR .TD 2*1 .TD 2*2
    .ETB

  Here the same table using a more expanded syntax:

    .TBL cols=2
    .  TR
    .    TD 1*1
    .    TD 1*2
    .  TR
    .    TD 2*1
    .    TD 2*2
    .ETB

  Tables can be nested; `hdtbl' works without a preprocessor so that the
  full capability of groff's macro engine is available.

  This package currently works with `-Tps' only.

o -mandoc now supports multiple man pages (in either man or mdoc format).

o Fabrice M
  possible to get French localization of the main macro packages (-ms, -mm,
  -me, and -mom, but not -man and -mdoc which are localized differently) by
  appending `-mfr' to the list of macro packages.  Example:

    groff -ms -mfr foo > foo.ps

  Note that latin-9 input encoding is used for French (to support the `oe'
  ligature).

o Swedish macro localization (with `-msv') has been added.

o German macro localization (with `-mde' and `-mden' for traditional and
  new orthography, respectively) has been added.

o Czech macro localization (with `-mcs') has been added.

  Note that latin-2 input encoding is used for Czech.

o A new macro `Dx' has been added to the mdoc package which identifies the
  DragonFly OS.

o If mdoc is used to print multiple man pages (together with the -rcR=0
  command line option), each man page now starts a new page.

o -mtrace has been considerably improved, now showing number and string
  register assignments, among other things.  See the groff_trace man page
  for details.

o The PSPIC macro now works with all devices (producing a hollow
  rectangle on devices which don't support inclusion of PS images) and
  is loaded in troffrc at start-up.

o A new auxiliary macro package `62bit' has been added which provides some
  macros for adding, multiplying, and dividing signed 62bit integers (mainly
  to handle normal groff number operations without risking overflow errors).

o For -ms, Eric S. Raymond contributed support for ancient Bell Labs
  localisms `.SC', `.UC', `.P1', and `.P2'.  The latter three are enabled
  only after .SC is called.

o A new string, `SN-STYLE', has been added to the ms macros, controlling
  the formatting of section numbers in headings defined by `.NH'.

o The new macro package `ptx' provides a template definition for the `.xx'
  macro as needed by GNU ptx (for creating permuted indices).
2009-02-24 20:41:45 +00:00
wiz
1e0c0623db Convert to user-destdir. Fix an interpreter path while here.
Bump PKGREVISION for the latter.
2009-02-16 10:50:23 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
tnn
38cbabdfa1 Yet another tmac PLIST fix.
This whole mess needs to be cleaned up and sanitised.
2008-05-26 17:54:25 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
tnn
4d1371e9be OSF1 needs getopt_long like IRIX. Add another PLIST conditional for OSF1. 2007-08-05 08:47:57 +00:00