gegl_0_4: 0.4.26 → 0.4.28

NEWS: https://gitlab.gnome.org/GNOME/gegl/-/commit/91ace253930a83874f30a1d13e0ea5bbc2e5174c
Changes: https://gitlab.gnome.org/GNOME/gegl/-/compare/GEGL_0_4_26...GEGL_0_4_28

- New dependency maxflow.
- dot path has been briefly hardcoded added (https://gitlab.gnome.org/GNOME/gegl/-/commit/5ac40e3c3f9ab25b1208a96a8fdcae6fd72958ef) but then it was switched back to finding it on PATH (https://gitlab.gnome.org/GNOME/gegl/-/commit/1f50456de59c686941a861d299a63bfcd4126ee5). Given that it is optional dependency only needed for debugging and graphviz is big, I have decided not to hardcode it in a patch.
This commit is contained in:
Jan Tojnar
2021-03-15 23:08:40 +01:00
parent 8989d8f457
commit f63098a9c5
+6 -14
View File
@@ -1,11 +1,10 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, pkg-config
, vala
, gobject-introspection
, gtk-doc
, docbook_xsl
, docbook-xsl-nons
, docbook_xml_dtd_43
, glib
, babl
@@ -15,6 +14,7 @@
, librsvg
, lensfun
, libspiro
, maxflow
, netsurf
, pango
, poly2tri-c
@@ -35,25 +35,16 @@
stdenv.mkDerivation rec {
pname = "gegl";
version = "0.4.26";
version = "0.4.28";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
src = fetchurl {
url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-DzceLtK5IWL+/T3edD5kjKCKahsrBQBIZ/vdx+IR5CQ=";
sha256 = "sha256-HRENhXfVTMo7NCOTFb03xXzLJ91DVWVQdKLSs/2JeQA=";
};
patches = [
# fix build with darwin: https://github.com/NixOS/nixpkgs/issues/99108
# https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/83
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/83.patch";
sha256 = "sha256-CSBYbJ2xnEN23xrla1qqr244jxOR5vNK8ljBSXdg4yE=";
})
];
nativeBuildInputs = [
pkg-config
gettext
@@ -62,7 +53,7 @@ stdenv.mkDerivation rec {
vala
gobject-introspection
gtk-doc
docbook_xsl
docbook-xsl-nons
docbook_xml_dtd_43
];
@@ -73,6 +64,7 @@ stdenv.mkDerivation rec {
librsvg
lensfun
libspiro
maxflow
netsurf.libnsgif
pango
poly2tri-c