mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 07:02:48 +00:00
Merge pull request #4 from import/chromium-browser-stable:rosa2016.1
Backports and update
This commit is contained in:
commit
cb101ed552
6 changed files with 33 additions and 60 deletions
4
.abf.yml
4
.abf.yml
|
@ -1,6 +1,6 @@
|
||||||
sources:
|
sources:
|
||||||
chromium-97.0.4692.99.tar.xz: c9f525e5eb01b30e68c1c330d7c4975d208fe4fb
|
chromium-98.0.4758.102.tar.xz: 726a70cd4cabe0cf3adcadf130056e56226606b0
|
||||||
chromium-gost-63253fcf20fea4093044da8713f2b695e0f31b64.tar.gz: e4f542423ef8846df4d5b4dc26721cfe54166dc4
|
chromium-gost-61264192d351b193aad3584c729af07868dadfd9.tar.gz: b67f76e7914b6cf5f6359077fe1096ad02806e81
|
||||||
depot_tools.tar.xz: 082b7f9a4dfa7eb03900755b4866aef2d73543a5
|
depot_tools.tar.xz: 082b7f9a4dfa7eb03900755b4866aef2d73543a5
|
||||||
icons.tar.bz2: a835954af164bf38f8ea4ea80608839bed7800a3
|
icons.tar.bz2: a835954af164bf38f8ea4ea80608839bed7800a3
|
||||||
msspi-d9e90e4ef29b3a1abbcde4625363158566d6c8a4.tar.gz: 949483d12a369d4ba5266ff52497721ae348ad3b
|
msspi-d9e90e4ef29b3a1abbcde4625363158566d6c8a4.tar.gz: 949483d12a369d4ba5266ff52497721ae348ad3b
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
# GOST patches and sources
|
# GOST patches and sources
|
||||||
# Using commit hashes because upstream often puts tags long after making changes
|
# Using commit hashes because upstream often puts tags long after making changes
|
||||||
# (they wait for builds to finish to make a new "release" with binary packages)
|
# (they wait for builds to finish to make a new "release" with binary packages)
|
||||||
%define chromium_gost_commit 63253fcf20fea4093044da8713f2b695e0f31b64
|
%define chromium_gost_commit 61264192d351b193aad3584c729af07868dadfd9
|
||||||
%define msspi_commit d9e90e4ef29b3a1abbcde4625363158566d6c8a4
|
%define msspi_commit d9e90e4ef29b3a1abbcde4625363158566d6c8a4
|
||||||
%define _gostsourcedir %{_builddir}/chromium-gost
|
%define _gostsourcedir %{_builddir}/chromium-gost
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
Summary: A fast web browser based on the Blink engine
|
Summary: A fast web browser based on the Blink engine
|
||||||
Name: chromium-browser-stable
|
Name: chromium-browser-stable
|
||||||
Version: 97.0.4692.99
|
Version: 98.0.4758.102
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD, LGPL
|
License: BSD, LGPL
|
||||||
Group: Networking/WWW
|
Group: Networking/WWW
|
||||||
|
@ -103,6 +103,7 @@ Source21: missing_fcntl.h
|
||||||
Source30: master_preferences.json
|
Source30: master_preferences.json
|
||||||
Source31: default_bookmarks.html
|
Source31: default_bookmarks.html
|
||||||
Source32: chromium.default
|
Source32: chromium.default
|
||||||
|
Source33: chromium-default-config.json
|
||||||
Source100: icons.tar.bz2
|
Source100: icons.tar.bz2
|
||||||
Source997: depot_tools.tar.xz
|
Source997: depot_tools.tar.xz
|
||||||
Source999: new-system-icons.tar.xz
|
Source999: new-system-icons.tar.xz
|
||||||
|
@ -148,6 +149,7 @@ BuildRequires: nodejs
|
||||||
BuildRequires: nodejs14
|
BuildRequires: nodejs14
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
|
BuildRequires: jq
|
||||||
BuildRequires: yasm
|
BuildRequires: yasm
|
||||||
BuildRequires: atomic-devel
|
BuildRequires: atomic-devel
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
|
@ -212,9 +214,6 @@ BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(xtst)
|
BuildRequires: pkgconfig(xtst)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: pythonegg(setuptools)
|
BuildRequires: pythonegg(setuptools)
|
||||||
%if %{with gost}
|
|
||||||
BuildRequires: chrpath
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: atomic-devel
|
BuildRequires: atomic-devel
|
||||||
|
|
||||||
|
@ -256,6 +255,7 @@ if proprietary CryptoPro is installed.
|
||||||
%config %{_sysconfdir}/default/%{crname}
|
%config %{_sysconfdir}/default/%{crname}
|
||||||
%{_bindir}/%{crname}
|
%{_bindir}/%{crname}
|
||||||
%{_crdir}/chromium-wrapper
|
%{_crdir}/chromium-wrapper
|
||||||
|
%{_crdir}/chromium-default-config.json
|
||||||
%{_crdir}/chrome
|
%{_crdir}/chrome
|
||||||
%{_crdir}/chrome-sandbox
|
%{_crdir}/chrome-sandbox
|
||||||
%{_crdir}/chrome_crashpad_handler
|
%{_crdir}/chrome_crashpad_handler
|
||||||
|
@ -494,9 +494,6 @@ export PYTHONPATH="../../third_party/pyjson5/src:../../xcb-proto-%{xcb_version}"
|
||||||
gtk_version=3 \
|
gtk_version=3 \
|
||||||
is_clang=true \
|
is_clang=true \
|
||||||
%{?clang_use_chrome_plugins} \
|
%{?clang_use_chrome_plugins} \
|
||||||
use_system_freetype=false \
|
|
||||||
use_system_harfbuzz=false \
|
|
||||||
use_system_libpng=false \
|
|
||||||
use_vaapi=true \
|
use_vaapi=true \
|
||||||
enable_dav1d_decoder=true enable_libaom_decoder=false \
|
enable_dav1d_decoder=true enable_libaom_decoder=false \
|
||||||
%{?enable_remoting} \
|
%{?enable_remoting} \
|
||||||
|
@ -627,6 +624,8 @@ mkdir -p %{buildroot}%{_crdir}/pepper
|
||||||
find out/Release/resources/ -name "*.d" -exec rm {} \;
|
find out/Release/resources/ -name "*.d" -exec rm {} \;
|
||||||
cp -r out/Release/resources %{buildroot}%{_crdir}
|
cp -r out/Release/resources %{buildroot}%{_crdir}
|
||||||
|
|
||||||
|
install -m 0644 %{SOURCE33} %{buildroot}%{_crdir}
|
||||||
|
|
||||||
# desktop file
|
# desktop file
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/
|
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/
|
||||||
|
@ -640,3 +639,7 @@ install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{crname}/
|
||||||
install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{crname}/
|
install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{crname}/
|
||||||
|
|
||||||
find %{buildroot} -name "*.nexe" -exec strip {} \;
|
find %{buildroot} -name "*.nexe" -exec strip {} \;
|
||||||
|
|
||||||
|
%check
|
||||||
|
# ensure JSON validity
|
||||||
|
[ "$(jq .browser.custom_chrome_frame %{buildroot}%{_crdir}/chromium-default-config.json)" = "true" ]
|
||||||
|
|
15
chromium-default-config.json
Normal file
15
chromium-default-config.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"browser": {
|
||||||
|
"custom_chrome_frame": true
|
||||||
|
},
|
||||||
|
"extensions": {
|
||||||
|
"theme": {
|
||||||
|
"use_system": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"homepage": "https://rosalinux.ru",
|
||||||
|
"homepage_is_newtabpage": false,
|
||||||
|
"session": {
|
||||||
|
"restore_on_startup": 1
|
||||||
|
}
|
||||||
|
}
|
|
@ -17,14 +17,6 @@ usage () {
|
||||||
echo " -h or --help This help screen"
|
echo " -h or --help This help screen"
|
||||||
}
|
}
|
||||||
|
|
||||||
# FFmpeg needs to know where its libs are located
|
|
||||||
if [ "Z$LD_LIBRARY_PATH" != Z ] ; then
|
|
||||||
LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH
|
|
||||||
else
|
|
||||||
LD_LIBRARY_PATH=$LIBDIR
|
|
||||||
fi
|
|
||||||
export LD_LIBRARY_PATH
|
|
||||||
|
|
||||||
# xdg-settings should in PATH
|
# xdg-settings should in PATH
|
||||||
PATH=$PATH:$LIBDIR
|
PATH=$PATH:$LIBDIR
|
||||||
export PATH
|
export PATH
|
||||||
|
@ -50,45 +42,8 @@ done
|
||||||
# Set the default theme as GTK+ with system window decoration
|
# Set the default theme as GTK+ with system window decoration
|
||||||
if [ ! -d ~/.config/chromium/Default ]; then
|
if [ ! -d ~/.config/chromium/Default ]; then
|
||||||
mkdir -p ~/.config/chromium/Default
|
mkdir -p ~/.config/chromium/Default
|
||||||
cat <<EOF > ~/.config/chromium/Default/Preferences
|
# cat > instead of cp to e.g. respect umask
|
||||||
{
|
cat "$LIBDIR"/chromium-default-config.json > ~/.config/chromium/Default/Preferences
|
||||||
"browser": {
|
|
||||||
"custom_chrome_frame": false
|
|
||||||
},
|
|
||||||
"extensions": {
|
|
||||||
"theme": {
|
|
||||||
"colors": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"id": "",
|
|
||||||
"images": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"tints": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"use_system": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"homepage": "https://rosalinux.ru",
|
|
||||||
"homepage_is_newtabpage": false,
|
|
||||||
"session": {
|
|
||||||
"restore_on_startup": 1
|
|
||||||
},
|
|
||||||
"webkit": {
|
|
||||||
"webprefs": {
|
|
||||||
"default_fixed_font_size": 13,
|
|
||||||
"default_font_size": 16,
|
|
||||||
"fixed_font_family": "Droid Sans Mono",
|
|
||||||
"sansserif_font_family": "Droid Sans",
|
|
||||||
"serif_font_family": "Droid Serif"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -u $CHROME_SANDBOX ] ; then
|
if [ ! -u $CHROME_SANDBOX ] ; then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Default settings for chromium. This file is sourced by /usr/bin/chromium
|
# Default settings for chromium. This file is sourced by /usr/bin/chromium-browser
|
||||||
|
|
||||||
# Options to pass to chromium
|
# Options to pass to chromium
|
||||||
CHROMIUM_FLAGS=""
|
CHROMIUM_FLAGS=""
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="1341820561" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
|
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="1341820561" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
|
||||||
<DL><p>
|
<DL><p>
|
||||||
<DT><A HREF="https://www.rosalinux.ru/" ADD_DATE="1168027962" LAST_MODIFIED="1341820223">ROSA</A>
|
<DT><A HREF="https://www.rosalinux.ru/" ADD_DATE="1168027962" LAST_MODIFIED="1341820223">ROSA</A>
|
||||||
<DT><A HREF="http://wiki.rosalab.ru/en/" ADD_DATE="1168028118" LAST_MODIFIED="1341820310">Wiki</A>
|
<DT><A HREF="http://wiki.rosalab.ru" ADD_DATE="1168028118" LAST_MODIFIED="1341820310">Wiki</A>
|
||||||
<DT><A HREF="http://forum.rosalab.ru/en/" ADD_DATE="1168028067" LAST_MODIFIED="1341820394" ICON_URI="http://forum.rosalab.ru/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABhUlEQVQ4jWNgoBUIDQ1lnjnzDOvMmWdYQ0NDmUnUvApDA9QQRkJ6GRkY/sMVrZq3TXTepFWiCOn/jPgMQWgWTJOLjOmb0DNpy5nOSZvP+vq2T2TgiFCAKGtgwuVwZgYGBgY3txIxQYX8gy7Zi/63rr/8f97RR/8rZx34r2RSfpiBy08KotaBBU0zwlR5gbRi1ZCJ/2u2XPl78MWPH9e+//8x6eSjfwxBk/5r8CdXYtODYiKrQNISz86t/9e8+Pvryc///y9/+/+/7vzbnyo5i/8rCGYs//8f4k0HhwZkVyCiiZk/dnpg55b/K5//+7Hl9b9/C178/9937sV3l/Q5/1kFMmbDdTCgRi0jAwMDEwMDAwMzX5KnvmfT/96dV/9vfvrz99Z7n353Ljn0n8Gk6r+KQaE/uoVYw4FFIKkoJK73+/qdl/6v337xv39s/w8WwexSbC7GaYiJSYNZc/PywvaedYWe4b0WOAIPvyGkyWEoRHJm6CpmEjQjGdPQwNTQQIZGUgAAtJudJgkzYKYAAAAASUVORK5CYII=">Forums</A>
|
<DT><A HREF="https://forum.rosalinux.ru/" ADD_DATE="1168028067" LAST_MODIFIED="1341820394" ICON_URI="https://forum.rosalinux.ru/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABhUlEQVQ4jWNgoBUIDQ1lnjnzDOvMmWdYQ0NDmUnUvApDA9QQRkJ6GRkY/sMVrZq3TXTepFWiCOn/jPgMQWgWTJOLjOmb0DNpy5nOSZvP+vq2T2TgiFCAKGtgwuVwZgYGBgY3txIxQYX8gy7Zi/63rr/8f97RR/8rZx34r2RSfpiBy08KotaBBU0zwlR5gbRi1ZCJ/2u2XPl78MWPH9e+//8x6eSjfwxBk/5r8CdXYtODYiKrQNISz86t/9e8+Pvryc///y9/+/+/7vzbnyo5i/8rCGYs//8f4k0HhwZkVyCiiZk/dnpg55b/K5//+7Hl9b9/C178/9937sV3l/Q5/1kFMmbDdTCgRi0jAwMDEwMDAwMzX5KnvmfT/96dV/9vfvrz99Z7n353Ljn0n8Gk6r+KQaE/uoVYw4FFIKkoJK73+/qdl/6v337xv39s/w8WwexSbC7GaYiJSYNZc/PywvaedYWe4b0WOAIPvyGkyWEoRHJm6CpmEjQjGdPQwNTQQIZGUgAAtJudJgkzYKYAAAAASUVORK5CYII=">Forums</A>
|
||||||
</DL><p>
|
</DL><p>
|
||||||
</DL><p>
|
</DL><p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue