commit 43feb1f711645abd04dba7e6e0e0fd17e464809f Author: Toshaan Bharvani Date: Mon Oct 3 22:41:57 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/0001-GLIBCXX-fix-for-GCC-12.patch b/SOURCES/0001-GLIBCXX-fix-for-GCC-12.patch new file mode 100644 index 0000000..972cebc --- /dev/null +++ b/SOURCES/0001-GLIBCXX-fix-for-GCC-12.patch @@ -0,0 +1,42 @@ +From efd5bc0715e5477318be95a76811cda0a89e8289 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= +Date: Fri, 4 Mar 2022 12:00:26 +0100 +Subject: [PATCH] GLIBCXX fix for GCC 12? + +Borrowed from Firefox and adjusted to Thunderbird 91.7.0 + +--- + build/unix/stdc++compat/stdc++compat.cpp | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/build/unix/stdc++compat/stdc++compat.cpp b/build/unix/stdc++compat/stdc++compat.cpp +--- thunderbird-91.7.0/build/unix/stdc++compat/stdc++compat.cpp.0001-GLIBCXX-fix-for-GCC-12 2022-03-07 20:34:15.000000000 +0100 ++++ thunderbird-91.7.0/build/unix/stdc++compat/stdc++compat.cpp 2022-03-15 22:50:03.161345590 +0100 +@@ -24,6 +24,7 @@ + GLIBCXX_3.4.27 is from gcc 10 + GLIBCXX_3.4.28 is from gcc 10 + GLIBCXX_3.4.29 is from gcc 11 ++ GLIBCXX_3.4.30 is from gcc 12 + + This file adds the necessary compatibility tricks to avoid symbols with + version GLIBCXX_3.4.20 and bigger, keeping binary compatibility with +@@ -73,6 +74,19 @@ void __attribute__((weak)) __throw_bad_a + + } // namespace std + #endif ++ ++#if _GLIBCXX_RELEASE >= 12 ++namespace std { ++ ++/* This avoids the GLIBCXX_3.4.30 symbol version. */ ++void __attribute__((weak)) ++__glibcxx_assert_fail(const char* __file, int __line, const char* __function, ++ const char* __condition) { ++ MOZ_CRASH(); ++} ++ ++} // namespace std ++#endif + + #if MOZ_LIBSTDCXX_VERSION >= GLIBCXX_VERSION(3, 4, 21) + /* While we generally don't build with exceptions, we have some host tools diff --git a/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch b/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch new file mode 100644 index 0000000..0663ffe --- /dev/null +++ b/SOURCES/Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch @@ -0,0 +1,12 @@ +diff -up thunderbird-60.5.0/mfbt/LinuxSignal.h.mozilla-1238661 thunderbird-60.5.0/mfbt/LinuxSignal.h +--- thunderbird-60.5.0/mfbt/LinuxSignal.h.mozilla-1238661 2019-01-30 11:33:21.447003175 +0100 ++++ thunderbird-60.5.0/mfbt/LinuxSignal.h 2019-01-30 11:35:13.848537051 +0100 +@@ -22,7 +22,7 @@ __attribute__((naked)) void SignalTrampo + void* aContext) { + asm volatile("nop; nop; nop; nop" : : : "memory"); + +- asm volatile("b %0" : : "X"(H) : "memory"); ++ asm volatile("bx %0" : : "r"(H), "l"(aSignal), "l"(aInfo), "l"(aContext) : "memory"); + } + + #define MOZ_SIGNAL_TRAMPOLINE(h) (mozilla::SignalTrampoline) diff --git a/SOURCES/D147721-python-ru.diff b/SOURCES/D147721-python-ru.diff new file mode 100644 index 0000000..d935f59 --- /dev/null +++ b/SOURCES/D147721-python-ru.diff @@ -0,0 +1,136 @@ +diff --git a/dom/base/usecounters.py b/dom/base/usecounters.py +--- a/dom/base/usecounters.py ++++ b/dom/base/usecounters.py +@@ -6,11 +6,11 @@ + import re + + + def read_conf(conf_filename): + # Can't read/write from a single StringIO, so make a new one for reading. +- stream = open(conf_filename, "rU") ++ stream = open(conf_filename, "r") + + def parse_counters(stream): + for line_num, line in enumerate(stream): + line = line.rstrip("\n") + if not line or line.startswith("//"): +diff --git a/python/mozbuild/mozbuild/action/process_define_files.py b/python/mozbuild/mozbuild/action/process_define_files.py +--- a/python/mozbuild/mozbuild/action/process_define_files.py ++++ b/python/mozbuild/mozbuild/action/process_define_files.py +@@ -34,11 +34,11 @@ + if mozpath.basedir( + path, [mozpath.join(topsrcdir, "js/src")] + ) and not config.substs.get("JS_STANDALONE"): + config = PartialConfigEnvironment(mozpath.join(topobjdir, "js", "src")) + +- with open(path, "rU") as input: ++ with open(path, "r") as input: + r = re.compile( + "^\s*#\s*(?P[a-z]+)(?:\s+(?P\S+)(?:\s+(?P\S+))?)?", re.U + ) + for l in input: + m = r.match(l) +diff --git a/python/mozbuild/mozbuild/backend/base.py b/python/mozbuild/mozbuild/backend/base.py +--- a/python/mozbuild/mozbuild/backend/base.py ++++ b/python/mozbuild/mozbuild/backend/base.py +@@ -270,11 +270,11 @@ + self._write_purgecaches(config) + + return status + + @contextmanager +- def _write_file(self, path=None, fh=None, readmode="rU"): ++ def _write_file(self, path=None, fh=None, readmode="r"): + """Context manager to write a file. + + This is a glorified wrapper around FileAvoidWrite with integration to + update the summary data on this instance. + +diff --git a/python/mozbuild/mozbuild/preprocessor.py b/python/mozbuild/mozbuild/preprocessor.py +--- a/python/mozbuild/mozbuild/preprocessor.py ++++ b/python/mozbuild/mozbuild/preprocessor.py +@@ -529,11 +529,11 @@ + ) + depfile = get_output_file(options.depend) + + if args: + for f in args: +- with io.open(f, "rU", encoding="utf-8") as input: ++ with io.open(f, "r", encoding="utf-8") as input: + self.processFile(input=input, output=out) + if depfile: + mk = Makefile() + mk.create_rule([six.ensure_text(options.output)]).add_dependencies( + self.includes +@@ -858,11 +858,11 @@ + args = _to_text(args) + if filters: + args = self.applyFilters(args) + if not os.path.isabs(args): + args = os.path.join(self.curdir, args) +- args = io.open(args, "rU", encoding="utf-8") ++ args = io.open(args, "r", encoding="utf-8") + except Preprocessor.Error: + raise + except Exception: + raise Preprocessor.Error(self, "FILE_NOT_FOUND", _to_text(args)) + self.checkLineNumbers = bool( +@@ -912,11 +912,11 @@ + + + def preprocess(includes=[sys.stdin], defines={}, output=sys.stdout, marker="#"): + pp = Preprocessor(defines=defines, marker=marker) + for f in includes: +- with io.open(f, "rU", encoding="utf-8") as input: ++ with io.open(f, "r", encoding="utf-8") as input: + pp.processFile(input=input, output=output) + return pp.includes + + + # Keep this module independently executable. +diff --git a/python/mozbuild/mozbuild/util.py b/python/mozbuild/mozbuild/util.py +--- a/python/mozbuild/mozbuild/util.py ++++ b/python/mozbuild/mozbuild/util.py +@@ -234,11 +234,11 @@ + Additionally, there is dry run mode where the file is not actually written + out, but reports whether the file was existing and would have been updated + still occur, as well as diff capture if requested. + """ + +- def __init__(self, filename, capture_diff=False, dry_run=False, readmode="rU"): ++ def __init__(self, filename, capture_diff=False, dry_run=False, readmode="r"): + BytesIO.__init__(self) + self.name = filename + assert type(capture_diff) == bool + assert type(dry_run) == bool + assert "r" in readmode +diff --git a/python/mozbuild/mozpack/files.py b/python/mozbuild/mozpack/files.py +--- a/python/mozbuild/mozpack/files.py ++++ b/python/mozbuild/mozpack/files.py +@@ -552,11 +552,11 @@ + + def inputs(self): + pp = Preprocessor(defines=self.defines, marker=self.marker) + pp.setSilenceDirectiveWarnings(self.silence_missing_directive_warnings) + +- with _open(self.path, "rU") as input: ++ with _open(self.path, "r") as input: + with _open(os.devnull, "w") as output: + pp.processFile(input=input, output=output) + + # This always yields at least self.path. + return pp.includes +@@ -609,11 +609,11 @@ + if self.depfile: + deps_out = FileAvoidWrite(self.depfile) + pp = Preprocessor(defines=self.defines, marker=self.marker) + pp.setSilenceDirectiveWarnings(self.silence_missing_directive_warnings) + +- with _open(self.path, "rU") as input: ++ with _open(self.path, "r") as input: + pp.processFile(input=input, output=dest, depfile=deps_out) + + dest.close() + if self.depfile: + deps_out.close() + diff --git a/SOURCES/D153716-arc4random.diff b/SOURCES/D153716-arc4random.diff new file mode 100644 index 0000000..6bf20ed --- /dev/null +++ b/SOURCES/D153716-arc4random.diff @@ -0,0 +1,45 @@ +diff --git a/ipc/chromium/src/third_party/libevent/README.mozilla b/ipc/chromium/src/third_party/libevent/README.mozilla +--- a/ipc/chromium/src/third_party/libevent/README.mozilla ++++ b/ipc/chromium/src/third_party/libevent/README.mozilla +@@ -20,8 +20,12 @@ + Mac doesn't need this since only 64-bit is supported. Use __LP64__ to + distinguish the two cases. If you get something wrong, the CHECK_EVENT_SIZEOF + static assertions in message_pump_libevent.cc will fail. If a new constant is + added, also add a static assertion for it to message_pump_libevent.cc. + ++You also need to modify the EVENT__HAVE_ARC4RANDOM and EVENT__HAVE_ARC4RANDOM_BUF ++constants in the generated Linux header to account for the results of the arc4random ++and arc4random_buf configure checks. ++ + 2. No additional patches are needed at this time, but be careful to avoid + clobbering changes to the various event-config.h files which have been customized + over time to avoid various build bustages. +diff --git a/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h b/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h +--- a/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h ++++ b/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h +@@ -27,18 +27,22 @@ + #define EVENT__HAVE_ACCEPT4 1 + + /* Define to 1 if you have the header file. */ + /* #undef EVENT__HAVE_AFUNIX_H 1 */ + ++#ifdef HAVE_ARC4RANDOM + /* Define to 1 if you have the `arc4random' function. */ +-/* #undef EVENT__HAVE_ARC4RANDOM */ ++#define EVENT__HAVE_ARC4RANDOM 1 ++#endif + + /* Define to 1 if you have the `arc4random_addrandom' function. */ + /* #undef EVENT__HAVE_ARC4RANDOM_ADDRANDOM */ + ++#ifdef HAVE_ARC4RANDOM_BUF + /* Define to 1 if you have the `arc4random_buf' function. */ +-/* #undef EVENT__HAVE_ARC4RANDOM_BUF */ ++#define EVENT__HAVE_ARC4RANDOM_BUF 1 ++#endif + + /* Define to 1 if you have the header file. */ + #define EVENT__HAVE_ARPA_INET_H 1 + + /* Define to 1 if you have the `clock_gettime' function. */ + diff --git a/SOURCES/D154024.diff b/SOURCES/D154024.diff new file mode 100644 index 0000000..776f40b --- /dev/null +++ b/SOURCES/D154024.diff @@ -0,0 +1,17 @@ +diff --git a/toolkit/crashreporter/client/ping.cpp b/toolkit/crashreporter/client/ping.cpp +--- a/toolkit/crashreporter/client/ping.cpp ++++ b/toolkit/crashreporter/client/ping.cpp +@@ -51,11 +51,11 @@ + CFUUIDBytes bytes = CFUUIDGetUUIDBytes(uuid); + memcpy(&id, &bytes, sizeof(UUID)); + + CFRelease(uuid); + #elif defined(HAVE_ARC4RANDOM_BUF) // Android, BSD, ... +- arc4random_buf(id, sizeof(UUID)); ++ arc4random_buf(&id, sizeof(UUID)); + #else // Linux + int fd = open("/dev/urandom", O_RDONLY); + + if (fd == -1) { + return ""; + diff --git a/SOURCES/build-disable-elfhack.patch b/SOURCES/build-disable-elfhack.patch new file mode 100644 index 0000000..04d49f2 --- /dev/null +++ b/SOURCES/build-disable-elfhack.patch @@ -0,0 +1,12 @@ +diff -up firefox-97.0/toolkit/moz.configure.disable-elfhack firefox-97.0/toolkit/moz.configure +--- firefox-97.0/toolkit/moz.configure.disable-elfhack 2022-02-08 09:58:47.518047952 +0100 ++++ firefox-97.0/toolkit/moz.configure 2022-02-08 10:17:49.552945956 +0100 +@@ -1273,7 +1273,7 @@ with only_when("--enable-compile-environ + help="{Enable|Disable} elf hacks", + ) + +- set_config("USE_ELF_HACK", depends_if("--enable-elf-hack")(lambda _: True)) ++ set_config("USE_ELF_HACK", depends_if("--enable-elf-hack")(lambda _: False)) + + + @depends(build_environment) diff --git a/SOURCES/cbindgen-already-covers.patch b/SOURCES/cbindgen-already-covers.patch new file mode 100644 index 0000000..ab98649 --- /dev/null +++ b/SOURCES/cbindgen-already-covers.patch @@ -0,0 +1,11 @@ +diff -up thunderbird-102.1.0/gfx/webrender_bindings/webrender_ffi.h.cbindgen-covers thunderbird-102.1.0/gfx/webrender_bindings/webrender_ffi.h +--- thunderbird-102.1.0/gfx/webrender_bindings/webrender_ffi.h.cbindgen-covers 2022-08-04 12:47:06.970587140 +0200 ++++ thunderbird-102.1.0/gfx/webrender_bindings/webrender_ffi.h 2022-08-04 12:47:13.642579587 +0200 +@@ -73,7 +73,6 @@ struct WrPipelineInfo; + struct WrPipelineIdAndEpoch; + using WrPipelineIdEpochs = nsTArray; + +-const uint64_t ROOT_CLIP_CHAIN = ~0; + + } // namespace wr + } // namespace mozilla diff --git a/SOURCES/cbindgen-vendor.tar.xz b/SOURCES/cbindgen-vendor.tar.xz new file mode 100644 index 0000000..d470ecc Binary files /dev/null and b/SOURCES/cbindgen-vendor.tar.xz differ diff --git a/SOURCES/expat-CVE-2022-25235.patch b/SOURCES/expat-CVE-2022-25235.patch new file mode 100644 index 0000000..ac495b1 --- /dev/null +++ b/SOURCES/expat-CVE-2022-25235.patch @@ -0,0 +1,49 @@ +diff -up thunderbird-91.7.0/parser/expat/lib/xmltok.c.expat-CVE-2022-25235 thunderbird-91.7.0/parser/expat/lib/xmltok.c +--- thunderbird-91.7.0/parser/expat/lib/xmltok.c.expat-CVE-2022-25235 2022-03-02 17:57:38.364361168 +0100 ++++ thunderbird-91.7.0/parser/expat/lib/xmltok.c 2022-03-02 17:58:22.235512399 +0100 +@@ -65,13 +65,6 @@ + + ((((byte)[2]) >> 5) & 1)] \ + & (1u << (((byte)[2]) & 0x1F))) + +-#define UTF8_GET_NAMING(pages, p, n) \ +- ((n) == 2 \ +- ? UTF8_GET_NAMING2(pages, (const unsigned char *)(p)) \ +- : ((n) == 3 \ +- ? UTF8_GET_NAMING3(pages, (const unsigned char *)(p)) \ +- : 0)) +- + /* Detection of invalid UTF-8 sequences is based on Table 3.1B + of Unicode 3.2: http://www.unicode.org/unicode/reports/tr28/ + with the additional restriction of not allowing the Unicode +diff -up thunderbird-91.7.0/parser/expat/lib/xmltok_impl.c.expat-CVE-2022-25235 thunderbird-91.7.0/parser/expat/lib/xmltok_impl.c +--- thunderbird-91.7.0/parser/expat/lib/xmltok_impl.c.expat-CVE-2022-25235 2022-03-02 17:57:38.365361172 +0100 ++++ thunderbird-91.7.0/parser/expat/lib/xmltok_impl.c 2022-03-02 18:04:51.240853247 +0100 +@@ -34,7 +34,7 @@ + case BT_LEAD ## n: \ + if (end - ptr < n) \ + return XML_TOK_PARTIAL_CHAR; \ +- if (!IS_NAME_CHAR(enc, ptr, n)) { \ ++ if (IS_INVALID_CHAR(enc, ptr, n) || ! IS_NAME_CHAR(enc, ptr, n)) { \ + *nextTokPtr = ptr; \ + return XML_TOK_INVALID; \ + } \ +@@ -62,7 +62,7 @@ + case BT_LEAD ## n: \ + if (end - ptr < n) \ + return XML_TOK_PARTIAL_CHAR; \ +- if (!IS_NMSTRT_CHAR(enc, ptr, n)) { \ ++ if (IS_INVALID_CHAR(enc, ptr, n) || ! IS_NMSTRT_CHAR(enc, ptr, n)) { \ + *nextTokPtr = ptr; \ + return XML_TOK_INVALID; \ + } \ +@@ -1090,6 +1090,10 @@ PREFIX(prologTok)(const ENCODING *enc, c + case BT_LEAD ## n: \ + if (end - ptr < n) \ + return XML_TOK_PARTIAL_CHAR; \ ++ if (IS_INVALID_CHAR(enc, ptr, n)) { \ ++ *nextTokPtr = ptr; \ ++ return XML_TOK_INVALID; \ ++ } \ + if (IS_NMSTRT_CHAR(enc, ptr, n)) { \ + ptr += n; \ + tok = XML_TOK_NAME; \ diff --git a/SOURCES/expat-CVE-2022-25236.patch b/SOURCES/expat-CVE-2022-25236.patch new file mode 100644 index 0000000..84cafd2 --- /dev/null +++ b/SOURCES/expat-CVE-2022-25236.patch @@ -0,0 +1,40 @@ +diff -up thunderbird-91.7.0/parser/expat/lib/xmlparse.c.expat-CVE-2022-25236 thunderbird-91.7.0/parser/expat/lib/xmlparse.c +--- thunderbird-91.7.0/parser/expat/lib/xmlparse.c.expat-CVE-2022-25236 2022-03-02 18:08:40.085642028 +0100 ++++ thunderbird-91.7.0/parser/expat/lib/xmlparse.c 2022-03-02 18:13:31.838667958 +0100 +@@ -700,8 +700,7 @@ XML_ParserCreate(const XML_Char *encodin + XML_Parser XMLCALL + XML_ParserCreateNS(const XML_Char *encodingName, XML_Char nsSep) + { +- XML_Char tmp[2]; +- *tmp = nsSep; ++ XML_Char tmp[2] = {nsSep, 0}; + return XML_ParserCreate_MM(encodingName, NULL, tmp); + } + #endif +@@ -1276,8 +1275,7 @@ XML_ExternalEntityParserCreate(XML_Parse + would be otherwise. + */ + if (ns) { +- XML_Char tmp[2]; +- *tmp = namespaceSeparator; ++ XML_Char tmp[2] = {parser->m_namespaceSeparator, 0}; + parser = parserCreate(encodingName, &parser->m_mem, tmp, newDtd); + } + else { +@@ -3667,6 +3665,16 @@ addBinding(XML_Parser parser, PREFIX *pr + if (!mustBeXML && isXMLNS + && (len > xmlnsLen || uri[len] != xmlnsNamespace[len])) + isXMLNS = XML_FALSE; ++ // NOTE: While Expat does not validate namespace URIs against RFC 3986, ++ // we have to at least make sure that the XML processor on top of ++ // Expat (that is splitting tag names by namespace separator into ++ // 2- or 3-tuples (uri-local or uri-local-prefix)) cannot be confused ++ // by an attacker putting additional namespace separator characters ++ // into namespace declarations. That would be ambiguous and not to ++ // be expected. ++ if (parser->m_ns && (uri[len] == parser->m_namespaceSeparator)) { ++ return XML_ERROR_SYNTAX; ++ } + } + isXML = isXML && len == xmlLen; + isXMLNS = isXMLNS && len == xmlnsLen; diff --git a/SOURCES/expat-CVE-2022-25315.patch b/SOURCES/expat-CVE-2022-25315.patch new file mode 100644 index 0000000..4d4efb7 --- /dev/null +++ b/SOURCES/expat-CVE-2022-25315.patch @@ -0,0 +1,24 @@ +diff -up thunderbird-91.7.0/parser/expat/lib/xmlparse.c.expat-CVE-2022-25315 thunderbird-91.7.0/parser/expat/lib/xmlparse.c +--- thunderbird-91.7.0/parser/expat/lib/xmlparse.c.expat-CVE-2022-25315 2022-03-02 18:17:50.966583254 +0100 ++++ thunderbird-91.7.0/parser/expat/lib/xmlparse.c 2022-03-02 18:19:27.636924735 +0100 +@@ -2479,6 +2479,7 @@ storeRawNames(XML_Parser parser) + while (tag) { + int bufSize; + int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); ++ size_t rawNameLen; + char *rawNameBuf = tag->buf + nameLen; + /* Stop if already stored. Since tagStack is a stack, we can stop + at the first entry that has already been copied; everything +@@ -2490,7 +2491,11 @@ storeRawNames(XML_Parser parser) + /* For re-use purposes we need to ensure that the + size of tag->buf is a multiple of sizeof(XML_Char). + */ +- bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); ++ rawNameLen = ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); ++ /* Detect and prevent integer overflow. */ ++ if (rawNameLen > (size_t)INT_MAX - nameLen) ++ return XML_FALSE; ++ bufSize = nameLen + (int)rawNameLen; + if (bufSize > tag->bufEnd - tag->buf) { + char *temp = (char *)REALLOC(tag->buf, bufSize); + if (temp == NULL) diff --git a/SOURCES/get-calendar-langpacks.sh b/SOURCES/get-calendar-langpacks.sh new file mode 100755 index 0000000..854cae2 --- /dev/null +++ b/SOURCES/get-calendar-langpacks.sh @@ -0,0 +1,126 @@ +#!/bin/bash +#set -x +set -e +usage() +{ +cat << EOF +usage: $0 options + +This script downloads calendar langpacks for Thunderbird. + +OPTIONS: + -h Show this message + -v Version string (7.0.1) + -b Build number (1, 2, 3) + -r Reuse downloaded files (when you don't want to redownload) +EOF +} + +VER= +BUILDNUM= +LANG_DATE=`date "+%Y%m%d"` +while getopts “hv:b:r” OPTION +do + case $OPTION in + h) + usage + exit 1 + ;; + v) + VER=$OPTARG + ;; + b) + BUILDNUM=$OPTARG + ;; + ?) + usage + exit + ;; + esac +done + +if [ -z "$VER" -o -z "$BUILDNUM" ] +then + echo "Missing version or build number." + usage + exit 1 +fi + +WHITE='\033[1;33m' +NC='\033[0m' # No Color + +LOCALES=`curl -f https://archive.mozilla.org/pub/thunderbird/candidates/$VER-candidates/build$BUILDNUM/linux-i686/ | grep "a href"|sed -e "s|.*/\([^/]*\)/\".*|\1|"|tail -n+2 |grep -v xpi` +#echo $LOCALES +rm -rf lightning-langpacks +mkdir -p lightning-langpacks +cd lightning-langpacks +LOCALE_COUNT=`echo $LOCALES| tr ' ' '\n' | wc -l` +LOCALE_NUM=0 +for lang in $LOCALES; do + LOCALE_NUM=$((LOCALE_NUM+1)) + echo -e "${WHITE}Processing calendar locale: $lang ($LOCALE_NUM/$LOCALE_COUNT)${NC}" + mkdir -p extracted_lightning + mkdir -p calendar-locales + #echo Downloading TB binary for locale: $lang + wget --quiet https://archive.mozilla.org/pub/thunderbird/candidates/$VER-candidates/build$BUILDNUM/linux-i686/$lang/thunderbird-$VER.tar.bz2 + + cd extracted_lightning + tar -xf ../thunderbird-$VER.tar.bz2 thunderbird/distribution/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}.xpi + set +e + unzip -qq thunderbird/distribution/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}.xpi + set -e + LIGHTNING_VERSION=`cat app.ini |grep "^Version="|sed -e 's/Version=//'` + BUILD_ID=`cat app.ini |grep "^BuildID="|sed -e 's/BuildID=//'` + MAX_VERSION=`cat app.ini |grep MaxVersion|sed -e s/MaxVersion=//` + MIN_VERSION=`cat app.ini |grep MinVersion|sed -e s/MinVersion=//` + rm -rf thunderbird + mkdir -p ../calendar-locales/chrome + cp -r chrome/calendar-$lang ../calendar-locales/chrome + cp -r chrome/lightning-$lang ../calendar-locales/chrome + cd - + + cd calendar-locales + # create manifest + cat > manifest.json </pref ++ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR, ++ getter_AddRefs(jsFile)); ++ NS_ENSURE_SUCCESS(rv, rv); ++ ++ rv = jsFile->AppendNative(nsLiteralCString("pref")); ++ NS_ENSURE_SUCCESS(rv, rv); ++ rv = jsFile->AppendNative(nsDependentCString(aFileName)); ++ NS_ENSURE_SUCCESS(rv, rv); + ++ rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), jsFile); ++ NS_ENSURE_SUCCESS(rv, rv); ++ } + } else { + nsAutoCString location("resource://gre/defaults/autoconfig/"); + location += aFileName; +diff -up firefox-75.0/modules/libpref/Preferences.cpp.1170092 firefox-75.0/modules/libpref/Preferences.cpp +--- firefox-75.0/modules/libpref/Preferences.cpp.1170092 2020-04-06 22:40:02.761674865 +0200 ++++ firefox-75.0/modules/libpref/Preferences.cpp 2020-04-06 22:40:57.675325227 +0200 +@@ -4468,6 +4468,9 @@ nsresult Preferences::InitInitialObjects + // + // Thus, in the omni.jar case, we always load app-specific default + // preferences from omni.jar, whether or not `$app == $gre`. ++ // ++ // At very end load configuration from system config location: ++ // - /etc/firefox/pref/*.js + + nsresult rv = NS_ERROR_FAILURE; + UniquePtr find; +diff -up firefox-75.0/toolkit/xre/nsXREDirProvider.cpp.1170092 firefox-75.0/toolkit/xre/nsXREDirProvider.cpp +--- firefox-75.0/toolkit/xre/nsXREDirProvider.cpp.1170092 2020-04-03 21:35:39.000000000 +0200 ++++ firefox-75.0/toolkit/xre/nsXREDirProvider.cpp 2020-04-06 22:40:02.761674865 +0200 +@@ -60,6 +60,7 @@ + #endif + #ifdef XP_UNIX + # include ++# include "nsIXULAppInfo.h" + #endif + #ifdef XP_IOS + # include "UIKitDirProvider.h" +@@ -533,6 +534,21 @@ nsXREDirProvider::GetFile(const char* aP + } + } + } ++ ++#if defined(XP_UNIX) ++ if (!strcmp(aProperty, NS_APP_PREFS_SYSTEM_CONFIG_DIR)) { ++ nsCString sysConfigDir = nsLiteralCString("/etc/"); ++ nsCOMPtr appInfo = do_GetService("@mozilla.org/xre/app-info;1"); ++ if (!appInfo) ++ return NS_ERROR_NOT_AVAILABLE; ++ nsCString appName; ++ appInfo->GetName(appName); ++ ToLowerCase(appName); ++ sysConfigDir.Append(appName); ++ return NS_NewNativeLocalFile(sysConfigDir, false, aFile); ++ } ++#endif ++ + if (NS_FAILED(rv) || !file) return NS_ERROR_FAILURE; + + if (ensureFilePermissions) { +@@ -845,6 +861,16 @@ nsresult nsXREDirProvider::GetFilesInter + + LoadDirIntoArray(mXULAppDir, kAppendPrefDir, directories); + ++ // Add /etc//pref/ directory if it exists ++ nsCOMPtr systemPrefDir; ++ rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR, ++ getter_AddRefs(systemPrefDir)); ++ if (NS_SUCCEEDED(rv)) { ++ rv = systemPrefDir->AppendNative(nsLiteralCString("pref")); ++ if (NS_SUCCEEDED(rv)) ++ directories.AppendObject(systemPrefDir); ++ } ++ + rv = NS_NewArrayEnumerator(aResult, directories, NS_GET_IID(nsIFile)); + } else if (!strcmp(aProperty, NS_APP_CHROME_DIR_LIST)) { + // NS_APP_CHROME_DIR_LIST is only used to get default (native) icons +diff -up firefox-75.0/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 firefox-75.0/xpcom/io/nsAppDirectoryServiceDefs.h +--- firefox-75.0/xpcom/io/nsAppDirectoryServiceDefs.h.1170092 2020-04-03 21:35:39.000000000 +0200 ++++ firefox-75.0/xpcom/io/nsAppDirectoryServiceDefs.h 2020-04-06 22:40:02.761674865 +0200 +@@ -60,6 +60,7 @@ + #define NS_APP_PREFS_DEFAULTS_DIR_LIST "PrefDL" + #define NS_APP_PREFS_OVERRIDE_DIR \ + "PrefDOverride" // Directory for per-profile defaults ++#define NS_APP_PREFS_SYSTEM_CONFIG_DIR "PrefSysConf" // Directory with system-wide configuration + + #define NS_APP_USER_PROFILE_50_DIR "ProfD" + #define NS_APP_USER_PROFILE_LOCAL_50_DIR "ProfLD" diff --git a/SOURCES/mozilla-1245783.patch b/SOURCES/mozilla-1245783.patch new file mode 100644 index 0000000..3452616 --- /dev/null +++ b/SOURCES/mozilla-1245783.patch @@ -0,0 +1,17 @@ +# Remove when mozbz#1269319 lands + +--- firefox-45.0.1-orig/js/src/Makefile.in 2016-05-17 14:53:58.753178403 +0200 ++++ firefox-45.0.1/js/src/Makefile.in 2016-05-17 14:53:28.432817862 +0200 +@@ -144,6 +144,11 @@ distclean:: + + CFLAGS += $(MOZ_ZLIB_CFLAGS) + ++# Avoid GNU gcc bug #70526 ++# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526#c14 ++CFLAGS += -fno-schedule-insns2 ++CXXFLAGS += -fno-schedule-insns2 ++ + # Silence warnings on AIX/HP-UX from non-GNU compilers + ifndef GNU_CC + ifeq ($(OS_ARCH),AIX) + diff --git a/SOURCES/mozilla-1512162.patch b/SOURCES/mozilla-1512162.patch new file mode 100644 index 0000000..0ee0ed5 --- /dev/null +++ b/SOURCES/mozilla-1512162.patch @@ -0,0 +1,21 @@ +diff -up thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp.mozbz-1512162 thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp +--- thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp.mozbz-1512162 2019-09-10 01:43:33.000000000 +0200 ++++ thunderbird-68.1.0/js/xpconnect/src/XPCWrappedNative.cpp 2019-09-12 16:16:52.644123766 +0200 +@@ -1092,7 +1092,7 @@ class MOZ_STACK_CLASS CallMethodHelper f + MOZ_ALWAYS_INLINE bool GetOutParamSource(uint8_t paramIndex, + MutableHandleValue srcp) const; + +- MOZ_ALWAYS_INLINE bool GatherAndConvertResults(); ++ bool GatherAndConvertResults(); + + MOZ_ALWAYS_INLINE bool QueryInterfaceFastPath(); + +@@ -1139,7 +1139,7 @@ class MOZ_STACK_CLASS CallMethodHelper f + + ~CallMethodHelper(); + +- MOZ_ALWAYS_INLINE bool Call(); ++ bool Call(); + + // Trace implementation so we can put our CallMethodHelper in a Rooted. + void trace(JSTracer* aTrc); diff --git a/SOURCES/mozilla-526293.patch b/SOURCES/mozilla-526293.patch new file mode 100644 index 0000000..a03796a --- /dev/null +++ b/SOURCES/mozilla-526293.patch @@ -0,0 +1,14 @@ +diff -up firefox-60.6.0/widget/gtk/nsFilePicker.cpp.old firefox-60.6.0/widget/gtk/nsFilePicker.cpp +--- firefox-60.6.0/widget/gtk/nsFilePicker.cpp.old 2019-03-27 10:29:47.918560620 +0100 ++++ firefox-60.6.0/widget/gtk/nsFilePicker.cpp 2019-03-27 10:30:08.384491717 +0100 +@@ -366,9 +366,7 @@ nsFilePicker::Open(nsIFilePickerShownCal + // If we have --enable-proxy-bypass-protection, then don't allow + // remote URLs to be used. + #ifndef MOZ_PROXY_BYPASS_PROTECTION +- if (mAllowURLs) { +- gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(file_chooser), FALSE); +- } ++ gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(file_chooser), FALSE); + #endif + + if (action == GTK_FILE_CHOOSER_ACTION_OPEN || diff --git a/SOURCES/mozilla-build-arm.patch b/SOURCES/mozilla-build-arm.patch new file mode 100644 index 0000000..f98cbe3 --- /dev/null +++ b/SOURCES/mozilla-build-arm.patch @@ -0,0 +1,12 @@ +diff -up firefox-29.0/mozilla-release/gfx/ycbcr/moz.build.arm firefox-29.0/mozilla-release/gfx/ycbcr/moz.build +--- firefox-29.0/mozilla-release/gfx/ycbcr/moz.build.arm 2014-04-22 07:27:47.000000000 +0200 ++++ firefox-29.0/mozilla-release/gfx/ycbcr/moz.build 2014-04-22 16:40:34.862849368 +0200 +@@ -61,7 +61,7 @@ else: + 'yuv_row_other.cpp', + ] + +-if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['HAVE_ARM_NEON']: ++if CONFIG['HAVE_ARM_NEON']: + SOURCES += [ + 'yuv_row_arm.s', + ] diff --git a/SOURCES/node-stdout-nonblocking-wrapper b/SOURCES/node-stdout-nonblocking-wrapper new file mode 100755 index 0000000..b2814b8 --- /dev/null +++ b/SOURCES/node-stdout-nonblocking-wrapper @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/node "$@" 2>&1 | cat - diff --git a/SOURCES/python3.11-regex-inline-flags.patch b/SOURCES/python3.11-regex-inline-flags.patch new file mode 100644 index 0000000..39481ec --- /dev/null +++ b/SOURCES/python3.11-regex-inline-flags.patch @@ -0,0 +1,27 @@ +--- thunderbird-91.11.0/xpcom/idl-parser/xpidl/xpidl.py.python-inline-flags 2022-06-28 04:39:56.000000000 +0200 ++++ thunderbird-91.11.0/xpcom/idl-parser/xpidl/xpidl.py 2022-07-11 21:55:05.287553042 +0200 +@@ -1563,13 +1563,13 @@ class IDLParser(object): + t_ignore = " \t" + + def t_multilinecomment(self, t): +- r"/\*(?s).*?\*/" ++ r"/\*(?s:.*?)\*/" + t.lexer.lineno += t.value.count("\n") + if t.value.startswith("/**"): + self._doccomments.append(t.value) + + def t_singlelinecomment(self, t): +- r"(?m)//.*?$" ++ r"(?m://.*?$)" + + def t_IID(self, t): + return t +@@ -1582,7 +1582,7 @@ class IDLParser(object): + return t + + def t_LCDATA(self, t): +- r"(?s)%\{[ ]*C\+\+[ ]*\n(?P.*?\n?)%\}[ ]*(C\+\+)?" ++ r"(?s:%\{[ ]*C\+\+[ ]*\n(?P.*?\n?)%\}[ ]*(C\+\+)?)" + t.type = "CDATA" + t.value = t.lexer.lexmatch.group("cdata") + t.lexer.lineno += t.value.count("\n") diff --git a/SOURCES/rhbz-1219542-s390-build.patch b/SOURCES/rhbz-1219542-s390-build.patch new file mode 100644 index 0000000..f94e43a --- /dev/null +++ b/SOURCES/rhbz-1219542-s390-build.patch @@ -0,0 +1,23 @@ +diff -up firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 firefox-55.0/js/src/old-configure.in +--- firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 2017-07-31 18:20:48.000000000 +0200 ++++ firefox-55.0/js/src/old-configure.in 2017-08-02 14:31:32.190243669 +0200 +@@ -541,7 +541,7 @@ case "$host" in + + *-linux*|*-kfreebsd*-gnu|*-gnu*) + HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX" +- HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}" ++ HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O1}" + ;; + + *) +@@ -617,8 +617,8 @@ case "$target" in + + *-*linux*) + if test "$GNU_CC" -o "$GNU_CXX"; then +- MOZ_PGO_OPTIMIZE_FLAGS="-O3" +- MOZ_OPTIMIZE_FLAGS="-O3" ++ MOZ_PGO_OPTIMIZE_FLAGS="-O1" ++ MOZ_OPTIMIZE_FLAGS="-O1" + if test -z "$CLANG_CC"; then + MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS" + fi diff --git a/SOURCES/thunderbird-langpacks-102.3.1-20220929.tar.xz b/SOURCES/thunderbird-langpacks-102.3.1-20220929.tar.xz new file mode 100644 index 0000000..142b070 Binary files /dev/null and b/SOURCES/thunderbird-langpacks-102.3.1-20220929.tar.xz differ diff --git a/SOURCES/thunderbird-mozconfig b/SOURCES/thunderbird-mozconfig new file mode 100644 index 0000000..003cad3 --- /dev/null +++ b/SOURCES/thunderbird-mozconfig @@ -0,0 +1,44 @@ +mk_add_options MOZ_CO_PROJECT=mail +ac_add_options --enable-application=comm/mail + +ac_add_options --with-system-zlib +ac_add_options --disable-strip +#ac_add_options --enable-libnotify +ac_add_options --enable-necko-wifi +ac_add_options --disable-updater +ac_add_options --enable-chrome-format=omni +ac_add_options --enable-pulseaudio +ac_add_options --enable-av1 +ac_add_options --without-system-icu +ac_add_options --enable-release +ac_add_options --update-channel=release +ac_add_options --allow-addon-sideload +ac_add_options --enable-js-shell +ac_add_options --with-unsigned-addon-scopes=app,system +ac_add_options --without-wasm-sandboxed-libraries +ac_add_options --disable-bootstrap +ac_add_options --without-sysroot + + + +#mk_add_options AUTOCONF=autoconf-2.13 + +#ac_add_options --enable-default-toolkit=cairo-gtk3-wayland + +#ac_add_options --prefix="$PREFIX" +#ac_add_options --libdir="$LIBDIR" +#ac_add_options --with-system-jpeg +#ac_add_options --with-system-zlib +#ac_add_options --with-system-libvpx +#ac_add_options --disable-tests +#ac_add_options --disable-strip +## temporary disable system cairo, because compilation fails +#ac_add_options --disable-necko-wifi +#ac_add_options --disable-updater +#ac_add_options --with-system-icu + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir diff --git a/SOURCES/thunderbird-mozconfig-branded b/SOURCES/thunderbird-mozconfig-branded new file mode 100644 index 0000000..53b376d --- /dev/null +++ b/SOURCES/thunderbird-mozconfig-branded @@ -0,0 +1 @@ +ac_add_options --enable-official-branding diff --git a/SOURCES/thunderbird-redhat-default-prefs.js b/SOURCES/thunderbird-redhat-default-prefs.js new file mode 100644 index 0000000..bb25581 --- /dev/null +++ b/SOURCES/thunderbird-redhat-default-prefs.js @@ -0,0 +1,36 @@ +pref("app.update.enabled", false); +pref("app.update.autoInstallEnabled", false); +/* Allow users to set custom colors*/ +/* pref("browser.display.use_system_colors", true);*/ +pref("general.useragent.vendor", "Fedora"); +pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR"); +pref("intl.locale.matchOS", true); +pref("mail.shell.checkDefaultClient", false); +pref("toolkit.networkmanager.disable", false); +pref("offline.autoDetect", true); + +/* Disable global indexing by default*/ +pref("mailnews.database.global.indexer.enabled", false); + +/* Do not switch to Smart Folders after upgrade to 3.0b4 */ +pref("mail.folder.views.version", "1"); +pref("extensions.shownSelectionUI", true); +pref("extensions.autoDisableScopes", 0); + +/* For rhbz#1024232 */ +pref("ui.SpellCheckerUnderlineStyle", 1); + +/* Workaround for rhbz#1753011 */ +pref("spellchecker.dictionary_path", "/usr/share/myspell"); +/* Workaround for rhbz#1134876 */ +pref("javascript.options.baselinejit", false); +/* Workaround for rhbz#1110291 */ +pref("network.negotiate-auth.allow-insecure-ntlm-v1", true); +/* Workaround for mozbz#1063315 */ +pref("security.use_mozillapkix_verification", false); +/* Use OS settings for UI language */ +pref("intl.locale.requested", ""); +/* Disable telemetry */ +pref("datareporting.healthreport.uploadEnabled", false); +pref("datareporting.policy.dataSubmissionEnabled", false); +pref("toolkit.telemetry.archive.enabled", false); diff --git a/SOURCES/thunderbird-symbolic.svg b/SOURCES/thunderbird-symbolic.svg new file mode 100644 index 0000000..9387527 --- /dev/null +++ b/SOURCES/thunderbird-symbolic.svg @@ -0,0 +1,76 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/SOURCES/thunderbird-wayland.desktop b/SOURCES/thunderbird-wayland.desktop new file mode 100644 index 0000000..10fba80 --- /dev/null +++ b/SOURCES/thunderbird-wayland.desktop @@ -0,0 +1,30 @@ +[Desktop Entry] +Version=1.0 +Name=Thunderbird on Wayland +GenericName=Email +Comment=Send and Receive Email +Exec=thunderbird-wayland --name thunderbird-wayland %u +TryExec=thunderbird-wayland +Icon=thunderbird +Terminal=false +Type=Application +MimeType=message/rfc822;x-scheme-handler/mailto; +StartupNotify=true +Categories=Network;Email; +Name[cs]=Poštovní klient Thunderbird +Name[ca]=Client de correu Thunderbird +Name[fi]=Thunderbird-sähköposti +Name[fr]=Messagerie Thunderbird +Name[pl]=Klient poczty Thunderbird +Name[pt_BR]=Cliente de E-mail Thunderbird +Name[sv]=E-postklienten Thunderbird +Comment[ca]=Llegiu i escriviu correu +Comment[cs]=Čtení a psaní pošty +Comment[de]=Emails lesen und verfassen +Comment[fi]=Lue ja kirjoita sähköposteja +Comment[fr]=Lire et écrire des courriels +Comment[it]=Leggere e scrivere email +Comment[ja]=メールの読み書き +Comment[pl]=Czytanie i wysyłanie e-maili +Comment[pt_BR]=Ler e escrever suas mensagens +Comment[sv]=Läs och skriv e-post diff --git a/SOURCES/thunderbird-wayland.sh.in b/SOURCES/thunderbird-wayland.sh.in new file mode 100644 index 0000000..31d7def --- /dev/null +++ b/SOURCES/thunderbird-wayland.sh.in @@ -0,0 +1,6 @@ +#!/bin/bash +# +# Run Thunderbird under Wayland +# +export MOZ_ENABLE_WAYLAND=1 +exec __PREFIX__/bin/thunderbird "$@" diff --git a/SOURCES/thunderbird.desktop b/SOURCES/thunderbird.desktop new file mode 100644 index 0000000..1945d1e --- /dev/null +++ b/SOURCES/thunderbird.desktop @@ -0,0 +1,30 @@ +[Desktop Entry] +Version=1.0 +Name=Thunderbird +GenericName=Email +Comment=Send and Receive Email +Exec=thunderbird %u +TryExec=thunderbird +Icon=thunderbird +Terminal=false +Type=Application +MimeType=message/rfc822;x-scheme-handler/mailto; +StartupNotify=true +Categories=Network;Email; +Name[cs]=Poštovní klient Thunderbird +Name[ca]=Client de correu Thunderbird +Name[fi]=Thunderbird-sähköposti +Name[fr]=Messagerie Thunderbird +Name[pl]=Klient poczty Thunderbird +Name[pt_BR]=Cliente de E-mail Thunderbird +Name[sv]=E-postklienten Thunderbird +Comment[ca]=Llegiu i escriviu correu +Comment[cs]=Čtení a psaní pošty +Comment[de]=Emails lesen und verfassen +Comment[fi]=Lue ja kirjoita sähköposteja +Comment[fr]=Lire et écrire des courriels +Comment[it]=Leggere e scrivere email +Comment[ja]=メールの読み書き +Comment[pl]=Czytanie i wysyłanie e-maili +Comment[pt_BR]=Ler e escrever suas mensagens +Comment[sv]=Läs och skriv e-post diff --git a/SOURCES/thunderbird.sh.in b/SOURCES/thunderbird.sh.in new file mode 100644 index 0000000..a4173d6 --- /dev/null +++ b/SOURCES/thunderbird.sh.in @@ -0,0 +1,172 @@ +#!/bin/bash +# +# Startup script for the fedora.us Thunderbird RPM +# (based on the Mozilla RPM launch script) +# + +## +## Variables +## +MOZ_ARCH=$(uname -m) +case $MOZ_ARCH in + x86_64 | s390x | sparc64 ) + MOZ_LIB_DIR="__PREFIX__/lib64" + SECONDARY_LIB_DIR="__PREFIX__/lib" + ;; + * ) + MOZ_LIB_DIR="__PREFIX__/lib" + SECONDARY_LIB_DIR="__PREFIX__/lib64" + ;; +esac + +if [ ! -x $MOZ_LIB_DIR/thunderbird/thunderbird ]; then + if [ ! -x $SECONDARY_LIB_DIR/thunderbird/thunderbird ]; then + echo "Error: $MOZ_LIB_DIR/thunderbird/thunderbird not found" + if [ -d $SECONDARY_LIB_DIR ]; then + echo " $SECONDARY_LIB_DIR/thunderbird/thunderbird not found" + fi + exit 1 + fi + MOZ_LIB_DIR="$SECONDARY_LIB_DIR" +fi + +MOZ_DIST_BIN="$MOZ_LIB_DIR/thunderbird" +MOZ_PROGRAM="$MOZ_DIST_BIN/thunderbird" +MOZ_LANGPACKS_DIR="$MOZ_DIST_BIN/langpacks" +MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}" +MOZ_LAUNCHER="$MOZ_DIST_BIN/thunderbird" + +## +## Set MOZ_ENABLE_PANGO is no longer used because Pango is enabled by default +## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango +## +#MOZ_DISABLE_PANGO=1 +#export MOZ_DISABLE_PANGO + +## +## Set MOZ_APP_LAUNCHER for gnome-session +## +export MOZ_APP_LAUNCHER="__PREFIX__/bin/thunderbird" + +## +## Disable the GNOME crash dialog, Moz has it's own +## +GNOME_DISABLE_CRASH_DIALOG=1 +export GNOME_DISABLE_CRASH_DIALOG + +## +## Disable the SLICE allocator (rhbz#1014858) +## +export G_SLICE=always-malloc + +## +## Allow downgrade because during distro upgrade the build time can be +## older in newer version than the previous one. +## +export MOZ_ALLOW_DOWNGRADE=1 + +## +## To disable the use of Firefox localization, set MOZ_DISABLE_LANGPACKS=1 +## in your environment before launching Firefox. +## +# +# MOZ_DISABLE_LANGPACKS=1 +# export MOZ_DISABLE_LANGPACKS +# + +## +## Use D-Bus remote exclusively when there's Wayland display. +## +if [ "$WAYLAND_DISPLAY" ]; then + export MOZ_DBUS_REMOTE=1 +fi + +## +## Automatically installed langpacks are tracked by .fedora-langpack-install +## config file. +## +FEDORA_LANGPACK_CONFIG="$MOZ_EXTENSIONS_PROFILE_DIR/.fedora-langpack-install" + +# MOZ_DISABLE_LANGPACKS disables language packs completelly +MOZILLA_DOWN=0 +if ! [ $MOZ_DISABLE_LANGPACKS ] || [ $MOZ_DISABLE_LANGPACKS -eq 0 ]; then + pidof thunderbird > /dev/null 2>&1 + MOZILLA_DOWN=$? +fi + +# Modify language pack configuration only when thunderbird is not running +# and language packs are not disabled +if [ $MOZILLA_DOWN -ne 0 ]; then + + # Clear already installed langpacks + mkdir -p $MOZ_EXTENSIONS_PROFILE_DIR + if [ -f $FEDORA_LANGPACK_CONFIG ]; then + rm `cat $FEDORA_LANGPACK_CONFIG` > /dev/null 2>&1 + rm $FEDORA_LANGPACK_CONFIG > /dev/null 2>&1 + # remove all empty langpacks dirs while they block installation of langpacks + rmdir $MOZ_EXTENSIONS_PROFILE_DIR/lang* > /dev/null 2>&1 + fi + + # Get locale from system + CURRENT_LOCALE=$LC_ALL + CURRENT_LOCALE=${CURRENT_LOCALE:-$LC_MESSAGES} + CURRENT_LOCALE=${CURRENT_LOCALE:-$LANG} + + # Try without a local variant first, then with a local variant + # So that pt-BR doesn't try to use pt for example + SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g"` + MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g"` + + function create_langpack_link() { + local language=$* + local langpack=langpack-${language}@thunderbird.mozilla.org.xpi + if [ -f $MOZ_LANGPACKS_DIR/$langpack ]; then + rm -rf $MOZ_EXTENSIONS_PROFILE_DIR/$langpack + ln -s $MOZ_LANGPACKS_DIR/$langpack \ + $MOZ_EXTENSIONS_PROFILE_DIR/$langpack + echo $MOZ_EXTENSIONS_PROFILE_DIR/$langpack > $FEDORA_LANGPACK_CONFIG + return 0 + fi + return 1 + } + + create_langpack_link $SHORTMOZLOCALE || create_langpack_link $MOZLOCALE || true +fi + +# BEAST fix (rhbz#1005611) +NSS_SSL_CBC_RANDOM_IV=${NSS_SSL_CBC_RANDOM_IV-1} +export NSS_SSL_CBC_RANDOM_IV + +# Prepare command line arguments +script_args="" +pass_arg_count=0 +while [ $# -gt $pass_arg_count ] +do + case "$1" in + -g | --debug) + script_args="$script_args -g" + debugging=1 + shift + ;; + -d | --debugger) + if [ $# -gt 1 ]; then + script_args="$script_args -d $2" + shift 2 + else + shift + fi + ;; + *) + # Move the unrecognized argument to the end of the list. + arg="$1" + shift + set -- "$@" "$arg" + pass_arg_count=`expr $pass_arg_count + 1` + ;; + esac +done + +# Don't throw "old profile" dialog box. +export MOZ_ALLOW_DOWNGRADE=1 + +exec $MOZ_PROGRAM "$@" diff --git a/SPECS/thunderbird.spec b/SPECS/thunderbird.spec new file mode 100644 index 0000000..2cbbd6d --- /dev/null +++ b/SPECS/thunderbird.spec @@ -0,0 +1,2321 @@ +%if 0%{?fedora} > 35 || 0%{?rhel} > 9 +%global dictionarydir hunspell +%else +%global dictionarydir myspell +%endif + +# Disabled arm due to rhbz#1658940 +ExcludeArch: armv7hl + +# Use system nspr/nss? +%define system_nss 1 + +# Build as a debug package? +%define debug_build 0 + +# Hardened build? +%define hardened_build 1 + +%define system_ffi 1 + +%define build_langpacks 1 +%bcond_with toolchain_clang +%global use_bundled_cbindgen 1 + +%global disable_elfhack 1 + +%if %{?system_nss} +%global nspr_version 4.26.0 +%global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536) +%global nss_version 3.55.0 +%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536) +%endif + +%define freetype_version 2.1.9 + +%define libnotify_version 0.4 +%define _default_patch_fuzz 2 + +# There are still build problems on s390x, see +# https://koji.fedoraproject.org/koji/taskinfo?taskID=55048351 +# https://bugzilla.redhat.com/show_bug.cgi?id=1897522 +ExcludeArch: s390x + +# libvpx is too new for Firefox 65 +%if 0%{?fedora} < 30 +%global system_libvpx 1 +%else +%global system_libvpx 0 +%endif + +%define system_jpeg 1 + +# Use system libicu? - libicu even on rawhide too old +%if 0%{?fedora} >= 27 +%define system_libicu 0 +%else +%define system_libicu 0 +%endif + +# Big endian platforms +%ifarch ppc64 s390x +# Javascript Intl API is not supported on big endian platforms right now: +# https://bugzilla.mozilla.org/show_bug.cgi?id=1322212 +%define big_endian 1 +%endif + +%if %{?system_libvpx} +%global libvpx_version 1.4.0 +%endif + +%define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\} +%global langpackdir %{mozappdir}/extensions + +# The tarball is pretty inconsistent with directory structure. +# Sometimes there is a top level directory. That goes here. +# +# IMPORTANT: If there is no top level directory, this should be +# set to the cwd, ie: '.' +%define objdir objdir +%define mozappdir %{_libdir}/thunderbird + +%define official_branding 1 + +%define enable_mozilla_crashreporter 0 +# enable crash reporter only for iX86 +%ifarch %{ix86} x86_64 +%if 0%{?fedora} < 27 && 0%{?rhel} <= 7 +%define enable_mozilla_crashreporter 1 +%endif +%endif + +%if %{with toolchain_clang} +%global toolchain clang +%endif + +# Exclude private libraries from autogenerated provides and requires +%global __provides_exclude_from ^%{mozappdir} +%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -)) + +Summary: Mozilla Thunderbird mail/newsgroup client +Name: thunderbird +Version: 102.3.1 +Release: 1%{?dist} +URL: http://www.mozilla.org/projects/thunderbird/ +License: MPLv1.1 or GPLv2+ or LGPLv2+ +Source0: https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz +%if %{build_langpacks} +Source1: thunderbird-langpacks-%{version}-20220929.tar.xz +%endif +Source3: get-calendar-langpacks.sh +Source4: cbindgen-vendor.tar.xz + +Source10: thunderbird-mozconfig +Source11: thunderbird-mozconfig-branded +Source12: thunderbird-redhat-default-prefs.js +Source20: thunderbird.desktop +Source21: thunderbird.sh.in +Source25: thunderbird-symbolic.svg +Source28: thunderbird-wayland.sh.in +Source29: thunderbird-wayland.desktop +Source32: node-stdout-nonblocking-wrapper + +# Build patches +Patch9: mozilla-build-arm.patch +#Patch226: rhbz-1354671.patch +Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch +#Patch416: firefox-SIOCGSTAMP.patch +Patch418: mozilla-1512162.patch +Patch419: cbindgen-already-covers.patch +Patch420: D154024.diff +Patch421: D153716-arc4random.diff +#Patch419: bindgen-d0dfc52706f23db9dc9d74642eeebd89d73cb8d0.patch +Patch103: rhbz-1219542-s390-build.patch +# gcc 12 build fix patches +Patch422: 0001-GLIBCXX-fix-for-GCC-12.patch +# Python 3.11 "ValueError: invalid mode: 'rU'"; 'U' is deprecated since Python 3 and default, error with Python 3.11 +# Python 3.11 "Invalid regular expression for rule '...'. global flags not at the start of the expression at position ... +Patch424: python3.11-regex-inline-flags.patch +Patch425: build-disable-elfhack.patch + +# PPC fix +Patch304: mozilla-1245783.patch + +# Fedora specific patches + +# Upstream patches +Patch402: mozilla-526293.patch +Patch406: mozilla-1170092.patch +Patch407: D147721-python-ru.diff + +# Bundled expat backported patches +Patch501: expat-CVE-2022-25235.patch +Patch502: expat-CVE-2022-25236.patch +Patch503: expat-CVE-2022-25315.patch + +%if %{official_branding} +# Required by Mozilla Corporation + +%else +# Not yet approved by Mozillla Corporation + +%endif + +BuildRequires: make +BuildRequires: gcc-c++ +%if %{?system_nss} +BuildRequires: nss-static >= %{nss_version} +BuildRequires: nspr-devel >= %{nspr_version} +BuildRequires: nss-devel >= %{nss_version} +Requires: nspr >= %{nspr_build_version} +Requires: nss >= %{nss_build_version} +%endif +BuildRequires: libnotify-devel >= %{libnotify_version} +BuildRequires: libpng-devel +BuildRequires: libjpeg-devel +BuildRequires: zip +BuildRequires: bzip2-devel +BuildRequires: zlib-devel +#BuildRequires: libIDL-devel +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: krb5-devel +BuildRequires: pango-devel +BuildRequires: freetype-devel >= %{freetype_version} +BuildRequires: libXt-devel +BuildRequires: libXrender-devel +BuildRequires: hunspell-devel +BuildRequires: llvm +BuildRequires: llvm-devel +BuildRequires: clang +BuildRequires: clang-libs +%if "%toolchain" == "clang" +BuildRequires: lld +%endif +%if %{?system_ffi} +BuildRequires: libffi-devel +%endif +BuildRequires: startup-notification-devel +BuildRequires: alsa-lib-devel +BuildRequires: m4 +BuildRequires: desktop-file-utils +BuildRequires: libcurl-devel +BuildRequires: mesa-libGL-devel +%if %{?system_libvpx} +BuildRequires: libvpx-devel >= %{libvpx_version} +%endif +BuildRequires: pulseaudio-libs-devel +BuildRequires: libicu-devel +BuildRequires: perl-interpreter +Requires: mozilla-filesystem +BuildRequires: yasm +BuildRequires: dbus-glib-devel +Obsoletes: thunderbird-lightning +Provides: thunderbird-lightning +Obsoletes: thunderbird-lightning-gdata <= 1:3.3.0.14 +BuildRequires: rust +BuildRequires: cargo +BuildRequires: clang-devel +BuildRequires: python3-devel +%if !0%{?use_bundled_cbindgen} +BuildRequires: cbindgen +%endif +BuildRequires: nodejs +BuildRequires: nasm >= 1.13 + +%if 0%{?big_endian} +BuildRequires: icu +%endif + +# require any OpenPGP backend with the librnp interface +Requires: thunderbird-librnp%{?_isa} +# prefer the librnp implementation bundled with thunderbird +Suggests: thunderbird-librnp-rnp%{?_isa} + +Suggests: u2f-hidraw-policy + +%description +Mozilla Thunderbird is a standalone mail and newsgroup client. + +%package librnp-rnp +Summary: OpenPGP implementation for Thunderbird based on RNP +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: thunderbird-librnp +Provides: thunderbird-librnp%{?_isa} +Conflicts: thunderbird-librnp%{?_isa} +%description librnp-rnp +The thunderbird-librnp-rnp package contains an OpenPGP implementation +based on RNP. +%files librnp-rnp +%{mozappdir}/librnp.so +%{mozappdir}/rnp-cli +%{mozappdir}/rnpkeys + +%package wayland +Summary: Thunderbird Wayland launcher. +Requires: %{name} +%description wayland +The thunderbird-wayland package contains launcher and desktop file +to run Thunderbird natively on Wayland. +%files wayland +%{_bindir}/thunderbird-wayland +%attr(644,root,root) %{_datadir}/applications/mozilla-thunderbird-wayland.desktop + +%if %{enable_mozilla_crashreporter} +%global moz_debug_prefix %{_prefix}/lib/debug +%global moz_debug_dir %{moz_debug_prefix}%{mozappdir} +%global uname_m %(uname -m) +%global symbols_file_name %{name}-%{version}.en-US.%{_os}-%{uname_m}.crashreporter-symbols.zip +%global symbols_file_path %{moz_debug_dir}/%{symbols_file_name} +%global _find_debuginfo_opts -p %{symbols_file_path} -o debugcrashreporter.list +%global crashreporter_pkg_name mozilla-crashreporter-%{name}-debuginfo +%package -n %{crashreporter_pkg_name} +Summary: Debugging symbols used by Mozilla's crash reporter servers +%description -n %{crashreporter_pkg_name} +This package provides debug information for XULRunner, for use by +Mozilla's crash reporter servers. If you are trying to locally +debug %{name}, you want to install %{name}-debuginfo instead. +%files -n %{crashreporter_pkg_name} -f debugcrashreporter.list +%defattr(-,root,root) +%endif + +%prep +%setup -q + +# Build patches +%patch9 -p2 -b .arm +%ifarch s390 +%patch103 -p1 -b .rhbz-1219542-s390-build +%endif + +%if 0%{?fedora} >= 35 +# since python3.10 we need to use `from collections.abc` instead of `from collections`. +%endif + +%patch304 -p1 -b .1245783 +# Patch for big endian platforms only +#%if 0%{?big_endian} +#%endif + +#ARM run-time patch +%ifarch aarch64 +#%patch226 -p1 -b .1354671 +%endif +%ifarch %{arm} +%patch415 -p1 -b .mozilla-1238661 +%endif +#FIXME %patch416 -p1 -b .SIOCGSTAMP +%patch418 -p1 -b .mozbz-1512162 +%patch419 -p1 -b .cbindgen-already-covers +#arc4random failures +%patch420 -p1 -b .D154024 +%patch421 -p1 -b .D153716-arc4random +%if 0%{?disable_elfhack} +%patch425 -p1 -b .build-disable-elfhack +%endif +# most likely fixed +#%patch419 -p1 -b .bindgen + +#cd .. + +%patch402 -p1 -b .526293 +%patch406 -p1 -b .1170092-etc-conf +%patch407 -p1 -b .D147721-python-ru.diff +pushd comm +popd + +%patch422 -p1 -b .0001-GLIBCXX-fix-for-GCC-12 +%patch424 -p1 -b .python3.11-regex-inline-flags + +%patch501 -p1 -b .expat-CVE-2022-25235 +%patch502 -p1 -b .expat-CVE-2022-25236 +%patch503 -p1 -b .expat-CVE-2022-25315 + +%if %{official_branding} +# Required by Mozilla Corporation + +%else +# Not yet approved by Mozilla Corporation + +%endif + +%{__rm} -f .mozconfig +%{__cp} %{SOURCE10} .mozconfig +%if %{official_branding} +%{__cat} %{SOURCE11} >> .mozconfig +%endif + +echo "ac_add_options --prefix=\"%{_prefix}\"" >> .mozconfig +echo "ac_add_options --libdir=\"%{_libdir}\"" >> .mozconfig + +%if %{?system_nss} +echo "ac_add_options --with-system-nspr" >> .mozconfig +echo "ac_add_options --with-system-nss" >> .mozconfig +%else +echo "ac_add_options --without-system-nspr" >> .mozconfig +echo "ac_add_options --without-system-nss" >> .mozconfig +%endif + +# Second arches fail to start with jemalloc enabled +%ifnarch %{ix86} x86_64 +echo "ac_add_options --disable-jemalloc" >> .mozconfig +%endif + + +%if %{?system_ffi} +echo "ac_add_options --enable-system-ffi" >> .mozconfig +%endif + +%if %{?debug_build} + echo "ac_add_options --enable-debug" >> .mozconfig + echo "ac_add_options --disable-optimize" >> .mozconfig +%else + %global optimize_flags "none" + %ifarch ppc64le aarch64 + %global optimize_flags "-g -O2" + %endif + %if %{?optimize_flags} != "none" + echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig + %else + echo 'ac_add_options --enable-optimize' >> .mozconfig + %endif + echo "ac_add_options --disable-debug" >> .mozconfig +%endif + +%ifarch aarch64 +echo "ac_add_options --disable-jit" >> .mozconfig +%endif + +%ifnarch %{ix86} x86_64 +echo "ac_add_options --disable-webrtc" >> .mozconfig +%endif + +%ifarch armv7hl +echo "ac_add_options --with-arch=armv7-a" >> .mozconfig +echo "ac_add_options --with-float-abi=hard" >> .mozconfig +echo "ac_add_options --with-fpu=vfpv3-d16" >> .mozconfig +%endif +%ifarch armv7hnl +echo "ac_add_options --with-arch=armv7-a" >> .mozconfig +echo "ac_add_options --with-float-abi=hard" >> .mozconfig +echo "ac_add_options --with-fpu=neon" >> .mozconfig +echo "ac_add_options --disable-yarr-jit" >> .mozconfig +%endif +%ifarch armv5tel +echo "ac_add_options --with-arch=armv5te" >> .mozconfig +echo "ac_add_options --with-float-abi=soft" >> .mozconfig +echo "ac_add_options --disable-yarr-jit" >> .mozconfig +%endif + +%if %{?system_libicu} +echo "ac_add_options --with-system-icu" >> .mozconfig +%else +echo "ac_add_options --without-system-icu" >> .mozconfig +%endif + +%if !%{?system_jpeg} +echo "ac_add_options --without-system-jpeg" >> .mozconfig +%else +echo "ac_add_options --with-system-jpeg" >> .mozconfig +%endif + +%if %{?system_libvpx} +echo "ac_add_options --with-system-libvpx" >> .mozconfig +%else +echo "ac_add_options --without-system-libvpx" >> .mozconfig +%endif + +%if %{enable_mozilla_crashreporter} +echo "ac_add_options --enable-crashreporter" >> .mozconfig +%else +echo "ac_add_options --disable-crashreporter" >> .mozconfig +%endif + +echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig + +# Remove executable bit to make brp-mangle-shebangs happy. +find third_party -type f -iname "*.rs"|xargs chmod a-x + +#=============================================================================== + +%build +# Disable LTO to work around rhbz#1883904 +%define _lto_cflags %{nil} + +%if 0%{?use_bundled_cbindgen} + +mkdir -p my_rust_vendor +cd my_rust_vendor +%{__tar} xf %{SOURCE4} +cd - +mkdir -p .cargo +cat > .cargo/config <> .mozconfig +%endif +%endif +%if 0%{?flatpak} +# Make sure the linker can find libraries in /app/lib64 as we don't use +# __global_ldflags that normally sets this. +MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}" +%endif +%ifarch %{arm} %{ix86} %{s390x} +export RUSTFLAGS="-Cdebuginfo=0" +%endif +# We don't want thunderbird to use CK_GCM_PARAMS_V3 in nss +MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT" + +echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig +echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig +echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig + +%if "%toolchain" == "clang" +echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig +echo "export AR=\"llvm-ar\"" >> .mozconfig +echo "export NM=\"llvm-nm\"" >> .mozconfig +echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig +echo "ac_add_options --enable-linker=lld" >> .mozconfig +%else +echo "export CC=gcc" >> .mozconfig +echo "export CXX=g++" >> .mozconfig +echo "export AR=\"gcc-ar\"" >> .mozconfig +echo "export NM=\"gcc-nm\"" >> .mozconfig +echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig +%endif +%if 0%{?build_with_pgo} +echo "ac_add_options MOZ_PGO=1" >> .mozconfig +# PGO build doesn't work with ccache +export CCACHE_DISABLE=1 +%endif + +MOZ_SMP_FLAGS=-j1 +# On x86 architectures, Mozilla can build up to 4 jobs at once in parallel, +# however builds tend to fail on other arches when building in parallel. +%ifarch %{ix86} x86_64 ppc %{power64} aarch64 +[ -z "$RPM_BUILD_NCPUS" ] && \ + RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`" +[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2 +[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4 +[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8 +%endif + + +export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS" +export STRIP=/bin/true +export MACH_USE_SYSTEM_PYTHON=1 +./mach build -v + +# create debuginfo for crash-stats.mozilla.com +%if %{enable_mozilla_crashreporter} +make -C %{objdir} buildsymbols +%endif + +#=============================================================================== + +%install +cd %{objdir} + +DESTDIR=$RPM_BUILD_ROOT make install + +cd .. + +# install icons +for s in 16 22 24 32 48 64 128 256; do + %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps + %{__cp} -p comm/mail/branding/%{name}/default${s}.png \ + $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/thunderbird.png +done + +# Install hight contrast icon +%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps +%{__cp} -p %{SOURCE25} \ + %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps + + +desktop-file-install --vendor mozilla \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE20} +desktop-file-install --vendor mozilla \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE29} + + +# set up the thunderbird start script +rm -f $RPM_BUILD_ROOT/%{_bindir}/thunderbird +%{__cat} %{SOURCE21} | %{__sed} -e 's,__PREFIX__,%{_prefix},g' > \ + $RPM_BUILD_ROOT/%{_bindir}/thunderbird +%{__chmod} 755 $RPM_BUILD_ROOT/%{_bindir}/thunderbird +%{__cat} %{SOURCE28} | %{__sed} -e 's,__PREFIX__,%{_prefix},g' > \ + %{buildroot}%{_bindir}/thunderbird-wayland +%{__chmod} 755 %{buildroot}%{_bindir}/thunderbird-wayland + +# set up our default preferences +%{__cat} %{SOURCE12} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' \ + -e 's,myspell,%{dictionarydir},g' \ + > $RPM_BUILD_ROOT/rh-default-prefs +%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/greprefs/all-redhat.js +%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/all-redhat.js +%{__rm} $RPM_BUILD_ROOT/rh-default-prefs + +%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/thunderbird-config + +# own mozilla plugin dir (#135050) +%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins + +# own extension directories +%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{thunderbird_app_id} +%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{thunderbird_app_id} + +# System config dir (#1525709) +%{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}/pref + +# Install langpacks +%{__rm} -f %{name}.lang # Delete for --short-circuit option +touch %{name}.lang + +%if %{build_langpacks} +%{__mkdir_p} %{buildroot}%{langpackdir} +%{__tar} xf %{SOURCE1} +for langpack in `ls thunderbird-langpacks/*.xpi`; do + language=`basename $langpack .xpi` + extensionID=langpack-$language@thunderbird.mozilla.org + %{__mkdir_p} $extensionID + unzip -qq $langpack -d $extensionID + find $extensionID -type f | xargs chmod 644 + + cd $extensionID + zip -qq -r9mX ../${extensionID}.xpi * + cd - + + %{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir} + language=`echo $language | sed -e 's/-/_/g'` + echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang +done +%{__rm} -rf thunderbird-langpacks +%endif + + +# Get rid of devel package and its debugsymbols +%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}-devel-%{version} + +# Copy over the LICENSE +install -c -m 644 LICENSE $RPM_BUILD_ROOT%{mozappdir} + +# Use the system hunspell dictionaries +%{__rm} -rf $RPM_BUILD_ROOT/%{mozappdir}/dictionaries +ln -s $(pkg-config --variable prefix hunspell)/share/%{dictionarydir} $RPM_BUILD_ROOT%{mozappdir}/dictionaries + +# ghost files +%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/components +touch $RPM_BUILD_ROOT%{mozappdir}/components/compreg.dat +touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat + +# Add debuginfo for crash-stats.mozilla.com +%if %{enable_mozilla_crashreporter} +%{__mkdir_p} $RPM_BUILD_ROOT/%{moz_debug_dir} +%{__cp} %{objdir}/dist/%{symbols_file_name} $RPM_BUILD_ROOT/%{moz_debug_dir} +%endif + +# Register as an application to be visible in the software center +mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo +%{__cp} -p comm/mail/branding/%{name}/net.thunderbird.Thunderbird.appdata.xml $RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml +sed -i -e 's|thunderbird|' "$RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml" + +#=============================================================================== + +%post +update-desktop-database &> /dev/null || : +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +update-desktop-database &> /dev/null || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +#=============================================================================== +%files -f %{name}.lang +%defattr(-,root,root,-) +%attr(755,root,root) %{_bindir}/thunderbird +%{_datadir}/metainfo/*.appdata.xml +%attr(644,root,root) %{_datadir}/applications/mozilla-thunderbird.desktop +%dir %{_sysconfdir}/%{name} +%dir %{_sysconfdir}/%{name}/* +%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id} +%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id} +%dir %{mozappdir} +%doc %{mozappdir}/LICENSE +%{mozappdir}/chrome +%dir %{mozappdir}/components +%ghost %{mozappdir}/components/compreg.dat +%ghost %{mozappdir}/components/xpti.dat +%{mozappdir}/omni.ja +%{mozappdir}/plugin-container +%{mozappdir}/defaults +%{mozappdir}/dictionaries +%if %{build_langpacks} +%dir %{langpackdir} +%endif +%{mozappdir}/greprefs +%{mozappdir}/isp +%{mozappdir}/thunderbird-bin +%{mozappdir}/thunderbird +%{mozappdir}/*.so +%exclude %{mozappdir}/librnp.so +%{mozappdir}/platform.ini +%{mozappdir}/application.ini +%exclude %{mozappdir}/removed-files +%{_datadir}/icons/hicolor/16x16/apps/thunderbird.png +%{_datadir}/icons/hicolor/22x22/apps/thunderbird.png +%{_datadir}/icons/hicolor/24x24/apps/thunderbird.png +%{_datadir}/icons/hicolor/256x256/apps/thunderbird.png +%{_datadir}/icons/hicolor/32x32/apps/thunderbird.png +%{_datadir}/icons/hicolor/48x48/apps/thunderbird.png +%{_datadir}/icons/hicolor/64x64/apps/thunderbird.png +%{_datadir}/icons/hicolor/128x128/apps/thunderbird.png +%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg +%if %{enable_mozilla_crashreporter} +%{mozappdir}/crashreporter +%{mozappdir}/crashreporter.ini +%{mozappdir}/Throbber-small.gif +%endif +%if !%{?system_nss} +%{mozappdir}/*.chk +%endif +%{mozappdir}/dependentlibs.list +%{mozappdir}/fonts +%{mozappdir}/pingsender + +#=============================================================================== + +%changelog +* Thu Sep 29 2022 Eike Rathke - 102.3.1-1 +- Update to 102.3.1 + +* Wed Sep 21 2022 Eike Rathke - 102.3.0-1 +- Update to 102.3.0 + +* Thu Sep 01 2022 Eike Rathke - 102.2.1-1 +- Update to 102.2.1 + +* Tue Aug 23 2022 Eike Rathke - 102.2.0-1 +- Update to 102.2.0 + +* Wed Aug 3 2022 Jan Horak - 102.1.0-1 +- Update to 102.1.0 + +* Thu Jul 28 2022 Eike Rathke - 91.12.0-1 +- Update to 91.12.0 + +* Sat Jul 23 2022 Fedora Release Engineering - 91.11.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 11 2022 Eike Rathke - 91.11.0-3 +- Fix f37 FTBFS Python 3.11 API incompatibilities + +* Tue Jul 05 2022 Tom Stellard - 91.11.0-2 +- Clean up macros that allow building with clang + +* Wed Jun 29 2022 Eike Rathke - 91.11.0-1 +- Update to 91.11.0 + +* Tue May 31 2022 Eike Rathke - 91.10.0-1 +- Update to 91.10.0 + +* Tue May 24 2022 Eike Rathke - 91.9.1-1 +- Update to 91.9.1 + +* Wed May 04 2022 Eike Rathke - 91.9.0-1 +- Update to 91.9.0 + +* Wed Apr 20 2022 Parag Nemade - 91.8.0-2 +- Update hunspell dictionary path + F36 Change https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change + +* Mon Apr 11 2022 Eike Rathke - 91.8.0-1 +- Update to 91.8.0 + +* Tue Mar 15 2022 Eike Rathke - 91.7.0-1 +- Update to 91.7.0 +- plus patches to bundled expat against CVE-2022-25235 CVE-2022-25236 CVE-2022-25315 + +* Mon Mar 7 2022 Jan Horak - 91.6.2-1 +- Update to 91.6.2 + +* Mon Feb 28 2022 Jan Horak - 91.6.1-1 +- Update to 91.6.1 build1 + +* Fri Feb 11 2022 Jan Horak - 91.6.0-2 +- Supply stock icon to the appdata file + +* Wed Feb 09 2022 Jan Horak - 91.6.0-1 +- Update to 91.6.0 build1 + +* Wed Feb 09 2022 Jan Horak - 91.5.0-3 +- Put appdata.xml to medainfo location + +* Sat Jan 22 2022 Fedora Release Engineering - 91.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 18 2022 Jan Horak - 91.5.0-1 +- Update to 91.5.0 build1 + +* Wed Dec 15 2021 Jan Horak - 91.4.0-1 +- Update to 91.4.0 build2 +- Enabled wayland backend for all DE (thanks to Timothée Ravier ) + +* Tue Nov 09 2021 Jan Horak - 91.3.0-1 +- Update to 91.3.0 build2 + +* Fri Oct 15 2021 Jan Horak - 91.2.0-1 +- Update to 91.2.0 build1 + +* Tue Sep 07 2021 Jan Horak - 91.1.0-1 +- Update to 91.1.0 build2 + +* Thu Aug 26 2021 Jan Horak - 91.0.3-2 +- Update to 91.0.3 build1 + +* Mon Aug 23 2021 Jan Horak - 91.0.2-1 +- Update to 91.0.2 build1 + +* Mon Aug 16 2021 Jan Horak - 91.0-1 +- Update to 91.0 build1 + +* Fri Jul 23 2021 Fedora Release Engineering - 78.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jul 21 2021 Jan Horak - 78.12.0-1 +- Update to 78.12.0 build2 + +* Wed Jun 02 2021 Jan Horak - 78.11.0-1 +- Update to 78.11.0 build1 + +* Sat May 15 2021 Fabio Valentini - 78.10.1-3 +- Split off librnp and make it possible to use a different OpenPGP backend. + +* Wed May 05 2021 Jan Horak - 78.10.1-2 +- Fixed source0 + +* Tue May 04 2021 Jan Horak - 78.10.1-1 +- Update to 78.10.1 build1 + +* Tue Mar 30 2021 Jonathan Wakely - 78.8.1-2 +- Rebuilt for removed libstdc++ symbol (#1937698) + +* Mon Mar 15 2021 Jan Horak - 78.8.1-1 +- Update to 78.8.1 build1 + +* Thu Feb 18 2021 Jan Horak - 78.8.0-1 +- Update to 78.8.0 build1 + +* Thu Jan 28 2021 Jan Horak - 78.7.0-2 +- Fixing package requires/provides the same way as provided by kalev for Firefox + +* Wed Jan 27 2021 Jan Horak - 78.7.0-1 +- Update to 78.7.0 build2 + +* Wed Jan 20 2021 Orion Poplawski - 78.6.1-2 +- Own /usr/lib*/thunderbird/gtk2 directory +- Provide /etc/thunderbird/pref (bug #1525709) +- Filter package provides and requires + +* Thu Jan 14 2021 Jan Horak - 78.6.1-1 +- Update to 78.6.1 build1 + +* Tue Dec 15 2020 Jan Horak - 78.6.0-1 +- Update to 78.6.0 build1 + +* Mon Dec 14 2020 Martin Stransky - 78.5.0-2 +- Added fix for rhbz#1907267 (Thunderbird on Wayland launcher + does not show up as 'running' in the dash) + +* Wed Nov 25 2020 Jan Horak - 78.5.0-1 +- Update to 78.5.0 build3 + +* Thu Nov 12 2020 Jan Horak - 78.4.3-1 +- Update to 78.4.3 build1 + +* Mon Nov 09 2020 Kalev Lember - 78.4.0-3 +- Add release tag to appdata + +* Thu Oct 22 2020 Jan Horak - 78.4.0-2 +- Update to 78.4.0 build1 + +* Wed Oct 07 2020 Jan Horak - 78.3.1-2 +- Reenable s390x + +* Wed Sep 30 2020 Jan Horak - 78.3.1-1 +- Update to 78.3.1 build1 + +* Tue Sep 08 2020 Jan Horak - 68.12.0-1 +- Update to 68.12.0 build1 + +* Thu Aug 06 2020 Jan Horak - 68.11.0-1 +- Update to 68.11.0 build1 + +* Sat Aug 01 2020 Fedora Release Engineering - 68.10.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 68.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 09 2020 Jan Horak - 68.10.0-1 +- Update to 68.10.0 build1 + +* Mon Jun 08 2020 Jan Horak - 68.9.0-1 +- Update to 68.9.0 build1 + +* Fri May 15 2020 Martin Stransky - 68.8.0-2 +- Use D-Bus remote on Wayland (rhbz#1817330). + +* Thu May 14 2020 Jan Horak - 68.8.0-1 +- Update to 68.8.0 build2 + +* Wed Apr 15 2020 Jan Horak - 68.7.0-2 +- Removed gconf-2.0 build requirement, added perl-interpreter instead to fulfill + perl dependency + +* Thu Apr 09 2020 Jan Horak - 68.7.0-1 +- Update to 68.7.0 build1 + +* Fri Mar 13 2020 Jan Horak - 68.6.0-1 +- Update to 68.6.0 build2 + +* Thu Mar 03 2020 David Auer - 68.5.0-2 +- Fix spellcheck (rhbz#1753011) + +* Thu Feb 13 2020 Jan Horak - 68.5.0-1 +- Update to 68.5.0 build1 + +* Fri Jan 31 2020 Fedora Release Engineering - 68.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 13 2020 Jan Horak - 68.4.1-1 +- Update to 68.4.1 build1 + +* Tue Dec 17 2019 Jan Horak - 68.3.1-1 +- Update to 68.3.1 build1 + +* Mon Dec 9 2019 Martin Stransky - 68.3.0-2 +- Added fix for mzbz#1576268 + +* Tue Dec 03 2019 Jan Horak - 68.3.0-1 +- Update to 68.3.0 build2 + +* Tue Nov 05 2019 Jan Horak - 68.2.2-1 +- Update to 68.2.2 build1 + +* Fri Nov 01 2019 Jan Horak - 68.2.1-1 +- Update to 68.2.1 build1 + +* Tue Oct 29 2019 Jan Horak - 68.2.0-1 +- Update to 68.2.0 + +* Wed Oct 23 2019 Jan Horak - 68.1.1-4 +- Added symbolic icon + +* Thu Oct 3 2019 Jan Horak - 68.1.1-3 +- Allow downgrades of the profile because after distro upgrade there is a chance + that the the downgrade refusal dialog is shown. + +* Fri Sep 27 2019 Jan Horak - 68.1.1-1 +- Update to 68.1.1 + +* Thu Sep 26 2019 Martin Stransky - 68.1.0-2 +- Allow profile downgrade + +* Thu Sep 12 2019 Jan Horak - 68.1.0-1 +- Update to 68.1.0 + +* Thu Aug 29 2019 Jan Horak - 68.0-1 +- Update to 68.0 + +* Sat Jul 27 2019 Fedora Release Engineering - 60.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 10 2019 Martin Stransky - 60.8.0-1 +- Update to 60.8.0 + +* Fri Jun 21 2019 Jan Horak - 60.7.2-2 +- Update to 60.7.2 build 2 + +* Thu Jun 20 2019 Jan Horak - 60.7.2-1 +- Update to 60.7.2 + +* Tue Jun 18 2019 Jan Horak - 60.7.1-1 +- Update to 60.7.1 + +* Mon May 20 2019 Martin Stransky - 60.7.0-1 +- Update to 60.7.0 + +* Wed May 15 2019 Martin Stransky - 60.6.1-5 +- Fixed startup crashes (rhbz#1709373, rhbz#1685276, rhbz#1708611) + +* Fri Apr 12 2019 Martin Stransky - 60.6.1-4 +- Addef fix for mozbz#1508378 + +* Wed Apr 3 2019 Martin Stransky - 60.6.1-3 +- Added fixes for mozbz#1526243, mozbz#1540145, mozbz#526293 + +* Tue Mar 26 2019 Martin Stransky - 60.6.1-2 +- Added rawhide build fix + +* Mon Mar 25 2019 Martin Stransky - 60.6.1-1 +- Update to 60.6.1 + +* Mon Mar 18 2019 Martin Stransky - 60.6.0-1 +- Update to 60.6.0 + +* Wed Mar 6 2019 Martin Stransky - 60.5.3-1 +- Update to 60.5.3 + +* Sat Mar 02 2019 Kalev Lember - 60.5.1-3 +- Fix hunspell dictionary symlink when built for flatpak + +* Thu Feb 21 2019 Kalev Lember - 60.5.1-2 +- Avoid hardcoding /usr in launcher scripts + +* Mon Feb 18 2019 Martin Stransky - 60.5.1-1 +- Update to 60.5.1 + +* Tue Feb 05 2019 Martin Stransky - 60.5.0-4 +- Use MOZ_ENABLE_WAYLAND for Wayland launcher. + +* Tue Feb 05 2019 Martin Stransky - 60.5.0-3 +- Updated Wayland patches + +* Sun Feb 03 2019 Fedora Release Engineering - 60.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 30 2019 Martin Stransky - 60.5.0-1 +- Update to 60.5.0 + +* Wed Jan 2 2019 Jan Horak - 60.4.0-1 +- Update to 60.4.0 + +* Wed Dec 5 2018 Jan Horak - 60.3.3-1 +- Update to 60.3.3 + +* Thu Nov 22 2018 Jan Horak - 60.3.1-1 +- Update to 60.3.1 + +* Thu Nov 22 2018 Martin Stransky - 60.3.0-6 +- Enabled DBus remote. + +* Wed Nov 21 2018 Martin Stransky - 60.3.0-5 +- Backported Wayland related code from Firefox 63 +- Added fix for mozbz#1507475 - crash when display changes + +* Tue Nov 20 2018 Martin Stransky - 60.3.0-4 +- Build with Wayland support +- Enabled DBus remote for Wayland + +* Tue Nov 13 2018 Caolán McNamara - 60.3.0-3 +- rebuild for hunspell-1.7.0 + +* Tue Nov 6 2018 Martin Stransky - 60.3.0-2 +- Disabled DBus remote + +* Tue Oct 30 2018 Jan Horak - 60.3.0-1 +- Update to 60.3.0 + +* Wed Oct 3 2018 Jan Horak - 60.2.1-2 +- Update to 60.2.1 +- Added fix for rhbz#1546988 + +* Wed Aug 15 2018 Jan Horak - 60.0-1 +- Update to 60.0 +- Removing gdata-provider extension because it's no longer provided by Thunderbird + +* Sat Jul 14 2018 Fedora Release Engineering - 52.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 Jan Horak - 52.9.1-1 +- Update to 52.9.1 + +* Tue May 22 2018 Jan Horak - 52.8.0-1 +- Update to 52.8.0 + +* Tue Mar 27 2018 Jan Horak - 52.7.0-1 +- Update to 52.7.0 + +* Fri Feb 09 2018 Fedora Release Engineering - 52.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 29 2018 Jan Horak - 52.6.0-1 +- Update to 52.6.0 + +* Tue Jan 2 2018 Jan Horak - 52.5.2-1 +- Update to 52.5.2 + +* Mon Dec 04 2017 Caolán McNamara - 52.5.0-2 +- rebuild for hunspell-1.6.2 + +* Tue Nov 28 2017 Jan Horak - 52.5.0-1 +- Update to 52.5.0 + +* Tue Oct 24 2017 Kai Engert - 52.4.0-3 +- Backport several upstream patches for NSS sql db compatibility, + see rhbz#1496565 + +* Wed Oct 4 2017 Jan Horak - 52.4.0-2 +- Update to 52.4.0 (b2) + +* Mon Aug 21 2017 Jan Horak - 52.3.0-1 +- Update to 52.3.0 + +* Thu Aug 03 2017 Fedora Release Engineering - 52.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 52.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 29 2017 Jan Horak - 52.2.1-1 +- Update to 52.2.1 + +* Thu Jun 15 2017 Jan Horak - 52.2.0-1 +- Update to 52.2.0 + +* Tue Jun 13 2017 Jan Horak - 52.1.1-2 +- Enable aarch64 builds again + +* Fri Jun 2 2017 Jan Horak - 52.1.1-1 +- Update to 52.1.1 + +* Mon May 15 2017 Fedora Release Engineering - 52.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + +* Tue May 2 2017 Jan Horak - 52.1.0-1 +- Update to 52.1.0 +- Added patch for rhbz#1442903 - crash when compacting folder + +* Wed Apr 12 2017 Jan Horak - 52.0-2 +- Added fix for rhbz#1441601 - problems with TLS server certificates + +* Tue Apr 4 2017 Jan Horak - 52.0-1 +- Update to 52.0 + +* Wed Mar 8 2017 Jan Horak - 45.8.0-1 +- Update to 45.8.0 + +* Tue Feb 21 2017 Jan Horak - 45.7.0-3 +- Added patch for gcc7 from icecat package + +* Sat Feb 11 2017 Fedora Release Engineering - 45.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jan 31 2017 Jan Horak - 45.7.0-1 +- Update to 45.7.0 + +* Fri Jan 20 2017 Martin Stransky - 45.6.0-6 +- Rebuilt for new nss 3.28.1 (mozbz#1290037) + +* Fri Jan 6 2017 Jan Horak - 45.6.0-3 +- Fixed calendar locales: rhbz#1410740 + +* Mon Dec 19 2016 Jan Horak - 45.6.0-2 +- Bump gdata subpackage version + +* Fri Dec 16 2016 Martin Stransky - 45.6.0-1 +- New upstream (45.6.0) + +* Tue Dec 13 2016 Caolán McNamara - 45.5.1-2 +- rebuild for hunspell-1.5.4 + +* Thu Dec 1 2016 Jan Horak - 45.5.1-1 +- Update to 45.5.1 + +* Mon Nov 28 2016 Jan Horak - 45.5.0-1 +- Update to 45.5.0 + +* Thu Oct 6 2016 Jan Horak - 45.4.0-1 +- Update to 45.4.0 + +* Thu Sep 22 2016 Jan Horak - 45.3.0-2 +- Removed dependency on cairo (bz#1377910) + +* Thu Sep 1 2016 Jan Horak - 45.3.0-1 +- Update to 45.3.0 + +* Fri Jul 22 2016 Tom Callaway - 45.2.0-2 +- rebuild for libvpx 1.6.0 + +* Mon Jul 11 2016 Jan Horak - 45.2.0-1 +- Update to 45.2.0 + +* Mon Jun 6 2016 Jan Horak - 45.1.1-2 +- Update to 45.1.1 + +* Fri May 20 2016 Jan Horak - 45.1.0-4 +- Enabled JIT again + +* Tue May 17 2016 Jan Horak - 45.1.0-2 +- Update to 45.1.0 + +* Wed Apr 27 2016 Peter Robinson 45.0-4 +- Added fix for rhbz#1315225 - ppc64le/aarch64 build fixes + +* Mon Apr 18 2016 Caolán McNamara - 45.0-3 +- rebuild for hunspell 1.4.0 + +* Tue Apr 12 2016 Jan Horak - 45.0-2 +- Update to 45.0 + +* Thu Mar 24 2016 Jan Horak - 38.7.1-1 +- Update to 38.7.1 + +* Fri Feb 26 2016 Martin Stransky - 38.6.0-6 +- Disabled gcc6 NULL pointer optimization (rhbz#1311886) again + due to unfixed various TB parts + +* Thu Feb 25 2016 Martin Stransky - 38.6.0-5 +- Added upstream gcc6 fix (mozbz#1167145) + +* Thu Feb 25 2016 Martin Stransky - 38.6.0-4 +- Disabled gcc6 NULL pointer optimization (rhbz#1311886) + +* Tue Feb 23 2016 Martin Stransky - 38.6.0-3 +- Disabled system sqlite due to rhbz#1311032 + +* Mon Feb 22 2016 Martin Stransky - 38.6.0-2 +- Added workarounf for mozbz#1245783 - gcc6 JIT crashes + +* Tue Feb 16 2016 Jan Horak - 38.6.0-1 +- Update to 38.6.0 + +* Fri Feb 05 2016 Fedora Release Engineering - 38.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jan 4 2016 Jan Horak - 38.5.0-1 +- Update to 38.5.0 + +* Tue Dec 1 2015 Tom Callaway - 38.4.0-2 +- rebuild for libvpx 1.5.0 + +* Mon Nov 30 2015 Jan Horak - 38.4.0-1 +- Update to 38.4.0 + +* Fri Nov 27 2015 Martin Stransky - 31.3.0-3 +- Enabled hardened builds (rhbz#1283945) + +* Fri Oct 16 2015 Kalev Lember - 38.3.0-2 +- Fix accidentally commented out AppData screenshot + +* Tue Sep 29 2015 Jan Horak - 38.3.0-1 +- Update to 38.3.0 + +* Thu Aug 20 2015 Jan Horak - 38.2.0-2 +- Thunderbird provides thunderbird-lightning now + +* Wed Aug 19 2015 Jan Horak - 38.2.0-1 +- Update to 38.2.0 + +* Thu Jul 9 2015 Jan Horak - 38.1.0-1 +- Update to 38.1.0 + +* Thu Jun 18 2015 Jan Horak - 38.0.1-3 +- Bundling calendar extension + +* Tue Jun 9 2015 Jan Horak - 38.0.1-1 +- Update to 38.0.1 + +* Tue May 12 2015 Martin Stransky - 31.7.0-1 +- Update to 31.7.0 + +* Mon Apr 6 2015 Tom Callaway - 31.6.0-2 +- rebuild for libvpx 1.4.0 +- stop using compat defines, they went away in libvpx 1.4.0 + +* Tue Mar 31 2015 Jan Horak - 31.6.0-1 +- Update to 31.6.0 + +* Thu Mar 26 2015 Richard Hughes - 31.5.0-3 +- Add an AppData file for the software center + +* Thu Mar 19 2015 Jan Horak - 31.5.0-2 +- Fixed build flags for s390(x) + +* Tue Feb 24 2015 Jan Horak - 31.5.0-1 +- Update to 31.5.0 + +* Fri Feb 20 2015 Martin Stransky - 31.4.0-2 +- Fixed rhbz#1187746 - GLib allocation error + when starting thunderbird + +* Wed Jan 14 2015 Jan Horak - 31.4.0-1 +- Update to 31.4.0 + +* Mon Jan 5 2015 Jan Horak - 31.3.0-2 +- Exclude ppc64 arch for epel7 + +* Mon Dec 1 2014 Jan Horak - 31.3.0-1 +- Update to 31.3.0 + +* Tue Oct 14 2014 Jan Horak - 31.2.0-1 +- Update to 31.2.0 + +* Wed Oct 1 2014 Martin Stransky - 31.1.1-2 +- Sync prefs with Firefox + +* Thu Sep 11 2014 Jan Horak - 31.1.1-1 +- Update to 31.1.1 + +* Mon Sep 1 2014 Jan Horak - 31.1.0-1 +- Update to 31.1.0 + +* Tue Aug 26 2014 Karsten Hopp 31.0-5 +- ppc64 patch 304 got removed and isn't required anymore (mozbz#973977) + +* Mon Aug 18 2014 Fedora Release Engineering - 31.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Aug 4 2014 Peter Robinson 31.0-3 +- Build with system FFI as per firefox/xulrunner (fixes aarch64) + +* Wed Jul 30 2014 Martin Stransky - 31.0-2 +- Added patch for mozbz#858919 + +* Tue Jul 29 2014 Martin Stransky - 31.0-1 +- Update to 31.0 + +* Tue Jul 22 2014 Jan Horak - 24.7.0-1 +- Update to 24.7.0 + +* Mon Jun 9 2014 Jan Horak - 24.6.0-1 +- Update to 24.6.0 + +* Sun Jun 08 2014 Fedora Release Engineering - 24.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 Brent Baude - 24.5.0-5 +- Moving the ppc64 conditional up before the cd so it will +- apply cleanly + +* Fri May 23 2014 Martin Stransky - 24.5.0-4 +- Added a build fix for ppc64 - rhbz#1100495 + +* Mon May 5 2014 Jan Horak - 24.5.0-3 +- Fixed find requires + +* Mon Apr 28 2014 Jan Horak - 24.5.0-1 +- Update to 24.5.0 + +* Tue Apr 22 2014 Jan Horak - 24.4.0-2 +- Added support for ppc64le + +* Tue Mar 18 2014 Jan Horak - 24.4.0-1 +- Update to 24.4.0 + +* Mon Feb 3 2014 Jan Horak - 24.3.0-1 +- Update to 24.3.0 + +* Mon Dec 16 2013 Martin Stransky - 24.2.0-4 +- Fixed rhbz#1024232 - thunderbird: squiggly lines used + for spelling correction disappear randomly + +* Fri Dec 13 2013 Martin Stransky - 24.2.0-3 +- Build with -Werror=format-security (rhbz#1037353) + +* Wed Dec 11 2013 Martin Stransky - 24.2.0-2 +- rhbz#1001998 - added a workaround for system notifications + +* Mon Dec 9 2013 Jan Horak - 24.2.0-1 +- Update to 24.2.0 + +* Sat Nov 02 2013 Dennis Gilmore - 24.1.0-2 +- remove ExcludeArch: armv7hl + +* Wed Oct 30 2013 Jan Horak - 24.1.0-1 +- Update to 24.1.0 + +* Thu Oct 17 2013 Martin Stransky - 24.0-4 +- Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox + +* Wed Sep 25 2013 Jan Horak - 24.0-3 +- Update to 24.0 + +* Mon Sep 23 2013 Jan Horak - 17.0.9-1 +- Update to 17.0.9 ESR + +* Mon Aug 5 2013 Jan Horak - 17.0.8-1 +- Update to 17.0.8 + +* Sun Aug 04 2013 Fedora Release Engineering - 17.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 25 2013 Jan Horak - 17.0.7-1 +- Update to 17.0.7 + +* Wed Jun 12 2013 Jan Horak - 17.0.6-2 +- Fixed rhbz#973371 - unable to install addons + +* Tue May 14 2013 Jan Horak - 17.0.6-1 +- Update to 17.0.6 + +* Tue Apr 2 2013 Jan Horak - 17.0.5-1 +- Update to 17.0.5 + +* Mon Mar 11 2013 Jan Horak - 17.0.4-1 +- Update to 17.0.4 + +* Tue Feb 19 2013 Jan Horak - 17.0.3-1 +- Update to 17.0.3 + +* Fri Feb 15 2013 Fedora Release Engineering - 17.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 15 2013 Martin Stransky - 17.0.2-3 +- Added fix for NM regression (mozbz#791626) + +* Tue Jan 15 2013 Jan Horak - 17.0.2-2 +- Added mozilla-746112 patch to fix crash on ppc(64) + +* Thu Jan 10 2013 Jan Horak - 17.0.2-1 +- Update to 17.0.2 + +* Mon Nov 19 2012 Jan Horak - 17.0-1 +- Update to 17.0 + +* Mon Oct 29 2012 Jan Horak - 16.0.2-1 +- Update to 16.0.2 + +* Tue Oct 16 2012 Jan Horak - 16.0.1-2 +- Fixed nss and nspr versions + +* Thu Oct 11 2012 Jan Horak - 16.0.1-1 +- Update to 16.0.1 + +* Tue Oct 9 2012 Jan Horak - 16.0-1 +- Update to 16.0 + +* Tue Sep 18 2012 Dan Horák - 15.0.1-3 +- Added fix for rhbz#855923 - TB freezes on Fedora 18 for PPC64 + +* Fri Sep 14 2012 Martin Stransky - 15.0.1-2 +- Added build flags for second arches + +* Tue Sep 11 2012 Jan Horak - 15.0.1-1 +- Update to 15.0.1 + +* Fri Sep 7 2012 Jan Horak - 15.0-2 +- Added workaround fix for PPC (rbhz#852698) + +* Mon Aug 27 2012 Jan Horak - 15.0-1 +- Update to 15.0 + +* Wed Aug 1 2012 Martin Stransky - 14.0-4 +- Removed StartupWMClass (rhbz#844863) +- Fixed -g parameter +- Removed thunderbird-devel before packing to avoid debugsymbols duplicities (rhbz#823940) + +* Sat Jul 21 2012 Fedora Release Engineering - 14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 17 2012 Jan Horak - 14.0-1 +- Update to 14.0 + +* Fri Jun 15 2012 Jan Horak - 13.0.1-1 +- Update to 13.0.1 + +* Tue Jun 5 2012 Jan Horak - 13.0-1 +- Update to 13.0 + +* Mon May 7 2012 Martin Stransky - 12.0.1-2 +- Fixed #717245 - adhere Static Library Packaging Guidelines + +* Mon Apr 30 2012 Jan Horak - 12.0.1-1 +- Update to 12.0.1 + +* Tue Apr 24 2012 Jan Horak - 12.0-1 +- Update to 12.0 + +* Mon Apr 16 2012 Peter Robinson - 11.0.1-2 +- Add upstream patch to fix FTBFS on ARM + +* Thu Mar 29 2012 Jan Horak - 11.0.1-1 +- Update to 11.0.1 + +* Thu Mar 22 2012 Jan Horak - 11.0-6 +- Added translations to thunderbird.desktop file + +* Fri Mar 16 2012 Martin Stransky - 11.0-5 +- gcc 4.7 build fixes + +* Wed Mar 14 2012 Peter Robinson - 11.0-4 +- Add ARM configuration options + +* Wed Mar 14 2012 Martin Stransky - 11.0-3 +- Build with system libvpx + +* Tue Mar 13 2012 Martin Stransky - 11.0-1 +- Update to 11.0 + +* Thu Feb 23 2012 Jan Horak - 10.0.1-3 +- Added fix for proxy settings mozbz#682832 + +* Thu Feb 16 2012 Martin Stransky - 10.0.1-2 +- Added fix for mozbz#727401 + +* Thu Feb 9 2012 Jan Horak - 10.0.1-1 +- Update to 10.0.1 + +* Mon Feb 6 2012 Martin Stransky - 10.0-2 +- gcc 4.7 build fixes + +* Tue Jan 31 2012 Jan Horak - 10.0-1 +- Update to 10.0 + +* Sat Jan 14 2012 Fedora Release Engineering - 9.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jan 05 2012 Dan Horák - 9.0-6 +- disable jemalloc on s390(x) (taken from xulrunner) + +* Wed Jan 04 2012 Dan Horák - 9.0-5 +- fix build on secondary arches (cherry-picked from 13afcd4c097c) + +* Thu Dec 22 2011 Jan Horak - 9.0-4 +- Update to 9.0 + +* Fri Dec 9 2011 Martin Stransky - 8.0-4 +- enabled gio support (#760644) + +* Tue Nov 29 2011 Jan Horak - 8.0-3 +- Fixed s390x issues + +* Thu Nov 10 2011 Jan Horak - 8.0-2 +- Enable Mozilla's crash reporter again for all archs +- Temporary workaround for langpacks +- Disabled addon check UI (#753551) + +* Tue Nov 8 2011 Jan Horak - 8.0-1 +- Update to 8.0 + +* Tue Oct 18 2011 Martin Stransky - 7.0.1-3 +- Added NM patches (mozbz#627672, mozbz#639959) + +* Wed Oct 12 2011 Dan Horák - 7.0.1-2 +- fix build on secondary arches (copied from xulrunner) + +* Fri Sep 30 2011 Jan Horak - 7.0.1-1 +- Update to 7.0.1 + +* Tue Sep 27 2011 Jan Horak - 7.0-1 +- Update to 7.0 + +* Tue Sep 6 2011 Jan Horak - 6.0.2-1 +- Update to 6.0.2 + +* Wed Aug 31 2011 Jan Horak - 6.0-3 +- Distrust a specific Certificate Authority + +* Wed Aug 31 2011 Dan Horák - 6.0-2 +- add secondary-ipc patch from xulrunner + +* Tue Aug 16 2011 Jan Horak - 6.0-1 +- Update to 6.0 + +* Tue Aug 16 2011 Remi Collet 5.0-4 +- Don't unzip the langpacks + +* Mon Aug 15 2011 Jan Horak - 5.0-3 +- Rebuild due to rhbz#728707 + +* Wed Jul 20 2011 Dan Horák - 5.0-2 +- add xulrunner patches for secondary arches + +* Tue Jun 28 2011 Jan Horak - 5.0-1 +- Update to 5.0 + +* Tue Jun 21 2011 Jan Horak - 3.1.11-1 +- Update to 3.1.11 + +* Wed May 25 2011 Caolán McNamara - 3.1.10-2 +- rebuild for new hunspell + +* Thu Apr 28 2011 Jan Horak - 3.1.10-1 +- Update to 3.1.10 + +* Thu Apr 21 2011 Christopher Aillon - 3.1.9-7 +- Make gvfs-open launch a compose window (salimma) +- Spec file cleanups (salimma, caillon) +- Split out mozilla crashreporter symbols to its own debuginfo package (caillon) + +* Sat Apr 2 2011 Christopher Aillon - 3.1.9-6 +- Drop gio support: the code hooks don't exist yet for TB 3.1.x + +* Fri Apr 1 2011 Orion Poplawski - 3.1.9-5 +- Enable startup notification + +* Sun Mar 20 2011 Dan Horák - 3.1.9-4 +- updated the s390 build patch + +* Fri Mar 18 2011 Jan Horak - 3.1.9-3 +- Removed gnome-vfs2, libgnomeui and libgnome from build requires + +* Wed Mar 9 2011 Jan Horak - 3.1.9-2 +- Disabled gnomevfs, enabled gio + +* Mon Mar 7 2011 Jan Horak - 3.1.9-1 +- Update to 3.1.9 + +* Tue Mar 1 2011 Jan Horak - 3.1.8-3 +- Update to 3.1.8 + +* Wed Feb 9 2011 Christopher Aillon - 3.1.7-6 +- Drop the -lightning subpackage, it needs to be in its own SRPM + +* Mon Feb 7 2011 Christopher Aillon - 3.1.7-5 +- Bring back the default mailer check but fix up the directory + +* Wed Dec 15 2010 Jan Horak - 3.1.7-4 +- Mozilla crash reporter enabled + +* Thu Dec 9 2010 Jan Horak - 3.1.7-2 +- Fixed useragent + +* Thu Dec 9 2010 Jan Horak - 3.1.7-1 +- Update to 3.1.7 + +* Sat Nov 27 2010 Remi Collet - 3.1.6-8 +- fix cairo + nspr required version +- lightning: fix thunderbird version required +- lightning: fix release (b3pre) +- lightning: clean install + +* Mon Nov 22 2010 Jan Horak - 3.1.6-7 +- Added x-scheme-handler/mailto to thunderbird.desktop file + +* Mon Nov 8 2010 Jan Horak - 3.1.6-4 +- Added libnotify patch +- Removed dependency on static libraries + +* Fri Oct 29 2010 Jan Horak - 3.1.6-2 +- Move thunderbird-lightning extension from Sunbird package to Thunderbird + +* Wed Oct 27 2010 Jan Horak - 3.1.6-1 +- Update to 3.1.6 + +* Tue Oct 19 2010 Jan Horak - 3.1.5-1 +- Update to 3.1.5 + +* Thu Sep 16 2010 Dan Horák - 3.1.3-2 +- fix build on s390 + +* Tue Sep 7 2010 Jan Horak - 3.1.3-1 +- Update to 3.1.3 + +* Fri Aug 6 2010 Jan Horak - 3.1.2-1 +- Update to 3.1.2 +- Disable updater + +* Tue Jul 20 2010 Jan Horak - 3.1.1-1 +- Update to 3.1.1 + +* Thu Jun 24 2010 Jan Horak - 3.1-1 +- Thunderbird 3.1 + +* Fri Jun 11 2010 Jan Horak - 3.1-0.3.rc2 +- TryExec added to desktop file + +* Wed Jun 9 2010 Christopher Aillon 3.1-0.2.rc2 +- Thunderbird 3.1 RC2 + +* Tue May 25 2010 Christopher Aillon 3.1-0.1.rc1 +- Thunderbird 3.1 RC1 + +* Fri Apr 30 2010 Jan Horak - 3.0.4-3 +- Fix for mozbz#550455 + +* Tue Apr 13 2010 Martin Stransky - 3.0.4-2 +- Fixed langpacks (#580444) + +* Tue Mar 30 2010 Jan Horak - 3.0.4-1 +- Update to 3.0.4 + +* Sat Mar 06 2010 Kalev Lember - 3.0.3-2 +- Own extension directories (#532132) + +* Mon Mar 1 2010 Jan Horak - 3.0.3-1 +- Update to 3.0.3 + +* Thu Feb 25 2010 Jan Horak - 3.0.2-1 +- Update to 3.0.2 + +* Wed Jan 20 2010 Martin Stransky - 3.0.1-1 +- Update to 3.0.1 + +* Mon Jan 18 2010 Martin Stransky - 3.0-5 +- Added fix for #480603 - thunderbird takes + unacceptably long time to start + +* Wed Dec 9 2009 Jan Horak - 3.0-4 +- Update to 3.0 + +* Thu Dec 3 2009 Jan Horak - 3.0-3.13.rc2 +- Update to RC2 + +* Wed Nov 25 2009 Jan Horak - 3.0-3.12.rc1 +- Sync with Mozilla latest RC1 build + +* Thu Nov 19 2009 Jan Horak - 3.0-3.11.rc1 +- Update to RC1 + +* Thu Sep 17 2009 Christopher Aillon - 3.0-3.9.b4 +- Update to 3.0 b4 + +* Thu Aug 6 2009 Martin Stransky - 3.0-3.8.beta3 +- Added fix for #437596 +- Removed unused patches + +* Thu Aug 6 2009 Jan Horak - 3.0-3.7.beta3 +- Removed unused build requirements + +* Mon Aug 3 2009 Jan Horak - 3.0-3.6.beta3 +- Build with system hunspell + +* Sun Jul 26 2009 Fedora Release Engineering - 3.0-3.5.b3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Jul 24 2009 Jan Horak - 3.0-2.5.beta3 +- Use system hunspell + +* Tue Jul 21 2009 Jan Horak - 3.0-2.4.beta3 +- Update to 3.0 beta3 + +* Mon Mar 30 2009 Jan Horak - 3.0-2.2.beta2 +- Fixed open-browser.sh to use xdg-open instead of gnome-open + +* Mon Mar 23 2009 Christopher Aillon - 3.0-2.1.beta2 +- Disable the default app nag dialog + +* Tue Mar 17 2009 Jan Horak - 3.0-2.beta2 +- Fixed clicked link does not open in browser (#489120) +- Fixed missing help in thunderbird (#488885) + +* Mon Mar 2 2009 Jan Horak - 3.0-1.beta2 +- Update to 3.0 beta2 +- Added Patch2 to build correctly when building with --enable-shared option + +* Wed Feb 25 2009 Fedora Release Engineering - 2.0.0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 07 2009 Christopher Aillon - 2.0.0.18-2 +- Disable the crash dialog + +* Wed Nov 19 2008 Christopher Aillon 2.0.0.18-1 +- Update to 2.0.0.18 + +* Thu Oct 9 2008 Christopher Aillon 2.0.0.17-1 +- Update to 2.0.0.17 + +* Wed Jul 23 2008 Christopher Aillon 2.0.0.16-1 +- Update to 2.0.0.16 + +* Thu May 1 2008 Christopher Aillon 2.0.0.14-1 +- Update to 2.0.0.14 +- Use the system dictionaries + +* Fri Apr 18 2008 Christopher Aillon 2.0.0.12-6 +- Icon belongs in _datadir/pixmaps + +* Fri Apr 18 2008 Christopher Aillon 2.0.0.12-5 +- rebuilt + +* Mon Apr 7 2008 Christopher Aillon 2.0.0.12-4 +- Add %%lang attributes to langpacks + +* Sat Mar 15 2008 Christopher Aillon 2.0.0.12-3 +- Avoid conflict between gecko debuginfos + +* Mon Mar 03 2008 Martin Stransky 2.0.0.12-2 +- Updated starting script (#426331) + +* Tue Feb 26 2008 Christopher Aillon 2.0.0.12-1 +- Update to 2.0.0.12 +- Fix up icon location and some scriptlets + +* Sun Dec 9 2007 Christopher Aillon 2.0.0.9-2 +- Fix some rpmlint warnings +- Drop some old patches and obsoletes + +* Thu Nov 15 2007 Christopher Aillon 2.0.0.9-1 +- Update to 2.0.0.9 + +* Wed Sep 26 2007 Martin Stransky 2.0.0.6-6 +- Fixed #242657 - firefox -g doesn't work + +* Tue Sep 25 2007 Christopher Aillon 2.0.0.6-5 +- Removed hardcoded MAX_PATH, PATH_MAX and MAXPATHLEN macros + +* Tue Sep 11 2007 Christopher Aillon 2.0.0.6-4 +- Fix crashes when using GTK+ themes containing a gtkrc which specify + GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing + +* Mon Sep 10 2007 Martin Stransky 2.0.0.6-3 +- added fix for #246248 - firefox crashes when searching for word "do" + +* Mon Aug 13 2007 Christopher Aillon 2.0.0.6-2 +- Update the license tag + +* Wed Aug 8 2007 Christopher Aillon 2.0.0.6-1 +- Update to 2.0.0.6 +- Own the application directory (#244901) + +* Tue Jul 31 2007 Martin Stransky 2.0.0.0-3 +- added pango ligature fix + +* Thu Apr 19 2007 Christopher Aillon 2.0.0.0-1 +- Update to 2.0.0.0 Final + +* Fri Apr 13 2007 Christopher Aillon 2.0.0.0-0.5.rc1 +- Fix the desktop file +- Clean up the files list +- Remove the default client stuff from the pref window + +* Thu Apr 12 2007 Christopher Aillon 2.0.0.0-0.4.rc1 +- Rebuild into Fedora + +* Wed Apr 11 2007 Christopher Aillon 2.0.0.0-0.3.rc1 +- Update langpacks + +* Thu Apr 5 2007 Christopher Aillon 2.0.0.0-0.2.rc1 +- Build option tweaks +- Bring the install section to parity with Firefox's + +* Thu Apr 5 2007 Christopher Aillon 2.0.0.0-0.1.rc1 +- Update to 2.0.0.0 RC1 + +* Sun Mar 25 2007 Christopher Aillon 1.5.0.11-1 +- Update to 1.5.0.11 + +* Fri Mar 2 2007 Martin Stransky 1.5.0.10-1 +- Update to 1.5.0.10 + +* Mon Feb 12 2007 Martin Stransky 1.5.0.9-8 +- added fix for #227406: garbage characters on some websites + (when pango is disabled) + +* Tue Jan 30 2007 Christopher Aillon 1.5.0.9-7 +- Updated cursor position patch from tagoh to fix issue with "jumping" + cursor when in a textfield with tabs. + +* Tue Jan 30 2007 Christopher Aillon 1.5.0.9-6 +- Fix the DND implementation to not grab, so it works with new GTK+. + +* Thu Dec 21 2006 Behdad Esfahbod 1.5.0.9-5 +- Added firefox-1.5-pango-underline.patch + +* Wed Dec 20 2006 Behdad Esfahbod 1.5.0.9-4 +- Added firefox-1.5-pango-justified-range.patch + +* Tue Dec 19 2006 Behdad Esfahbod 1.5.0.9-3 +- Added firefox-1.5-pango-cursor-position-more.patch + +* Tue Dec 19 2006 Matthias Clasen 1.5.0.9-2 +- Add a Requires: launchmail (#219884) + +* Tue Dec 19 2006 Christopher Aillon 1.5.0.9-1 +- Update to 1.5.0.9 +- Take firefox's pango fixes +- Don't offer to import...nothing. + +* Tue Nov 7 2006 Christopher Aillon 1.5.0.8-1 +- Update to 1.5.0.8 +- Allow choosing of download directory +- Take the user to the correct directory from the Download Manager. +- Patch to add support for printing via pango from Behdad. + +* Sun Oct 8 2006 Christopher Aillon - 1.5.0.7-4 +- Default to use of system colors + +* Wed Oct 4 2006 Christopher Aillon - 1.5.0.7-3 +- Bring the invisible character to parity with GTK+ + +* Wed Sep 27 2006 Christopher Aillon - 1.5.0.7-2 +- Fix crash when changing gtk key theme +- Prevent UI freezes while changing GNOME theme +- Remove verbiage about pango; no longer required by upstream. + +* Wed Sep 13 2006 Christopher Aillon - 1.5.0.7-1 +- Update to 1.5.0.7 + +* Thu Sep 7 2006 Christopher Aillon - 1.5.0.5-8 +- Shuffle order of the install phase around + +* Thu Sep 7 2006 Christopher Aillon - 1.5.0.5-7 +- Let there be art for Alt+Tab again +- s/tbdir/mozappdir/g + +* Wed Sep 6 2006 Christopher Aillon - 1.5.0.5-6 +- Fix for cursor position in editor widgets by tagoh and behdad (#198759) + +* Tue Sep 5 2006 Christopher Aillon - 1.5.0.5-5 +- Update nopangoxft.patch +- Fix rendering of MathML thanks to Behdad Esfahbod. +- Update start page text to reflect the MathML fixes. +- Enable pango by default on all locales +- Build using -rpath +- Re-enable GCC visibility + +* Thu Aug 3 2006 Kai Engert - 1.5.0.5-4 +- Fix a build failure in mailnews mime code. + +* Tue Aug 1 2006 Matthias Clasen - 1.5.0.5-3 +- Rebuild + +* Thu Jul 27 2006 Christopher Aillon - 1.5.0.5-2 +- Update to 1.5.0.5 + +* Wed Jul 12 2006 Jesse Keating - 1.5.0.4-2.1 +- rebuild + +* Mon Jun 12 2006 Kai Engert - 1.5.0.4-2 +- Update to 1.5.0.4 +- Fix desktop-file-utils requires + +* Wed Apr 19 2006 Christopher Aillon - 1.5.0.2-2 +- Update to 1.5.0.2 + +* Thu Mar 16 2006 Christopher Aillon - 1.5-7 +- Bring the other arches back + +* Mon Mar 13 2006 Christopher Aillon - 1.5.6 +- Temporarily disable other arches that we don't ship FC5 with, for time + +* Mon Mar 13 2006 Christopher Aillon - 1.5-5 +- Add a notice to the mail start page denoting this is a pango enabled build. + +* Fri Feb 10 2006 Christopher Aillon - 1.5-3 +- Add dumpstack.patch +- Improve the langpack install stuff + +* Tue Feb 07 2006 Jesse Keating - 1.5-2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Jan 27 2006 Christopher Aillon - 1.5-2 +- Add some langpacks back in +- Stop providing MozillaThunderbird + +* Thu Jan 12 2006 Christopher Aillon - 1.5-1 +- Official 1.5 release is out + +* Wed Jan 11 2006 Christopher Aillon - 1.5-0.5.6.rc1 +- Fix crash when deleting highlighted text while composing mail within + plaintext editor with spellcheck enabled. + +* Tue Jan 3 2006 Christopher Aillon - 1.5-0.5.5.rc1 +- Looks like we can build on ppc64 again. + +* Fri Dec 16 2005 Christopher Aillon - 1.5-0.5.4.rc1 +- Rebuild + +* Fri Dec 16 2005 Christopher Aillon - 1.5-0.5.3.rc1 +- Once again, disable ppc64 because of a new issue. + See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175944 + +- Use the system NSS libraries +- Build on ppc64 + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Mon Nov 28 2005 Christopher Aillon - 1.5-0.5.1.rc1 +- Fix issue with popup dialogs and other actions causing lockups + +* Sat Nov 5 2005 Christopher Aillon 1.5-0.5.0.rc1 +- Update to 1.5 rc1 + +* Sat Oct 8 2005 Christopher Aillon 1.5-0.5.0.beta2 +- Update to 1.5 beta2 + +* Wed Sep 28 2005 Christopher Aillon 1.5-0.5.0.beta1 +- Update to 1.5 beta1 +- Bring the install phase of the spec file up to speed + +* Sun Aug 14 2005 Christopher Aillon 1.0.6-4 +- Rebuild + +* Sat Aug 6 2005 Christopher Aillon 1.0.6-3 +- Add patch to make file chooser dialog modal + +* Fri Jul 22 2005 Christopher Aillon 1.0.6-2 +- Update to 1.0.6 + +* Mon Jul 18 2005 Christopher Aillon 1.0.6-0.1.fc5 +- 1.0.6 Release Candidate + +* Fri Jul 15 2005 Christopher Aillon 1.0.2-8 +- Use system NSPR +- Fix crash on 64bit platforms (#160330) + +* Thu Jun 23 2005 Kristian Høgsberg 1.0.2-7 +- Add firefox-1.0-pango-cairo.patch to get rid of the last few Xft + references, fixing the "no fonts" problem. + +* Fri May 13 2005 Christopher Aillon 1.0.2-6 +- Change the Exec line in the desktop file to `thunderbird` + +* Fri May 13 2005 Christopher Aillon 1.0.2-5 +- Update pango patche, MOZ_DISABLE_PANGO now works as advertised. + +* Mon May 9 2005 Christopher Aillon 1.0.2-4 +- Add temporary workaround to not create files in the user's $HOME (#149664) + +* Wed May 4 2005 Christopher Aillon 1.0.2-3 +- Don't have downloads "disappear" when downloading to desktop (#139015) +- Fix for some more cursor issues in textareas (149991, 150002, 152089) +- Add upstream patch to fix bidi justification of pango +- Add patch to fix launching of helper applications +- Add patch to properly link against libgfxshared_s.a +- Fix multilib conflicts + +* Wed Apr 27 2005 Warren Togami +- correct confusing PANGO vars in startup script + +* Wed Mar 23 2005 Christopher Aillon 1.0.2-1 +- Thunderbird 1.0.2 + +* Tue Mar 8 2005 Christopher Aillon 1.0-5 +- Add patch to compile against new fortified glibc macros + +* Sat Mar 5 2005 Christopher Aillon 1.0-4 +- Rebuild against GCC 4.0 +- Add execshield patches +- Minor specfile cleanup + +* Mon Dec 20 2004 Christopher Aillon 1.0-3 +- Rebuild + +* Thu Dec 16 2004 Christopher Aillon 1.0-2 +- Add RPM version to useragent + +* Thu Dec 16 2004 Christopher Blizzard +- Port over pango patches from firefox + +* Wed Dec 8 2004 Christopher Aillon 1.0-1 +- Thunderbird 1.0 + +* Mon Dec 6 2004 Christopher Aillon 1.0-0.rc1.1 +- Fix advanced prefs + +* Fri Dec 3 2004 Christopher Aillon +- Make this run on s390(x) now for real + +* Wed Dec 1 2004 Christopher Aillon 1.0-0.rc1.0 +- Update to 1.0 rc1 + +* Fri Nov 19 2004 Christopher Aillon +- Add patches to build and run on s390(x) + +* Thu Nov 11 2004 Christopher Aillon 0.9.0-2 +- Rebuild to fix file chooser + +* Fri Nov 5 2004 Christopher Aillon 0.9.0-1 +- Update to 0.9 + +* Fri Oct 22 2004 Christopher Aillon 0.8.0-10 +- Prevent inlining of stack direction detection (#135255) + +* Tue Oct 19 2004 Christopher Aillon 0.8.0-9 +- More file chooser fixes (same as in firefox) +- Fix for upstream 28327. + +* Mon Oct 18 2004 Christopher Blizzard 0.8.0-8 +- Update the pango patch + +* Mon Oct 18 2004 Christopher Blizzard 0.8.0-8 +- Pull over patches from firefox build: + - disable default application dialog + - don't include software update since it doesn't work + - make external app support work + +* Thu Oct 14 2004 Christopher Blizzard 0.8.0-7 +- Use pango for rendering + +* Tue Oct 12 2004 Christopher Aillon 0.8.0-6 +- Fix for 64 bit crash at startup (b.m.o #256603) + +* Sat Oct 9 2004 Christopher Aillon 0.8.0-5 +- Add patches to fix xremote (#135036) + +* Fri Oct 8 2004 Christopher Aillon 0.8.0-4 +- Add patch to fix button focus issues (#133507) +- Add patch for fix IMAP race issues (bmo #246439) + +* Fri Oct 1 2004 Bill Nottingham 0.8.0-3 +- filter out library Provides: and internal Requires: + +* Tue Sep 28 2004 Christopher Aillon 0.8.0-2 +- Backport the GTK+ File Chooser. +- Add fix for JS math on x86_64 systems +- Add pkgconfig patch + +* Thu Sep 16 2004 Christopher Aillon 0.8.0-1 +- Update to 0.8.0 +- Remove enigmail +- Update BuildRequires +- Remove gcc34 and extension manager patches -- they are upstreamed. +- Fix for gnome-vfs2 error at component registration + +* Fri Sep 03 2004 Christopher Aillon 0.7.3-5 +- Build with --disable-xprint + +* Wed Sep 01 2004 David Hill 0.7.3-4 +- remove all Xvfb-related hacks + +* Wed Sep 01 2004 Warren Togami +- actually apply psfonts +- add mozilla gnome-uriloader patch to prevent build failure + +* Tue Aug 31 2004 Warren Togami 0.7.3-3 +- rawhide import +- apply NetBSD's freetype 2.1.8 patch +- apply psfonts patch +- remove BR on /usr/bin/ex, breaks beehive + +* Tue Aug 31 2004 David Hill 0.7.3-0.fdr.2 +- oops, fix %%install + +* Thu Aug 26 2004 David Hill 0.7.3-0.fdr.1 +- update to Thunderbird 0.7.3 and Enigmail 0.85.0 +- remove XUL.mfasl on startup, add Debian enigmail patches +- add Xvfb hack for -install-global-extension + +* Wed Jul 14 2004 David Hill 0.7.2-0.fdr.0 +- update to 0.7.2, just because it's there +- update gcc-3.4 patch (Kaj Niemi) +- add EM registration patch and remove instdir hack + +* Sun Jul 04 2004 David Hill 0.7.1-0.fdr.1 +- re-add Enigmime 1.0.7, omit Enigmail until the Mozilla EM problems are fixed + +* Wed Jun 30 2004 David Hill 0.7.1-0.fdr.0 +- update to 0.7.1 +- remove Enigmail + +* Mon Jun 28 2004 David Hill 0.7-0.fdr.1 +- re-enable Enigmail 0.84.1 +- add gcc-3.4 patch (Kaj Niemi) +- use official branding (with permission) + +* Fri Jun 18 2004 David Hill 0.7-0.fdr.0 +- update to 0.7 +- temporarily disable Enigmail 0.84.1, make ftp links work (#1634) +- specify libdir, change BR for apt (V. Skyttä, #1617) + +* Tue May 18 2004 Warren Togami 0.6-0.fdr.5 +- temporary workaround for enigmail skin "modern" bug + +* Mon May 10 2004 David Hill 0.6-0.fdr.4 +- update to Enigmail 0.84.0 +- update launch script + +* Mon May 10 2004 David Hill 0.6-0.fdr.3 +- installation directory now versioned +- allow root to run the program (for installing extensions) +- remove unnecessary %%pre and %%post +- remove separators, update mozconfig and launch script (M. Schwendt, #1460) + +* Wed May 05 2004 David Hill 0.6-0.fdr.2 +- include Enigmail, re-add release notes +- delete %%{_libdir}/thunderbird in %%pre + +* Mon May 03 2004 David Hill 0.6-0.fdr.1 +- update to Thunderbird 0.6 + +* Fri Apr 30 2004 David Hill 0.6-0.fdr.0.rc1 +- update to Thunderbird 0.6 RC1 +- add new icon, remove release notes + +* Thu Apr 15 2004 David Hill 0.6-0.fdr.0.20040415 +- update to latest CVS, update mozconfig and %%build accordingly +- update to Enigmail 0.83.6 +- remove x-remote and x86_64 patches +- build with -Os + +* Thu Apr 15 2004 David Hill 0.5-0.fdr.12 +- update x-remote patch +- more startup script fixes + +* Tue Apr 06 2004 David Hill 0:0.5-0.fdr.11 +- startup script fixes, and a minor cleanup + +* Sun Apr 04 2004 Warren Togami 0:0.5-0.fdr.10 +- Minor cleanups + +* Sun Apr 04 2004 David Hill 0:0.5-0.fdr.8 +- minor improvements to open-browser.sh and startup script +- update to latest version of Blizzard's x-remote patch + +* Thu Mar 25 2004 David Hill 0:0.5-0.fdr.7 +- update open-browser.sh, startup script, and BuildRequires + +* Sun Mar 14 2004 David Hill 0:0.5-0.fdr.6 +- update open-browser script, modify BuildRequires (Warren) +- add Blizzard's x-remote patch +- initial attempt at x-remote-enabled startup script + +* Sun Mar 07 2004 David Hill 0:0.5-0.fdr.5 +- refuse to run with excessive privileges + +* Fri Feb 27 2004 David Hill 0:0.5-0.fdr.4 +- add Mozilla x86_64 patch (Oliver Sontag) +- Enigmail source filenames now include the version +- modify BuildRoot + +* Thu Feb 26 2004 David Hill 0:0.5-0.fdr.3 +- use the updated official tarball + +* Wed Feb 18 2004 David Hill 0:0.5-0.fdr.2 +- fix %%prep script + +* Mon Feb 16 2004 David Hill 0:0.5-0.fdr.1 +- update Enigmail to 0.83.3 +- use official source tarball (after removing the CRLFs) +- package renamed to thunderbird + +* Mon Feb 09 2004 David Hill 0:0.5-0.fdr.0 +- update to 0.5 +- check for lockfile before launching + +* Fri Feb 06 2004 David Hill +- update to latest cvs +- update to Enigmail 0.83.2 + +* Thu Jan 29 2004 David Hill 0:0.4-0.fdr.5 +- update to Enigmail 0.83.1 +- removed Mozilla/Firebird script patching + +* Sat Jan 03 2004 David Hill 0:0.4-0.fdr.4 +- add startup notification to .desktop file + +* Thu Dec 25 2003 Warren Togami 0:0.4-0.fdr.3 +- open-browser.sh release 3 +- patch broken /usr/bin/mozilla script during install +- dir ownership +- XXX: Source fails build on x86_64... fix later + +* Tue Dec 23 2003 David Hill 0:0.4-0.fdr.2 +- update to Enigmail 0.82.5 +- add Warren's open-browser.sh (#1113) + +* Tue Dec 09 2003 David Hill 0:0.4-0.fdr.1 +- use Thunderbird's mozilla-xremote-client to launch browser + +* Sun Dec 07 2003 David Hill 0:0.4-0.fdr.0 +- update to 0.4 +- make hyperlinks work (with recent versions of Firebird/Mozilla) + +* Thu Dec 04 2003 David Hill +- update to 0.4rc2 + +* Wed Dec 03 2003 David Hill +- update to 0.4rc1 and Enigmail 0.82.4 + +* Thu Nov 27 2003 David Hill +- update to latest CVS and Enigmail 0.82.3 + +* Sun Nov 16 2003 David Hill +- update to latest CVS (0.4a) +- update Enigmail to 0.82.2 +- alter mozconfig for new build requirements +- add missing BuildReq (#987) + +* Thu Oct 16 2003 David Hill 0:0.3-0.fdr.0 +- update to 0.3 + +* Sun Oct 12 2003 David Hill 0:0.3rc3-0.fdr.0 +- update to 0.3rc3 +- update Enigmail to 0.81.7 + +* Thu Oct 02 2003 David Hill 0:0.3rc2-0.fdr.0 +- update to 0.3rc2 + +* Wed Sep 17 2003 David Hill 0:0.2-0.fdr.2 +- simplify startup script + +* Wed Sep 10 2003 David Hill 0:0.2-0.fdr.1 +- add GPG support (Enigmail 0.81.6) +- specfile fixes (#679) + +* Thu Sep 04 2003 David Hill 0:0.2-0.fdr.0 +- update to 0.2 + +* Mon Sep 01 2003 David Hill +- initial RPM + (based on the fedora MozillaFirebird-0.6.1 specfile)