Changeset 7735c7a for BLFS/xsl/gen_pkg_list.xsl
- Timestamp:
- 12/28/2013 08:51:15 PM (11 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- d68eb1b
- Parents:
- 94744cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/gen_pkg_list.xsl
r94744cd r7735c7a 201 201 </xsl:if> 202 202 <!-- Dependencies --> 203 <!-- If in Xorg or KDE chapter, consider that the preceding package is 204 the first dependency (not always noted in the book) --> 205 <xsl:if test="ancestor::chapter[@id='kde4-core'] or 206 (ancestor::chapter[@id='x-window-system'] and 207 preceding-sibling::sect1[@id != 'xorg7'])"> 203 <!-- If in Xorg (not anymore) or KDE chapter, consider that the preceding 204 package is the first dependency (not always noted in the book)--> 205 <xsl:if test="ancestor::chapter[@id='kde4-core']"> 208 206 <xsl:text> 209 207 </xsl:text> 210 <xsl:choose> 211 <xsl:when test="contains(preceding-sibling::sect1[1]/@id, 212 'xorg7-') and 213 not(contains(preceding-sibling::sect1[1]/@id, 214 'driver'))"> 215 <xsl:call-template name="expand-deps"> 216 <xsl:with-param name="section"> 217 <xsl:value-of select="preceding-sibling::sect1[1]/@id"/> 218 </xsl:with-param> 219 <xsl:with-param name="status" select="'required'"/> 220 </xsl:call-template> 221 </xsl:when> 222 <xsl:otherwise> 223 <xsl:element name="dependency"> 224 <xsl:attribute name="status">required</xsl:attribute> 225 <xsl:attribute name="name"> 226 <xsl:choose> 227 <xsl:when test="@id='printproto'">xorg-server</xsl:when> 228 <xsl:otherwise> 229 <xsl:value-of 230 select="preceding-sibling::sect1[1]/@id"/> 231 </xsl:otherwise> 232 </xsl:choose> 233 </xsl:attribute> 234 <xsl:attribute name="type">ref</xsl:attribute> 235 </xsl:element> 236 </xsl:otherwise> 237 </xsl:choose> 208 <xsl:element name="dependency"> 209 <xsl:attribute name="status">required</xsl:attribute> 210 <xsl:attribute name="name"> 211 <xsl:value-of select="preceding-sibling::sect1[1]/@id"/> 212 </xsl:attribute> 213 <xsl:attribute name="type">ref</xsl:attribute> 214 </xsl:element> 238 215 </xsl:if> 239 216 <xsl:apply-templates select=".//para[@role='required' or
Note:
See TracChangeset
for help on using the changeset viewer.