Github messages for voidlinux
 help / color / mirror / Atom feed
From: kawaiiamber <kawaiiamber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: ungoogled-chromium-67.0.3396.87-1
Date: Mon, 14 Dec 2020 23:00:11 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27163@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 997 bytes --]

There is a new pull request by kawaiiamber against master on the void-packages repository

https://github.com/kawaiiamber/void-packages ungoogled-chromium
https://github.com/void-linux/void-packages/pull/27163

New package: ungoogled-chromium-67.0.3396.87-1
# Current issues
* Durring the `do_build()` process, the command `./build/src/build/linux/sysroot_scripts/install-sysroot.py --arch=amd64` is returning (on my local test build):
```
Installing Debian sid amd64 root image: /home/amber/.local/src/ungoogled-chromium/build/src/build/linux/debian_sid_amd64-sysroot
Downloading https://commondatastorage.9oo91eapis.qjz9zk/chrome-linux-sysroot/toolchain/5f64b417e1018dcf8fcc81dc2714e0f264b9b911/debian_sid_amd64_sysroot.tar.xz
Failed to download https://commondatastorage.9oo91eapis.qjz9zk/chrome-linux-sysroot/toolchain/5f64b417e1018dcf8fcc81dc2714e0f264b9b911/debian_sid_amd64_sysroot.tar.xz
```

A patch file from https://github.com/void-linux/void-packages/pull/27163.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ungoogled-chromium-27163.patch --]
[-- Type: text/x-diff, Size: 2546 bytes --]

From c0a79903f25172ef8177f286c0a0689b2746f7ce Mon Sep 17 00:00:00 2001
From: KawaiiAmber <japaneselearning101@gmail.com>
Date: Mon, 14 Dec 2020 14:56:23 -0700
Subject: [PATCH] New package: ungoogled-chromium-67.0.3396.87-1

---
 srcpkgs/ungoogled-chromium/template | 45 +++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 srcpkgs/ungoogled-chromium/template

diff --git a/srcpkgs/ungoogled-chromium/template b/srcpkgs/ungoogled-chromium/template
new file mode 100644
index 00000000000..8878a42dc84
--- /dev/null
+++ b/srcpkgs/ungoogled-chromium/template
@@ -0,0 +1,45 @@
+# Template file for 'ungoogled-chromium'
+pkgname=ungoogled-chromium
+version=67.0.3396.87-1
+revision=1
+short_desc="A lightweight approach to removing Google web service dependency"
+maintainer="KawaiiAmber <japaneselearning101@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/Eloston/ungoogled-chromium"
+distfiles="https://github.com/Eloston/ungoogled-chromium/archive/${version}.tar.gz"
+checksum=3c589087e163aa67a899b7f21b9a658ffed5e5944127b97028f183d677a81233
+
+hostmakedepends="python ninja clang"
+depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
+
+# Instructions from https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md
+do_configure() {
+	# Ensure Chromium is downloaded
+	mkdir -p build/download_cache
+	./utils/downloads.py retrieve -c build/download_cache -i downloads.ini
+	./utils/downloads.py unpack -c build/download_cache -i downloads.ini -- build/src
+	# Prune binaries
+	./utils/prune_binaries.py build/src pruning.list
+	# Apply patches
+	./utils/patches.py apply build/src patches
+	# Substitute domains
+	./utils/domain_substitution.py apply -r domain_regex.list -f domain_substitution.list -c build/domsubcache.tar.gz build/src
+	# Build GN
+	mkdir -p build/src/out/Default
+	./build/src/tools/gn/bootstrap/bootstrap.py --skip-generate-buildfiles -j4 -o build/src/out/Default/
+}
+
+do_build() {
+	# mkdir -p build/src/out/Default
+	# NOTE: flags.gn contains only a subset of what is needed to run the build.
+	cp flags.gn build/src/out/Default/args.gn
+	# FIXME The below command is failing to download needed arch
+	./build/src/build/linux/sysroot_scripts/install-sysroot.py --arch=amd64
+	./build/src/out/Default/gn gen build/src/out/Default --fail-on-unused-args
+	ninja -C build/src/out/Default chrome chromedriver chrome_sandbox
+}
+
+do_install() {
+	vinstall build/src/out/Default/chrome 755 usr/lib/${pkgname} ${pkgname}
+	vlicense LICENSE
+}

             reply	other threads:[~2020-12-14 22:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14 22:00 kawaiiamber [this message]
2020-12-14 22:04 ` [PR PATCH] [Updated] " kawaiiamber
2020-12-14 22:14 ` the-maldridge
2020-12-14 22:14 ` [PR PATCH] [Closed]: " the-maldridge
2020-12-14 22:24 ` kawaiiamber
2020-12-14 22:32 ` the-maldridge
2020-12-14 22:37 ` kawaiiamber
2020-12-14 22:39 ` the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27163@inbox.vuxu.org \
    --to=kawaiiamber@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).