Commit Graph

216 Commits

Author SHA1 Message Date
Jan Tojnar
4b023832f8 gimpPlugins.resynthesizer: Mark as broken for GIMP without Python 2 support 2023-03-17 15:22:12 +01: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
29638c4a7e gimp-with-plugins: Use consistent GIMP version
In case `gimp` attribute from `gimpPlugins` scope is overridden to something different than the top-level one.
2023-03-17 15:04:32 +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
Felix Buehler
db348eb0d6 inormalize/minc-widgets/gimp-plugins: use pname & version 2023-02-12 22:21:44 +01: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
Sergei Trofimovich
39f0317f03
Merge pull request #176940 from trofi/workaround-fno-common-for-gimpPlugins.waveletSharpen
gimpPlugins.waveletSharpen: add -fcommon workaround
2022-06-15 06:51:50 +00:00
Sergei Trofimovich
6fd94e9932 gimpPlugins.waveletSharpen: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    ld: interface.o:(.bss+0xe0): multiple definition of `fimg'; plugin.o:(.bss+0x40): first defined here
2022-06-08 20:02:03 +01:00
Sergei Trofimovich
ac8d9e9e01 gimpPlugins.lqrPlugin: pull upstream fix for -fno-common toolchains
Without the change build fails on upstream gcc-10 as:

    ld: interface_aux.o:src/interface_aux.c:55: multiple definition of
      `dlg'; interface.o:src/interface.c💯 first defined here
2022-06-08 19:56:43 +01:00
Ilya Fedin
db228fed78 gimp: add pygtk dev output to build inputs 2022-06-02 15:09:47 +04:00
Samuel Gräfenstein
0c890f5866
treewide: remove samuelgrf from maintainers 2022-04-22 23:21:58 +02:00
Lassulus
91771f3b50
Merge pull request #163031 from samuelgrf/gimpPlugins.bimp-init-at-2.6
gimpPlugins.bimp: init at 2.6
2022-04-18 22:03:50 +01:00
Samuel Gräfenstein
10cdd65259 gimp-with-plugins: add meta.mainProgram 2022-03-18 15:18:26 +01:00
Samuel Gräfenstein
75669c90ab
gimpPlugins.bimp: init at 2.6
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2022-03-13 08:40:39 +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
Sandro
48e11eb977
Merge pull request #148430 from jtojnar/gimp-texturize 2021-12-05 02:01:51 +01:00
Robert Scott
0abc16608d
Merge pull request #146778 from risicle/ris-gimp-darwin
gimp: re-enable tests on darwin
2021-12-03 19:10:32 +00:00
Jan Tojnar
ce494f547f gimpPlugins.texturize: 2.2.2017-07-28 → 2.2+unstable=2021-12-03
No longer broken, switched to Meson.
2021-12-03 13:49:03 +01:00
Robert Scott
a66592d763 gimpPlugins.fourier: fix build on clang 2021-11-20 16:58:04 -05: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
Felix Buehler
148221d906 gimp-plugins: deprecate phases 2021-08-12 22:21:53 +02:00
Jan Tojnar
c007fb4026
gimpPlugins.pluginDerivation: Fix name
The name should not contain the gimp version, otherwise parseDrvName will consider it the gimp package.

Fixes: https://github.com/NixOS/nixpkgs/issues/114995
2021-05-17 23:47:27 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47: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
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Nikolay Korotkiy
883d6ef6e9
gimpPlugins.farbfeld: init at 2019-08-12 2021-02-18 22:43:17 +03:00
Jan Tojnar
32d3da48bc
gimpPlugins: Fix pluginDerivation’s installPlugins
`installPlugins` command installed stuff into directories based on package name
but GIMP actually requires the plug-in executable to match the directory,
so the plug-ins could not be loaded.

efae55a73e

Let’s update `installPlugins` and also rename since the old broken usage had different semantics.

Scripts work the old way.
2021-02-11 02:22:23 +01:00
Jan Tojnar
7ec9410c6a
gimpPlugins.fourier: fix loading
Turns out there was a pre-compiled binary in the tarball,
which was installed instead of building our own binary.
That means RPATH was not set properly,
and the plug-in could not find libgimp.
2021-02-11 02:05:37 +01:00
Justin Humm
ef5475235c glimpse: init at 0.2.0
Co-authored-by: Louis Bettens <louis@bettens.info>
Co-authored-by: ash lea <example@thisismyactual.email>
2021-01-30 20:41:57 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Florian Klink
038de4c5b1 ufraw: remove
This is broken and unmaintained. nufraw seems to be a drop-in
alternative, but is currently broken (see
https://github.com/NixOS/nixpkgs/pull/108993#issuecomment-757988146).

Using Darktable seems to be the reasonable choice for now.

Closes https://github.com/NixOS/nixpkgs/issues/97946.
2021-01-13 00:30:46 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar
aa96bd294b
gimpPlugins: include GIMP into the scope
So that it can be easily overridden.

Also clean up, update usage comment for this century and remove alias.
2020-11-11 14:41:15 +01:00
Jan Tojnar
f4c513125d
gimpPlugins.lqrPlugin: 0.7.1 → 0.7.2
https://github.com/carlobaldassi/gimp-lqr-plugin/compare/v0.7.1...v0.7.2

Also switch to GitHub upstream and use installPhase from generic builder (thanks to the pkg-config variables).
2020-11-11 00:16:39 +01:00
Jan Tojnar
a84a2de0ae
gimpPlugins: clean up using gimp.targetLibDir 2020-11-11 00:14:16 +01:00
Jan Tojnar
3000a0f87e
gimp: expose gimpdatadir & gimplibdir 2020-11-10 23:57:44 +01:00
Justin Humm
0e9cccac81 gimpPlugins: replace references to registry.gimp.org
https://registry.gimp.org/ currently directs to a post [0] pronouncing
it dead. A readonly mirror is available at [1].

Also bumped:
- lqrPlugin: 0.6.1 -> 0.7.1
- removed rainbowPlasma, lightningGate as they were commented anyway.

[0] https://www.gimp.org/registry/
[1] https://github.com/pixlsus/registry.gimp.org_static
2020-11-10 23:49:46 +01:00
freezeboy
17ee53c4e3 gimpPlugins.focusblur: remove 2020-11-02 02:19:57 +01:00
ajs124
5ad305791f gimp: 2.10.20 -> 2.10.22 2020-10-08 02:30:47 +02:00