Rebase to 45

This commit is contained in:
Jan Horak 2016-04-14 16:15:53 +02:00
parent 6abc7fcb80
commit 373f678016
5 changed files with 42 additions and 54 deletions

3
.gitignore vendored
View File

@ -134,3 +134,6 @@ thunderbird-langpacks-3.1.2-20100803.tar.bz2
/thunderbird-langpacks-38.7.1-20160324.tar.xz /thunderbird-langpacks-38.7.1-20160324.tar.xz
/thunderbird-38.7.1.source.tar.bz2 /thunderbird-38.7.1.source.tar.bz2
/l10n-lightning-38.7.1.tar.xz /l10n-lightning-38.7.1.tar.xz
/thunderbird-langpacks-45.0-20160412.tar.xz
/thunderbird-45.0.source.tar.xz
/l10n-lightning-45.0.tar.xz

19
lightning-bad-langs.patch Normal file
View File

@ -0,0 +1,19 @@
diff -up thunderbird-45.0/calendar/locales/shipped-locales.bad-langs thunderbird-45.0/calendar/locales/shipped-locales
--- thunderbird-45.0/calendar/locales/shipped-locales.bad-langs 2016-04-07 23:14:23.000000000 +0200
+++ thunderbird-45.0/calendar/locales/shipped-locales 2016-04-14 13:14:16.853967318 +0200
@@ -15,7 +15,6 @@ fy-NL
ga-IE
gd
hu
-id
is
it
ja linux win32
@@ -24,7 +23,6 @@ lt
nb-NO
nl
nn-NO
-pa-IN
pl
pt-PT
ru

View File

@ -1,34 +0,0 @@
# HG changeset patch
# User Jonathan Kew <jkew@mozilla.com>
# Date 1432227274 -3600
# Thu May 21 17:54:34 2015 +0100
# Node ID 383fdad2853cd3dfc7c17e8a86ff4c29dce128bf
# Parent 4858f16b05179f87f41cdbf5a8cc3b33b540513a
Bug 1167145 - Check result of PrevInFlow() before trying to call a method on it.
diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp
--- a/layout/generic/nsBlockFrame.cpp
+++ b/layout/generic/nsBlockFrame.cpp
@@ -6142,18 +6142,20 @@ nsBlockFrame::ReflowPushedFloats(nsBlock
next = f->GetNextSibling();
prev = f;
} // else: we did push |f| so |prev|'s new next-sibling is next.
f = next;
}
// If there are continued floats, then we may need to continue BR clearance
if (0 != aState.ClearFloats(0, NS_STYLE_CLEAR_BOTH)) {
- aState.mFloatBreakType = static_cast<nsBlockFrame*>(GetPrevInFlow())
- ->FindTrailingClear();
+ nsBlockFrame* prevBlock = static_cast<nsBlockFrame*>(GetPrevInFlow());
+ if (prevBlock) {
+ aState.mFloatBreakType = prevBlock->FindTrailingClear();
+ }
}
}
void
nsBlockFrame::RecoverFloats(nsFloatManager& aFloatManager, WritingMode aWM,
nscoord aContainerWidth)
{
// Recover our own floats

View File

@ -1,3 +1,3 @@
85d6a487f4324413236d826fe6786eca thunderbird-langpacks-38.7.1-20160324.tar.xz 2eca54d1389ba395e1fb0790dc366acf thunderbird-langpacks-45.0-20160412.tar.xz
dffe79a17094dad0859935795daf1706 thunderbird-38.7.1.source.tar.bz2 7f0071afbcd2be0933f34d12122ca162 thunderbird-45.0.source.tar.xz
83f1e8e5b6b6bc62e4368863ac58040b l10n-lightning-38.7.1.tar.xz 7851eee0bbc34666323cbdee1b3ea5db l10n-lightning-45.0.tar.xz

View File

@ -39,7 +39,7 @@
%define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\} %define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
# Bump one with each minor lightning release # Bump one with each minor lightning release
%define gdata_version 1.9 %define gdata_version 2.6
%define gdata_version_internal 0.3 %define gdata_version_internal 0.3
%global gdata_extname %{_libdir}/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} %global gdata_extname %{_libdir}/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
@ -48,9 +48,9 @@
# #
# IMPORTANT: If there is no top level directory, this should be # IMPORTANT: If there is no top level directory, this should be
# set to the cwd, ie: '.' # set to the cwd, ie: '.'
%define tarballdir comm-esr38
%define objdir objdir %define objdir objdir
%define mozappdir %{_libdir}/%{name} %define mozappdir %{_libdir}/%{name}
%define tarballdir thunderbird-45.0
%define official_branding 1 %define official_branding 1
# enable crash reporter only for iX86 # enable crash reporter only for iX86
@ -63,14 +63,14 @@
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 38.7.1 Version: 45.0
Release: 1%{?dist} Release: 1%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.bz2 Source0: ftp://ftp.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
%if %{build_langpacks} %if %{build_langpacks}
Source1: thunderbird-langpacks-%{version}-20160324.tar.xz Source1: thunderbird-langpacks-%{version}-20160412.tar.xz
%endif %endif
# Locales for lightning # Locales for lightning
Source2: l10n-lightning-%{version}.tar.xz Source2: l10n-lightning-%{version}.tar.xz
@ -92,7 +92,7 @@ Patch101: build-nspr-prbool.patch
Patch102: build-werror.patch Patch102: build-werror.patch
Patch103: rhbz-1219542-s390-build.patch Patch103: rhbz-1219542-s390-build.patch
Patch104: firefox-gcc-6.0.patch Patch104: firefox-gcc-6.0.patch
Patch105: mozilla-1167145.patch Patch105: lightning-bad-langs.patch
# Linux specific # Linux specific
Patch200: thunderbird-enable-addons.patch Patch200: thunderbird-enable-addons.patch
@ -112,6 +112,7 @@ Patch402: rhbz-1014858.patch
%endif %endif
%if %{?system_nss} %if %{?system_nss}
BuildRequires: nss-static >= %{nss_version} BuildRequires: nss-static >= %{nss_version}
BuildRequires: nspr-devel >= %{nspr_version} BuildRequires: nspr-devel >= %{nspr_version}
@ -182,7 +183,7 @@ debug %{name}, you want to install %{name}-debuginfo instead.
%package lightning-gdata %package lightning-gdata
Summary: Lightning data provider for Google Calendar Summary: Lightning data provider for Google Calendar
Version: 38.7.1%{gdata_version}.%{gdata_version_internal} Version: 45.0%{gdata_version}.%{gdata_version_internal}
Requires: %{name}%{?_isa} = %{tb_version}-%{release} Requires: %{name}%{?_isa} = %{tb_version}-%{release}
%description lightning-gdata %description lightning-gdata
@ -204,17 +205,18 @@ cd %{tarballdir}
cd mozilla cd mozilla
%patch9 -p2 -b .arm %patch9 -p2 -b .arm
%patch300 -p2 -b .852698 %patch300 -p2 -b .852698
%patch102 -p2 -b .build-werror #%patch102 -p2 -b .build-werror
%patch101 -p1 -b .nspr-prbool #%patch101 -p1 -b .nspr-prbool
%ifarch s390 %ifarch s390
%patch103 -p1 -b .rhbz-1219542-s390-build %patch103 -p1 -b .rhbz-1219542-s390-build
%endif %endif
%patch104 -p1 -b .gcc6 %patch104 -p1 -b .gcc6
%patch105 -p1 -b .1167145
%patch400 -p1 -b .966424 %patch400 -p1 -b .966424
%patch402 -p1 -b .rhbz-1014858 #%patch402 -p1 -b .rhbz-1014858 FIXME musi byt
cd .. cd ..
%patch105 -p1 -b .bad-langs
%patch200 -p1 -b .addons %patch200 -p1 -b .addons
%if %{official_branding} %if %{official_branding}
@ -554,15 +556,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%dir %{mozappdir}/components %dir %{mozappdir}/components
%ghost %{mozappdir}/components/compreg.dat %ghost %{mozappdir}/components/compreg.dat
%ghost %{mozappdir}/components/xpti.dat %ghost %{mozappdir}/components/xpti.dat
%{mozappdir}/components/components.manifest
%{mozappdir}/components/libdbusservice.so
%{mozappdir}/components/libmozgnome.so
%{mozappdir}/omni.ja %{mozappdir}/omni.ja
%{mozappdir}/plugin-container %{mozappdir}/plugin-container
%{mozappdir}/defaults %{mozappdir}/defaults
%{mozappdir}/dictionaries %{mozappdir}/dictionaries
%dir %{mozappdir}/extensions %dir %{mozappdir}/extensions
%{mozappdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} %{mozappdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
%dir %{mozappdir}/langpacks %dir %{mozappdir}/langpacks
%{mozappdir}/greprefs %{mozappdir}/greprefs
%{mozappdir}/isp %{mozappdir}/isp
@ -590,14 +589,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif %endif
%exclude %{_datadir}/idl/%{name}-%{tb_version} %exclude %{_datadir}/idl/%{name}-%{tb_version}
%exclude %{_includedir}/%{name}-%{tb_version} %exclude %{_includedir}/%{name}-%{tb_version}
%{mozappdir}/chrome.manifest
%{mozappdir}/searchplugins
%{mozappdir}/dependentlibs.list %{mozappdir}/dependentlibs.list
%{mozappdir}/distribution %{mozappdir}/distribution
#=============================================================================== #===============================================================================
%changelog %changelog
* Tue Apr 12 2016 Jan Horak <jhorak@redhat.com> - 45.0-1
- Update to 45.0
* Thu Mar 24 2016 Jan Horak <jhorak@redhat.com> - 38.7.1-1 * Thu Mar 24 2016 Jan Horak <jhorak@redhat.com> - 38.7.1-1
- Update to 38.7.1 - Update to 38.7.1