nixpkgs/pkgs/by-name/gm
Andrew Marshall 5678aa0521 gmic-qt: build from Git source to avoid mutable tarball
The previous tarball src sometimes gets mutated (see e.g. [this
comment][1]). This was changed from the Git src in
fd3e2b49f4 (see also [upstream
discussion][2]). However the delta seems simple; it had error:

```
In file included from /build/source/src/GmicProcessor.cpp:48:
/nix/store/jk1dp7v01pisw0flybqwyjg63in6r9fp-gmic-3.3.5-dev/include/gmic.h:191:21: fatal error: gmic.cpp: No such file or directory
  191 | #define cimg_plugin "gmic.cpp"
```

workaround this by linking `gmic.cpp` into the expected location as it
appears in the tarball.

cimg is now needed in buildInputs as it is bundled in the tarball, but
not the Git src.

Change the updateScript to simpler one that can use the Git tags.

This may appear to be downgrading, but this is only because the previous
drv used the gmic version, not the gmic-qt version.

[1]: https://github.com/NixOS/nixpkgs/pull/311734#issuecomment-2118663822
[2]: https://github.com/c-koi/gmic-qt/pull/175
2024-05-20 09:24:47 -04:00
..
gmetronome gmetronome: 0.3.3 -> 0.3.4 2024-05-12 12:27:59 +00:00
gmic treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
gmic-qt gmic-qt: build from Git source to avoid mutable tarball 2024-05-20 09:24:47 -04:00
gmid gmid: migrate to by-name 2024-04-10 19:47:15 +04:00