summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-03-17 17:33:59 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-03-17 17:34:21 -0700
commit35982ce4254d5153e3feaf277bf5a70ff3661eaa (patch)
tree2030997de569a590c65176ff1685fafadb662f93 /www-apps/venus/files
parentsci-geosciences/qgis: Fix build w/ sip-4.19.1, qscintilla-2.10 (diff)
downloadgentoo-35982ce4254d5153e3feaf277bf5a70ff3661eaa.tar.gz
gentoo-35982ce4254d5153e3feaf277bf5a70ff3661eaa.tar.bz2
gentoo-35982ce4254d5153e3feaf277bf5a70ff3661eaa.zip
www-apps/venus: set encoding on output files.
Package-Manager: portage-2.3.3
Diffstat (limited to 'www-apps/venus/files')
-rw-r--r--www-apps/venus/files/venus-xml-utf8.patch80
1 files changed, 80 insertions, 0 deletions
diff --git a/www-apps/venus/files/venus-xml-utf8.patch b/www-apps/venus/files/venus-xml-utf8.patch
new file mode 100644
index 000000000000..f7c29782ff46
--- /dev/null
+++ b/www-apps/venus/files/venus-xml-utf8.patch
@@ -0,0 +1,80 @@
+diff -Nuar --exclude '*~' venus.orig/themes/common/atom.xml.xslt venus/themes/common/atom.xml.xslt
+--- venus.orig/themes/common/atom.xml.xslt 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/atom.xml.xslt 2017-03-17 17:24:51.668976850 -0700
+@@ -1,3 +1,4 @@
++<?xml version="1.0" encoding="UTF-8"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:access="http://www.bloglines.com/about/specs/fac-1.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+@@ -7,6 +8,7 @@
+ xmlns="http://www.w3.org/1999/xhtml"
+ exclude-result-prefixes="planet xhtml">
+
++ <xsl:output indent="yes" method="xml" encoding="UTF-8"/>
+ <!-- strip planet elements and attributes -->
+ <xsl:template match="planet:*|@planet:*"/>
+
+diff -Nuar --exclude '*~' venus.orig/themes/common/foafroll.xml.xslt venus/themes/common/foafroll.xml.xslt
+--- venus.orig/themes/common/foafroll.xml.xslt 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/foafroll.xml.xslt 2017-03-17 17:25:01.477165384 -0700
+@@ -1,3 +1,4 @@
++<?xml version="1.0" encoding="UTF-8"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+@@ -8,7 +9,7 @@
+ xmlns:planet="http://planet.intertwingly.net/"
+ exclude-result-prefixes="atom planet">
+
+- <xsl:output indent="yes" method="xml"/>
++ <xsl:output indent="yes" method="xml" encoding="UTF-8"/>
+
+ <xsl:template match="atom:feed">
+ <rdf:RDF>
+diff -Nuar --exclude '*~' venus.orig/themes/common/opml.xml.xslt venus/themes/common/opml.xml.xslt
+--- venus.orig/themes/common/opml.xml.xslt 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/opml.xml.xslt 2017-03-17 17:26:20.930692531 -0700
+@@ -1,9 +1,10 @@
++<?xml version="1.0" encoding="UTF-8"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:planet="http://planet.intertwingly.net/"
+ exclude-result-prefixes="atom planet">
+
+- <xsl:output indent="yes" method="xml"/>
++ <xsl:output indent="yes" method="xml" encoding="UTF-8"/>
+
+ <xsl:template name="rfc822" xmlns:date="http://exslt.org/dates-and-times">
+ <xsl:param name="date"/>
+diff -Nuar --exclude '*~' venus.orig/themes/common/rss10.xml.tmpl venus/themes/common/rss10.xml.tmpl
+--- venus.orig/themes/common/rss10.xml.tmpl 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/rss10.xml.tmpl 2017-03-17 17:26:18.558646942 -0700
+@@ -1,4 +1,4 @@
+-<?xml version="1.0"?>
++<?xml version="1.0" encoding="UTF-8"?>
+ <rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+diff -Nuar --exclude '*~' venus.orig/themes/common/rss20.xml.tmpl venus/themes/common/rss20.xml.tmpl
+--- venus.orig/themes/common/rss20.xml.tmpl 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/rss20.xml.tmpl 2017-03-17 17:26:16.718611577 -0700
+@@ -1,4 +1,4 @@
+-<?xml version="1.0"?>
++<?xml version="1.0" encoding="UTF-8"?>
+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+
+ <channel>
+diff -Nuar --exclude '*~' venus.orig/themes/common/validate.html.xslt venus/themes/common/validate.html.xslt
+--- venus.orig/themes/common/validate.html.xslt 2010-09-11 06:41:53.000000000 -0700
++++ venus/themes/common/validate.html.xslt 2017-03-17 17:26:58.275410251 -0700
+@@ -1,8 +1,10 @@
++<?xml version="1.0" encoding="UTF-8"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ xmlns:planet="http://planet.intertwingly.net/"
+ xmlns="http://www.w3.org/1999/xhtml">
++ <xsl:output indent="yes" method="html" encoding="UTF-8"/>
+
+ <xsl:template match="atom:feed">
+ <html xmlns="http://www.w3.org/1999/xhtml">