graphicsmagick-imagemagick-compat: init at 1.3.28
This commit is contained in:
parent
fba7c3adf8
commit
9b7d3f10e4
37
pkgs/applications/graphics/graphicsmagick/compat.nix
Normal file
37
pkgs/applications/graphics/graphicsmagick/compat.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, graphicsmagick }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "graphicsmagick-imagemagick-compat-${version}";
|
||||||
|
inherit (graphicsmagick) version;
|
||||||
|
|
||||||
|
unpackPhase = "true";
|
||||||
|
buildPhase = "true";
|
||||||
|
|
||||||
|
utils = [
|
||||||
|
"composite"
|
||||||
|
"conjure"
|
||||||
|
"convert"
|
||||||
|
"identify"
|
||||||
|
"mogrify"
|
||||||
|
"montage"
|
||||||
|
"animate"
|
||||||
|
"display"
|
||||||
|
"import"
|
||||||
|
];
|
||||||
|
|
||||||
|
# TODO: symlink libraries?
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p "$out"/bin
|
||||||
|
mkdir -p "$out"/share/man/man1
|
||||||
|
for util in ''${utils[@]}; do
|
||||||
|
ln -s ${graphicsmagick}/bin/gm "$out/bin/$util"
|
||||||
|
ln -s ${graphicsmagick}/share/man/man1/gm.1.gz "$out/share/man/man1/$util.1.gz"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "ImageMagick interface for GraphicsMagick";
|
||||||
|
license = stdenv.lib.licenses.free;
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -2,10 +2,9 @@
|
|||||||
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
||||||
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
||||||
|
|
||||||
let version = "1.3.29"; in
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "graphicsmagick-${version}";
|
name = "graphicsmagick-${version}";
|
||||||
|
version = "1.3.29";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
||||||
|
@ -16142,6 +16142,8 @@ with pkgs;
|
|||||||
graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
|
graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
|
||||||
graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
|
graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
|
||||||
|
|
||||||
|
graphicsmagick-imagemagick-compat = callPackage ../applications/graphics/graphicsmagick/compat.nix { };
|
||||||
|
|
||||||
grisbi = callPackage ../applications/office/grisbi { gtk = gtk2; };
|
grisbi = callPackage ../applications/office/grisbi { gtk = gtk2; };
|
||||||
|
|
||||||
gtkpod = callPackage ../applications/audio/gtkpod { };
|
gtkpod = callPackage ../applications/audio/gtkpod { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user