please update the chromium package

Problems with packages? Post here, using [tags] of the package name.

Re: please update the chromium package

Postby Sam_Fisher » Sat Apr 19, 2025 2:09 pm

Well that is good news. Hopefuly we will have a up to date chromium soon then.
Sam_Fisher
 
Posts: 4
Joined: Mon Apr 07, 2025 8:43 am

Re: please update the chromium package

Postby mkurz » Wed May 07, 2025 8:07 am

I am totally able to build chromium from your repo myself:make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/archlinuxarm/PKGBUILDs/tree/master/extra/chromium', '', ' class="postlink"')

using just `makepkg -scAL`

I can install the generated packagen and can run chromium ("Version 136.0.7103.59 (Official Build) Arch Linux ARM (64-bit)
")

Is there any reason why you hold the update back?
Is there a error when you build chromium?
Could you give some insights?
mkurz
 
Posts: 11
Joined: Sat Nov 09, 2024 9:00 am

Re: please update the chromium package

Postby mkurz » Fri May 09, 2025 6:10 am

Just built 136.0.7103.92 myself, no problem at all. Runs fine.
mkurz
 
Posts: 11
Joined: Sat Nov 09, 2024 9:00 am

Re: please update the chromium package

Postby mkurz » Fri May 09, 2025 6:38 am

Another question:
Why is chromedriver not included into the chromium package like it is in x86 Arch?

I am talking about this line here:make_clickable_callback(MAGIC_URL_FULL, '
', 'https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/blob/136.0.7103.92-1/PKGBUILD?ref_type=tags#L268', '', ' class="postlink"')

install -D out/Release/chromedriver.unstripped "$pkgdir/usr/bin/chromedriver"

It origins from this commit:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/4626d4568994767ff668c3c545132f04c7df54ea', '', ' class="postlink"')

Others have asked in this forum as well, but no one ever replied:make_clickable_callback(MAGIC_URL_LOCAL, '
', 'https://archlinuxarm.org/forum', 'viewtopic.php?f=9&t=16306', ' class="postlink-local"')
make_clickable_callback(MAGIC_URL_LOCAL, '
', 'https://archlinuxarm.org/forum', 'viewtopic.php?f=15&t=15939&p=69154', ' class="postlink-local"')


Thanks!
mkurz
 
Posts: 11
Joined: Sat Nov 09, 2024 9:00 am

Re: please update the chromium package

Postby Razathorn » Fri May 23, 2025 1:23 pm

Hey folks, just confirming that this does indeed build for me as well using makepkg -A. I changed the PKGBUILD around a little so I could recover the build and restart when things went south (running out of memory) as it takes many days on my odroid n2+ to build it and more than once I got kernel oom.

Basically I ran with makepkg -A and then when it needed to be ran again I ran makepkg -A --noprepare --noextract --nocheck, which just goes straight into build. I had to modify the PKGBUILD a bit to make this possible but after starting it up in a screen session at night eventually this morning I had a working chromium package.

Below is the diff of the PKGBUILD that I created for restarting makepkg. Basically I moved some things out of prepare that needed to be available in build for the build to work without prepare being called in the same run. I also removed the check on armv7h when setting max parallelism arguments as I built on a SBC so I wanted a max of 4 processes running at one time and I still got into swap on my external SSD a few times with 4 gig of ram.

[code]
diff --git a/extra/chromium/PKGBUILD b/extra/chromium/PKGBUILD
index 6c8b60a..01c515b 100644
--- a/extra/chromium/PKGBUILD
+++ b/extra/chromium/PKGBUILD
@@ -105,6 +105,21 @@ depends+=(${_system_libs[@]})
# - Arch Linux ARM has obtained permission to use the Arch Linux keys.
_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM

+# MOVED OUT OF PREPARE TO ALWAYS RUN EVEN IF SKIPPING PREPARE
+#
+#
+# if [[ $CARCH == "armv7h" ]]; then
+ export ALARM_NINJA_JOBS="4"
+ export MAKEFLAGS="-j4"
+# fi
+
+ CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" && CXXFLAGS="$CFLAGS"
+
+ # Allow build to set march and options on AArch64 (crc, crypto)
+ [[ $CARCH == "aarch64" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/-march=armv8-a//'` && CXXFLAGS="$CFLAGS"
+
+# END PREPARE ITEMS MOVED TO GLOBAL
+
prepare() {
if (( _manual_clone )); then
./fetch-chromium-release $pkgver
@@ -120,16 +135,6 @@ prepare() {
patch -p1 -i ../0002-Run-blink-bindings-generation-single-threaded.patch
patch -p1 -i ../0003-Fix-eu-strip-build-for-newer-GCC.patch

- if [[ $CARCH == "armv7h" ]]; then
- export ALARM_NINJA_JOBS="4"
- export MAKEFLAGS="-j4"
- fi
-
- CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" && CXXFLAGS="$CFLAGS"
-
- # Allow build to set march and options on AArch64 (crc, crypto)
- [[ $CARCH == "aarch64" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/-march=armv8-a//'` && CXXFLAGS="$CFLAGS"
-
#make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://crbug.com/893950', '', ' class="postlink"')
sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
-e '1i #include <cstdlib>' \
[/code]
Razathorn
 
Posts: 4
Joined: Sat Jan 08, 2022 5:33 pm

Re: please update the chromium package

Postby Sam_Fisher » Wed Jun 18, 2025 1:10 pm

Still no update?
Sam_Fisher
 
Posts: 4
Joined: Mon Apr 07, 2025 8:43 am

Re: please update the chromium package

Postby Razathorn » Thu Jun 19, 2025 7:19 pm

I don't know what the hold-up is. I assume there is one because I see lots of commits for this package and it has built the last few times I've built it on my orange pi 5 max. Building isn't such a nightmare with this beefy sbc.
Razathorn
 
Posts: 4
Joined: Sat Jan 08, 2022 5:33 pm

Previous

Return to Packages

Who is online

Users browsing this forum: No registered users and 52 guests