summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authorlains <lains@caramail.com>2018-07-15 09:05:42 +0200
committerjkoan <jkoan@users.noreply.github.com>2018-07-15 09:05:42 +0200
commit8b395d0da1ed4f11c50b817927e28c8a38ced18a (patch)
tree148aab2a72ccd6496b65b985a301b32ccf32b7fb /navit
parent07006013135b619029f26df579a0ac6acb86cd4a (diff)
downloadnavit-8b395d0da1ed4f11c50b817927e28c8a38ced18a.tar.gz
Fix:scripts:WinCE build script (remove sample map, add espeak-data) (#632)
* Fixing WinCE build script Remove inclusion of sample map in zip package (which, in addition, fails currently because map server is down) Allow running script twice by performing cleanup on directories if already created Adding missing espeak-data to zip package (currently missing and makes navit speech synthesis fail on current WinCE builds) * Adding xslt processor to build env * Pre-filling <vehicle> tag for WinCE
Diffstat (limited to 'navit')
-rw-r--r--navit/xslt/wince.xslt13
1 files changed, 13 insertions, 0 deletions
diff --git a/navit/xslt/wince.xslt b/navit/xslt/wince.xslt
new file mode 100644
index 000000000..1b0c0d230
--- /dev/null
+++ b/navit/xslt/wince.xslt
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xsl:output method="xml" doctype-system="navit.dtd" cdata-section-elements="gui"/>
+ <xsl:template match="/config/navit/vehicle[@enabled='yes']">
+ <xsl:copy>
+ <xsl:copy-of select="@*[name() != 'gpsd_query']"/>
+ <xsl:attribute name="source">wince:COM2:</xsl:attribute>
+ <xsl:attribute name="baudrate">4800</xsl:attribute>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:template>
+ <xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template>
+</xsl:transform>