Commit Graph

165 Commits

Author SHA1 Message Date
Jan Tojnar
64ec4fd65d
gimp: Hardcode interpreter paths
The E (extension) line in pygimp.interp prints the following warnings:

GIMP-Warning: Bad interpreter referenced in interpreter file /nix/store/5c91dah385gn70blsn6i5rzncqj3ks0y-gimp-with-plugins-2.10.18/lib/gimp/2.0/interpreters/pygimp.interp: python2
GIMP-Warning: Bad binary format string in interpreter file /nix/store/5c91dah385gn70blsn6i5rzncqj3ks0y-gimp-with-plugins-2.10.18/lib/gimp/2.0/interpreters/pygimp.interp

This means that the py extension will not be registered when python2 is not in PATH. To prevent this, let’s hardcode the absolute python2 path.

https://github.com/NixOS/nixpkgs/issues/60937#issuecomment-653652093

Closes: https://github.com/NixOS/nixpkgs/issues/60937
2020-07-03 22:47:17 +02:00
Jan Tojnar
3b701aa4b6
gimp: Fix interpreter path
GIMP uses python interpreter specified in pygimp.interp file for running Python plug-ins,
so any Python related wrapping is useless. It will pick up and use the python from build PATH.

Let’s use a python environment containing pygtk, which is needed by many plug-ins.

Closes: https://github.com/NixOS/nixpkgs/issues/87883
2020-07-03 21:07:45 +02:00
adisbladis
d7ffb5fa07
gimp: 2.10.18 -> 2.10.20 2020-06-11 20:45:07 +02:00
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
6c14807333
gimp: 2.10.16 → 2.10.18
https://www.gimp.org/news/2020/02/24/gimp-2-10-18-released/
https://gitlab.gnome.org/GNOME/gimp/-/blob/GIMP_2_10_18/NEWS#L11-69
2020-02-27 17:02:00 +01:00
Jan Tojnar
75132e6eb5
gimp: 2.10.14 → 2.10.16
https://gitlab.gnome.org/GNOME/gimp/blob/GIMP_2_10_16/NEWS#L11-211
2020-02-21 12:27:52 +01:00
Jan Tojnar
eeaad8d225
mypaint-brushes: 1.3.0 → 2.0.2 2020-02-18 22:16:06 +01:00
Robin Gloster
ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Jan Tojnar
375c4b110f
gimp: use prefix-relative libdir
Multiple outputs hard-code libdir, which prevents plug-ins to override it in gimpplugindir variable.
2019-12-04 02:33:42 +01:00
Jan Tojnar
646448aa45
gimpPlugin.fourier: 0.4.1 → 0.4.3 2019-11-20 23:46:50 +01:00
Jan Tojnar
b6aded3cd3
gimp: split outputs
We do not want to include gegl headers in the closure (via propagation).
2019-11-20 22:57:53 +01:00
Jan Tojnar
f3a8147404
gimpPlugin.exposureBlend: mark as broken
It produces an error:

	GIMP-Error: Calling error for procedure 'gimp-image-get-active-layer':
	Procedure 'gimp-image-get-active-layer' has been called with an invalid ID for argument 'image'. Most likely a plug-in is trying to work on an image that doesn't exist any longer.

	(script-fu:25123): GLib-WARNING **: 12:41:03.500: (../glib/gerror.c:416):g_error_new_valist: runtime check failed: (domain != 0)
	script-fu-Warning: Error while loading /nix/store/31y1qiyg8fzn07yz6lrnkbja33298gmz-gimp-with-plugins-2.10.14/share/gimp/2.0/scripts/exposure-blend/nds9ds1m18d0wg1b01fch8wyzdwpmr8x-exposure-blend.scm:

	Error: (/nix/store/31y1qiyg8fzn07yz6lrnkbja33298gmz-gimp-with-plugins-2.10.14/share/gimp/2.0/scripts/exposure-blend/nds9ds1m18d0wg1b01fch8wyzdwpmr8x-exposure-blend.scm : 627) Procedure execution of gimp-image-get-active-layer failed on invalid input arguments: Procedure 'gimp-image-get-active-layer' has been called with an invalid ID for argument 'image'. Most likely a plug-in is trying to work on an image that doesn't exist any longer.
2019-11-03 14:43:14 +01:00
Jan Tojnar
e93c38ff7c
gimp-with-plugins: pass all script attributes
to the pluginDerivation
2019-11-03 14:43:14 +01:00
Jan Tojnar
46818a55b1
gimpPlugins.gap: fix build 2019-11-03 14:43:13 +01:00
Jan Tojnar
a73ad445a9
gimpPlugins.waveletSharpen: fix build 2019-11-03 14:43:13 +01:00
Jan Tojnar
8da26cc578
gimp-with-plugins: install plug-ins into subdirs
GIMP 3 will require all plugins to be installed into their own subdirectories, so let’s just do that now.
2019-11-03 14:43:13 +01:00
Jan Tojnar
ae21a2bc60
gimp-with-plugins: fix installing custom scripts
script-fu (Scheme) scripts are not actually loaded from $GIMP2_PLUGINDIR (lib/gimp/2.10) but $GIMP_DATADIR (share/gimp/2.10).
2019-11-03 14:43:12 +01:00
Jan Tojnar
43c3f471b8
gimp: format with nixpkgs-format 2019-11-03 14:43:12 +01:00
Jan Tojnar
c75c6b588a
gimp: 2.10.12 → 2.10.14
https://www.gimp.org/news/2019/10/31/gimp-2-10-14-released/
2019-11-03 14:43:12 +01:00
Silvan Mosberger
1230fc8674
Merge pull request #67809 from Infinisil/propagate-override-args
lib.makeOverridable: Propagate function arguments
2019-10-22 14:37:40 +02:00
Jan Tojnar
d8749430e4
gmic-qt: allow building non-Krita hosts
* Use qt5’s mkDerivation
* Also switch gimpPlugins.gmic to qmic-qt
2019-09-07 19:55:11 +02:00
Silvan Mosberger
a41af6a27b
gimp: Fix derivation detection 2019-08-31 06:50:42 +02:00
Craig Hall
15dd4479cf gimpPlugins.gimplensfun: 0.2.4 -> unstable-2018-10-21
Fixes broken build with exiv2-0.27.1 by using gexiv2 instead
2019-08-14 11:43:00 +01:00
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Daiderd Jordan
bea56ef8ba
gimp: remove cf-private 2019-07-03 22:20:20 +02:00
Jan Tojnar
c421767ca1
gimp: 2.10.10 → 2.10.12
https://www.gimp.org/news/2019/06/12/gimp-2-10-12-released/
2019-06-14 10:32:38 +02:00
Silvan Mosberger
9110185147
Merge pull request #61365 from jtojnar/drop-resynth-0
gimpPlugins.resynthesizer: drop
2019-05-17 03:17:37 +02:00
Jan Tojnar
0fe311844e
gimpPlugins.resynthesizer: update menu comment 2019-05-12 14:58:16 +02:00
Jan Tojnar
2d68295bea
gimpPlugins.resynthesizer: rename from resynthesizer2 2019-05-12 14:41:35 +02:00
Jan Tojnar
d5dfc1cd8b
gimpPlugins: use makeScope 2019-05-12 14:40:30 +02:00
Jan Tojnar
e74e2e838d
gimpPlugins.resynthesizer: drop
It breaks resynthesiser2 and there is actually no reason to keep the ancient version.

https://github.com/bootchk/resynthesizer/issues/63#issuecomment-491591082
2019-05-12 14:31:39 +02:00
Renaud
074c02f90f
Merge pull request #60935 from jluttine/gimp-add-gtk-path
gimp: fix GTK_PATH
2019-05-10 18:04:24 +02:00
Jaakko Luttinen
f9de595e86
gimp: fix GTK_PATH
Fixes #60918.
2019-05-04 21:37:49 +03:00
Jan Tojnar
2d0ea8e6d5
gimpPlugins.resynthesizer2: 2.0.1 → 2.0.3
Fixes makeFlags: $out is not sufficient to install the binaries,
let's use placeholder.

Also update and clean up the expression.
2019-05-04 03:49:17 +02:00
Bob van der Linden
74048e5c93
gimp: /var/run -> /run 2019-04-11 20:05:34 +02:00
Jan Tojnar
810b6e23a6
gimp: 2.10.8 → 2.10.10
https://www.gimp.org/news/2019/04/07/gimp-2-10-10-released/
2019-04-09 16:04:57 +02:00
Matthew Bauer
73a87b57a6 gimp: fix on darwin
Fixes #41071
2018-12-05 13:20:14 -06:00
Jan Tojnar
0655c904bf
Merge pull request #50116 from r-ryantm/auto-update/gegl
gimp: 2.10.6 → 2.10.8
2018-11-10 14:50:33 +01:00
Jan Tojnar
47d439addd
gimp: 2.10.6 → 2.10.8 2018-11-10 14:06:34 +01:00
Piotr Bogdan
d3cfda14fb gimp: get rid of compiler from the runtime closure 2018-11-07 15:21:21 +01:00
Jan Tojnar
4b60e77002
gimp: 2.10.4 → 2.10.6 2018-08-20 15:52:28 +02:00
adisbladis
e9dd449683
gimp: 2.10.2 -> 2.10.4 2018-07-05 19:18:24 +08:00
Gabriel Ebner
69d139befc gimp: add heif support 2018-07-01 14:21:36 +02:00
Matthew Bauer
ee8fa757f3 gimp: cleanup plugin name
All gimp plugins are now prefixed with "gimp-plugin-" to make them
more clear.
2018-05-25 15:48:31 -05:00
Jan Tojnar
d6a68d4b2d
gimp: 2.10.0 → 2.10.2 2018-05-21 00:50:33 +02:00
Matthew Bauer
1d2f7dff36 gimp: only use libgudev on linux
libgudev relies on udev which is a part of systemd. These are very
tightly coupled to Linux so we just enable them on Linux.
2018-05-11 13:55:20 -05:00
Ryan Mulligan
038a0c9a60 treewide: http to https 2018-04-30 21:39:20 -07:00
Will Dietz
4b7b083bcb treewide: stdenv.lib.platforms.gnu -> ... gnu ++ linux
Include all linux platforms.
2018-04-30 18:12:10 -05:00
Jan Tojnar
5c4b687a88
gimp-with-plugins: filter out broken plugins from default selection 2018-04-29 14:29:36 +02:00