xournal: prepare to poppler upgrade

svn path=/nixpkgs/trunk/; revision=30901
This commit is contained in:
Yury G. Kudryashov 2011-12-15 08:01:03 +00:00
parent 471ebaf6f8
commit 76c2e7d82f

View File

@ -15,11 +15,22 @@ stdenv.mkDerivation rec {
ghostscript atk gtk glib fontconfig freetype
libgnomecanvas libgnomeprint libgnomeprintui
pango libX11 xproto zlib poppler poppler_data
autoconf automake libtool pkgconfig
];
buildNativeInputs = [ autoconf automake libtool pkgconfig ];
# Build with poppler-0.18.x
patchFlags = "-p0";
patches = [ (fetchurl {
url = "https://api.opensuse.org/public/source/X11:Utilities/xournal/xournal-poppler-0.18.patch?rev=eca1c0b24f5bc78111147ab8f4688455";
sha256 = "1q565kqb4bklncriq4dlhp1prhidv88wmxr9k3laykiia0qjmfyj";
})];
NIX_LDFLAGS="-lX11 -lz";
meta = {
homepage = http://xournal.sourceforge.net/;
description = "note-taking application (supposes stylus)";
maintainers = [ stdenv.lib.maintainers.guibert ];
};