Skip to content

Update to Ghostscript 10.01.1, GIMP 2.10.34 and libspectre 0.2.12 #2894

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Apr 20, 2023

Update to Ghostscript 10.01.1 to fix CVE-2023-28879: "Shell in the Ghost" published on April 7th, 2023.

GIMP and libspectre link against libgs, and needed to be rebuilt. While at it, update to the latest versions. GIMP currently crashes.

Remove --enable dynamic

    configure: error: Sorry, (deprecated) dynamic driver support not compatible with hidden symbols - use --disable-hidden-visibility
Currently, `g-ir-scanner` fails to run – probably due to updating our
Python environment.

    $ /usr/bin/g-ir-scanner --version
    Traceback (most recent call last):
      File "/usr/bin/g-ir-scanner", line 98, in <module>
        from giscanner.scannermain import scanner_main
      File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
        from giscanner.ast import Include, Namespace
      File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
        from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
      File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 34, in <module>
        from giscanner._giscanner import SourceScanner as CSourceScanner
    ModuleNotFoundError: No module named 'giscanner._giscanner'

So, update to the latest release, so it’s also rebuild against our current
system Python.

https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/1.76.1/NEWS

Resolves: #2888
[Description][1]:

> Libnsgif is a decoding library for the GIF image file format, written
> in C. It was developed as part of the NetSurf project and is available
> for use by other software under the MIT licence.

This is needed for gegl.

[1]: https://www.netsurf-browser.org/projects/libnsgif/
    [BEE] make -j80 PREFIX=/usr EPREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin LIBEXECDIR=/usr/libexec SYSCONFDIR=/etc SHAREDSTATEDIR=/var LOCALSTATEDIR=/var LIBDIR=/usr/lib INCLUDEDIR=/usr/include DATAROOTDIR=/usr/share DATADIR=/usr/share INFODIR=/usr/share/info LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man DOCDIR=/usr/share/doc/libnsgif
    Makefile:43: /Makefile.top: No such file or directory
    make: *** No rule to make target '/Makefile.top'.  Stop.
Address the warning below:

    WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Upgrading Ghostscript requires a rebuild of GIMP, so update to the
latest version while at it.

    $ ldd /usr/lib/gimp/2.0/plug-ins/file-ps/file-ps | grep libgs
            libgs.so.9 => not found

https://www.gimp.org/news/2023/02/27/gimp-2-10-34-released/
Sign in to join this conversation on GitHub.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant