commit: e0229d32bc38fc7de79ae58ebfa4b69ea29d7b57
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 7 22:09:34 2018 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Dec 7 22:10:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0229d32
mail-client/thunderbird-60.3.3-r1: fix gdata-provider
Fixed issue where gdata-provider extension (installed via USE=lightning) would
not load due to manifest.json not yet being properly supported.
Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
.../{thunderbird-60.3.3.ebuild => thunderbird-60.3.3-r1.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/mail-client/thunderbird/thunderbird-60.3.3.ebuild
b/mail-client/thunderbird/thunderbird-60.3.3-r1.ebuild
similarity index 98%
rename from mail-client/thunderbird/thunderbird-60.3.3.ebuild
rename to mail-client/thunderbird/thunderbird-60.3.3-r1.ebuild
index b50bc9259df..c3d4b19cab2 100644
--- a/mail-client/thunderbird/thunderbird-60.3.3.ebuild
+++ b/mail-client/thunderbird/thunderbird-60.3.3-r1.ebuild
@@ -528,6 +528,12 @@ src_install() {
emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
mkdir -p "${T}/${emid}" || die
cp -RLp -t "${T}/${emid}"
"${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
+
+ # manifest.json does not allow the addon to load, put
install.rdf in place
+ # note, version number needs to be set properly
+ cp -RLp -t "${T}/${emid}"
"${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}/install.rdf
+ sed -i -e '/em:version/ s/>[^<]*</>4.1</'
"${T}/${emid}"/install.rdf
+
insinto ${MOZILLA_FIVE_HOME}/extensions
doins -r "${T}/${emid}"
fi