Skip to content

Commit 97b909b

Browse files
committed
Upgrade #94: [Makefile] GIMP3 compatibility
- Specify the batch script interpreter to use; GIMP3 provides multiple. - Use `gimp-console` instead of `gimp` to avoid a non-interactive mode issue[1]. This doesn't solve all compatibility problems with GIMP3 yet; we also need to resolve the removal of a `gimp-image-get-active-layer` API function in GIMP3. The changes* here are intended to be backwards-compatible to GIMP2 and have been tested GIMP2.10.34 on Debian stable (bookworm), and also with GIMP3.0.0 RC2 to build the OpenGFX 7.1 sources. - [1] https://gitlab.gnome.org/GNOME/gimp/-/issues/12042 *NB: the `which` command has been superseded by `command -v` since v7.1 in VCS, so a small patch adjustment is required if backporting.
1 parent 0dc8ced commit 97b909b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ GREP ?= grep
9797
PYTHON ?= python
9898

9999
# Graphics processing
100-
GIMP ?= $(shell command -v gimp)
101-
GIMP_FLAGS ?= -n -i
100+
GIMP ?= $(shell command -v gimp-console)
101+
GIMP_FLAGS ?= -n -i --batch-interpreter=plug-in-script-fu-eval
102102

103103
# NML
104104
NML ?= nmlc

0 commit comments

Comments
 (0)