xmlroff: 0.3.98 -> 0.6.2
This commit is contained in:
parent
5f599a3ddd
commit
d8e89ebd4b
@ -1,27 +1,39 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, popt
|
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, popt, perl
|
||||||
, glib, pango, libgnomeprint, pangoxsl, gtk}:
|
, glib, pango, pangoxsl, gtk, libtool, autoconf, automake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xmlroff-${version}";
|
||||||
|
version = "0.6.2";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
#name = "xmlroff-0.3.5";
|
|
||||||
name = "xmlroff-0.3.98";
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/xmlroff/xmlroff-0.3.98.tar.gz;
|
url = "https://github.com/xmlroff/xmlroff/archive/v${version}.tar.gz";
|
||||||
sha256 = "0pg7zc8ri0xzmdk30vnyd84wy8yn973h1bnrvibv71q44s6xhwp2";
|
sha256 = "1sczn6xjczsfdxlbjqv4xqlki2a95y2s8ih2nl9v1vhqfk17fiww";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt
|
||||||
|
libtool
|
||||||
glib
|
glib
|
||||||
pango
|
pango
|
||||||
libgnomeprint
|
|
||||||
pangoxsl
|
pangoxsl
|
||||||
gtk
|
gtk
|
||||||
popt
|
popt
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = "--disable-pangoxsl";
|
configureScript = "./autogen.sh";
|
||||||
|
|
||||||
|
configureFlags = "--disable-pangoxsl --disable-gp";
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
substituteInPlace tools/insert-file-as-string.pl --replace "/usr/bin/perl" "${perl}/bin/perl"
|
||||||
|
substituteInPlace Makefile --replace "docs" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
sourceRoot = "${name}/xmlroff/";
|
||||||
|
|
||||||
patches = [./xmlroff.patch];
|
patches = [./xmlroff.patch];
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
diff -ruN xmlroff-0.3.98/Makefile.in xmlroff-0.3.98.new/Makefile.in
|
--- xmlroff-0.6.2.orig/libfo/fo-libfo-basic.h
|
||||||
--- xmlroff-0.3.98/Makefile.in 2006-05-30 17:46:37.000000000 +0200
|
+++ xmlroff-0.6.2/libfo/fo-libfo-basic.h
|
||||||
+++ xmlroff-0.3.98.new/Makefile.in 2006-06-18 13:47:37.000000000 +0200
|
@@ -11,8 +11,7 @@
|
||||||
@@ -288,7 +288,7 @@
|
#define __FO_LIBFO_BASIC_H__
|
||||||
subdirs = @subdirs@
|
|
||||||
sysconfdir = @sysconfdir@
|
#include <stdio.h>
|
||||||
target_alias = @target_alias@
|
-#include <glib/gtypes.h>
|
||||||
-SUBDIRS = pangoxsl libfo area fo datatype property expr util . examples docs
|
-#include <glib/gerror.h>
|
||||||
+SUBDIRS = libfo area fo datatype property expr util . examples docs
|
+#include <glib.h>
|
||||||
@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
|
|
||||||
INCLUDES = \
|
G_BEGIN_DECLS
|
||||||
-DG_LOG_DOMAIN=\"libfo\" \
|
|
||||||
|
@ -2808,9 +2808,7 @@ let
|
|||||||
|
|
||||||
xml2 = callPackage ../tools/text/xml/xml2 { };
|
xml2 = callPackage ../tools/text/xml/xml2 { };
|
||||||
|
|
||||||
xmlroff = callPackage ../tools/typesetting/xmlroff {
|
xmlroff = callPackage ../tools/typesetting/xmlroff { };
|
||||||
inherit (gnome) libgnomeprint;
|
|
||||||
};
|
|
||||||
|
|
||||||
xmlstarlet = callPackage ../tools/text/xml/xmlstarlet { };
|
xmlstarlet = callPackage ../tools/text/xml/xmlstarlet { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user