pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gimp-devel gimp-devel: update to 2.99.12.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d46a6e3de5a7
branches:  trunk
changeset: 385038:d46a6e3de5a7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 10 09:24:48 2022 +0000

description:
gimp-devel: update to 2.99.12.

Switch built to use meson.

Overview of Changes from GIMP 2.99.10 to GIMP 2.99.12
=====================================================

Core:

  - Added concept of "hidden item" to a GimpImage. This would allow to
    process non attached items for internal processing more easily.
  - Do not show a crosshair anymore when "Show brush outline" is
    checked and "Show pointer for paint tools" is unchecked, if the
    brush outline cannot be drawn (in which case a fallback 4-arcs
    generic outline showing the size is displayed), for instance because
    using a dynamic changing the size.
  - When both "Show brush outline" and "Show pointer for paint tools"
    are unchecked, show a minimal visual feedback of a few pixels only,
    as inconspicuous as possible, instead of a crosshair.
  - Move and reorganize pointer-related settings in Preferences from
    "Image Windows" to "Input Devices" tabs.
  - On macOS, delay opening new images dropped on the application icon
    in the dock to after GIMP is fully initialized.
  - Some code reorganization and factorization of image colormap and
    palette handling.
  - Language changes will trigger plug-in query() call at next GIMP
    restart. This allows to have strings in query() and stored in GIMP
    config being re-localized. This implies both explicit language
    changes in Preferences or system language changes when GIMP is set
    to follow system language.
  - Keyboard grab removed from the canvas display, hence getting rid of
    annoying grab permission warnings on Wayland.
  - Preferences > Display > Transparency > Check style has now a new
    option "Custom checks" allowing to select any RGB colors.
  - Full migration from intltool to gettext only.
  - The soft-proof profile, soft-proofing rendering intent and whether
    black point compensation is used when soft-proofing are now image
    data. These have also been moved to the Image menu (out of View).
    These 3 simulation data are also stored in the XCF file now.
  - Hacks on canvas rulers and statusbar added in GIMP 2.99.10 for macOS
    triggering too big redraws were removed. This depends on patches
    added to upcoming GTK+ 3.24.35.
  - CMYK color picking and sample point now use babl and the space
    specified by the soft-proof profile set on the image, if any.
  - The "Create New Image" dialog now has settings for the simulation
    profile, intent and black point compensation. This is also shown in
    templates and the "Default Image" tab in Preferences, and has been
    removed from the "Color Management" tab, because these are now first
    and foremost image data.
  - GimpColorFrame is now current image's simulation profile/intent/bpc
    aware. In other words, CMYK shown by the color picker or in sample
    point shows values in the correct simulation space (not in some
    default CMYK space).
  - A new default action to change the current brush size was mapped to
    Alt + right button click.
  - Some Preferences settings have been moved to a new Preferences >
    Canvas Interaction tab.
  - All on-canvas interactions (panning, canvas rotation, etc.) are now
    customizable in Preferences > Canvas Interaction > Modifiers tab. It
    allows to switch/change the modifiers used for an action, or even
    just remove some modifiers mapping (when you never use an action,
    e.g. some people say the canvas rotation is not useful to them).
  - GtkAction-s can also be mapped to modifiers now through the same
    settings.
  - GIMP themes can now have a "gimp-dark.css" file which will be used
    if the "Use dark theme variant if available" option was checked.
  - The FG/BG editor area in the toolbox is now sized relatively to
    toolbox icon size, allowing for it to be much bigger when using big
    icons, or smaller when using small icons (which can e.g. be aligned
    on a very narrow single column for people who appreciate this
    organization).

Tools:

  - The "Fill by line art detection" mode of the Bucket Fill tool got
    the following improvements:
    * New "Stroke borders" option where you can select a paint tool
      (except source tools) to stroke the fill mask before filling with
      the color. The settings will be the ones as set on the
      corresponding tool (except for the color).
    * The options got reorganized in 3 sections (Line Art Detection,
      Line Art Closure and Fill Borders) and some options were reworded.
      This should hopefully make the now many options more
      understandable.
  - Full text layer's text size will now be changed when changing font
    size in the text editor window, when no text is selected.
  - Raise tool options before blinking specific settings widgets when
    some tools fail to work because of various tool options settings
    (e.g. selection tool cannot remove from an empty selection; warp
    tool cannot stroke; move tool cannot move because of the types of
    object to move isn't selected; and so on).

Graphical User Interface:

  - New "Drag to Zoom" mode and speed settings in Preferences. Existing
    drag-to-zoom behavior was linear depending only on pointer direction
    (which makes it more or less time-based if we consider that pointer
    events are regular). The new mode will take the actual distance
    moved into account allowing to go faster or slower by dragging
    further or not. The "speed" settings allows a finer zoom speed
    control for both the old and new modes.
  - Touchpad gesture rotation (2-finger pinch) on canvas now
    implemented. Note that rotation or scaling by pinch are exclusive so
    GIMP will detect the expected behavior through the initial movement
    and will therefore lock on either rotation or scaling for the whole
    duration of the pinch.
  - Slight tweak of the "You will have to restart GIMP" popup: the list
    now uses nicer "bullet point" characters and the nick (short
    description) is shown rather than the internal property name.
  - New soft-proof toggle in status bar to see the soft-proofing status
    and enable/disable it. It is only active when a soft-proof profile
    was set.
  - GimpContainerTreeView (e.g. Layers/Channels/Vectors dockables) now
    have zooming through ctrl+mouse wheel (for preview size).
  - GimpContainerTreeView (e.g. Layers/Channels/Vectors dockables) now
    have zooming with touchpad pinch (touchscreen pinch now kinda exists
    but is not so usable in our tests, at least on Linux through
    libinput) for preview size.
  - Gradient editor now has zooming with touchpad pinch (touchscreen
    pinch not so fancy either, at least on Linux through libinput,
    similar to GimpContainerTreeView case).
  - A new soft-proofing pop-over dialog appears when right-clicking the
    new soft-proof toggle in the status bar. It allows to view or change
    all soft-proofing related settings (whether they are associated to
    the image, such as the profile, intent or black-point compensation;
    or to the view, such as the out-of-gamut check) very easily.
  - New "Default" theme containing a dark and light variant. As the name
    implies, this theme is now made the default theme on new
    installations.
  - New "Compact" theme containing a dark and light variant.

Command Line Interface:

  - Unless only one batch interpreter is available, there is no default
    interpreter anymore (it used to be script-fu). Therefore if you set
    `--batch` but not `--batch-interpreter`, GIMP will output an error
    message and will list the available interpreters.
  - GIMP will stop running the batch commands as soon as one command
    fails (it won't try the following ones).
  - A new `--quit` option allows you to quit GIMP immediately after
    running the batch commands.
  - If `--quit` is set and batch commands are run, the GIMP binary exit
    code will propagate errors from any batch failure. Exit codes are
    taken from command Linux error codes: 0 for success, 69 for service
    unavailable (e.g. setting a non-existing interpreter name), 64 for
    usage (e.g. not specifying any interpreter or calling errors), 70
    for execution errors (bugs in the interpreter plug-in) and 130 for
    canceling the call.

Plug-ins:

  - BigTIFF: our TIFF plug-in now officially supports BigTIFF import and
    export.
    * Import was actually already working transparently if you had
      a recent enough libtiff. Now the recent libtiff is enforced by
      dependency requirements.
    * Export support was added with a checkbox in the interactive dialog
      and a new "bigtiff" argument in the "file-tiff-save" PDB
      procedure.
    * When an interactive export of ClassicTIFF fails for the explicit
      reason of "Maximum TIFF file size exceeded", the export dialog is
      raised again with a message proposing to try again as BigTIFF or
      trying another compression algorithm.
      This allows because discoverability and understandibility of the
      issue, while not forcing BigTIFF export (since it might not be
      supported everywhere).
  - GIF: new option to specify a number of repeat for animated GIF
    (rather than single run vs. infinite loop only).
  - help-browser: rewritten to use GtkAction and GtkApplication, even
    though it's now a deprecated plug-in (though it's a good example for
    porting other plug-ins the same way).
  - PNG:
    * the format does not have any flag for linear RGB, but it can
      simply include a linear profile (or a 1.0 gAMA chunk). Therefore
      since we always attach the profile when importing (or transform
      the gAMA chunk into a profile), we now always load PNG images as
      non-linear backend.
    * Add toggle to choose PNG bit depth behavior.
  - python-fu-eval and plug-in-script-fu-eval ported to new
    GimpBatchProcedure class.
  - JPEG:
    * CMYK export is now possible. It uses the "Soft-proofing"
      profile set on the image.
    * CMYK import ported to GEGL/babl conversion. The CMYK profile in
      the JPEG image will be stored as soft-proof profile on the image.
  - WebP:
    * new option "Use Sharp YUV" available in non-lossless export.
      It renders sharper edges at the cost of a slower export.
    * On export, the "bad image dimensions" error message is now more
      accurate and tells the max dimension possible for WebP images
      (16383 as it's stored on 14 bits).
  - DDS:
    * 16-bit masks now supported.
    * DDS images with single 16-bit channel support added.
    * DDS images with 2 16-bit channels correctly converted to 16-bit
      RGB images.
    * More robust DDS loading.
    * New "Flip image" option: some game engine require a flipped image.
      Rather than flipping, exporting, unflipping process, let's have an
      option to flip the result at export time.
  - script-fu:
    * Various updates to get the API back in shape.
    * Porting doc updated.
    * "script-fu-server" was now extracted into its own separate
      plug-in so that it doesn't need to run permanently with the
      script-fu extension (could be seen as security hazard too) and it
      also makes each of these plug-ins more robust by being on their
      own process each.
    * A new `gimp-script-fu-interpreter-3.0` binary is installed
      globally to be used to create Scheme plug-ins, similarly to other
      plug-ins, in particular in the plug-ins/ directory, not the
      scripts/ directory anymore. Moreover it makes the whole script-fu
      infrastructure much more robust as script-fu individual scripts
      won't crash the whole script-fu extension any longer (they only
      crash themselves).
      Note: this is not a GObject Introspected Scheme binding, just our
      own binding based on script-fu interpreter. Script-fu plug-ins
      still don't have access to the whole of libgimp.
    * New function 'script-fu-register-filter' to declare a multi-layer
      capable script.
    * Many script-fu scripts were ported to newer API.
  - FLI:
    * Internal type usage improvements, mnemonics added, etc.
    * 1-frame animation now loaded correctly (it's not really an
      animation then, yet it should still open!).
    * Better error handling.
    * Layer names now include the delay in ms.
    * More robust FLI/FLC loading, double-checking data rather than
      assuming that the file writer properly followed the specs.
  - Several plug-ins now follow the user-set checkboard color
    preferences, when relevant.
  - RAW data:
    * Improved export dialog with better labels and ported to new dialog
      generation API.
    * Improved import dialog, ported to new dialog generation API, with
      factorized code to more easily handle more cases.
    * All the exportable formats can now be loaded back.
    * "file-raw-load" and "file-raw-save" procedures API are now much
      better with all relevant arguments.
    * "file-hgt-load" doesn't show a dialog anymore when sample spacing
      detection worked correctly since we already have all the necessary
      information.
  - WBMP: new plug-in to load WBPM image files. It is still limited
    support and doesn't support all types of WBMP images.
  - TIFF:
    * 8 and 16-bit CMYK(A) TIFF files can be exported, using the
      image soft-proof profile.
    * Imported CMYK TIFF profiles are now set as soft-proof profile
      on the image.
  - SVG: on import, when parsing fails, GIMP will propose to disable
    size parsing limitations, while explaining this has security
    implications and should only be done on SVG files from trusted
    sources.
  - PSD:
    * Import now uses babl conversion inconditionally, even for CMYK
      images, using the soft-proof profile set on the image.
    * Improved error logging during load.
    * CMYK profile on a CMYK PSD file is now stored as soft-proof
      profile in the image.
    * Added support for extra layer mask: According to the specs the
      extra mask (which they call real user supplied layer mask) is used
      "when both a user mask and a vector mask are present".
      We haven't seen an example that has the extra mask, so not sure
      which of the masks would appear first.
      For now assuming that the extra mask will be first. The advantage
      of adding this here now, is that we won't try to add a mask
      channel as a normal channel.
    * Minimal support of duotone data: on import, a duotone image will
      be imported as grayscale image with an alert and the color
      information will be stored in a parasite; on export, a dialog will
      propose you to re-include the duotone data if the image is still
      grayscale. This allows for a roundtrip in GIMP without losing the
      duotone information.
  - ANI: new import/export support.

API:

  - Changes in libgimpbase:
    * gimp_checks_get_colors() added.
    * gimp_checks_get_shades() removed (replaced by gimp_checks_get_colors())
  - Changes in libgimpcolor:
    * New functions:
      + gimp_color_managed_get_simulation_profile()
      + gimp_color_managed_simulation_profile_changed()
      + gimp_color_managed_get_simulation_bpc()
      + gimp_color_managed_get_simulation_intent()
      + gimp_color_managed_simulation_bpc_changed()
      + gimp_color_managed_simulation_intent_changed()
  - Changes in libgimp:
    * New functions:
      + gimp_image_metadata_save_filter()
      + gimp_check_custom_color1()
      + gimp_check_custom_color2()
      + gimp_procedure_dialog_get_int_radio()
      + gimp_procedure_dialog_get_file_chooser()
      + gimp_image_get_simulation_profile()
      + gimp_image_set_simulation_profile()
      + gimp_image_set_simulation_profile_from_file()
      + gimp_image_get_selected_drawables()
      + gimp_image_get_simulation_bpc()
      + gimp_image_get_simulation_intent()
      + gimp_image_set_simulation_bpc()
      + gimp_image_set_simulation_intent()
    * Removed functions:
      + gimp_plug_in_set_translation_domain()
      + image_get_active_drawable()
      + image_get_active_layer()
      + image_set_active_layer()
      + image_get_active_channel()
      + image_set_active_channel()
      + image_get_active_vectors()
      + image_set_active_vectors()
    * Updated functions:
      + gimp_procedure_dialog_get_widget() now supports
        %G_TYPE_PARAM_FILE and %G_TYPE_PARAM_ENUM properties.
      + gimp_prop_file_chooser_button_new() now works with
        G_PARAM_SPEC_OBJECT having a value_type == G_TYPE_FILE
        (additionally to GIMP_PARAM_SPEC_CONFIG_PATH properties).
    * Functions skipped by bindings:
      + gimp_get_images() (in favor of gimp_list_*() variant)
      + gimp_image_get_layers() (in favor of gimp_image_list_*() variant)
      + gimp_image_get_channels() (in favor of gimp_image_list_*() variant)
      + gimp_image_get_vectors() (in favor of gimp_image_list_*() variant)
      + gimp_image_get_selected_layers() (in favor of gimp_image_list_*()
        variant)
      + gimp_item_get_children() (in favor of gimp_item_list_*() variant)
    * New class:
      + GimpBatchProcedure: procedure usable as a batch interpreter on
        command line.
    * Protocol bumped to handle the check colors passed at call time on
      the wire.
    * Plug-ins are now expected to have their localization in a Gettext
      catalog folder locale/ under their main directory, named the same
      way as this directory (i.e. usually the plug-in name). If the
      catalog is absent, a message will be outputted on stderr. To
      override this behavior, a GimpPlugIn is encouraged to override the
      new set_i18n() method. If it returns FALSE, localization is
      disabled (or it may be implemented in a different way, for
      instance with another system than Gettext); if it returns TRUE,
      you can set a different subfolder and catalog name.
    * The core does not localize menu items from plug-ins anymore. All
      plug-ins are now expected to handle their localization within
      their code. In particular gimp_procedure_set_menu_label() and
      gimp_procedure_set_documentation() should now pass the localized
      text. With gettext, it usually means passing arguments through
      gettext() and not just marking them with N_().
  - Changes in libgimpwidgets:
    * Freedesktop portal implementation of GimpPickButton now checks the
      version of the XDG portal since `PickColor()` API only got added
      in version 2.
    * New classes:
      + GimpIntRadioFrame
    * New functions:
      + gimp_color_notebook_set_simulation()
      + gimp_color_selection_set_simulation()
      + gimp_color_selector_set_simulation()
    * Removed functions:
      + gimp_prop_int_radio_box_new()
    * Updated functions:
      + GimpColorNotebook, GimpColorSelection and GimpColorSelector are
        now ported to babl code and are simulation space aware.
      + GimpPickButton will now use the X11 color picking API as a
        default when GIMP is running on X11 (instead of trying the
        portals first), because it has color space information of the
        display (so we can convert back the color from display space to
        image space); and also on some desktop, the portal looks
        available while it's actually not implemented (hence picking
        fails).
        This fixes or improves the color picking in the Colors dockable,
        in Change Foreground/Background Color dialogs, etc.
  - Changes in PDB:
    * gimp-plug-in-domain-register removed.

Modules:

  - The CMYK color selector is now simulation space aware, i.e. that it
    shows CMYK values in the soft-proof profile space if a soft-proof
    profile has been set.

Translations:

  - New Galician and Georgian translations for the installer.

Build:

  - libtiff dependency's minimum required version bumped to 4.0.0.
  - gexiv2 dependency's minimum required version bumped to 0.14.0.
  - Our meson/Debian CI now runs `meson dist` too.
  - gvfs is marked as an expected dependency for GIMP (as a GIO module)
    on Linux, since it seems we wouldn't have HTTP support without. This
    is only written in the INSTALL file though, no tests are run on
    configure time.
  - The distribution stage now has a new `dev-docs` job containing both
    the C API reference (gi-docgen) and the Python and Javascript (gjs)
    ones (g-ir-doc).
  - The `pdbgen` (generation of PDB source files) build step is finally
    ported to meson too, which is a major step to one day consider this
    build system out of the "experimental" zone.
  - Windows installer's gettext files (.po) will now also contain
    extracted comments from the source to give more context to
    translators.
  - Flatpak manifest upgraded with new version constraints so that the
    flatpak-external-data-checker does not warn wrongly on major update
    when we don't want to or can't update immediately.
  - meson is now recommended for Windows and macOS builds and our
    official installer and DMG respectively are now built (still from
    CI) with meson.
  - Flatpak manifest improved with version constraints for dependencies
    where we should not update just yet (hence don't want new version
    notifications).
  - appstream-util replaced by appstreamcli for AppStream file testing
    (requires appstreamcli 0.15.3 or over).
  - gi-docgen API documentation will now properly link to other API
    namespaces thanks to a new urlmap file.
  - Separate libgimp-scriptfu-3.0 library for a future where it will be
    shared by several binaries.
  - GEGL dependency's minimum required version bumped to 0.4.38.
  - "flatpak" job now uses a gnome-runtime-images migrated to Quay.
  - "win*-nightly" jobs removed.
  - Improved meson infrastructure to support Windows installer languages
    which don't have base language files provided by upstream InnoSetup.
    We started using it for Kabyle (which was showing up as "English"
    otherwise!).
  - After various fixes and implementations of missing build features to
    the meson scripts, we are going to start advising packagers (for all
    platforms) to build GIMP 2.99.12 with meson as a trial by fire to
    make it the new default build system.
  - New "sources-meson" CI job to distribute a tarball built with the
    meson scripts.
  - INSTALL now targets meson build as a test recommendation. We'll see
    if any issue arises from packagers!
  - Improved support for homebrew build on macOS.

Documentation:

  - Draft devel doc for scriptfu v3 script authors.

diffstat:

 graphics/gimp-devel/Makefile                                   |   65 ++-
 graphics/gimp-devel/PLIST                                      |  169 +++++++--
 graphics/gimp-devel/distinfo                                   |   13 +-
 graphics/gimp-devel/patches/patch-aa                           |   15 -
 graphics/gimp-devel/patches/patch-ab                           |   33 -
 graphics/gimp-devel/patches/patch-meson.build                  |   27 +
 graphics/gimp-devel/patches/patch-plug-ins_common_file-heif.c  |   66 +++
 graphics/gimp-devel/patches/patch-tools_extract-vector-icon.sh |   25 +
 8 files changed, 296 insertions(+), 117 deletions(-)

diffs (truncated from 619 to 300 lines):

diff -r daf312a9ce0b -r d46a6e3de5a7 graphics/gimp-devel/Makefile
--- a/graphics/gimp-devel/Makefile      Sat Sep 10 08:25:32 2022 +0000
+++ b/graphics/gimp-devel/Makefile      Sat Sep 10 09:24:48 2022 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2022/08/11 05:08:41 gutteridge Exp $
+# $NetBSD: Makefile,v 1.5 2022/09/10 09:24:48 wiz Exp $
 
-DISTNAME=      gimp-2.99.10
+DISTNAME=      gimp-2.99.12
 PKGNAME=       ${DISTNAME:S/gimp/gimp-devel/}
-PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  https://download.gimp.org/pub/gimp/v${PKGVERSION_NOREV:R}/
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      https://www.gimp.org/
@@ -18,33 +17,24 @@
 DEPENDS+=      glib-networking>=2.36.2:../../net/glib-networking
 DEPENDS+=      xdg-utils-[0-9]*:../../misc/xdg-utils
 DEPENDS+=      ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+#DEPENDS+=     gjs-[0-9]*:../../lang/gjs
 
 CONFLICTS+=    gimp-[0-9]*
 
 USE_LANGUAGES+=                c c++14
-USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 
-USE_TOOLS+=            gmake pkg-config perl
+USE_TOOLS+=            pkg-config perl
 USE_TOOLS+=            intltool msgfmt msgmerge xgettext
 USE_TOOLS+=            gdbus-codegen
 
-GNU_CONFIGURE=         yes
-
-CONFIGURE_ARGS+=       --disable-alsatest
-CONFIGURE_ARGS+=       --disable-glibtest
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+=       --without-linux-input
-
-PKG_SYSCONFSUBDIR=     gimp/2.99
 PKGCONFIG_OVERRIDE=    gimp.pc.in
 UNLIMIT_RESOURCES+=    datasize
 
-# https://gitlab.gnome.org/GNOME/gimp/-/issues/8377
-PKGSRC_USE_STACK_CHECK=        no
-
 # example files
 CHECK_INTERPRETER_SKIP+=       lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/*
+CHECK_INTERPRETER_SKIP+=       lib/gimp/2.99/plug-ins/test-sphere-v3/test-sphere-v3.scm
+CHECK_INTERPRETER_SKIP+=       lib/gimp/2.99/plug-ins/ts-helloworld/ts-helloworld.scm
 
 REPLACE_PYTHON+=       plug-ins/python/*.py
 REPLACE_PYTHON+=       plug-ins/python/*/*.py
@@ -54,25 +44,38 @@
 # GCC 4.x C++14 support is not new enough.
 GCC_REQD+=     5
 
-.include "../../mk/bsd.prefs.mk"
-
-EGDIR=                 ${PREFIX}/share/examples/gimp-2.99
+MAKE_DIRS+=            ${PKG_SYSCONFDIR}/gimp/2.99
+EGDIR=                 ${PREFIX}/share/examples/gimp
 .for f in controllerrc gimp.css gimprc menurc sessionrc templaterc toolrc unitrc
-CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/gimp/2.99/${f}
 .endfor
 
 # checking for xgettext version (>= 0.19)... no
 _TOOLS_USE_PKGSRC.xgettext=    yes
 
-# Ensure we export symbols in the linked shared object.
-#LDFLAGS+=             ${EXPORT_SYMBOLS_LDFLAGS}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+# https://gitlab.gnome.org/GNOME/gimp/-/issues/8604
+MESON_ARGS+=   -Dlinux-input=disabled
+.endif
 
-.if ${OPSYS} == "Darwin"
-PLIST_SUBST+=  GIMP_DEBUG_TOOL_DIR="bin"
-.else
-PLIST_SUBST+=  GIMP_DEBUG_TOOL_DIR="libexec"
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
 .endif
 
+INSTALLATION_DIRS=     share/examples
+
+SUBST_CLASSES+=                python
+SUBST_FILES.python+=   output/plug-ins/python/pygimp.interp
+SUBST_STAGE.python=    post-build
+SUBST_MESSAGE.python=  Fixing interpreter paths.
+SUBST_SED.python+=     -e "s,${BUILDLINK_DIR}/bin/python3,${PYTHONBIN},"
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/etc/gimp/2.99 ${DESTDIR}${PREFIX}/share/examples/gimp
+
 .include "options.mk"
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../archivers/libarchive/buildlink3.mk"
@@ -85,12 +88,13 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.fontconfig+=     fontconfig>=2.12.4
 .include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 BUILDLINK_API_DEPENDS.babl+=           babl>=0.1.92nb1
 .include "../../graphics/babl/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gegl+=           gegl>=0.4.36nb4
+BUILDLINK_API_DEPENDS.gegl+=           gegl>=0.4.38
 .include "../../graphics/gegl/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
+BUILDLINK_API_DEPENDS.gexiv2+=         gexiv2>=0.14
 .include "../../graphics/gexiv2/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/libart/buildlink3.mk"
@@ -104,6 +108,7 @@
 .include "../../graphics/openjpeg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/librsvg/buildlink3.mk"
+BUILDLINK_API_DEPENDS.tiff+=   tiff>=4.0
 .include "../../graphics/tiff/buildlink3.mk"
 .include "../../graphics/libwmf/buildlink3.mk"
 .include "../../lang/vala/buildlink3.mk"
@@ -116,4 +121,6 @@
 .include "../../x11/libICE/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r daf312a9ce0b -r d46a6e3de5a7 graphics/gimp-devel/PLIST
--- a/graphics/gimp-devel/PLIST Sat Sep 10 08:25:32 2022 +0000
+++ b/graphics/gimp-devel/PLIST Sat Sep 10 09:24:48 2022 +0000
@@ -1,12 +1,14 @@
-@comment $NetBSD: PLIST,v 1.2 2022/07/23 09:31:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/09/10 09:24:48 wiz Exp $
 bin/gimp-2.99
 bin/gimp-console-2.99
+bin/gimp-script-fu-interpreter-3.0
 bin/gimp-test-clipboard-2.99
 bin/gimptool-2.99
 include/gimp-3.0/libgimp/gimp.h
 include/gimp-3.0/libgimp/gimp_pdb.h
 include/gimp-3.0/libgimp/gimp_pdb_headers.h
 include/gimp-3.0/libgimp/gimpaspectpreview.h
+include/gimp-3.0/libgimp/gimpbatchprocedure.h
 include/gimp-3.0/libgimp/gimpbrush_pdb.h
 include/gimp-3.0/libgimp/gimpbrushes_pdb.h
 include/gimp-3.0/libgimp/gimpbrushselect.h
@@ -197,6 +199,7 @@
 include/gimp-3.0/libgimpwidgets/gimphintbox.h
 include/gimp-3.0/libgimpwidgets/gimpicons.h
 include/gimp-3.0/libgimpwidgets/gimpintcombobox.h
+include/gimp-3.0/libgimpwidgets/gimpintradioframe.h
 include/gimp-3.0/libgimpwidgets/gimpintstore.h
 include/gimp-3.0/libgimpwidgets/gimplabelcolor.h
 include/gimp-3.0/libgimpwidgets/gimplabeled.h
@@ -237,18 +240,84 @@
 lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/goat-exercise-py3.py
 lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/goat-exercise-vala
 lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/goat-exercise-vala.vala
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ar/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/be/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/bg/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/br/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/bs/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ca/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ca@valencia/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/cs/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/da/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/de/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/dz/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/el/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/en_CA/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/en_GB/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/eo/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/es/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/et/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/eu/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/fa/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/fi/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/fr/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ga/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/gl/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/gu/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/he/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/hr/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/hu/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/id/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/is/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/it/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ja/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ka/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/km/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/kn/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ko/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/lt/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/lv/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/mk/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/mr/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ms/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/my/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/nb/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ne/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/nl/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/nn/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/oc/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/pa/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/pl/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/pt/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/pt_BR/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ro/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/ru/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/rw/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/sk/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/sl/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/sr/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/sr@latin/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/sv/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/tr/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/uk/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/vi/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/xh/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/yi/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/zh_CN/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/zh_HK/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
+lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/locale/zh_TW/LC_MESSAGES/org.gimp.extension.goat-exercises.mo
 lib/gimp/2.99/extensions/org.gimp.extension.goat-exercises/org.gimp.extension.goat-exercises.metainfo.xml
 lib/gimp/2.99/interpreters/default.interp
 lib/gimp/2.99/interpreters/pygimp.interp
-lib/gimp/2.99/modules/libcolor-selector-cmyk.la
-lib/gimp/2.99/modules/libcolor-selector-water.la
-lib/gimp/2.99/modules/libcolor-selector-wheel.la
-lib/gimp/2.99/modules/libcontroller-midi.la
-lib/gimp/2.99/modules/libdisplay-filter-aces-rrt.la
-lib/gimp/2.99/modules/libdisplay-filter-clip-warning.la
-lib/gimp/2.99/modules/libdisplay-filter-color-blind.la
-lib/gimp/2.99/modules/libdisplay-filter-gamma.la
-lib/gimp/2.99/modules/libdisplay-filter-high-contrast.la
+lib/gimp/2.99/modules/libcolor-selector-cmyk.so
+lib/gimp/2.99/modules/libcolor-selector-water.so
+lib/gimp/2.99/modules/libcolor-selector-wheel.so
+lib/gimp/2.99/modules/libcontroller-midi.so
+lib/gimp/2.99/modules/libdisplay-filter-aces-rrt.so
+lib/gimp/2.99/modules/libdisplay-filter-clip-warning.so
+lib/gimp/2.99/modules/libdisplay-filter-color-blind.so
+lib/gimp/2.99/modules/libdisplay-filter-gamma.so
+lib/gimp/2.99/modules/libdisplay-filter-high-contrast.so
 lib/gimp/2.99/plug-ins/align-layers/align-layers
 lib/gimp/2.99/plug-ins/animation-optimize/animation-optimize
 lib/gimp/2.99/plug-ins/animation-play/animation-play
@@ -312,6 +381,7 @@
 lib/gimp/2.99/plug-ins/file-svg/file-svg
 lib/gimp/2.99/plug-ins/file-tga/file-tga
 lib/gimp/2.99/plug-ins/file-tiff/file-tiff
+lib/gimp/2.99/plug-ins/file-wbmp/file-wbmp
 lib/gimp/2.99/plug-ins/file-webp/file-webp
 lib/gimp/2.99/plug-ins/file-wmf/file-wmf
 lib/gimp/2.99/plug-ins/file-xbm/file-xbm
@@ -354,14 +424,17 @@
 lib/gimp/2.99/plug-ins/qbist/qbist
 lib/gimp/2.99/plug-ins/sample-colorize/sample-colorize
 lib/gimp/2.99/plug-ins/screenshot/screenshot
+lib/gimp/2.99/plug-ins/script-fu-server/script-fu-server
 lib/gimp/2.99/plug-ins/script-fu/script-fu
 lib/gimp/2.99/plug-ins/selection-to-path/selection-to-path
 lib/gimp/2.99/plug-ins/smooth-palette/smooth-palette
 lib/gimp/2.99/plug-ins/sparkle/sparkle
 lib/gimp/2.99/plug-ins/sphere-designer/sphere-designer
 lib/gimp/2.99/plug-ins/spyro-plus/spyro-plus.py
+lib/gimp/2.99/plug-ins/test-sphere-v3/test-sphere-v3.scm
 lib/gimp/2.99/plug-ins/tile-small/tile-small
 lib/gimp/2.99/plug-ins/tile/tile
+lib/gimp/2.99/plug-ins/ts-helloworld/ts-helloworld.scm
 lib/gimp/2.99/plug-ins/unit-editor/unit-editor
 lib/gimp/2.99/plug-ins/van-gogh-lic/van-gogh-lic
 lib/gimp/2.99/plug-ins/warp/warp
@@ -369,33 +442,58 @@
 lib/gimp/2.99/plug-ins/web-browser/web-browser
 lib/girepository-1.0/Gimp-3.0.typelib
 lib/girepository-1.0/GimpUi-3.0.typelib
-lib/libgimp-3.0.la
-lib/libgimpbase-3.0.la
-lib/libgimpcolor-3.0.la
-lib/libgimpconfig-3.0.la
-lib/libgimpmath-3.0.la
-lib/libgimpmodule-3.0.la
-lib/libgimpthumb-3.0.la
-lib/libgimpui-3.0.la
-lib/libgimpwidgets-3.0.la
+lib/libgimp-3.0.so
+lib/libgimp-3.0.so.0
+lib/libgimp-3.0.so.0.0.12
+lib/libgimp-scriptfu-3.0.so




Home | Main Index | Thread Index | Old Index