Commit Graph

119 Commits

Author SHA1 Message Date
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Eman Resu
9d26adcd20 treewide: avoid using singleton lists for licenses 2026-07-15 13:56:52 -04:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Luna Simons
e7912e7678 gimp: 3.0.8 -> 3.2.4
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2026-05-29 22:32:35 -04:00
Andrew Kvalheim
4db32a86dd gimpPlugins.lightning: add version
Reference: ffcde7400f/README
2026-05-29 11:43:47 -07:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Felix Buehler
bd69c59e31 gimpPlugins.resynthesizer: 2.0.3 -> 3.0 2025-11-29 20:27:53 +01:00
Michael Daniels
d971b714f3 gimpPlugins.exposureBlend: drop
Was marked broken in 2019.

Dropping per RFC 180, and not leaving an alias because it's been "throwing" for 6 years.
2025-10-12 20:53:01 -04:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Jan Tojnar
328415ccd6 gimp: 2.99.14-unstable-2023-03-17 → 3.0.0-RC1
https://www.gimp.org/news/2023/07/09/gimp-2-99-16-released/
https://www.gimp.org/news/2024/02/21/gimp-2-99-18-released/
https://www.gimp.org/news/2024/11/06/gimp-3-0-RC1-released/
ad7a2e53eb...GIMP_3_0_0_RC1

- gtk-mac-integration dependency removed df4ed9c1ec
- Python plug-in mandatory 93cc81281c
- Only Lua 5.1 is supported 7037297526
- Fixes gi-docgen and libjxl.

Had to add `adwaita-icon-theme` to `XDG_DATA_DIRS` at check time, or tests would fail:

    Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Default (gtk-icon-theme-error-quark, 0)

No longer builds on Darwin.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2025-04-15 10:02:49 +02:00
Jan Tojnar
bf0702f01b gimp-with-plugins: prepare for GIMP 3
The `gimpPlugins` should now support both versions.
2025-04-15 10:01:46 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Reno Dakota
517eb6898a gimpPlugins.gimplensfun: fix clang build 2025-01-01 03:04:13 +00:00
Reno Dakota
5ab8a81f72 gimpPlugins.gap: drop
unmaintained and broken. Also removed from debian and fedora
2025-01-01 02:38:23 +00:00
Reno Dakota
d47b905de6 gimpPlugins.bimp: fix gcc-14 build
workaround for `https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/411`
2025-01-01 01:13:51 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Weijia Wang
a86e263b95 gimpPlugins.gap: mark as linux-only 2024-12-07 02:42:25 +01:00
Weijia Wang
a7140ff3f0 gimpPlugins.gap: fix aarch64-linux build 2024-12-07 02:42:11 +01:00
Weijia Wang
448b2e3a75 gimpPlugins.bimp: fix darwin build 2024-12-07 02:41:56 +01:00
Jörg Thalheim
7d751654ec Merge branch 'master' into staging-next 2024-09-22 15:51:19 +02:00
LuoChen
3af6010640 gimpPlugins.farbfeld: tidy up to fix nixd warnings 2024-09-20 10:03:11 +08:00
Yueh-Shun Li
21c0129841 treewide: handle prePhases __structuredAttrs-agnostically
Always specify the prePhases attribute as a list instead of a string.

Append elements to the prePhases Bash variable using appendToVar
instead of string or Bash array concatenation.
2024-09-03 05:33:59 +08:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Sefa Eyeoglu
26013573a7 gimpPlugins.gap: patch ffmpeg to avoid asm error
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-13 20:55:22 +02:00
Sefa Eyeoglu
6814bef1ed gimpPlugins.gap: 2.6.0 -> 2.6.0-unstable-2023-05-20
Fixes https://github.com/NixOS/nixpkgs/issues/294707

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-03-10 12:57:45 +01:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Jan Tojnar
4b023832f8 gimpPlugins.resynthesizer: Mark as broken for GIMP without 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
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
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
Samuel Gräfenstein
0c890f5866 treewide: remove samuelgrf from maintainers 2022-04-22 23:21:58 +02: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
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
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
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
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