Commit Graph

11 Commits

Author SHA1 Message Date
Tony Theodore bc1dab78fd ghostscript: refresh patch 2019-11-03 17:58:07 +11:00
Tony Theodore 3fee463ee2 ghostscript: fix conflicting types
fixes #2424
2019-11-03 17:54:20 +11:00
darealshinji 139a4f5d9c ghostscript 9.26
Update Ghostscript to version 9.26, always hide libgs symbols, use local lcms fork (lcms2mt).
2018-12-08 10:56:29 +11:00
darealshinji 10b0ac88fc more cross-build fixes for Ghostscript 2018-05-28 12:08:07 +10:00
darealshinji d705818b75 ghostscript: improving cross-building
First, run configure with the option `--with-drivers=ALL,display`. Upstream confirmed an error in the build process that keeps the display driver disabled when building a static library, but that driver is needed if you want to use libgs through the wrapper library libspectre. So creating a static library manually from the DLL object files isn't required anymore.

Also a massive update on the patch, mostly to enable real support for `--host` on the configure script (instead of relying on `uname`). Full support for `--build` wasn't added to keep the patch smaller and to not make things more complicated as they already are (for example configure runs itself recursively when CCAUX environment variable was set). ghostscript.mk now builds the needed auxiliary tools in a separate stage (as native binaries) and deletes the unwanted third-party library sources afterwards. This ensures those binaries will run on the build system and keeping the third-party sources on that step will ensure that configuring doesn't fail if i.e. native libjpeg development files aren't found.

Builds on all four MXE targets and the libraries are confirmed to work.
2018-05-28 12:08:07 +10:00
darealshinji d015f573b9
Update ghostscript
Update ghostscript to version 9.23 and simplify the patch (cross-building is now a lot easier).
2018-05-09 12:53:46 +02:00
Tony Theodore 1b1b9c9a9a various packages: run `make refresh-patches` with numbering 2017-11-19 11:29:22 +11:00
Tony Theodore 6bc95c1db6 ghostscript: refresh patch 2017-11-19 11:29:22 +11:00
Boris Nagaev d2d244a9ea fix typos found by misspell tool 2017-09-24 16:37:34 +02:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
darealshinji cb2fe8983c Add package 'ghostscript' 2016-07-20 12:23:32 +02:00