Commit graph

78 commits

Author SHA1 Message Date
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
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
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
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Jan Tojnar 646448aa45
gimpPlugin.fourier: 0.4.1 → 0.4.3 2019-11-20 23:46:50 +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 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
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
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
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
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
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 4779556ed1
gimpPlugins.texturize: mark as broken 2018-04-29 14:23:46 +02:00
Jan Tojnar 518fb36dcb
gimpPlugins.focusblur: mark as broken 2018-04-29 14:23:36 +02:00
Jan Tojnar 4f420c6802
gmic: 2.2.1 → 2.2.2 + build gimpPlugin 2018-04-29 09:14:19 +02:00
Jan Tojnar 63a234c4a7
ufraw: build gimp plugin 2018-04-29 08:39:06 +02:00
Jan Tojnar 882682827a
gimpPlugins.lqrPlugin: use liblqr1 from pkgs 2018-04-29 08:39:06 +02:00
Jan Tojnar b0d3ed3484
gimp: 2.8.22 → 2.10.0 2018-04-29 08:39:05 +02:00
Orivej Desh 52c5386cd9 gimpPlugins.texturize: 2.1 -> 2.2.2017-07-28
The old source is gone, the author has migrated to github.
2017-11-16 00:55:49 +00:00
Alexander V. Nikolaev db82435660 gimp: promote intltool to default nativeBuildDepends
It used by gimp itself (so should be already present on machine builds
gimp+plugins) and 90% of plugins.
2017-05-04 16:44:59 +03:00
Alexander V. Nikolaev 8452e0684e gimp: split buildInputs and nativeBuildInputs for plugins 2017-05-02 09:33:54 +03:00
Alexander V. Nikolaev 94d909adaf gimp: fix all plugins build 2017-05-01 17:53:40 +03:00
Michael Raskin f1c7d5a6ba gimpPlugins.resynthesizer2: fix build 2017-04-29 16:51:25 +02:00
Michael Raskin 4a207b1dd8 gimpPlugins.resynthesizer: fix build 2017-04-29 12:41:31 +02:00
Franz Pletz 970753317c gimpPlugins.gmic: use attribues from gmic expression 2017-02-11 11:11:12 +01:00
Mica Semrick 6f48d6291f gimpPlugins.gmic: 1.6.5.0 -> 1.7.8 2017-02-11 11:11:12 +01:00
Alexander V. Nikolaev acbd916119 gimp-lensfun: 0.1.1 -> 0.2.4 2016-11-11 14:18:06 +02:00
Franz Pletz 8435c1637b
gimpPlugins.gap: disable format hardening 2016-10-13 20:33:16 -04:00
Michael Raskin 48388dde18 gimpPlugins.resynthesizer2: init at 2.0.1. A rewrite with python wrappers; GUI is better for some tasks and worse for some other tasks. 2016-10-11 19:57:52 +02:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Alexander V. Nikolaev 0649c8bde7 gimp: add gimp-with-plugin derivation
By default all plugins from pkgs.gimpPlugins set are enabled.

Default location of plugins changed from $out/${gimp.name} to
$out/lib/gimp/${majorVersion}. Resulting derivation for gimp+plugins
is set as search path for plugins by default (additional tweaking in
gimprc done for old plugin scheme should be removed)
2016-02-25 23:34:28 +02:00