jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzProcess two more <replaceable> tags
- one for libreoffice (use the xreflabel to set LO_PREFIX) - one for abiword (installation of normal.awt-ll_CC files)
BLFS/xsl/process-replaceable.xsl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl index 6a9bdd1..ca61b60 100644 --- a/BLFS/xsl/process-replaceable.xsl +++ b/BLFS/xsl/process-replaceable.xsl @@ -128,6 +128,28 @@ ancestor::sect1[@id='xorg-env']"> <xsl:text>/usr</xsl:text> </xsl:when> +<!-- for libreoffice. Note that xorg environment too uses <PREFIX> --> + <xsl:when test="string()='<PREFIX>' and + ancestor::sect1[@id='libreoffice']"> + <xsl:text>/opt/</xsl:text> + <xsl:value-of select="ancestor::sect1/@xreflabel"/> + </xsl:when> +<!-- for abiword --> + <xsl:when test="string()='<lang>'"> + <xsl:choose> + <xsl:when test="starts-with($language,'en_US')"> + <!-- normal.awt for en_US is already there, copy + the one for en_GB (could be any other) --> + <xsl:text>en_GB</xsl:text> + </xsl:when> + <xsl:otherwise> + <!-- in general, there are normal.awt-ll_CC files--> + <xsl:copy-of select="$lang-ll"/> + <xsl:text>_</xsl:text> + <xsl:copy-of select="$lang-CC"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> <xsl:otherwise> <xsl:text>**EDITME</xsl:text> <xsl:apply-templates/>