Author: urkud Date: Wed Jan 25 18:06:30 2012 New Revision: 31837 URL: https://nixos.org/websvn/nix/?rev=31837&sc=1
Log: plotutils: fix compilation with libpng15 (debian) Added: nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.nix nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.txt Modified: nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/default.nix Added: nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.nix ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.nix Wed Jan 25 18:06:30 2012 (r31837) @@ -0,0 +1,14 @@ +# Generated by debian-patches.sh from debian-patches.txt +let + prefix = "http://patch-tracker.debian.org/patch/series/dl/plotutils/2.6-2"; +in +[ + { + url = "${prefix}/10_repair_postscript"; + sha256 = "01v4a8mdhgsjxbf9a2xppx2lb05lp818v8afp5x2njv64wpgla8p"; + } + { + url = "${prefix}/25_libpng15"; + sha256 = "0l640rcsgc2mwpk7iqm0cf3b0gfcdgcn9wg4x88gaqxzx9rriph0"; + } +] Added: nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/debian-patches.txt Wed Jan 25 18:06:30 2012 (r31837) @@ -0,0 +1,3 @@ +plotutils/2.6-2 +10_repair_postscript +25_libpng15 Modified: nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/default.nix ============================================================================== --- nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/default.nix Wed Jan 25 16:07:52 2012 (r31836) +++ nixpkgs/branches/libpng15/pkgs/tools/graphics/plotutils/default.nix Wed Jan 25 18:06:30 2012 (r31837) @@ -15,6 +15,8 @@ buildInputs = [libpng]; + patches = map fetchurl (import ./debian-patches.nix); + configureFlags = "--enable-libplotter"; # required for pstoedit doCheck = true; _______________________________________________ nix-commits mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-commits
