Your message dated Wed, 16 Jul 2008 13:47:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#446876: fixed in w3-recs 20080716-1
has caused the Debian Bug report #446876,
regarding w3-recs: [patch] register the recommendations with devhelp
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
446876: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446876
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: w3-recs
Version: 20070917-1+smcv
Severity: wishlist
Tags: patch
It's quite easy to register HTML documentation with devhelp, the GNOME
documentation browser. I attach a patch which does this for the W3C
recommendations in w3-recs.
The .devhelp file is generated in a rather simple-minded way - it treats
all the W3C RECs as a single book, with each recommendation as a chapter
and no internal links - but I think it's still useful.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
w3-recs depends on no packages.
Versions of packages w3-recs recommends:
ii elinks [www-browser] 0.11.1-1.5 advanced text-mode WWW browser
ii epiphany-gecko [www-browser 2.20.0-3 Intuitive GNOME web browser - Geck
ii epiphany-webkit [www-browse 2.20.0-3 Intuitive GNOME web browser - webk
ii iceweasel [www-browser] 2.0.0.7-2 lightweight web browser based on M
ii netsurf [www-browser] 1.1-2 Small portable web browser with CS
ii w3m [www-browser] 0.5.1-5.1+b1 WWW browsable pager with excellent
-- no debconf information
diff -u w3-recs-20070917/debian/rules w3-recs-20070917/debian/rules
--- w3-recs-20070917/debian/rules
+++ w3-recs-20070917/debian/rules
@@ -17,6 +17,7 @@
XSL_IDS = xsl/grep-ids.xsl
XSL_INDEX = xsl/deb-control-index.xsl
XSL_HTML = xsl/gen-html-index.xsl
+XSL_DEVHELP = xsl/deb-gen-devhelp.xsl
XSL_DOCBASE = xsl/deb-gen-doc-base.xsl
TXT_INDEX = debian/control-index.txt
DEST_BASEDIR = /usr/share/doc/w3-recs/html/
@@ -28,10 +29,10 @@
ORIG_DIR = ../tarballs/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
-common-post-build-indep:: doc-base-stamp index.html
+common-post-build-indep:: doc-base-stamp w3-recs.devhelp index.html
clean::
rm -f debian/w3-recs.doc-base.tr-*
- rm -f doc-base-stamp index.html url-list.txt
+ rm -f doc-base-stamp index.html url-list.txt w3-recs.devhelp
.PHONY: get-orig-source clean-orig-source build-orig
get-orig-source: download
@@ -63,6 +64,10 @@
--stringparam format $(DOCBASE_FORMAT) \
$(XSL_DOCBASE) $(TR_FILE) | scripts/multiplex "debian/w3-recs.doc-base.tr-"
+w3-recs.devhelp: $(XSL_DEVHELP) $(TR_FILE)
+ $(XSLT) \
+ $^ | xmllint --format - > $@
+
index.html: $(XSL_HTML) $(TR_FILE)
$(XSLT) \
--stringparam basepath $(DOC_BASEPATH) \
diff -u w3-recs-20070917/debian/w3-recs.install w3-recs-20070917/debian/w3-recs.install
--- w3-recs-20070917/debian/w3-recs.install
+++ w3-recs-20070917/debian/w3-recs.install
@@ -2,0 +3 @@
+w3-recs.devhelp /usr/share/doc/w3-recs/html/
only in patch2:
unchanged:
--- w3-recs-20070917.orig/debian/w3-recs.links
+++ w3-recs-20070917/debian/w3-recs.links
@@ -0,0 +1 @@
+/usr/share/doc/w3-recs/html /usr/share/devhelp/books/w3-recs
only in patch2:
unchanged:
--- w3-recs-20070917.orig/xsl/deb-gen-devhelp.xsl
+++ w3-recs-20070917/xsl/deb-gen-devhelp.xsl
@@ -0,0 +1,44 @@
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:exslt="http://exslt.org/common"
+ xmlns:str="http://exslt.org/strings"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rec="http://www.w3.org/2001/02pd/rec54#"
+ exclude-result-prefixes="rec dc exslt str">
+
+ <xsl:import href="w3-tr-lib.xsl" />
+ <xsl:output mode="xml" encoding="utf-8" />
+
+ <xsl:template match="/">
+ <xsl:variable name="trs"> <!-- selected technical reports -->
+ <xsl:call-template name="find_trs" />
+ </xsl:variable>
+
+ <book title="W3C Recommendations" name="W3C Recs" version="" link="index.html">
+ <chapters>
+ <xsl:apply-templates select="exslt:node-set($trs)/*">
+ <xsl:sort select="normalize-space(dc:title)" />
+ </xsl:apply-templates>
+ </chapters>
+ </book>
+
+ </xsl:template>
+
+ <xsl:template match="rec:REC">
+ <xsl:variable name="title">
+ <xsl:call-template name="title_of_tr">
+ <xsl:with-param name="rec" select="." />
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="docpath">
+ <xsl:call-template name="path_of_tr">
+ <xsl:with-param name="rec" select="." />
+ <xsl:with-param name="basepath" select="'.'" />
+ </xsl:call-template>
+ </xsl:variable>
+
+ <sub link="{str:replace($docpath, './html/', '')}index.html" name="{$title}" />
+ </xsl:template>
+
+</xsl:stylesheet>
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: w3-recs
Source-Version: 20080716-1
We believe that the bug you reported is fixed in the latest version of
w3-recs, which is due to be installed in the Debian FTP archive:
w3-recs_20080716-1.diff.gz
to pool/non-free/w/w3-recs/w3-recs_20080716-1.diff.gz
w3-recs_20080716-1.dsc
to pool/non-free/w/w3-recs/w3-recs_20080716-1.dsc
w3-recs_20080716-1_all.deb
to pool/non-free/w/w3-recs/w3-recs_20080716-1_all.deb
w3-recs_20080716.orig.tar.gz
to pool/non-free/w/w3-recs/w3-recs_20080716.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Zacchiroli <[EMAIL PROTECTED]> (supplier of updated w3-recs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 16 Jul 2008 14:54:57 +0200
Source: w3-recs
Binary: w3-recs
Architecture: source all
Version: 20080716-1
Distribution: unstable
Urgency: low
Maintainer: Stefano Zacchiroli <[EMAIL PROTECTED]>
Changed-By: Stefano Zacchiroli <[EMAIL PROTECTED]>
Description:
w3-recs - Recommendations of the World Wide Web Consortium (W3C)
Closes: 444593 446876
Changes:
w3-recs (20080716-1) unstable; urgency=low
.
* recommendation updates:
- XForms 1.0 Third Edition (updated 29/10/2007)
- SPARQL Query Language for RDF (new recommendation 15/01/2008)
- SPARQL Protocol for RDF (new recommendation 15/01/2008)
- SPARQL Query Results XML Format (new recommendation 15/01/2008)
- Cascading Style Sheets, level 1 (updated 11/04/2008)
- Cascading Style Sheets, level 2 (updated 11/04/2008)
- Canonical XML Version 1.1 (new recommendation 02/05/2008)
- XML Signature Syntax and Processing Second Edition (updated 10/06/2008)
* promote Homepage to a real debian/control field
* promote Vcs-* fields to real debian/control fields
* use relative links in index.html (enable using the index as
http://localhost/doc/...), thanks to Simon McVittie for the patch
(closes: #444593)
* register a w3-recs "book" with the GNOME documentation browser, based on a
patch by Simon McVittie (closes: #446876)
* update Standards-Version to 3.8.0, no changes needed
* rename debian/README.Debian-source -> debian/README.source, the latter is
now recommended by policy
* debian/README.source: add a note on how to be informed about new
recommendation releases (use the RSS feed, Luke)
* debian/xsl/deb-gen-doc-base.xsl: ensure doc-base Document IDs are all
lowercase, as required by doc-base doc; see
/usr/share/doc/doc-base/doc-base.txt.gz. (Without this fix, latest
debhelper clashes all doc-base entries into a single one.)
* move doc-base documents to the (new) section Help/Standards
* debian/copyright: wrap long lines to avoid exceeding 80 characters
* move non "upstream" dirs under debian/ (scripts/, xsl/, url-extra.txt) so
that diff.gz only touches stuff under debian/
Checksums-Sha1:
cd3d289697ecb7e3f009b8b9e13e7d0f572d32fc 1206 w3-recs_20080716-1.dsc
a71b594eabd447bad4aae4061945e7d90c6ee952 23509221 w3-recs_20080716.orig.tar.gz
1659cbd8f7a8bc139eaf748221fa73a02a851bba 11938 w3-recs_20080716-1.diff.gz
7f7f69ce156d2db8bb9fe464313c9bc29895c901 23574068 w3-recs_20080716-1_all.deb
Checksums-Sha256:
a666b3606375111d7f016e7356d9077cce289107e22b8a01ef0d44116019b6d7 1206
w3-recs_20080716-1.dsc
e99b984467ccc6f5bfd29146d42d5745a2e4962cb8dbecd0f75abee148938243 23509221
w3-recs_20080716.orig.tar.gz
2ddbdd79ebbcb56b0a151f0df1d6307d73c3559f983e333f3c5405493f305744 11938
w3-recs_20080716-1.diff.gz
2856b6f7be7763411759ad75908d64f8aeaba1b8ea1e63453f5932cef59094e7 23574068
w3-recs_20080716-1_all.deb
Files:
38d05a42ab46d0f48933c716f15b3535 1206 non-free/doc optional
w3-recs_20080716-1.dsc
f829c12cfb04bf2e451b0eb1806b0343 23509221 non-free/doc optional
w3-recs_20080716.orig.tar.gz
1b281f16f7382f9642ada8b52fd71a35 11938 non-free/doc optional
w3-recs_20080716-1.diff.gz
22e36e4acd9eeb2a5b89e1c5d8883467 23574068 non-free/doc optional
w3-recs_20080716-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFIffkU1cqbBPLEI7wRAix7AKDRKlEcwV1gt2mL7IS48DyW2yvfqACeP9Y3
uK4S6L233YQ5SoVMd1xddzQ=
=N6Ol
-----END PGP SIGNATURE-----
--- End Message ---