mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
gimp: 3.0.4 -> 3.0.6
Fixes CVE-2025-10934.
https://gitlab.gnome.org/GNOME/gimp/-/issues/14814
https://gitlab.gnome.org/GNOME/gimp/-/issues?release_tag=GIMP_3_0_6&scope=all&state=closed
(cherry picked from commit 0a80dadf9d)
This commit is contained in:
committed by
Michael Daniels
parent
39918d5ace
commit
cdee795ecf
@@ -46,7 +46,7 @@
|
||||
vala,
|
||||
gi-docgen,
|
||||
perl,
|
||||
appstream-glib,
|
||||
appstream,
|
||||
desktop-file-utils,
|
||||
xorg,
|
||||
glib-networking,
|
||||
@@ -66,6 +66,7 @@
|
||||
adwaita-icon-theme,
|
||||
alsa-lib,
|
||||
desktopToDarwinBundle,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -77,7 +78,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gimp";
|
||||
version = "3.0.4";
|
||||
version = "3.0.6";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -87,10 +88,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.gimp.org/gimp/v${lib.versions.majorMinor finalAttrs.version}/gimp-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-jKouwnW/CTJldWVKwnavwIP4SR58ykXRnPKeaWrsqyU=";
|
||||
hash = "sha256-JGwiU4PHLvnw3HcDt9cHCEu/F3vSkA6UzkZqYoYuKWs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://gitlab.gnome.org/GNOME/gimp/-/issues/15257
|
||||
(fetchpatch {
|
||||
name = "fix-gegl-bevel-test.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/gimp/-/commit/2fd12847496a9a242ca8edc448d400d3660b8009.patch";
|
||||
hash = "sha256-pjOjyzZxxl+zRqThXBwCBfYHdGhgaMI/IMKaL3XGAMs=";
|
||||
})
|
||||
|
||||
# to remove compiler from the runtime closure, reference was retained via
|
||||
# gimp --version --verbose output
|
||||
(replaceVars ./remove-cc-reference.patch {
|
||||
@@ -138,7 +146,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
appstream-glib # for library
|
||||
appstream # for library
|
||||
babl
|
||||
cfitsio
|
||||
gegl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- a/build/meson/run_test_env.sh
|
||||
+++ b/build/meson/run_test_env.sh
|
||||
--- a/tools/run_test_env.sh
|
||||
+++ b/tools/run_test_env.sh
|
||||
@@ -33,7 +33,7 @@ if [ -n "${UI_TEST}" ]; then
|
||||
OPT="--auto-servernum"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user