diff options
author | Nick White <git@njw.me.uk> | 2010-11-18 18:42:10 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-11-18 18:42:10 +0000 |
commit | 6f2be227fc7f4e69e149e38a8b3c8359c4a14295 (patch) | |
tree | cfdf5cb8d58193b5aa35ee7d1b08020655cf61e5 | |
parent | d0cd3bfe7e8271b6f82612a760ac7a2b87a2870d (diff) |
Write gecko install rdf in turtle
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | gecko/install.rdf | 27 | ||||
-rw-r--r-- | gecko/install.ttl | 17 |
3 files changed, 18 insertions, 28 deletions
@@ -31,7 +31,7 @@ xpi: cp gecko/chrome/content/simplyread.xul gecko-build/chrome/content/ cp simplyread.js gecko-build/chrome/content/ rsvg gecko/chrome/content/icon.svg gecko-build/chrome/content/icon.png - sed "s/VERSION/$(VERSION)/g" < gecko/install.rdf > gecko-build/install.rdf + sed "s/VERSION/$(VERSION)/g" < gecko/install.ttl | rapper -i turtle -o rdfxml /dev/stdin 2>/dev/null > gecko-build/install.rdf cd gecko-build; zip -r ../$(NAME)-$(VERSION).xpi . 1>/dev/null gpg -b < $(NAME)-$(VERSION).xpi > $(NAME)-$(VERSION).xpi.sig rm -rf gecko-build diff --git a/gecko/install.rdf b/gecko/install.rdf deleted file mode 100644 index c0eee1f..0000000 --- a/gecko/install.rdf +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0"?> - -<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:em="http://www.mozilla.org/2004/em-rdf#" - xmlns:doap="http://usefulinc.com/ns/doap#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> - - <Description about="urn:mozilla:install-manifest"> - <em:id>simplyread@njw.me.uk</em:id> - <em:version>VERSION</em:version> - <em:type>2</em:type> - - <em:targetApplication> - <Description> - <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> - <em:minVersion>3.0</em:minVersion> - <em:maxVersion>4.0.*</em:maxVersion> - </Description> - </em:targetApplication> - - <em:name>SimplyRead</em:name> - <em:description>Makes webpages more readable. Press Ctrl-Alt-r or click the 'sr' icon in the status bar to toggle SimplyRead.</em:description> - <em:creator>Nick White</em:creator> - <em:homepageURL>http://njw.me.uk/software/simplyread/</em:homepageURL> - <doap:license rdf:resource="http://www.gnu.org/licenses/agpl.html"/> - </Description> -</RDF> diff --git a/gecko/install.ttl b/gecko/install.ttl new file mode 100644 index 0000000..cd10e86 --- /dev/null +++ b/gecko/install.ttl @@ -0,0 +1,17 @@ +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. +@prefix em: <http://www.mozilla.org/2004/em-rdf#>. + +<urn:mozilla:install-manifest> + em:id "simplyread@njw.me.uk"; + em:version "VERSION"; + em:type "2"; + em:targetApplication [ + em:id "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"; + em:minVersion "3.0"; + em:maxVersion "4.0.*" + ] ; + em:name "SimplyRead"; + em:description "Makes webpages more readable. Press Ctrl-Alt-r or click the 'sr' icon in the status bar to toggle SimplyRead."; + em:creator "Nick White"; + em:homepageUrl "http://njw.me.uk/software/simplyread/"; + <http://usefulinc.com/ns/doap#license> <http://www.gnu.org/licenses/agpl.html>. |