diff --git a/debian/changelog b/debian/changelog index beb903f..87456aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ nut (2.7.4-11) UNRELEASED; urgency=medium * Remove python(2) binding and disable nut-monitor package for now as it depends on unmaintained pygtk (Closes: #885358, #937169) * debian/control: Add support for the Build-Profile + * debian/patches/0013-fix-doc-build.patch: Fix the documentation build with + asciidoc >= 0.9 - -- Laurent Bigonville Sun, 15 Dec 2019 20:04:18 +0100 + -- Laurent Bigonville Sun, 15 Dec 2019 20:49:11 +0100 nut (2.7.4-10) unstable; urgency=medium diff --git a/debian/patches/0013-fix-doc-build.patch b/debian/patches/0013-fix-doc-build.patch new file mode 100644 index 0000000..9aeba8c --- /dev/null +++ b/debian/patches/0013-fix-doc-build.patch @@ -0,0 +1,18 @@ +Description: Fix the documentation build with asciidoc >= 0.9 +Author: Laurent Bigonville +Last-Update: 2019-12-15 + +--- a/docs/Makefile.am ++++ b/docs/Makefile.am +@@ -91,10 +91,7 @@ packager-guide.html packager-guide.chunk + # variable ASCIIDOC_VERBOSE to "-v", ie: + # $ ASCIIDOC_VERBOSE=-v make + A2X_COMMON_OPTS = $(ASCIIDOC_VERBOSE) --attribute icons \ +- --xsltproc-opts "--nonet" \ +- --xsltproc-opts "--stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\"" \ +- --xsltproc-opts "--stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\"" \ +- --xsltproc-opts "--stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \ ++ --xsltproc-opts "--nonet --stringparam nut.localdate \"`TZ=UTC date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH)`\" --stringparam nut.localtime \"`TZ=UTC date +%H:%M:%S -d @$(SOURCE_DATE_EPOCH)`\" --stringparam nut.nutversion \"@PACKAGE_VERSION@\"" \ + --attribute iconsdir=$(srcdir)/images \ + --attribute=badges \ + --attribute=external_title \ diff --git a/debian/patches/series b/debian/patches/series index ee943a6..50dc917 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -10,3 +10,4 @@ 0010-fix-nutscanner-ftbfs.patch 0011-use-pkgconfig-module.patch 0012-add-AEG-PROTECT-NAS-support.patch +0013-fix-doc-build.patch