diff options
author | Yurii Kolesnykov | 2024-01-24 17:34:04 +0300 |
---|---|---|
committer | Yurii Kolesnykov | 2024-01-25 02:44:06 +0300 |
commit | fd7adebda09fe32a78ad9450490f4a4b8584319f (patch) | |
tree | fbe1e627488de7711605393b8e3d1c917ab11edf | |
parent | 967cbf536bb08ca91e9b061576de21d504e20a3a (diff) | |
download | aur-fd7adebda09fe32a78ad9450490f4a4b8584319f.tar.gz |
123.0b1, sync with extra/firefox-developer-edition
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r-- | .SRCINFO | 92 | ||||
-rw-r--r-- | PKGBUILD | 164 | ||||
-rw-r--r-- | thunderbird-system-icu-74.patch | 37 |
3 files changed, 70 insertions, 223 deletions
@@ -1,30 +1,23 @@ pkgbase = thunderbird-beta pkgdesc = Beta version of standalone mail and news reader from mozilla.org - pkgver = 122.0b4 + pkgver = 123.0b1 pkgrel = 1 - url = https://www.thunderbird.net/channel/#beta arch = x86_64 - license = MPL license = GPL license = LGPL + license = MPL makedepends = cbindgen makedepends = clang makedepends = diffutils - makedepends = dump_syms - makedepends = findutils - makedepends = gawk makedepends = imake makedepends = inetutils makedepends = jack - makedepends = libice makedepends = libotr - makedepends = libsm makedepends = lld makedepends = llvm makedepends = mesa makedepends = nasm makedepends = nodejs - makedepends = perl makedepends = python makedepends = rust makedepends = unzip @@ -34,87 +27,36 @@ pkgbase = thunderbird-beta makedepends = wasi-libc++abi makedepends = yasm makedepends = zip - depends = glibc + depends = dbus + depends = ffmpeg depends = gtk3 - depends = libgdk-3.so - depends = libgtk-3.so + depends = libpulse + depends = libxss + depends = libxt depends = mime-types - depends = dbus - depends = libdbus-1.so - depends = dbus-glib - depends = alsa-lib depends = nss - depends = hunspell - depends = sqlite depends = ttf-font - depends = libvpx - depends = libvpx.so - depends = zlib - depends = bzip2 - depends = libbz2.so - depends = botan2 - depends = libwebp - depends = libwebp.so - depends = libwebpdemux.so - depends = libevent - depends = libjpeg-turbo - depends = libffi - depends = libffi.so - depends = nspr - depends = gcc-libs - depends = libpulse - depends = libx11 - depends = libxrender - depends = libxfixes - depends = libxext - depends = libxcomposite - depends = libxdamage - depends = libxt - depends = pango - depends = libpango-1.0.so - depends = cairo - depends = gdk-pixbuf2 - depends = freetype2 - depends = libfreetype.so - depends = fontconfig - depends = libfontconfig.so - depends = glib2 - depends = libglib-2.0.so - depends = pixman - depends = libpixman-1.so - depends = gnupg - depends = json-c - depends = libcanberra - depends = ffmpeg - depends = icu - depends = libicui18n.so - depends = libicuuc.so - optdepends = networkmanager: Location detection via available WiFi networks + optdepends = hunspell-en_US: Spell checking, American English optdepends = libnotify: Notification integration + optdepends = libotr: OTR support for active one-to-one chats + optdepends = networkmanager: Location detection via available WiFi networks optdepends = pulseaudio: Audio support optdepends = speech-dispatcher: Text-to-Speech - optdepends = hunspell-en_US: Spell checking, American English optdepends = xdg-desktop-portal: Screensharing with Wayland - optdepends = libotr: OTR support for active one-to-one chats - provides = thunderbird=122.0b4 + provides = thunderbird=123.0b1 options = !emptydirs - options = !makeflags - options = !strip options = !lto - options = !debug - source = https://archive.mozilla.org/pub/thunderbird/releases/122.0b4/source/thunderbird-122.0b4.source.tar.xz - source = https://archive.mozilla.org/pub/thunderbird/releases/122.0b4/source/thunderbird-122.0b4.source.tar.xz.asc + options = !makeflags + source = https://archive.mozilla.org/pub/thunderbird/releases/123.0b1/source/thunderbird-123.0b1.source.tar.xz + source = https://archive.mozilla.org/pub/thunderbird/releases/123.0b1/source/thunderbird-123.0b1.source.tar.xz.asc + source = thunderbird-beta.desktop source = install-dir.patch source = metainfo.patch - source = thunderbird-beta.desktop - source = thunderbird-system-icu-74.patch validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353 - validpgpkeys = 4360FE2109C49763186F8E21EBE41E90F6F12F6D - b2sums = 7621104e4ac7c032dcea4d36f6e388484369c43af77ee8296f3388b546e88993f049e9a42dbd46ef3d5f3ee9e7a3425f7d32d324d4276482e10184a898702866 + b2sums = 12b2d75888ce1a3b09ce2c1b56901468af673f303f0c83bb8ffb2cef2455f9341d12db08a516569e7eed357564025774574f53dc0e4d319e8f174377d7083211 b2sums = SKIP + b2sums = c0a500055dc2c5e25b538b010e54e79bea2fb91b9b5927063f429b8931d84f28ecb4c37aaa8895c4a84dafa5066985dd2d99b8294d87c7b311d88109ca036845 b2sums = ba188a0c1359f49390a789621b2c0bec67f4152f62c0dced26b31ec291abccfb5636dba0f8ed1f879e1a2a237e183b96b092d760e04e148a64da18660b87dcfb b2sums = 2b31b26f49229f96a645f06892d576f49662de2e5c294a1c164569402f608f267762b1f4448ebea0b77030939952274cb2dfe524bf97f4fb2cdd5f7689b95bcd - b2sums = c0a500055dc2c5e25b538b010e54e79bea2fb91b9b5927063f429b8931d84f28ecb4c37aaa8895c4a84dafa5066985dd2d99b8294d87c7b311d88109ca036845 - b2sums = a472abae3909c7100fe2367eeaac98f608ccf60385c930175701dcc96289af963a4aa91552ad84e1ffc157c8eeb166330887faff2504993519b0c46a162db470 pkgname = thunderbird-beta @@ -7,73 +7,39 @@ pkgname=thunderbird-beta _pkgname=thunderbird -pkgver=122.0b4 +pkgver=123.0b1 pkgrel=1 pkgdesc='Beta version of standalone mail and news reader from mozilla.org' arch=(x86_64) -license=(MPL GPL LGPL) -url='https://www.thunderbird.net/channel/#beta' +license=( + GPL + LGPL + MPL +) depends=( - glibc - gtk3 libgdk-3.so libgtk-3.so + dbus + ffmpeg + gtk3 + libpulse + libxss + libxt mime-types - dbus libdbus-1.so - dbus-glib - alsa-lib nss - hunspell - sqlite ttf-font - libvpx libvpx.so - zlib - bzip2 libbz2.so - botan2 - libwebp libwebp.so libwebpdemux.so - libevent - libjpeg-turbo - libffi libffi.so - nspr - gcc-libs - libpulse - libx11 - libxrender - libxfixes - libxext - libxcomposite - libxdamage - libxt - pango libpango-1.0.so - cairo - gdk-pixbuf2 - freetype2 libfreetype.so - fontconfig libfontconfig.so - glib2 libglib-2.0.so - pixman libpixman-1.so - gnupg - json-c - libcanberra - ffmpeg - icu libicui18n.so libicuuc.so ) makedepends=( cbindgen clang diffutils - dump_syms - findutils - gawk imake inetutils jack - libice libotr - libsm lld llvm mesa nasm nodejs - perl python rust unzip @@ -84,30 +50,36 @@ makedepends=( yasm zip ) -optdepends=('networkmanager: Location detection via available WiFi networks' - 'libnotify: Notification integration' - 'pulseaudio: Audio support' - 'speech-dispatcher: Text-to-Speech' - 'hunspell-en_US: Spell checking, American English' - 'xdg-desktop-portal: Screensharing with Wayland') -optdepends+=('libotr: OTR support for active one-to-one chats') -options=(!emptydirs !makeflags !strip !lto !debug) +optdepends=( + 'hunspell-en_US: Spell checking, American English' + 'libnotify: Notification integration' + 'libotr: OTR support for active one-to-one chats' + 'networkmanager: Location detection via available WiFi networks' + 'pulseaudio: Audio support' + 'speech-dispatcher: Text-to-Speech' + 'xdg-desktop-portal: Screensharing with Wayland' +) +options=( + !emptydirs + !lto + !makeflags +) provides=("thunderbird=$pkgver") -source=(https://archive.mozilla.org/pub/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc} - install-dir.patch - metainfo.patch - "$pkgname".desktop - thunderbird-system-icu-74.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1862601 +source=( + https://archive.mozilla.org/pub/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz{,.asc} + $pkgname.desktop + install-dir.patch + metainfo.patch ) -b2sums=('7621104e4ac7c032dcea4d36f6e388484369c43af77ee8296f3388b546e88993f049e9a42dbd46ef3d5f3ee9e7a3425f7d32d324d4276482e10184a898702866' +b2sums=('12b2d75888ce1a3b09ce2c1b56901468af673f303f0c83bb8ffb2cef2455f9341d12db08a516569e7eed357564025774574f53dc0e4d319e8f174377d7083211' 'SKIP' - 'ba188a0c1359f49390a789621b2c0bec67f4152f62c0dced26b31ec291abccfb5636dba0f8ed1f879e1a2a237e183b96b092d760e04e148a64da18660b87dcfb' - '2b31b26f49229f96a645f06892d576f49662de2e5c294a1c164569402f608f267762b1f4448ebea0b77030939952274cb2dfe524bf97f4fb2cdd5f7689b95bcd' 'c0a500055dc2c5e25b538b010e54e79bea2fb91b9b5927063f429b8931d84f28ecb4c37aaa8895c4a84dafa5066985dd2d99b8294d87c7b311d88109ca036845' - 'a472abae3909c7100fe2367eeaac98f608ccf60385c930175701dcc96289af963a4aa91552ad84e1ffc157c8eeb166330887faff2504993519b0c46a162db470') + 'ba188a0c1359f49390a789621b2c0bec67f4152f62c0dced26b31ec291abccfb5636dba0f8ed1f879e1a2a237e183b96b092d760e04e148a64da18660b87dcfb' + '2b31b26f49229f96a645f06892d576f49662de2e5c294a1c164569402f608f267762b1f4448ebea0b77030939952274cb2dfe524bf97f4fb2cdd5f7689b95bcd') validpgpkeys=( - 14F26682D0916CDD81E37B6D61B7B526D98F0353 # Mozilla Software Releases <release@mozilla.com> - 4360FE2109C49763186F8E21EBE41E90F6F12F6D # Mozilla Software Releases <release@mozilla.com> + # Mozilla Software Releases <release@mozilla.com> + # https://blog.mozilla.org/security/2023/05/11/updated-gpg-key-for-signing-firefox-releases/ + 14F26682D0916CDD81E37B6D61B7B526D98F0353 ) # 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 @@ -130,15 +102,15 @@ prepare() { src="${src%%::*}" src="${src##*/}" [[ $src = *.patch ]] || continue - msg2 "Applying patch $src..." + echo "Applying patch $src..." patch -Np1 < "../$src" done # Make icon transparent sed -i '/^<rect/d' comm/mail/branding/thunderbird/TB-symbolic.svg - echo -n "$_google_api_key" > google-api-key - echo -n "$_mozilla_api_key" > mozilla-api-key + echo -n "$_google_api_key" >google-api-key + echo -n "$_mozilla_api_key" >mozilla-api-key cat > .mozconfig << END ac_add_options --enable-application=comm/mail mk_add_options MOZ_OBJDIR=${PWD@Q}/obj @@ -149,6 +121,7 @@ ac_add_options --enable-hardening ac_add_options --enable-optimize ac_add_options --enable-rust-simd ac_add_options --enable-linker=lld +ac_add_options --disable-install-strip ac_add_options --disable-elf-hack ac_add_options --disable-bootstrap ac_add_options --with-wasi-sysroot=/usr/share/wasi-sysroot @@ -157,6 +130,8 @@ ac_add_options --with-wasi-sysroot=/usr/share/wasi-sysroot ac_add_options --enable-official-branding ac_add_options --enable-update-channel=aurora ac_add_options --with-distribution-id=org.archlinux +ac_add_options --with-unsigned-addon-scopes=app,system +ac_add_options --allow-addon-sideload export MOZILLA_OFFICIAL=1 export MOZ_APP_REMOTINGNAME=${pkgname//-/} export MOZ_REQUIRE_SIGNING= @@ -167,21 +142,8 @@ ac_add_options --with-google-safebrowsing-api-keyfile=${PWD@Q}/google-api-key ac_add_options --with-mozilla-api-keyfile=${PWD@Q}/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 -ac_add_options --with-system-jsonc -# 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 @@ -189,20 +151,16 @@ ac_add_options --enable-jack ac_add_options --enable-crashreporter ac_add_options --disable-updater ac_add_options --disable-tests - -# System addons -ac_add_options --with-unsigned-addon-scopes=app,system -ac_add_options --allow-addon-sideload END } build() { cd "${_pkgname}-${pkgver%b*}" - export MOZ_NOSPAM=1 + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip export MOZBUILD_STATE_PATH="$srcdir/mozbuild" - export MOZ_ENABLE_FULL_SYMBOLS=1 - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="pip" + export MOZ_BUILD_DATE="$(date -u${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH} +%Y%m%d%H%M%S)" + export MOZ_NOSPAM=1 # malloc_usable_size is used in various parts of the codebase CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" @@ -210,9 +168,6 @@ build() { echo "Building thunderbird..." ./mach build - - echo "Building symbol archive..." - ./mach buildsymbols } package() { @@ -220,28 +175,22 @@ package() { DESTDIR="$pkgdir" ./mach install local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js" - install -Dvm644 /dev/stdin "$vendorjs" << END -// Use LANG environment variable to choose locale. + install -Dvm644 /dev/stdin "$vendorjs" <<END +// Use LANG environment variable to choose locale pref("intl.locale.requested", ""); -// Use system-provided dictionaries. +// Use system-provided dictionaries pref("spellchecker.dictionary_path", "/usr/share/hunspell"); -// Disable default mailer checking. +// Disable default mailer checking pref("mail.shell.checkDefaultMail", false); -// Don't disable our bundled extensions in the application directory. +// Don't disable 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); END local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini" - install -Dvm644 /dev/stdin "$distini" << END + install -Dvm644 /dev/stdin "$distini" <<END [Global] id=archlinux version=1.0 @@ -271,7 +220,7 @@ END ln -Ts /usr/share/hyphen "$pkgdir/usr/lib/$pkgname/hyphenation" # Install a wrapper to avoid confusion about binary path - install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" << END + install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END #!/bin/sh exec /usr/lib/$pkgname/$_pkgname "\$@" END @@ -285,11 +234,4 @@ END if [[ -e $nssckbi ]]; then ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi" fi - - export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE="$startdir/.crash-stats-api.token" - if [[ -f $SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE ]]; then - make -C obj uploadsymbols - else - cp -fvt "$startdir" obj/dist/*crashreporter-symbols-full.tar.zst - fi } diff --git a/thunderbird-system-icu-74.patch b/thunderbird-system-icu-74.patch deleted file mode 100644 index 18dfb79a712e..000000000000 --- a/thunderbird-system-icu-74.patch +++ /dev/null @@ -1,37 +0,0 @@ - -# HG changeset patch -# User André Bargull <andre.bargull@gmail.com> -# Date 1697435923 -7200 -# Node ID d5f3b0c4f08a426ce00a153c04e177eecb6820e2 -# Parent c63994f8259efdf6e745c960aa9e1409d5477049 -Bug xxx - Part 12: Add new line break classes. r? - -diff --git a/intl/lwbrk/LineBreaker.cpp b/intl/lwbrk/LineBreaker.cpp ---- a/intl/lwbrk/LineBreaker.cpp -+++ b/intl/lwbrk/LineBreaker.cpp -@@ -443,17 +443,23 @@ static int8_t GetClass(uint32_t u, LineB - /* JT = 34, [JT] */ CLASS_CHARACTER, - /* JV = 35, [JV] */ CLASS_CHARACTER, - /* CLOSE_PARENTHESIS = 36, [CP] */ CLASS_CLOSE_LIKE_CHARACTER, - /* CONDITIONAL_JAPANESE_STARTER = 37, [CJ] */ CLASS_CLOSE, - /* HEBREW_LETTER = 38, [HL] */ CLASS_CHARACTER, - /* REGIONAL_INDICATOR = 39, [RI] */ CLASS_CHARACTER, - /* E_BASE = 40, [EB] */ CLASS_BREAKABLE, - /* E_MODIFIER = 41, [EM] */ CLASS_CHARACTER, -- /* ZWJ = 42, [ZWJ]*/ CLASS_CHARACTER}; -+ /* ZWJ = 42, [ZWJ]*/ CLASS_CHARACTER, -+ /* AKSARA = 43, [AK] */ CLASS_CHARACTER, -+ /* AKSARA_PREBASE = 44, [AP] */ CLASS_CHARACTER, -+ /* AKSARA_START = 45, [AS] */ CLASS_CHARACTER, -+ /* VIRAMA_FINAL = 46, [VF] */ CLASS_CHARACTER, -+ /* VIRAMA = 47, [VI] */ CLASS_CHARACTER, -+ }; - - static_assert(U_LB_COUNT == mozilla::ArrayLength(sUnicodeLineBreakToClass), - "Gecko vs ICU LineBreak class mismatch"); - - auto cls = GetLineBreakClass(u); - MOZ_ASSERT(cls < mozilla::ArrayLength(sUnicodeLineBreakToClass)); - - // Overrides based on rules for the different line-break values given in - |