===> The following configuration options are available for groff-1.24.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
UCHARDET=on: Automatic encoding detection in preconv(1)
===> Use 'make config' to modify these settings
textproc/mandoc: add CONFLICTS_INSTALL for groff
mandoc and groff both install /usr/local/bin/soelim. Mark the conflict
so pkg can warn users before installation.
PR: 272956
Approved by: bapt@FreeBSD.org (maintainer timeout)
textproc/groff: Clean and improve the port
* Define directory layout directly via MAKE_ARGS instead of working
around predefined defaults via post-install stances.
Approved by: db@, yuri@ (Mentors, implicit)
Differential Revision: https://reviews.freebsd.org/D55637
textproc/groff: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because textproc/groff's Makefile does not explicitly set its C++
standard, this leads to several errors:
src/preproc/grn/hdb.cpp:38:15: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
int DBGetType(register char *s);
^~~~~~~~~
src/preproc/grn/hdb.cpp:64:3: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
register ELT *temp;
^~~~~~~~~
src/preproc/grn/hdb.cpp:83:8: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
DBRead(register FILE *file)
^~~~~~~~~
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/groff: allow to build preconv(1) without encoding autodetection
After commit f515b0e657e7, I've received another complaint that, quote,
"the number of dependencies of [this] groff thing is quite unreasonable"
and entails installing e.g. Ninja and Meson, which in turn pulls Python,
etc. This happens because `textproc/uchardet' which can be used by the
preconv(1) utility for automatic encoding detection is built with CMake.
As this dependency is optional upstream, allow conservative ports users
to disable it and thus avoid pulling CMake and all that stuff.
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
Drop workaround for qemu-user-static hang after r517350
GSlice as used by qemu-user still aborts due to low RLIMIT_VMEM in an
emulated application but no longer hangs. While the behavior differs
from real hardware it matches the one from before r456518 that was
hardcoded as gl_cv_func_printf_enomem=no workaround.
PR: 224740
groff: remove X11 option and dependency
Now that groff is required for manpages that are not supported by mandoc
the default dependency on X11 has become a big concern for many people.
From now the entire X11 option has been removed as it is only needed for
legacy part of groff that have little end user value.
The other part that was dragging in all the X11 dependencies was the ghostscript
dependency which is needed for 2 cases:
1. find the path of the urw fonts which is needed for pdf generation. the
configure script has been patched to stop using ghostscript to find that path,
but directly use the one provided.
2. the html driver which calls at runtime the gs binary along with some binaries
provided by the netpbm package. Given how little use it is, add a message to
tell the users to manually install ghostscript and netpbm as optional dependency
if they do need to use groff -Thtml.
Requested by: many
Fix groff build with libc++ 9.0.0
Because libc++ 9.0.0 now includes <math.h> from <stdlib.h>, groff fails
to build with an error similar to:
In file included from src/libs/libgroff/assert.cpp:20:
In file included from /usr/include/c++/v1/stdlib.h:100:
./lib/math.h:38:3: error: "Please include config.h first."
#error "Please include config.h first."
^
./lib/math.h:40:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
_GL_INLINE_HEADER_BEGIN
^
Fix this in the least intrusive way, by simply including config.h
instead of emitting an error message.
Approved by: bapt (maintainer)
PR: 240701
MFH: 2019Q3
textproc/groff: Fix build/packaging with URWFONTS disabled
With URWFONTS disabled, the groff build fails:
pdfroff: installation problem: cannot find GhostScript interpreter
*** FATAL INSTALLATION ERROR ***
'pdfroff' requires a GhostScript interpreter to convert PostScript to PDF.
Since you do not appear to have one installed, 'pdfroff' connot continue.
This change provides configure with a more explicit argument to disable
ghostscript, vs the CONFIGURE_ENV method [1] introduced in ports 499077
after ports r499075 introduced the option.
Update pkg-plist to mark files not conditional on this option.
PR: 237615
Submitted by: <fullermd over-yonder net> [1]
Approved by: portmgr (blanket: build fix, just fix it)
MFH: no (not affected)
Fix configure still detecting ghostscript if installed and URWFONTS disabled
Fix plist when URWFONTS is disabled
Reported by: Zeus Panchenko <zeus@ibs.dn.ua>
Add a new option URWFONTS
This options allows to disable at build time dependency on gsfonts and
ghostcript, to reduce the number of dependency for minimal setup.
Note that ghostscript and gsfonts are only needed at build time otherwise (mark
ghostscritp as such in any case now) and they are needed for some usage of
gropdf.
Reported by: Zeus Panchenko <zeus@ibs.dn.ua>
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
Mark some ports failing to package on armv6, with errors classified as
"install_error".
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Make MAKE_JOBS_UNSAFE, tries to use stuff before building them, for example:
/wrkdirs/usr/ports/textproc/groff/work/groff-1.22.2/src/devices/gropdf/pdfmom:
not found
gmake[3]: *** [Makefile.sub:117: examples/letter.pdf] Error 127
While there, remove the bsd.port.pre/post inclusion.
Sponsored by: Absolight
Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.
Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.
Fix print/ghostscript9-agpl-base to install eps2write.
Update math/asymptote to 2.37 to support newer Ghostscript.
PR: 208159
Exp-run by: antoine
Approved by: portmgr (antoine)
- Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base
Installs Ghostscript binary, libgs, and related files.
These ports do not depend on X11 libraries (i.e. x11* devices
are not available). USES=ghostscript will set dependency on
one of them depending on GHOSTSCRIPT_DEFAULT.
The default device is set to "display" or "bbox".
* print/ghostscript{7,8,9,9-agpl}-x11
Installs a shared library which provides X11 support to
the installed Ghostscript binaries. x11* devices will be
(Only the first 15 lines of the commit message are shown above )
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl
PR: 201201 (exp-run)
Approved by: portmgr (mat@)
Exp run by: antione@ (previous patch)
Differential Revision: https://reviews.freebsd.org/D2938
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
Merge print/psutils-a4 and print/psutils-letter into a single port
print/psutils. The default paper size in the programs can be set via
libpaper ($PAPERSIZE or etc/papersize configuration file).
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi)