Arching Vivaldifarians.
-
@npro Ta muchly AND bigly
.
I shall study this later, bit busy now, but really appreciate your generosity!
Alright, so i lied [again] who ya gonna call? Ah, so you build this locally, i had not realised that before. What's the build time, & how "usable" is your pc for still doing other stuff during it? Also, you need to fetch the new checksum each time, etc.
Yeah, i can feel my natural laziness beginning to rise up again... heehee.
-
@guigirl nah, that's nothing, I used to do that locally because of bugreports where I wanted to easily install older versions for comparison (and for trying to have access to hidden versions
), so all I had to do was altering the version numbers, then I just stuck to this mainly "gui" method (for the reason stated above
), while I do practice some other ones from time to time*.
There's no need to fetch checksum (while one could with a script, but only the sha256 iirc, so the PKGBUILD should be probably edited beforehand -and who wants that, we want speed afterall- so we skip it with
--skipchecksums
already! You are downloading the .rpm from the vivaldi server afterall, if it would be compromised it would have been compromised for everyone alreadyBuild time is nothing, the bottleneck is only in what state the Vivaldi servers are /added: usually butchered at the very first moments of a fresh snapshot
(downloading the .rpm) and you don't occupy any crazy CPU power it's just building it from the AUR as usual.
*One could use a yay alias for example with
yay vivaldi-snapshot --mflags --skipchecksums --editmenu
but this would be strictly terminal where one would be entering numbers and letters all the time. -
@npro said in Arching Vivaldifarians.:
in what state the Vivaldi servers are
= usually butchered at the very first moments of a fresh snapshot
added it here in case you 've missed the edit
-
@npro I'm sorry, but i really am too dimwitted to grasp this. My eyes on your screenshot seem to be contradicting my understanding of your accompanying words.
used to do that locally
Huh, but you still are doing local building on your own pc afaict, coz you have your pkgbuild, & your alias, ie, you're running
makepkg
in Konsole, aren't you?stuck to this mainly "gui" method
Huh, how is this a gui method? As above, aren't you building via Konsole? Things don't get much more
!=gui
than that!it's just building it from the AUR
I just can't see how, based on your screenshot above, AUR is playing any role in your method.
As i said, i'm apparently just too dumb to understand your method. Your nice [but palpably undeserved] hidden compliment above, sadly, only makes me feel even more humiliated now.
-
@guigirl ok ,ok you devious creature of the night, I know you want to drag me into explaining all the stuff because you know how good of a person I really am, but I wouldn't fall for that that easily
touchΓ© -
@npro said in Arching Vivaldifarians.:
devious creature of the night
What if i take just a jump to the left, and then a step to the right? I shan't even mention what i might do with my hands, hips, and knees!
Ta anyway, i'll just keep waiting on herecura, it seems.
-
-
@npro Oh this is just ridiculous. All this time i've maintained my unswerving fealty to herecura, only to discover now how foolish i've been.
Looks like it's time to remove an entry from my pacman.conf.
-
@guigirl ok then, it seems you are really into solving this annoying matter, so I will reply to the previous...
@guigirl said in Arching Vivaldifarians.:
it's just building it from the AUR
I just can't see how, based on your screenshot above, AUR is playing any role in your method.
I'm talking about the building time and the method, that's ~ the same as using the AUR with the traditional method.
Huh, but you still are doing local building on your own pc afaict, coz you have your pkgbuild, & your alias, ie, you're running
makepkg
in Konsole, aren't you?stuck to this mainly "gui" method
Huh, how is this a gui method? As above, aren't you building via Konsole? Things don't get much more
!=gui
than that!It's opening a file residing in a folder in Dolphin with Kate (or from Kate directly), editing the number, then clicking (if not already opened by default) on show terminal to open a terminal inside Dolphin/Kate (which is an awesome KDE thing) and typing a single command and the password, that's 99% gui, there's no extra opening of Konsole
Specifically, download the snapshot from the AUR and extract the 2 files shown in the screenshot to a folder of your liking, for example under
$home/vivaldi-builds/vivaldi-snapshot
Then open the PKGBUILD with
Kate
, edit the Vivaldi version with the new one posted with every new release, save, press F4 to open the integrated terminal or click the Terminal Panel button to the bottom and then enter the above command for which you could create an alias.If you have your build directory set somewhere in /tmp in your
/etc/makepkg.conf
makepkg will unpack the stuff there, create the package and move it to your$home/vivaldi-builds/vivaldi-snapshot
then ask you to install it. The 'rm' in my screenshot removes the created .zst and downloaded .rpm file after that, so it keeps that folder clean, leaving only the 2 files for the next time. -
how good of a person I really am
download the snapshot from the AUR
Oh. It must seem incomprehensible to you i suppose, but somehow i had not realised that from your earlier posts [told you i'm dim]. That's a pretty important aspect i had entirely failed to grasp. Now the rest of it begins to make more sense.
I might try it [even though i'm actually supposed to be researching something for someone, this seems more fun]. Bigly thanks... you big honey.
Time for a pelvic thrust now?
-
-
@npro Not that i want to come across as a stubborn pig-headed argumentative baeoutch, but i was contemplating our discussion, your kind expanded advice, & my observation of surprise that Ike had updated AUR but not his actual repo ... & it lead me to try a different direction.
guigirl@alg-kde-vm ~]$ paru vivaldi-snapshot 1 aur/vivaldi-snapshot 5.2.2581.4-1 [+127 ~0.74] An advanced browser made with the power user in mind. Snapshot 2 aur/vivaldi-snapshot-ffmpeg-codecs 98.0.4710.4-1 [+36 ~0.12] additional support for proprietary codecs for vivaldi :: Packages to install (eg: 1 2 3, 1-3): :: 1 [sudo] password for guigirl: :: Resolving dependencies... :: Calculating conflicts... :: Calculating inner conflicts... Repo Make (1) w3m-0.5.3.git20210102_6-1 Aur (1) vivaldi-snapshot-5.2.2581.4-1 :: Proceed to review? [Y/n]: :: Downloading PKGBUILDs... (1/1) vivaldi-snapshot-5.2.2581.4-1 [---------------------------------------------------------------------------------------] /home/guigirl/.cache/paru/clone/vivaldi-snapshot/0001-add-support-for-user-flags.patch From 68c2dec905a7c88895c458dd40708ab9989385cf Mon Sep 17 00:00:00 2001 From: BlackEagle <[email protected]> Date: Wed, 19 Jan 2022 20:57:58 +0100 Subject: [PATCH] add support for user flags Signed-off-by: BlackEagle <[email protected]> --- vivaldi-stable | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vivaldi-stable b/vivaldi-stable index 5b5f1bf..8e95859 100755 --- a/vivaldi-stable +++ b/vivaldi-stable @@ -53,6 +53,13 @@ export CHROME_VERSION_EXTRA="stable" # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME +# Allow users to override command-line options +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} +VIVALDI_USER_FLAGS="" +if [[ -f "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf" ]]; then + VIVALDI_USER_FLAGS="$(cat "$XDG_CONFIG_HOME/vivaldi-$CHROME_VERSION_EXTRA.conf")" +fi + # Sanitize std{in,out,err} because they'll be shared with untrusted child # processes (http://crbug.com/376567). exec < /dev/null @@ -60,4 +67,4 @@ exec > >(exec cat) exec 2> >(exec cat >&2) # Note: exec -a below is a bashism. -exec -a "$0" "$HERE/vivaldi-bin" "$@" +exec -a "$0" "$HERE/vivaldi-bin" $VIVALDI_USER_FLAGS "$@" -- 2.34.1 /home/guigirl/.cache/paru/clone/vivaldi-snapshot/PKGBUILD # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> # Contributor: TZ86 pkgname=vivaldi-snapshot _rpmversion=5.2.2581.4-1 pkgver=5.2.2581.4 pkgrel=1 pkgdesc='An advanced browser made with the power user in mind. Snapshot' url="https://vivaldi.com" options=(!strip !zipman) license=('custom') arch=('x86_64') depends=('gtk3' 'libcups' 'nss' 'alsa-lib' 'libxss' 'ttf-font' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme') makedepends=('imagemagick' 'w3m') optdepends=( 'vivaldi-snapshot-ffmpeg-codecs: playback of proprietary video/audio' 'libnotify: native notifications' ) source=("https://downloads.vivaldi.com/snapshot/vivaldi-snapshot-${_rpmversion}.x86_64.rpm" '0001-add-support-for-user-flags.patch') sha512sums=('e63e896906ffcd2449e3b337dd7bf1155e0397a534248bf26c32823d7611d3e4f7f0b0aaefe9f4cf4a778501171f39b78ec3998117151df277ec0f39d9015f6a' '334db2056114fdbf07407b1cee24284f019df7a15acd711ed016bab1a1ab211abf3884ed848f3496486e7c78056108ccf1e88547e22b787bc4f548c6785f64d2') package() { cp --parents -a {opt,usr/bin,usr/share} "$pkgdir" # add support for ~/.config/vivaldi-soprano.conf patch -p1 -i "$srcdir/0001-add-support-for-user-flags.patch" \ "$pkgdir/opt/$pkgname/$pkgname" # suid sandbox chmod 4755 "$pkgdir/opt/$pkgname/vivaldi-sandbox" # make /usr/bin/vivaldi-snapshot available binf="$pkgdir/usr/bin/$pkgname" if [[ ! -e "$binf" ]] && [[ ! -f "$binf" ]] && [[ ! -L "$binf" ]]; then install -dm755 "$pkgdir/usr/bin" ln -s /opt/$pkgname/$pkgname "$binf" fi # 256 and 24 are proper colored icons for res in 128 64 48 32; do convert "$pkgdir/opt/$pkgname/product_logo_256.png" \ -resize ${res}x${res} \ "$pkgdir/opt/$pkgname/product_logo_$res.png" done for res in 22 16; do convert "$pkgdir/opt/$pkgname/product_logo_24.png" \ -resize ${res}x${res} \ "$pkgdir/opt/$pkgname/product_logo_$res.png" done # install icons for res in 16 22 24 32 48 64 128 256; do install -Dm644 "$pkgdir/opt/$pkgname/product_logo_${res}.png" \ "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png" done # install global icon in case hicolor theme gets bypassed install -Dm644 "$pkgdir/opt/$pkgname/product_logo_256.png" \ "$pkgdir/usr/share/pixmaps/$pkgname.png" # license install -dm755 "$pkgdir/usr/share/licenses/$pkgname" w3m -dump "$pkgdir/opt/$pkgname/LICENSE.html" \ | head -n 5 \ > "$pkgdir/usr/share/licenses/$pkgname/license.txt" } /home/guigirl/.cache/paru/clone/vivaldi-snapshot/.gitignore src pkg *.log *.log.* *.pkg.tar.?z :: Proceed with installation? [Y/n]: resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change Download Size extra/w3m 0.5.3.git20210102_6-1 1.93 MiB 0.95 MiB Total Download Size: 0.95 MiB Total Installed Size: 1.93 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... w3m-0.5.3.git20210102_6-1-x86_64 971.9 KiB 367 KiB/s 00:03 [--------------------------------------------------] 100% (1/1) checking keys in keyring [--------------------------------------------------] 100% (1/1) checking package integrity [--------------------------------------------------] 100% (1/1) loading package files [--------------------------------------------------] 100% (1/1) checking for file conflicts [--------------------------------------------------] 100% (1/1) checking available disk space [--------------------------------------------------] 100% :: Processing package changes... (1/1) installing w3m [--------------------------------------------------] 100% Optional dependencies for w3m imlib2: for graphics support [installed] :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Refreshing PackageKit... fetching devel info... ==> Making package: vivaldi-snapshot 5.2.2581.4-1 (Tue 15 Feb 2022 16:10:04) ==> Retrieving sources... -> Downloading vivaldi-snapshot-5.2.2581.4-1.x86_64.rpm... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 82.9M 100 82.9M 0 0 2167k 0 0:00:39 0:00:39 --:--:-- 2291k -> Found 0001-add-support-for-user-flags.patch ==> Validating source files with sha512sums... vivaldi-snapshot-5.2.2581.4-1.x86_64.rpm ... Passed 0001-add-support-for-user-flags.patch ... Passed ==> Making package: vivaldi-snapshot 5.2.2581.4-1 (Tue 15 Feb 2022 16:10:44) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found vivaldi-snapshot-5.2.2581.4-1.x86_64.rpm -> Found 0001-add-support-for-user-flags.patch ==> Validating source files with sha512sums... vivaldi-snapshot-5.2.2581.4-1.x86_64.rpm ... Passed 0001-add-support-for-user-flags.patch ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting vivaldi-snapshot-5.2.2581.4-1.x86_64.rpm with bsdtar ==> Sources are ready. vivaldi-snapshot-5.2.2581.4-1: parsing pkg list... ==> Making package: vivaldi-snapshot 5.2.2581.4-1 (Tue 15 Feb 2022 16:10:53) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Entering fakeroot environment... ==> Starting package()... patching file /home/guigirl/.cache/paru/clone/vivaldi-snapshot/pkg/vivaldi-snapshot/opt/vivaldi-snapshot/vivaldi-snapshot ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... ==> Checking for packaging issues... ==> Creating package "vivaldi-snapshot"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: vivaldi-snapshot 5.2.2581.4-1 (Tue 15 Feb 2022 16:11:02) ==> Cleaning up... loading packages... resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change vivaldi-snapshot 5.2.2581.4-1 293.16 MiB Total Installed Size: 293.16 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [--------------------------------------------------] 100% (1/1) checking package integrity [--------------------------------------------------] 100% (1/1) loading package files [--------------------------------------------------] 100% (1/1) checking for file conflicts [--------------------------------------------------] 100% (1/1) checking available disk space [--------------------------------------------------] 100% :: Processing package changes... (1/1) installing vivaldi-snapshot [--------------------------------------------------] 100% Optional dependencies for vivaldi-snapshot vivaldi-snapshot-ffmpeg-codecs: playback of proprietary video/audio libnotify: native notifications [installed] :: Running post-transaction hooks... (1/4) Arming ConditionNeedsUpdate... (2/4) Refreshing PackageKit... (3/4) Updating icon theme caches... (4/4) Updating the desktop file MIME type cache... [guigirl@alg-kde-vm ~]$ [guigirl@alg-kde-vm ~]$ /opt/vivaldi-snapshot/update-ffmpeg --user % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1115k 100 1115k 0 0 388k 0 0:00:02 0:00:02 --:--:-- 388k Proprietary media codecs (97.0.4692.71) has been installed (PLEASE RESTART VIVALDI) [guigirl@alg-kde-vm ~]$
It worked a treat ... & was acceptably fast + unintensive. Next time i notice another delay in herecura but with AUR already updated, i think i'll repeat this method. Sure, i know, it's not sophisticated like your method, but i think it's good enough for a duffer like me.
PS / OT
Btw, to ensure that the media was playing ok, i visited this random YT https://www.youtube.com/watch?v=Jo1P4RVsxB8, & was thoroughly enchanted by the lovely-seeming couple with their warmth & openness. It felt a bit voyeuristic of me, yet was a fascinating insight into another slice of humanity. Then... i began weeping, as i remembered the imminent horror about to unfold, unless the madmen come to their senses.
-
I wonder what went wrong there, since the repo was updated right away and the CI pipeline shows no errors. I guess I'll send them a mail.
https://gitlab.com/herecura/packages/vivaldi-snapshot// Yeah, there has actually been an issue. Updating again, now.
-
@guigirl That's the typical terminal-based install with an AUR helper requiring the shell script to be already up-to-date by the maintainer, which should be enhanced with those extra parameters stated in my previous post to be useful for me, so I prefer my easier/more comfortable GUI method
-
@npro Ack, that's the trouble with you young noob Nixers fresh in from windoze, always looking for a GUI way.
-
@guigirl Don't know what windoze is, I know GUI since
-
@npro Nice. You venerable old fart, you. No wonder you know Nix inside & out.
Btw, your sig reversion has ofc been noted.
Spoiler
-
@guigirl yeah couldn't make passthrough work and I was pissed
Also... I forgot mentioning the Amiga!
-
@npro Temporary set-back, or actual end of that project for you?
-
@guigirl temporary put on an iceberg floating around my other icebergs* would be the more suitable description of the situation right now
*like...
I still haven't gone through the whole systemd 250 list and...
thesystemd-oomd
manual pages...