Commit Graph

84 Commits

Author SHA1 Message Date
Marco Rebhan
6bc29b9931
gimp: Add desktopToDarwinBundle to generate bundle files 2023-04-25 22:47:24 +02:00
Jan Tojnar
69e4b68ae9 gimp: Expose Python 2 support 2023-03-17 15:22:12 +01:00
Jan Tojnar
ed923bb61d gimp: Use env attribute for environment variables
This is in preparation for __structuredAttrs.
2023-03-17 15:22:12 +01:00
Jan Tojnar
94f5d6e5c2 gimp: Switch to finalAttrs
This will keep the attributes consistent with overrides.
2023-03-17 14:50:47 +01:00
Jan Tojnar
c1a55b8249 gimp: 2.10.32 → 2.10.34
https://www.gimp.org/news/2023/02/27/gimp-2-10-34-released/
https://gitlab.gnome.org/GNOME/gimp/-/compare/GIMP_2_10_32...GIMP_2_10_34
2023-03-01 11:09:49 +01:00
Artturin
226e149145 treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sandro Jäckel
248a982a86
gimp: remove ? null from inputs 2022-11-30 14:40:05 +01:00
Fabián Heredia Montiel
d3b71d535c gimp: condition python2 behind new withPython argument 2022-11-29 19:38:59 -06:00
Jan Tojnar
8dd255b886 gimp: 2.10.30 → 2.10.32
https://www.gimp.org/news/2022/06/14/gimp-2-10-32-released/
2022-06-17 16:57:00 +02:00
Ilya Fedin
db228fed78 gimp: add pygtk dev output to build inputs 2022-06-02 15:09:47 +04:00
Samuel Gräfenstein
10cdd65259 gimp-with-plugins: add meta.mainProgram 2022-03-18 15:18:26 +01:00
Jan Tojnar
e6c3e3d394 gimp: 2.10.28 → 2.10.30
https://www.gimp.org/news/2021/12/21/gimp-2-10-30-released/
2021-12-26 15:21:20 +01:00
Robert Scott
ae4ab6a1b7 gimp: re-enable tests on darwin
pass for me on macos 10.15
2021-11-20 17:57:04 +00:00
Robert Scott
67c0df93ea gimp: fix build on darwin
despite us currently having a gtk2 without `GDK_OSX_BIGSUR` defined,
gimp have gone and spelt it `GDK_OSX_BIG_SUR` so define this
manually anyway
2021-11-20 16:48:52 +00:00
Jan Tojnar
8e2a0342dc gimp: 2.10.24 → 2.10.28
https://www.gimp.org/news/2021/09/18/gimp-2-10-28-released/
473b05ea3a/NEWS (L11)
2021-09-18 12:55:42 +02:00
Jan Tojnar
58fce4e270
gimp: 2.10.22 → 2.10.24
https://www.gimp.org/news/2021/03/29/gimp-2-10-24-released/
2021-05-05 22:42:56 +02:00
Jan Tojnar
39bc2f7abe
gimp: Fix crash without dot
GEGL 0.4.28 started marking introspect action as unavailable when dot is not present.
But GIMP previously required the action to be present at startup, even though it was only ever used in dev builds.
Let’s apply an upstream patch that removes this strict requirement.
2021-03-18 22:18:51 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Jan Tojnar
3000a0f87e
gimp: expose gimpdatadir & gimplibdir 2020-11-10 23:57:44 +01:00
ajs124
5ad305791f gimp: 2.10.20 -> 2.10.22 2020-10-08 02:30:47 +02:00
Jan Tojnar
1e3f09feaa
gimp: reorder the expression
To use more standard layout.
2020-08-17 18:39:14 +02:00
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
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
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
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
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
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
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
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
Jan Tojnar
b0d3ed3484
gimp: 2.8.22 → 2.10.0 2018-04-29 08:39:05 +02:00
Vladimír Čunát
32cd198d8f gimp: remove 2.6, because it's old and vulnerable
CVE-2012-2763 and three others. If we really need to resurrect it,
I think I saw debian could have patches for these somewhere.

Also add linux platforms for 2.8.
2014-02-06 19:56:28 +01:00