Skip to content

Commit

Permalink
Merge #303706: imagemagick: 7.1.1-29 -> 7.1.1-30
Browse files Browse the repository at this point in the history
...into staging-23.11
  • Loading branch information
vcunat committed Apr 27, 2024
2 parents 44e9813 + 2f4c51e commit 5ed92e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ in

stdenv.mkDerivation (finalAttrs: {
pname = "imagemagick";
version = "7.1.1-29";
version = "7.1.1-30";

src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = finalAttrs.version;
hash = "sha256-W9WbHzmTa0dA9+mOxXu88qmN1mO9ORaH0Nj6r2s1Q+E=";
hash = "sha256-btXl1J/WjV+5BZibgUzylVmBrhR3KBK/ZSbP0B2fM5c=";
};

outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
Expand Down
11 changes: 6 additions & 5 deletions pkgs/development/libraries/giflib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, fetchpatch
, fixDarwinDylibNames
, pkgsStatic
, imagemagick_light
}:

stdenv.mkDerivation rec {
Expand All @@ -29,17 +28,19 @@ stdenv.mkDerivation rec {
./mingw-install-exes.patch
];

nativeBuildInputs = [
imagemagick_light
] ++ lib.optionals stdenv.isDarwin [
nativeBuildInputs = lib.optionals stdenv.isDarwin [
fixDarwinDylibNames
];

makeFlags = [
"PREFIX=${builtins.placeholder "out"}"
];

postPatch = lib.optionalString stdenv.hostPlatform.isStatic ''
postPatch = ''
# we don't want to build HTML documentation
substituteInPlace doc/Makefile \
--replace-fail "all: allhtml manpages" "all: manpages"
'' + lib.optionalString stdenv.hostPlatform.isStatic ''
# Upstream build system does not support NOT building shared libraries.
sed -i '/all:/ s/$(LIBGIFSO)//' Makefile
sed -i '/all:/ s/$(LIBUTILSO)//' Makefile
Expand Down

0 comments on commit 5ed92e5

Please sign in to comment.