Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2020 11:03:28 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552731 - in head/mail/thunderbird: . files
Message-ID:  <202010191103.09JB3SdN026793@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cmt
Date: Mon Oct 19 11:03:28 2020
New Revision: 552731
URL: https://svnweb.freebsd.org/changeset/ports/552731

Log:
  mail/thunderbird: update to 78.4.0 (rc1)
  
  Release Notes (soon):
    https://www.thunderbird.net/en-US/thunderbird/78.4.0/releasenotes/
  
  MFH:		2020Q4 (under blanket: web browser alike)

Modified:
  head/mail/thunderbird/Makefile
  head/mail/thunderbird/distinfo
  head/mail/thunderbird/files/patch-bug1663715

Modified: head/mail/thunderbird/Makefile
==============================================================================
--- head/mail/thunderbird/Makefile	Mon Oct 19 10:55:08 2020	(r552730)
+++ head/mail/thunderbird/Makefile	Mon Oct 19 11:03:28 2020	(r552731)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	thunderbird
-DISTVERSION=	78.3.3
+DISTVERSION=	78.4.0
 CATEGORIES=	mail news net-im
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source

Modified: head/mail/thunderbird/distinfo
==============================================================================
--- head/mail/thunderbird/distinfo	Mon Oct 19 10:55:08 2020	(r552730)
+++ head/mail/thunderbird/distinfo	Mon Oct 19 11:03:28 2020	(r552731)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602743049
-SHA256 (thunderbird-78.3.3.source.tar.xz) = e7852509dbed8b0586637a6080eb043c25a21fdee64ed63b68379dc30c29b3b0
-SIZE (thunderbird-78.3.3.source.tar.xz) = 361488376
+TIMESTAMP = 1603101605
+SHA256 (thunderbird-78.4.0.source.tar.xz) = 341a63c22a06c4d3d2468410d26248253a2d4eddc7d1f6aaaa1ac974005dca67
+SIZE (thunderbird-78.4.0.source.tar.xz) = 361176060

Modified: head/mail/thunderbird/files/patch-bug1663715
==============================================================================
--- head/mail/thunderbird/files/patch-bug1663715	Mon Oct 19 10:55:08 2020	(r552730)
+++ head/mail/thunderbird/files/patch-bug1663715	Mon Oct 19 11:03:28 2020	(r552731)
@@ -1,185 +1,3 @@
-From 63678ae69e03325d65255d29f1af4a6ea3dd354a Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann <whissi@gentoo.org>
-Date: Sat, 10 Oct 2020 16:07:49 +0200
-Subject: [PATCH 36/38] bmo#1643201: Cherry-pick some servo changes to
- derive_common
-
-Link: https://bugzilla.mozilla.org/show_bug.cgi?id=1663715#c7
-Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
----
- servo/components/derive_common/cg.rs | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/servo/components/derive_common/cg.rs b/servo/components/derive_common/cg.rs
-index 55a75398c7..c51c0d7750 100644
---- servo/components/derive_common/cg.rs
-+++ servo/components/derive_common/cg.rs
-@@ -7,7 +7,7 @@ use proc_macro2::{Span, TokenStream};
- use quote::TokenStreamExt;
- use syn::{self, AngleBracketedGenericArguments, Binding, DeriveInput, Field};
- use syn::{GenericArgument, GenericParam, Ident, Path};
--use syn::{PathArguments, PathSegment, QSelf, Type, TypeArray};
-+use syn::{PathArguments, PathSegment, QSelf, Type, TypeArray, TypeGroup};
- use syn::{TypeParam, TypeParen, TypePath, TypeSlice, TypeTuple};
- use syn::{Variant, WherePredicate};
- use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo};
-@@ -208,6 +208,10 @@ where
-             elem: Box::new(map_type_params(&inner.elem, params, f)),
-             ..inner.clone()
-         }),
-+        Type::Group(ref inner) => Type::from(TypeGroup {
-+            elem: Box::new(map_type_params(&inner.elem, params, f)),
-+            ..inner.clone()
-+        }),
-         ref ty => panic!("type {:?} cannot be mapped yet", ty),
-     }
- }
--- 
-2.28.0
-
-From 23f22e9de6cc2236d58cc03997a1040e62c532e1 Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann <whissi@gentoo.org>
-Date: Sat, 10 Oct 2020 16:09:04 +0200
-Subject: [PATCH 37/38] bmo#1653339: Teach style_derive's map_type_params about
- mapping self correctly
-
-Link: https://bugzilla.mozilla.org/show_bug.cgi?id=1663715#c7
-Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
----
- servo/components/derive_common/cg.rs          | 30 +++++++++++--------
- .../style_derive/to_computed_value.rs         |  4 ++-
- 2 files changed, 21 insertions(+), 13 deletions(-)
-
-diff --git a/servo/components/derive_common/cg.rs b/servo/components/derive_common/cg.rs
-index c51c0d7750..8abfd87149 100644
---- servo/components/derive_common/cg.rs
-+++ servo/components/derive_common/cg.rs
-@@ -154,19 +154,19 @@ pub fn fmap_trait_output(input: &DeriveInput, trait_path: &Path, trait_output: &
-     segment.into()
- }
- 
--pub fn map_type_params<F>(ty: &Type, params: &[&TypeParam], f: &mut F) -> Type
-+pub fn map_type_params<F>(ty: &Type, params: &[&TypeParam], self_type: &Path, f: &mut F) -> Type
- where
-     F: FnMut(&Ident) -> Type,
- {
-     match *ty {
-         Type::Slice(ref inner) => Type::from(TypeSlice {
--            elem: Box::new(map_type_params(&inner.elem, params, f)),
-+            elem: Box::new(map_type_params(&inner.elem, params, self_type, f)),
-             ..inner.clone()
-         }),
-         Type::Array(ref inner) => {
-             //ref ty, ref expr) => {
-             Type::from(TypeArray {
--                elem: Box::new(map_type_params(&inner.elem, params, f)),
-+                elem: Box::new(map_type_params(&inner.elem, params, self_type, f)),
-                 ..inner.clone()
-             })
-         },
-@@ -175,7 +175,7 @@ where
-             elems: inner
-                 .elems
-                 .iter()
--                .map(|ty| map_type_params(&ty, params, f))
-+                .map(|ty| map_type_params(&ty, params, self_type, f))
-                 .collect(),
-             ..inner.clone()
-         }),
-@@ -187,10 +187,16 @@ where
-                 if params.iter().any(|ref param| &param.ident == ident) {
-                     return f(ident);
-                 }
-+                if ident == "Self" {
-+                    return Type::from(TypePath {
-+                        qself: None,
-+                        path: self_type.clone(),
-+                    });
-+                }
-             }
-             Type::from(TypePath {
-                 qself: None,
--                path: map_type_params_in_path(path, params, f),
-+                path: map_type_params_in_path(path, params, self_type, f),
-             })
-         },
-         Type::Path(TypePath {
-@@ -198,25 +204,25 @@ where
-             ref path,
-         }) => Type::from(TypePath {
-             qself: qself.as_ref().map(|qself| QSelf {
--                ty: Box::new(map_type_params(&qself.ty, params, f)),
-+                ty: Box::new(map_type_params(&qself.ty, params, self_type, f)),
-                 position: qself.position,
-                 ..qself.clone()
-             }),
--            path: map_type_params_in_path(path, params, f),
-+            path: map_type_params_in_path(path, params, self_type, f),
-         }),
-         Type::Paren(ref inner) => Type::from(TypeParen {
--            elem: Box::new(map_type_params(&inner.elem, params, f)),
-+            elem: Box::new(map_type_params(&inner.elem, params, self_type, f)),
-             ..inner.clone()
-         }),
-         Type::Group(ref inner) => Type::from(TypeGroup {
--            elem: Box::new(map_type_params(&inner.elem, params, f)),
-+            elem: Box::new(map_type_params(&inner.elem, params, self_type, f)),
-             ..inner.clone()
-         }),
-         ref ty => panic!("type {:?} cannot be mapped yet", ty),
-     }
- }
- 
--fn map_type_params_in_path<F>(path: &Path, params: &[&TypeParam], f: &mut F) -> Path
-+fn map_type_params_in_path<F>(path: &Path, params: &[&TypeParam], self_type: &Path, f: &mut F) -> Path
- where
-     F: FnMut(&Ident) -> Type,
- {
-@@ -236,11 +242,11 @@ where
-                                 .map(|arg| match arg {
-                                     ty @ &GenericArgument::Lifetime(_) => ty.clone(),
-                                     &GenericArgument::Type(ref data) => {
--                                        GenericArgument::Type(map_type_params(data, params, f))
-+                                        GenericArgument::Type(map_type_params(data, params, self_type, f))
-                                     },
-                                     &GenericArgument::Binding(ref data) => {
-                                         GenericArgument::Binding(Binding {
--                                            ty: map_type_params(&data.ty, params, f),
-+                                            ty: map_type_params(&data.ty, params, self_type, f),
-                                             ..data.clone()
-                                         })
-                                     },
-diff --git a/servo/components/style_derive/to_computed_value.rs b/servo/components/style_derive/to_computed_value.rs
-index fe6bddb7ed..1dc422e2dd 100644
---- servo/components/style_derive/to_computed_value.rs
-+++ servo/components/style_derive/to_computed_value.rs
-@@ -47,12 +47,15 @@ pub fn derive_to_value(
-         cg::add_predicate(&mut where_clause, parse_quote!(#param: #trait_path));
-     }
- 
-+    let computed_value_type = cg::fmap_trait_output(&input, &trait_path, &output_type_name);
-+
-     let mut add_field_bound = |binding: &BindingInfo| {
-         let ty = &binding.ast().ty;
- 
-         let output_type = cg::map_type_params(
-             ty,
-             &params,
-+            &computed_value_type,
-             &mut |ident| parse_quote!(<#ident as #trait_path>::#output_type_name),
-         );
- 
-@@ -142,7 +145,6 @@ pub fn derive_to_value(
- 
-     input.generics.where_clause = where_clause;
-     let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl();
--    let computed_value_type = cg::fmap_trait_output(&input, &trait_path, &output_type_name);
- 
-     let impl_ = trait_impl(from_body, to_body);
- 
--- 
-2.28.0
-
 From 300e01e71c9dc536d499d80563968c5fc7f7e34a Mon Sep 17 00:00:00 2001
 From: Thomas Deutschmann <whissi@gentoo.org>
 Date: Sat, 10 Oct 2020 16:10:20 +0200



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010191103.09JB3SdN026793>