Commit graph

648 commits

Author SHA1 Message Date
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
Mikhail Novosyolov
54e37fbaa7 Use pure python3
There is no sense in complicating things, borrow idea to use python3 only from alzim2/chromium-browser-stable
2021-09-06 18:50:44 +03:00
Mikhail Novosyolov
5fcc387303 Fix BR on rosa2016.1
```
[5230/49908] CC obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
FAILED: obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
/opt/llvm12/bin/clang -MMD -MF obj/third_party/iccjpeg/iccjpeg/iccjpeg.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-15163-g98033fdc-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -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 -DUSE_SYSTEM_LIBJPEG -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/iccjpeg -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 -fcomplete-member-pointers -m32 -mfpmath=sse -msse3 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -momit-leaf-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -Wno-implicit-fallthrough -c ../../third_party/iccjpeg/iccjpeg.c -o obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
In file included from ../../third_party/iccjpeg/iccjpeg.c:24:
../../third_party/iccjpeg/iccjpeg.h:26:10: fatal error: 'jpeglib.h' file not found
include <jpeglib.h>
         ^~~~~~~~~~~
2 warnings and 1 error generated.
```

(may be some -I falgs are missing)
2021-09-05 21:58:53 +03:00
Mikhail Novosyolov
d897a5dad7 Use python 3.8 on old platforms
```
[1467/49932] ACTION //gpu/config:process_json(//build/toolchain/linux:clang_x64)
FAILED: gen/gpu/config/gpu_driver_bug_list_arrays_and_structs_autogen.h gen/gpu/config/gpu_driver_bug_list_autogen.cc gen/gpu/config/gpu_driver_bug_list_autogen.h gen/gpu/config/gpu_driver_bug_list_exceptions_autogen.h gen/gpu/config/software_rendering_list_arrays_and_structs_autogen.h gen/gpu/config/software_rendering_list_autogen.cc gen/gpu/config/software_rendering_list_autogen.h gen/gpu/config/software_rendering_list_exceptions_autogen.h
/usr/bin/python3 ../../gpu/config/process_json.py --output-dir gen/gpu/config --skip-testing-data --os-filter linux
Traceback (most recent call last):
  File "../../gpu/config/process_json.py", line 1066, in <module>
    sys.exit(main(sys.argv[1:]))
  File "../../gpu/config/process_json.py", line 1041, in main
    script_dir, options.output_dir, options.os_filter)
  File "../../gpu/config/process_json.py", line 930, in process_software_rendering_list
    'Software')
  File "../../gpu/config/process_json.py", line 837, in process_json_file
    json_data = json.load(json_file)
  File "/usr/lib64/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib64/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
```
2021-09-05 21:19:32 +03:00
Mikhail Novosyolov
55cdb91470 upd: 91.0.4472.114 -> 93.0.4577.63:
- build internal ffmpeg to avoid dependency on system one (we have dropped restricted in rosa2021.1 and have merged it into main and contrib)
- clean up build dependencies a bit (more clean up is required)
- remove not used if-else and patches
- drop patches for VA-API, upstream has VA-API support now, it is enabled, it is enough, I am fed up with different patches here
- drop patch for scripts generating installtion packages which are not used by us
- rename master_prefenrecnes to master_prefenrences.json to make "abf put" not upload it to filestore.
- cherry-pick upstream fixes for statx() in new glibc
- switch to internal libsecret backend instead of the no more maintained gnome-keyring
  https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1828192
  libsecret should handle passwords previously saved via gnome-keyring
- use system fontconfig and freetype (maybe it will help to make fonts better, maybe not, but there is no sense in using bundled ones), use system libdrm
- remove odd metadata in new platforms
- enable Vulkan (RB#11463), keleg@ noted disabled Vulkan in chrome://gpu despite hardware supporting it
  https://bugzilla.rosalinux.ru/show_bug.cgi?id=11463
- disable Control Flow Integrity (is_cfi) to avoid depending on too new clang, CFI amkes no sense for us
- install crashpad_handler (chromium tries to execve() it)
2021-09-05 21:19:15 +03:00