From 6f2be227fc7f4e69e149e38a8b3c8359c4a14295 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 18 Nov 2010 18:42:10 +0000 Subject: Write gecko install rdf in turtle --- Makefile | 2 +- gecko/install.rdf | 27 --------------------------- gecko/install.ttl | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 28 deletions(-) delete mode 100644 gecko/install.rdf create mode 100644 gecko/install.ttl diff --git a/Makefile b/Makefile index cc9aff9..2e89928 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ - - - - - - simplyread@njw.me.uk - VERSION - 2 - - - - {ec8030f7-c20a-464f-9b0e-13a3a9e97384} - 3.0 - 4.0.* - - - - SimplyRead - Makes webpages more readable. Press Ctrl-Alt-r or click the 'sr' icon in the status bar to toggle SimplyRead. - Nick White - http://njw.me.uk/software/simplyread/ - - - 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: . +@prefix em: . + + + 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/"; + . -- cgit v1.2.3