Skip to content

Commit

Permalink
xastir: switch from imagemagick6 to graphicsmagick
Browse files Browse the repository at this point in the history
This removes the need for the CVE addled imagemagick6. This approach
is similar to what is done on the BSDs:

https://github.com/openbsd/ports/blob/master/comms/xastir/Makefile
  • Loading branch information
qbit authored and ehmry committed Jul 17, 2023
1 parent 184dfbc commit 4a716c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/misc/xastir/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, curl, db, libgeotiff
, xorg, motif, pcre
, perl, proj, rastermagick, shapelib
, perl, proj, graphicsmagick, shapelib
, libax25
}:

Expand All @@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [
curl db libgeotiff
xorg.libXpm xorg.libXt motif pcre
perl proj rastermagick shapelib
perl proj graphicsmagick shapelib
libax25
];

Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35955,9 +35955,7 @@ with pkgs;

xaos = libsForQt5.callPackage ../applications/graphics/xaos { };

xastir = callPackage ../applications/misc/xastir {
rastermagick = imagemagick6;
};
xastir = callPackage ../applications/misc/xastir { };

xautomation = callPackage ../tools/X11/xautomation { };

Expand Down

0 comments on commit 4a716c5

Please sign in to comment.