Commit graph

29 commits

Author SHA1 Message Date
Lily Foster ba3e6a91d1
gmic-qt: fix updateScript 2023-05-23 19:49:21 -04:00
Anderson Torres 136b947128 gmic: cosmetic changes
- reorder input set
- use rec-less, finalAttrs-style attributes
- include cimg and gmic to passthru.tests
- use `preConfigure` instead of `sourceRoot`
- remove nested `with` from meta attributes
2023-05-02 22:33:34 -03:00
Anderson Torres 79101d8f8a gmic-qt: 3.2.3 -> 3.2.4 2023-05-02 22:33:34 -03:00
Lily Foster 1e4e8a1775
gmic-qt: add meta.mainProgram 2023-04-24 18:15:57 -04:00
Lily Foster 0bb8291660 gmic-qt: 3.2.2 -> 3.2.3 2023-04-04 20:06:32 -03:00
Lily Foster dc1fda492a cimg,gmic,gmic-qt: add lilyinstarlight to maintainers 2023-03-21 13:52:49 -03:00
Lily Foster 126b3d60f6 gmic-qt: 3.2.1 -> 3.2.2
This commit also removes a few unused arguments and prepares the
derivation for qt6 by removing the usage of `qt5.mkDerivation` which is
a little broken and likely to be deprecated (see NixOS/nixpkgs#180841).
2023-03-21 13:52:49 -03:00
Lily Foster fd3e2b49f4
gmic-qt: fix build with 3.2.1
How the build was fixed:
* Fetch tarball instead since that is what upstream supports to build
  gmic-qt from.
* Set `sourceRoot` within tarball
* Fetch patch from GreycLab/gmic#435 into gmic
* Fetch patch from c-koi/gmic-qt#175 into gmic-qt
2023-02-26 07:13:09 -05:00
Jan Tojnar 63e4a92217 gmic-qt: Mark as broken
Ever since the gmic 3.2.0 bump, it just does not build – it tries to use stub definitions for gmic_image from src/GmicQt.h, leading to errors like:

    /build/source/src/GmicQt.cpp:344:11: error: 'struct gmic_library::gmic_image<unsigned char>' has no member named 'channels'
      344 |       img.channels(0, 3);
          |       ~~~~^~~~~~~~

gmic-qt 3.2.1 contains a supposed fix (f0d9d8acd1) which might have actually fixed the gmic_image issue but it introduces another one with cimg.

    gmic-3.2.1-dev/include/gmic.h:191:21: fatal error: gmic.cpp: No such file or directory
      191 | #define cimg_plugin "gmic.cpp"
          |                     ^~~~~~~~~~

I do not really understand qmake, deprecated build system which gmic author insists on using for gmic-qt, and the trio of libraries is convoluted enough (mutually including their various headers and source files) that I gave up on creating an usable CMake build script that supports system libraries. It does not help that the git history is obfuscated, making proper investigation annoying.

Marking it as broken will at least make gimp-with-plugins work.
2023-02-19 22:56:19 +01:00
Jan Tojnar e00fa961ed gmic-qt: Add gimp plug-in to passthru.tests 2023-02-19 22:56:19 +01:00
Jan Tojnar 24f2c744c7 gmic-qt: 3.2.0 → 3.2.1
https://github.com/c-koi/gmic-qt/compare/v.3.2.0...v.3.2.1
2023-02-19 18:00:35 +01:00
Jan Tojnar 02be63faed gmic-qt: add update script 2023-02-19 18:00:34 +01:00
K900 059556ab3e gmic-qt-krita: drop
Doesn't actually build, was removed upstream.
2023-02-02 20:41:16 +03:00
Fabián Heredia Montiel 5fba98444b gmic-qt: 3.1.6 → 3.2.0 2023-01-20 09:38:49 -06:00
André Silva d664fb98b6
gmic-qt: fix build error on filter translation scripts 2023-01-15 15:32:45 +00:00
R. Ryantm 37dca4189e gmic-qt: 3.1.5 -> 3.1.6 2022-09-05 21:41:07 +00:00
Jan Tojnar f8a4f62870 gmic-qt: 3.0.0 → 3.1.5
Also use system gmic library.

https://github.com/c-koi/gmic-qt/compare/v.3.0.0...v.3.1.5
2022-06-30 17:58:49 +02:00
Jan Tojnar 1bb7065d99 gmic-qt: 2.7.1 → 3.0.0
- https://gmic.eu/gmic300/
- https://discuss.pixls.us/t/release-of-gmic-3-0/17226#from-299-to-300-3
2022-01-18 14:12:26 +01:00
Jan Tojnar 9fdff75303 gmic-qt: add update script
Using printf for creating the hash since otherwise update-source-version would detect multiple hashes.
2021-12-31 07:17:03 +01:00
Jan Tojnar 914fbcdee4 gmic-qt: clean up
- Move unpackPhase to bottom to better fit the conventions:
  https://discourse.nixos.org/t/document-attribute-ordering-in-package-expressions/4887
- Correct license.
- Remove unused argument.
2021-12-31 07:17:03 +01:00
Jan Tojnar 311d09b5ba gmic-qt: switch CImg source to GitHub
The repo was removed from FramaGit.
2021-12-31 07:06:27 +01:00
volth bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robert Scott 53b523b4ed gmic-qt: switch to opencv3
opencv2 is essentially EOL and has security concerns
2019-11-27 01:09:02 +00:00
Jan Tojnar 7a0f2fc3a0
gmic-qt: 2.3.6 → 2.7.1 2019-09-07 20:15:57 +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
Jan Tojnar 8ad04d92f6
gmic-qt: format with nixpkgs-fmt 2019-09-07 19:55:11 +02:00
Jan Tojnar 7c22e3af30
gmic-qt-krita: rename from gmic_krita_qt 2019-09-07 19:55:10 +02:00