Subject: CVS commit: pkgsrc/graphics/gimp
Date: 2020-10-08 13:19:15
Message id:

Log Message:
gimp: Update to 2.10.22

* Buildlink iso-codes and libheif.

Overview of Changes from GIMP 2.10.20 to GIMP 2.10.22


  - Verbose version information (`gimp-2.10 -v` on command line, or
    debug output) now displays Flatpak related information when
    available. This is especially useful for debugging (such as the
    exact Flatpak build hash, the runtime version, the installed
    Flatpak extensions, permissions, etc.).
  - OpenCL settings has now been moved to the Playground tab in
  - On stable builds, "Playground" tab is now visible in Preferences if
    any of the experimental features has been enabled, even without the
    CLI option `--show-playground`.


  - "gegl:matting-levin" now the default engine of Foreground Select
    tool (when present, as it is an optional feature) as it performs a
    lot better.
  - GEGL operations now display a "Sample merged" checkbox in Tool
    Options. This will be used when the operation allows to pick a color
    (hence one can pick from the edited layer or from visible data).
  - "Sample merged" now defaults to being activated in Color Picker and
    GEGL tools as it seems the less confusing for beginners who don't
    know of the option yet (according to a small poll we ran).

User interface:

  - In GimpSpinButton, don't propagate Enter key-press events if
    updating the spin-button's value in response changes the entered
    text. This prevents confirming dialogs when hitting Enter after
    entering a math expression in size entries, updating their value
    Likewise, don't propagate Escape key-press events if a new value was
    entered, and restore the original value instead.
  - GimpMemSizeEntry improved to show appropriate binary prefixes
    (kibibyte, mebibyte and gibibyte) instead of decimal ones, to round
    properly when using higher units, and to not lose accuracy when
    possible when displaying in higher units.
  - Several of the biggest pages of the Preferences dialog are now
    scrollable, allowing the dialog to fit on smaller displays.


  - Add a new GIMP_EXPORT_NEEDS_CROP export capability, which causes
    gimp_export_image() to crop the exported image content to the image
    bounds; this is useful for formats that support layers, but have no
    concept of global image bounds, hence cropping is the only way to
    enforce the image bounds.
    When showing the export dialog, give an option to either crop the
    layers to the image bounds, or to resize the image to fit the
  - Content type `image/webp` is now recognized (and not only
    `image/x-webp` as both seem to be in used and this format is
    unfortunately not yet listed in IANA media types (so various content
    types are in use, no clear standard apparently).
  - DDS import is now a bit more permissive, allowing to load some files
    with invalid header flags regarding compression, while we are able
    to know the right compression from other flags. This allows to
    recover invalid DDS files exported by other software.
  - JPEG detection improved to be more generic and reliable.
  - HEIF support improvements:
    - AVIF importing and exporting added (requires libheif 1.8.0+)
    - 10/12-bit importing and exporting now available for HEIC/AVIF
    - NCLX color profile import (link with LittleCMS)
    - Metadata support when importing
    - "Lossless" option is now called "Nearly lossless (YUV420 \ 
      because this is actually what it is, hence previous naming was
  - TIFF support improvements:
    - Add an option to crop the layers to the image bounds when exporting
      individual layers (using GIMP_EXPORT_NEEDS_CROP), since TIFF has no
      concept of global image bounds otherwise. Cropping is enabled
      by default.
    - TIFF export will not override "DocumentName" metadata tag anymore.
    - Stop writing file paths into TIFF DocumentNames as file paths can
      contain confidential information such as usernames and directory
      structures, making the previous behaviour a potential privacy and
      security risk.
    - Fix a file descriptor leak case which may have prevented a file
      from being opened on Windows.
  - Multiple improvements in the PSP import plug-in:
    - support reading raster layers of PSP version > 6,
    - support reading 16-bit integer PSP files,
    - support reading grayscale and indexed PSP files,
    - support PSP images with zero-length layer names,
    - fix wrong layer offset of layers,
    - fix reading layer names with high bit ASCII characters,
    - fix incorrect loading of PSP images with uncompressed channel data,
    - fix reading of creator block data of PSP images,
    - better error messages describing yet unsupported features,
    - improve reader stability by always using the block/chunk length.
  - Spyrogimp now works on Grayscale images and clutters less the undo
  - "Orientation" metadata is now reset whether you accepted to rotate
    the image or not when importing an image.
  - XPM does not export a "None" (transparent) color when unused.
  - BMP always include color masks when exporting BMP with color space
    info, as mandated by BITMAPV5HEADER specification.


  - Add progressive performance logs: progressive logs contain complete
    information after each recorded sample, by writing partial address
    maps at each sample, containing all new addresses introduced by the
    This allows recording complete logs even in cases where they can't
    be properly terminated, such as when GIMP crashes or freezes in the
    middle of the log.
    Progressive logs are disabled by default, since they potentially
    increase the sampling cost. They can be enabled through a toggle
    in the log file-dialog, or through GIMP_PERFORMANCE_LOG_PROGRESSIVE
    environment variable.
    Performance log viewer can now process progressive performance logs
  - Allow controlling performance-log parameters through the UI.


  - new `distcheck` step in Continuous Integration.

Bug fixes:

    #2275, #2668, #2874, #3481, #3868, #4061, #4155, #4328, #4505, #4536,
    #4560, #4816, #5043, #5069, #5208, #5219, #5226, #5232, #5274, #5275,
    #5357, #5358, #5472, #5530, #5584, #5592, #5623, #5630, #5651

Translation updates:

  - Basque, Catalan, Chinese (China), Croatian, Danish, French, German,
    Italian, Japanese, Kazakh, Polish, Russian, Spanish, Swedish, Turkish,