mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Made graphicsmagick-config not say anything about libraries that would be needed for static linking, because we are linking it dynamically.
Made octave link with graphicsmagick to get imread() working. Nevertheless, imread does not work, because of some problems between octave and latest versions of graphicsmagick: http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-February/015295.html Next to do: add an older version of graphics magick for octave. svn path=/nixpkgs/trunk/; revision=20389
This commit is contained in:
parent
22065c11d9
commit
ba274e578c
3 changed files with 9 additions and 3 deletions
|
@ -19,6 +19,10 @@ stdenv.mkDerivation {
|
|||
zlib libtool
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
sed -i 's/-ltiff.*'\'/\'/ $out/bin/*
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.graphicsmagick.org;
|
||||
description = "Swiss army knife of image processing";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
|
||||
libX11}:
|
||||
libX11, graphicsmagick}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "octave-3.2.4";
|
||||
|
@ -7,6 +7,7 @@ stdenv.mkDerivation {
|
|||
url = ftp://ftp.octave.org/pub/octave/octave-3.2.4.tar.bz2;
|
||||
sha256 = "0iyivx7qz7cvwz7qczqrl4ysqivlhn5ax92z9md0m77dqw2isis8";
|
||||
};
|
||||
buildInputs = [gfortran readline ncurses perl flex texinfo qhull libX11];
|
||||
buildInputs = [gfortran readline ncurses perl flex texinfo qhull libX11
|
||||
graphicsmagick ];
|
||||
configureFlags = "--enable-readline --enable-dl";
|
||||
}
|
||||
|
|
|
@ -2541,7 +2541,8 @@ let
|
|||
};
|
||||
|
||||
octave = import ../development/interpreters/octave {
|
||||
inherit stdenv fetchurl gfortran readline ncurses perl flex qhull texinfo;
|
||||
inherit stdenv fetchurl gfortran readline ncurses perl flex qhull texinfo
|
||||
graphicsmagick;
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue