[arch-commits] Commit in thunderbird/repos (8 files)
Levente Polyak
anthraxx at archlinux.org
Fri Nov 20 00:26:40 UTC 2020
Date: Friday, November 20, 2020 @ 00:26:39
Author: anthraxx
Revision: 401503
archrelease: copy trunk to testing-x86_64
Added:
thunderbird/repos/testing-x86_64/
thunderbird/repos/testing-x86_64/PKGBUILD
(from rev 401502, thunderbird/trunk/PKGBUILD)
thunderbird/repos/testing-x86_64/configure-fix-passing-system-bzip2-ldflags.patch
(from rev 401502, thunderbird/trunk/configure-fix-passing-system-bzip2-ldflags.patch)
thunderbird/repos/testing-x86_64/distribution.ini
(from rev 401502, thunderbird/trunk/distribution.ini)
thunderbird/repos/testing-x86_64/mozconfig.cfg
(from rev 401502, thunderbird/trunk/mozconfig.cfg)
thunderbird/repos/testing-x86_64/thunderbird-78.4.3-gpgme-double-armored-fix.patch
(from rev 401502, thunderbird/trunk/thunderbird-78.4.3-gpgme-double-armored-fix.patch)
thunderbird/repos/testing-x86_64/thunderbird.desktop
(from rev 401502, thunderbird/trunk/thunderbird.desktop)
thunderbird/repos/testing-x86_64/vendor-prefs.js
(from rev 401502, thunderbird/trunk/vendor-prefs.js)
---------------------------------------------------+
PKGBUILD | 263 ++++++++++++++++++++
configure-fix-passing-system-bzip2-ldflags.patch | 25 +
distribution.ini | 8
mozconfig.cfg | 44 +++
thunderbird-78.4.3-gpgme-double-armored-fix.patch | 62 ++++
thunderbird.desktop | 173 +++++++++++++
vendor-prefs.js | 17 +
7 files changed, 592 insertions(+)
Copied: thunderbird/repos/testing-x86_64/PKGBUILD (from rev 401502, thunderbird/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,263 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Anders Bostrom <anders.bostrom at home.se>
+
+pkgbase=thunderbird
+pkgname=(thunderbird)
+pkgver=78.5.0
+pkgrel=1
+pkgdesc='Standalone mail and news reader from mozilla.org'
+url='https://www.mozilla.org/thunderbird/'
+arch=(x86_64)
+license=(MPL GPL LGPL)
+depends=(
+ glibc gtk3 libgdk-3.so mime-types dbus libdbus-1.so dbus-glib alsa-lib nss
+ hunspell sqlite ttf-font libvpx libvpx.so zlib bzip2 botan libwebp libevent
+ libjpeg-turbo libffi nspr gcc-libs libx11 libxrender libxfixes libxext
+ libxcomposite libxdamage pango libpango-1.0.so cairo gdk-pixbuf2 icu
+ libicui18n.so libicuuc.so freetype2 libfreetype.so fontconfig
+ libfontconfig.so glib2 libglib-2.0.so pixman libpixman-1.so gnupg
+)
+makedepends=(
+ unzip zip diffutils python python-setuptools yasm nasm mesa imake libpulse
+ inetutils xorg-server-xvfb autoconf2.13 rust clang llvm gtk2 cbindgen nodejs
+ gawk perl findutils
+)
+options=(!emptydirs !makeflags)
+source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc}
+ thunderbird.desktop
+ vendor-prefs.js
+ distribution.ini
+ mozconfig.cfg
+ configure-fix-passing-system-bzip2-ldflags.patch
+ thunderbird-78.4.3-gpgme-double-armored-fix.patch)
+validpgpkeys=(14F26682D0916CDD81E37B6D61B7B526D98F0353) # Mozilla Software Releases <release at mozilla.com>
+
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact foutrelis at archlinux.org for
+# more information.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact heftig at archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ echo "${noextract[@]}"
+
+ local src
+ for src in "${source[@]}"; do
+ src="${src%%::*}"
+ src="${src##*/}"
+ [[ $src = *.patch ]] || continue
+ echo "Applying patch $src..."
+ patch -Np1 < "../$src"
+ done
+
+ printf "%s" "$_google_api_key" >google-api-key
+ printf "%s" "$_mozilla_api_key" >mozilla-api-key
+ cp ../mozconfig.cfg .mozconfig
+ sed "s|@PWD@|${PWD at Q}|g" -i .mozconfig
+}
+
+build() {
+ cd $pkgname-$pkgver
+ if [[ -n "${SOURCE_DATE_EPOCH}" ]]; then
+ export MOZ_BUILD_DATE=$(date --date "@${SOURCE_DATE_EPOCH}" "+%Y%m%d%H%M%S")
+ fi
+ ./mach configure
+ ./mach build
+ ./mach buildsymbols
+}
+
+package_thunderbird() {
+ optdepends=('libcanberra: sound support')
+
+ cd $pkgname-$pkgver
+ DESTDIR="$pkgdir" ./mach install
+
+ install -Dm 644 ../vendor-prefs.js -t "$pkgdir/usr/lib/$pkgname/defaults/pref"
+ install -Dm 644 ../distribution.ini -t "$pkgdir/usr/lib/$pkgname/distribution"
+ install -Dm 644 ../thunderbird.desktop -t "$pkgdir/usr/share/applications"
+
+ for i in 16 22 24 32 48 64 128 256; do
+ install -Dm644 comm/mail/branding/thunderbird/default${i}.png \
+ "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
+ done
+ install -Dm644 comm/mail/branding/thunderbird/TB-symbolic.svg \
+ "$pkgdir/usr/share/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg"
+
+ # Use system-provided dictionaries
+ ln -Ts /usr/share/hunspell "$pkgdir/usr/lib/$pkgname/dictionaries"
+ ln -Ts /usr/share/hyphen "$pkgdir/usr/lib/$pkgname/hyphenation"
+
+ # Install a wrapper to avoid confusion about binary path
+ install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
+#!/bin/sh
+exec /usr/lib/$pkgname/thunderbird "\$@"
+END
+
+ # Replace duplicate binary with wrapper
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=658850
+ ln -srf "$pkgdir/usr/bin/$pkgname" \
+ "$pkgdir/usr/lib/$pkgname/thunderbird-bin"
+}
+
+_package_i18n() {
+ pkgdesc="$2 language pack for Thunderbird"
+ depends=("thunderbird>=$pkgver")
+ install -Dm644 thunderbird-i18n-$pkgver-$1.xpi \
+ "$pkgdir/usr/lib/thunderbird/extensions/langpack-$1 at thunderbird.mozilla.org.xpi"
+}
+
+_languages=(
+ 'ar "Arabic"'
+ 'ast "Asturian"'
+ 'be "Belarusian"'
+ 'bg "Bulgarian"'
+ 'br "Breton"'
+ 'ca "Catalan"'
+ 'cs "Czech"'
+ 'cy "Welsh"'
+ 'da "Danish"'
+ 'de "German"'
+ 'dsb "Lower Sorbian"'
+ 'el "Greek"'
+ 'en-GB "English (British)"'
+ 'en-US "English (US)"'
+ 'es-AR "Spanish (Argentina)"'
+ 'es-ES "Spanish (Spain)"'
+ 'et "Estonian"'
+ 'eu "Basque"'
+ 'fi "Finnish"'
+ 'fr "French"'
+ 'fy-NL "Frisian"'
+ 'ga-IE "Irish"'
+ 'gd "Gaelic (Scotland)"'
+ 'gl "Galician"'
+ 'he "Hebrew"'
+ 'hr "Croatian"'
+ 'hsb "Upper Sorbian"'
+ 'hu "Hungarian"'
+ 'hy-AM "Armenian"'
+ 'id "Indonesian"'
+ 'is "Icelandic"'
+ 'it "Italian"'
+ 'ja "Japanese"'
+ 'ko "Korean"'
+ 'lt "Lithuanian"'
+ 'nb-NO "Norwegian (Bokmål)"'
+ 'nl "Dutch"'
+ 'nn-NO "Norwegian (Nynorsk)"'
+ 'pl "Polish"'
+ 'pt-BR "Portuguese (Brazilian)"'
+ 'pt-PT "Portuguese (Portugal)"'
+ 'rm "Romansh"'
+ 'ro "Romanian"'
+ 'ru "Russian"'
+ 'si "Sinhala"'
+ 'sk "Slovak"'
+ 'sl "Slovenian"'
+ 'sq "Albanian"'
+ 'sr "Serbian"'
+ 'sv-SE "Swedish"'
+ 'tr "Turkish"'
+ 'uk "Ukrainian"'
+ 'vi "Vietnamese"'
+ 'zh-CN "Chinese (Simplified)"'
+ 'zh-TW "Chinese (Traditional)"'
+)
+_url=https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/linux-x86_64/xpi
+
+for _lang in "${_languages[@]}"; do
+ _locale=${_lang%% *}
+ _pkgname=thunderbird-i18n-${_locale,,}
+
+ pkgname+=($_pkgname)
+ source+=("thunderbird-i18n-$pkgver-$_locale.xpi::$_url/$_locale.xpi")
+ eval "package_$_pkgname() {
+ _package_i18n $_lang
+ }"
+done
+
+# Don't extract languages
+noextract=()
+for _src in "${source[@]%%::*}"; do
+ case "$_src" in
+ *.xpi) noextract+=("$_src") ;;
+ esac
+done
+
+sha512sums=('dae49dc0910dd017250643c920c79f03d3ef14bcbafde7fcdb3aaeba2b27a42ef6f88c8de8b961f8bb1c3d1a153bc8988ab43a39eb051d81839cf3b9e8373118'
+ 'SKIP'
+ 'a0061fcb2a7f66061e336a8d95948592f56f4752e56467f14ba63846720ebf845cce7511d1a2637e3b80d5a1ffdaa2fb783fa37195103425ef65222d45372012'
+ '6918c0de63deeddc6f53b9ba331390556c12e0d649cf54587dfaabb98b32d6a597b63cf02809c7c58b15501720455a724d527375a8fb9d757ccca57460320734'
+ '5cd3ac4c94ef6dcce72fba02bc18b771a2f67906ff795e0e3d71ce7db6d8a41165bd5443908470915bdbdb98dddd9cf3f837c4ba3a36413f55ec570e6efdbb9f'
+ 'b04e8b11360f41e0cc0eb0c307f062569603372ed15112e33a0ca893c5622217c3155289b3560c0ba909306faf25ff98b7dc3944ad1493e0a8d940306be5167a'
+ 'e3ed2708b8354015cb3d2c81048d1ce4932d1effbe2b40efa7cf9b45c1b923b9fd708645e2f8aa0136a485a3f7ce6b396b85721aaf535a4a764fd5005fb7e222'
+ '92f4c5946f288b30728382830b99b91980ecd845d1606ab251bbdde5cf53387e966727a23f35a3bf7756ee77e72e478f3fb468668e8c412f552547eeb3408299'
+ '5d28982dbefb8d7186490cf3ba591b349321bae46ec0b30d79749389b17678f739ef04b6943e7028b223cea7e4835edc46fdd397c0f64439adba02321ed5e892'
+ '845b5c19ef773ca2a169122e3a8dd2513a91f016748ca834a0d2eb5579455be918ce38f77e71257c916ac6cf719c4c25795851cdd1b716029d75c4705a5de0b7'
+ '9c0cd7ad9b3994b87f48cb406a758d3b10e9bd397ff782f9e5d0a9c92467b25c5cf06ca81ac00e117b2080268a6500d78283dc8c281304941508c7c963cccebd'
+ '3386be24f48ad47ca7467997831b1f81e79f2007da5e74699b929b8d023ca715edf6354392b4865ef4b62635f3689902ac94c700b1941cae584691d8cda5cbd1'
+ '78803f838b4c7315b5761f0a93e362cd267674c532758e29190ec233aa886dd4840afbdf298856cf726540b21b6d67e41cb79781e8ed467a45c1724b0ae6e165'
+ 'd5e122b96588ff32fd775da351d90a96db21850e73e00cfcdca1da65bc6229a5e481fea1c4b3e89a1dbcccb24ae55e60daf7952af6416cb0a7c0c671569705a7'
+ '1a968bf633093513d326242d2ff057cee9824d91e3328b3bda6b2acb18aaafa4540bd2f974f8be0b4767a3a4bef68060d96449fafc9ee9e877a02527d4ae7d0c'
+ '53005cd6f409fed072211a504faa86f4456ab849e001cb44ad99c148228b11f1885f8d0a2505dc9f71f83c2061c8d7f67d2d5e6752e35c07f427536a978d2efc'
+ '7c3af279f77e313c79b26a84ecb937cf799dce35abdbefdf1dca084d532a4121248b5ae056f9ec370171e8c1bdb70a6b05674b2b5eb1e7e7b7b9a51f9b5d0e61'
+ '63a326c45198aa2d41f8621d0624a412dd635955f0397090d931c2fa3fc7a3fe6e9e896c00954cee9fbaefd6650de4b86571d038ddd8c60f81e5c2c661df55a3'
+ '300e63b1f3503bd8943ad757efb4fc04564e316a3484445750b29198ad3c1a41a485728c09b81364ea6538f34338d0d3addc85996855fdbe0ac4d6ff50c21b9b'
+ '58eb6309690db9b871b3e7d1aad35ad26dbaf84ef5e17207d4fc8d46ffab5f588592858aa56b3141b2fb62f77a2454bfd6e86260a33e455bd870bee822a61e02'
+ '0af500a12631db42c986fab910e30ac6d385b2b2c51960c70b21dc1110d6073681ba2ade60447eaa1e5d52052fe3c2217f2d70f817b250b22ab3a7ec864f4d70'
+ 'cb8ca0cab9b5a5a171fc8a4f2c63190c1edb6538e0627e9d72770a53ba7e5fb2ffcc9c89c3ed584e433402eea8583e23a3676f7420602840b2be66e9570469be'
+ '4b3f29a8ca6e03af2413ad8a1776412eadcd280fa9fc90b0e6465ffc0915453e792abf1ba9cae05b2a8e3b07b103d76524bc9725d425189babc8003dd52deb29'
+ '0a84d0adf2ca64b0d869c39a59a493d130cad491e02f2255aa5360f573a65bc7cb5666842378485f2717673087d452570b90d59ac97b2e48f2486374b042ddfb'
+ 'cd57822ccddb61092d5b8b9330578aca883d2ea4d536e7f1e9546351f382b7a78f171905c360c9a4aef143983ff83db85b062a34b1828a1e99b992ffccc2411d'
+ '53e0ad6c2ea7d08b47852d399b1c1139bea0ce6b0956f8458e4623524abf4213f0f2b085250964421586523486d95ef4550b17afd435db3905dd08afde75aadc'
+ '6b5071e983d2cb87957e097f72383501dfa1487fa16bc69d8895e1060768d4470ec54e402792c254a0f29cf5ed5aa36927b3bbe5b29aa1e3e85ff593dfcae2b9'
+ '189d57b9e2400fc64385df87bb7108e85d145b003bd528231dec525cf5271cb68dec4ed274107350d3895799782b8837e51bf0e23d19c129b26ee80d169b3174'
+ 'b68691898d813b25751c7785198ea934bd268536b6ff955cada16692b53c31836d41d9630dd2a19fb6e41c181bd4fb4d183dfb255ecd5b6a3ecbefb1af316b15'
+ '12f599046bde3d5b5da69575ff00e7bf6b106e8d4b69a838d38542ec77568db3b0a702c7eb73a7a0572b479547b2c9d0aabfbf4496740e8a5c3a76cd75c602bd'
+ '6837e09384170805e5525fd0421dafc9b33f2ae24955ef7d7c4193418d12cabfb6adae16d81719ce41cc9931d2c4c47eb61bc0ca77e4018905e07c07ff6d3d28'
+ '8adabc5252396d873e4e85edf7bf42d1db91f9a4fbecf81b44a99f550375eb2f3d0c6cd95837edc10637c0d1f27a6b05e050a47c33b7598449b97f30b6927cb1'
+ '47d1b89dc20cdf01b5bf49afa4a6dd7e93f1cda6e9a557cfe2012305832f9e9e37a2fab1ffcea1be173030dcb4229120b0f19381bc3e4ddf572235237e23adfd'
+ '762789377ed6766475c6a9fd35c89898088fe5cea59ea1540dd654b5bdc017c3b5b8314639d834093cdf9808002a8ab1f64b9bd2b18c9e1f4e2569adb1e1e390'
+ '1115090bc146536a9fbc5ccea7e599814fc2351bd499d66d95844b16a71599067eb2c593e21a3a49934689312841d974328ea8d6a528a97202364ac0010d28de'
+ '04624a6fe98b6e0786e74b9a2ee5d769a477b74b35b92f83e84e4570554750d9cfe49cadb6613fb81345cfbc32fc7cf0128c0df740908f74ac16afc59f866ad0'
+ '8d459e9aaa2db307bc32e004d8d8919dccd17b02da08fdcc6220f654669c315c85fa4eb26084bfbf6250a95552b2781d5afabd82820e4292fd2e4d897b67ae6d'
+ 'cd7868591687ea85e746f22ded825b7c64d640666faaad61fa543baf3d4754d2363d1d6899285c694315db5a4800be18e59e56b28455c6a96a03909e7ef00776'
+ 'f21f12913d4a79dbcfb5688dba909345404761b2832467e9d31b370aa39c7fa7ed06f8b147eb8e55161bb345a78c4fdee7e8f1a25da9057c78ec76b5414ee18d'
+ 'b79a5eaec4b7e0e043bd0b39a0129326b2bdb11793428e8f722405cee5c922575876528e5da4109bae97546ef110c864910d35d5b791f04ffda24bf5f1e3974e'
+ '8ea3d523759fd92464ffeb6f5432f80259068cd0fa85003f007be622bcbe788a59e6efc83feb736673db95e32069e132cbeb08eb2f21790e053ea9b32bf9d555'
+ '74985c58df4bc72bc1719383dfd8ae2ad601105645f852caae922128afc64ce10354edc11ab1f7e8e517ce95196db52ed0fc0bc41adffe521a2450302bcacaa8'
+ 'd4df0dbbf5c9055fcd5f64da33b715d597408a65e684e59e7c05da70a16a0a4c6dc057f031b1eadcc7a499c10afa0cd8987c857ee408592a47fc4e7aab44998f'
+ '524c9ed6e0a66cb53f8394f8459ff34a2894b3d07edced3eeef1f1169b275898cc6c2b30fc78b4f4dd06f1fbc6651999a7050cd428cb0bf2bf439f866fcdfd69'
+ '3621c41faea13780a139ed7485e9904893552b8b3e182f34ea49fb4a2e4f85654aa26fe7b76753b8b883a04d481e808bc616758624fc61e7ff9aed1d09e92df8'
+ '4560e185285c942667ff7d9f8af6659fa11efd4c2c5cbbe85494beb084f6bc6671a88dac0ec46ae2e738666a718cb14695e84e6a8e67dbbc93ad4ceb3aa04b33'
+ '1b415108ae218ea9269a4cc2f51fd64d716deaaebc8116a94611fe2800c39ab56c123345ff4d075dca92cae56f00e97bb55f205bdb6b19948528211fb6574528'
+ '349c8f47cf1405210d01e91a59a1132c47a84771d5da878b5f668f497e522d259c3ebd4ff1001604f580c1b54a3ff4fbe6084785b4c580c7a9b79056153afb9d'
+ 'cd00271ff1919b88920d734706670b63dc00c6de4b0caa1c1b5e91f7f7ea5b82fef18452ee228f6949222bb6ab3d7a297c3123e3f10d34a7d7090afa186a930b'
+ 'f81a43a476c91d8f3d6f830bd27479b92a8fadf539f46fba8ca0dd07dbd2cb639ece560fcda88764e4510e8854537c5a558e1b837a4e7fd6ddc1dac914a88092'
+ '53356a655803f14d68312d461920d3a6f17db118547fb7d040f5110d4e65db76104e072646b3849efa5ca47f027e5c761a721be83ebf3cd200e36b9deb15ebbd'
+ '2ade9448e0178aefa8ea032a2e53a42b8f77641dc56e790826f44ff3628d381dfd490b08164838c85ed80e84a69348251a1b5920291586720044a51e587b8b5b'
+ '5b22ef4072b0d81ccffbd62ac6279a783a5acf716b67561d206034f66e8569935bf1d0eca8e03d6af7a4601acc1176be0c78bb40daf95c544bb11b918aad9673'
+ 'e948a48e333306d744dc7c397b2839ce4b899a44c72c68748557657422ca0149781395c870a3bb38e97f8a2a786d2373f3aa64331e99f392b6bd451a3dac1a6c'
+ 'aae9faa7de38d6d55e39bfc95ee035526bb7cc67136afd80b3304930067a8739cd5e8bb4d867fb49f2f8de784c4fd306857d9139a5d619f1679e5e7d64ce7c68'
+ '9ba4ec6ae1b69802d2db51649f05db16d1cd472af7fbb7cf00dfa87cebda6496bb8c293f88aef3bdb5b0cf84c8a751eabb461673b2dca2d89f7a049cdc01a654'
+ 'e85a21aaa1e83d97470241fec487b8df29982a21e7a0aa1ead9057b6dd2261f103882b31e3fd39ed1b35b296297651976e998d80f07eae135bd35538a97ff64b'
+ '2d0f6d8f7c5d7661c4a6d2a09487c03b952a4c542631b4b9d947464e6e74e6b760dbe7ecf808ebc8fdd258ad5f69211dbbbe7b68b08770b67b8eebe5413968cc'
+ 'e77fc7064bc530df959e73f0bcd2e977cc09ca3cc0adde703850a3c89b171e73ae57a9b7c715e75310b8d6ecc2a3444c36519e2c56f9c0c7aba561b26d8f2f30'
+ '58006c2a3af3893bb94b73e440d82b2fa690e0d97af866b9de94a998ac559c36e97d8e1992d2e2915005c3e0628da038639a62a4bcca9fdf555ca08aa7d34676'
+ '2641538591d060a60abeb25893bee0446a55ee750de430e39ba147ff1620836a9f486f142e3f1c1180bc7b3c142b399cbb2765a162b792f8fcd1884163b7d61b'
+ '569e3dc49d102d56b50d9dccb7587e76481bc637f008493c40fdf7bcf2b7dd58c776131ac3cd6b37d479b900d77da4621e7c6476526159a0026da7bd156a163b'
+ 'a7a5e00e02ba66fd8dedbfe60af12843f5af67aa72e43c4b99bea1c6edd598d39219a58e147f819390a7d2f1536a27e87f63139a4014d84ac5ccb4ee653ccde4')
+
+# vim:set sw=2 et:
Copied: thunderbird/repos/testing-x86_64/configure-fix-passing-system-bzip2-ldflags.patch (from rev 401502, thunderbird/trunk/configure-fix-passing-system-bzip2-ldflags.patch)
===================================================================
--- testing-x86_64/configure-fix-passing-system-bzip2-ldflags.patch (rev 0)
+++ testing-x86_64/configure-fix-passing-system-bzip2-ldflags.patch 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,25 @@
+From 9855927c896eaeecb21c1541942ee6d557144183 Mon Sep 17 00:00:00 2001
+From: anthraxx <levente at leventepolyak.net>
+Date: Sun, 8 Nov 2020 13:26:47 +0100
+Subject: [PATCH] configure: fix passing system bzip2 ldflags
+
+---
+ comm/third_party/openpgp.configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/comm/third_party/openpgp.configure b/comm/third_party/openpgp.configure
+index 2f9c796..2cbc907 100644
+--- a/comm/third_party/openpgp.configure
++++ b/comm/third_party/openpgp.configure
+@@ -80,7 +80,7 @@ with only_when('--enable-compile-environment'):
+ if bzip2_pkg:
+ cflags = list(bzip2_pkg.cflags)
+ libs = bzip2_pkg.libs
+- return namespace(cflags=cflags, libs=libs, path=(value[0]), )
++ return namespace(cflags=cflags, ldflags=libs, )
+ # Fallback
+ return namespace(
+ ldflags=['-lbz2'],
+--
+2.28.0
+
Copied: thunderbird/repos/testing-x86_64/distribution.ini (from rev 401502, thunderbird/trunk/distribution.ini)
===================================================================
--- testing-x86_64/distribution.ini (rev 0)
+++ testing-x86_64/distribution.ini 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,8 @@
+[Global]
+id=archlinux
+version=1.0
+about=Mozilla Thunderbird for Arch Linux
+
+[Preferences]
+app.distributor=archlinux
+app.distributor.channel=thunderbird
Copied: thunderbird/repos/testing-x86_64/mozconfig.cfg (from rev 401502, thunderbird/trunk/mozconfig.cfg)
===================================================================
--- testing-x86_64/mozconfig.cfg (rev 0)
+++ testing-x86_64/mozconfig.cfg 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,44 @@
+ac_add_options --enable-application=comm/mail
+
+ac_add_options --prefix=/usr
+ac_add_options --enable-release
+ac_add_options --enable-linker=gold
+ac_add_options --enable-hardening
+ac_add_options --enable-optimize
+ac_add_options --enable-rust-simd
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
+ac_add_options --disable-elf-hack
+
+# Branding
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --with-distribution-id=org.archlinux
+
+# Keys
+ac_add_options --with-google-location-service-api-keyfile=@PWD@/google-api-key
+ac_add_options --with-google-safebrowsing-api-keyfile=@PWD@/google-api-key
+ac_add_options --with-mozilla-api-keyfile=@PWD@/mozilla-api-key
+
+# System libraries
+ac_add_options --with-system-zlib
+ac_add_options --with-system-bz2
+ac_add_options --with-system-icu
+ac_add_options --with-system-jpeg
+# does not have APNG support
+# ac_add_options --with-system-png
+ac_add_options --with-system-libvpx
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --with-system-botan
+ac_add_options --with-system-webp
+ac_add_options --with-system-libevent
+ac_add_options --with-system-ffi
+ac_add_options --with-system-pixman
+
+# Features
+ac_add_options --enable-alsa
+ac_add_options --enable-openpgp
+ac_add_options --enable-calendar
+ac_add_options --disable-jack
+ac_add_options --disable-crashreporter
+ac_add_options --disable-updater
Copied: thunderbird/repos/testing-x86_64/thunderbird-78.4.3-gpgme-double-armored-fix.patch (from rev 401502, thunderbird/trunk/thunderbird-78.4.3-gpgme-double-armored-fix.patch)
===================================================================
--- testing-x86_64/thunderbird-78.4.3-gpgme-double-armored-fix.patch (rev 0)
+++ testing-x86_64/thunderbird-78.4.3-gpgme-double-armored-fix.patch 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,62 @@
+# HG changeset patch
+# User Kai Engert <kaie at kuix.de>
+# Date 1605644505 -3600
+# Tue Nov 17 21:21:45 2020 +0100
+# Node ID 8eee96dfe5184bfe9b78abb473fb5b66d408d537
+# Parent 997190de89d38dccdb6de5b1e585c2f997d6d6c8
+Bug 1675939 - Detect if output from GPGME.gpgme_op_decrypt_ext is armored. r=PatrickBrunschwig
+
+diff --git a/comm/mail/extensions/openpgp/content/modules/GPGME.jsm b/comm/mail/extensions/openpgp/content/modules/GPGME.jsm
+--- a/comm/mail/extensions/openpgp/content/modules/GPGME.jsm
++++ b/comm/mail/extensions/openpgp/content/modules/GPGME.jsm
+@@ -74,6 +74,8 @@ var GPGME = {
+ throw new Error("gpgme_new failed");
+ }
+
++ GPGMELib.gpgme_set_armor(c1, 1);
++
+ result.exitCode = GPGMELib.gpgme_op_decrypt_ext(
+ c1,
+ GPGMELib.GPGME_DECRYPT_UNWRAP,
+@@ -98,14 +100,35 @@ var GPGME = {
+ ).contents;
+
+ // The result of decrypt(GPGME_DECRYPT_UNWRAP) is an OpenPGP message.
+- // However, GPGME always returns the results as a binary encoding.
+- // GPG 1.12.0 ignored gpgme_set_armor(context, 1) and
+- // gpgme_data_set_encoding(data_plain, GPGME_DATA_ENCODING_ARMOR).
++ // Because old versions of GPGME (e.g. 1.12.0) may return the
++ // results as a binary encoding (despite gpgme_set_armor),
++ // we check if the result looks like an armored message.
++ // If it doesn't we apply armoring ourselves.
++
++ let armor_head = "-----BEGIN PGP MESSAGE-----";
++
++ let head_of_array = ctypes.cast(
++ result_buf,
++ ctypes.char.array(armor_head.length).ptr
++ ).contents;
++
++ let isArmored = false;
+
+- // TODO: Find a way to pass the binary data directly to the
+- // RNP.decrypt function for efficiency.
++ try {
++ // If this is binary, which usually isn't a valid UTF-8
++ // encoding, it will throw an error.
++ let head_of_array_string = head_of_array.readString();
++ if (head_of_array_string == armor_head) {
++ isArmored = true;
++ }
++ } catch (ex) {}
+
+- result.decryptedData = enArmorCB(unwrapped, result_len.value);
++ if (isArmored) {
++ result.decryptedData = unwrapped.readString();
++ } else {
++ result.decryptedData = enArmorCB(unwrapped, result_len.value);
++ }
++
+ GPGMELib.gpgme_free(result_buf);
+ }
+
Copied: thunderbird/repos/testing-x86_64/thunderbird.desktop (from rev 401502, thunderbird/trunk/thunderbird.desktop)
===================================================================
--- testing-x86_64/thunderbird.desktop (rev 0)
+++ testing-x86_64/thunderbird.desktop 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,173 @@
+[Desktop Entry]
+Name=Thunderbird
+Comment=Send and receive mail with Thunderbird
+Comment[ast]=Lleer y escribir corréu electrónicu
+Comment[ca]=Llegiu i escriviu correu
+Comment[cs]=Čtení a psaní pošty
+Comment[da]=Skriv/læs e-post/nyhedsgruppe med Mozilla Thunderbird
+Comment[de]=E-Mails und Nachrichten mit Thunderbird lesen und schreiben
+Comment[el]=Διαβάστε και γράψτε γράμματα με το Mozilla Thunderbird
+Comment[es]=Lea y escriba correos y noticias con Thunderbird
+Comment[fi]=Lue ja kirjoita sähköposteja
+Comment[fr]=Lire et écrire des courriels
+Comment[gl]=Lea e escriba correo electrónico
+Comment[he]=קריאה/כתיבה של דוא״ל/חדשות באמצעות Mozilla Thunderbird
+Comment[hr]=Čitajte/šaljite e-poštu s Thunderbird
+Comment[hu]=Levelek írása és olvasása a Thunderbirddel
+Comment[it]=Per leggere e scrivere email
+Comment[ja]=メールの読み書き
+Comment[ko]=Mozilla Thunderbird 메일/뉴스 읽기 및 쓰기 클라이언트
+Comment[nl]=E-mail/nieuws lezen en schrijven met Mozilla Thunderbird
+Comment[pl]=Czytanie i wysyłanie e-maili
+Comment[pt_BR]=Leia e escreva suas mensagens
+Comment[ru]=Читайте и пишите письма
+Comment[sk]=Čítajte a píšte poštu pomocou programu Thunderbird
+Comment[sv]=Läs och skriv e-post
+Comment[ug]=ئېلخەت ۋە خەۋەرلەرنى Mozilla Thunderbird دا كۆرۈش ۋە يېزىش
+Comment[uk]=Читання та написання листів
+Comment[vi]=Đọc và soạn thư điện tử
+Comment[zh_CN]=阅读邮件或新闻
+Comment[zh_TW]=以 Mozilla Thunderbird 讀寫郵件或新聞
+GenericName=Mail Client
+GenericName[ast]=Client de correu
+GenericName[ca]=Client de correu
+GenericName[cs]=Poštovní klient
+GenericName[da]=E-postklient
+GenericName[de]=E-Mail-Anwendung
+GenericName[el]=Λογισμικό αλληλογραφίας
+GenericName[es]=Cliente de correo
+GenericName[fi]=Sähköpostiohjelma
+GenericName[fr]=Client de messagerie
+GenericName[gl]=Cliente de correo electrónico
+GenericName[he]=לקוח דוא״ל
+GenericName[hr]=Klijent e-pošte
+GenericName[hu]=Levelezőkliens
+GenericName[it]=Client email
+GenericName[ja]=電子メールクライアント
+GenericName[ko]=메일 클라이언트
+GenericName[nl]=E-mailprogramma
+GenericName[pl]=Klient poczty
+GenericName[pt_BR]=Cliente de E-mail
+GenericName[ru]=Почтовый клиент
+GenericName[sk]=Poštový klient
+GenericName[ug]=ئېلخەت دېتالى
+GenericName[uk]=Поштова програма
+GenericName[vi]=Phần mềm khách quản lý thư điện tử
+GenericName[zh_CN]=邮件新闻客户端
+GenericName[zh_TW]=郵件用戶端
+Exec=/usr/lib/thunderbird/thunderbird %u
+Terminal=false
+Type=Application
+Icon=thunderbird
+Categories=Network;Email;
+MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
+StartupNotify=true
+Actions=ComposeMessage;OpenAddressBook;
+
+[Desktop Action ComposeMessage]
+Name=Write new message
+Name[ar]=اكتب رسالة جديدة
+Name[ast]=Redactar mensaxe nuevu
+Name[be]=Напісаць новы ліст
+Name[bg]=Съставяне на ново съобщение
+Name[br]=Skrivañ ur gemennadenn nevez
+Name[ca]=Escriu un missatge nou
+Name[cs]=Napsat novou zprávu
+Name[da]=Skriv en ny meddelelse
+Name[de]=Neue Nachricht verfassen
+Name[el]=Σύνταξη νέου μηνύματος
+Name[es_AR]=Escribir un nuevo mensaje
+Name[es_ES]=Redactar nuevo mensaje
+Name[et]=Kirjuta uus kiri
+Name[eu]=Idatzi mezu berria
+Name[fi]=Kirjoita uusi viesti
+Name[fr]=Rédiger un nouveau message
+Name[fy_NL]=Skriuw in nij berjocht
+Name[ga_IE]=Scríobh teachtaireacht nua
+Name[gd]=Sgrìobh teachdaireachd ùr
+Name[gl]=Escribir unha nova mensaxe
+Name[he]=כתיבת הודעה חדשה
+Name[hr]=Piši novu poruku
+Name[hu]=Új üzenet írása
+Name[hy_AM]=Գրել նոր նամակ
+Name[is]=SKrifa nýjan póst
+Name[it]=Scrivi nuovo messaggio
+Name[ja]=新しいメッセージを作成する
+Name[ko]=새 메시지 작성
+Name[lt]=Rašyti naują laišką
+Name[nb_NO]=Skriv ny melding
+Name[nl]=Nieuw bericht aanmaken
+Name[nn_NO]=Skriv ny melding
+Name[pl]=Nowa wiadomość
+Name[pt_BR]=Nova mensagem
+Name[pt_PT]=Escrever nova mensagem
+Name[rm]=Scriver in nov messadi
+Name[ro]=Scrie un mesaj nou
+Name[ru]=Создать новое сообщение
+Name[si]=නව ලිපියක් ලියන්න
+Name[sk]=Nová e-mailová správa
+Name[sl]=Sestavi novo sporočilo
+Name[sq]=Shkruani mesazh të ri
+Name[sr]=Писање нове поруке
+Name[sv_SE]=Skriv ett nytt meddelande
+Name[ta_LK]=புதிய செய்தியை எழுதுக
+Name[tr]=Yeni ileti yaz
+Name[uk]=Написати нового листа
+Name[vi]=Viết thư mới
+Name[zh_CN]=编写新消息
+Name[zh_TW]=寫一封新訊息
+Exec=/usr/lib/thunderbird/thunderbird -compose
+
+[Desktop Action OpenAddressBook]
+Name=Open address book
+Name[ar]=افتح دفتر العناوين
+Name[ast]=Abrir llibreta de direiciones
+Name[be]=Адкрыць адрасную кнігу
+Name[bg]=Отваряне на адресник
+Name[br]=Digeriñ ur c'harned chomlec'hioù
+Name[ca]=Obre la llibreta d'adreces
+Name[cs]=Otevřít Adresář
+Name[da]=Åbn adressebog
+Name[de]=Adressbuch öffnen
+Name[el]=Άνοιγμα ευρετηρίου διευθύνσεων
+Name[es_AR]=Abrir libreta de direcciones
+Name[es_ES]=Abrir libreta de direcciones
+Name[et]=Ava aadressiraamat
+Name[eu]=Ireki helbide-liburua
+Name[fi]=Avaa osoitekirja
+Name[fr]=Ouvrir un carnet d'adresses
+Name[fy_NL]=Iepenje adresboek
+Name[ga_IE]=Oscail leabhar seoltaí
+Name[gd]=Fosgail leabhar-sheòlaidhean
+Name[gl]=Abrir a axenda de enderezos
+Name[he]=פתיחת ספר כתובות
+Name[hr]=Otvori adresar
+Name[hu]=Címjegyzék megnyitása
+Name[hy_AM]=Բացել Հասցեագիրքը
+Name[is]=Opna nafnaskrá
+Name[it]=Apri rubrica
+Name[ja]=アドレス帳を開く
+Name[ko]=주소록 열기
+Name[lt]=Atverti adresų knygą
+Name[nb_NO]=Åpne adressebok
+Name[nl]=Adresboek openen
+Name[nn_NO]=Opne adressebok
+Name[pl]=Książka adresowa
+Name[pt_BR]=Catálogo de endereços
+Name[pt_PT]=Abrir livro de endereços
+Name[rm]=Avrir il cudeschet d'adressas
+Name[ro]=Deschide agenda de contacte
+Name[ru]=Открыть адресную книгу
+Name[si]=ලිපින පොත විවෘත කරන්න
+Name[sk]=Otvoriť adresár
+Name[sl]=Odpri adressar
+Name[sq]=Hapni libër adresash
+Name[sr]=Отвори адресар
+Name[sv_SE]=Öppna adressboken
+Name[ta_LK]=முகவரி பத்தகத்தை திறக்க
+Name[tr]=Adres defterini aç
+Name[uk]=Відкрити адресну книгу
+Name[vi]=Mở sổ địa chỉ
+Name[zh_CN]=打开通讯录
+Name[zh_TW]=開啟通訊錄
+Exec=/usr/lib/thunderbird/thunderbird -addressbook
Copied: thunderbird/repos/testing-x86_64/vendor-prefs.js (from rev 401502, thunderbird/trunk/vendor-prefs.js)
===================================================================
--- testing-x86_64/vendor-prefs.js (rev 0)
+++ testing-x86_64/vendor-prefs.js 2020-11-20 00:26:39 UTC (rev 401503)
@@ -0,0 +1,17 @@
+// Use LANG environment variable to choose locale
+pref("intl.locale.requested", "");
+
+// Use system-provided dictionaries
+pref("spellchecker.dictionary_path", "/usr/share/hunspell");
+
+// Disable default mailer checking
+pref("mail.shell.checkDefaultMail", false);
+
+// Don't disable our bundled extensions in the application directory
+pref("extensions.autoDisableScopes", 11);
+pref("extensions.shownSelectionUI", true);
+
+// Disable telemetry
+pref("datareporting.healthreport.uploadEnabled", false);
+pref("datareporting.policy.dataSubmissionEnabled", false);
+pref("toolkit.telemetry.archive.enabled", false);
More information about the arch-commits
mailing list