[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613674: Subject: xutils-dev: Can't get have_xmlto_text unless I add some content to the conftest.xml



Package: xutils-dev
Version: 1:7.5+4
Severity: normal

Need to edit xorg-macros.m4:: # XORG_WITH_XMLTO([MIN-VERSION], [DEFAULT])

to add content to the file used to detect XML to .txt conversion

e.g.

--- xorg-cf-files/aclocal.m4	2011-01-08 22:50:19 +0000
+++ xorg-cf-files/aclocal.m4	2011-02-16 15:15:16 +0000
@@ -1803,6 +1803,11 @@
 # Test for the ability of xmlto to generate a text target
 have_xmlto_text=no
 cat > conftest.xml << "EOF"
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
+
+<book id="saver">
+</book>
 EOF
 AS_IF([test "$have_xmlto" = yes],
       [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1],


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'),
(500, 'maverick-proposed'), (500, 'maverick-backports'), (500,
'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-26-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xutils-dev depends on:
ii  cpp                   4:4.4.4-1ubuntu2   The GNU C preprocessor (cpp)
ii  libc6                 2.12.1-0ubuntu10.2 Embedded GNU C Library: Shared lib

xutils-dev recommends no packages.

xutils-dev suggests no packages.

-- no debconf information



Reply to: