From b7b59223956bdc6b2c5582c300b22aef7f1cf67e Mon Sep 17 00:00:00 2001 From: Markus Weiland Date: Sun, 6 Oct 2019 15:10:49 +0200 Subject: [PATCH] #277 Compatibility with Thunderbird 67 and newer versions * Refactor `install.rdf` to `manifest.json`. --- .gitignore | 1 - Makefile | 9 +++----- VERSION | 1 - install.rdf.template | 53 -------------------------------------------- manifest.json | 18 +++++++++++++++ 5 files changed, 21 insertions(+), 61 deletions(-) delete mode 100644 VERSION delete mode 100644 install.rdf.template create mode 100644 manifest.json diff --git a/.gitignore b/.gitignore index 1ee23e6e..73d5449e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/install.rdf /exchangecalendar-v*.xpi diff --git a/Makefile b/Makefile index c16c0a2c..d978b9bd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -version = $(shell cat VERSION) -excludefromxpi = .git/\* .gitignore \*/.gitignore .tx/\* \*.xpi \*.sh update\*.txt Makefile VERSION install.rdf.template +version = $(shell jq -r '.version' manifest.json) +excludefromxpi = .git/\* .gitignore \*/.gitignore .tx/\* \*.xpi \*.sh update\*.txt Makefile releasebranch = ec-4.0 update = disable xpi = exchangecalendar-v$(version).xpi @@ -9,13 +9,10 @@ xpi = exchangecalendar-v$(version).xpi # Default target is build package build: $(xpi) -$(xpi): install.rdf defaults/preferences/update.js +$(xpi): defaults/preferences/update.js rm -f $@ zip -r $@ -x $(excludefromxpi) -- . -install.rdf: install.rdf.template - sed 's/@VERSION@/$(version)/g' $< > $@ - defaults/preferences/update.js: cp defaults/preferences/update_$(update).txt $@ diff --git a/VERSION b/VERSION deleted file mode 100644 index 922d4daa..00000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -4.0.0-beta5 diff --git a/install.rdf.template b/install.rdf.template deleted file mode 100644 index 78ebc2fb..00000000 --- a/install.rdf.template +++ /dev/null @@ -1,53 +0,0 @@ - - - - exchangecalendar@extensions.1st-setup.nl - @VERSION@ - - - - {3550f703-e582-4d05-9a08-453d09bdfdc6} - 52.0.0 - 52.*.* - - - - - - {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} - 2.49.* - 2.49.* - - - true - Exchange Calendar - https://github.com/ExchangeCalendar/exchangecalendar - chrome://exchangecommon-common/skin/images/lightningexchangecalendar.png - Michel Verbraak - ExchangeCalendar community - Michel Verbraak (nl) - Michel Verbraak (en-US) - Dominique Fillon (fr-FR) - Christian A. Meyer (de) - Björn Töpper (de) - Hiroshi Miura (ja-JP) - Alexey Sinitsyn (ru) - Alessandro Menti (it-IT) - Engin Özkan (tr) - - - en - Exchange Calendar - Allows you to sync calendars, tasks, and contacts with Microsoft Exchange. - - - - - fr - Exchange Calendar - Vous permet de synchroniser les calendriers, tâches et contactes avec Microsoft Exchange. - - - - diff --git a/manifest.json b/manifest.json new file mode 100644 index 00000000..d6146090 --- /dev/null +++ b/manifest.json @@ -0,0 +1,18 @@ +{ + "manifest_version": 2, + "applications": { + "gecko": { + "id": "github.com_exchangecalendar@community.invalid", + "strict_min_version": "68.0" + } + }, + "name": "Exchange Calendar", + "description": "Synchronize calendars, tasks, and contacts with Microsoft Exchange.", + "version": "4.0.0.5", + "version_name": "4.0.0-beta5", + "icons": { + "32": "common/theme/common/images/lightningexchangecalendar.png" + }, + "homepage_url": "https://github.com/ExchangeCalendar/exchangecalendar", + "author": "ExchangeCalendar community" +}