Mikhail Novosyolov
6974bcb422
Make Yandex be the default search engine
2022-05-29 22:39:47 +03:00
Mikhail Novosyolov
2c507d422b
Update files for v102
...
```
DEBUG: + rm -fv 'out/Release/swiftshader/*.TOC'
DEBUG: + cp -r out/Release/swiftshader /builddir/build/BUILDROOT/chromium-browser-stable-102.0.5005.61-1.x86_64/usr/lib64/chromium-browser
DEBUG: cp: cannot stat 'out/Release/swiftshader': No such file or directory
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.7ywz7i (%install)
```
Own directory
Fix typo
Pepper (PPAPI) plugins do not exist anymore, Flash player was the last one.
2022-05-29 14:35:46 +03:00
Mikhail Novosyolov
a00137467c
PDFium became not buildable with old freetype
...
In rosa2016.1:
```
../../third_party/pdfium/core/fpdfapi/font/cpdf_cidfont.cpp:740:27: error: no matching function for call to 'FT_Get_Name_Index'
: FT_Get_Name_Index(face, name);
```
2022-05-29 14:13:43 +03:00
Mikhail Novosyolov
5c5ccf2ff9
rosa2016.1: hack missing include of linux/memfd.h
...
```
[1792/51628] CXX obj/v8/v8_libbase/platform-posix.o
FAILED: obj/v8/v8_libbase/platform-posix.o
/opt/llvm15/bin/clang++ -MMD -MF obj/v8/v8_libbase/platform-posix.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-15-init-7570-gba4537b2-1\" -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=79a2e924d96e2fc1e4b937c42efd08898fa472d7 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DV8_INTL_SUPPORT -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SHORT_BUILTIN_CALLS -DV8_EXTERNAL_CODE_SPACE -DV8_ENABLE_MAGLEV -DV8_ENABLE_WEBASSEMBLY -DV8_ALLOCATION_FOLDING -DV8_ALLOCATION_SITE_TRACKING -DV8_ADVANCED_BIGINT_ALGORITHMS -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_SANDBOX -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../v8 -I../../v8/include -Igen/v8 -Igen/v8/include -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-unqualified-std-cast-call -Wno-deprecated-non-prototype -Xclang -no-opaque-pointers -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -fcomplete-member-pointers -m64 -msse3 -no-canonical-prefixes -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wmissing-field-initializers -Wno-shadow -Wunreachable-code -Wshorten-64-to-32 -O3 -fdata-sections -ffunction-sections -fno-unique-section-names -std=c++17 -Wno-trigraphs -fno-aligned-new -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../v8/src/base/platform/platform-posix.cc -o obj/v8/v8_libbase/platform-posix.o
../../v8/src/base/platform/platform-posix.cc:591:44: error: use of undeclared identifier 'MFD_CLOEXEC'
fd = memfd_create("V8MemFDForTesting", MFD_CLOEXEC);
```
2022-05-27 02:36:47 +03:00
Mikhail Novosyolov
2ed5932e48
w/a failure of 3rd-party script
...
```
DEBUG: FAILED: gen/third_party/dawn/dawn_version_gen.json_tarball
DEBUG: /usr/bin/python3 ../../third_party/dawn/generator/dawn_version_generator.py --dawn-dir ../../third_party/dawn/ --template-dir /builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/templates --jinja2-path /builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2 --output-json-tarball gen/third_party/dawn/dawn_version_gen.json_tarball --depfile gen/third_party/dawn/dawn_version_gen.json_tarball.d --expected-outputs-file gen/third_party/dawn/dawn_version_gen.expected_outputs --allowed-output-dirs-file gen/third_party/dawn/dawn_version_gen.allowed_output_dirs
DEBUG: Traceback (most recent call last):
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 113, in <module>
DEBUG: sys.exit(run_generator(DawnVersionGenerator()))
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/generator_lib.py", line 327, in run_generator
DEBUG: outputs = _do_renders(renders, args.template_dir)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/generator_lib.py", line 186, in _do_renders
DEBUG: content = env.get_template(render.template).render(**params)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/environment.py", line 1090, in render
DEBUG: self.environment.handle_exception()
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/environment.py", line 832, in handle_exception
DEBUG: reraise(*rewrite_traceback_stack(source=source))
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/_compat.py", line 28, in reraise
DEBUG: raise value.with_traceback(tb)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/templates/dawn/common/Version.h", line 20, in top-level template code
DEBUG: static constexpr char kGitHash[] = "{{get_gitHash()}}";
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 83, in <lambda>
DEBUG: 'get_gitHash': lambda: get_gitHash(os.path.abspath(args.dawn_dir)),
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 26, in get_gitHash
DEBUG: result = subprocess.run([get_git(), 'rev-parse', 'HEAD'],
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 493, in run
DEBUG: with Popen(*popenargs, **kwargs) as process:
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 858, in __init__
DEBUG: self._execute_child(args, executable, preexec_fn, close_fds,
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 1704, in _execute_child
DEBUG: raise child_exception_type(errno_num, err_msg, err_filename)
DEBUG: FileNotFoundError: [Errno 2] No such file or directory: 'git'
```
2022-05-27 01:33:46 +03:00
Mikhail Novosyolov
7d51148c90
Make new tab page functional with non-Google default search engine
2022-05-26 20:58:49 +03:00
Mikhail Novosyolov
00590e1a04
upd: 99.0.4844.84 -> 102.0.5005.61
...
Not buildable with llvm12, requires commit d69e9f9d89
in LLVM
2022-05-26 19:19:27 +03:00
Mikhail Novosyolov
716d2bc16d
upd: 99.0.4844.74 -> 99.0.4844.84
2022-03-27 13:07:09 +03:00
Mikhail Novosyolov
a3b000fc70
upd: 98.0.4758.102 -> 99.0.4844.74
2022-03-27 12:22:50 +03:00
Mikhail Novosyolov
75b913209f
Remove garbage *.TOC files
...
$ rpm -ql chromium-browser-stable | grep TOC
/usr/lib64/chromium-browser/libEGL.so.TOC
/usr/lib64/chromium-browser/libGLESv2.so.TOC
/usr/lib64/chromium-browser/swiftshader/libEGL.so.TOC
/usr/lib64/chromium-browser/swiftshader/libGLESv2.so.TOC
strace confirmed that they are not used.
2022-03-27 12:22:14 +03:00
Mikhail Novosyolov
711d751660
rm odd variable rtc_pipewire_version
...
```
DEBUG: [194/194] LINK gn
DEBUG: WARNING at the command-line "--args":24:85: Build argument has no effect.
DEBUG: rtc_use_pipewire=true rtc_link_pipewire=true rtc_pipewire_version="0.3"
DEBUG: ^----
DEBUG: The variable "rtc_pipewire_version" was set as a build argument
DEBUG: but never appeared in a declare_args() block in any buildfile.
```
2022-03-27 12:22:08 +03:00
Mikhail Novosyolov
744ffc6776
Get rid of Java in BR
...
It was needed only to check bundled javascript, it does not make sense during package building
(because we will not try to fix any issues found by it, Chromium developers do a great job themselves).
2022-03-27 12:21:59 +03:00
Mikhail Novosyolov
4731881556
Clean up strange build options
...
Remove options that seem to be odd (either do not exist, or do nothing, or set default values).
2022-03-27 12:21:34 +03:00
Mikhail Novosyolov
77afa73de9
upd: 98.0.4758.80 -> 98.0.4758.102
2022-02-16 01:23:17 +03:00
Mikhail Novosyolov
88b203f8d3
Fix typo
2022-02-05 09:02:56 +03:00
Mikhail Novosyolov
729e0758a3
Update links in bookmarks
...
Use Russian versions because English websites are not maintained properly and most users are Russian-speaking.
2022-02-05 07:27:18 +03:00
Mikhail Novosyolov
c4eeae727c
Fix missync of options
...
Libraries are unbundled bellow removed code:
<...> build/linux/unbundle/replace_gn_files.py --system-libraries \
freetype \
fontconfig \
libdrm
But settings were set to use bundled ones.
2022-02-05 07:24:52 +03:00
Mikhail Novosyolov
85fa56bfdc
Default to mode without native header to save space and use GTK+ theme by default for style consistency with the rest of the system
...
+ clean up of the config, removed odd and probably not working parts
2022-02-05 07:18:22 +03:00
Mikhail Novosyolov
b1ab34053c
Move default config into a separate file
...
This will easify editing it.
No changes made.
Reformatted by jq(1).
2022-02-05 07:11:42 +03:00
Mikhail Novosyolov
b9ef6b0247
Fix path in comment
2022-02-05 07:07:04 +03:00
Mikhail Novosyolov
d929e67ffb
Do not set LD_LIBRARY_PATH
...
RPATH is set and is enough:
$ patchelf --print-rpath /usr/lib64/chromium-browser/chrome
$ORIGIN
2022-02-05 06:50:07 +03:00
Mikhail Novosyolov
534c78119b
Remove not used BR
2022-02-05 06:48:08 +03:00
Mikhail Novosyolov
953ba44623
upd: 97.0.4692.99 -> 98.0.4758.80
2022-02-02 22:31:33 +03:00
Mikhail Novosyolov
9fe3052092
upd: 97.0.4692.71 -> 97.0.4692.99
2022-01-20 20:17:19 +03:00
Владимир Потапов
2e88ef28e3
Bump release for build without testings
2022-01-09 14:15:30 +00:00
Mikhail Novosyolov
b93ebf5a05
Fix drag'n'drop under kwin (KDE)
2022-01-06 03:15:28 +03:00
Mikhail Novosyolov
e5f2bb1dd0
upd: 96.0.4664.110 -> 97.0.4692.71
2022-01-05 04:56:37 +03:00
Mikhail Novosyolov
262a0c3b87
upd.sh: download missing sources
2022-01-05 04:49:40 +03:00
Mikhail Novosyolov
be875ba259
upd: 96.0.4664.45 -> 96.0.4664.110
2021-12-14 23:36:18 +03:00
Mikhail Novosyolov
ed660fdcbf
P chromium in addition to chromium-browser
2021-12-04 15:19:39 +03:00
Mikhail Novosyolov
f592dd8757
P chromium-browser (RB#11682)
...
Make it installable as chromium-browser intuitively.
Also, there was a dummy package chromium-browser in rosa2016.1,
but it was removed then, but is still present in main/release there
and can be installed instead.
https://bugzilla.rosalinux.ru/show_bug.cgi?id=11682#c2
2021-12-01 13:08:00 +03:00
Mikhail Novosyolov
720b5bd4f3
Fix excluding libffmpeg.so from AutoReq on rpm5, chromium-codecs is pulled manually
2021-11-30 00:16:29 +03:00
Mikhail Novosyolov
cf52b012a2
upd.sh: check appliability of patches
2021-11-28 23:23:15 +03:00
Mikhail Novosyolov
983dcda7c5
upd: 95.0.4638.69 -> 96.0.4664.45
2021-11-28 22:47:53 +03:00
Mikhail Novosyolov
5699e8a7a8
Add script which automates updating this package
2021-11-28 22:31:42 +03:00
Mikhail Novosyolov
4f485b572c
Drop i686
...
Chromium has been segfaulting on i686 (i586) for many months and versions,
nobody complained about it, so nobody is using it there,
let's just same machine time by not building it there.
2021-11-13 18:33:47 +03:00
Mikhail Novosyolov
3c52975086
Reapply 2 more fixes of window sizing which I deleted earlier
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c80
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c81
2021-11-13 18:26:02 +03:00
Mikhail Novosyolov
69ee7beee6
Off Wayland in rosa2016.1
...
A new build error occured:
```
../../ui/ozone/platform/wayland/host/wayland_window.cc:7:10: fatal error: 'bits/stdint-intn.h' file not found
include <bits/stdint-intn.h>
^~~~~~~~~~~~~~~~~~~~
```
I am fed up with fixing Wayland in rosa2016.1
Took flags from https://gitlab.com/noencoding/OS-X-Chromium-with-proprietary-codecs/-/wikis/List-of-all-gn-arguments-for-Chromium-build
2021-11-13 12:55:39 +03:00
Mikhail Novosyolov
cdd2c949a7
Use upstream workaround for XFCE
...
Previous revert of an upstream commit had 2 problems:
1) https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c77
2) window was oversized with system titlebar enabled
2021-11-13 12:01:53 +03:00
Mikhail Novosyolov
2e25c2f983
Use for compact window by default
...
Do not use system titlebar by default
2021-11-13 11:56:44 +03:00
Mikhail Novosyolov
8257e54e93
Fix default homepage
...
A new tab is a default page on start up, so it was not noticed.
Thanks to ilfat@
2021-11-13 11:55:39 +03:00
Mikhail Novosyolov
6dfdffc81d
Revert change that broke window sizing on XFCE
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821
2021-11-09 18:22:37 +03:00
Mikhail Novosyolov
59a4d58594
Pick another fix of window sizing (window sometimes becomes too large even with the previous patch)
2021-11-09 01:59:38 +03:00
Mikhail Novosyolov
0be6517888
upd: 94.0.4606.71 -> 95.0.4638.69
2021-11-05 17:14:06 +03:00
Mikhail Novosyolov
3f70623a71
upd: 94.0.4606.61 -> 94.0.4606.71
2021-10-03 13:50:20 +03:00
Mikhail Novosyolov
bc162b0b07
upd: 94.0.4606.54 -> 94.0.4606.61
2021-09-28 19:28:10 +03:00
Mikhail Novosyolov
975d7135e1
upd: 93 -> 94
...
Do not use macro which was dropped from branding-configs
2021-09-22 20:38:56 +03:00
Mikhail Novosyolov
0eec0147b6
Remove MIME-association with ftp://, chromium has been not able to open it for about a year already
2021-09-22 17:29:11 +03:00
Mikhail Novosyolov
e7d87f098c
upd: 93.0.4577.63 -> 93.0.4577.82 (security update)
2021-09-14 22:31:31 +03:00
Mikhail Novosyolov
94b83c1091
Use nodejs 14 on rosa2016.1, nodejs (10) is too old
2021-09-07 00:17:20 +03:00