[e576789] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 |
|
---|
| 3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | version="1.0">
|
---|
| 5 |
|
---|
| 6 | <xsl:output method="text"
|
---|
| 7 | encoding='ISO-8859-1'/>
|
---|
| 8 |
|
---|
| 9 | <xsl:template match="/">
|
---|
| 10 | <xsl:apply-templates select="//list"/>
|
---|
| 11 | <xsl:text>comment ""
|
---|
| 12 |
|
---|
| 13 | menu "Default package for resolving MTA dependency"
|
---|
| 14 |
|
---|
| 15 | choice
|
---|
| 16 | prompt "Mail server"
|
---|
| 17 | config MS_sendmail
|
---|
| 18 | bool "sendmail"
|
---|
| 19 | config MS_postfix
|
---|
| 20 | bool "postfix"
|
---|
| 21 | config MS_exim
|
---|
| 22 | bool "exim"
|
---|
| 23 | endchoice
|
---|
| 24 | config MAIL_SERVER
|
---|
| 25 | string
|
---|
[a4af6811] | 26 | default "sendmail" if MS_sendmail
|
---|
| 27 | default "postfix" if MS_postfix
|
---|
| 28 | default "exim" if MS_exim
|
---|
[e576789] | 29 |
|
---|
| 30 | endmenu
|
---|
| 31 |
|
---|
| 32 | choice
|
---|
| 33 | prompt "Dependency level"
|
---|
| 34 | default DEPLVL_2
|
---|
| 35 |
|
---|
| 36 | config DEPLVL_1
|
---|
| 37 | bool "Required dependencies only"
|
---|
| 38 |
|
---|
| 39 | config DEPLVL_2
|
---|
[2140f22] | 40 | bool "Required plus recommended dependencies"
|
---|
[e576789] | 41 |
|
---|
| 42 | config DEPLVL_3
|
---|
[2140f22] | 43 | bool "Req/rec plus optional dependencies of requested package(s)"
|
---|
| 44 |
|
---|
| 45 | config DEPLVL_4
|
---|
| 46 | bool "All non external dependencies"
|
---|
[e576789] | 47 |
|
---|
| 48 | endchoice
|
---|
| 49 | config optDependency
|
---|
| 50 | int
|
---|
| 51 | default 1 if DEPLVL_1
|
---|
| 52 | default 2 if DEPLVL_2
|
---|
| 53 | default 3 if DEPLVL_3
|
---|
[2140f22] | 54 | default 4 if DEPLVL_4
|
---|
[e576789] | 55 |
|
---|
[625cb14] | 56 | config LANGUAGE
|
---|
| 57 | string "LANG variable in the form ll_CC.charmap[@modifiers]"
|
---|
| 58 | default "en_US.UTF-8"
|
---|
| 59 | help
|
---|
| 60 | Because of the book layout, the 3 fields, ll, CC and charmap are
|
---|
| 61 | mandatory. The @modfier is honoured if present.
|
---|
[e576789] | 62 |
|
---|
[30732c6a] | 63 | config KBLAYOUT
|
---|
| 64 | string "Keyboard layout (to be used in GDM)"
|
---|
| 65 | default "us"
|
---|
| 66 | help
|
---|
| 67 | Used in GDM for setting the login screen keyboard layout.
|
---|
| 68 | See the GDM page in the book for what to put into this field
|
---|
| 69 |
|
---|
[e576789] | 70 | config SUDO
|
---|
| 71 | bool "Build as User"
|
---|
| 72 | default y
|
---|
| 73 | help
|
---|
| 74 | Select if sudo will be used (you build as a normal user)
|
---|
| 75 | otherwise sudo is not needed (you build as root)
|
---|
[945ccaa] | 76 |
|
---|
| 77 |
|
---|
| 78 | config WRAP_INSTALL
|
---|
| 79 | bool "Use `porg style' package management"
|
---|
| 80 | default n
|
---|
| 81 | help
|
---|
| 82 | Select if you want the installation commands to be wrapped
|
---|
| 83 | between "wrapInstall '" and "' ; packInstall" functions,
|
---|
| 84 | where wrapInstall is used to set up a LD_PRELOAD library (for
|
---|
| 85 | example using porg), and packInstall makes the package tarball
|
---|
[dc7fd7b] | 86 |
|
---|
| 87 | config DEL_LA_FILES
|
---|
| 88 | bool "Remove libtool .la files after package installation"
|
---|
| 89 | default y
|
---|
| 90 | help
|
---|
| 91 | This option should be active on any system mixing libtool
|
---|
| 92 | and meson build systems. ImageMagick .la files are preserved.
|
---|
[67c3df4] | 93 |
|
---|
| 94 | config STATS
|
---|
| 95 | bool "Generate statistics for the requested package(s)"
|
---|
| 96 | default n
|
---|
| 97 | help
|
---|
| 98 | If you want timing and memory footprint statistics to be
|
---|
| 99 | generated for the packages you build (not their dependencies),
|
---|
| 100 | set this option to y.
|
---|
[e576789] | 101 | </xsl:text>
|
---|
| 102 | </xsl:template>
|
---|
| 103 |
|
---|
| 104 | <xsl:template match="list">
|
---|
| 105 | <xsl:if
|
---|
| 106 | test=".//*[self::package or self::module]
|
---|
| 107 | [(version and not(inst-version)) or
|
---|
| 108 | string(version) != string(inst-version)]">
|
---|
| 109 | <xsl:text>config	MENU_</xsl:text>
|
---|
| 110 | <xsl:value-of select="@id"/>
|
---|
| 111 | <xsl:text>
|
---|
| 112 | bool	"</xsl:text>
|
---|
| 113 | <xsl:value-of select="name"/>
|
---|
| 114 | <xsl:text>"
|
---|
| 115 | default	n
|
---|
| 116 |
|
---|
| 117 | menu "</xsl:text>
|
---|
| 118 | <xsl:value-of select="name"/>
|
---|
| 119 | <xsl:text>"
|
---|
[f596dde] | 120 | depends on MENU_</xsl:text>
|
---|
[e576789] | 121 | <xsl:value-of select="@id"/>
|
---|
| 122 | <xsl:text>
|
---|
| 123 |
|
---|
| 124 | </xsl:text>
|
---|
| 125 | <xsl:apply-templates select="sublist"/>
|
---|
| 126 | <xsl:text>endmenu
|
---|
| 127 |
|
---|
| 128 | </xsl:text>
|
---|
| 129 | </xsl:if>
|
---|
| 130 | </xsl:template>
|
---|
| 131 |
|
---|
| 132 | <xsl:template match="sublist">
|
---|
| 133 | <xsl:if
|
---|
| 134 | test=".//*[self::package or self::module]
|
---|
| 135 | [(version and not(inst-version)) or
|
---|
| 136 | string(version) != string(inst-version)]">
|
---|
| 137 | <xsl:text>	config	MENU_</xsl:text>
|
---|
| 138 | <xsl:value-of select="@id"/>
|
---|
| 139 | <xsl:text>
|
---|
| 140 | 	bool	"</xsl:text>
|
---|
| 141 | <xsl:value-of select="name"/>
|
---|
| 142 | <xsl:text>"
|
---|
| 143 | 	default	n
|
---|
| 144 |
|
---|
| 145 | 	menu "</xsl:text>
|
---|
| 146 | <xsl:value-of select="name"/>
|
---|
| 147 | <xsl:text>"
|
---|
[f596dde] | 148 | 	depends on MENU_</xsl:text>
|
---|
[e576789] | 149 | <xsl:value-of select="@id"/>
|
---|
| 150 | <xsl:text>
|
---|
| 151 |
|
---|
| 152 | </xsl:text>
|
---|
| 153 | <xsl:apply-templates select="package"/>
|
---|
| 154 | <xsl:text>	endmenu
|
---|
| 155 |
|
---|
| 156 | </xsl:text>
|
---|
| 157 | </xsl:if>
|
---|
| 158 | </xsl:template>
|
---|
| 159 |
|
---|
| 160 | <xsl:template match="package">
|
---|
| 161 | <xsl:if
|
---|
| 162 | test="(version and not(inst-version)) or
|
---|
| 163 | string(version) != string(inst-version)">
|
---|
| 164 | <xsl:text>		config	CONFIG_</xsl:text>
|
---|
| 165 | <xsl:value-of select="name"/>
|
---|
| 166 | <xsl:text>
|
---|
| 167 | 		bool	"</xsl:text>
|
---|
| 168 | <xsl:value-of select="name"/>
|
---|
| 169 | <xsl:text> </xsl:text>
|
---|
| 170 | <xsl:value-of select="version"/>
|
---|
| 171 | <xsl:if test="inst-version">
|
---|
| 172 | <xsl:text> [Installed </xsl:text>
|
---|
| 173 | <xsl:value-of select="inst-version"/>
|
---|
| 174 | <xsl:text>]</xsl:text>
|
---|
| 175 | </xsl:if>
|
---|
| 176 | <xsl:text>"
|
---|
| 177 | 		default	n
|
---|
| 178 |
|
---|
| 179 | </xsl:text>
|
---|
| 180 | </xsl:if>
|
---|
| 181 | <xsl:if
|
---|
| 182 | test="not(version) and ./module[not(inst-version) or
|
---|
| 183 | string(version) != string(inst-version)]">
|
---|
| 184 | <xsl:text>		config	MENU_</xsl:text>
|
---|
[6e28f3c] | 185 | <xsl:value-of select="translate(name,' ()','___')"/>
|
---|
[e576789] | 186 | <xsl:text>
|
---|
| 187 | 		bool	"</xsl:text>
|
---|
| 188 | <xsl:value-of select="name"/>
|
---|
| 189 | <xsl:text>"
|
---|
| 190 | 		default	n
|
---|
| 191 |
|
---|
| 192 | 		menu "</xsl:text>
|
---|
| 193 | <xsl:value-of select="name"/>
|
---|
| 194 | <xsl:text>"
|
---|
[f596dde] | 195 | 		depends on MENU_</xsl:text>
|
---|
[6e28f3c] | 196 | <xsl:value-of select="translate(name,' ()','___')"/>
|
---|
[e576789] | 197 | <xsl:text>
|
---|
| 198 |
|
---|
| 199 | </xsl:text>
|
---|
| 200 | <xsl:apply-templates select="module"/>
|
---|
| 201 | <xsl:text>		endmenu
|
---|
| 202 |
|
---|
| 203 | </xsl:text>
|
---|
| 204 | </xsl:if>
|
---|
| 205 | </xsl:template>
|
---|
| 206 |
|
---|
| 207 | <xsl:template match="module">
|
---|
| 208 | <xsl:if
|
---|
| 209 | test="not(inst-version) or
|
---|
| 210 | string(version) != string(inst-version)">
|
---|
| 211 | <xsl:text>			config	CONFIG_</xsl:text>
|
---|
| 212 | <xsl:value-of select="name"/>
|
---|
| 213 | <xsl:text>
|
---|
| 214 | 			bool	"</xsl:text>
|
---|
| 215 | <xsl:value-of select="name"/>
|
---|
| 216 | <xsl:text> </xsl:text>
|
---|
| 217 | <xsl:value-of select="version"/>
|
---|
| 218 | <xsl:if test="inst-version">
|
---|
| 219 | <xsl:text> [Installed </xsl:text>
|
---|
| 220 | <xsl:value-of select="inst-version"/>
|
---|
| 221 | <xsl:text>]</xsl:text>
|
---|
| 222 | </xsl:if>
|
---|
| 223 | <xsl:text>"
|
---|
| 224 | 			default	</xsl:text>
|
---|
| 225 | <xsl:choose>
|
---|
| 226 | <xsl:when test="contains(../name,'xorg')">
|
---|
| 227 | <xsl:text>y
|
---|
| 228 |
|
---|
| 229 | </xsl:text>
|
---|
| 230 | </xsl:when>
|
---|
| 231 | <xsl:otherwise>
|
---|
| 232 | <xsl:text>n
|
---|
| 233 |
|
---|
| 234 | </xsl:text>
|
---|
| 235 | </xsl:otherwise>
|
---|
| 236 | </xsl:choose>
|
---|
| 237 | </xsl:if>
|
---|
| 238 | </xsl:template>
|
---|
| 239 |
|
---|
| 240 | </xsl:stylesheet>
|
---|