[Bug 228546] [patch] print/ghostscript9-agpl-base: update to 9.23

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 27 15:47:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228546

            Bug ID: 228546
           Summary: [patch] print/ghostscript9-agpl-base: update to 9.23
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: doceng at FreeBSD.org
          Reporter: tijl at FreeBSD.org
             Flags: maintainer-feedback?(doceng at FreeBSD.org)
          Assignee: doceng at FreeBSD.org

Created attachment 193764
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193764&action=edit
patch

The attached patch cleans up print/ghostscript9-agpl-base and
print/ghostscript9-agpl-x11 and updates them to version 9.23.  It also updates
graphics/poppler-data to 0.4.9 and lets these ports share the CMap data.

Details for print/ghostscript9-agpl-base:
- Update to 9.23.
- Remove old MASTER_SITES.
- Drop external epag device.
- Always use fontconfig to find fonts.
- Use ports openjpeg instead of bundled.
- Use bundled lcms2, because upstream forked it.
- Drop dependency on gsfonts.  Newer versions of the fonts are already
included.
- Depend on poppler-data for CMap files.  It has the same maps except
Identity-H, Identity-UTF16-H, and Identity-V.
- Resolve conflict with gambc by moving bin/gsc to bin/gs instead of
symlinking.
- Configure with --with-libiconv=maybe instead of --with-libiconv=native to
prevent detecting libiconv from converters/libiconv if it happens to be
installed.  Also remove the ICONV option because it's part of the base system
in all supported versions of FreeBSD.
- Enable thread safety.
- Remove all driver options and simply build with --with-drivers=ALL.  They
don't take up much space and don't require additional dependencies so options
don't provide much value.  This makes the port a lot easier to maintain.
- Set the internal font patch to ${LOCALBASE}/share/fonts because the upstream
default doesn't make much sense on FreeBSD.
- Make dependency on libijs optional because it only seems to be used by
print/hpijs which is deprecated.
- Extract all directories and remove unwanted directories in post-patch so
contents can be examined after 'make extract'.
- Strip gs and libgs.so.  Reported by stage-qa.
- Install color profiles in share/color/icc, where other programs can find
them.
- Remove old patches.

Details for print/ghostscript9-agpl-x11:
- Keep the Makefile similar to ghostscript9-agpl-base Makefile.
- Set PATCHDIR to ghostscript9-agpl-base/files so patches are shared.

Details for graphics/poppler-data:
- Update to 0.4.9.
- Replace post-patch with MAKE_ARGS.
- Add post-install to make all CMap files available in share/cmap so
Ghostscript can use them too.  Unfortunately, Poppler requires these files
organised in subdirectories and Ghostscript wants them all in one directory,
hence the hardlinks.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list