Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3
-
@Ruarí said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
@paul1149: The build method is not really harder. Just more steps. I updated it so that it should be easier to follow. I recommend you try it. You only need to do it once for this release cycle on the snapshot series.
P.S. And yes glibc is very low level and not something you can easily just upgrade, so that was never a viable option for someone on an older distro.
Thanks, but I'm going to pass. The steps are still not terribly clear to me, there may be a large download, and I'm not clear on whether the glibc upgrade is safe or not (MX linux 21, debian buster). I'll wait. When this is resolved within the snap, please give it prominent place in the announcement thread.
-
@paul1149 said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
I'm not clear on whether the glibc upgrade is safe or not
It absolutely is not if your distro is not doing in as part of normal upgrades.
But I never suggested upgrading glibc in any of my steps.
The build process involves installing development tools (for which I gave commands). Then there is a block of terminal commands, which if you just copied and pasted into your terminal and hit enter would most likely just work. I tried it again here. The entire process too me 5 mins and 28 secs, 90% of which was downloading and extracting the chromium source package.
-
@Ruarí I hate to ask troubleshooting questions about building ffmpeg because you'll be dealing with many different users with many different configurations. But maybe it will help others. When running the commands provided, I have run into an issue (Linux Mint Cinnamon 21).
When running the
./gn
part I am getting an error.Executing //printing/cups_config_helper.py took 115ms ERROR at //printing/BUILD.gn:464:16: Script returned non-zero exit code. libs = exec_script("cups_config_helper.py", ^---------- Current dir: /home/rick/chromium-114.0.5735.26/out/ffmpegso/ Command: /usr/bin/python3 /home/rick/chromium-114.0.5735.26/printing/cups_config_helper.py --libs-for-gn Returned 1. stderr: Traceback (most recent call last): File "/home/rick/chromium-114.0.5735.26/printing/cups_config_helper.py", line 108, in <module> sys.exit(main()) File "/home/rick/chromium-114.0.5735.26/printing/cups_config_helper.py", line 92, in main flags = run_cups_config(cups_config, mode) File "/home/rick/chromium-114.0.5735.26/printing/cups_config_helper.py", line 35, in run_cups_config cups = subprocess.Popen([cups_config, '--cflags', '--ldflags', '--libs'], File "/usr/lib/python3.10/subprocess.py", line 969, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'cups-config' See //BUILD.gn:286:17: which caused the file to be included. deps += [ "//printing:printing_unittests" ] ^------------------------------
Also, there was a previous error when running
gn
that was fixed by installinglibevdev-dev
in addition tobuild-essential
Am I missing some development tools?
-
@HalleAndert : thank you
-
@Ruarí said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
@paul1149 said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
I'm not clear on whether the glibc upgrade is safe or not
It absolutely is not if your distro is not doing in as part of normal upgrades.
But I never suggested upgrading glibc in any of my steps.
The build process involves installing development tools (for which I gave commands). Then there is a block of terminal commands, which if you just copied and pasted into your terminal and hit enter would most likely just work. I tried it again here. The entire process too me 5 mins and 28 secs, 90% of which was downloading and extracting the chromium source package.
Ruari, that's well and fine. But I'm not going to download 1.5GB for this, and when I went through the process using the precise extraction technique, I ended up with a glibc error, which required the upgrade. That's when I gave up the quest. I would rather wait for the upstream solution. Thanks.
-
@ugly Hmm… I suspect you need
libcups2-dev
but pehaps a bunch more are needed. I should try this on Mint myself. -
@Ruarí Thanks. It looks like you are correct. A few more packages are still needed.
libcups2-dev
got past the error. But then I got another error and needed to installlibnss3-dev
. And now it's giving me an error aboutdri
. I couldn't quickly find the dev package for that.Figuring out the dev packages is always something I struggle with.
-
-
@npro said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
@ugly Why don't you just extract the codec from the
Arch
package as instructed?Exhausting @Ruarí is not nice imo, and that goes to all.
Thanks. I saw the post mentioned Arch and skipped past reading the entire post thinking it wouldn't apply to other distros. That was way easier.
-
@npro No It is my fault. I am not technically working these last few days (I have not been since Monday) and I have rushed a bit. I forgot how little development packages most distros install. On Slackware (my distro of choice) you get all the tools and libs to build the majority of things out of the box.
I will need to revisit this on monday and remind myself how things are and what is actually required on some of the popular distros.
There is a script bundled with Chromium that installs all the deps to build all of Chromium on debian based distros
build/install-build-deps.sh
but I was reticent to mention it because it is an overkill when just building only ffmpeg.I suppose @ugly could run it and go all out… or maybe read it in a text editor and look at the list of deps and install each on a case by case basis.
-
@npro Also not everyone can rip apart the arch package to steal a lib. It depends on them having a new enough glibc, which is not the case for many supported distros and glibc is not something you can just trivially upgrade.
-
@vivabiolzdi: you're welcome.
-
@ybjrepnfr: what is the number of the bug you logged?
-
@Ruarí are you asking @mib2berlin [to whom you replied], or me?
if me, i have not logged a b/r. as per my post above, i'm not willing to upload a file from my
~/home
directory which i cannot first inspect to be comfortable about it not including any private data. sorry. consequently, i decided to abandon my attempts to update, & will stay on the prior version for now. -
Linux ffmpeg alternative - install Play with MPV plugin
https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji -
@Ruarí I know but, Ubuntu & its spins, Mint, Pop! OS, Elementary, Fedora & its spins & derivatives, all rolling distros and their spins, which probably make 99% of Desktop distros can already use the codec from Arch. Those who use old and crusty distros (not meant for Desktop really) shouldn't be using Snapshot in the first place, they only display how ignorant (or stubborn) they really are in cases like this.
Thus it would be probably better to switch places to those 2 posts of yours, as while they are showing up one below the other in the "blog" format, the 2nd and more relevant to that 99% is burried in the "forum" format, and as it seems most use the forum for reading and commenting, not the blog, so they miss it.
-
@npro HEY! I use Slackware 15 (which is the current stable) and it does not have a new enough glibc to use the Arch file!
However, on the flip side I know how to create my own suitable lib anyway.
P.S. Ubuntu 18.04 LTS and 20.04 LTS are both still supported and will not be able to use this file. Nor any derivatives based on them. Debian stable and any derivative based on it will not be able to use this file. openSUSE will only work with if the user is using Tumbleweed, so the 15.4 stable will not work. And so on. I think you are vastly overestimating with that 99% guess, which also explains the comments from users who are struggling.
-
@csablak: No use because Youtube is 90% open media these days and those formats work just fine in the snapshot, so this does not help play youtube. Youtube works, it is other sites that do not and this extension does nothing for them. So thanks for trying but sadly this does not help.
-
@npro There is nothing special about Arch that means that this is more likely to work or is easier on Arch. It is just lucky circumstances because we have a situation where a Vivaldi fan is also a Tusted User both for Arch and our community ( @BlackIkeEagle is also a soprano) and he offers a package. He can do that because he is based on Europe, with a server in Europe. So software patents thus do not apply.
Anyone else could similarly make and offer a file, so long as they are also Europe based and serve from Europe and most importantly our community trusts them (since it is not good to just load binary software form a random source).
I would offer the file I have here, which would work on all distros but… I am am obviously too closely associated with Vivaldi. IANAL but I would assume that this would be considered roughly the same as Vivaldi sharing it directly.
-
@Ruarí said in Upgrade to Chromium 114 – Vivaldi Browser snapshot 3023.3:
HEY! I use Slackware 15 (which is the current stable) and it does not have a new enough glibc to use the Arch file!
However, on the flip side I know how to create my own suitable lib anywayIn the words of a famous ranter, "nobody uses Slackware nowadays, except for some zombies " - and those are so old and nerdy that know how to do things, unlike the majority of "casual distro" users- , so you are in that 1% (which includes other niche/1-man-project distros as well)
18.04 LTS and the others you 've mentioned are even more crusty than Debian 11, and 18.04 is not supported anymore from what I saw, so my point remains I think, that those (users) should not be using bleeding edge software like the Vivaldi Snapshot, unless you want to make a flatpak for them like requested (for which I'd like to see how you will include the proprietary codec...). Instead of compiling headaches and having all this talk about crusty libraries it makes more sense for those users to use Vivaldi Snapshot in a container of some "freshier" distro in my opinion, using
distrobox
for example.