Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ungoogled-chromium
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
irenicus09
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2013
Posts: 118

PostPosted: Thu Dec 01, 2016 4:39 am    Post subject: ungoogled-chromium Reply with quote

Hi, I've discovered a mod of chromium geared towards privacy and it has caught my attention for a while now.

I understand that they offer binary packages, but what I'm interested in knowing is whether it is possible to use portage to install that from source. Or should I consider compiling it manually from source?

From what I've seen on most gentoo overlays, some of the flags offered by the chromium package with similar features to ungoogled are either a hit or a miss.

I haven't been able to get things working for chromium with the features I wanted which are geared towards privacy and also experimenting on my machine
and waiting 12 hours to get the results is too long in my opinion :P

Please let me know what you guys think, I'm open to suggestions and feel free to recommend something that works for you.

Thanks :)
Back to top
View user's profile Send private message
Juippisi
Apprentice
Apprentice


Joined: 30 Sep 2005
Posts: 162
Location: /home

PostPosted: Thu Dec 01, 2016 5:01 am    Post subject: Reply with quote

Hey,

you might be interested in installing chromium from pg_overlay. Its in layman. Heres a thread about it,
https://forums.gentoo.org/viewtopic-t-1052030.html

There is no patch for ungoogled to chromium-54 at the moment, but Inox and Iridium do work. I wouldnt recommend installing chromium-53, since its old and has vulnerabilities.

Here's my USE flags,
Code:
[ebuild   R   #] www-client/chromium-54.0.2840.101::pg_overlay  USE="cups custom-cflags debian (gn) gtk3 inox (pic) proprietary-codecs pulseaudio system-ffmpeg tcmalloc vaapi widevine -gnome -gnome-keyring -hangouts -iridium -kerberos (-neon) (-selinux) -suid {-test} -ungoogled"


Builds and works wonderfully with +debian +inox.
Back to top
View user's profile Send private message
irenicus09
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2013
Posts: 118

PostPosted: Thu Dec 01, 2016 10:32 am    Post subject: Reply with quote

@Juippisi: Okay, so I masked gtk3 in /etc/portage/profile/package.use.mask before running it with the same flags as you suggested.

It's compiling at the moment, see you after 12 hours :P
Back to top
View user's profile Send private message
irenicus09
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2013
Posts: 118

PostPosted: Fri Dec 02, 2016 11:25 am    Post subject: Reply with quote

Sorry for the bump, but your custom-cflags got me rekt.

Code:

<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-54.0.2840.101::pg_overlay failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5246:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-54.0.2840.101::pg_overlay'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-54.0.2840.101::pg_overlay'`.
 *
 * You have enabled the custom-cflags USE flag.
 * Please disable it before reporting a bug.
 *
 *
 * MemTotal:        3957752 kB
 * SwapTotal:             0 kB
 *
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-54.0.2840.101/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-54.0.2840.101/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-54.0.2840.101/work/chromium-54.0.2840.101'
 * S: '/var/tmp/portage/www-client/chromium-54.0.2840.101/work/chromium-54.0.2840.101'

>>> Failed to emerge www-client/chromium-54.0.2840.101, Log file:

>>>  '/var/tmp/portage/www-client/chromium-54.0.2840.101/temp/build.log'

 * Messages for package dev-python/jinja-2.8:

 * For i18n support, please emerge dev-python/Babel.

 * Messages for package www-client/chromium-54.0.2840.101:

 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * ERROR: www-client/chromium-54.0.2840.101::pg_overlay failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5246:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-54.0.2840.101::pg_overlay'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-54.0.2840.101::pg_overlay'`.
 *
 * You have enabled the custom-cflags USE flag.
 * Please disable it before reporting a bug.
 *
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-54.0.2840.101/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-54.0.2840.101/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-54.0.2840.101/work/chromium-54.0.2840.101'
 * S: '/var/tmp/portage/www-client/chromium-54.0.2840.101/work/chromium-54.0.2840.101'

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-lang/python-3.4.5
 *  - /usr/lib64/libpython3.4.so.1.0
 *      used by /usr/lib64/libboost_python-3.4.so.1.56.0 (dev-libs/boost-1.56.0-r1)
 *      used by /usr/lib64/python3.4/site-packages/Crypto/Cipher/_AES.cpython-34.so (dev-python/pycrypto-2.6.1)
 *      used by /usr/lib64/python3.4/site-packages/Crypto/Cipher/_ARC2.cpython-34.so (dev-python/pycrypto-2.6.1)
 *      used by 60 other files
>>> package: dev-libs/protobuf-2.6.1-r3
 *  - /usr/lib64/libprotobuf.so.8
 *  - /usr/lib64/libprotobuf.so.8.0.0
 *      used by /usr/bin/mosh-client (net-misc/mosh-1.2.4)
 *      used by /usr/bin/mosh-server (net-misc/mosh-1.2.4)
>>> package: media-libs/giflib-5.1.4
 *  - /usr/lib64/libgif.so.4
 *  - /usr/lib64/libgif.so.4.1.6
 *      used by /usr/lib64/imlib2/loaders/gif.so (media-libs/imlib2-1.4.9)
Use emerge @preserved-rebuild to rebuild packages using these libraries



I usually have that flag disabled, but seeing that you enabled it decided to give it a try :?

I'm about to try again perhaps it'll work out this time.
Back to top
View user's profile Send private message
Juippisi
Apprentice
Apprentice


Joined: 30 Sep 2005
Posts: 162
Location: /home

PostPosted: Fri Dec 02, 2016 1:19 pm    Post subject: Reply with quote

You need to grep 'error' or 'failed' from /var/tmp/portage/www-client/chromium-54.0.2840.101/temp/build.log because what you pasted tells absolutely nothing. What CFLAGs / linker are you using? Chromium should build with -flto and clang...

Also does it have to be chromium? I think you can modify Firefox greatly to respect your privacy. If it took me 12 hours to compile something I wouldnt use it, especially if it doesnt compile after one shot.
Back to top
View user's profile Send private message
irenicus09
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2013
Posts: 118

PostPosted: Fri Dec 02, 2016 2:00 pm    Post subject: Reply with quote

Hmm...I'm typing this from Firefox at the moment :P

Firefox is okay but I wanted to give Chromium another shot, it kind of felt faster than Firefox on my slower netbook. Especially when loading tabs or sites. Perhaps because it consumes more RAM so things load faster.

Gentoo has taught me patience, I really didn't know what patience was till I went through my first Gentoo install. :)

See you after 12 hours my friend :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum