Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2018-03-16 10:41:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Fri Mar 16 10:41:48 2018 rev:181 rq:586972 version:65.0.3325.162 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2018-03-09 10:45:21.949336762 +0100 +++ /work/SRC/openSUSE:Factory/.chromium.new/chromium.changes 2018-03-16 10:42:52.017514884 +0100 @@ -1,0 +2,19 @@ +Wed Mar 14 14:18:35 UTC 2018 - [email protected] + +- Version update to 65.0.3325.162: + * Various stability fixes only + +------------------------------------------------------------------- +Wed Mar 14 09:00:37 UTC 2018 - [email protected] + +- Bundle the harfbuzz on < 15.0 release as we would have to + use requires_ge for the library itself later on otherwise + +------------------------------------------------------------------- +Fri Mar 9 09:10:01 UTC 2018 - [email protected] + +- Make sure to require gcc7 +- Add patch chromium-drm.patch to make sure to build with Leap 42.3 + variant of libdrm + +------------------------------------------------------------------- Old: ---- chromium-65.0.3325.146.tar.xz New: ---- chromium-65.0.3325.162.tar.xz chromium-drm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.Me92TC/_old 2018-03-16 10:43:24.196356195 +0100 +++ /var/tmp/diff_new_pack.Me92TC/_new 2018-03-16 10:43:24.200356051 +0100 @@ -26,14 +26,16 @@ %if 0%{?suse_version} >= 1500 %bcond_without system_libxml %bcond_without system_icu +%bcond_without system_harfbuzz %else %bcond_with system_icu %bcond_with system_libxml +%bcond_with system_harfbuzz %endif %bcond_with system_vpx %bcond_with clang Name: chromium -Version: 65.0.3325.146 +Version: 65.0.3325.162 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -66,6 +68,7 @@ Patch12: chromium-dma-buf.patch Patch14: chromium-buildname.patch Patch17: chromium-non-void-return.patch +Patch18: chromium-drm.patch # GN buildsystem related patches Patch200: chromium-last-commit-position-r0.patch Patch201: fix-gn-bootstrap.diff @@ -114,7 +117,9 @@ BuildRequires: pkgconfig(gnome-keyring-1) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) +%if %{with system_harfbuzz} BuildRequires: pkgconfig(harfbuzz) >= 1.7.0 +%endif BuildRequires: pkgconfig(hunspell) BuildRequires: pkgconfig(imlib2) BuildRequires: pkgconfig(jack) @@ -211,11 +216,11 @@ BuildRequires: clang >= 3.9.0 %else %if %{?suse_version} >= 1330 -BuildRequires: gcc >= 6.0 -BuildRequires: gcc-c++ >= 6.0 +BuildRequires: gcc >= 7 +BuildRequires: gcc-c++ >= 7 %else -BuildRequires: gcc6 -BuildRequires: gcc6-c++ +BuildRequires: gcc7 +BuildRequires: gcc7-c++ %endif %endif @@ -251,6 +256,7 @@ %patch12 -p1 %patch14 -p1 %patch17 -p1 +%patch18 -p1 # Copy the toolchain settings mkdir toolchain @@ -402,6 +408,9 @@ third_party/catapult/third_party/six ) %endif +%if !%{with system_harfbuzz} +keeplibs+=( third_party/harfbuzz-ng ) +%endif %if !%{with system_icu} keeplibs+=( third_party/icu ) %endif @@ -437,8 +446,8 @@ export CC=gcc export CXX=g++ %if 0%{?suse_version} < 1330 -export CC=gcc-6 -export CXX=g++-6 +export CC=gcc-7 +export CXX=g++-7 # some still call gcc/g++ mkdir -p "$HOME/bin/" ln -sfn %{_bindir}/$CC $HOME/bin/gcc @@ -466,7 +475,6 @@ flac fontconfig freetype - harfbuzz-ng libdrm libjpeg libpng @@ -477,6 +485,9 @@ snappy zlib ) +%if %{with system_harfbuzz} +gn_system_libraries+=( harfbuzz-ng ) +%endif %if !%{with sle_bundles} gn_system_libraries+=( yasm ) %endif @@ -520,7 +531,10 @@ myconf_gn+=" treat_warnings_as_errors=false" myconf_gn+=" enable_widevine=true" # See dependency logic in third_party/BUILD.gn -myconf_gn+=" use_system_harfbuzz=true use_system_freetype=true" +%if %{with system_harfbuzz} +myconf_gn+=" use_system_harfbuzz=true" +%endif +myconf_gn+=" use_system_freetype=true" myconf_gn+=" enable_hangout_services_extension=true" myconf_gn+=" enable_vulkan=false" # fails to compile now # ozone stuff ++++++ chromium-65.0.3325.146.tar.xz -> chromium-65.0.3325.162.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-65.0.3325.146.tar.xz /work/SRC/openSUSE:Factory/.chromium.new/chromium-65.0.3325.162.tar.xz differ: char 26, line 1 ++++++ chromium-drm.patch ++++++ Index: chromium-65.0.3325.146/ui/gfx/native_pixmap_handle.cc =================================================================== --- chromium-65.0.3325.146.orig/ui/gfx/native_pixmap_handle.cc +++ chromium-65.0.3325.146/ui/gfx/native_pixmap_handle.cc @@ -12,6 +12,9 @@ namespace gfx { #if defined(OS_LINUX) +#ifndef DRM_FORMAT_MOD_INVALID +#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1) +#endif static_assert(NativePixmapPlane::kNoModifier == DRM_FORMAT_MOD_INVALID, "gfx::NativePixmapPlane::kNoModifier should be an alias for" "DRM_FORMAT_MOD_INVALID");
