1 --- poldek-0.21-cvs20070703.00/doc/poldek.conf.xml~ 2007-06-30 10:32:47.000000000 +0300
2 +++ poldek-0.21-cvs20070703.00/doc/poldek.conf.xml 2008-01-13 16:36:22.437311829 +0200
4 <option name="dependency engine version" type="integer" default="2" hidden="yes">
7 - <option name="auto directory dependencies" type="boolean3" default="auto" op="AUTODIRDEP">
8 + <option name="auto directory dependencies" type="boolean3" default="no" op="AUTODIRDEP">
10 RPM 4.4.6 introduces auto dependencies based on package directories. Option controls this feature.
14 <option name="follow" type="boolean" default="yes" op="FOLLOW">
15 --- poldek/doc/Makefile.am~ 2005-11-06 23:00:58.000000000 +0200
16 +++ poldek/doc/Makefile.am 2008-01-14 10:11:50.113470814 +0200
19 # xml configuration description & co.
20 CONFXMLS = poldek.conf.xml conf-xml2.sh \
21 - conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
22 + conf-xml2c.xsl conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
25 MANUALS = manual.xml manual.css manual.xsl
26 --- /dev/null 2006-03-28 14:00:37.000000000 +0300
27 +++ poldek/doc/conf-xml2c.xsl 2005-11-01 21:08:20.000000000 +0200
29 +<xsl:stylesheet version="1.0"
30 + xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
32 +<!-- poldek.conf.xml -> conf_sections.c -->
35 +<xsl:output method="text" indent="no" />
36 +<xsl:template match="/">
37 +/* This file is generated from poldek.conf.xml. Do not edit */
38 +#include <stdlib.h>
39 +#include "conf_intern.h"
40 +#include "poldek_ts.h"
41 + <xsl:for-each select="config/confsection">
42 +static struct poldek_conf_tag <xsl:value-of select="@name"/>_tags[] = {
43 + <xsl:for-each select="optiongroup">
44 + <xsl:for-each select="option">
45 + { "<xsl:value-of select="@name"/>",
46 + CONF_TYPE_<xsl:value-of select="translate(@type,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
47 + <xsl:if test="@multiple='yes'"> | CONF_TYPE_F_MULTI</xsl:if>
48 + <xsl:if test="@required='yes'"> | CONF_TYPE_F_REQUIRED</xsl:if>
49 + <xsl:if test="@env='yes'"> | CONF_TYPE_F_ENV</xsl:if>
50 + <xsl:if test="@list='yes'"> | CONF_TYPE_F_LIST</xsl:if>
51 + <xsl:if test="@path='yes'"> | CONF_TYPE_F_PATH</xsl:if>
52 + <xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>,
54 + <xsl:when test="string-length(@default) > 0">"<xsl:value-of select="@default"/>"</xsl:when>
55 + <xsl:otherwise>NULL</xsl:otherwise>
58 + <xsl:when test="string-length(@op) > 0">POLDEK_OP_<xsl:value-of select="@op"/></xsl:when>
59 + <xsl:otherwise>0</xsl:otherwise>
60 + </xsl:choose>, { 0 } },
61 + <xsl:for-each select="alias">
62 + { "<xsl:value-of select="@name"/>", CONF_TYPE_F_ALIAS<xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>, NULL, 0, { 0 } },
67 + { NULL, 0, NULL, 0, { 0 } }
73 +struct poldek_conf_section poldek_conf_sections[] = {
74 + <xsl:for-each select="config/confsection">
75 + { "<xsl:value-of select="@name"/>", <xsl:value-of select="@name"/>_tags,
77 + <xsl:when test="@multiple='yes'">1</xsl:when>
78 + <xsl:otherwise>0</xsl:otherwise>