Opera Upgrade | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | I've realised that Opera is at version 9.64 and the newer 10.0 is much better... It is time to upgrade this version... does anyone already have the spec for the new version...
I'll try to make my own this afternoon... and then I post it in here .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Junior Mitglied Posts: 23 Registered: 2008-02-18 | Hello
I have opera updatet to Version: 10.00 in testing. Have fun! |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Problem downloading opera 10.00
Code | [In neuem Fenster öffnen] | |
Building opera-10.00-1 (testing)...
[CHECK] download
[CHECK] [ -e /var/cache/upkg/www.paldo.org_paldo/sources/opera/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2 ] || wget -P /var/cache/upkg/www.paldo.org_paldo/sources/opera http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2
--2009-10-21 22:16:27-- http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2
Risoluzione di get.opera.com... 195.189.143.122
Connessione a get.opera.com|195.189.143.122|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 404 Not Found
2009-10-21 22:16:27 ERRORE 404: Not Found.
*** Error: [ -e /var/cache/upkg/www.paldo.org_paldo/sources/opera/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2 ] || wget -P /var/cache/upkg/www.paldo.org_paldo/sources/opera http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2
|
It should be trying to download http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2
and not http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2.tar.bz2 .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Here is the diff from the original opera spec to what the spec should be:
Code | [In neuem Fenster öffnen] | |
101c101
< <archive name="http://get.opera.com/pub/opera/linux/1000/final/en/i386/shared/opera-$VERSION.gcc3-shared-qt3.i386.tar.bz2">
---
> <archive name="http://get.opera.com/pub/opera/linux/1000/final/en/i386/shared/opera-$VERSION.gcc3-shared-qt3.i386">
139c139
< <archive name="http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-$VERSION.gcc4-shared-qt3.x86_64.tar.bz2">
---
> <archive name="http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-$VERSION.gcc4-shared-qt3.x86_64">
|
I hope it helps .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | Thanks, fixed now. I'm wondering why we're not using the Qt 4 version, though. |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Actually lots of distros don't use the qt4 version... I'll try to track if I find one and find the modifications for the spec and post in here .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade and x86_64 problems | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Here is the code for opera on x86_64 using shared qt-4 interface
Code | [In neuem Fenster öffnen] | |
<release version="10.00" revision="1" branch="testing" tag="qt-4" arch="x86_64">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-4"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1000/final/en/x86_64/opera-$VERSION.gcc4-qt4.x86_64">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
|
Now about the problems:
Opera on x86_64 (qt3 or at4) and also nvidia-settings when trying to start gives:
Code | [In neuem Fenster öffnen] | |
[diogo@hp-laptop:~]$ opera
/usr/bin/opera: line 243: /usr/lib/opera/10.00/opera: No such file or directory
/usr/bin/opera: line 243: /usr/lib/opera/10.00/opera: Success
[diogo@hp-laptop:~]$ nvidia-settings
bash: /usr/bin/nvidia-settings: No such file or directory
[diogo@hp-laptop:~]$
|
Now after doing symbolic links of lib32 and lib64 to lib... it works:
Code | [In neuem Fenster öffnen] | |
[diogo@hp-laptop:~]$ sudo ln -s /usr/lib /usr/lib64
[diogo@hp-laptop:~]$ sudo ln -s /usr/lib /usr/lib32
[diogo@hp-laptop:~]$ sudo ln -s /lib/ /lib64
[diogo@hp-laptop:~]$ sudo ln -s /lib/ /lib32
[diogo@hp-laptop:~]$ sudo ln -s /usr/local/lib/ /usr/local/lib32
[diogo@hp-laptop:~]$ sudo ln -s /usr/local/lib/ /usr/local/lib64
[diogo@hp-laptop:~]$ nvidia-settings
[diogo@hp-laptop:~]$ opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
[diogo@hp-laptop:~]$
|
So if these programs need these symlinks... wouldn't be better to do a postinstall to check if they exist and if not either advise the user to do these symlinks or create it by default... until no other programs needs it
Because if a program is installed and it can't be ran, then it goes against the filosofy of the Just Works System on our x86_64 bit version. .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade - New Version 10.01 | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Here is the upgraded spec for the new opera 10.01 with possibility of using the qt4 version:
To install the qt4 it is set as a tag version, qt-4 tag.
Post Scriptum | | <release version="10.01" revision="1" branch="testing" arch="x86">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-3"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1001/final/en/i386/shared/opera-$VERSION.gcc3-shared-qt3.i386">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
<release version="10.01" revision="1" branch="testing" tag="qt-4" arch="x86">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-4"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1001/final/en/i386/opera-$VERSION.gcc4-qt4.i386">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
<release version="10.01" revision="1" branch="testing" arch="x86_64">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-3"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1001/final/en/x86_64/opera-$VERSION.gcc4-shared-qt3.x86_64">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
<release version="10.01" revision="1" branch="testing" tag="qt-4" arch="x86_64">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-4"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1001/final/en/x86_64/opera-$VERSION.gcc4-qt4.x86_64">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release> |
.............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | Thanks for your research. I've added the /lib64 symlink to stable and updated to the Qt 4 version of 10.01 in testing. |
|
|
|
|
|
Re: Opera Upgrade | |
|
|
Senior Mitglied Posts: 216 Registered: 2008-07-04 | Thanks Juerg for adding the lib64 symlink,
A new version has been released so I upgraded on my system and, I'm now here again posting the new spec.
The new version is 10.10 and it adds some new features and improves stability
Since you've defaulted to qt4 on testing I did it only for qt4, but it is using stable branch since it is my branch
Code | [In neuem Fenster öffnen] | |
<?xml version="1.0"?>
<package name="opera">
<description>closed source webbrowser</description>
<releases>
<release version="10.10" revision="1" branch="stable" arch="x86">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-4"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1010/final/en/i386/opera-$VERSION.gcc4-qt4.i386">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
<release version="10.10" revision="1" branch="stable" arch="x86_64">
<settings>
<binary>no</binary>
</settings>
<deps>
<dep name="qt-4"/>
<dep name="ice"/>
<dep name="x11"/>
<dep name="libstdc++5"/>
<dep name="xext"/>
<dep name="sm"/>
<dep name="coreutils"/>
<dep name="filesystem-hierarchy"/>
<dep name="xt"/>
<dep name="glibc"/>
<dep name="gcc"/>
<dep name="zlib"/>
</deps>
<preinst>
<cmd>ln -Tsvf lib /lib64</cmd>
</preinst>
<build>
<script>
<archive name="http://get.opera.com/pub/opera/linux/1010/final/en/x86_64/opera-$VERSION.gcc4-qt4.x86_64">
<cmd>./install.sh --prefix=/usr -v</cmd>
<cmd>install usr/share/pixmaps/opera.xpm /usr/share/pixmaps/opera.xpm</cmd>
<cmd check="no">cat > /usr/share/applications/opera.desktop << "EOF"
[Desktop Entry]
Name=Opera
Comment=Browse the web
Exec=opera
Icon=/usr/share/pixmaps/opera.xpm
Terminal=false
Type=Application
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;
EOF</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>
| .............................. OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez |
|
|
|
|
|