KF-Art / ungoogled-chromium-void

[Deprecated] Void Linux repository for Ungoogled Chromium fork.
GNU General Public License v3.0
9 stars 0 forks source link

Building from source #1

Open dm17 opened 3 years ago

dm17 commented 3 years ago

Thanks for your work on this! If you're not aware, then this is a long thread with many who tried configuring it: https://github.com/Eloston/ungoogled-chromium/issues/375

In following your instructions to build from source, I got this:

=> ungoogled-chromium-91.0.4472.164_1: patching: browser-size_t.patch.
The text leading up to this was:
--------------------------
|--- a/chrome/browser/search/background/ntp_backgrounds.h   2020-08-10 20:39:20.000000000 +0200
|+++ b/chrome/browser/search/background/ntp_backgrounds.h   2020-09-04 13:48:22.640023256 +0200
--------------------------
File to patch:
Skip this patch? [y]
1 out of 1 hunk ignored
=> ERROR: ungoogled-chromium-91.0.4472.164_1: do-patch_00-patches: 'patch -sl ${_args} -i ${_patch} 2> /dev/null' exited with 1
=> ERROR:   in _process_patch() at common/hooks/do-patch/00-patches.sh:34
=> ERROR:   in hook() at common/hooks/do-patch/00-patches.sh:51
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245
=> ERROR:   in run_step() at common/xbps-src/shutils/common.sh:71
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33

Any ideas?

Also, I'm curious if you have verified GPU acceleration is working or if you don't plan to use VAAPI.

KF-Art commented 3 years ago

Greetings. I didn't noticed that are already efforts to build Ungoogled Chromium into Void Linux. I'll check it later, thanks.

About the build-from-source method please note that is currently broke, because, as you can see, the patch process fails. At this point I just changed the source code distfile from the Chromium original template, so it needs a lot of changes. I need to work more on this to manage build the browser from the source.

Meanwhile, I would recommend to use the pre-built version. Yes, I know that is outdated. I'm waiting for new tarballs to be released.

I did not tested the VAAPI support, but I think the Marmaduke build does that. There is an updated template for Void. If I find it, I'll send it you.

Gook luck, comrade. :D

dm17 commented 3 years ago

Thanks! Seems someone got it working; maybe you can contribute there instead: https://github.com/DAINRA/ungoogled-chromium-void (also discussed at the end of thread I mentioned: https://github.com/Eloston/ungoogled-chromium/issues/375 )

KF-Art commented 3 years ago

Oh, thank you so much for the contribution! It is a relief to know that there is a repository that carries better updates and support than mine. I guess will study the code and try to contribute.

If mdedonno1337 updates his tarballs, I will keep updating this repository, as I consider that is a interesting alternative.