diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile index db1d5515a0e2..0a13946e73fa 100644 --- a/mail/thunderbird-esr/Makefile +++ b/mail/thunderbird-esr/Makefile @@ -1,74 +1,74 @@ PORTNAME= thunderbird -DISTVERSION= 153.1.1 +DISTVERSION= 153.2.0 CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source PKGNAMESUFFIX= -esr DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above WWW= https://www.thunderbird.net/ NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= fails to build: rust needs more address space than platform can provide BUILD_DEPENDS= nspr>=4.32:devel/nspr \ nss>=3.125:security/nss \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.45:graphics/png \ dav1d>=1.0.0:multimedia/dav1d \ libvpx>=1.15.0:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip \ ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasip1/libc++abi.a:devel/wasi-libcxx${LLVM_VERSION} \ ${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasip1/libc.a:devel/wasi-libc@${LLVM_VERSION} \ wasi-compiler-rt${LLVM_VERSION}>0:devel/wasi-compiler-rt${LLVM_VERSION} LIB_DEPENDS= libjson-c.so:devel/json-c USE_GECKO= gecko CPE_PRODUCT= ${PORTNAME}_esr CONFLICTS_INSTALL= thunderbird # cannot use system icu: calendar is completely broken by # https://unicode-org.atlassian.net/browse/ICU-22132 (fix not in 76.1) USE_MOZILLA= -icu -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz MOZ_OPTIONS= --enable-application=comm/mail --enable-official-branding MOZ_OPTIONS+= --with-system-bz2 --with-system-jsonc MOZ_OPTIONS+= --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot MOZ_MK_OPTIONS= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 PORTNAME_ICON= ${MOZILLA}.png PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js OPTIONS_DEFAULT=CANBERRA .include "${.CURDIR}/../../www/firefox/Makefile.options" post-extract: @${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON:R}|;s|@MOZILLA@|${MOZILLA}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/comm/mail/app/nsMailApp.cpp port-pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/defaults post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${LN} -sf ${PORTNAME_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME_ICON} .include diff --git a/mail/thunderbird-esr/distinfo b/mail/thunderbird-esr/distinfo index 44fb95b258ad..f89d5c675c2d 100644 --- a/mail/thunderbird-esr/distinfo +++ b/mail/thunderbird-esr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1787764501 -SHA256 (thunderbird-153.1.1esr.source.tar.xz) = 3ccf632bab510c2f2ba1f5772e507780dc8eb0f0de44b0d3165b0f2e0e200250 -SIZE (thunderbird-153.1.1esr.source.tar.xz) = 938404216 +TIMESTAMP = 1787940352 +SHA256 (thunderbird-153.2.0esr.source.tar.xz) = c9bdf7694193b1f460c78249b110ef2e031ab5b174cff75c1b390c759c5b8026 +SIZE (thunderbird-153.2.0esr.source.tar.xz) = 939120480 diff --git a/mail/thunderbird-esr/files/patch-third__party_pipewire_spa_param_audio_layout-types.h b/mail/thunderbird-esr/files/patch-third__party_pipewire_spa_param_audio_layout-types.h new file mode 100644 index 000000000000..67741ac6eccf --- /dev/null +++ b/mail/thunderbird-esr/files/patch-third__party_pipewire_spa_param_audio_layout-types.h @@ -0,0 +1,29 @@ +commit 52803d9c34299eafd54a50dcf70be63db35ce593 +Author: Christoph Moench-Tegeder + + use standard EINVAL instead of linux-only ECHRNG + + directly lifted from multimedia/pipewire + +diff --git third_party/pipewire/spa/param/audio/layout-types.h third_party/pipewire/spa/param/audio/layout-types.h +index 33650202ab85..45cca3a6f335 100644 +--- third_party/pipewire/spa/param/audio/layout-types.h ++++ third_party/pipewire/spa/param/audio/layout-types.h +@@ -87,7 +87,7 @@ spa_audio_layout_info_parse_name(struct spa_audio_layout_info *layout, size_t si + uint32_t i, n_pos; + if (spa_atou32(name+3, &n_pos, 10)) { + if (n_pos > max_position) +- return -ECHRNG; ++ return -EINVAL; + for (i = 0; i < 0x1000 && i < n_pos; i++) + layout->position[i] = SPA_AUDIO_CHANNEL_AUX0 + i; + for (; i < n_pos; i++) +@@ -99,7 +99,7 @@ spa_audio_layout_info_parse_name(struct spa_audio_layout_info *layout, size_t si + SPA_FOR_EACH_ELEMENT_VAR(spa_type_audio_layout_info, i) { + if (spa_streq(name, i->name)) { + if (i->layout.n_channels > max_position) +- return -ECHRNG; ++ return -EINVAL; + *layout = i->layout; + return i->layout.n_channels; + }