LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2019, 08:06 AM   #286
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

The second minor update to Vivaldi 2.9 is out: (1705.38)
https://vivaldi.com/sv/blog/minor-up...r-vivaldi-2-9/
Quote:
The following change was made since the first 2.9 update:
[Crash] While looking for plane tickets on various booking sites (VB-57662)
Upgraded Chromium to 78.0.3904.92
Third update: (1705.41)
https://vivaldi.com/sv/blog/minor-up...r-vivaldi-2-9/
Quote:
[Linux] Update third party media libs and ensure they have correct permissions (VB-59413)
Some IMEs are no longer working, e.g. Yahoo IME: fixed by Chromium update below (VB-59490)
Upgraded Chromium to 78.0.3904.99

Last edited by mats_b_tegner; 11-08-2019 at 08:47 AM.
 
1 members found this post helpful.
Old 11-05-2019, 06:08 PM   #287
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by slalik View Post
Will this work via the "Custom UI modifications" setting? (enabled in vivaldi://experiments/). If yes, you can avoid editing the vivaldi code directly.
That does indeed work. My only issue with it is that now I need to find a place to put any custom css files. Maybe if it were integrated into Vivaldi itself, like say a default 'custom.css' somewhere in ~/.config/vivaldi and editable (with some syntax highlighting ) from the 'Settings' it would be more appealing.

In the end, it doesn't make much sense to create a custom.css and find a location to store it for the one mod that I do.

Last edited by Skaendo; 11-05-2019 at 06:10 PM.
 
Old 11-05-2019, 06:23 PM   #288
slalik
Member
 
Registered: Nov 2014
Location: Moscow
Distribution: Slackware
Posts: 233

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by Skaendo View Post
In the end, it doesn't make much sense to create a custom.css and find a location to store it for the one mod that I do.
But you have to do this one mod after every upgrade.
 
1 members found this post helpful.
Old 11-05-2019, 06:47 PM   #289
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by slalik View Post
But you have to do this one mod after every upgrade.
Meh. For me, I don't use Vivaldi regularly enough to worry about upgrades. Then I only have it on my testrig, so it gets wiped out regularly.

Like I said, Maybe if it were integrated into Vivaldi itself, like say a default 'custom.css' somewhere in ~/.config/vivaldi and editable from the 'Settings' it would be more appealing.
 
Old 11-06-2019, 11:17 AM   #290
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by ruario View Post
I'm not sure I understand what you are talking about. The latest script is a repacking script, i.e. it is basically a SlackBuild. No SlackBuild in the world (AFAIK) registers a pkg in /var/log/packages, that is the job of Pkgtools during installation of the created package.
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages". However, when running removepkg in the directory where I stored the slackbuild it did remove the files. All I can think is that the script failed to register in /var/log/packages, or is that a responsibility the install/remove/upgradepkg tools?

FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.

Cheers,
 
Old 11-06-2019, 12:18 PM   #291
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by bamunds View Post
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages". However, when running removepkg in the directory where I stored the slackbuild it did remove the files. All I can think is that the script failed to register in /var/log/packages, or is that a responsibility the install/remove/upgradepkg tools?

FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.

Cheers,
The same thing has happened to me more than a few times with different packages.
Have you tried using pkgtool to remove it?
Sometimes a package name is strange and I use pkgtool to look for and remove it.
 
Old 11-06-2019, 01:59 PM   #292
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by bamunds View Post
I understand and agree with you. When using the script, the slackbuild was built. I then used installpkg to install the package, but for some reason it didn't register in /var/log/packages. As a result, when attempting to removepkg, an error was generated that was "no package found in /var/log/packages".
Are you giving the correct package name? i.e. vivaldi-stable NOT vivaldi?

The SBo SlackBuild creates a package of the name vivaldi, while my script creates one named vivaldi-stable (like the official rpm/deb packages we produce). I had considered changing this but in the end I never really thought about it again.

Quote:
Originally Posted by ruario View Post
I see that the SlackBuild from SBo uses the naming scheme vivaldi-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE while I use vivaldi-$VIVALDI_STREAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE (similar to the official rpm and deb packages). This means of course that an upgrade from one to the other would not be automatic. You would need the oldpackagename%newpackagename trick with upgradepkg. I might update my script to conform to what the SlackBuild does (since that was out first) but I need to think about that, since I also like the idea of being similar to the official (rpm/deb) package naming. Anyway, if I do make such a change it will have to be another time since I am done for the day.

For now at least it is something to bear in mind if you do upgrade from a package made by the SlackBuild.
Alternatively, are you running -current where the location would be /var/lib/pkgtools?

Quote:
Originally Posted by bamunds View Post
However, when running removepkg in the directory where I stored the slackbuild it did remove the files.
If removepkg is able to find all the files associated with vivaldi, then there are in the log, plain and simple, as it uses the log to find the files.
 
1 members found this post helpful.
Old 11-06-2019, 02:03 PM   #293
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by bamunds View Post
FYI, there are a couple of tools which will build a slackbuild script and then also install what was built, like sbotools and sboui.
Yes but they are tools that call the slackbuild and them call pkgtools. That is not the same as the slackbuild itself being responsible for creating log file entries and bypassing pkgtools altogether.
 
3 members found this post helpful.
Old 11-06-2019, 03:56 PM   #294
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by ruario View Post
Yes but they are tools that call the slackbuild and them call pkgtools. That is not the same as the slackbuild itself being responsible for creating log file entries and bypassing pkgtools altogether.
I'm confused by the statement, it isn't making logic. If sbotools and sboui call the slackbuild, then why wouldn't slackbuild creating log file entries for insertion to /var/log/packages? Either way it seems the slackbuild, unmodified by sbotools and sboui, should create the log file.

As for the previous questions. this is on 14.2 using latest-vivaldi.sh, not -current. ls /var/log/packages/vivald* found no packages indicating neither vivaldi or vivaldi-stable were reported to /var/log/packages. Assuming I correctly understand that the pkgtools (install/remove/upgradepkg) all record to /var/log/packages and /var/log/removed_packages, but my understanding can certainly be corrected, then I'm not sure why removepkg wasn't able to find and remove the vivaldi-stable unless it was missing from /var/log/packages.

I truly appreciate your help and information. I'm now using vivaldi from SBo installed with sbotools and everything is working properly. I've decided to not use latest-stable.sh, partly because the script is lengthening, as allowed, the slackware way of naming the package and maybe that is confusing my pkgtools.

Cheers
 
Old 11-07-2019, 06:02 AM   #295
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by bamunds View Post
I'm confused by the statement, it isn't making logic. If sbotools and sboui call the slackbuild, then why wouldn't slackbuild creating log file entries for insertion to /var/log/packages? Either way it seems the slackbuild, unmodified by sbotools and sboui, should create the log file.
Open any SlackBuild and look for references to /var/log/packages (or /var/lib/pkgtools) and you will find nothing because they are not involved in logging. All they do is prepare a staged copy of installable files and then call makepkg to create a compressed tar archive (Slackware package). Utilities like sbotools call the relevant SlackBuild, wait for it to complete and then call ‘upgradepkg --install-new’ with the final package name. upgradepkg in turn calls (optionally) removepkg and then installpkg. It is installpkg that makes the package log based on a listing of its contents from the output of a tar extraction (with the ‘v’ option).

So the install log is effectively created by tar (via installpkg), not the SlackBuild. It does not matter if you think this does not sound logical, you or anyone else can verify this by reading the source code for each of these (they are all just bash scripts).


Quote:
Originally Posted by bamunds View Post
As for the previous questions. this is on 14.2 using latest-vivaldi.sh, not -current. ls /var/log/packages/vivald* found no packages indicating neither vivaldi or vivaldi-stable were reported to /var/log/packages.
removepkg uses the contents of “/var/log/packages/$PKGNAME” to remove files. If /var/log/packages/vivald* returned nothing then removepkg simply could not remove the package and yet…

Quote:
Originally Posted by bamunds View Post
However, when running removepkg in the directory where I stored the slackbuild it did remove the files.
Once again, you can verify how removepkg works by reading the script yourself.

Quote:
Originally Posted by bamunds View Post
I'm not sure why removepkg wasn't able to find and remove the vivaldi-stable unless it was missing from /var/log/packages.
And yet it did remove it, as you said yourself (previous quote above)


Quote:
Originally Posted by bamunds View Post
because the script is lengthening, as allowed, the slackware way of naming the package and maybe that is confusing my pkgtools.
Have a quick check in /var/log/packages and see how many official packages are named like so: something-something-$VERSION-$ARCH-$BUILD$TAG

I put to you, that either you are doing something wrong or your system is broken. If there was actually an issue here with latest-vivaldi.sh somehow failing to create a /var/log/packages entry, don't you think that at least one other person in this thread (that is now 20 pages long) would have mentioned it?
 
3 members found this post helpful.
Old 11-07-2019, 06:07 AM   #296
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by ruario View Post

I put to you, that either you are doing something wrong or your system is broken. If there was actually an issue here with latest-vivaldi.sh somehow failing to create a /var/log/packages entry, don't you think that at least one other person in this thread (that is now 20 pages long) would have mentioned it?
I checked my /var/log/packages and Vivaldi is there on 14.2 [and -current].
 
1 members found this post helpful.
Old 11-07-2019, 07:40 AM   #297
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
I know there has been some concern in this thread with regards to network connections that Vivaldi makes back to our domains or those owned by Google. If you would like to better understand what is going on, this blog post by my colleague Yngve might help you put your mind at rest: Decoding network activity in Vivaldi
 
5 members found this post helpful.
Old 11-07-2019, 07:51 AM   #298
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by Lysander666 View Post
I checked my /var/log/packages and Vivaldi is there on 14.2 [and -current].
On my primary work machine I don't usually use “install” Vivaldi in a traditional sense, since I have (currently) 1095 different versions available to run at the same time (for regression testing).

However, I have just run the script normally and with “VIVALDI_STREAM=snapshot” defined and installed the resultant packages. This is a 14.2 machine. Sure enough I have these entries:

Code:
$ ls -l /var/log/packages/vivaldi*
-rw-r--r-- 1 root root 38523 Nov  7 14:53 /var/log/packages/vivaldi-snapshot-2.9.1719.3-x86_64-1ro
-rw-r--r-- 1 root root 32777 Nov  7 14:53 /var/log/packages/vivaldi-stable-2.9.1705.38-x86_64-1ro
 
3 members found this post helpful.
Old 11-07-2019, 10:28 AM   #299
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by ruario View Post
I know there has been some concern in this thread with regards to network connections that Vivaldi makes back to our domains or those owned by Google. If you would like to better understand what is going on, this blog post by my colleague Yngve might help you put your mind at rest: Decoding network activity in Vivaldi
That is seriously good stuff! Thanks!
 
Old 11-07-2019, 09:35 PM   #300
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
@ruario

I apologize for taking your time on this topic and mean no disregard to your knowledge, script or explanations. I know the slackbuild only makes the package and pkgtools writes to /var/log/packages. The one incident I asked about must be a user error. Thank you for the timely support and help. Cheers.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vivaldi Continues To Build Amazing Features With Vivaldi 1.11 LXer Syndicated Linux News 0 08-12-2017 06:09 PM
LXer: Vivaldi Technologies Vivaldi Web Browser LXer Syndicated Linux News 0 10-28-2016 07:26 PM
LXer: KDE Vivaldi Tablet Finally Shipping For QA Testing LXer Syndicated Linux News 0 07-23-2013 02:21 AM
LXer: Vivaldi Tablet Finally (Almost) Finalized LXer Syndicated Linux News 0 05-30-2013 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration