LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Vivaldi-stable problem with slackbuild script (https://www.linuxquestions.org/questions/slackware-14/vivaldi-stable-problem-with-slackbuild-script-4175576826/)

neymac 04-06-2016 10:00 AM

Vivaldi-stable problem with slackbuild script
 
I use vivaldi-snapshot slackbuild script to install vivaldi but after the new vivaldi-stable 1.0.435.40 I can't build the package anymore, I've tried replace all "vivaldi-snapshot" to "vivaldi-stable" in the slackbuild script but it didn't work. Does anyone have a slackbuild script for vivaldi-stable?

cwizardone 04-06-2016 11:20 AM

I had the same problem so I went to Vivaldi's website, downloaded the 64-bit .rpm file, ran rpm2tgz on it and installed the resulting .tgz package. Works just fine. Typing this message in it.
It does have some "old Opera" appeal, but I never cared for "speed dial," so other than being able to move the location bar to the bottom of box, it seems to be another "chrome clone."

GazL 04-06-2016 11:34 AM

Code:

cd /tmp
wget "https://vivaldi.com/download/stable/vivaldi-stable-1.0.435.40-1.i386.rpm"
cd /
rpm2cpio /tmp/vivaldi-stable-1.0.435.40-1.i386.rpm | cpio -idm "./opt/vivaldi/*"

... is what I used for a quick and dirty install to /opt. Obviously, doing that means you won't get the *.desktop files to add to to the menu's, but I use dmenu, so I didn't care about that stuff and just wanted the contents of /opt.

DarkVision 04-06-2016 02:54 PM

Quote:

Originally Posted by cwizardone (Post 5527119)
I had the same problem so I went to Vivaldi's website, downloaded the 64-bit .rpm file, ran rpm2tgz on it and installed the resulting .tgz package. Works just fine.

You may install some files in /etc which i think are not really useful (looks like some automated update script) and you might miss the icons for the desktop menu entry because the icons in /opt/vivaldi/product_logo_*.png need to be installed to /usr/share/icons/hicolor. Have a look here. Also there might be an extra symbolic link to some (non-existing file, at least here...) to /opt/google... see the doinst.sh script inside /install of the tgz package.

And yes... vivaldi from RPM works fine, tested on -current.

cwizardone 04-06-2016 03:06 PM

Quote:

Originally Posted by DarkVision (Post 5527251)
You may install some files in /etc which i think are not really useful (looks like some automated update script) and you might miss the icons for the desktop menu entry because the icons in /opt/vivaldi/product_logo_*.png need to be installed to /usr/share/icons/hicolor. Have a look here. Also there might be an extra symbolic link to some (non-existing file, at least here...) to /opt/google... see the doinst.sh script inside /install of the tgz package.

And yes... vivaldi from RPM works fine, tested on -current.

Yes, it was missing the icon, but found it, as you said, in /opt/vivaldi.

vonbiber 04-10-2016 01:56 PM

I just built a slack package for the latest vivaldi-snapshot release.
The build script should work for the vivaldi-stable releases.

Anybody interested in the SlackBuild can copy and paste from:

http://pastebin.com/3gwBbRnj

A chromium-widevine-plugin should be installed before starting to build
(unless you have google chrome, I suppose).
I got mine from alienbob repository:

http://www.slackware.com/~alien/slac...in/pkg64/14.1/

neymac 04-10-2016 06:25 PM

@vonbiber - Thank you, it worked fine.


All times are GMT -5. The time now is 04:19 AM.