You are not logged in.

#1 2008-05-10 18:57:40

bladesonfire
Member
From: California, USA
Registered: 2007-05-23
Posts: 44
Website

Opera Dragonfly (need updated package?)

Hi all,

I wanted to test out Opera Dragonfly, which is Opera's version of Firebug. To use Opera Dragonfly, Opera 9.50 beta 2 is required, but I think a later build is also required, because I have opera-devel build 1929, but the latest UNIX build is 1962. Dragonfly was released on May 6th. How do I request this package upgrade and rely less on Firefox? Thanks. smile

Offline

#2 2008-05-10 19:52:05

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Opera Dragonfly (need updated package?)

The best way to tackle is is to update opera-devel package using ABS.

Offline

#3 2008-05-10 20:01:58

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Opera Dragonfly (need updated package?)

I just happened to need opera 9.50 beta 2 so I modified a little the PKGBUILD and voila:

# Custom opera beta PKGBUILD by Dheart.

pkgname=opera-devel
pkgver=9.50
pkgrel=0.30
pkgdesc="The Opera web browser developement and testing version"
url="http://www.opera.com/"
depends=('qt3')
license=('custom:opera')
arch=('i686' 'x86_64')
conflicts=('opera')
provides=('opera')
source=(http://mirrors.reallan.net/pub/opera/linux/950b2/final/en/i386/shared/opera-9.50b2-20080422.6-shared-qt.i386-en.tar.gz opera.desktop opera_logo48.png)
md5sums=('3dc9ef3229bc4401ccffacbec12fc390'
         '63420a6c4e77f7d9aa3d8f0ebd330947'
         'a270c65b8d4f8e2e76439f417ea44265')

[ "$CARCH" = "x86_64" ] && source=(http://snapshot.opera.com/unix/snapshot-1933/x86_64-linux/opera-9.50b-20080422.6-shared-qt.x86_64-1933.tar.bz2
 opera.desktop opera_logo48.png)
[ "$CARCH" = "x86_64" ] && md5sums=('13dc137935e90eadacbf136982b3cfab'
         '63420a6c4e77f7d9aa3d8f0ebd330947'
         'a270c65b8d4f8e2e76439f417ea44265')

build() {
if [ "$CARCH" = "x86_64" ]; then
       cd ${startdir}/src/opera-9.50b-20080422.6-shared-qt.x86_64-1933
       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
  else cd ${startdir}/src/opera-9.50-20080422.6-shared-qt.i386-1933
       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
fi
   ./install.sh DESTDIR=${startdir}/pkg
   install -D -m 644 ${startdir}/src/opera.desktop ${startdir}/pkg/usr/share/applications/opera.desktop
   install -D -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/opera/license.txt
   install -D -m 644 ${startdir}/src/opera_logo48.png ${startdir}/pkg/usr/share/opera/images/opera_48x48.png
}

Note: Since I was lazy the x86-64 part probably wouldn't build because the address of the sources has changed and I didn't bother to search it.

Also you'll need the .desktop file and the logo. Place them in the build dir.

P.P preview doesn't work with the new opera...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#4 2008-05-11 00:28:38

bladesonfire
Member
From: California, USA
Registered: 2007-05-23
Posts: 44
Website

Re: Opera Dragonfly (need updated package?)

Thanks to both of you smile Installed ABS, copied the opera-devel folder, modified the PKGBUILD, and here I am running Dragonfly. Rock on!

Dheart, I noticed you weren't using the latest beta, so here's my PKGBUILD if anyone wants the latest (fixed "development" spelling and updated 32-bit and 64-bit packages):

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Tom Killian <tom@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=opera-devel
pkgver=9.50
pkgrel=0.30
pkgdesc="The Opera web browser development and testing version"
url="http://www.opera.com/"
depends=('qt3')
license=('custom:opera')
arch=('i686' 'x86_64')
conflicts=('opera')
provides=('opera')
source=(http://snapshot.opera.com/unix/snapshot-1962/intel-linux/opera-9.50-20080508.6-shared-qt.i386-1962.tar.bz2 opera.desktop opera_logo48.png)
md5sums=('fa1267931ab44c4e32708977fb1d2c98'
         '63420a6c4e77f7d9aa3d8f0ebd330947'
         'a270c65b8d4f8e2e76439f417ea44265')

[ "$CARCH" = "x86_64" ] && source=(http://snapshot.opera.com/unix/snapshot-1962/x86_64-linux/opera-9.50-20080508.2-shared-qt.x86_64-1962.tar.bz2
 opera.desktop opera_logo48.png)
[ "$CARCH" = "x86_64" ] && md5sums=('957f75bfb7a2513a87b53f86aa199022'
         '63420a6c4e77f7d9aa3d8f0ebd330947'
         'a270c65b8d4f8e2e76439f417ea44265')

build() {
if [ "$CARCH" = "x86_64" ]; then
       cd ${startdir}/src/opera-9.50-20080508.2-shared-qt.x86_64-1962
       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
  else cd ${startdir}/src/opera-9.50-20080508.6-shared-qt.i386-1962
       sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1
fi
   ./install.sh DESTDIR=${startdir}/pkg
   install -D -m 644 ${startdir}/src/opera.desktop ${startdir}/pkg/usr/share/applications/opera.desktop
   install -D -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/opera/license.txt
   install -D -m 644 ${startdir}/src/opera_logo48.png ${startdir}/pkg/usr/share/opera/images/opera_48x48.png
}

Offline

#5 2008-05-11 11:08:32

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Opera Dragonfly (need updated package?)

Strange... I had just browsed through opera's snapshop site and that was the beta it gave me... nvm... I don't intent to rebuild since I'm far too lazy tongue


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

Board footer

Powered by FluxBB