GTK-doc: More fixes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14720
This commit is contained in:
Ludovic Courtès 2009-03-25 23:16:02 +00:00
parent 91aeb56b97
commit 02c50ac314
3 changed files with 14 additions and 11 deletions

View File

@ -319,8 +319,9 @@ rec {
gtkdoc = import ./gtkdoc.nix {
inherit (platform) gtkdoc;
inherit stdenv pkgconfig gnomedocutils perl libxml2
xmlto docbook2x docbook_xsl docbook_xml_dtd_412 libxslt;
inherit stdenv pkgconfig gnomedocutils perl python libxml2
xmlto docbook2x docbook_xsl docbook_xml_dtd_43 libxslt
scrollkeeper;
};
};

View File

@ -1,14 +1,14 @@
{ stdenv, gtkdoc, pkgconfig, gnomedocutils, perl
, libxml2, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_412
, libxslt }:
{ stdenv, gtkdoc, pkgconfig, gnomedocutils, perl, python
, libxml2, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_43
, libxslt, scrollkeeper }:
stdenv.mkDerivation {
inherit (gtkdoc) name src;
inherit docbook_xml_dtd_412;
buildInputs = [ pkgconfig perl gnomedocutils
libxml2
xmlto docbook2x docbook_xsl docbook_xml_dtd_412 libxslt ];
inherit docbook_xml_dtd_43;
buildInputs = [ pkgconfig perl python gnomedocutils
libxml2 scrollkeeper
xmlto docbook2x docbook_xsl docbook_xml_dtd_43 libxslt ];
# maybe there is a better way to pass the needed dtd and xsl files
@ -20,9 +20,10 @@ stdenv.mkDerivation {
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="${docbook_xsl}/xml/xsl/docbook/catalog.xml" />
<nextCatalog catalog="${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml" />
<nextCatalog catalog="${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml" />
</catalog>
EOF
configureFlags="--with-xml-catalog=$out/nix-support/catalog.xml"
configureFlags="--with-xml-catalog=$out/nix-support/catalog.xml --disable-scrollkeeper";
'';
}

View File

@ -9177,6 +9177,7 @@ let
fetchurl stdenv pkgconfig
flex bison popt zlib libxml2 libxslt
perl perlXMLParser docbook_xml_dtd_42 docbook_xml_dtd_412
docbook_xml_dtd_43
gettext x11 libtiff libjpeg libpng gtkLibs xlibs bzip2
libcm python dbus dbus_glib ncurses which libxml2Python
iconnamingutils openssl hal samba fam libgcrypt libtasn1