diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-01-24 03:28:08 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2010-01-26 08:15:44 +0800 |
commit | adbf74706e0ee2295b9fec91ea6d017bf2c75edf (patch) | |
tree | 6d0c204123e450441b55d07fd53b459e7e202ec3 /data | |
parent | 23875ed89857851cd7e27541049a7cf74f593310 (diff) | |
download | gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar.gz gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar.bz2 gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar.lz gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar.xz gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.tar.zst gsoc2013-epiphany-adbf74706e0ee2295b9fec91ea6d017bf2c75edf.zip |
extensions-manager: remove legacy XML format support
This has been long gone and anything still using it probably doesn't work with
the API changes in the last year anyway.
Bug #607881
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 3 | ||||
-rw-r--r-- | data/ephy-xml2ini.xsl | 51 |
2 files changed, 1 insertions, 53 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index e17a252a7..87f8c1d8e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -30,8 +30,7 @@ pkgconfig_DATA = epiphany-$(EPIPHANY_API_VERSION).pc xsldir = $(pkgdatadir) xsl_DATA = \ - epiphany-bookmarks-html.xsl \ - ephy-xml2ini.xsl + epiphany-bookmarks-html.xsl # Dbus service file servicedir = $(datadir)/dbus-1/services diff --git a/data/ephy-xml2ini.xsl b/data/ephy-xml2ini.xsl deleted file mode 100644 index e9cd6b89a..000000000 --- a/data/ephy-xml2ini.xsl +++ /dev/null @@ -1,51 +0,0 @@ -<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> - -<xsl:output method="text" indent="no" encoding="UTF-8"/> - -<xsl:template match="/extension"># This file has been automatically generated by Epiphany - -[Epiphany Extension] -Version=1 -<xsl:for-each select="/extension/name"> -<xsl:text>Name</xsl:text> -<xsl:call-template name="printkey"/> -</xsl:for-each> - -<xsl:for-each select="/extension/description"> -<xsl:text>Description</xsl:text> -<xsl:call-template name="printkey"/> -</xsl:for-each> -<xsl:text>Authors=</xsl:text> -<xsl:for-each select="/extension/author"><xsl:value-of select="."/>;</xsl:for-each> -URL=<xsl:value-of select="/extension/url"/> - -[Loader] -<xsl:choose> -<xsl:when test='/extension/loader/@type="shlib"'>Type=shlib -Library=<xsl:for-each select="/extension/loader/attribute"> -<xsl:if test='@name="library"'><xsl:value-of select="."/></xsl:if> -</xsl:for-each> -</xsl:when> -<xsl:when test='/extension/loader/@type="python"'>Type=python -Module=<xsl:for-each select="/extension/loader/attribute"> -<xsl:if test='@name="module"'><xsl:value-of select="."/></xsl:if> -</xsl:for-each> -</xsl:when> -</xsl:choose> -<xsl:text> -</xsl:text> -</xsl:template> - -<xsl:template name="printkey"> -<xsl:if test="@xml:lang"> -<xsl:text>[</xsl:text> -<xsl:value-of select="@xml:lang"/> -<xsl:text>]</xsl:text> -</xsl:if> -<xsl:text>=</xsl:text> -<xsl:value-of select="."/> -<xsl:text> -</xsl:text> -</xsl:template> - -</xsl:stylesheet> |