Ungoogled-chromium: Please make packages for OpenSUSE

Created on 13 Oct 2020  路  6Comments  路  Source: Eloston/ungoogled-chromium

Is your feature request related to a problem? Please describe.
I am an OpenSUSE user, and I would really like to use ungoogled-chromium because Brave is kinda weird atm. However, I can't find any packages for OpenSUSE!

Describe the solution you'd like
Set up OBS for OpenSUSE packages aswell.

Describe alternatives you've considered
I considered doing it myself, but I'm quite lazy and don't want to setup obs because it sounds quite advanced.

Additional context
none needed

Most helpful comment

OpenSUSE has a package for Guix, so you can install ungoogled-chromium from there instead of an AppImage:

$ sudo zypper install guix
$ guix pull
$ guix install ungoogled-chromium

It has the benefit of being up to date, reproducible, and not depending on anything from host distro such as glibc.

All 6 comments

We don't really need OBS build because there is an AppImage. However newer AppImages does not work in "stable" openSUSE version (Leap 15) as it is built for glibc 2.27 and openSUSE 15 has glibc 2.26:

$ ~/bin/ungoogled-chromium_83.0.4103.97-1.1_linux.AppImage
/tmp/.mount_ungoogPgVqX0/opt/google/chrome/chrome: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /tmp/.mount_ungoogPgVqX0/opt/google/chrome/chrome)
/tmp/.mount_ungoogPgVqX0/opt/google/chrome/chrome: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_ungoogPgVqX0/opt/google/chrome/chrome)
$ rpm -qf /lib64/libc.so.6 
glibc-2.26-lp152.26.3.1.x86_64

Only "development" openSUSE version (Tumbleweed) has fresh glibc (2.32). So in "stable" release we have to use older AppImage versions (e.g. ungoogled-chromium_70.0.3538.110-1_linux.AppImage works well)

Please build new AppImages with glibc 2.26 support.

OpenSUSE has a package for Guix, so you can install ungoogled-chromium from there instead of an AppImage:

$ sudo zypper install guix
$ guix pull
$ guix install ungoogled-chromium

It has the benefit of being up to date, reproducible, and not depending on anything from host distro such as glibc.

Wow, I didn't know that openSUSE has support of guix. Now I love this distro even more!

@mbakke seems that there is no ungoogled-chromium build openSUSE guix repo:

$ guix package -i ungoogled-chromium
guix package: error: ungoogled-chromium: unknown package
$ find /gnu/store/ -name "*chromium*"
/gnu/store/h4wqb89q5b0j12qmxdx3d68gmzzswx8a-guix-packages-source/gnu/packages/chromium.scm
/gnu/store/iccr15f3zfndhvxjv5wbrbpm7ky0p2r0-guix-packages-base-source/gnu/packages/aux-files/chromium
/gnu/store/iccr15f3zfndhvxjv5wbrbpm7ky0p2r0-guix-packages-base-source/gnu/packages/patches/ungoogled-chromium-system-nspr.patch
/gnu/store/5525vp307q025mis0dcx07yawzs4cfrz-guix-3bdb2a0/gnu/packages/aux-files/chromium
/gnu/store/5525vp307q025mis0dcx07yawzs4cfrz-guix-3bdb2a0/gnu/packages/chromium.scm
/gnu/store/5525vp307q025mis0dcx07yawzs4cfrz-guix-3bdb2a0/gnu/packages/patches/ungoogled-chromium-system-nspr.patch
/gnu/store/nvikfcjw1amf6qbqn11xfyp8axmngirj-guix-packages-base-source/gnu/packages/aux-files/chromium
/gnu/store/nvikfcjw1amf6qbqn11xfyp8axmngirj-guix-packages-base-source/gnu/packages/patches/ungoogled-chromium-system-nspr.patch
/gnu/store/5xqd7aqr4vzhb8iz4m5914c0n4x0h7rh-guix-packages-source/gnu/packages/chromium.scm
/gnu/store/qn44c8rvbllbpvb4gnfx4ngqzrn6dhri-guix-3b026eb/gnu/packages/aux-files/chromium
/gnu/store/qn44c8rvbllbpvb4gnfx4ngqzrn6dhri-guix-3b026eb/gnu/packages/chromium.scm
/gnu/store/qn44c8rvbllbpvb4gnfx4ngqzrn6dhri-guix-3b026eb/gnu/packages/patches/ungoogled-chromium-system-nspr.patch
/gnu/store/3ja878vm45dbi5860cr734kamhwbd6qf-guix-3b026eb3b-modules/lib/guile/3.0/site-ccache/gnu/packages/chromium.go
/gnu/store/3ja878vm45dbi5860cr734kamhwbd6qf-guix-3b026eb3b-modules/share/guile/site/3.0/gnu/packages/chromium.scm
/gnu/store/99ll75lvyaiqwbs3h1205a25pwrr2wl0-guix-packages/gnu/packages/chromium.go
/gnu/store/fflwg31d6vp5cn77hzfk758l31wckaz4-guix-3bdb2a026-modules/lib/guile/3.0/site-ccache/gnu/packages/chromium.go
/gnu/store/fflwg31d6vp5cn77hzfk758l31wckaz4-guix-3bdb2a026-modules/share/guile/site/3.0/gnu/packages/chromium.scm
$ cat /etc/*release*
NAME="openSUSE Leap"
VERSION="15.2"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.2"
PRETTY_NAME="openSUSE Leap 15.2"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Oh, it seems the OpenSUSE Guix package does not configure the required environment variables (did you try rebooting)?

If reboot does not work, I recommend uninstalling the RPM again and instead download and run this script (as root):

https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh

Alternatively, you can create /etc/profile.d/guix.sh with roughly this content (taken from the above script), then log out and in again:

_GUIX_PROFILE="$HOME/.config/guix/current"
if [ -L $_GUIX_PROFILE ]; then
  export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
  # Export INFOPATH so that the updated info pages can be found
  # and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
  # When INFOPATH is unset, add a trailing colon so that Emacs
  # searches 'Info-default-directory-list'.
  export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
fi

# GUIX_PROFILE: User's default profile
GUIX_PROFILE="$HOME/.guix-profile"
[ -L $GUIX_PROFILE ] || return
GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
export GUIX_PROFILE GUIX_LOCPATH

[ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"

# set XDG_DATA_DIRS to include Guix installations
export XDG_DATA_DIRS="$GUIX_PROFILE/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"

Sorry for the inconvenience! I thought Guix was better integrated.

So, um, are there any plans to create a package for openSUSE? Thanks in advance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biziclop picture biziclop  路  3Comments

usernamenotexist picture usernamenotexist  路  4Comments

brianegan picture brianegan  路  3Comments

floggle picture floggle  路  3Comments

hrj picture hrj  路  3Comments