


















Thank you, yibe. I've removed the xdg-reference.
It looks like the latest snapshot (r1606816) no longer includes the xdg-* scripts:
==> Starting package()...
-> Creating directory structure...
-> Making it nice...
chmod: cannot access 'xdg-*': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Now that AUR package chromium-snapshot-bin provides/conflicts with chromium-snapshot, should the binary name, icons, and launcher be renamed from chromium-snapshot-bin to chromium-snapshot?
If so, chromedriver-snapshot-bin should probably renamed, too.
Thanks for all of your work maintaining the chromium-snapshot-bin AUR package!
Thanks everybody, included chromedriver and updated the 'provides' flag.
Here is a patch for the current PKGBUILD to include chromedriver as chromedriver-snapshot-bin: ...
:: chromium-snapshot-bin-130.0.6705.0.r1352472-1 and ungoogled-chromium-bin-128.0.6613.119-1 are in conflict (chromium). Remove ungoogled-chromium-bin? [y/N]
So:
-provides=('chromium')
+provides=('chromium-snapshot')
Nevertheless, thanks for that!
Please consider including chromedriver in the chromium-snapshot-bin AUR package, because the chromium package also includes chromedriver.
Here is a patch for the current PKGBUILD to include chromedriver as chromedriver-snapshot-bin:
diff --git a/PKGBUILD b/PKGBUILD
index f535244..a6096db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
# Contributors: Det, Ner0, alexwizard, thotypous, jdhore, xduugu, randypenguin, bdheeman, AlK
pkgname=chromium-snapshot-bin
+_pkgname=${pkgname/chromium/chromedriver}
pkgver=130.0.6681.0.r1346976
pkgrel=1
pkgdesc="The open-source project behind Google Chrome (Latest Snapshot)"
@@ -18,11 +19,13 @@ provides=('chromium')
install=$pkgname.install
_build=$(curl -s "https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE")
source=("chrome-linux-r$_build.zip::https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$_build/chrome-linux.zip"
+"chromedriver_linux64-r$_build.zip::https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$_build/chromedriver_linux64.zip"
"$pkgname.sh"
"$pkgname.desktop"
"$pkgname"_{16,22,24,32,48,64,128,256}.png
'LICENSE')
sha1sums=('SKIP'
+ 'SKIP'
'12c3b365d3765ab8d049b517c3f598563ef0c45b'
'e64637c07b921f197fc1d7fd031c8a73ea3a55f8'
'1cbdde48d193a648723f948370eff9b7b2fbf3f9'
@@ -48,17 +51,20 @@ package() {
install -d "$pkgdir"/usr/share/man/man1/
msg2 "Making it nice..."
+ sed 's/chrome/chromedriver/g' $pkgname.sh > ${_pkgname}.sh
# Permissions
find -type d -exec chmod 755 {} ';'
find -type f -exec chmod +r {} ';'
cd chrome-linux
chmod 755 chrome chrome-wrapper xdg-*
chmod 4755 chrome_sandbox
+ mv ../chromedriver_linux64/chromedriver .
cd ..
msg2 "Moving contents..."
# Main script
install -m755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname
+ install -m755 ${_pkgname}.sh "$pkgdir"/usr/bin/${_pkgname}
# Rename chrome-sandbox
mv chrome-linux/chrome{_,-}sandbox
Thank you for maintaining the chromium-snapshot-bin AUR package. :)
Cant install: ==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
Doesn't build anymore:
Building chromium-snapshot-bin...
==> Making package: chromium-snapshot-bin 121.0.6149.0.r1228979-1 (Sat 25 Nov 2023 04:50:27 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found chrome-linux-r1228979.zip
-> Found chromium-snapshot-bin.sh
-> Found chromium-snapshot-bin.desktop
-> Found chromium-snapshot-bin_16.png
-> Found chromium-snapshot-bin_22.png
-> Found chromium-snapshot-bin_24.png
-> Found chromium-snapshot-bin_32.png
-> Found chromium-snapshot-bin_48.png
-> Found chromium-snapshot-bin_64.png
-> Found chromium-snapshot-bin_128.png
-> Found chromium-snapshot-bin_256.png
-> Found LICENSE
==> Validating source files with sha1sums...
chrome-linux-r1228979.zip ... Skipped
chromium-snapshot-bin.sh ... Passed
chromium-snapshot-bin.desktop ... Passed
chromium-snapshot-bin_16.png ... Passed
chromium-snapshot-bin_22.png ... Passed
chromium-snapshot-bin_24.png ... Passed
chromium-snapshot-bin_32.png ... Passed
chromium-snapshot-bin_48.png ... Passed
chromium-snapshot-bin_64.png ... Passed
chromium-snapshot-bin_128.png ... Passed
chromium-snapshot-bin_256.png ... Passed
LICENSE ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting chrome-linux-r1228979.zip with bsdtar
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
-> Creating directory structure...
-> Making it nice...
chmod: cannot access 'nacl_*': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
chromium-snapshot-bin should include the contents of chromedriver_linux64.zip, IMO, because
The chromium extra package includes chromedriver
the chromedriver AUR package rightly conflicts with chromium
chromium-snapshot-bin provides chromium
chromedriver_linux64.zip only includes the chromedriver binary and a license
Looks like this chromium version also does not like --force-device-scale-factor. If set to values greater than 1, maximizing chromium leads to an overscan so that the window borders are outside the visible screen area.
If resized to fit the screen, the window controls at the right (such as minimize, restore, maximize, close) are not working. If you click on these, it is recognized as a click on the desktop background.
Workaround: Do not use --force-device-scale-factor.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
✔Do not flag this package out-of-date.It updates automatically on each install.