SOURCES: python-pygobject-shade_verbatim.patch (NEW) - kill obsole...

freetz freetz at pld-linux.org
Mon Aug 7 22:17:45 CEST 2006


Author: freetz                       Date: Mon Aug  7 20:17:45 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kill obsoleted shade.verbatim (and millions of warnings)

---- Files affected:
SOURCES:
   python-pygobject-shade_verbatim.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-pygobject-shade_verbatim.patch
diff -u /dev/null SOURCES/python-pygobject-shade_verbatim.patch:1.1
--- /dev/null	Mon Aug  7 22:17:45 2006
+++ SOURCES/python-pygobject-shade_verbatim.patch	Mon Aug  7 22:17:40 2006
@@ -0,0 +1,55 @@
+diff -aurN pygobject-2.11.1.orig/docs/xsl/html.xsl pygobject-2.11.1/docs/xsl/html.xsl
+--- pygobject-2.11.1.orig/docs/xsl/html.xsl	2006-07-20 21:02:52.000000000 +0200
++++ pygobject-2.11.1/docs/xsl/html.xsl	2006-08-07 22:05:09.390815381 +0200
+@@ -7,17 +7,10 @@
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                 version='1.0'>
+ 
+-<xsl:param name="shade.verbatim" select="1"/>
+ <xsl:param name="use.id.as.filename" select="1"/>
+ <xsl:param name="chunk.fast" select="1"/>
+ <xsl:param name="chunker.output.encoding" select="'utf-8'"/>
+ 
+-<xsl:attribute-set name="shade.verbatim.style">
+-  <xsl:attribute name="border">0</xsl:attribute>
+-  <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
+-  <xsl:attribute name="width">100%</xsl:attribute>
+-</xsl:attribute-set>
+-
+ <xsl:param name="linenumbering.extension" select="1"/>
+ <xsl:param name="variablelist.as.table" select="1"/>
+ 
+@@ -50,26 +43,13 @@
+         </table>
+       </xsl:when>
+       <xsl:when test="@role = 'properties' or @role = 'prototypes'">
+-  	<xsl:choose>
+-    	  <xsl:when test="$shade.verbatim != 0">
+-            <table width="100%" xsl:use-attribute-sets="shade.verbatim.style">
+-              <tr>
+-                <td valign="top">
+-                  <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/>
+-                </td>
+-              </tr>
+-            </table>
+-          </xsl:when>
+-	  <xsl:otherwise>
+-            <table width="100%" border="0">
+-              <tr>
+-                <td valign="top">
+-                  <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/>
+-                </td>
+-              </tr>
+-            </table>
+-          </xsl:otherwise>
+-        </xsl:choose>
++        <table width="100%" border="0" bgcolor="#E0E0E0">
++          <tr>
++            <td valign="top">
++              <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/>
++            </td>
++          </tr>
++        </table>
+       </xsl:when>
+       <xsl:otherwise>
+         <blockquote class="{local-name(.)}">
================================================================


More information about the pld-cvs-commit mailing list