automatic version update by autodist [release 80.0.3987.122-1mamba;Tue Mar 03 2020]
This commit is contained in:
parent
c9c383dfd7
commit
229a84f769
@ -0,0 +1,25 @@
|
||||
--- chromium-80.0.3987.122/tools/v8_context_snapshot/BUILD.gn.orig 2020-03-07 00:31:35.460144549 +0100
|
||||
+++ chromium-80.0.3987.122/tools/v8_context_snapshot/BUILD.gn 2020-03-07 02:22:49.245058034 +0100
|
||||
@@ -97,7 +97,10 @@
|
||||
if (is_win) {
|
||||
ldflags = [ "/OPT:NOICF" ] # link.exe, but also lld-link.exe.
|
||||
} else if (use_gold || use_lld) {
|
||||
- ldflags = [ "-Wl,--icf=none" ]
|
||||
+ ldflags = [
|
||||
+ "-Wl,--icf=none",
|
||||
+ "-Wl,-z,notext",
|
||||
+ ]
|
||||
}
|
||||
}
|
||||
|
||||
--- chromium-80.0.3987.122/chrome/BUILD.gn.orig 2020-03-07 02:32:07.805071147 +0100
|
||||
+++ chromium-80.0.3987.122/chrome/BUILD.gn 2020-03-07 02:33:11.886219915 +0100
|
||||
@@ -306,7 +306,7 @@
|
||||
"//chrome/common:buildflags",
|
||||
]
|
||||
|
||||
- ldflags = []
|
||||
+ ldflags = [ "-Wl,-z,notext" ]
|
||||
|
||||
# Chrome OS debug builds for arm need to pass --long-plt to the linker.
|
||||
# See https://bugs.chromium.org/p/chromium/issues/detail?id=583532
|
@ -1,6 +1,6 @@
|
||||
Name: chromium
|
||||
Epoch: 3
|
||||
Version: 80.0.3987.106
|
||||
Version: 80.0.3987.122
|
||||
Release: 1mamba
|
||||
Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web
|
||||
Group: Graphical Desktop/Applications/Internet
|
||||
@ -58,6 +58,7 @@ Patch52: chromium-80.0.3987.106-fix-building-with-unbundled-libxml.patch
|
||||
Patch53: chromium-80.0.3987.106-fix-building-with-system-zlib.patch
|
||||
Patch54: chromium-80.0.3987.106-Include-cmath-for-std-pow.patch
|
||||
Patch55: chromium-80.0.3987.106-move-RemoteTreeNode-declaration.patch
|
||||
Patch56: chromium-80.0.3987.122-x86-v8_context_snapsht-pic-error.patch
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -159,8 +160,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web.
|
||||
|
||||
%prep
|
||||
%setup -q -D -T
|
||||
:<< _EOF
|
||||
%setup -q
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
%patch19 -p1
|
||||
%patch28 -p1
|
||||
%ifarch %{ix86}
|
||||
@ -179,6 +181,9 @@ Chromium is an open-source browser project that aims to build a safer, faster, a
|
||||
%patch53 -p1
|
||||
%patch54 -p1
|
||||
%patch55 -p1
|
||||
%ifarch %{ix86}
|
||||
%patch56 -p1
|
||||
%endif
|
||||
|
||||
# Allow building against system libraries in official builds
|
||||
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
|
||||
@ -237,7 +242,7 @@ for l in ${!_system_libs[@]} ${_system_libs[libjpeg]+libjpeg_turbo}; do
|
||||
-delete
|
||||
done
|
||||
|
||||
python2 build/linux/unbundle/replace_gn_files.py \
|
||||
python2 build/linux/unbundle/repl ace_gn_files.py \
|
||||
--system-libraries "${!_system_libs[@]}"
|
||||
|
||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||
@ -250,7 +255,6 @@ sed -i \
|
||||
build/config/compiler/BUILD.gn
|
||||
|
||||
%build
|
||||
exit 1
|
||||
#:<< _EOF
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
@ -315,6 +319,8 @@ gn gen out/Release --args="${chromium_conf[*]}" \
|
||||
|
||||
# --fail-on-unused-args
|
||||
|
||||
_EOF
|
||||
|
||||
ninja -C out/Release chrome chrome_sandbox chromedriver
|
||||
|
||||
%install
|
||||
@ -344,6 +350,15 @@ cp -a out/Release/locales %{buildroot}%{_libdir}/chromium/
|
||||
|
||||
install -Dm644 chrome/installer/linux/common/desktop.template %{buildroot}%{_datadir}/applications/chromium.desktop
|
||||
|
||||
install -Dm644 chrome/app/resources/manpage.1.in %{buildroot}%{_mandir}/man1/chromium.1
|
||||
|
||||
sed -i \
|
||||
-e "s/@@MENUNAME@@/Chromium/g" \
|
||||
-e "s/@@PACKAGE@@/chromium/g" \
|
||||
-e "s/@@USR_BIN_SYMLINK_NAME@@/chromium/g" \
|
||||
%{buildroot}%{_datadir}/applications/chromium.desktop \
|
||||
%{buildroot}%{_mandir}/man1/chromium.1
|
||||
|
||||
#mkdir -p %{buildroot}%{_datadir}/applications
|
||||
#cat > %{buildroot}%{_datadir}/applications/chromium.desktop << EOF
|
||||
#[Desktop Entry]
|
||||
@ -434,9 +449,12 @@ ln -s %{_libdir}/chromium/chromedriver %{buildroot}%{_bindir}/chromedriver
|
||||
%dir %{_libdir}/chromium/locales
|
||||
%{_libdir}/chromium/locales/*.pak
|
||||
%{_libdir}/chromium/locales/*.pak.info
|
||||
#%{_mandir}/man1/chromium.1*
|
||||
%{_mandir}/man1/chromium.1*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 03 2020 Automatic Build System <autodist@mambasoft.it> 80.0.3987.122-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 15 2020 Automatic Build System <autodist@mambasoft.it> 80.0.3987.106-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user