Merge pull request #78269 from jtojnar/gimp-deps
gegl_0_4: 0.4.18 → 0.4.20
This commit is contained in:
commit
589044a71c
@ -9,21 +9,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "babl";
|
pname = "babl";
|
||||||
version = "0.1.72";
|
version = "0.1.74";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0hkagjrnza77aasa1kss5hvy37ndm50y6i7hkdn2z8hzgc4i3qb4";
|
sha256 = "03nfcvy3453xkfvsfcnsfcjf2vg2pin09qnr9jlssdysa1lhnwcs";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Apple linker does not know --version-script flag
|
|
||||||
# https://gitlab.gnome.org/GNOME/babl/merge_requests/26
|
|
||||||
./fix-darwin.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --git a/babl/meson.build b/babl/meson.build
|
|
||||||
index b551c9a..f452435 100644
|
|
||||||
--- a/babl/meson.build
|
|
||||||
+++ b/babl/meson.build
|
|
||||||
@@ -24,9 +24,9 @@
|
|
||||||
]
|
|
||||||
|
|
||||||
# Linker arguments
|
|
||||||
-babl_link_args = [
|
|
||||||
+babl_link_args = cc.get_supported_link_arguments([
|
|
||||||
'-Wl,--version-script,' + version_script,
|
|
||||||
-]
|
|
||||||
+])
|
|
||||||
if platform_win32
|
|
||||||
babl_link_args += '-Wl,--no-undefined'
|
|
||||||
endif
|
|
@ -33,37 +33,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gegl";
|
pname = "gegl";
|
||||||
version = "0.4.18";
|
version = "0.4.20";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0r6akqnrkvxizyhyi8sv40mxm7j4bcwjb6mqjpxy0zzbbfsdyin9";
|
sha256 = "1zrxnxlhn0jmshg4n2m2xlgi886w059ynkiiihm7rpi05fs8pg93";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Fix arch detection.
|
|
||||||
# https://gitlab.gnome.org/GNOME/gegl/merge_requests/53
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gegl/commit/6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8.patch";
|
|
||||||
sha256 = "0aqdr3y5mr47wq44jnhp97188bvpjlf56zrlmn8aazdf07r2apma";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Fix Darwin build.
|
|
||||||
# https://gitlab.gnome.org/GNOME/gegl/merge_requests/54
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/gegl/commit/2bc06bfedee4fb25f6a966c8235b75292e24e55f.patch";
|
|
||||||
sha256 = "1psls61wsrdq5pzpvj22mrm46lpzrw3wkx6li7dv6fyb65wz2n4d";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Fix test timeout. Downstream debian patch.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://salsa.debian.org/gnome-team/gegl/raw/9b7520b38d87cd8ad4b39bf0b8c62d011da25169/debian/patches/increase_test_timeout.patch";
|
|
||||||
sha256 = "1prc1h1aipjd9db0i1j7nzga4zvk3vl8qsjpz1jzv1wwvz02isly";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Remove gegl:simple / backend-file test that times out frequently
|
# Remove gegl:simple / backend-file test that times out frequently
|
||||||
./patches/no-simple-backend-file-test.patch
|
./patches/no-simple-backend-file-test.patch
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user