summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/ghostscript
AgeCommit message (Collapse)Author
2024-07-28ghostscript, logrotate, linux-perf: adoptTobias Mayer
2024-06-15Merge pull request #315240 from Cryolitia/ghost-fontAleksana
ghostscript: add output `fonts`
2024-05-28ghostscript: add output `fonts`北雁 Cryolitia
2024-05-22ghostscript: 10.3.0 -> 10.3.1Dmitry Kalinkin
2024-05-16ghostscript: 10.02.1 -> 10.03.0Alexis Hildebrandt
2024-03-21treewide: remove licenses.agpl3Jussi Kuokkanen
2023-11-21ghostscript: 10.02.0 -> 10.02.1Enno Richter
2023-11-05ghostscript: pad headers at link time to prevent install_name_tool failure ↵Vincenzo Mantova
on Darwin (#263833)
2023-09-18ghostscript: 10.01.2 -> 10.02.0Robert Scott
2023-09-09ghostscript.tests.test-corpus-render: unstable-2022-12-01 -> unstable-2023-05-19Robert Scott
2023-07-15Merge #243316: ghostscript: 10.01.1 -> 10.01.2Vladimír Čunát
..into staging-next. This is a topologically earlier re-merge, as it seems fairly important security fix and not that huge rebuild.
2023-07-14ghostscript: 10.01.1 -> 10.01.2Samae
Minor update to counter CVE-2023-36664 Closes #243250
2023-06-26ghostscript: fix dynamic linking of gsx on darwinVincenzo Mantova
2023-05-29ghostscript: don't use lib.optional with a listfigsoda
2023-04-12ghostscript.tests.test-corpus-render: unstable-2020-02-19 -> unstable-2022-12-01Robert Scott
2023-04-12ghostscript: add some key reverse-dependencies to passthru.testsRobert Scott
2023-04-12ghostscript: 9.56.1 -> 10.01.1Robert Scott
2022-10-04ghostscript: use xorg.* packages directly instead of xlibsWrapper indirectionSergei Trofimovich
Validated as no change in `out`, `man`, `doc` outputs with diffoscope on `ghostscript` expression.
2022-04-29ghostscript: 9.55.0 -> 9.56.1Robert Scott
2022-04-23ghostscript: use system-wide openjpegMaximilian Bosch
The following error occurs when using `imagemagickBig`: $ ./result/bin/identify sample.jp2 [1] 699089 IOT instruction (core dumped) ./result/bin/identify sample.jp2 When looking at the call-trace it seems as if certain symbols, e.g. `opj_malloc` are mixed up: #8 0x00007f78c79ad2f5 in MagickSignalHandler.cold () from /nix/store/bqy80qiw6czqh7vsmmmivwdswp9zzjgl-imagemagick-7.1.0-29/lib/libMagickCore-7.Q16HDRI.so.10 #9 <signal handler called> #10 0x00007f78c5a6095f in opj_malloc () from /nix/store/wg6ly83k1k1fjiygiv1jr7li3p6dwsvq-ghostscript-with-X-9.55.0/lib/libgs.so.9 #11 0x00007f78c5a60981 in opj_calloc () from /nix/store/wg6ly83k1k1fjiygiv1jr7li3p6dwsvq-ghostscript-with-X-9.55.0/lib/libgs.so.9 #12 0x00007f78c4f48e24 in opj_create_decompress () from /nix/store/qwalb0kjz1p9c4j48qkk6ql47ds2lnhh-openjpeg-2.4.0/lib/libopenjp2.so.7 The `opj_create_decompress()` is called from the `openjpeg`-integration of `imagemagick` and thus shouldn't affect `ghostscript` at all. However, `ghostscript` (`libgs.so` to be precise) also exposes e.g. `opj_malloc`: $ objdump -t /nix/store/wg6ly83k1k1fjiygiv1jr7li3p6dwsvq-ghostscript-with-X-9.55.0/lib/libgs.so.9.55|grep opj_malloc 0000000000205940 g F .text 000000000000002b opj_malloc Because of that, two incompatible symbols are used in the same process and thus the `identify`-call breaks because the wrong one is used. To work around that I decided to use the system-wide openjpeg instead. I'm not sure why `libgs.so` wants to expose these symbols anyways, but with that workaround the problem is solved. Even though it's mentioned that ghostscript's openjpeg is heavily patched, I think that this is somewhat outdated or at least irrelevant considering that both ArchLinux[1] and Fedora[2] use the system-wide `openjpeg` instead. [1] https://github.com/archlinux/svntogit-packages/blob/bafcb5473b59d5386dd110d1cb249372dce9ea6c/trunk/PKGBUILD#L50 [2] https://src.fedoraproject.org/rpms/ghostscript/blob/e4eec13ab6ace2bad64b740d352964bbf61d1aa7/f/ghostscript.spec#_245
2022-02-23ghostscriptX: remove appendToName to have a consistent package name for repologyFelix Buehler
2022-01-08ghostscript: 9.53.3 -> 9.55.0 (#153239)Robert Scott
leaving new tesseract support disabled for now
2021-11-14Merge remote-tracking branch 'nixpkgs/staging-next' into stagingAlyssa Ross
Conflicts: pkgs/development/tools/parsing/flex/2.6.1.nix
2021-11-13pkgs.misc: remove unused argsMarkus S. Wamser
2021-11-05ghostscript: remove ? null, formatSandro Jäckel
2021-11-05ghostscript: fix cross-compileArtturin
zlib has to be in nativeBuildInputs too because its run during the build, i think.
2021-10-11ghostscript: set meta.mainProgramSamuel Gräfenstein
2021-09-12ghostscript: add passthru.tests.test-corpus-renderRobert Scott
this simply attempts rendering every ps/eps/pdf file in the ghostscript test corpus
2021-09-12Merge pull request #137421 from risicle/ris-ghostscript-install-testsRobert Scott
ghostscript: disable checkPhase, expand installCheckPhase
2021-09-11ghostscript: disable checkPhase, expand installCheckPhaseRobert Scott
upon closer inspection, `make check` does little except rebuild everything with some different options. ghostscript has a python-based test suite, but it looks like an unmaintained disaster zone. so the best we can probably do for now is ensure we can render all the provided examples.
2021-09-11ghostscript: add patch for CVE-2021-3781Timothy
2021-01-16treewide: stdenv.lib -> libBen Siraphob
2020-11-25ghostscript: fix broken rpath on DarwinSirio Balmelli
Dynamic library name on Darwin contains only 'maj.min' eg "9.53"; the build however used $version to set rpath; this broke on 2029ca37 when $version went from "9.52" to "9.53.3". Add a call to 'gs' in installCheckPhase, to break the build if dylib issues arise in the future. Signed-off-by: Sirio Balmelli <sirio@b-ad.ch> Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-11-01ghostscript: clean upJan Tojnar
* Do not use pkgconfig alias. * Move version & hash inline.
2020-11-01ghostscript: 9.52 -> 9.53.3TredwellGit
https://www.ghostscript.com/doc/9.53.3/News.htm
2020-08-24ghostscript: add patch for CVE-2020-15900Robert Scott
2020-06-29ghostscript: fix buildAlyssa Ross
This hack is no longer necessary, since multiple-outputs.sh has been fixed to install docs in the right location.
2020-06-04ghostscript: 9.50 -> 9.52Martin Milata
https://www.ghostscript.com/doc/9.51/News.htm https://www.ghostscript.com/doc/9.52/News.htm
2020-05-01ghostscript: apply patch to fix parallel buildBenno Fünfstück
The build process of ghostscript has missing dependencies, causing failures in parallel builds (see hydra build https://hydra.nixos.org/build/117095669/, reported as ghostscript bug https://bugs.ghostscript.com/show_bug.cgi?id=702364 here)
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly
2019-12-31treewide: configureFlags is a flat listRobin Gloster
2019-11-16ghostscript: add patch for CVE-2019-14869Robert Scott
2019-10-29ghostscript: 9.27 -> 9.50Robert Scott
2019-10-22ghostscript: add patches for CVE-2019-10216, CVE-2019-14811, CVE-2019-14812, ↵Robert Scott
CVE-2019-14813 and most of CVE-2019-14817 the latter's patch is only partially applied because it doesn't apply cleanly to 9.27, still the fixes that do apply work and are better than nothing
2019-10-22ghostscript: 9.26 -> 9.27 (security)Robert Scott
2019-08-17treewide: name -> pnamevolth
2019-05-24ghostscript: add patches for CVE-2019-3839Robert Scott
2019-03-26ghostscript: add patch for CVE-2019-6116Pierre Bourdon
This is tagged as version 9.26a in the ghostpdl repo, but unfortunately there are no tarballs released with that version number so far. We'll continue calling this version 9.26 for now for simplicity's sake (and we can switch to 9.26a and remove the patch when it's properly released). Fixes #58262 Fixes #58089
2019-03-11ghostscript: link against "systemwide" liblcms2Pierre Bourdon
GS ships with a fork of lcms2 ("lcms2mt"), but the ABI separation between the fork and the original seems insufficient. If libgs is linked alongside liblcms2 (for example, this is the case with imagemagick) then it will call into the original library instead of the fork, causing segfaults. Follow the example of both Arch and Debian in this regard -- they both use the systemwide lib instead of the fork.
2019-02-03ghostscript: move defaults to package fileJan Malakhovski