diff --git a/chromium-61.0.3163.79-rvalue-fix.patch b/chromium-61.0.3163.79-rvalue-fix.patch new file mode 100644 index 00000000..41138f6b --- /dev/null +++ b/chromium-61.0.3163.79-rvalue-fix.patch @@ -0,0 +1,36 @@ +diff -up chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc.another-rvalue-fix chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc +--- chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc.another-rvalue-fix 2017-09-22 17:50:14.247727636 -0400 ++++ chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc 2017-09-22 17:50:25.626492965 -0400 +@@ -77,7 +77,7 @@ std::unique_ptr OnStartupHa + !extensions::ExtensionSystem::Get(profile_) + ->management_policy() + ->MustRemainEnabled(ntp_extension, nullptr)); +- return dict; ++ return std::move(dict); + } + + void OnStartupHandler::HandleGetNtpExtension(const base::ListValue* args) { +diff -up chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc.another-rvalue-fix chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc +--- chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc.another-rvalue-fix 2017-09-21 18:05:24.000000000 -0400 ++++ chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc 2017-09-22 10:14:15.680987910 -0400 +@@ -321,7 +321,7 @@ std::unique_ptr Notifica + ink_drop->SetAutoHighlightMode( + views::InkDropImpl::AutoHighlightMode::SHOW_ON_RIPPLE); + ink_drop->SetShowHighlightOnHover(false); +- return ink_drop; ++ return std::move(ink_drop); + } + + std::unique_ptr +diff -up chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc.another-rvalue-fix chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc +--- chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc.another-rvalue-fix 2017-09-22 14:46:36.109955800 -0400 ++++ chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc 2017-09-22 14:46:48.736698401 -0400 +@@ -195,7 +195,7 @@ std::unique_ptr Checkbox::Creat + std::unique_ptr ink_drop = CreateDefaultInkDropImpl(); + ink_drop->SetShowHighlightOnHover(false); + ink_drop->SetAutoHighlightMode(InkDropImpl::AutoHighlightMode::NONE); +- return ink_drop; ++ return std::move(ink_drop); + } + + std::unique_ptr Checkbox::CreateInkDropRipple() const { diff --git a/chromium.spec b/chromium.spec index 3ab9372b..e970c151 100644 --- a/chromium.spec +++ b/chromium.spec @@ -84,11 +84,13 @@ BuildRequires: libicu-devel >= 5.4 %global bundlelibusbx 1 %global bundleharfbuzz 1 %global bundlelibwebp 1 +%global bundlelibpng 1 %else %global bundleharfbuzz 0 %global bundleopus 1 %global bundlelibusbx 0 %global bundlelibwebp 0 +%global bundlelibpng 0 %endif # Needs at least harfbuzz 1.4.2 now. @@ -115,7 +117,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld} %else Name: chromium%{chromium_channel} %endif -Version: %{majorversion}.0.3163.79 +Version: %{majorversion}.0.3163.100 Release: 1%{?dist} Summary: A WebKit (Blink) powered web browser Url: http://www.chromium.org/Home @@ -221,6 +223,8 @@ Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch Patch59: chromium-61.0.3163.79-gcc-nc.patch # Epel compiler really does not like assigning nullptr to a StructPtr Patch60: chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch +# Another gcc 4.8 goods.. +Patch61: chromium-61.0.3163.79-rvalue-fix.patch ### Chromium Tests Patches ### Patch100: chromium-46.0.2490.86-use_system_opus.patch @@ -341,7 +345,12 @@ BuildRequires: libffi-devel BuildRequires: libicu-devel = 54.1 %endif BuildRequires: libjpeg-devel +%if 0%{?bundlelibpng} +# If this is true, we're using the bundled libpng +# which we need to do because the RHEL 7 libpng doesn't work right anymore +%else BuildRequires: libpng-devel +%endif %if 0 # see https://code.google.com/p/chromium/issues/detail?id=501318 BuildRequires: libsrtp-devel >= 1.4.4 @@ -473,7 +482,9 @@ Provides: bundled(libevent) = 1.4.15 Provides: bundled(libjingle) = 9564 # Provides: bundled(libjpeg-turbo) = 1.4.90 Provides: bundled(libphonenumber) = a4da30df63a097d67e3c429ead6790ad91d36cf4 -# Provides: bundled(libpng) = 1.6.22 +%if 0%{?bundlelibpng} +Provides: bundled(libpng) = 1.6.22 +%endif Provides: bundled(libsrtp) = 2cbd85085037dc7bf2eda48d4cf62e2829056e2d %if %{bundlelibusbx} Provides: bundled(libusbx) = 1.0.17 @@ -664,6 +675,7 @@ udev. %patch58 -p1 -b .dde5e35 %patch59 -p1 -b .gcc-nc %patch60 -p1 -b .nonullptr +%patch61 -p1 -b .another-rvalue-fix %endif %patch48 -p1 -b .camfix %patch50 -p1 -b .pathfix @@ -1025,7 +1037,10 @@ build/linux/unbundle/replace_gn_files.py --system-libraries \ %endif libdrm \ libjpeg \ +%if %{bundlelibpng} +%else libpng \ +%endif %if %{bundlelibusbx} %else libusb \ @@ -1898,6 +1913,11 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %changelog +* Fri Sep 22 2017 Tom Callaway 61.0.3163.100-1 +- update to 61.0.3163.100 +- lots of epel7 specific fixes +- use bundled libpng on epel7 + * Wed Sep 6 2017 Tom Callaway 61.0.3163.79-1 - update to 61.0.3163.79