keep lcms versioning in all-packages.nix

This commit is contained in:
Mathijs Kwik 2013-06-29 16:07:15 +02:00
parent 6937609391
commit 04cbaef102
8 changed files with 21 additions and 17 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf { stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
, pango, cairo, freetype, fontconfig, lcms2, libpng, libjpeg, poppler, libtiff , pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper , webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }: , python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo [ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
freetype fontconfig lcms2 libpng libjpeg poppler libtiff webkit freetype fontconfig lcms libpng libjpeg poppler libtiff webkit
libmng librsvg libwmf zlib libzip ghostscript aalib jasper libmng librsvg libwmf zlib libzip ghostscript aalib jasper
python pygtk libart_lgpl libexif gettext python pygtk libart_lgpl libexif gettext
]; ];

View File

@ -6,7 +6,7 @@
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler , libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler
, librsvg, gnome_vfs, gstreamer, gst_plugins_base, mesa , librsvg, gnome_vfs, gstreamer, gst_plugins_base, mesa
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr , autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus_glib, qt4, kde4, clucene_core, libcdr, lcms2, vigra , libwpg, dbus_glib, qt4, kde4, clucene_core, libcdr, lcms, vigra
, libiodbc, mdds, saneBackends, mythes, libexttextcat, libvisio , libiodbc, mdds, saneBackends, mythes, libexttextcat, libvisio
, fontsConf , fontsConf
, langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" ] , langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" ]
@ -165,7 +165,7 @@ stdenv.mkDerivation rec {
[ ant ArchiveZip autoconf automake bison boost cairo clucene_core [ ant ArchiveZip autoconf automake bison boost cairo clucene_core
CompressZlib cppunit cups curl db4 dbus_glib expat file flex fontconfig CompressZlib cppunit cups curl db4 dbus_glib expat file flex fontconfig
freetype GConf getopt gnome_vfs gperf gst_plugins_base gstreamer gtk freetype GConf getopt gnome_vfs gperf gst_plugins_base gstreamer gtk
hunspell icu jdk kde4.kdelibs lcms2 libcdr libexttextcat libiodbc libjpeg hunspell icu jdk kde4.kdelibs lcms libcdr libexttextcat libiodbc libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11 libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst mdds mesa mythes libXaw libXext libXi libXinerama libxml2 libxslt libXtst mdds mesa mythes
neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libwpg, libwpd, lcms2, pkgconfig }: { stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libcdr-0.0.8"; name = "libcdr-0.0.8";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "117a8gp29xs3kin6kaisb3frsx8dwrsjgs4wq4y5hjqprzy6lwz0"; sha256 = "117a8gp29xs3kin6kaisb3frsx8dwrsjgs4wq4y5hjqprzy6lwz0";
}; };
buildInputs = [ libwpg libwpd lcms2 ]; buildInputs = [ libwpg libwpd lcms ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libpng, libtiff, lcms2, glib/*passthru only*/ }: { stdenv, fetchurl, pkgconfig, libpng, libtiff, lcms, glib/*passthru only*/ }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "openjpeg-1.5.1"; name = "openjpeg-1.5.1";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
nativebuildInputs = [ pkgconfig ]; nativebuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libpng libtiff lcms2 ]; # in closure anyway propagatedBuildInputs = [ libpng libtiff lcms ]; # in closure anyway
postInstall = glib.flattenInclude; postInstall = glib.flattenInclude;

View File

@ -1,6 +1,6 @@
{ fetchurl, stdenv, cairo, freetype, fontconfig, zlib { fetchurl, stdenv, cairo, freetype, fontconfig, zlib
, libjpeg, curl, libpthreadstubs, xorg, openjpeg , libjpeg, curl, libpthreadstubs, xorg, openjpeg
, libxml2, pkgconfig, cmake, lcms2, libiconvOrEmpty , libxml2, pkgconfig, cmake, lcms, libiconvOrEmpty
, glibSupport ? false, glib, gtk3Support ? false, gtk3 # gtk2 no longer accepted , glibSupport ? false, glib, gtk3Support ? false, gtk3 # gtk2 no longer accepted
, qt4Support ? false, qt4 ? null , qt4Support ? false, qt4 ? null
}: }:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
}; };
propagatedBuildInputs = with xorg; propagatedBuildInputs = with xorg;
[ zlib cairo freetype fontconfig libjpeg lcms2 curl [ zlib cairo freetype fontconfig libjpeg lcms curl
libpthreadstubs libxml2 stdenv.gcc.libc libpthreadstubs libxml2 stdenv.gcc.libc
libXau libXdmcp libxcb libXrender libXext libXau libXdmcp libxcb libXrender libXext
openjpeg openjpeg

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchgit, pkgconfig, cmake, libiconvOrEmpty, libintlOrEmpty { stdenv, fetchurl, fetchgit, pkgconfig, cmake, libiconvOrEmpty, libintlOrEmpty
, zlib, curl, cairo, freetype, fontconfig, lcms2, libjpeg, openjpeg , zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg
, qt4Support ? false, qt4 ? null , qt4Support ? false, qt4 ? null
}: }:
@ -26,7 +26,7 @@ let
inherit sha256; inherit sha256;
}; };
propagatedBuildInputs = [ zlib cairo freetype fontconfig libjpeg lcms2 curl openjpeg ]; propagatedBuildInputs = [ zlib cairo freetype fontconfig libjpeg lcms curl openjpeg ];
nativeBuildInputs = [ pkgconfig cmake ] ++ libiconvOrEmpty ++ libintlOrEmpty; nativeBuildInputs = [ pkgconfig cmake ] ++ libiconvOrEmpty ++ libintlOrEmpty;

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, libjpeg, libpng, libtiff, zlib, pkgconfig, fontconfig, openssl { stdenv, fetchurl, libjpeg, libpng, libtiff, zlib, pkgconfig, fontconfig, openssl
, lcms2, freetype, libpaper, jbig2dec, expat, libiconvOrEmpty , lcms, freetype, libpaper, jbig2dec, expat, libiconvOrEmpty
, x11Support, x11 ? null , x11Support, x11 ? null
, cupsSupport ? false, cups ? null , cupsSupport ? false, cups ? null
, gnuFork ? true , gnuFork ? true
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
libjpeg libpng libtiff zlib pkgconfig fontconfig openssl lcms2 libjpeg libpng libtiff zlib pkgconfig fontconfig openssl lcms
libpaper jbig2dec expat libpaper jbig2dec expat
] ++ stdenv.lib.optionals x11Support [x11 freetype] ] ++ stdenv.lib.optionals x11Support [x11 freetype]
++ stdenv.lib.optional cupsSupport cups ++ stdenv.lib.optional cupsSupport cups

View File

@ -4393,7 +4393,7 @@ let
libcdio = callPackage ../development/libraries/libcdio { }; libcdio = callPackage ../development/libraries/libcdio { };
libcdr = callPackage ../development/libraries/libcdr { }; libcdr = callPackage ../development/libraries/libcdr { lcms = lcms2; };
libchamplain = callPackage ../development/libraries/libchamplain { libchamplain = callPackage ../development/libraries/libchamplain {
inherit (gnome) libsoup; inherit (gnome) libsoup;
@ -5045,7 +5045,7 @@ let
opal = callPackage ../development/libraries/opal {}; opal = callPackage ../development/libraries/opal {};
openjpeg = callPackage ../development/libraries/openjpeg { }; openjpeg = callPackage ../development/libraries/openjpeg { lcms = lcms2; };
openscenegraph = callPackage ../development/libraries/openscenegraph {}; openscenegraph = callPackage ../development/libraries/openscenegraph {};
@ -5099,11 +5099,12 @@ let
policykit = callPackage ../development/libraries/policykit { }; policykit = callPackage ../development/libraries/policykit { };
poppler = let popplers = callPackage ../development/libraries/poppler { }; poppler = let popplers = callPackage ../development/libraries/poppler { lcms = lcms2; };
in popplers // popplers.poppler_glib; in popplers // popplers.poppler_glib;
popplerQt4 = poppler.poppler_qt4; popplerQt4 = poppler.poppler_qt4;
poppler_0_18 = callPackage ../development/libraries/poppler/0.18.nix { poppler_0_18 = callPackage ../development/libraries/poppler/0.18.nix {
lcms = lcms2;
glibSupport = true; glibSupport = true;
gtk3Support = false; gtk3Support = false;
qt4Support = false; qt4Support = false;
@ -7470,6 +7471,7 @@ let
gimp_2_8 = callPackage ../applications/graphics/gimp/2.8.nix { gimp_2_8 = callPackage ../applications/graphics/gimp/2.8.nix {
inherit (gnome) libart_lgpl; inherit (gnome) libart_lgpl;
webkit = null; webkit = null;
lcms = lcms2;
}; };
gimp = gimp_2_6; gimp = gimp_2_6;
@ -7780,6 +7782,7 @@ let
}; };
poppler = poppler_0_18; poppler = poppler_0_18;
clucene_core = clucene_core_2; clucene_core = clucene_core_2;
lcms = lcms2;
}; };
liferea = callPackage ../applications/networking/newsreaders/liferea { }; liferea = callPackage ../applications/networking/newsreaders/liferea { };
@ -9420,6 +9423,7 @@ let
gensgs = callPackage_i686 ../misc/emulators/gens-gs { }; gensgs = callPackage_i686 ../misc/emulators/gens-gs { };
ghostscript = callPackage ../misc/ghostscript { ghostscript = callPackage ../misc/ghostscript {
lcms = lcms2;
x11Support = false; x11Support = false;
cupsSupport = config.ghostscript.cups or true; cupsSupport = config.ghostscript.cups or true;
gnuFork = config.ghostscript.gnu or false; gnuFork = config.ghostscript.gnu or false;