I was just trying to find out if the latest Opera release (10.60) was already available in the package manager and saw that there's a problem when I select "get-opera" ...
Connecting to mirrors.dedipower.com (81.29.64.234:80) wget: server returned error: HTTP/1.1 404 Not Found
Thanks for the reply, seawolf. I have done what you've suggested. Although I the installation produced a number of warnings about unresolved dependencies and something about gstreamer, Opera 10.60 seems to work without problems. I wonder if the RPMs for Fedora or Mandriva may be even closer to what's needed in SliTaz? Anyways ... for the time being Opera 10.60 works well. When the script is fixed I will un-install and then properly re-install the package.
I've corrected the script and added a little bit to it (one output, a build number etc.) and as long as there are no complaints will add it to the repos:
http://dl.dropbox.com/u/6413248/get-opera It will need a `chmod +x get-opera` after download, before run. It still downloads the RPM, re-packs it in to a TazPkg; you will still have 'opera-10.60-6368.tazpkg' installed as normal.
The directories and filename suffixes have changed which I is what broke it. The script will need to be updated with each major release, certainly; we will have to see if they keep more than then latest build.
Remove opera (10.11-final) ? Please confirm uninstallation (y/N) : y
Removing : opera ================================================================================ Removing all files installed... [ OK ] Removing package receipt... [ OK ]
Connecting to mirrors.dedipower.com (81.29.64.234:80) wget: server returned error: HTTP/1.1 404 Not Found root@slitaz:/home/tux/Downloads#
... then I tried to merge the changed bits from bellard's page into the script. But it didn't work. I guess, I'm just not smart enough for this ... :-)
@Darjeeling: I noticed you used the command: get-opera
But, as you're in the Downloads directory, I assume you downloaded my script there? If so, you'll need to make sure you run that and not the original you have in /usr/bin.
If you still have the 'get-opera' *package* installed, you just called the old script from that!
Run the new one with a dot-slash prefix: /home/tux/Downloads chmod +x get-opera ./get-opera
@seawolf ... yes, that was a stupid mistake. To make up for this I did the real thing this time. I copied your script to /usr/bin and ran it as root from my home directory, which worked without any problems. Great!
The only difference to previous Opera installations is that the icon is now called opera-browser.png (it used to be just opera.png). After the installation this has to be changed in /usr/share/applications/Opera.desktop ...
Icon=opera-browser.png
Another thing I noticed is that Opera no longer needs the command line parameter -notrayicon to get red of the annoying tray icon. It actually doesn't start at all with this parameter in the command line. To disable the tray icon one has to use "about:config" scroll down to "User Preferences" and change "Show Tray Icon" in there.
Here's how your script looks in the terminal ...
tux@slitaz:~$ su Password: root@slitaz:/home/tux# get-opera
Remove opera (10.11-final) ? Please confirm uninstallation (y/N) : y
Removing : opera ================================================================================ Removing all files installed... [ OK ] Removing package receipt... [ OK ]
Downloading version 10.60 (build 6386)... Connecting to mirrors.dedipower.com (81.29.64.234:80) opera-10.60-6386.i38 100% |*******************************| 14396k 00:00:00 ETA 63013 blocks
Packing : opera-10.60 ================================================================================ Creating the list of files... [ OK ] Creating md5sum of files... [ OK ] Compressing the fs... LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 [ OK ] Undating receipt sizes... [ OK ] Creating full cpio archive... [ OK ] Restoring original package tree... 45973 blocks [ OK ] ================================================================================ Package opera-10.60 compressed successfully. Size : 8.7M opera-10.60.tazpkg
Installation of : opera-10.60 ================================================================================ Copying opera-10.60... [ OK ] Extracting opera-10.60... 17739 blocks Extracting the pseudo fs... (lzma) 45973 blocks Installing opera... [ OK ] Removing all tmp files... [ OK ] ================================================================================ opera (10.60) is installed.