forked from pool/MozillaThunderbird
1cbaa007b0
- require NSPR 4.10 and NSS 3.15.1 - add GStreamer build requirements for Gecko - added enigmail-build.patch to fix TB packaging (bmo#886095) - removed obsolete patches: * enigmail-old-gcc.patch * mozilla-gcc43-enums.patch * mozilla-gcc43-template_hacks.patch * mozilla-gcc43-templates_instantiation.patch * ppc-xpcshell.patch OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=222
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
Subject: Enigmail breaks Thunderbird packaging
|
|
Reference:
|
|
https://bug886095.bugzilla.mozilla.org/attachment.cgi?id=773916
|
|
|
|
diff --git a/genxpi b/genxpi
|
|
--- a/genxpi
|
|
+++ b/genxpi
|
|
@@ -73,16 +73,17 @@ if [ ${platform} = OS2_x86-gcc3 ]; then
|
|
enigDllFile=platform/${platform}/components/${enigmimeDll}
|
|
else
|
|
enigDllFile=platform/${platform}/components/${libPrefix}enigmime-${xpcomAbi}${dllSuffix}
|
|
fi
|
|
|
|
subprocessDll=${libPrefix}subprocess${dllSuffix}
|
|
spDllFile=platform/${platform}/lib/${libPrefix}subprocess-${xpcomAbi}${dllSuffix}
|
|
|
|
+cp ${targetDir}/chrome.manifest{,.save}
|
|
# Prepare chrome.manifest
|
|
cat ${srcDir}/package/chrome.manifest | \
|
|
sed 's/##ENIGMIMEDLL-PLACEHOLDER##/binary-component platform\/'${platform}'\/components\/'`basename ${enigDllFile}`' ABI='${platform}'/' \
|
|
> ${targetDir}/chrome.manifest
|
|
|
|
# Prepare languages other than en-US
|
|
|
|
if [ -s ${srcDir}/lang/current-languages.txt ]; then
|
|
@@ -146,9 +147,10 @@ zip ${xpiFile} \
|
|
chrome/${xpiModule}.jar \
|
|
${localeJar} \
|
|
components/enigmime.xpt \
|
|
${enigDllFile} \
|
|
${spDllFile} \
|
|
chrome.manifest \
|
|
install.rdf
|
|
|
|
-rm install.rdf chrome.manifest
|
|
+rm install.rdf
|
|
+mv chrome.manifest{.save,}
|