View previous topic :: View next topic |
Author |
Message |
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Jan 21, 2020 12:57 pm Post subject: Brave |
|
|
I have just become aware of a new Web browser called Brave. It looks like it is based on chromium, but allegedly has some very powerful privacy features. It claims also to be 8x faster... they all claim to be faster, so I'm not going to hold my breath on that count... but private by default interests me.
I notice that there is no ebuild in portage for it... I'm wondering if anyone has tried it... any thoughts... opinions... and of course, if it ever will be brought into mainstream portage.
Anyone want to weigh in?
G _________________ To look without without looking within is like looking without without looking at all. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Tue Jan 21, 2020 1:12 pm Post subject: |
|
|
There is an ebuild in brave-overlay but look it _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Tue Jan 21, 2020 3:30 pm Post subject: |
|
|
I've been using it for some time now on my mobile devices and I like it so far. Privacy by default is nice but I am on the fence about the Advertising model. I find it a bit confusing but one can opt-out of it.
It also doesn't do anything, privacy/security-wise, that I wasn't getting done in Chrome and Firefox but with carefully selected extensions. For those that don't want to tinker too much with their browser of choice, I think Brave is a reasonable alternative.
I have been testing out the overlay binary. I really don't like running applications on my box that I can't build from source but at the moment this is the only option for we Gentoo users.
I actually also had some concerns about Overlay QA and integrity that I asked about in another thread. I was satisfied with the replies I received and would give Hu's reply particular consideration. AntP also seems to have some concerns about Brave but I didn't ask him to expand on it. Take a look and feel free to commnet.
https://forums.gentoo.org/viewtopic-p-8411520.html#8411520 |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 728 Location: /home
|
Posted: Tue Jan 21, 2020 5:59 pm Post subject: |
|
|
Budoka wrote: | I've been using it for some time now on my mobile devices and I like it so far. |
I use firefox on mobile. I like it much better + you can install ublock origin on it.
Quote: | Privacy by default is nice but I am on the fence about the Advertising model. I find it a bit confusing but one can opt-out of it. |
I don't trust any more than I trust Google. And their ad policy? They take from content creators and replace it with their own ads, getting money in their own pockets while ignoring content creators. Yes, you can 'tip' the original site, but so few sites are affiliated it's basically stealing.
Quote: | It also doesn't do anything, privacy/security-wise, that I wasn't getting done in Chrome and Firefox but with carefully selected extensions. For those that don't want to tinker too much with their browser of choice, I think Brave is a reasonable alternative. |
Read: Only few extensions have been ported to work with Brave.
Quote: | I have been testing out the overlay binary. I really don't like running applications on my box that I can't build from source but at the moment this is the only option for we Gentoo users. |
This is just a feeling, but I believe Brave isn't 100 % open source and they have some binary/DRM parts that are installed after compiling the base chromium. So I don't see much benefit in compiling it, I don't think you can change so much from the base chromium that runs those blobs. But just a feeling. When I wrote the ebuild for brave-overlay I did study possibility to make it source-buildable but gave up on it quite fast. |
|
Back to top |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Wed Feb 05, 2020 3:56 pm Post subject: |
|
|
thanks. I just wanted to check it out... but I don't think I will be doing an overly. Every time I do that, I wind up in dependency hell at update time and I simply don't have the time to dwell there. It isn't that important to me I'll look at it on another system, or just wait.
I don't really have high expectations of it. It sounds like consumer-grade BS to me... but I was asked about it from an executive, so I thought I would check into it.
Thank you all for your input.
G _________________ To look without without looking within is like looking without without looking at all. |
|
Back to top |
|
|
dhinds n00b
Joined: 05 Jul 2014 Posts: 15
|
Posted: Fri Feb 14, 2020 3:21 pm Post subject: Opera Touch |
|
|
I have Brave and Opera Touch installed on an Android cel.
Opera Touch will link with Opera (also now based on Blink with privacy features) on a desk or laptop machine. |
|
Back to top |
|
|
A.S. Pushkin Guru
Joined: 09 Nov 2002 Posts: 418 Location: dx/dt, dy/dt, dz/dt, t
|
Posted: Fri Feb 14, 2020 6:33 pm Post subject: Howto |
|
|
How do you install Brave?
I've also heard another browser called Tracefree. Anyone know anything about that?
Linux Mint offers still another called Tor Browser. I run that on my laptop, Linux Mint, but have not been able to install
this browser.
Thanks _________________ ASPushkin
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell |
|
Back to top |
|
|
philmb n00b
Joined: 13 Feb 2020 Posts: 6
|
Posted: Fri Feb 14, 2020 6:38 pm Post subject: |
|
|
hi folks! I have made a Brave ebuild for gentoo. Testing it now, it is pretty speedy and seems to work fine.
You can use my overlay at https://github.com/sinetek/gentoo-overlay
I'm looking for people with *fast* internet connection to test it.
You will need about 20GB of network bandwidth to pull in all the sources, and around 60 GB to build the software. To be safe make sure you have 100GB free space.
I made it so the build uses your local tools and also it will pull in your own CFLAGS. For now only GCC is supported but if there's a request i might change that.
I haven't had the time to fill in properly the Dependencies so, sorry about that. make sure you have 'nodejs' installed and all the dependencies needed for a normal chromium build..
last thing, you might need to turn off the network filter because the emerge sandbox will prevent the installation to fetch the sources properly via git.
something like FEATURES="-network-sandbox" in your make.conf or just before the emerge command will do.
Happy testing! |
|
Back to top |
|
|
philmb n00b
Joined: 13 Feb 2020 Posts: 6
|
Posted: Fri Feb 14, 2020 6:48 pm Post subject: |
|
|
should "+widevine" be on by default?? I think it's nicer to have it in so people don't need to go recompile when they need to watch video. |
|
Back to top |
|
|
philmb n00b
Joined: 13 Feb 2020 Posts: 6
|
Posted: Fri Feb 14, 2020 8:37 pm Post subject: |
|
|
Added disk and memory check, and proper dependencies. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Sun Feb 16, 2020 5:46 am Post subject: |
|
|
philmb wrote: | hi folks! I have made a Brave ebuild for gentoo. Testing it now, it is pretty speedy and seems to work fine.
You can use my overlay at https://github.com/sinetek/gentoo-overlay
I'm looking for people with *fast* internet connection to test it.
You will need about 20GB of network bandwidth to pull in all the sources, and around 60 GB to build the software. To be safe make sure you have 100GB free space.
I made it so the build uses your local tools and also it will pull in your own CFLAGS. For now only GCC is supported but if there's a request i might change that.
I haven't had the time to fill in properly the Dependencies so, sorry about that. make sure you have 'nodejs' installed and all the dependencies needed for a normal chromium build..
last thing, you might need to turn off the network filter because the emerge sandbox will prevent the installation to fetch the sources properly via git.
something like FEATURES="-network-sandbox" in your make.conf or just before the emerge command will do.
Happy testing! |
Hi. I'm interested in testing this and have the bandwidth but what exactly is this version providing that the current brave-overlay doesn't? |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 728 Location: /home
|
Posted: Sun Feb 16, 2020 6:21 am Post subject: |
|
|
philmb wrote: |
You will need about 20GB of network bandwidth to pull in all the sources, and around 60 GB to build the software. To be safe make sure you have 100GB free space.
|
Without attempting to build yet, these numbers feel wayyyy off. They look superweird. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 728 Location: /home
|
Posted: Sun Feb 16, 2020 6:22 am Post subject: |
|
|
philmb wrote: | should "+widevine" be on by default?? I think it's nicer to have it in so people don't need to go recompile when they need to watch video. |
It's only needed for DRM content. Normal h264 content should play without.
Some people care about that... |
|
Back to top |
|
|
philmb n00b
Joined: 13 Feb 2020 Posts: 6
|
Posted: Sun Feb 16, 2020 11:58 am Post subject: |
|
|
Budoka wrote: |
Hi. I'm interested in testing this and have the bandwidth but what exactly is this version providing that the current brave-overlay doesn't? |
This one is building directly from sources using your toolchain instead of a binary distribution. |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Sat Jan 09, 2021 8:24 pm Post subject: |
|
|
Almost a year later, Brave seems regulary mainteined and pops up in many comparisons as one of the "top 5" browsers in general.
Any plans to add an official ebuild? _________________ gentoo user |
|
Back to top |
|
|
imajica n00b
Joined: 11 Jan 2021 Posts: 15
|
Posted: Mon Jan 11, 2021 6:47 am Post subject: Same question |
|
|
tnt wrote: | Almost a year later, Brave seems regulary mainteined and pops up in many comparisons as one of the "top 5" browsers in general.
Any plans to add an official ebuild? |
I would like to ask the same question. |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1168 Location: /run/user/1000
|
Posted: Mon Jan 11, 2021 9:59 am Post subject: |
|
|
+1 |
|
Back to top |
|
|
atrix n00b
Joined: 25 Jun 2016 Posts: 30
|
Posted: Tue Jan 19, 2021 6:43 pm Post subject: |
|
|
tnt wrote: | Almost a year later, Brave seems regulary mainteined and pops up in many comparisons as one of the "top 5" browsers in general.
Any plans to add an official ebuild? |
+1 |
|
Back to top |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 6
|
Posted: Wed Jan 27, 2021 2:26 am Post subject: |
|
|
I wonder if it would be possible to set up pre-patched tarballs of brave and then use a modified version of the chromium ebuild to compile/merge it.
That would avoid the need to download 30GB of unneeded git history.
Also, I've been trying to reduce the initial 'npm run init' download by adding '--no-history' into the places in 'brave-browser' and 'brave-core' where gclient is being called, but despite it only downloading 1GB from chromium initially it still fetches 30GB of git history anyway. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3190
|
Posted: Thu Jan 28, 2021 6:00 pm Post subject: |
|
|
Quote: | That would avoid the need to download 30GB of unneeded git history. | Git supports shallow clones, so you can make it only download the head. |
|
Back to top |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 6
|
Posted: Fri Jan 29, 2021 3:03 am Post subject: |
|
|
szatox wrote: | Quote: | That would avoid the need to download 30GB of unneeded git history. | Git supports shallow clones, so you can make it only download the head. |
I was trying to do that by adding the '--no-history' gclient argument in the 'brave-core' repository which does exactly that.
This code starts at line 520 in the file 'brave-core/build/commands/lib/util.js'
Code: |
gclientSync: (forceReset = false, cleanup = false, braveCoreRef = null, options = {}) => {
let reset = forceReset
// base args
const initialArgs = ['sync', '--reset', '--nohooks']
const chromiumArgs = ['--revision', 'src@' + config.getProjectRef('chrome')]
const resetArgs = ['--with_tags', '--with_branch_heads', '--upstream']
|
By adding '--no-history' to one of the argument arrays it will perform a shallow clone, but it still pulls 30GB's of history, because it wants tags as well.
I did try to workaround this by creating my own chromium slimmed down git repo that only contained 1 commit along with the chromium release tag.
It worked, but with some errors. I'm not sure if the errors matter since 'npm run init' didn't complain.
Here's the errors if you're curious.
Code: |
> gclient runhooks
Running hooks: 19% (21/106) lastchange
________ running 'vpython src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/home/james/git-repos/brave-browser'
ERROR:root:Failed to get version info: Git command 'git log -1 --format=%H %ct --grep=^Change-Id: HEAD' in /home/james/git-repos/brave-browser/src failed: rc=0, stdout='' stderr=''
Running hooks: 20% (22/106) gpu_lists_version
________ running 'vpython src/build/util/lastchange.py -m GPU_LISTS_VERSION --revision-id-only --header src/gpu/config/gpu_lists_version.h' in '/home/james/git-repos/brave-browser'
ERROR:root:Failed to get version info: Git command 'git log -1 --format=%H %ct --grep=^Change-Id: HEAD' in /home/james/git-repos/brave-browser/src failed: rc=0, stdout='' stderr=''
|
I'll let you know if it compiles.
EDIT: So, it does compile and run for the most part, but I'm having issues with the adblocker which doesn't work most of the time. I did find that running the binary version from the brave-overlay will fix the adblocker, but I'm not sure why the adblocker from the source based version doesn't work out of the box. |
|
Back to top |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 6
|
Posted: Thu Feb 04, 2021 6:12 am Post subject: |
|
|
So it turns out a lot of features, notably "sync" and "adblock", are broken for non-binary versions of brave, because you need to have a service key in-order for them to work properly.
Apparently they're working on a way to share service keys. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20093
|
Posted: Thu Feb 04, 2021 3:59 pm Post subject: |
|
|
Any details on what exactly a service key is? For sync, I could guess that it might be something needed to use the service. That an ad blocker would require such a mechanism is unappealing. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 6
|
Posted: Thu Feb 04, 2021 6:12 pm Post subject: |
|
|
pjp wrote: | Any details on what exactly a service key is? For sync, I could guess that it might be something needed to use the service. That an ad blocker would require such a mechanism is unappealing. |
I'm not entirely sure what a service key is, but if you try to update the "Brave Ad Block Updater" component via 'brave://components' on the source version it will fail, but the binary package works just fine. I would assume the adblocker needs that for updating it's filterlist. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20093
|
Posted: Thu Feb 04, 2021 6:21 pm Post subject: |
|
|
Yeah, it might not be bad, but it certainly has a strong odor. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|