Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opera 6.02 for Linux Released... Will there be an eBuild ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
d4h0od
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 80
Location: Europe => Sweden => Blekinge => Karlskrona => h0odet

PostPosted: Wed Jul 03, 2002 11:19 pm    Post subject: Opera 6.02 for Linux Released... Will there be an eBuild ? Reply with quote

I just wonder if anyone knows when Opera 6.02 will be avaliable as an eBuild in Gentoo =) ?

http://www.opera.com/pressreleases/en/2002/07/20020703_2.html
_________________
// d4h0od
Back to top
View user's profile Send private message
Robert
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 103
Location: Syracuse, NY

PostPosted: Thu Jul 04, 2002 2:47 am    Post subject: Reply with quote

I just installed the official download which basically amounts to "sh install.sh". If you use the dynamic version you need QT 2.3.x. I have yet to work on any ebuilds, but this might be on the low end of the priority list since its just a binary install anyways ;)

--
Robert Brown
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 04, 2002 3:17 am    Post subject: Reply with quote

If you're feeling adventuresome, you could always write an ebuild yourself (per the instructions in the development guide) and submit it (per the instructions in the ebuild submission guide)... it's really not all that hard. Give it a go.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jul 04, 2002 4:47 am    Post subject: Reply with quote

Save the following as /usr/portage/net-www/opera/opera-6.0.2.ebuild

Code:


DESCRIPTION="Opera web browser, version 6.02 Final."
HOMEPAGE="http://www.opera.com"

NV=6.02-20020701.2-shared-qt.i386
S=${WORKDIR}/opera-${NV}
SRC_URI="http://www.panix.com/opera/files/linux/602/final/en/qt_shared/opera-${NV}.tar.bz2"

DEPEND="=x11-libs/qt-2*
        =media-libs/libpng-1.0.12*"

src_install() {

        mv install.sh install.sh_orig
        sed -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \
                -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \
                -e "s:/usr/share/icons:${D}/usr/share/icons:g" \
                -e "s:/etc/X11:${D}/etc/X11:g" \
                -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
                install.sh_orig > install.sh
        chmod 755 install.sh
        ./install.sh \
                --exec_prefix=${D}/opt/opera/bin \
                --wrapperdir=${D}/opt/opera/share/bin \
                --docdir=${D}/usr/share/doc/${P} \
                --sharedir=${D}/opt/opera/share \
                --plugindir=${D}/opt/opera/share/plugins || die
        rm ${D}/usr/share/doc/${P}/help
        dosym /usr/share/opera/help /usr/share/doc/${P}/help
        dosed /usr/bin/opera

        #install the icons
        insinto /usr/share/icons /etc/X11/wmconfig /etc/X11/applnk/Internet \
                /usr/share/pixmaps /usr/share/gnome/pixmaps
        doins images/opera.xpm
        insinto /etc/X11/wmconfig
        doins images/opera.xpm
        insinto /etc/X11/applnk/Internet
        doins images/opera.xpm
        insinto /usr/share/pixmaps     
        doins images/opera.xpm
       
        if [ "`use gnome`" ]
        then
                insinto /usr/share/gnome/pixmaps
                doins images/opera.xpm
        fi

        insinto /etc/env.d
        doins ${FILESDIR}/10opera6
}


Then do this:

Code:

ebuild /usr/portage/net-www/opera/opera-6.0.2.ebuild digest
emerge /usr/portage/net-www/opera/opera-6.0.2.ebuild


I haven't tested this but I am assuming it will work, if it doesn't or if you have a problem let me know.

.: Edited As Suggested Below :D
_________________
This message self destructed a long time ago.


Last edited by AutoBot on Thu Jul 11, 2002 6:31 am; edited 1 time in total
Back to top
View user's profile Send private message
mezz
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2002
Posts: 111

PostPosted: Thu Jul 04, 2002 6:52 am    Post subject: Reply with quote

I think, it needs to add one more depend for openmotif too.. Unless, it's already included by default or no need for Linux.. Here's FreeBSD's linux-opera in the ports, so it might help a little.. :)
Code:
PORTNAME=   opera
PORTVERSION=   6.02.20020701
CATEGORIES=   www linux
MASTER_SITES=   http://opera.online.no/linux/602/final/en/qt_static/ \
      ftp://ftp.opera.com/pub/opera/linux/602/final/en/qt_static/
PKGNAMEPREFIX=   linux-
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/02./02-/}.1-static-qt.i386

MAINTAINER=   des@FreeBSD.org

RUN_DEPENDS=   ${LINUXBASE}/usr/X11R6/lib/libXm.so.2:${PORTSDIR}/x11-toolkits/linux-openmotif \
      ${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png

USE_BZIP2=   yes
USE_LINUX=   yes
USE_REINPLACE=   yes
ONLY_FOR_ARCHS=   i386

NO_BUILD=   yes
NO_FILTER_SHLIBS=yes

do-configure:
   ${REINPLACE_CMD} -e \
       's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
       ${WRKSRC}/install.sh

do-install:
   (cd ${WRKSRC} && ./install.sh \
       --exec_prefix=${DATADIR}/bin \
       --wrapperdir=${PREFIX}/bin \
       --docdir=${DOCSDIR} \
       --sharedir=${DATADIR} \
       --plugindir=${DATADIR}/plugins )

.include <bsd.port.mk>
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jul 04, 2002 8:44 am    Post subject: Reply with quote

Please don't post a bsd port in a gentoo forum, I understand you thought it would be helpful but being that ports and portage are two different things it really isn't.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
duegatti
n00b
n00b


Joined: 28 Jun 2002
Posts: 17
Location: Scappoose, OR, USA

PostPosted: Thu Jul 11, 2002 5:27 am    Post subject: opera 6.0.2 ebuild correction Reply with quote

remove 'opera' from the NV line of the ebuild file:
ie change
Code:

NV=opera-6.02-20020701.2-shared-qt.i386

to
Code:

NV=6.02-20020701.2-shared-qt.i386

and it works perfectly :)
_________________
#!/bin/sh {who;} {last;} {pause;} {grep;} {touch;} {unzip;} mount /dev/girl -t {wet;} {fsck;} {fsck;} {fsck;} {fsck;} echo yes yes yes {yes;} umount {/dev/girl;zip;} rm -rf {wet.spot;} {sleep;} finger: permission denied
- LUGnut, #orlug, OPN
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jul 11, 2002 6:35 am    Post subject: Reply with quote

Edited should work now, thanks duegatti.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
duegatti
n00b
n00b


Joined: 28 Jun 2002
Posts: 17
Location: Scappoose, OR, USA

PostPosted: Thu Jul 11, 2002 6:48 am    Post subject: Reply with quote

AutoBot wrote:
Edited should work now, thanks duegatti.

No prob, Autobot. I do what i can. :)
_________________
#!/bin/sh {who;} {last;} {pause;} {grep;} {touch;} {unzip;} mount /dev/girl -t {wet;} {fsck;} {fsck;} {fsck;} {fsck;} echo yes yes yes {yes;} umount {/dev/girl;zip;} rm -rf {wet.spot;} {sleep;} finger: permission denied
- LUGnut, #orlug, OPN
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jul 11, 2002 11:48 am    Post subject: Re: Opera 6.02 for Linux Released... Will there be an eBuild Reply with quote

d4h0od wrote:
I just wonder if anyone knows when Opera 6.02 will be avaliable as an eBuild in Gentoo =) ?


[petpeeve]
Folks -- questions like these are a waste of bandwidth and very, very annoying.

An ebuild for a particular program will be available if and when someone decides to write one for it. Not one moment sooner or later.
[/petpeeve]

moving this to Gentoo suggestions.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum