[xml/sgml-commit] r879 - in /packages/docbook-xsl/trunk/debian: changelog patches/00list patches/10_html_fix_legalnotice_filename_creation.dpatch

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Sat Sep 8 01:08:38 UTC 2007


Author: dleidert-guest
Date: Sat Sep  8 01:08:38 2007
New Revision: 879

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=879
Log:
* debian/patches/10_html_fix_legalnotice_filename_creation.dpatch: Added.
  - html/titlepage.xsl (legalnotice[titlepage.mode]): Fix the filename
    creation part of this template to avoid broken links to legalnotice
    sites. Fixes SF.net #1790495.
  - xhtml/titlepage.xsl (legalnotice[titlepage.mode]): Ditto.
* debian/patches/00list: Adjusted.

Added:
    packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch   (with props)
Modified:
    packages/docbook-xsl/trunk/debian/changelog
    packages/docbook-xsl/trunk/debian/patches/00list

Modified: packages/docbook-xsl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl/trunk/debian/changelog?rev=879&op=diff
==============================================================================
--- packages/docbook-xsl/trunk/debian/changelog (original)
+++ packages/docbook-xsl/trunk/debian/changelog Sat Sep  8 01:08:38 2007
@@ -1,6 +1,14 @@
 docbook-xsl (1.73.2.dfsg.1-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+
+  [ Daniel Leidert ]
+  * debian/patches/10_html_fix_legalnotice_filename_creation.dpatch: Added.
+    - html/titlepage.xsl (legalnotice[titlepage.mode]): Fix the filename
+      creation part of this template to avoid broken links to legalnotice
+      sites. Fixes SF.net #1790495.
+    - xhtml/titlepage.xsl (legalnotice[titlepage.mode]): Ditto.
+  * debian/patches/00list: Adjusted.
 
  -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Fri, 31 Aug 2007 00:52:41 +0200
 

Modified: packages/docbook-xsl/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl/trunk/debian/patches/00list?rev=879&op=diff
==============================================================================
--- packages/docbook-xsl/trunk/debian/patches/00list (original)
+++ packages/docbook-xsl/trunk/debian/patches/00list Sat Sep  8 01:08:38 2007
@@ -1,1 +1,2 @@
 02_use_global_papersize_conf
+10_html_fix_legalnotice_filename_creation

Added: packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch?rev=879&op=file
==============================================================================
--- packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch (added)
+++ packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch Sat Sep  8 01:08:38 2007
@@ -1,0 +1,40 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_html_fix_legalnotice_filename_creation.dpatch by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for sf.net nug #1790495:
+## DP:   The created link for chunked legalnotice sites is prefixed with "ln-"
+## DP:   but the filename is not, because of a flaw in the legalnotice
+## DP:   template in titlepage.mode mode.
+## DP:
+## DP: <URL:http://sourceforge.net/tracker/index.php?func=detail&aid=1790495&group_id=21935&atid=373747>
+
+ at DPATCH@
+diff -urNad trunk~/html/titlepage.xsl trunk/html/titlepage.xsl
+--- trunk~/html/titlepage.xsl	2007-08-19 02:00:08.000000000 +0200
++++ trunk/html/titlepage.xsl	2007-09-08 02:55:05.000000000 +0200
+@@ -533,7 +533,9 @@
+       <xsl:variable name="filename">
+         <xsl:call-template name="make-relative-filename">
+           <xsl:with-param name="base.dir" select="$base.dir"/>
+-	  <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
++	  <xsl:with-param name="base.name">
++            <xsl:apply-templates mode="chunk-filename" select="."/>
++          </xsl:with-param>
+         </xsl:call-template>
+       </xsl:variable>
+ 
+diff -urNad trunk~/xhtml/titlepage.xsl trunk/xhtml/titlepage.xsl
+--- trunk~/xhtml/titlepage.xsl	2007-08-30 15:43:26.000000000 +0200
++++ trunk/xhtml/titlepage.xsl	2007-09-08 02:55:46.000000000 +0200
+@@ -516,7 +516,9 @@
+       <xsl:variable name="filename">
+         <xsl:call-template name="make-relative-filename">
+           <xsl:with-param name="base.dir" select="$base.dir"/>
+-	  <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
++	  <xsl:with-param name="base.name">
++            <xsl:apply-templates mode="chunk-filename" select="."/>
++          </xsl:with-param>
+         </xsl:call-template>
+       </xsl:variable>
+ 

Propchange: packages/docbook-xsl/trunk/debian/patches/10_html_fix_legalnotice_filename_creation.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the debian-xml-sgml-commit mailing list