Le Sun, Jun 26, 2022 at 08:16:11AM +0200, Landry Breuil a écrit :
> hi,
> 
> here's an update to thunderbird 102, which has many niceties (cf
> https://blog.thunderbird.net/2022/05/7-great-new-features-coming-to-thunderbird-102/
> among others) - been using it as my daily driver at work since
> 100.somethingbeta 3 months ago without major annoyances. Matrix client
> support is basic but works fine against synapse.
> 
> i'd like to commit it soonish after its availability (slated on the
> 28/6) to make sure its battle tested before 7.1 - so if you rely on it,
> make sure to test it !

102.0 is now released: 
https://www.thunderbird.net/en-US/thunderbird/102.0/whatsnew/

tests more than welcome :)

otherwise i plan to commit it next tuesday, before leaving offline for 3
weeks.

Landry
? build.log
? patch-comm_mail_base_content_msgHdrView_js
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mozilla-thunderbird/Makefile,v
retrieving revision 1.385
diff -u -p -r1.385 Makefile
--- Makefile    29 Jun 2022 06:49:32 -0000      1.385
+++ Makefile    29 Jun 2022 11:29:26 -0000
@@ -3,7 +3,7 @@ COMMENT =               Mozilla e-mail, calendar, rss
 
 # Don't forget to bump mail/thunderbird-i18n after updates.
 
-MOZILLA_VERSION =      91.11.0
+MOZILLA_VERSION =      102.0
 MOZILLA_BRANCH =       release
 MOZILLA_PROJECT =      thunderbird
 MOZILLA_CODENAME =     comm/mail
@@ -15,11 +15,11 @@ DWZ = :
 
 HOMEPAGE =     https://www.thunderbird.net/
 
-SO_VERSION =   36.0
+SO_VERSION =   37.0
 # NOTE: Must bump minor version if any shlib's are removed from the
 # components dir to avoid pkg_add -r issues.
 
-MOZILLA_LIBS = ldap60 ldif60 lgpllibs mozgtk mozsqlite3 prldap60 rnp xul
+MOZILLA_LIBS = lgpllibs mozgtk mozsqlite3 rnp xul
 
 CATEGORIES=    mail news
 
@@ -29,8 +29,8 @@ PERMIT_PACKAGE=       Yes
 MODULES =      www/mozilla lang/python
 MODPY_RUNDEP = No
 
-COMPILER =     base-clang ports-clang
-MODCLANG_ARCHS =       amd64 i386
+COMPILER =     ports-clang
+MODCLANG_ARCHS =       amd64 aarch64
 
 # 56 requires 59.1
 MOZILLA_USE_BUNDLED_ICU =      Yes
@@ -45,6 +45,11 @@ BUILD_DEPENDS +=     devel/nasm
 .endif
 #1670807
 BUILD_DEPENDS +=       devel/m4
+# wasi
+BUILD_DEPENDS +=       lang/wasi-sdk/compiler-rt \
+                       lang/wasi-sdk/libcxxabi \
+                       lang/wasi-sdk/libcxx \
+                       lang/wasi-libc
 
 WRKDIST =      ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
 
@@ -55,9 +60,8 @@ CONFIGURE_SCRIPT =    ${MODPY_BIN} ${WRKSRC
 CONFIGURE_ARGS +=      --prefix=${PREFIX}
 # pledge strings to be defined, and no multiprocess anyway..
 CONFIGURE_ARGS +=      --disable-sandbox
-# remove post 96
-CONFIGURE_ARGS +=      --disable-necko-wifi
 CONFIGURE_ARGS +=      --with-libclang-path=${LOCALBASE}/lib
+CONFIGURE_ARGS +=      --with-wasi-sysroot=${LOCALBASE}/share/wasi-sysroot
 # #1664111
 CONFIGURE_ARGS +=      --with-system-ffi
 # #1634963
@@ -75,7 +79,7 @@ LIB_DEPENDS +=        security/botan2 \
                devel/libffi \
                devel/json-c
 
-WANTLIB += X11-xcb Xcursor Xi botan-2 bz2 ffi harfbuzz intl json-c xcb xcb-shm
+WANTLIB += X11-xcb Xcursor Xi Xrandr Xtst botan-2 bz2 ffi harfbuzz intl json-c 
xcb xcb-shm
 
 ALL_TARGET =   default
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/mozilla-thunderbird/distinfo,v
retrieving revision 1.202
diff -u -p -r1.202 distinfo
--- distinfo    29 Jun 2022 06:49:32 -0000      1.202
+++ distinfo    29 Jun 2022 11:29:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (mozilla/thunderbird-91.11.0.source.tar.xz) = 
MY5tgO7PLW+K9cWOmTM7jEgipyCmGT3DiEj/mh6ebcg=
-SIZE (mozilla/thunderbird-91.11.0.source.tar.xz) = 408098564
+SHA256 (mozilla/thunderbird-102.0.source.tar.xz) = 
Pehx54GYxsMYLJcmx4hHvE9d5Qzd0tLhWQg4pdrniP0=
+SIZE (mozilla/thunderbird-102.0.source.tar.xz) = 502853792
Index: patches/patch-comm_mail_modules_DNS_jsm
===================================================================
RCS file: 
/cvs/ports/mail/mozilla-thunderbird/patches/patch-comm_mail_modules_DNS_jsm,v
retrieving revision 1.1
diff -u -p -r1.1 patch-comm_mail_modules_DNS_jsm
--- patches/patch-comm_mail_modules_DNS_jsm     11 Jun 2022 09:24:35 -0000      
1.1
+++ patches/patch-comm_mail_modules_DNS_jsm     29 Jun 2022 11:29:26 -0000
@@ -1,23 +1,39 @@
 fix adding caldav calendar
 
 cf https://bugzilla.mozilla.org/show_bug.cgi?id=1737507
+https://bugzilla.mozilla.org/attachment.cgi?id=9282952
 Index: comm/mail/modules/DNS.jsm
 --- comm/mail/modules/DNS.jsm.orig
 +++ comm/mail/modules/DNS.jsm
-@@ -39,10 +39,8 @@ load_libresolv.prototype = {
+@@ -38,11 +38,22 @@ load_libresolv.prototype = {
+   _open() {
      function findLibrary() {
        let lastException = null;
-       let candidates = [
+-      let candidates = [
 -        { name: "resolv.9", suffix: "" },
 -        { name: "resolv", suffix: ".2" },
 -        { name: "resolv", suffix: "" },
 -      ];
-+        { name: "c", suffix: "" },
-+      ]
++      let candidates = [];
++      if(Services.appinfo.OS.toLowerCase() == "freebsd") {
++        candidates = [
++          { name: "c", suffix: ".7" },
++        ]
++      } else if(Services.appinfo.OS.toLowerCase() == "openbsd") {
++        candidates = [
++          { name: "c", suffix: "" },
++        ]
++      } else {
++        candidates = [
++          { name: "resolv.9", suffix: "" },
++          { name: "resolv", suffix: ".2" },
++          { name: "resolv", suffix: "" },
++        ];
++      }
        let tried = [];
        for (let candidate of candidates) {
          try {
-@@ -125,13 +123,13 @@ load_libresolv.prototype = {
+@@ -125,13 +136,13 @@ load_libresolv.prototype = {
        ctypes.unsigned_char.ptr
      );
      this.ns_get16 = declare(
Index: patches/patch-config_makefiles_rust_mk
===================================================================
RCS file: 
/cvs/ports/mail/mozilla-thunderbird/patches/patch-config_makefiles_rust_mk,v
retrieving revision 1.5
diff -u -p -r1.5 patch-config_makefiles_rust_mk
--- patches/patch-config_makefiles_rust_mk      11 Mar 2022 19:34:42 -0000      
1.5
+++ patches/patch-config_makefiles_rust_mk      29 Jun 2022 11:29:26 -0000
@@ -3,9 +3,9 @@ try to consume less memory when linking 
 Index: config/makefiles/rust.mk
 --- config/makefiles/rust.mk.orig
 +++ config/makefiles/rust.mk
-@@ -70,7 +70,7 @@ ifndef MOZ_DEBUG_RUST
- # gkrust_gtest. And not when doing cross-language LTO.
- ifndef MOZ_LTO_RUST_CROSS
+@@ -90,7 +90,7 @@ ifndef rustflags_sancov
+ # Never enable when coverage is enabled to work around 
https://github.com/rust-lang/rust/issues/90045.
+ ifndef MOZ_CODE_COVERAGE
  ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
 -cargo_rustc_flags += -Clto
 +cargo_rustc_flags += -Clto=thin
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/mozilla-thunderbird/pkg/PLIST,v
retrieving revision 1.25
diff -u -p -r1.25 PLIST
--- pkg/PLIST   11 Mar 2022 19:34:42 -0000      1.25
+++ pkg/PLIST   29 Jun 2022 11:29:26 -0000
@@ -31,12 +31,9 @@ lib/${MOZILLA_PROJECT}/isp/DSPAM.sfd
 lib/${MOZILLA_PROJECT}/isp/POPFile.sfd
 lib/${MOZILLA_PROJECT}/isp/SpamAssassin.sfd
 lib/${MOZILLA_PROJECT}/isp/SpamPal.sfd
-@lib lib/${MOZILLA_PROJECT}/libldap60.so.${LIBldap60_VERSION}
-@lib lib/${MOZILLA_PROJECT}/libldif60.so.${LIBldif60_VERSION}
 @lib lib/${MOZILLA_PROJECT}/liblgpllibs.so.${LIBlgpllibs_VERSION}
 @lib lib/${MOZILLA_PROJECT}/libmozgtk.so.${LIBmozgtk_VERSION}
 @lib lib/${MOZILLA_PROJECT}/libmozsqlite3.so.${LIBmozsqlite3_VERSION}
-@lib lib/${MOZILLA_PROJECT}/libprldap60.so.${LIBprldap60_VERSION}
 @lib lib/${MOZILLA_PROJECT}/librnp.so.${LIBrnp_VERSION}
 @lib lib/${MOZILLA_PROJECT}/libxul.so.${LIBxul_VERSION}
 lib/${MOZILLA_PROJECT}/omni.ja
@@ -44,6 +41,8 @@ lib/${MOZILLA_PROJECT}/omni.ja
 lib/${MOZILLA_PROJECT}/platform.ini
 @bin lib/${MOZILLA_PROJECT}/plugin-container
 lib/${MOZILLA_PROJECT}/removed-files
+@bin lib/${MOZILLA_PROJECT}/rnp-cli
+@bin lib/${MOZILLA_PROJECT}/rnpkeys
 @bin lib/${MOZILLA_PROJECT}/${MOZILLA_PROJECT}
 @bin lib/${MOZILLA_PROJECT}/${MOZILLA_PROJECT}-bin
 share/applications/${MOZILLA_PROJECT}.desktop

Reply via email to