Package: thunderbird / 1:60.6.1-1

Metadata

Package Version Patches format
thunderbird 1:60.6.1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
thunderbird l10n/sl change Edit Uredi to CTRL E.patch | (download)

thunderbird-l10n/sl/chrome/sl/locale/sl/communicator/utilityOverlay.dtd | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sl: change edit (uredi) to ctrl+e

Closes: #601331

debian hacks/Strip version number from application before installation.patch | (download)

config/baseconfig.mk | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 strip version number from application before installation

Strip thunderbird's version number from the installation directories so
we have a fixed location for extensions that build against it.

debian hacks/Add another preferences directory for applications p.patch | (download)

toolkit/xre/nsXREDirProvider.cpp | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 add another preferences directory for applications:
 preferences/syspref

This can be used to symlink to /etc/ice*/pref.

porting kfreebsd hurd/LDAP support building on GNU kFreeBSD and GNU Hurd.patch | (download)

comm/ldap/c-sdk/include/portable.h | 32 20 + 12 - 0 !
comm/ldap/c-sdk/libraries/libldap/compat.c | 2 1 + 1 - 0 !
comm/ldap/c-sdk/libraries/libprldap/ldappr-error.c | 2 1 + 1 - 0 !
nsprpub/config/nsinstall.c | 25 25 + 0 - 0 !
4 files changed, 47 insertions(+), 14 deletions(-)

 ldap: support building on gnu/kfreebsd and gnu/hurd

https://bugzilla.mozilla.org/show_bug.cgi?id=356011

Squashed kFreeBSD/Hurd related fixes:
- Fix FTBFS on Hurd-i386
- Build fixes for GNU/kFreeBSD in directory/
- Missing bits for Hurd support

porting/Disable optimization on alpha for the url classifier.patch | (download)

browser/components/build/Makefile.in | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 disable optimization on alpha for the url-classifier component

The use of this component leads to crashes when built with optimizations.

fixes/Properly launch applications set in HOME .mailcap.patch | (download)

uriloader/exthandler/unix/nsMIMEInfoUnix.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 properly launch applications set in $home/.mailcap

https://bugzilla.mozilla.org/show_bug.cgi?id=444440

debian hacks/Don t error out when run time libsqlite is older tha.patch | (download)

storage/mozStorageService.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 don't error-out when run-time libsqlite is older than build-time
 libsqlite

In Debian, we have shlibs to handle this.

debian hacks/stop configure if with system bz2 was passed but no .patch | (download)

old-configure.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 stop configure if '--with-system-bz2' was passed,
 but no libbz2 is around


porting kfreebsd hurd/Allow ipc code to build on GNU kfreebsd.patch | (download)

ipc/chromium/src/base/platform_thread_posix.cc | 5 5 + 0 - 0 !
ipc/chromium/src/build/build_config.h | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 allow ipc code to build on gnu/kfreebsd


debian hacks/Don t register plugins if the MOZILLA_DISABLE_PLUGIN.patch | (download)

dom/plugins/base/nsPluginHost.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 don't register plugins if the mozilla_disable_plugins environment
 variable is set


porting kfreebsd hurd/Allow ipc code to build on GNU hurd.patch | (download)

ipc/chromium/src/build/build_config.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 allow ipc code to build on gnu/hurd

Thanks: Pino Toscano <pino@debian.org>

porting kfreebsd hurd/Fix GNU non Linux failure to build because of ipc ch.patch | (download)

ipc/chromium/src/base/dir_reader_posix.h | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix gnu/non-linux failure to build because of
 ipc/chromium/src/base/dir_reader_posix.h


fixes/Load dependent libraries with their real path to avo.patch | (download)

xpcom/glue/standalone/nsXPCOMGlue.cpp | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 load-dependent-libraries-with-their-real-path-to-avo


prefs/Set javascript.options.showInConsole.patch | (download)

modules/libpref/init/all.js | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 set javascript.options.showinconsole


prefs/Don t auto disable extensions in system directories.patch | (download)

comm/mail/app/profile/all-thunderbird.js | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't auto-disable extensions in system directories


fixes/Bug 628252 os2.cc fails to compile against GCC 4.6 m.patch | (download)

gfx/ots/src/os2.cc | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 bug 628252 - os2.cc fails to compile against gcc 4.6,
 missing #include <cstddef>; r,a=roc


fixes/fix function nsMsgComposeAndSend to respect Replo.patch | (download)

comm/mailnews/compose/src/nsMsgSend.cpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix function nsmsgcomposeandsend to respect replotosend

https://bugzilla.mozilla.org/show_bug.cgi?id=522450
Closes: #565903

fixes/Bug 1470701 Use run time page size when changing map.patch | (download)

build/unix/elfhack/elfhack.cpp | 98 56 + 42 - 0 !
build/unix/elfhack/inject.c | 31 18 + 13 - 0 !
build/unix/elfhack/test.c | 4 4 + 0 - 0 !
3 files changed, 78 insertions(+), 55 deletions(-)

 bug 1470701 - use run-time page size when changing mapping
 permissions in elfhack injected code. r?froydnj

When a binary has a PT_GNU_RELRO segment, the elfhack injected code
uses mprotect to add the writable flag to relocated pages before
applying relocations, removing it afterwards. To do so, the elfhack
program uses the location and size of the PT_GNU_RELRO segment, and
adjusts it to be aligned according to the PT_LOAD alignment.

The problem here is that the PT_LOAD alignment doesn't necessarily match
the actual page alignment, and the resulting mprotect may end up not
covering the full extent of what the dynamic linker has protected
read-only according to the PT_GNU_RELRO segment. In turn, this can lead
to a crash on startup when trying to apply relocations to the still
read-only locations.

Practically speaking, this doesn't end up being a problem on x86, where
the PT_LOAD alignment is usually 4096, which happens to be the page
size, but on Debian armhf, it is 64k, while the run time page size can be
4k.

fixes/Bug 1505608 Try to ensure the bss section of the elf.patch | (download)

build/unix/elfhack/test.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 bug 1505608 - try to ensure the bss section of the elfhack testcase
 stays large enough. r=froydnj

In bug 1470701, we added a dummy global variable so that it ends up in
the bss section, making it large enough for two pointers. Unfortunately,
in some cases, the symbol is eliminated by the linker because it is
unused. So we try to ensure it stays there.

porting kfreebsd hurd/ipc chromium fix if define for kFreeBSD and Hurd.patch | (download)

ipc/chromium/src/base/platform_thread_posix.cc | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)

 ipc/chromium: fix #if define() for kfreebsd and hurd

The kFreeBSD and Hurd platforms need some other macros to include
the correct needed headers.
Depended on this some minor changes to call the correct functions
also needed. Also the list of the cpp source file for the chromium
things needs to expanded.
The changes is an adoption of the previous dropped patch 'Fix
ipc/chromium on kFreeBSD and Hurd' from the version 17.

porting kfreebsd hurd/FTBFS hurd fixing unsupported platform Hurd.patch | (download)

dom/plugins/ipc/PluginModuleChild.cpp | 6 3 + 3 - 0 !
dom/plugins/ipc/PluginModuleChild.h | 2 1 + 1 - 0 !
ipc/chromium/chromium-config.mozbuild | 5 5 + 0 - 0 !
ipc/chromium/moz.build | 2 1 + 1 - 0 !
ipc/chromium/src/base/message_loop.cc | 4 2 + 2 - 0 !
ipc/chromium/src/base/process_util_posix.cc | 2 1 + 1 - 0 !
ipc/chromium/src/build/build_config.h | 3 2 + 1 - 0 !
ipc/chromium/src/third_party/libeventcommon.mozbuild | 5 5 + 0 - 0 !
ipc/glue/GeckoChildProcessHost.cpp | 6 3 + 3 - 0 !
js/src/wasm/WasmSignalHandlers.cpp | 2 1 + 1 - 0 !
10 files changed, 24 insertions(+), 13 deletions(-)

 ftbfs hurd: fixing unsupported platform hurd

On the Hurd platform the build failed in
js/src/jit/AsmJSSignalHandlers.cpp:131 because of unsupported
mode for reading / writing thead state with following message.

 # error "Don't know how to read/write to the thread state via the mcontext_t."

The original patch comes from Richard Brown <rbraun@sceen.net>
https://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/2014-March/015565.html

After release of Thunderbird 44 there are additional changes made as the
various configuration files where split into more files.

debian hacks/changing the default search engine.patch | (download)

mail/locales/en-US/searchplugins/duckduckgo.xml | 11 11 + 0 - 0 !
thunderbird-l10n/cy/chrome/cy/locale/cy/messenger-region/region.properties | 8 4 + 4 - 0 !
2 files changed, 15 insertions(+), 4 deletions(-)

 changing the default search engine


porting kfreebsd hurd/adding missed HURD adoptions.patch | (download)

ipc/chromium/src/base/file_util_posix.cc | 2 1 + 1 - 0 !
ipc/chromium/src/base/platform_thread.h | 2 1 + 1 - 0 !
ipc/chromium/src/base/platform_thread_posix.cc | 2 1 + 1 - 0 !
ipc/chromium/src/base/port.h | 2 1 + 1 - 0 !
ipc/chromium/src/base/process_util.h | 2 1 + 1 - 0 !
ipc/chromium/src/base/process_util_posix.cc | 6 5 + 1 - 0 !
media/webrtc/signaling/src/sdp/sipcc/cpr_types.h | 2 1 + 1 - 0 !
media/webrtc/trunk/build/build_config.h | 6 5 + 1 - 0 !
security/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h | 6 4 + 2 - 0 !
security/sandbox/chromium/build/build_config.h | 4 3 + 1 - 0 !
10 files changed, 23 insertions(+), 11 deletions(-)

 adding missed hurd adoptions

Based on https://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/2016-April/027634.html

porting m68k/Add m68k support to Thunderbird.patch | (download)

build/moz.configure/init.configure | 3 3 + 0 - 0 !
ipc/chromium/src/build/build_config.h | 3 3 + 0 - 0 !
js/src/jsfriendapi.h | 2 1 + 1 - 0 !
layout/style/nsCSSValue.h | 2 1 + 1 - 0 !
media/webrtc/trunk/build/build_config.h | 10 10 + 0 - 0 !
mfbt/tests/TestPair.cpp | 9 7 + 2 - 0 !
mfbt/tests/TestPoisonArea.cpp | 3 3 + 0 - 0 !
python/mozbuild/mozbuild/configure/constants.py | 2 2 + 0 - 0 !
python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py | 3 3 + 0 - 0 !
xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_m68k.cpp | 3 2 + 1 - 0 !
xpcom/reflect/xptcall/md/unix/xptcstubs_linux_m68k.cpp | 2 1 + 1 - 0 !
11 files changed, 36 insertions(+), 6 deletions(-)

 add m68k support to thunderbird

debian hacks/use icudt b l .dat depending on architecture.patch | (download)

build/autoconf/icu.m4 | 26 25 + 1 - 0 !
1 file changed, 25 insertions(+), 1 deletion(-)

 use icudt??{b,l}.dat depending on architecture

Upstream doesn't really care about big endian platforms and so also don't
care about a needed file icudt??b.dat on big endian platforms. Changing
the m4 macro for ICU so the needed file will be depended on the build
platform exported and let later the configure run automatically use the
correct name for the ICU *.dat file so we not only depend on the
prebuild *.dat file for little endian.

The `case foo in ...` loop could be obviously more compressed with only
one case entry for all architectures which are all big endian.


debian hacks/Build against system libjsoncpp.patch | (download)

config/system-headers.mozbuild | 1 1 + 0 - 0 !
toolkit/components/jsoncpp/src/lib_json/moz.build | 46 1 + 45 - 0 !
toolkit/crashreporter/minidump-analyzer/moz.build | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 46 deletions(-)

 build against system libjsoncpp


porting sh4/Add sh4 support to Thunderbird.patch | (download)

python/mozbuild/mozbuild/configure/constants.py | 1 1 + 0 - 0 !
python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py | 3 3 + 0 - 0 !
xpcom/reflect/xptcall/md/unix/moz.build | 5 5 + 0 - 0 !
xpcom/reflect/xptcall/md/unix/xptcinvoke_linux_sh.cpp | 210 210 + 0 - 0 !
xpcom/reflect/xptcall/md/unix/xptcstubs_linux_sh.cpp | 262 262 + 0 - 0 !
5 files changed, 481 insertions(+)

 add sh4 support to thunderbird

Cherry-picked and adapted patches from Firefox upstream:
- 5a74d13630a969473f72a143f37728f5bb87f552
Bug 1329194 - mozbuild: Add SH4 as target architecture.
- b179235c38eb631286f9e2fd4a7b23361dbab6d2
Bug 1329194 - js:jit: Use PowerPC atomic operations on SH.
- ba58645c87ed7e08b16adc3b40f0c6e3b6a2e140
Bug 1329194 - mfbt:tests: Define RETURN_INSTR for SH in TestPoisonArea.
- 942df3d3a4a1db3d182e97c54fb1705c50128470
Bug 1329194 - ipc:chromium: Add platform defines for SH.
- 85ae466ed90b3a0cac396aed24722ce4d0febb31
Bug 1329194 - media:webrtc: Add platform defines for SH.
- 5a74d13630a969473f72a143f37728f5bb87f552
Bug 1329194 - mozbuild: Add SH4 as target architecture.
- (not committed upstream yet)
Bug 382214 - xpcom: Add xptcall support for Linux/SH
- (not committed upstream yet)
Bug 382214 - xpcom: Make SH xpctcall inline assembly position-independent

Closes: #859508

porting mips/Fix CPU_ARCH test for libjpeg on mips.patch | (download)

media/libjpeg/moz.build | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix cpu_arch test for libjpeg on mips


porting mips/Bug 1444303 MIPS Fix build failures after Bug 1425580 par.patch | (download)

js/src/jit/mips-shared/LIR-mips-shared.h | 82 50 + 32 - 0 !
js/src/jit/mips32/LIR-mips32.h | 32 23 + 9 - 0 !
js/src/jit/mips64/LIR-mips64.h | 30 21 + 9 - 0 !
3 files changed, 94 insertions(+), 50 deletions(-)

 bug 1444303 : [mips] fix build failures after bug 1425580 part 17;
 r=jandem


porting mips/Bug 1444834 MIPS Stubout MacroAssembler speculationBarrie.patch | (download)

js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 bug 1444834 : [mips] stubout macroassembler::speculationbarrier;
 r=jandem


debian hacks/icu use locale.h instead of xlocale.h.patch | (download)

intl/icu/source/i18n/digitlst.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 icu: use locale.h instead of xlocale.h


debian hacks/shellutil.py ignore tilde as special character.patch | (download)

python/mozbuild/mozbuild/shellutil.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 shellutil.py: ignore tilde '~' as special character

Currently we don't need the tilde sign defined as a special character
inside the Python wrappers around the autotools files, it's not used any
there and breaks the build of Debian beta versions which uses '~' to
mark the Debian version as 'smaller than'.

fixes/Fix big endian build for SKIA.patch | (download)

gfx/skia/skia/include/core/SkColorPriv.h | 15 4 + 11 - 0 !
gfx/skia/skia/include/core/SkImageInfo.h | 2 1 + 1 - 0 !
gfx/skia/skia/include/gpu/GrTypes.h | 6 2 + 4 - 0 !
gfx/skia/skia/include/private/GrColor.h | 4 4 + 0 - 0 !
gfx/skia/skia/src/core/SkColorData.h | 15 4 + 11 - 0 !
5 files changed, 15 insertions(+), 27 deletions(-)

 fix big endian build for skia

Some parts of the skia source are currently not prepared for building on
big endian platforms.
Thanks Adrian Glaubitz for the updated patch.

porting sparc64/Bug 1434726 Early startup crash on Linux sparc64 in HashI.patch | (download)

js/xpconnect/src/XPCMaps.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 bug 1434726 - early startup crash on linux sparc64 in hashiidptrkey

fixes/Use msse 2 fpmath C CXXFLAGS only on x86_64 platforms.patch | (download)

build/unix/mozconfig.linux32 | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 use -msse{2} -fpmath c-/cxxflags only on x86_64 platforms

The options -msse -msse2 -mfpmath=sse are only available on AMD64 based
platforms.

fixes/Build also gdata provider as xpi file.patch | (download)

comm/calendar/lightning/versions.mk | 2 0 + 2 - 0 !
comm/calendar/providers/gdata/Makefile.in | 34 13 + 21 - 0 !
comm/calendar/providers/gdata/moz.build | 4 4 + 0 - 0 !
comm/calendar/test/unit/test_gdata_provider.js | 244 122 + 122 - 0 !
comm/calendar/test/unit/xpcshell-shared.ini | 4 2 + 2 - 0 !
comm/mail/app.mozbuild | 3 2 + 1 - 0 !
6 files changed, 143 insertions(+), 148 deletions(-)

 build also gdata-provider as xpi file

https://bugzilla.mozilla.org/show_bug.cgi?id=1471326

porting armel/Bug 1463035 Remove MOZ_SIGNAL_TRAMPOLINE. r darchons.patch | (download)

mfbt/LinuxSignal.h | 38 0 + 38 - 0 !
mfbt/moz.build | 4 0 + 4 - 0 !
tools/profiler/core/platform-linux-android.cpp | 3 1 + 2 - 0 !
3 files changed, 1 insertion(+), 44 deletions(-)

 bug 1463035 - remove moz_signal_trampoline. r?darchons

For some reason, GNU as is not happy with the assembly generated after
bug 1238661 anymore on Debian armel.

OTOH, as mentioned in bug 1238661 comment 4, we actually don't need this
workaround anymore, so let's just kill it.

porting armel/Avoid using vmrs vmsr on armel.patch | (download)

dom/media/webaudio/blink/DenormalDisabler.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 avoid using vmrs/vmsr on armel


porting powerpc/powerpc Don t use static page sizes on powerpc.patch | (download)

memory/build/mozjemalloc.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 powerpc: don't use static page sizes on powerpc


fixes/Bug 1526744 find dupes.py Calculate md5 by chunk.patch | (download)

toolkit/mozapps/installer/find-dupes.py | 18 14 + 4 - 0 !
1 file changed, 14 insertions(+), 4 deletions(-)

 bug 1526744 - find-dupes.py: calculate md5 by chunk.

Read the file in chunks and use md5.update() rather than reading the entire
file into RAM and calculating the hash all at once. This prevents out of memory
errors on build systems with low RAM.