Hello,

> Attached is a new patch, which does not build the documentation in HTML
> form anymore (and then does not require mzscheme) but still build
> documentation in PostScript form.
> 
> A README.Debian was added to point the user to hs-plugins website to get
> the HTML documentation.

This patch looks like a sane solution, especially in this phase of the
release schedule. I'll build and upload it (with only modification that
urgency=medium); for completeness sake, see attached patch.

Thanks for your work!


Thijs
diff -u hs-plugins-0.9.10/debian/rules hs-plugins-0.9.10/debian/rules
--- hs-plugins-0.9.10/debian/rules
+++ hs-plugins-0.9.10/debian/rules
@@ -24,7 +24,8 @@
 build-stamp: config.status
 	dh_testdir
 	$(MAKE)
-	(cd docs; $(MAKE))
+	# html target requires tex2page which is not available on all arch
+	(cd docs; $(MAKE) hs-plugins.ps)
 	$(MAKE) check
 	touch build-stamp
 
@@ -62,7 +63,9 @@
 	find $(CURDIR)/debian/libghc6-plugins-dev/usr/share/doc/libghc6-plugins-dev/examples -type f -name Makefile -print0 | xargs -0 rm -f
 	find $(CURDIR)/debian/libghc6-plugins-dev/usr/share/doc/libghc6-plugins-dev/examples -type f -name '*\.o' -print0 | xargs -0 rm -f
 	find $(CURDIR)/debian/libghc6-plugins-dev/usr/share/doc/libghc6-plugins-dev/examples -type f -name '*\.hi' -print0 | xargs -0 rm -f
-	cp -r docs/hs-plugins docs/hs-plugins.ps $(CURDIR)/debian/libghc6-plugins-dev/usr/share/doc/libghc6-plugins-dev/
+	# copy only .ps ; docs target requires tex2page which is not available
+	# on all arch
+	cp docs/hs-plugins.ps $(CURDIR)/debian/libghc6-plugins-dev/usr/share/doc/libghc6-plugins-dev/
 	dh_strip
 	dh_compress
 	dh_fixperms
diff -u hs-plugins-0.9.10/debian/control hs-plugins-0.9.10/debian/control
--- hs-plugins-0.9.10/debian/control
+++ hs-plugins-0.9.10/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Florian Ragwitz <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), dpatch, autoconf, ghc6 (>= 6.4.2), libghc6-src-exts-dev (>= 0.2-2), tetex-bin, tetex-extra, mzscheme
+Build-Depends: debhelper (>= 5.0.0), dpatch, autoconf, ghc6 (>= 6.4.2), libghc6-src-exts-dev (>= 0.2-2), tetex-bin, tetex-extra
 Standards-Version: 3.7.2
 
 Package: libghc6-plugins-dev
diff -u hs-plugins-0.9.10/debian/changelog hs-plugins-0.9.10/debian/changelog
--- hs-plugins-0.9.10/debian/changelog
+++ hs-plugins-0.9.10/debian/changelog
@@ -1,3 +1,14 @@
+hs-plugins (0.9.10-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not build the documentation in HTML form:             (Closes: #384356)
+     - Remove Build-Depends on mzscheme.
+     - Build hs-plugins.ps explicitly in debian/rules.
+     - Add a README.Debian pointing the user to hs-plugins website for HTML
+       documentation.
+
+ -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:53:20 +0200
+
 hs-plugins (0.9.10-3) unstable; urgency=low
 
   * Rebuild against ghc6 6.4.2.
only in patch2:
unchanged:
--- hs-plugins-0.9.10.orig/debian/README.Debian
+++ hs-plugins-0.9.10/debian/README.Debian
@@ -0,0 +1,11 @@
+hs-plugins for Debian
+=====================
+
+hs-plugins documentation in HTML form can be found at:
+  http://www.cse.unsw.edu.au/~dons/hs-plugins/
+
+The HTML documentation is not included in the Debian package as building it
+requires tex2page which is not available on all architectures supported by
+Debian.
+
+ -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:27:10 +0200

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to