Adding Xournal - a note-taking application for stylus usage

svn path=/nixpkgs/trunk/; revision=16538
This commit is contained in:
Michael Raskin 2009-08-02 21:47:10 +00:00
parent 4f81e9a0c2
commit dee8937ae7
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,35 @@
a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.4.2.1" a;
buildInputs = with a; [
ghostscript atk gtk glib fontconfig freetype
libgnomecanvas libgnomeprint libgnomeprintui
pango libX11 xproto zlib poppler popplerData
autoconf automake libtool pkgconfig
];
in
rec {
src = fetchurl {
url = "http://downloads.sourceforge.net/xournal/xournal-${version}.tar.gz";
sha256 = "1zxqcdhsd7h19c6pz7dwkr8bncn64v07liiqyw504m2v8lylrsif";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["setEnvVars" "doAutotools" "doConfigure" "doMakeInstall"];
setEnvVars = a.noDepEntry (''
export NIX_LDFLAGS="-lX11"
'');
name = "xournal-" + version;
meta = {
description = "note-taking application (supposes stylus)";
maintainers = [
];
};
}

View File

@ -7287,6 +7287,16 @@ let
inherit (gtkLibs) glib;
};
xournal = builderDefsPackage (import ../applications/graphics/xournal) {
inherit ghostscript fontconfig freetype zlib
poppler popplerData autoconf automake
libtool pkgconfig;
inherit (xlibs) xproto libX11;
inherit (gtkLibs) gtk atk pango glib;
inherit (gnome) libgnomeprint libgnomeprintui
libgnomecanvas;
};
xpdf = import ../applications/misc/xpdf {
inherit fetchurl stdenv x11 freetype t1lib;
motif = lesstif;