Giter VIP home page Giter VIP logo

ungoogled-chromium-archlinux's Introduction

ungoogled-chromium-archlinux

Arch Linux packaging for ungoogled-chromium.

A note on reproducibility

While extra/chromium builds are reproducible, this repository currently doesn't publish reproducible builds:

  • Due to limitations of GitHub Actions it's not possible to continuously run the build process on GitHub-hosted runners. This prevents being able to build in a reproducible way.
  • OBS does not build Arch Linux packages in a reproducible way.

Container images published by this repository will (since version 92.0.4515.131-1) always produce the same output, this however is not compatible by tools like repro

Binary Downloads

You can get pre-built binaries from the following sources:

Open Build Service Repository

Use these commands to add the OBS repository:

curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key -a -
echo '
[home_ungoogled_chromium_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/$arch' | sudo tee --append /etc/pacman.conf
sudo pacman -Sy

Use this command to install ungoogled-chromium:

sudo pacman -Sy ungoogled-chromium

Unofficial Repositories

  • chaotic-aur - Maintained by PedroHLC

  • jk-aur - Maintained by JustKidding

  • cachy-repo - Maintained by ptr1337

    All issues should go to their respective maintainers.

Building

On your host (aur)

In the AUR there are multiple ungoogled-chromium flavors:

  1. ungoogled-chromium: regular ungoogled-chromium
  2. ungoogled-chromium-git: ungoogled-chromium but using the master branch of upstream UC patches.

On your host (manually)

For the latest full version, run the following commands:

# Install required dependencies. Make sure your user has access to sudo
sudo pacman -S base-devel

# Clone this repository
git clone https://github.com/ungoogled-software/ungoogled-chromium-archlinux

# Navigate into the repository
cd ungoogled-chromium-archlinux

# Check out the latest tag
git checkout $(git describe --abbrev=0 --tags)

# Start the build, this will download all necessary dependencies automatically
makepkg -s

For the latest testing version, run these commands instead:

# Install required dependencies. Make sure your user has access to sudo
sudo pacman -S base-devel

# Clone this repository
git clone https://github.com/ungoogled-software/ungoogled-chromium-archlinux

# Navigate into the repository
cd ungoogled-chromium-archlinux

# Start the build, this will download all necessary dependencies automatically
makepkg -s

If the build succeeds, you can run makepkg --install or pacman -U ungoogled-chromium-*.pkg.*. Running the latter requires root permission.

In a container

For the latest testing version, run these commands instead:

# Create a directory for the package output
mkdir output

# Start the build, the image already contains all nessesarry dependencies
docker run --rm --mount type=bind,source=$(pwd)/output,target=/mnt/output ghcr.io/ungoogled-software/ungoogled-chromium-archlinux-testing:latest

Now you can install the package using pacman -U output/ungoogled-chromium-*.pkg.*, this requires root permission.

Hardware Requirements

A 64-bit system is required, as Arch has dropped 32-bit support. 8 GB of RAM is highly recommended (per the document in the Chromium source tree under docs/linux_build_instructions.md).

License

See LICENSE

ungoogled-chromium-archlinux's People

Contributors

ahrotahn avatar braewoods avatar dependabot[bot] avatar eloston avatar jstkdng avatar langfingaz avatar mathew-d avatar mattalxndr avatar networkexception avatar nikolowry avatar ptr1337 avatar stephen-seo avatar tangalbert919 avatar wchen342 avatar xsmile avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

xk2600

ungoogled-chromium-archlinux's Issues

build error (unresolved dependency)

(...)
INFO: Path has no substitutions: third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css
INFO: Path has no substitutions: tools/md_browser/base.css
==> Starting build()...
make: Entering directory '/home/henri/ungoogled-chromium-archlinux/src/chromium-launcher-6'
cc -o chromium -D_FORTIFY_SOURCE=2 -DLAUNCHER_VERSION=\"v6\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -DPEPPER_FLASH_DIR=\"/usr/lib/PepperFlash\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib/libffi-3.2.1/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
make: Leaving directory '/home/henri/ungoogled-chromium-archlinux/src/chromium-launcher-6'
ERROR Unresolved dependencies.
//base:base_unittests(//build/toolchain/linux/unbundle:default)
  needs //third_party/icu:extra_icudata(//build/toolchain/linux/unbundle:default)

==> ERROR: A failure occurred in build().
    Aborting...

Any suggestions how to fix this? Thanks

error: failed to commit transaction (invalid or corrupted package (checksum))

Hi I get the following message when isntalling from the repo with pacman:

:: File /var/cache/pacman/pkg/ungoogled-chromium-83.0.4103.116-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (checksum))
Errors occurred, no packages were upgraded.

Build error

I was building with makepkg -i PKGBUILD and everything was correct:

[david@msi]: ungoogled-chromium-archlinux>$ makepkg -i PKGBUILD
==> Creando el paquete: ungoogled-chromium 76.0.3809.100-2 (dom 11 ago 2019 22:06:01 CEST)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
-> chromium-76.0.3809.100.tar.xz ha sido encontrado
-> chromium-launcher-6.tar.gz ha sido encontrado
-> ungoogled-chromium-76.0.3809.100-1.tar.gz ha sido encontrado
-> ungoogled-chromium-archlinux-master.tar.gz ha sido encontrado
-> chromium-drirc-disable-10bpc-color-configs.conf ha sido encontrado
==> Validando los archivos source con sha256sums...
chromium-76.0.3809.100.tar.xz ... Aprobado
chromium-launcher-6.tar.gz ... Aprobado
ungoogled-chromium-76.0.3809.100-1.tar.gz ... Omitido
ungoogled-chromium-archlinux-master.tar.gz ... Omitido
chromium-drirc-disable-10bpc-color-configs.conf ... Aprobado
==> Extrayendo las fuentes...
-> Extrayendo chromium-76.0.3809.100.tar.xz con bsdtar
-> Extrayendo chromium-launcher-6.tar.gz con bsdtar
-> Extrayendo ungoogled-chromium-76.0.3809.100-1.tar.gz con bsdtar
-> Extrayendo ungoogled-chromium-archlinux-master.tar.gz con bsdtar
==> Iniciando prepare()...
-> Pruning binaries
-> Applying patches
INFO: Applying patches from /home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/patches
INFO: * Applying chromium-exclude_unwind_tables.patch (1/88)
DEBUG: /usr/bin/patch -p1 --ignore-whitespace -i /home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/patches/core/inox-patchset/chromium-exclude_unwind_tables.patch -d . --no-backup-if-mismatch --forward
patching file build/config/compiler/compiler.gni
INFO: * Applying 0001-fix-building-without-safebrowsing.patch (2/88)
...

But an error raised when patching file url/url_util.cc like it says:

INFO: * Applying block-trk-and-subdomains.patch (27/88)
DEBUG: /usr/bin/patch -p1 --ignore-whitespace -i /home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch -d . --no-backup-if-mismatch --forward
patching file chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
patching file chrome/browser/history/history_utils.cc
patching file chrome/browser/ui/singleton_tabs.cc
patching file components/omnibox/browser/autocomplete_input.cc
patching file content/browser/child_process_security_policy_impl.cc
patching file net/url_request/url_request.cc
patching file url/url_constants.cc
patching file url/url_constants.h
patching file components/url_formatter/url_fixer.cc
patching file net/BUILD.gn
patching file android_webview/browser/net/aw_url_request_context_getter.cc
patching file chrome/browser/profiles/profile_io_data.cc
patching file chromecast/browser/url_request_context_factory.cc
The next patch would create the file net/url_request/trk_protocol_handler.cc,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file net/url_request/trk_protocol_handler.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file net/url_request/url_request_context_builder.cc
patching file url/url_util.cc
Traceback (most recent call last):
File "/home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/utils/patches.py", line 159, in
main()
File "/home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/utils/patches.py", line 155, in main
args.callback(args)
File "/home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/utils/patches.py", line 113, in _apply_callback
patch_bin_path=args.patch_bin)
File "/home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/utils/patches.py", line 54, in apply_patches
subprocess.run(cmd, check=True)
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/david/Git/ungoogled-chromium-archlinux/src/ungoogled-chromium-76.0.3809.100-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.
==> ERROR: Se produjo un fallo en prepare().
Cancelando...

Running on Linux msi 5.2.8-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 9 21:36:07 UTC 2019 x86_64 GNU/Linux

PKGBUILD URLS to chromium_version.txt and revision.txt not working

Latest Update Fails Due To Some Mismach

Building ungoogled-chromium-bin... ==> Making package: ungoogled-chromium-bin 79.0.3945.79-2 (Sat 14 Dec 2019 10:58:53 AM PST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found ungoogled-chromium-79.0.3945.79-1-x86_64.pkg.tar.xz ==> Validating source files with sha256sums... ungoogled-chromium-79.0.3945.79-1-x86_64.pkg.tar.xz ... FAILED ==> ERROR: One or more files did not pass the validity check!

pkgname

Hi,

first of all, thank you for packaging and providing jk-aur repository, it is really a time saver.

I wanted to add the github.com/jstkdng/ungoogled-chromium-archlinux into my own service called aurora which automatically clones AUR (or not aur) pkgbuild repositories and runs makepkg against them (in containers) and then distributes it as an arch repository. Here it is: https://github.com/kovetskiy/aurora

Could you rename your package into ungoogled-chromium-bin as it was in AUR (before the package deletion) so it will not conflict with existing AUR ungoogled-chromium package?

rebuild with idle-inhibit-v1 protocol

If possible, please compile ungoogled-chromium-ozone with idle-inhibit-v1 enabled. Wlroots-based Wayland compositors such as sway and wayfire use it. Kwin Wayland compositor also supports the protocol.

error while loading shared libraries

Trying to run ungoogled-chromium gives the following error.
/usr/lib/chromium/chromium: error while loading shared libraries: libre2.so.7: cannot open shared object file: No such file or directory

repo.vin.ovh failed to connect

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
error: failed retrieving file 'jk-aur.db' from repo.vin.ovh : Failed to connect to repo.vin.ovh port 443: Connection refused
error: failed to update jk-aur (download library error)
error: failed to synchronize all databases

ungoogled-chromium-ozone 79.0.3945.79-1 not launching

i just installed ungoogled-chromium-ozone 79.3945.79-1 on manjaro kde 18.1.5 testing build via manjaro's update / software manager. from what i can see it looks like it installed without issue, but when i try to launch ungoogled-chromium it does nothing. i do not even get a error message to post. i;ve done a logoff and a reboot and neither fixed the issue. suggestions on how to fix this would be greatly appreciated. thanks

Enabling HW video acceleration under wayland

Recently I had HW video acceleration confirmed working (as per my comment here) and now it does not work anymore although I haven't changed anything.

I just upgraded to the current version 78.0.3904.97-2 from your binary repo and whatever I try chrome://media-internals/ always only says video_decoder : VpxVideoDecoder while playing a YouTube video.

I don't know what could possibly be the reason, I perform yay -Syu daily and I can't tell if this is a recent change or not because I haven't been running ungoogled-chromium for a while (I'm still in the process of deciding if I should move from Firefox to ungoogled-chromium).

I'm using GNOME on Wayland if that matters and I'm going to investigate further now.

@jstkdng Can you please check and confirm if it is working for you or not?

rebuild with new re2

Is the binary in the jk repo build from here? It needs rebuilding with new re2 lib

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.