Please kindly remove provides=waterfox-g. It doesn't make sense to keep it after the recent name alignments throughout the AUR to name waterfox packages as waterfox, not waterfox-g.
Also AUR/waterfox
doesn't provide it (and it shouldn't).
Git Clone URL: | https://aur.archlinux.org/waterfox-bin.git (read-only, click to copy) |
---|---|
Package Base: | waterfox-bin |
Description: | Current/modern generation of customizable privacy-conscious web browser. |
Upstream URL: | https://www.waterfox.net |
Keywords: | firefox waterfox-g6 webextension |
Licenses: | MPL-2.0 |
Provides: | waterfox |
Submitter: | hawkeye116477 |
Maintainer: | envolution |
Last Packager: | envolution |
Votes: | 41 |
Popularity: | 3.81 |
First Submitted: | 2023-09-19 22:33 (UTC) |
Last Updated: | 2025-03-04 16:46 (UTC) |
Please kindly remove provides=waterfox-g. It doesn't make sense to keep it after the recent name alignments throughout the AUR to name waterfox packages as waterfox, not waterfox-g.
Also AUR/waterfox
doesn't provide it (and it shouldn't).
pkgrel should be set to 1
@hawkeye116477 The current-bin package got instant orphaned by @MarsSeed in [PRQ#42365], that package got updated to G5, and the comment is no longer pinned. Should I file a merge request to merge both of these packages to "waterfox-bin"?
Since this has been unfrozen for no reason and sent to the G branch "supports XUL & XPCOM" is inaccurate.
@aliu Earlier Current package weren't updated, first update came after 3 years. That Current was also intended for previous versions, read vcekron's and pinned comment.
Is there a reason pkgrel remains 1?
Why should we use this package instead of waterfox-current-bin?
I just installed it and I noticed that in Gnome the icon is not associated to the window. I found that the "StartupWMClass" attribute value of the "waterfox-g.desktop" file is wrong, it should be "waterfox" instead of "Waterfox".
# new version G5.1
pkgname=waterfox-g5-bin
pkgver=G5.1
pkgrel=0
pkgdesc="Fifth generation of customizable privacy-conscious web browser."
arch=('x86_64')
url="https://www.waterfox.net"
license=('MPL')
depends=('gtk3' 'gtk2' 'libxt' 'startup-notification' 'mime-types' 'dbus-glib' 'ffmpeg'
'ttf-font' 'hicolor-icon-theme')
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
'alsa-lib: Audio support'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English')
provides=("waterfox-g5=${pkgver}")
conflicts=('waterfox-g5')
source=('waterfox-g5.desktop'
'https://cdn1.waterfox.net/waterfox/releases/G5.1/Linux_x86_64/waterfox-G5.1.tar.bz2')
package() {
# Create the necessary directories.
install -d "${pkgdir}"/{usr/{bin,share/applications},opt}
# Install the desktop files.
install -m644 "${srcdir}"/waterfox-g5.desktop "${pkgdir}"/usr/share/applications/
# Copy the extracted directory to /opt/.
cp -r waterfox "${pkgdir}"/opt/waterfox-g5
# Install icons
for i in 16 32 48 64 128; do
install -d "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps"
ln -Ts /opt/waterfox-g5/browser/chrome/icons/default/default$i.png \
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/waterfox-g5.png"
done
# Add additional useful settings
install -Dm644 /dev/stdin "$pkgdir/opt/waterfox-g5/browser/defaults/preferences/vendor.js" <<END
// Disable default browser checking
pref("browser.shell.checkDefaultBrowser", false);
// Use LANG environment variable to choose locale
pref("intl.locale.requested", "");
// Automatic installation of updates won't work on root, so disable this
pref("app.update.auto", false);
// Use system-provided dictionaries
pref("spellchecker.dictionary_path", "/usr/share/hunspell");
END
# Disable automatic updates and update notifications and allow only for manual update checking
install -Dm644 /dev/stdin "$pkgdir/opt/waterfox-g5/distribution/policies.json" <<END
{
"policies": {
"AppAutoUpdate": false,
"ManualAppUpdateOnly": true
}
}
END
# Symlink the binary to /usr/bin/.
ln -s /opt/waterfox-g5/waterfox "${pkgdir}"/usr/bin/waterfox
}
sha256sums=( '9a212c170a9d1841d4679ad31e1a3ac3d282f460806216653ef76884228277c6'
'4273ad6b12d4a7facceef48b27617e9f970fe675b213af6dba65148aebafc5ec')
</code>
@hawkeye116477 Thanks for packaging this for everybody, I really like how it worked flawlessly so far.
I however have an issue with my icon in KDE. If I pin waterfox to my bar (Icons-only Task Manager) I don't have an icon until I start the application.
icon shown when started: https://user-images.githubusercontent.com/20671121/196673394-7402fc90-814e-4f3b-a6d0-b65c6862c18c.png
unknown icon when not started: https://user-images.githubusercontent.com/20671121/196673404-3ff08369-e6d4-4f59-b9ec-ffa41b6182a9.png
I am using https://aur.archlinux.org/packages/papirus-icon-theme-stripped but even with Adwaita/Breeze I have the same problem.
It seems like the issue is resolved after the last update! Thanks a lot @hawkeye116477
Pinned Comments