Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > 9a0c97e157628032f0afa0960d1f3cb2 > files > 44

chromium-browser-stable-106.0.5249.119-1.mga8.src.rpm

# eu-strip crashes on chrome binary from this build
%define _enable_debug_packages 0
%global debug_package          %{nil}
%global __debug_install_post   %{nil}

%global use_gold 0

#squidf:WARNING: building with gcc is broken from chromium version 98. Too heavy workload to update patches and find new ones.
#               Actually, only clang is supported by Chromium dev.
%global use_clang 1

#squidf: MGA version dependent flags
#squidf: MGA8 icu verson is deprecated
%global system_icu 0
#squidf: harfbuzz >= 3 required 
%global system_harfbuzz 0
%global system_ffmpeg 1
#squidf: use vaapi from the system
%global use_vaapi 1
%global system_openjpeg 1
%global system_libtiff 1
%global system_libvpx 0
#squidf: deprecated dav1d version since chromium 98_ It still works for Cauldron/MGA9
%global system_dav1d 0
%global system_re2 1
%global system_fontconfig 1
%global system_freetype 1
# system libevent causes the renderer to get stuck
%global system_libevent 0

#squidf:build error with chromium 97 even for MGA9
%global warnings_as_errors 0

%if %{use_gold}
%define gn_gold use_gold=true
%else
%define gn_gold use_gold=false
%endif
%if %{system_icu}
%define bdl_icu icu
#squidf: icu_use_data_file needs to be adjusted accordingly
%define gn_icu icu_use_data_file=false
%else
%define gn_icu icu_use_data_file=true
%endif
%if %{system_libvpx}
%define gn_libvpx libvpx
%endif
%if %{system_dav1d}
%define gn_dav1d dav1d
%endif
%if %{system_re2}
%define gn_re2 re2
%endif
%if %{system_fontconfig}
%define gn_fontconfig fontconfig
%endif
%if %{system_freetype}
%define gn_freetype use_system_freetype=true
%define bdl_freetype freetype
%endif
%if %{system_libevent}
%define gn_libevent libevent
%endif
%if %{system_ffmpeg}
%define bdl_ffmpeg ffmpeg
%endif
%if %{use_vaapi}
%define gn_vaapi use_vaapi=true
%else
%define gn_vaapi use_vaapi=false
%endif
%if %{use_clang}
%define gn_clang is_clang=true
%define gn_lld use_lld=true
%else
%define gn_clang is_clang=false
%define gn_lld use_lld=false
%endif
%if %{warnings_as_errors}
#squidf: added as above for consistency
%define gn_warnings_as_errors treat_warnings_as_errors=true
%else
%define gn_warnings_as_errors treat_warnings_as_errors=false
%endif
#squidf:test added here to be independant of Mageia version
%if %{system_harfbuzz}
%define gn_harfbuzz use_system_harfbuzz=true
%define bdl_harfbuzz harfbuzz-ng
%else
%define gn_harfbuzz use_system_harfbuzz=false
%endif

%define crname chromium-browser
%define _crdir %{_libdir}/%{crname}
%define __requires_exclude_from ^%{_crdir}/libwidevinecdmadapter.so$

# eol 'fix' corrupts some .bin
%define dont_fix_eol 1

# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for Mageia use ONLY.
# For your own builds, please get your own set of keys.
%define    google_api_key AIzaSyDhhIHB_kQZodiWr8yDAm8E3GwEyiXmuDU

#squidf: to better track esbuild version
#       check chromium version in third_party/devtools-frontend/src/DEPS
#       https://github.com/evanw/esbuild
%define     esb_ver 0.15.8

Name:		chromium-browser-stable
Version:	106.0.5249.119
Release:	%mkrel 1
Summary:	A fast webkit-based web browser
Group:		Networking/WWW
License:	BSD and LGPLv2+
URL:		http://www.chromium.org/Home
#		http://omahaproxy.appspot.com/
#		http://googlechromereleases.blogspot.com/
Source0:	https://commondatastorage.googleapis.com/chromium-browser-official/chromium-%{version}.tar.xz
Source1:	chromium-wrapper
Source2:	chromium-browser.desktop
#squidf: to get esbuild from https://github.com/evanw/esbuild with vendor
Source3:    gen_esbuild_vendor.sh
Source4:    esbuild-%{esb_ver}.tar.xz
#squidf: Applications preferences at startup
Source13:   master_preferences

# fix googleisms in man page
Patch2:		chromium-mageia.patch
# (ns80) use a patch rather than a source file for widevine
Patch3:		chromium-71.0.3578.98-widevine-r3.patch
# (ns80) remove unrar 
#squidf: update for 96_
Patch4:		chromium-96-norar.patch
# (cjw) [1/4] Recognize mimetypes for matroska (.mkv) and AVI (.avi) formats (video/x-matroska and audio/x-matroska, video/x-msvideo) + handle A52 "AC3" and DTS compressed audio.
# (cjw) [2/4] Recognize mimetypes for WMV (.wmv), FLV (.flv) and MPEG (.mpg) videos
# (cjw) [3/4] Handle more video codecs.
#squidf: update for 103_ - Merge wmvflvmpg.patch sorenson-spark.patch sorenson-spark.patch into extra-media.patch
#                           Better visibility of the maze
#                           Fix obvious misses but cannot warrant all expected codec support works
Patch6:     chromium-103-extra-media.patch
# (cjw) disable external components -- this stops chromium from downloading hotword stuff, for example
#squidf: update for 103_ and simplified
Patch10:	chromium-103-no-external-components.patch
# (cjw) fix build error due to android-specific code
Patch19:	chromium-50-codec-warnings.patch
# (cjw) remove assertion on "chromium" branding in combination with enabled "proprietary codecs"
#squidf: update for 106_
Patch22:	chromium-106-proprietary-codecs-assert.patch
# (cjw) link several libraries directly instead of loading them using dlopen()
Patch27:	chromium-53-link-libgio-libpci-libudev-libbrlapi.patch
# (cjw) add missing unbundle gn files (2)
Patch29:	chromium-53-gn-system-opus.patch
# (cjw) build pdfium with system libtiff
#squidf: update for chromium 96.0.4664.45
Patch30:	chromium-99-pdfium-system-libtiff-libpng.patch
# (cjw) fix pdfium build with system openjpeg
#squidf: update for 100_
Patch31:	chromium-100-pdfium-system-libopenjpeg2.patch
# (cjw) fix build with current glib...
Patch36:	chromium-58-glib.patch
# (cjw) use system nodejs to fix build
#squidf: update for 98_
Patch37:	chromium-98-system-nodejs.patch
# (cjw) use system closure compiler
#squidf: update for 97_71
Patch38:	chromium-97-system-closure-compiler.patch
# (cjw) fix build with system icu
#squidf: update for 103_
Patch39:	chromium-103-system-icu.patch
# (cjw) gcc errors: include files
#squidf: Required with clang as well
#squidf: update for 105_ 
Patch81:	chromium-105-gcc-includes.patch
# (cjw) gcc warnings: missing casts
#squidf: Required for MGA9 even using clang. MGA8 manages without.
#squidf: update for 102_
Patch84:	chromium-102-gcc-type-errors.patch
# (cjw) fix gn bootstrapping with gcc. Kept with clang to stay safe.
#squidf: grouped 69 and 72 versions
Patch190:	chromium-98-gn-bootstrap.patch
# (cjw) fix i586 build
Patch198:	chromium-72-i586.patch
#squidf: grouped system zlib patches 85, 87 and 96, including angle-vulkan fix
#squidf: update for 106_
Patch240:	chromium-106-system-zlib.patch
# (cjw) fix broken system libvpx build
Patch244:	chromium-88-system-libvpx.patch
# (ns80) try to fix mga#28631 / updated patch from gentoo
#squidf: update for 98_
Patch250:	chromium-98-EnumTable-crash.patch
# (cjw) fix build with system ffmpeg
#squidf: 100_: for ffmpeg5, adjust system-ffmpeg patch to test ffmpeg version, based on openSUSE
Patch255:	chromium-100-system-ffmpeg-4.4.patch

#squidf: for clang <12
#squidf: update for 105_
Patch258:   chromium-105-clang-nomerge.patch
#squidf: MGA8 specific to use clang11 instead of clang13 (unknown option -ffile-compilation-dir)
#squidf: merged with former compiler-r4.patch from gentoo
#squidf: update for 105_ use https://github.com/stha09/chromium-patches version for easier maintenance
Patch259:   chromium-105-compiler.patch
#squidf:geentoo patch to pass sandbox/linux/services/credentials.cc:103:16: error: variable-sized object may not be initialized
#       https://bugs.gentoo.org/823857
#squidf: update for 100_
Patch261:   chromium-100-clang-variable-size-object.patch

#squidf:additional patch for vaapi (mainly from rpmfusion/freeworld)
#squidf: update for 100_: deprecated patch for media/gpu/chromeos/video_decoder_pipeline.cc
Patch280:   chromium-100-vaapi-libdrm.patch
Patch281:   chromium-98-fix-vaapi-on-intel.patch

#squidf: additional patch
#squidf: From Arch linux: build error: media/filters/ffmpeg_demuxer.cc:1599:9: error: use of undeclared identifier 'av_stream_get_first_dts'
Patch300:   chromium-97-ffmpeg-av_stream_get_first_dts.patch
#squidf: build error: math_extras.h:130:18: error: constexpr function never produces a constant expression
Patch301:   chromium-98-constexpr-compiler.patch
#squidf: 2 patches from openSUSE tumbleweed
Patch304:   chromium-98-sql-standard-layout-type.patch
Patch305:   chromium-94-sql-no-assert.patch
#squidf: from openSUSE tumbleweed to unbundle fully libdrm
Patch306:   chromium-98-system-libdrm.patch
#squidf: update for 99_
Patch307:   chromium-99-wayland-egl.patch
#squidf: 102_: additional build fix for i586
#squidf: update for 105_
Patch310:   chromium-105-fix-i586-build.patch
#squidf: 102_: fix no member named 'ch_layout' in 'AVCodecContext' and 'AVframe'
#              revert commit https://crrev.com/6e554a30893150793c2638e3689cf208ffc8e375
#              to be applied after patch6 which does include ffmpge_common.cc changes
#squidf: update for 103_
Patch312:   chromium-103-revert-ffmpeg-ch_layout.patch
#squidf: 102: fix fatal error: instantiating fold expression with 303 arguments exceeded expression nesting limit of 256
#             from https://github.com/stha09/chromium-patches
Patch313:   chromium-102-regex_pattern-array.patch
#squidf: 106_ fix task_features.cc: implicit instantiation of undefined template 'std::atomic<base::TimeDelta>'
Patch314:   chromium-106-missing-include-atomic.patch
#squidf: 106_ fix audio_file_reader.cc: no member named 'duration' in 'AVFrame'
Patch315:   chromium-106-include-AVFrame.patch
#squidf: to find ioapi.h and unzip.h
#squidf: obsolete for 106_
#Patch314:   chromium-104-tflite-system-minizip.patch
#squidf: 105_ fix quic_time.h:260:34: error: constexpr function never produces a constant expression
#squidf: update for 106_
Patch316:   chromium-106-constexpr-quic.patch
#squidf: 106_ fix utofill_popup_controller_impl.h: unknown type name 'nullptr_t'
#             from https://github.com/stha09/chromium-patches
Patch317:   chromium-106-AutofillPopupControllerImpl-namespace.patch
#squidf: 106_ fix argument_spec.cc: no member named 'isnan' in namespace 'std'
Patch318:   chromium-106-include-std-namespace.patch
#squid: 106_ fix color.cc: non-constexpr function 'round' cannot be used in a constant expression
Patch319:   chromium-106-constexpr-color.patch
#squidf: 105_ fix no member named 'make_unique' in namespace 'std' - from stha09
#squidf: obsolete for 106_
#Patch316:   chromium-105-Bitmap-include.patch
#squidf: 105_ fix no member named 'ceilf' in namespace 'std' - from stha09
#squidf: obsolete for 106_
#Patch317:   chromium-105-AdjustMaskLayerGeometry-ceilf.patch
#squidf: 105_ fix no template named 'vector' in namespace 'std' - from stha09
#squidf: obsolete for 106_
#Patch318:   chromium-105-browser_finder-include.patch

Provides:	%{crname}
Obsoletes:	chromium-browser-unstable < 26.0.1410.51
Obsoletes:	chromium-browser-beta < 26.0.1410.51
Obsoletes:	chromium-browser < 1:9.0.597.94
BuildRequires:	bison
BuildRequires:	flex
#squidf: add golang to build esbuild from source
BuildRequires:  golang
BuildRequires:	gperf
%if %{system_icu}
BuildRequires:	icu
%endif
BuildRequires:	ninja
#squidf: move to Python3:
BuildRequires:  python3
BuildRequires:  python3-devel
BuildRequires:	python3-beautifulsoup4
BuildRequires:	python3-html5lib
BuildRequires:	python3-markupsafe
BuildRequires:	python3-ply
BuildRequires:	python3-simplejson
#BuildRequires:	yasm
BuildRequires:	bzip2-devel
#BuildRequires:	closure-compiler
BuildRequires:	cups-devel
BuildRequires:	elfutils-devel
BuildRequires:	ffmpeg-devel
BuildRequires:	glib2-devel
BuildRequires:	gtk3-devel
BuildRequires:	libatomic-devel
%if %{system_libevent}
BuildRequires:	libevent-devel
%endif
BuildRequires:	libmesagl-devel
BuildRequires:	libpam-devel
BuildRequires:	libpulseaudio-devel
BuildRequires:	mesaglesv2-devel

BuildRequires:	nodejs

BuildRequires:	osmesa-devel
#BuildRequires:	protobuf-devel
BuildRequires:	snappy-devel
BuildRequires:	perl(Switch)
BuildRequires:	pkgconfig(alsa)
BuildRequires:	pkgconfig(atk)
%if %{system_dav1d}
BuildRequires:	pkgconfig(dav1d)
%endif
BuildRequires:	pkgconfig(dbus-glib-1)
BuildRequires:	pkgconfig(expat)
BuildRequires:	pkgconfig(flac)
%if %{system_fontconfig}
BuildRequires:	pkgconfig(fontconfig)
%endif
BuildRequires:	pkgconfig(freetype2)
BuildRequires:	pkgconfig(gbm)
BuildRequires:	pkgconfig(glu)
BuildRequires:	pkgconfig(gnome-keyring-1)
BuildRequires:	pkgconfig(gnutls)
#squidf:test not based on Mageia version anymore
%if %{system_harfbuzz}
BuildRequires:	pkgconfig(harfbuzz)
%endif
%if %{system_icu}
BuildRequires:	pkgconfig(icu-i18n)
%endif
BuildRequires:	pkgconfig(jsoncpp)
BuildRequires:	pkgconfig(libcap)
BuildRequires:	pkgconfig(libdrm)
BuildRequires:	pkgconfig(libexif)
BuildRequires:	pkgconfig(libjpeg)
BuildRequires:	pkgconfig(libopenjp2)
BuildRequires:	pkgconfig(libpci)
BuildRequires:	pkgconfig(libpng)
%if %{system_libtiff}
BuildRequires:	pkgconfig(libtiff-4)
%endif
BuildRequires:	pkgconfig(libusb-1.0)
#squidf:added for vaapi support
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(libva)
BuildRequires:  pkgconfig(libva-drm)
BuildRequires:  pkgconfig(libva-glx)
BuildRequires:  pkgconfig(libva-wayland)
BuildRequires:  pkgconfig(libva-x11)
%if %{system_libvpx}
BuildRequires:	pkgconfig(libvpx)
%endif
BuildRequires:	pkgconfig(libwebp)
BuildRequires:	pkgconfig(libxml-2.0)
BuildRequires:	pkgconfig(libxslt)
BuildRequires:	pkgconfig(minizip)
BuildRequires:	pkgconfig(nspr)
BuildRequires:	pkgconfig(nss)
BuildRequires:	pkgconfig(opus)
%if %{system_re2}
BuildRequires:	pkgconfig(re2)
%endif
BuildRequires:	pkgconfig(speech-dispatcher)
BuildRequires:	pkgconfig(speex)
BuildRequires:	pkgconfig(udev)
BuildRequires:	pkgconfig(xscrnsaver)
BuildRequires:	pkgconfig(xt)
BuildRequires:	pkgconfig(xtst)
BuildRequires:	pkgconfig(zlib)
%if %{use_clang}
BuildRequires:	clang
BuildRequires:  lld
%endif
BuildRequires:	clang-tools-extra
#squidf:for 98_ and system wayland
BuildRequires:  pkgconfig(wayland-egl)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-cursor)
BuildRequires:  pkgconfig(wayland-scanner)
BuildRequires:  pkgconfig(wayland-server)

# Unused but building gn wants it to be present
BuildRequires:	pkgconfig(gconf-2.0)
BuildRequires:	git
ExclusiveArch:	i586 x86_64
# aarch64 does not build without fewer than default parallel jobs config
# armv5tl armv7hl

%description
Chromium is a browser that combines a minimal design with sophisticated
technology to make the web faster, safer, and easier.

For certain media playback features - AAC decoding - this package
currently assumes decoder support is available, while that is only true if
the 'tainted' variety of the libavcodec package is installed. When the 'core'
variety of libavcodec is installed, chromium may output noise for AAC audio.

%ifarch %{ix86}
The i586 build of this package does not work on machines that do not
support the SSE2 instruction set extension.
%endif

%package -n	chromium-browser
Summary:	A fast webkit-based web browser (transition package)
Epoch:		1
Group:		Networking/WWW
Requires:	%{name} = %{version}-%{release}

%description -n	chromium-browser
Chromium is a browser that combines a minimal design with sophisticated
technology to make the web faster, safer, and easier.

This is a transition package that installs the stable channel Chromium
browser.

%prep
%setup -q -n chromium-%{version}

#squidf: avoid autopatch to get all patches in src.rpm, independently of the flag settings
%patch2 -p1 -b .fix-googleism
%patch3 -p1 -b .add-widevine
%patch4 -p1 -b .remove-norar
%patch6 -p1 -b .add-extra-media
%patch10 -p1 -b .disable-no-external-components-downloads
%patch19 -p1 -b .fix-build-due-to-android-specificities
%patch22 -p1 -b .remove-chromium-branding
%patch27 -p1 -b .link-libraaries-libgio-libpci-libudev-libbrlapi
%patch29 -p1 -b .missing-system-opus-gn-flag
%if %{system_libtiff}
%patch30 -p1 -b .use-pdfium-with-system-libtiff-libpng
%endif
%if %{system_openjpeg}
%patch31 -p1 -b .use-pdfium-with-system-libopenjpeg2
%endif
%patch36 -p1 -b .fix-build-with-current-glib
%patch37 -p1 -b .fix-build-with-system-nodejs
%patch38 -p1 -b .use-system-closure-compiler
%patch39 -p1 -b .fix-build-with-system-icu
%patch81 -p1 -b .fix-build-gcc-includes
%patch84 -p1 -b .fix-build-gcc-type-errors
%patch190 -p1 -b .fix-build-gn-bootstrap
%patch198 -p1 -b .fix-build-i586
%patch240 -p1 -b .use-system-zlib
%patch244 -p1 -b .use-system-libvpx
%patch250 -p1 -b .fix-crash-EnumTable

%patch255 -p1 -b .use-older-system-ffmpeg

#squidf: patches required to use clang 11
%patch258 -p1 -b .fix-build-clang11-nomerge
%patch259 -p1 -b .fix-build-clang11-options
%patch261 -p1 -b .fix-build-variable-size-object

%patch280 -p1 -b .use-system-vaapi-libdrm
%patch281 -p1 -b .fix-vaapi-on-intel

#squidf: linked to ffmpeg5 coming with Cauldron
%patch300 -p1 -b .fix-build-av_stream_get_first_dts
%patch301 -p1 -b .fix-build-constexpr

%patch304 -p1 -b .sql-standard-layout-type
%patch305 -p1 -b .sql-no-assert.patch
%patch306 -p1 -b .system-libdrm
%patch307 -p1 -b .wayland-egl

%patch310 -p1 -b .fix-i586-build
%patch312 -p1 -b .fix-build-ffmpeg-ch_layout-revert-commit
%patch313 -p1 -b .fix-build-array-limit
%patch314 -p1 -b .fix-build-atomic-member
%patch315 -p1 -b .fix-build-duration-member
%patch316 -p1 -b .fix-build-no_constexpr-quic
%patch317 -p1 -b .fix-build-nullprt_t
%patch318 -p1 -b .fix-build-isnan-member
%patch319 -p1 -b .fix-build-constexpr-color

#squidf: use esbuild version from esbuild source
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/DEPS
sed -i 's/0.14.13/%{esb_ver}/g' ./DEPS
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/node_modules/esbuild/lib/main.js
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/node_modules/esbuild/install.js
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/node_modules/esbuild/package.json
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/package-lock.json
sed -i 's/0.14.13/%{esb_ver}/g' ./third_party/devtools-frontend/src/scripts/deps/manage_node_deps.py

# files we do not want from upstream source bundles
rm -r --interactive=never third_party/breakpad/breakpad/src/processor/testdata/
rm -r --interactive=never third_party/breakpad/breakpad/src/tools
rm -r --interactive=never chrome/test/data/{android,app_shim,apptest,ash,autofill,automation,automation_proxy_snapshot,banners,bookmark_html_reader,bookmarks,captive_portal,chromedriver,chrome_endure,chromeos,click_modifier,components,constrained_files,content,content_setting_bubble,devtools,diagnostics,dom_automation,dom_checker,dom_distiller,downloads,dromaeo,durable,edge_database_reader,edge_profile,encoding_tests,extensions,fast_shutdown,fast_tab_close,favicon,feeds,file_select_helper,find_in_page,focus,frame_dom_access,frame_tree,fullscreen_mouselock,geolocation,google,gpu,History,image_decoding,image_search,import,indexeddb,inspector,installer,interstitial_page,login,native_messaging,navigation_interception,notifications,page_cycler,page_load_metrics,password,pepper,perf,permissions,plugin_power_saver,policy,popup_blocker,predictor,prefs,pref_service,prerender,printing,profiles,push_messaging,referrer_policy,safe_browsing,save_page,scroll,session_history,session_restore,sessions,settings,speech,ssl,sunspider,sync,template_url_scraper,textinput,third_party,top_sites,translate,unit,viewsource,web_app_info,webrtc,websocket,webui_test_resources.grd,workers}
rm -r --interactive=never chrome/test/data/nacl/{pnacl_error_handling,cross_origin,irt_exception,pnacl_request_header,pnacl_url_loader,pnacl_hw_eh_disabled,pnacl_nmf_options,pnacl_dyncode_syscall_disabled,extension_mime_handler,ppapi_test_lib,bad,ppapi,manifest,pnacl_debug_url,extension_validation_cache,exit_status,progress_events,manifest_file,sysconf_nprocessors_onln,crash}
rmdir chrome/test/data/webui/{settings,extensions}/a11y
rmdir chrome/test/data/webui/settings/chromeos/app_management
rmdir chrome/test/data/webui/history/history_clusters
rmdir chrome/test/data/webui/engagement
rm -r --interactive=never components/test/data/update_client/jebgalgnebhfojomionfpkfelancnnkf/component1.dll
rm -r --interactive=never content/test/data/
rm -r --interactive=never ppapi/native_client/tests/
rm -r --interactive=never third_party/apache-win32/
rm -r --interactive=never third_party/expat/{fuzz,include,src}
%if %{system_freetype}
rm -r --interactive=never third_party/freetype/{include,src}
%endif
%if %{system_ffmpeg}
rm -r --interactive=never third_party/ffmpeg/*/*
%endif
rm -r --interactive=never third_party/flac/{include,src}
%if %{system_icu}
#squidf: 103_ android_small doesn't exist anymore
rm -r --interactive=never third_party/icu/{android,common,patches,source,chromeos,ios}
%endif
rm -r --interactive=never third_party/jsoncpp/source
rm -r --interactive=never third_party/lcov
%if %{system_libevent}
rm -r --interactive=never base/third_party/libevent/*/*
rm -r --interactive=never base/third_party/libevent/*.[ch]
%endif
%if %{system_libvpx}
rm -r --interactive=never third_party/libvpx/source/{libvpx,config}
%endif
rm -r --interactive=never third_party/libaom/source
%if %{system_dav1d}
rm -r --interactive=never third_party/dav1d/{libdav1d,version}
%endif
rm -r --interactive=never third_party/libjpeg_turbo/*.[ch]
rm -r --interactive=never third_party/libpng/*.[ch]
rm -r --interactive=never third_party/libxslt/{linux,mac,src,win32}
rm -r --interactive=never third_party/xdg-utils/tests/
rm -r --interactive=never third_party/zlib/{*.[ch],contrib/minizip}
rm -r --interactive=never native_client_sdk/src/tools/lib/tests/data
rm -r --interactive=never buildtools/third_party/eu-strip/bin
#squidf: from 105_ libopenjpeg20 replaced by libopenjpeg
rm --interactive=never third_party/pdfium/third_party/libopenjpeg/*.[ch]
rm -r --interactive=never third_party/pdfium/third_party/libpng16
%if %{system_libtiff}
rm --interactive=never third_party/pdfium/third_party/libtiff/*.[ch]
%endif
%if %{system_re2}
rm -r --interactive=never third_party/re2/src
%endif
%if %{system_fontconfig}
rm -r --interactive=never third_party/fontconfig/{src,include,chromium}
%endif
rm --interactive=never native_client/tools/redirector.exe
rm --interactive=never third_party/webrtc/data/voice_engine/stereo_rtp_files/rtpplay.exe
rm -r --interactive=never third_party/llvm
rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/gles/bob/bob
rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/glut/SanOGLES
#squidf: 106_ Remove bin folder containing exe files for win and mac
rm -r --interactive=never third_party/lzma_sdk/bin/*
rm --interactive=never third_party/breakpad/symupload.exe
rm -r --interactive=never third_party/catapult/third_party/google-endpoints/setuptools
rm -r --interactive=never third_party/catapult/third_party/vinn/third_party/v8
rm --interactive=never third_party/depot_tools/ninja.exe
rm --interactive=never third_party/depot_tools/ninja-linux64
rm -r --interactive=never native_client/tools/hermetic_cygwin
rm -r --interactive=never base/test/data/pe_image/
rm -r --interactive=never base/test/data/file_version_info_unittest
rm -r --interactive=never chrome/chrome_cleaner/test/resources/signed_dll
rm --interactive=never third_party/crashpad/crashpad/handler/win/z7_test.dll
rm -r --interactive=never third_party/crashpad/crashpad/snapshot/elf/elf_image_reader_fuzzer_corpus
rm -r --interactive=never third_party/boringssl/src/util/ar/testdata
rm -r --interactive=never third_party/pyelftools/test/testfiles_for_unittests
rm -r --interactive=never third_party/pyelftools/test/external_tools
rm -r --interactive=never third_party/pyelftools/test/testfiles_for_readelf
rm -r --interactive=never third_party/pyelftools/examples
rm -r --interactive=never third_party/skia/platform_tools/android/bin
rm --interactive=never third_party/nasm/travis/test/tmap.o.t
rm -r --interactive=never components/test/data/update_client
rm -r --interactive=never build/android/tests/symbolize

rm --interactive=never third_party/skia/platform_tools/android/apps/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/libphonenumber/dist/tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar
rm --interactive=never third_party/libphonenumber/dist/tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar
#squidf: 106_ obsolete
#rm -r --interactive=never third_party/libphonenumber/dist/java/demo/war/WEB-INF/lib
rm -r --interactive=never third_party/libphonenumber/dist/java/lib
rm --interactive=never third_party/webrtc/examples/androidapp/third_party/autobanh/lib/autobanh.jar
rm --interactive=never third_party/closure_compiler/compiler/compiler.jar
rm --interactive=never third_party/flatbuffers/src/android/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/flatbuffers/src/kotlin/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/gradle_wrapper/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/webgl/src/conformance-suites/2.0.0/deqp/compiler.jar
rm --interactive=never third_party/grpc/src/examples/android/helloworld/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/grpc/src/src/android/test/interop/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/tflite/src/tensorflow/lite/java/ovic/demo/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/tflite/src/tensorflow/lite/java/demo/gradle/wrapper/gradle-wrapper.jar
rm --interactive=never third_party/checkstyle/checkstyle-all.jar
#squidf: 105_ java_deobfuscate_java renamed
rm --interactive=never build/android/stacktrace/java_deobfuscate_java.jar

%if %{system_libevent}
find base/third_party/libevent -type f \! -regex '.*\.\(gn\|gni\|isolate\)' -delete
%endif

%if %{system_icu}
# Remove bundled ICU; its header files appear to get picked up instead of
# the system ones, leading to errors during the final link stage.
# https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q
find third_party/icu -type f \! -regex '.*\.\(gn\|gni\|isolate\)' -delete
%endif

# Hard code extra version
FILE=chrome/common/channel_info_posix.cc
sed -i.orig -r -e 's/env = getenv\("CHROME_VERSION_EXTRA"\).*;/env = "%{product_vendor} %{product_version}";/' -e 's/return env \? (.*) : .*;/return \1;/' $FILE
if diff -u $FILE $FILE.orig >/dev/null; then
  exit 1
fi

%build
#squidf: esbuild built from source
rm third_party/devtools-frontend/src/third_party/esbuild/esbuild
%{__tar} -xf %{SOURCE4}
pushd esbuild
GO_FLAGS="-mod=vendor" make
cp -a esbuild ../third_party/devtools-frontend/src/third_party/esbuild/esbuild
popd

#squidf: harfbuzz and freetype added back based on other distro spec, but might not be mandatory
%define unbundle_list %{?bdl_ffmpeg} flac %{?gn_fontconfig} libwebp libxml libxslt snappy %{?gn_libvpx} libpng %{?bdl_icu} zlib jsoncpp opus %{?gn_re2} libdrm %{?gn_dav1d} %{?gn_libevent} %{?bdl_freetype} %{?bdl_harfbuzz-ng}
# handled by upstream regular build scripts: freetype harfbuzz-ng
# mesa

# v NO TABS IN HERE!
%define gn_mga    use_sysroot=false \
                  system_libdir="%{_lib}" \
                  %{?gn_icu} \
                  enable_nacl=false \
                  is_nacl_glibc=false \
                  custom_toolchain="//build/toolchain/linux/unbundle:default" \
                  host_toolchain="//build/toolchain/linux/unbundle:default" \
                  proprietary_codecs=true \
                  linux_link_libudev = true \
                  linux_link_libspeechd = true \
                  linux_link_xlib = true \
                  enable_platform_ac3_eac3_audio = true \
                  enable_platform_dts_audio = true \
                  enable_mse_mpeg2ts_stream_parser=true \
                  enable_platform_hevc=true \
                  use_system_libjpeg=true \
                  use_system_libopenjpeg2=true \
                  use_libjpeg_turbo=false \
                  enable_widevine=true \
                  pdf_enable_xfa=true \
                  gtk_version=3 \
                  fatal_linker_warnings=false \
                  use_libpci = true \
                  use_pulseaudio=true \
                  use_allocator="none" \
                  is_debug=false \
                  %{?gn_clang} \
                  clang_use_chrome_plugins=false \
                  %{?gn_lld} \
                  %{?gn_gold} \
                  %{?gn_freetype} \
                  %{?gn_harfbuzz} \
                  use_system_libpng=true \
                  enable_dav1d_decoder=true enable_libaom=false \
                  use_custom_libcxx=false \
                  enable_mojom_closure_compile=false \
                  enable_js_type_check=false \
                  dcheck_always_on=false \
                  %{?gn_warnings_as_errors} \
                  google_api_key="%{google_api_key}"

#squidf:additional arguments: 
#   to use vaapi from Chromium 96
#   for 98_, compiler errors with bundled Wayland
#   is_component_build to improve load-time (used by many other distro) 
%define gn_more %{gn_mga} \
                %{?gn_vaapi} \
                use_system_libwayland=true \
                use_system_wayland_scanner=true \
                is_component_build=false
                
build/linux/unbundle/replace_gn_files.py --system-libraries %{unbundle_list}
third_party/libaddressinput/chromium/tools/update-strings.py

%set_build_flags
%if %{use_clang}
CC=clang; export CC
CXX=clang++; export CXX
%else
CC=%{__cc}; export CC
CXX=%{__cxx}; export CXX
LD="%{__cxx}"; export LD
%endif

AR=%{__ar}; export AR
NM=%{_bindir}/nm; export NM

%if %{use_clang}
LDFLAGS="-fuse-ld=lld $LDFLAGS"
%else
%if %{use_gold}
LDFLAGS="-fuse-ld=gold $LDFLAGS"
%endif
%endif

# filter out -g from CFLAGS and CXXFLAGS to fix builds
%if %{_enable_debug_packages}
%else
CFLAGS=$(echo "$CFLAGS"|sed -e 's/-g //')
CXXFLAGS=$(echo "$CXXFLAGS"|sed -e 's/-g //')
%endif

CXXFLAGS="$CXXFLAGS -faligned-new -Wno-attributes -Wno-ignored-attributes"

#squidf: all the below flags are from openSUSE
export CXXFLAGS="${CXXFLAGS} -Wno-unused-command-line-argument -Wno-unknown-warning-option"
# extra flags to reduce warnings that aren't very useful
export CXXFLAGS="${CXXFLAGS} -Wno-pedantic -Wno-unused-result -Wno-unused-function -Wno-unused-variable -Wno-deprecated-declarations"
# ignore warnings for minor mistakes that are too common
export CXXFLAGS="${CXXFLAGS} -Wno-return-type -Wno-parentheses -Wno-misleading-indentation"
# ignore warnings due to gcc bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84055)
export CXXFLAGS="${CXXFLAGS} -Wno-ignored-attributes"
# ingore new gcc 8 warnings that aren't yet handled upstream
export CXXFLAGS="${CXXFLAGS} -Wno-address -Wno-dangling-else"
# for wayland
export CXXFLAGS="${CXXFLAGS} -I/usr/include/wayland -I/usr/include/libxkbcommon"
#### end openSUSE flag

#squidf:FIXME ?:-std=gnu++17 has been added for Chromium 96 but leads to build failure
%if %{use_clang}
CFLAGS="$CFLAGS -Wno-error=unused-result"
CXXFLAGS="$CXXFLAGS -Wno-error=deprecated-declarations -Wno-error=deprecated-copy -Wno-error=psabi -Wno-error=implicit-const-int-float-conversion -Wno-error=non-c-typedef-for-linkage -Wno-error=unused-const-variable"
%else
#squidf:WARNING: so far, building with gcc on Mageia does not work for chromium version higher than 98
CXXFLAGS="$CXXFLAGS -Wno-error=class-memaccess -Wno-error=unknown-pragmas -Wno-error=array-bounds -Wno-return-type -Wno-error=nonnull -Wno-error=free-nonheap-object -Wno-error=stringop-overflow -Wno-error=unused -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=invalid-offsetof"
%endif

#squidf: fix random stack mashing detection with clang 11
CFLAGS=${CFLAGS/-fstack-protector}
CFLAGS="$CFLAGS -fno-stack-protector -fstack-clash-protection"
CXXFLAGS=${CXXFLAGS/-fstack-protector}
CXXFLAGS="$CXXFLAGS -fno-stack-protector -fstack-clash-protection"


%if %{use_gold}
%ifarch %ix86
LDFLAGS="$LDFLAGS -Wl,--no-keep-files-mapped"
%endif
%else
LDFLAGS="$LDFLAGS -fno-use-linker-plugin"
%endif

# for debugging:
%if %{_enable_debug_packages}
CFLAGS="$(echo $CFLAGS|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-D_FORTIFY_SOURCE=2//') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -gdwarf64"
CXXFLAGS="$(echo $CXXFLAGS|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-D_FORTIFY_SOURCE=2//') -Og -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -Wno-error=return-type -gdwarf64"
%endif

%ifarch %{ix86}
CFLAGS="$CFLAGS -msse2"
CXXFLAGS="$CXXFLAGS -msse2"
%endif


python tools/gn/bootstrap/bootstrap.py --gn-gen-args='%{gn_more}'

out/Release/gn gen --args='%{gn_more}' out/Release


%if !%{use_gold}
# ld.bfd needs lots of file descriptors to link chrome
ulimit -n 4096
%endif


JOBS=$(echo %{_smp_mflags}|sed -re 's#^-j##')
%{__ninja} -j${JOBS} -C out/Release chrome chrome_sandbox


# man page
sed -e "s/@@PACKAGE@@/chromium/" -e "s/@@MENUNAME@@/Chromium Web Browser/" chrome/app/resources/manpage.1.in >out/Release/chromium.1

%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_crdir}/locales
mkdir -p %{buildroot}%{_crdir}/themes
mkdir -p %{buildroot}%{_crdir}/MEIPreload
mkdir -p %{buildroot}%{_mandir}/man1

#squidf: add master_preferences to prevent default browser check banner, at first
%{__install} -m 644 %{SOURCE13} %{buildroot}%{_crdir}/master_preferences
#squidf: install chromium-wrapper from source1
install -m 755 %{SOURCE1} %{buildroot}%{_crdir}/
install -m 755 out/Release/chrome %{buildroot}%{_crdir}/
install -m 4755 out/Release/chrome_sandbox %{buildroot}%{_crdir}/chrome-sandbox
install -m 644 out/Release/chromium.1 %{buildroot}%{_mandir}/man1/%{crname}.1
install -m 644 out/Release/chrome_100_percent.pak %{buildroot}%{_crdir}/
install -m 644 out/Release/chrome_200_percent.pak %{buildroot}%{_crdir}/
install -m 644 out/Release/resources.pak %{buildroot}%{_crdir}/
install -m 644 out/Release/snapshot_blob.bin %{buildroot}%{_crdir}/
install -m 755 out/Release/mksnapshot %{buildroot}%{_crdir}/
install -m 755 out/Release/chrome_crashpad_handler %{buildroot}%{_crdir}/
install -m 644 out/Release/locales/*.pak %{buildroot}%{_crdir}/locales/
install -m 644 out/Release/v8_context_snapshot.bin %{buildroot}%{_crdir}/
install -m 755 out/Release/libEGL.so %{buildroot}%{_crdir}/
install -m 755 out/Release/libGLESv2.so %{buildroot}%{_crdir}/
install -m 755 out/Release/libVk*.so %{buildroot}%{_crdir}/
install -m 755 out/Release/libvk_swiftshader.so %{buildroot}%{_crdir}/
install -m 644 out/Release/MEIPreload/* %{buildroot}%{_crdir}/MEIPreload/
ln -s %{_crdir}/chromium-wrapper %{buildroot}%{_bindir}/%{crname}

find out/Release/resources/ -name "*.d" -exec rm {} \;
cp -r out/Release/resources %{buildroot}%{_crdir}

# desktop file
mkdir -p %{buildroot}%{_datadir}/applications
install -m 644 %{_sourcedir}/%{crname}.desktop %{buildroot}%{_datadir}/applications/

%if %{system_icu}
# symlink to ICU data file
ICUDATADIR=$(icuinfo | grep \"icudata.path\" | sed -re 's/^.*>(.*)<.*$/\1/')
ICUDATANAME=$(icuinfo | grep \"icudata.name\" | sed -re 's/^.*>(.*)<.*$/\1/')
ICUDATAFILE=$(realpath --relative-to=%{_crdir}/ ${ICUDATADIR}/${ICUDATANAME}.dat)
ln -s ${ICUDATAFILE} %{buildroot}%{_crdir}/icudtl.dat
%else
%{__install} -m 644 out/Release/icudtl.dat %{buildroot}%{_crdir}/
%endif

# icon
for i in 22_mono 24 32 48 64 128 256; do
	%{__mkdir_p} %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps
	if [ -f chrome/app/theme/chromium/product_logo_$i.png ]; then
		%{__install} -m 644 chrome/app/theme/chromium/product_logo_$i.png \
			%{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps/%{crname}.png
	else
		%{__install} -m 644 chrome/app/theme/chromium/linux/product_logo_$i.xpm \
			%{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps/%{crname}.xpm
	fi
done

%files -n chromium-browser

%files
%{_bindir}/%{crname}
%dir %{_crdir}
%{_crdir}/chromium-wrapper
%{_crdir}/chrome
%attr(4755,root,root) %{_crdir}/chrome-sandbox
%{_crdir}/icudtl.dat
%{_crdir}/locales
%{_crdir}/master_preferences
%{_crdir}/snapshot_blob.bin
%{_crdir}/v8_context_snapshot.bin
%{_crdir}/resources.pak
%{_crdir}/resources
%{_crdir}/chrome_100_percent.pak
%{_crdir}/chrome_200_percent.pak
%{_crdir}/mksnapshot
%{_crdir}/chrome_crashpad_handler
%{_crdir}/themes
%{_crdir}/libEGL.so
%{_crdir}/libGLESv2.so
%{_crdir}/libVk*.so
%{_crdir}/libvk_swiftshader.so
%{_mandir}/man1/%{crname}*
%{_datadir}/applications/*.desktop
%{_iconsdir}/hicolor/*/apps/%{crname}.png
%{_iconsdir}/hicolor/*/apps/%{crname}.xpm
%{_crdir}/MEIPreload




%changelog
* Thu Oct 13 2022 squidf <squidf> 106.0.5249.119-1.mga8
+ Revision: 1896747
- Update to 106.0.5249.119 (mga#30961)
- Update to 106.0.5249.91 (mga#30905)
- Update to 106.0.5249.61 (mga#30905)
- Update esbuild to 0.15.8
- Update patches and pruning
- Update to 105.0.5195.52 (mga#30802)
- Update to 105.0.5195.52 (mga#30802)
- Update esbuild to 0.15.5
- Update patches
- Obsolete patches
-- chromium-53-gn-system-icu-jsoncpp
-- chromium-79-system-dav1d
- Update to 104.0.5112.101 (mga#30756)
- Update to 104.0.5112.79 (mga#30695)
- Update esbuild to 0.14.50
- Update patches
- New tflite-system-minizip patch
- Deprecated GetNeverPromptSitesBetween-crash patch
- Update to 103.0.5060.134 (mga#30655)
- Deprecated chromium-third-party-cookies-off-by-default patch
- Make rpmlint happy with license and no installation from sourcedir
- Update to 103.0.5060.53 (mga#30575)
- Update esbuild to 0.14.45
- Merge wmvflvmpg.patch sorenson-spark.patch sorenson-spark.patch into extra-media.patch
--Better visibility of the codec management maze
--Fix obvious misses but cannot warrant all expected codec supports work
- Update and simplify no-external-components patch
- Update system-icu patch
- Update gcc-include patch
- Update clang-nomerge patch
- Add compiler patch and update clang_compiler-r4
- Update revert-ffmpeg-ch_layout patch
- Update constexpr-i586-compiler patch
- Deprecated libxml-unbundle patch
- Deprecated strlen-namespace patch
- Update to 102.0.5005.115 (mga#30547)
- Append esbuild version to esbuild tarball name
- Update esbuild to 0.14.43
- Build esbuild from source for x86_64 as well
- Add script to clone and to build esbuild vendor, as a source
- Update to 102.0.5005.61 (mga#30470)
- Update extra-media patch
- Update system-icu patch
- Update gcc-includes patch
- Update gcc-type-errors patch
- Deprecated system-freetype patch
- Update clang_compiler-r4 patch to fix unknown specific goma server flag
- Update constexpr-i586-compiler patch
- New strlen-namespace patch to fix strlen namespace error
- New fix-i586-build patch
- Revert ch_layout commit (revert-ffmpeg-ch_layout patch)
- New regex_pattern-array patch to fix expression nesting limit
- Deprecated swiftshader installation folder
- Update master_preferences with new version announcement link
- New version: 102.0.5005.61
- Update extra-media patch
- Update system-icu patch
- Update gcc-includes patch
- Update gcc-type-errors patch
- Deprecated system-freetype patch
- Deprecated tie_namespace patch
- Deprecated vector_namespace patch
- Update compiler patch to fix unknown specific goma server flag
- New strlen-namespace patch to fix strlen namespace error
- New fix-i586-build patch
- Revert ch_layout commit (revert-ffmpeg-ch_layout patch)
- New regex_pattern-array patch to fix expression nesting limit
- Deprecated swiftshader installation folder
- Update master_preferences with latest announcement link
- New version: 101.0.4951.64 (mga#30411)
- Update master_preferences with new version announcement link
- New version: 101.0.4951.54
- Update master_preferences to point to the new release announcement
- Update to 101.0.4951.41 (mga#30350)
- Remove CPU limitation for Mageia BS
- Enable platform dts audio and update extra-media patch
- Update no-external-components patch
- Update gcc-includes patch
- Update gcc-type-errors patch
- Update clang_compiler-r4 patch
- Deprecated chromium-100-SCTHashdanceMetadata-move.patch
- Add libxml-unbundle patch
- Change ninja flag -j by -l to manage rabbit server load
- New version: 100.0.4896.127 (mga#30276)
- First launch page points to the actual release announcement
- Add CPU load limitation to cope with timeout failure on rabbit server
- New version: 100.0.4896.88 (mga#30276)
- New version: 100.0.4896.75 (mga#30259)
- Add vendor esbuild to build i586 version
- Add chromium-100-constexpr-i586-compiler patch to fix constexpr declaration for i586 build
- Merge compiler-r4 and clang_compiler patches
- Enable text section splitting when using lld (was disabled by clang_compiler patch)
- New version: 100.0.4896.60
- Remove mgaver tests. Cauldron and MGA8 spec are now specifc to their respective versions.
- Deprecated chromium-99-v8-missing-utility-include.patch
- Update system-ffmpeg and av_stream_get_first_dts patches for ffmpeg 5.0 and MGA9
- Use clang-nomerge patch only for clang 11 (MGA8)
- Add SCTHashdanceMetadata-move patch for clang 11 (MGA8)
-new version: 99.0.4844.84
- New version: 99.0.4844.74 (mga#30183)
- New version: 99.0.4844.51 (mga#29988)
- New fix-build-patch chromium-99-third_party-symbolize-missing-include for MGA9
- New fix-build-patch chromium-99-v8-missing-utility-include for MGA9
- Remove autopatch
- Deprecated chromium-98-vulkan-validation-layer.patch
- Deprecated chromium-98-duplicate-peer-error-to-dvlog.patch
- Deprecated chromium-98-WaylandFrameManager-check.patch
- Deprecated chromium-97-ScrollView-reference.patch
- Update delete items list of source bundles
- Replace stack-protector by stack-clash-protection with clang 11 (mga8)
- system icu leads to icu_use_data_file=false
- Add system-libdrm patch to unbundle fully libdrm
- Use system wayland
- Clean up gcc-only patches
- Add gn arguments to improve load time
- Add build dependency lib64va and egl for GPU hardware acceleration
+ neoclust <neoclust>
- New version 98.0.4758.102
- Use squidf work to build chromium on mageia 8
- New version 97.0.4692.99 ( from squidf) (mga#29846)
+ ns80 <ns80>
- new version 96.0.4664.110 (mga#29765)
- new version 96.0.4664.93 (mga#29744)
- new version 96.0.4664.45 (mga#29541)
- new version 94.0.4606.81 (mga#29541)
- new version 94.0.4606.71 (mga#29522)
- new version 94.0.4606.61 (mga#28732)
- new version 89.0.4389.128 (mga#28702)
- try to fix mga#28631
- new version 89.0.4389.114 (mga#28702)
- new version 89.0.4389.90 (mga#28534)
- new version 89.0.4389.82 (mga#28534)
- new version 88.0.4324.182 (mga#28369)

* Mon Feb 08 2021 ns80 <ns80> 88.0.4324.150-1.mga8
+ Revision: 1675048
- new version 88.0.4324.150 (mga#28180)

* Wed Feb 03 2021 ns80 <ns80> 88.0.4324.146-1.mga8
+ Revision: 1674683
- new version 88.0.4324.146 (mga#28180)

* Mon Jan 25 2021 pterjan <pterjan> 88.0.4324.96-2.mga8
+ Revision: 1673363
- Remove google_default_client which we can no longer use, this will disable some APIs (at least Sync)
+ cjw <cjw>
- 88.0.4324.96

* Tue Jan 19 2021 cjw <cjw> 87.0.4280.141-2.mga8
+ Revision: 1672476
- patch248: fix i586 build
- patch249: fix i586 seccomp errors
- remove shockwave flash support from wrapper script
- wrapper script: add command-line options from ~/.config/chromium-browser/args.txt (mga #27702)
+ ns80 <ns80>
- try building for i586

* Wed Jan 13 2021 ns80 <ns80> 87.0.4280.141-1.mga8
+ Revision: 1671524
- new version 87.0.4280.141 (mga#28077)

* Wed Dec 09 2020 ghibo <ghibo> 87.0.4280.88-2.mga8
+ Revision: 1655048
- Temporary exclude i586 arch from building
+ pterjan <pterjan>
- Use pkg_resources from Mageia 7 which still supports python2
+ cjw <cjw>
- 87.0.4280.88
- 83.0.4103.97
+ ns80 <ns80>
- new version 86.0.4240.183 (mga#26648)
- new version 86.0.4240.111 (mga#26648)
+ ovitters <ovitters>
- drop Mageia specific category from desktop file (mga#2449)
+ wally <wally>
- rebuild for icu 67.1

* Fri May 08 2020 cjw <cjw> 81.0.4044.138-1.mga8
+ Revision: 1581606
- 81.0.4044.138

* Wed Apr 29 2020 cjw <cjw> 81.0.4044.129-1.mga8
+ Revision: 1573188
- 81.0.4044.129

* Thu Apr 23 2020 cjw <cjw> 81.0.4044.122-1.mga8
+ Revision: 1571349
- 81.0.4044.122

* Sat Apr 11 2020 cjw <cjw> 81.0.4044.92-1.mga8
+ Revision: 1566338
- 81.0.4044.92

* Sat Apr 04 2020 wally <wally> 80.0.3987.149-2.mga8
+ Revision: 1564451
- rebuild for new icu 66.1

* Thu Mar 19 2020 cjw <cjw> 80.0.3987.149-1.mga8
+ Revision: 1558027
- 80.0.3987.149

* Sat Mar 07 2020 cjw <cjw> 80.0.3987.132-1.mga8
+ Revision: 1554713
- 80.0.3987.132

* Sat Feb 29 2020 cjw <cjw> 80.0.3987.122-1.mga8
+ Revision: 1552410
- 80.0.3987.122

* Fri Feb 21 2020 umeabot <umeabot> 80.0.3987.87-2.mga8
+ Revision: 1547778
- Mageia 8 Mass Rebuild

* Sun Feb 09 2020 cjw <cjw> 80.0.3987.87-1.mga8
+ Revision: 1488226
- fix i586 build
- 80.0.3987.87

* Sun Jan 19 2020 cjw <cjw> 79.0.3945.130-1.mga8
+ Revision: 1481507
- 79.0.3945.130
- 79.0.3945.117
+ wally <wally>
- replace deprecated %%setup_compile_flags

* Sat Dec 14 2019 cjw <cjw> 79.0.3945.79-1.mga8
+ Revision: 1467144
- fix i586 build
- 79.0.3945.79
- use system dav1d library

* Wed Nov 20 2019 cjw <cjw> 78.0.3904.108-1.mga8
+ Revision: 1461792
- 78.0.3904.108

* Sat Nov 02 2019 cjw <cjw> 78.0.3904.87-1.mga8
+ Revision: 1457315
- 78.0.3904.87

* Tue Oct 29 2019 cjw <cjw> 78.0.3904.70-1.mga8
+ Revision: 1456622
- fix build on i586
- 78.0.3904.70
- switch back to building with gcc

* Sat Oct 12 2019 cjw <cjw> 77.0.3865.120-1.mga8
+ Revision: 1452378
- 77.0.3865.120

* Sat Oct 05 2019 cjw <cjw> 77.0.3865.90-1.mga8
+ Revision: 1449503
- patch218: fix build with icu 65
- 77.0.3865.90
- 77.0.3865.75
- use python2 for build
- 77.0.3865.70
- build with clang since gcc build has broken https

* Sat Apr 06 2019 cjw <cjw> 73.0.3683.103-1.mga7
+ Revision: 1386406
- 73.0.3683.103
- add missing backslash in spec file that caused the google
  api key not to be configured (mga #24613)

* Fri Mar 29 2019 cjw <cjw> 73.0.3683.86-1.mga7
+ Revision: 1381094
- add linker option --no-keep-files-mapped for x86 to fix out-of-memory error
- 73.0.3683.86
- disable javascript optimization since closure-compiler is too old

* Fri Mar 08 2019 cjw <cjw> 72.0.3626.121-1.mga7
+ Revision: 1372762
- 72.0.3626.121

* Mon Feb 18 2019 cjw <cjw> 72.0.3626.109-1.mga7
+ Revision: 1368311
- 72.0.3626.109

* Mon Feb 18 2019 tv <tv> 72.0.3626.96-1.mga7
+ Revision: 1368120
- temporary disable -Werror=sign-compare
+ cjw <cjw>
- 72.0.3626.96

* Mon Dec 31 2018 tv <tv> 70.0.3538.77-2.mga7
+ Revision: 1347329
- rebuild with latest icu

* Fri Oct 26 2018 cjw <cjw> 70.0.3538.77-1.mga7
+ Revision: 1325622
- 70.0.3538.77

* Tue Oct 23 2018 cjw <cjw> 70.0.3538.67-1.mga7
+ Revision: 1324743
- disable aarch64 build for now
- fix build with harfbuzz 2.0.x
- 70.0.3538.67
- also build on aarch64
+ joequant <joequant>
- add patch to avoid cinnamon crash

* Thu Sep 06 2018 cjw <cjw> 69.0.3497.81-1.mga7
+ Revision: 1257517
- 69.0.3497.81
- package man page

* Thu Aug 23 2018 tv <tv> 68.0.3440.106-3.mga7
+ Revision: 1253512
- rebuild with latest icu

* Sat Aug 18 2018 cjw <cjw> 68.0.3440.106-1.mga7
+ Revision: 1252556
- fix i586 build
- fix build with gcc 8
- 68.0.3440.106

* Sun Jul 29 2018 cjw <cjw> 68.0.3440.75-1.mga7
+ Revision: 1245776
- 68.0.3440.75

* Wed Jun 20 2018 pterjan <pterjan> 67.0.3396.87-2.mga7
+ Revision: 1238247
- Create a new API key

* Sun Jun 17 2018 cjw <cjw> 67.0.3396.87-1.mga7
+ Revision: 1237422
- 67.0.3396.87
+ tv <tv>
- remove ref to old tarball

* Fri Jun 08 2018 cjw <cjw> 67.0.3396.79-1.mga7
+ Revision: 1235325
- 67.0.3396.79

* Thu May 31 2018 cjw <cjw> 67.0.3396.62-1.mga7.tainted
+ Revision: 1233232
- 67.0.3396.62

* Tue May 22 2018 zezinho <zezinho> 66.0.3359.170-1.mga7
+ Revision: 1231647
- new version 66.0.3359.170 and two patches from new padawan adrien guichard
+ tv <tv>
- 66.0.3359.139 (tarball from FC)
- rediff patches
- update to 64.0.3282.140
- rebuild for new libvpx
+ cjw <cjw>
- 65.0.3325.162
- add a note in the description about libavcodec from core repository
- 64.0.3282.119
+ joequant <joequant>
- rebuild with new vpx library

* Sun Dec 31 2017 cjw <cjw> 63.0.3239.108-1.mga7
+ Revision: 1188197
- 63.0.3239.108
+ wally <wally>
- rebuild for new icu

* Sun Nov 19 2017 cjw <cjw> 62.0.3202.94-1.mga7
+ Revision: 1177713
- 62.0.3202.94

* Mon Nov 13 2017 cjw <cjw> 62.0.3202.89-1.mga7
+ Revision: 1177132
- 62.0.3202.89

* Sun Oct 22 2017 cjw <cjw> 62.0.3202.62-2.mga7
+ Revision: 1173070
- i586 build fixes
- 62.0.3202.62

* Sat Sep 16 2017 cjw <cjw> 61.0.3163.91-1.mga7
+ Revision: 1154811
- 61.0.3163.91

* Mon Aug 28 2017 cjw <cjw> 60.0.3112.113-1.mga7
+ Revision: 1148415
- 60.0.3112.113

* Mon Aug 21 2017 neoclust <neoclust> 60.0.3112.101-1.mga7
+ Revision: 1142528
- New version 60.0.3112.101

* Sun Aug 20 2017 neoclust <neoclust> 60.0.3112.90-3.mga7
+ Revision: 1142128
- Rebuild against openjpeg-2.2

* Tue Aug 08 2017 cjw <cjw> 60.0.3112.90-2.mga7
+ Revision: 1138786
- fix i586 build
- 60.0.3112.90
- add -Wno-error=pointer-to-int-cast to CXXFLAGS to fix i586 build
- 60.0.3112.78

* Thu Jul 20 2017 cjw <cjw> 59.0.3071.115-1.mga7
+ Revision: 1125681
- 59.0.3071.115
- 59.0.3071.109
- 58.0.3029.110

* Tue May 02 2017 akien <akien> 57.0.2987.133-6.mga6
+ Revision: 1098274
- Rebuild for ffmpeg 3.3

* Mon Apr 10 2017 cjw <cjw> 57.0.2987.133-5.mga6
+ Revision: 1096249
- patch all in-tree typedefs of GLsizeiptr and GLintptr to match system mesa
- 57.0.2987.133
- fix local typedefs of GLintptr and GLsizeiptr to match those in mesa
- 57.0.2987.110

* Wed Mar 15 2017 mrambo3501 <mrambo3501> 56.0.2924.87-3.mga6
+ Revision: 1092686
- Rebuild for icu-58.2

* Wed Mar 01 2017 ghibo <ghibo> 56.0.2924.87-2.mga6
+ Revision: 1088356
- Rebuilt against pulseaudio 10
+ cjw <cjw>
- add build dep on gtk+3 to fix build
- 56.0.2924.87
- Patch7: add support for playback of WMV, FLV, and MPEG files

* Sat Dec 10 2016 cjw <cjw> 55.0.2883.87-1.mga6
+ Revision: 1073980
- 55.0.2883.87

* Sun Dec 04 2016 cjw <cjw> 55.0.2883.75-1.mga6
+ Revision: 1072466
- 55.0.2883.75
- patch32: report support for FLAC in HTML5 canPLayType

* Sat Nov 19 2016 cjw <cjw> 54.0.2840.100-2.mga6
+ Revision: 1068338
- fix recognition of RIFF files in patch6 that broke with rediffing for version 51

* Sun Nov 13 2016 cjw <cjw> 54.0.2840.100-1.mga6
+ Revision: 1066919
- 54.0.2840.100

* Wed Nov 09 2016 cjw <cjw> 54.0.2840.90-2.mga6
+ Revision: 1066094
- disable debug info so i586 build does not run out of memory
- add build dependency on git for gn
- configure google api key
- add missing build dependency on pkgconfig(libtiff-4)
- add missing build dependency on pkgconfig(libopenjp2)
- disable unused build dependency on libevent-devel
- 54.0.2840.90
- use gn to configure build
- do not build with system libevent, it breaks chromium

* Fri Sep 30 2016 cjw <cjw> 53.0.2785.143-1.mga6
+ Revision: 1057789
- 53.0.2785.143

* Wed Sep 14 2016 cjw <cjw> 53.0.2785.113-1.mga6
+ Revision: 1052898
- 53.0.2785.113

* Mon Sep 12 2016 cjw <cjw> 53.0.2785.101-1.mga6
+ Revision: 1051587
- 53.0.2785.101
- drop patches 20 and 23, fixed upstream
- drop patch22, needs updating but we can do without

* Fri Aug 05 2016 cjw <cjw> 52.0.2743.116-1.mga6
+ Revision: 1044626
- 52.0.2743.116

* Sun Jul 24 2016 cjw <cjw> 52.0.2743.82-1.mga6
+ Revision: 1043545
- 52.0.2743.82

* Fri Jun 17 2016 cjw <cjw> 51.0.2704.103-1.mga6
+ Revision: 1022036
- 51.0.2704.103

* Sat Jun 04 2016 cjw <cjw> 51.0.2704.79-1.mga6
+ Revision: 1020232
- 51.0.2704.79

* Fri May 27 2016 cjw <cjw> 51.0.2704.63-2.mga6
+ Revision: 1018987
- 51.0.2704.63

* Fri May 13 2016 shlomif <shlomif> 50.0.2661.102-2.mga6
+ Revision: 1015013
- Rebuild for new ICU

* Thu May 12 2016 cjw <cjw> 50.0.2661.102-1.mga6
+ Revision: 1013936
- 50.0.2661.102

* Fri Apr 29 2016 cjw <cjw> 50.0.2661.94-1.mga6
+ Revision: 1007644
- 50.0.2661.94

* Mon Apr 18 2016 cjw <cjw> 50.0.2661.75-1.mga6
+ Revision: 1003526
- 50.0.2661.75
- use icu data file again, otherwise chromium does not start
- buildrequires: liabatomic-devel
- patch17: fix build with system icu, this code is available in next upstream release
- patch18: build fixes for webrtc code with system ffmpeg

* Wed Mar 30 2016 cjw <cjw> 49.0.2623.110-1.mga6
+ Revision: 996948
- 49.0.2623.110

* Sun Mar 27 2016 cjw <cjw> 49.0.2623.108-1.mga6
+ Revision: 995749
- 49.0.2623.108

* Wed Mar 09 2016 cjw <cjw> 49.0.2623.87-1.mga6
+ Revision: 988593
- 49.0.2623.87

* Sat Feb 06 2016 cjw <cjw> 48.0.2564.103-1.mga6
+ Revision: 941349
- 48.0.2564.103

* Thu Jan 28 2016 cjw <cjw> 48.0.2564.97-1.mga6
+ Revision: 928296
- 48.0.2564.97

* Wed Jan 27 2016 cjw <cjw> 48.0.2564.82-1.mga6
+ Revision: 928215
- 48.0.2564.82
- patch15: fix one versioned icu namespace reference

* Sun Jan 17 2016 cjw <cjw> 47.0.2526.111-2.mga6
+ Revision: 924812
- add some support for using the widevine cdm from chrome
- do not build against system protobuf since it still doesn't work

* Thu Jan 14 2016 luigiwalser <luigiwalser> 47.0.2526.111-1.mga6
+ Revision: 923013
- 47.0.2526.111
- remove dependence on ICU data file
- build with system fontconfig and jsoncpp
- do not build against pre-build sysroot image
- enable hidpi and touch_ui support
- try using system protobuf again

* Fri Jan 01 2016 luigiwalser <luigiwalser> 47.0.2526.106-2.mga6
+ Revision: 917821
- rebuild for icu

* Wed Dec 16 2015 luigiwalser <luigiwalser> 47.0.2526.106-1.mga6
+ Revision: 911074
- 47.0.2526.106

* Wed Dec 09 2015 luigiwalser <luigiwalser> 47.0.2526.80-1.mga6
+ Revision: 909138
- 47.0.2526.80

* Thu Dec 03 2015 cjw <cjw> 47.0.2526.73-1.mga6
+ Revision: 907901
- patch13: fix build with system libvpx
+ luigiwalser <luigiwalser>
- 47.0.2526.73

* Sat Nov 21 2015 cjw <cjw> 46.0.2490.86-2.mga6
+ Revision: 904684
- rebuild for new libvpx

* Thu Nov 12 2015 luigiwalser <luigiwalser> 46.0.2490.86-1.mga6
+ Revision: 902972
- 46.0.2490.86
- disable eol fix as this corrupts binaries and causes crashes (omdv)

* Thu Oct 22 2015 luigiwalser <luigiwalser> 46.0.2490.80-1.mga6
+ Revision: 894332
- 46.0.2490.80

* Wed Oct 21 2015 cjw <cjw> 46.0.2490.71-1.mga6
+ Revision: 893910
- 46.0.2490.71
+ neoclust <neoclust>
- New version 46.0.2490.71

* Thu Oct 01 2015 luigiwalser <luigiwalser> 45.0.2454.101-1.mga6
+ Revision: 885573
- 45.0.2454.101
- add patch from debian via rosa to disable third party cookies

* Wed Sep 23 2015 luigiwalser <luigiwalser> 45.0.2454.99-1.mga6
+ Revision: 882436
- 45.0.2454.99

* Thu Sep 03 2015 cjw <cjw> 45.0.2454.85-1.mga6
+ Revision: 872610
- 45.0.2454.85

* Wed Aug 26 2015 joequant <joequant> 44.0.2403.125-2.mga6
+ Revision: 869448
- compile issues
- recompile with new snappy and gcc

* Wed Jul 29 2015 cjw <cjw> 44.0.2403.125-1.mga6
+ Revision: 858952
- 44.0.2403.125
- build with system snappy library
- build with system libvpx

* Sun Jul 26 2015 cjw <cjw> 44.0.2403.107-1.mga6
+ Revision: 857773
- 44.0.2403.107
- drop patch12 - fixed upstream

* Fri Jul 24 2015 cjw <cjw> 44.0.2403.89-1.mga6
+ Revision: 856987
- 44.0.2403.89
- drop patch4 (fix build with system ffmpeg) since it does not apply and is apparently not needed anymore
- patch12: do not a send "https=1" HTTP header that could result in a redirect loop making a site inaccessible

* Wed Jun 24 2015 cjw <cjw> 43.0.2357.130-1.mga6
+ Revision: 842495
- 43.0.2357.130
- patch10: do not silently download and install 'external components'

* Thu May 21 2015 cjw <cjw> 43.0.2357.65-1.mga5
+ Revision: 822479
- 43.0.2357.65
- drop patch8, fixed upstream
- patch9: remove new code that uses an internal ffmpeg header

* Fri May 01 2015 cjw <cjw> 42.0.2311.135-1.mga5
+ Revision: 820951
- 42.0.2311.135

* Sun Apr 19 2015 cjw <cjw> 42.0.2311.90-1.mga5
+ Revision: 820473
- 42.0.2311.90

* Sat Apr 04 2015 cjw <cjw> 41.0.2272.118-1.mga5
+ Revision: 819698
- 41.0.2272.118

* Mon Mar 30 2015 cjw <cjw> 41.0.2272.101-2.mga5
+ Revision: 819437
- 41.0.2272.101
- patch8: disable touch device support to fix mouse in qemu

* Sun Mar 22 2015 pterjan <pterjan> 41.0.2272.101-1.mga5
+ Revision: 819072
- Update to 41.0.2272.101

* Fri Feb 06 2015 cjw <cjw> 40.0.2214.111-1.mga5
+ Revision: 813640
- 40.0.2214.111
- small spec file cleanup:
 * drop _src and basever defines
 * sort buildrequires
 * whitespace changes in gyp defines
 * remove commented out lines

* Fri Jan 23 2015 cjw <cjw> 40.0.2214.91-1.mga5
+ Revision: 811941
- 40.0.2214.91

* Thu Dec 25 2014 cjw <cjw> 39.0.2171.95-1.mga5.tainted
+ Revision: 805968
- 39.0.2171.95

* Thu Dec 04 2014 philippem <philippem> 39.0.2171.65-4.mga5
+ Revision: 801426
- drop BR: python-pyxml

* Mon Nov 24 2014 cjw <cjw> 39.0.2171.65-3.mga5
+ Revision: 798825
- patch6: accept matroska and avi file types
- patch7: enable ac3 and dts audio codecs
- build config: switch from deprecated linux_use_tcmalloc=0 to use_allocator=none

* Thu Nov 20 2014 cjw <cjw> 39.0.2171.65-2.mga5
+ Revision: 797938
- package pdf plugin
- build with system libwebp
- fix a compilation warning introduced in the spec file

* Wed Nov 19 2014 cjw <cjw> 39.0.2171.65-1.mga5
+ Revision: 797819
- 39.0.2171.65 -- tarball generated from git because google's was not available (yet) in commondatastorage
- use system yasm and libharfbuzz
- disable SSL3 by setting minimum https protocol version to TLS1 in the wrapper script
- drop patch0,patch2,patch3: not needed anymore
+ luigiwalser <luigiwalser>
- ensure SUID root perms on chrome-sandbox binary

* Fri Nov 14 2014 akien <akien> 38.0.2125.104-3.mga5
+ Revision: 797198
- Rebuild for ffmpeg 2.4

* Tue Nov 04 2014 cjw <cjw> 38.0.2125.104-2.mga5
+ Revision: 795517
- build with system ffmpeg - no tainted version
- build with system ICU, no bundled .dat file
- build with system opus

* Sun Oct 19 2014 luigiwalser <luigiwalser> 38.0.2125.104-1.mga5.tainted
+ Revision: 789280
- remove patch 1 (fixed upstream)
- 38.0.2125.104
- 38.0.2125.101
- update patch2 from rosa

* Mon Oct 06 2014 luigiwalser <luigiwalser> 37.0.2062.120-1.mga5.tainted
+ Revision: 737113
- add patch from mga4 to fix gn build
- add patch from omdv to fix crash with gcc 4.9
- 37.0.2062.120
+ umeabot <umeabot>
- Rebuild to fix library dependencies
- Mageia 5 Mass Rebuild

* Tue Aug 12 2014 pterjan <pterjan> 36.0.1985.125-1.mga5
+ Revision: 662020
- Disable fatal linker warnings :(
- We can't use system sqlite, it breaks webdb which needs added functions
- Use systm sqlite, this is the default and else it conflicts with using nss
- Use a patch to force gold, ldflags are no longer used in the second build
- Update to 36.0.1985.125
- Fix gn build by asking to use gold instead of patching
+ luigiwalser <luigiwalser>
- enable aura interface

* Mon May 19 2014 luigiwalser <luigiwalser> 34.0.1847.137-1.mga5.tainted
+ Revision: 623977
- 34.0.1847.137
+ anssi <anssi>
- Use the PPAPI Flash Player (PepperFlash) from the Google Chrome
  installation, if present

* Thu May 08 2014 luigiwalser <luigiwalser> 34.0.1847.132-2.mga5.tainted
+ Revision: 621192
- 34.0.1847.132

* Tue Apr 15 2014 pterjan <pterjan> 34.0.1847.116-2.mga5
+ Revision: 614551
- Use embedded protobuf for now, to avoid a crash

* Fri Apr 11 2014 pterjan <pterjan> 34.0.1847.116-1.mga5
+ Revision: 613501
- Update list of files to install
- Build gn from sources
- Build with ninja
+ luigiwalser <luigiwalser>
- 34.0.1847.116

* Sat Mar 15 2014 luigiwalser <luigiwalser> 33.0.1750.152-1.mga5.tainted
+ Revision: 604045
- 33.0.1750.152

* Wed Mar 05 2014 luigiwalser <luigiwalser> 33.0.1750.146-1.mga5.tainted
+ Revision: 600273
- 33.0.1750.146

* Wed Feb 26 2014 luigiwalser <luigiwalser> 33.0.1750.117-1.mga5.tainted
+ Revision: 597400
- 33.0.1750.117

* Wed Feb 05 2014 luigiwalser <luigiwalser> 32.0.1700.102-1.mga5.tainted
+ Revision: 583630
- 32.0.1700.102

* Tue Dec 31 2013 dmorgan <dmorgan> 31.0.1650.63-2.mga4.tainted
+ Revision: 563503
- Rebuild against current protobuf

* Mon Dec 16 2013 pterjan <pterjan> 31.0.1650.63-1.mga4.tainted
+ Revision: 557936
- Add missing BuildRequires
- Use python 2.7 instead of 2.6
- Use correct libdir on 64 bits
+ luigiwalser <luigiwalser>
- 31.0.1650.63

* Tue Nov 12 2013 luigiwalser <luigiwalser> 31.0.1650.48-1.mga4.tainted
+ Revision: 550820
- 31.0.1650.48

* Fri Nov 01 2013 luigiwalser <luigiwalser> 30.0.1599.114-1.mga4.tainted
+ Revision: 548727
- 30.0.1599.114

* Mon Oct 21 2013 umeabot <umeabot> 30.0.1599.66-2.mga4.tainted
+ Revision: 540537
- Mageia 4 Mass Rebuild

* Wed Oct 09 2013 luigiwalser <luigiwalser> 30.0.1599.66-1.mga4
+ Revision: 493826
- 30.0.1599.66

* Sat Sep 07 2013 dmorgan <dmorgan> 29.0.1547.65-1.mga4.tainted
+ Revision: 475592
- New version 29.0.1547.65

* Fri Sep 06 2013 dmorgan <dmorgan> 29.0.1547.72-1.mga4.tainted
+ Revision: 475379
- New version 29.0.1547.72

* Wed Aug 14 2013 luigiwalser <luigiwalser> 28.0.1500.95-1.mga4.tainted
+ Revision: 466566
- 28.0.1500.95

* Mon Jul 29 2013 pterjan <pterjan> 28.0.1500.71-3.mga4.tainted
+ Revision: 460614
- Enable all codecs for tainted build

* Wed Jul 24 2013 pterjan <pterjan> 28.0.1500.71-2.mga4.tainted
+ Revision: 457547
- Add API keys (mga#9851)

* Mon Jul 22 2013 luigiwalser <luigiwalser> 28.0.1500.71-1.mga4
+ Revision: 457331
- fix conflict with nss 3.15 (redefinition of struct SECItemArrayStr)
- 28.0.1500.71
+ dmorgan <dmorgan>
- New version

* Tue Jun 18 2013 tv <tv> 28.0.1500.50-1.mga4
+ Revision: 444637
- new release

* Mon Jun 10 2013 dmorgan <dmorgan> 27.0.1454.1-1.mga4
+ Revision: 441875
- New version

* Mon Jun 03 2013 fwang <fwang> 26.0.1410.65-2.mga4.tainted
+ Revision: 435565
- rebuild for new libpng

* Tue Apr 30 2013 dmorgan <dmorgan> 26.0.1410.65-1.mga3.tainted
+ Revision: 411705
- New version ( mga #9703)

* Fri Mar 29 2013 dmorgan <dmorgan> 26.0.1410.51-5.mga3.tainted
+ Revision: 406432
- Obsolete unstable/beta and only provide stable on stable distro

* Fri Mar 29 2013 dmorgan <dmorgan> 26.0.1410.51-4.mga3.tainted
+ Revision: 406427
- Enable tainted build

* Thu Mar 28 2013 dmorgan <dmorgan> 26.0.1410.51-4.mga3.nonfree
+ Revision: 405996
- New version 26.0.1410.51

* Wed Mar 27 2013 dmorgan <dmorgan> 26.0.1410.49-4.mga3
+ Revision: 405749
- New version

* Sun Mar 24 2013 dmorgan <dmorgan> 25.0.1364.173-4.mga3.nonfree
+ Revision: 405124
+ rebuild (emptylog)

* Sun Mar 24 2013 dmorgan <dmorgan> 25.0.1364.173-4.mga3
+ Revision: 405113
- Add comment about why we use bundle libpng
- Disable proprietary_codecs

* Sat Mar 23 2013 dmorgan <dmorgan> 25.0.1364.173-2.mga3
+ Revision: 404604
- Install some more pak files

* Sat Mar 23 2013 dmorgan <dmorgan> 25.0.1364.173-1.mga3
+ Revision: 404595
- New version 25.0.1364.173
- New version 25.0.1364.172

* Fri Jan 11 2013 umeabot <umeabot> 21.0.1180.81-3.mga3
+ Revision: 347743
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Sep 18 2012 dams <dams> 21.0.1180.81-2.mga3
+ Revision: 295848
- add back some 'x-scheme-handler' to allow the app to be used as a default application in GNOME3

* Fri Aug 31 2012 dmorgan <dmorgan> 21.0.1180.81-1.mga3
+ Revision: 286643
- Disable system tcmalloc for now ( does not compile )
- New version 21.0.1180.81
- Remove applied patch
- New version 21.0.1180.57
+ dams <dams>
- clean specfile
- remove useless part of the description: old issue (5.x)

* Fri Jul 13 2012 dmorgan <dmorgan> 20.0.1132.57-1.mga3
+ Revision: 270472
- New version 20.0.1132.57

* Sat Jul 07 2012 dmorgan <dmorgan> 20.0.1132.47-8.mga3
+ Revision: 268645
- Really enable system flac

* Sat Jul 07 2012 dmorgan <dmorgan> 20.0.1132.47-7.mga3
+ Revision: 268633
- only build minizip now ( set flac to 0 )
- Build with system flac

* Sat Jul 07 2012 dmorgan <dmorgan> 20.0.1132.47-6.mga3
+ Revision: 268559
- Use system minizip

* Fri Jul 06 2012 dmorgan <dmorgan> 20.0.1132.47-5.mga3
+ Revision: 268540
+ rebuild (emptylog)

* Fri Jul 06 2012 dmorgan <dmorgan> 20.0.1132.47-4.mga3
+ Revision: 268497
- Use System Speex

* Fri Jul 06 2012 dmorgan <dmorgan> 20.0.1132.47-3.mga3
+ Revision: 268473
- Build with system v8

* Thu Jul 05 2012 dmorgan <dmorgan> 20.0.1132.47-2.mga3
+ Revision: 267912
- Package missing pak files ( thanks to dwalluck)

* Wed Jul 04 2012 dmorgan <dmorgan> 20.0.1132.47-1.mga3
+ Revision: 267786
- New upstream release 20.0.1132.47 (144678)
+ colin <colin>
- Rebuild against new libudev major

* Wed Jun 20 2012 tv <tv> 19.0.1084.56-1.mga3
+ Revision: 262101
- new release
- use system xdg utils
- strip debug from NaCl IRT files

* Thu May 10 2012 dmorgan <dmorgan> 18.0.1025.168-1.mga2
+ Revision: 235029
- Fix build
- new upstream release 18.0.1025.168
  * [109574] Medium CVE-2011-3058: Bad interaction possibly leading to XSS
    in EUC-JP
  * [112317] Medium CVE-2011-3059: Out-of-bounds read in SVG text handling
  * [114056] Medium CVE-2011-3060: Out-of-bounds read in text fragment handling
  * [116398] Medium CVE-2011-3061: SPDY proxy certificate checking error
  * [116524] High CVE-2011-3062: Off-by-one in OpenType Sanitizer
  * [117417] Low CVE-2011-3063: Validate navigation requests from the renderer
    more carefully
  * [117471] High CVE-2011-3064: Use-after-free in SVG clipping
  * [117588] High CVE-2011-3065: Memory corruption in Skia
  * [117794] Medium CVE-2011-3057: Invalid read in v8
  * fix black screen on Hybrid Graphics system with GPU accelerated
    compositing enabled (Issue: 117371)
  * fix CSS not applied to <content> element (Issue: 114667)
  * fix Regression rendering a div with background gradient and borders
    (Issue: 113726)
  * fix Canvas 2D line drawing bug with GPU acceleration (Issue: 121285)
  * fix Multiple crashes (Issues: 72235, 116825 and 92998)
  * fix Pop-up dialog is at wrong position (Issue: 116045)
  * fix HTML Canvas patterns are broken if you change the transformation
    matrix (Issue: 112165)
  * fix SSL interstitial error "proceed anyway" / "back to safety" buttons
    don't work (Issue: 119252)
  * [106577] Medium CVE-2011-3066: Out-of-bounds read in Skia clipping
  * [117583] Medium CVE-2011-3067: Cross-origin iframe replacement
  * [117698] High CVE-2011-3068: Use-after-free in run-in handling
  * [117728] High CVE-2011-3069: Use-after-free in line box handling
  * [118185] High CVE-2011-3070: Use-after-free in v8 bindings
  * [118273] High CVE-2011-3071: Use-after-free in HTMLMediaElement
  * [118467] Low CVE-2011-3072: Cross-origin violation parenting pop-up window
  * [118593] High CVE-2011-3073: Use-after-free in SVG resource handling
  * [119281] Medium CVE-2011-3074: Use-after-free in media handling
  * [119525] High CVE-2011-3075: Use-after-free applying style command
  * [120037] High CVE-2011-3076: Use-after-free in focus handling
  * [120189] Medium CVE-2011-3077: Read-after-free in script bindings
  * [106413] High CVE-2011-3078: Use after free in floats handling
  * [117110] High CVE-2012-1521: Use after free in xml parser
  * [117627] Medium CVE-2011-3079: IPC validation failure
  * [121726] Medium CVE-2011-3080: Race condition in sandbox IPC
  * [121899] High CVE-2011-3081: Use after free in floats handling

* Tue Mar 06 2012 tv <tv> 17.0.963.65-1.mga2
+ Revision: 220614
- new release

* Sat Jan 28 2012 tv <tv> 16.0.912.77-1.mga2
+ Revision: 202429
- new release
+ dmorgan <dmorgan>
- Own %%{_crdir}

* Fri Jan 06 2012 tv <tv> 16.0.912.75-1.mga2
+ Revision: 192710
- new release
+ dams <dams>
- add some 'x-scheme-handler' to allow the app to be used as a default application in GNOME3

* Wed Dec 14 2011 dmorgan <dmorgan> 16.0.912.63-1.mga2
+ Revision: 181433
- New version

* Mon Nov 14 2011 tv <tv> 15.0.874.120-1.mga2
+ Revision: 167581
- new release
- only include glib.h directly
- new release

* Tue Oct 25 2011 dmorgan <dmorgan> 15.0.874.102-1.mga2
+ Revision: 158109
- New version 15.0.874.102

* Fri Oct 07 2011 tv <tv> 14.0.835.202-1.mga2
+ Revision: 152697
- new release

* Sat Sep 17 2011 dmorgan <dmorgan> 14.0.835.163-1.mga2
+ Revision: 144568
- Drop libpng patch, merged upstream
- Fix version
- New version 14.0.794.0

* Mon Sep 12 2011 fwang <fwang> 13.0.782.220-2.mga2
+ Revision: 142721
- fix build with libpng1.5
- rebuild for new libpng

* Mon Sep 05 2011 dmorgan <dmorgan> 13.0.782.220-1.mga2
+ Revision: 138669
- Do not apply P3: Fix build
- Fix typo
- new upstream release 13.0.782.220 (99552)
 * revoking trust for SSL certificates issued by DigiNotar-controlled
   intermediate CAs used by the Dutch PKIoverheid program
+ tv <tv>
- new release
- new release

* Wed Jun 29 2011 tv <tv> 12.0.742.112-1.mga2
+ Revision: 116116
- BuildRequires: perl-Switch
- new release

* Thu Jun 09 2011 tv <tv> 12.0.742.91-1.mga2
+ Revision: 102682
- new upstream release 12.0.742.91 (stable)

* Wed May 18 2011 tv <tv> 11.0.696.68-1.mga1
+ Revision: 99600
- new upstream release 11.0.696.68 (stable)
- security fixes
  * [64046] High CVE-2011-1799: Bad casts in Chromium WebKit glue.
  * [80608] High CVE-2011-1800: Integer overflows in SVG filters.

* Sat May 07 2011 tv <tv> 11.0.696.65-1.mga1
+ Revision: 95741
- new upstream release 11.0.696.65 (stable)

* Fri Apr 29 2011 tv <tv> 11.0.696.57-1.mga1
+ Revision: 93388
- new upstream release 11.0.696.57 (stable)
  (detailed changelog at http://goo.gl/arI9m)

* Fri Apr 15 2011 tv <tv> 10.0.648.205-1.mga1
+ Revision: 85803
- new upstream release 10.0.648.205 (stable)
  (detailed changelog at http://goo.gl/wJg8b)

* Wed Apr 06 2011 tv <tv> 10.0.648.204-1.mga1
+ Revision: 80981
- new upstream release 10.0.648.204 (stable)
- BuildRequires: libevent-devel speex-devel
- fix a group

* Tue Mar 22 2011 tv <tv> 10.0.648.151-1.mga1
+ Revision: 75407
- new upstream release 10.0.648.151 (stable)
  * blacklist a small number of HTTPS certificates

* Wed Mar 16 2011 tv <tv> 10.0.648.133-1.mga1
+ Revision: 72787
- imported package chromium-browser-stable


* Sat Mar 12 2011 Claudio Matsuoka <claudio@mandriva.com> 10.0.648.133-1mdv2011.0
+ Revision: 644042
- new upstream release 10.0.648.133 (stable)
  * [CVE-2011-1290] fix memory corruption in style handling
- check presence of patch files

* Fri Mar 11 2011 Claudio Matsuoka <claudio@mandriva.com> 10.0.648.127-2
+ Revision: 643848
- apply patches correctly

* Wed Mar 09 2011 Claudio Matsuoka <claudio@mandriva.com> 10.0.648.127-1
+ Revision: 643105
- new upstream release 10.0.648.127 (stable)
  * New version of V8 which greatly improves javascript performance
  * New settings pages that open in a tab, rather than a dialog box
  * Improved security with malware reporting and disabling outdated plugins
    by default
  * Password sync as part of Chrome Sync now enabled by default
  * GPU Accelerated Video
  * Background WebApps
  * webNavigation extension API
- annoucement and security fix list: http://goo.gl/PWdBi
- move chromium patch 10.0.648.114 from beta channel to stable
- move chromium patch 10.0.648.82 from beta channel to stable
- move chromium patch 10.0.648.127 from beta channel to stable
- move chromium patch 10.0.648.126 from beta channel to stable
- move chromium 10.0.648.45 from beta channel to stable
- move patch from beta channel to stable
- move patch from beta channel to stable

* Tue Mar 01 2011 Claudio Matsuoka <claudio@mandriva.com> 9.0.597.107-1
+ Revision: 641075
- new upstream release 9.0.597.107 (stable)
- contains security fixes, see detais at http://goo.gl/rkTSm
- add beta browser to the downgrade notice in spec description

* Sat Feb 12 2011 Claudio Matsuoka <claudio@mandriva.com> 9.0.597.98-1
+ Revision: 637364
- new upstream version 9.0.597.98
- add conflicts to beta channel browser
- add obsoletes entry for old (canary) chromium-browser package

* Thu Feb 10 2011 Claudio Matsuoka <claudio@mandriva.com> 9.0.597.94-1
+ Revision: 637082
- imported package chromium-browser-stable