View previous topic :: View next topic |
Author |
Message |
d4h0od Tux's lil' helper
Joined: 27 Jun 2002 Posts: 80 Location: Europe => Sweden => Blekinge => Karlskrona => h0odet
|
|
Back to top |
|
|
Robert Tux's lil' helper
Joined: 19 Apr 2002 Posts: 103 Location: Syracuse, NY
|
Posted: Thu Jul 04, 2002 2:47 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Thu Jul 04, 2002 3:17 am Post subject: |
|
|
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 |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jul 04, 2002 4:47 am Post subject: |
|
|
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 _________________ 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 |
|
|
mezz Tux's lil' helper
Joined: 01 Jun 2002 Posts: 111
|
Posted: Thu Jul 04, 2002 6:52 am Post subject: |
|
|
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 |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jul 04, 2002 8:44 am Post subject: |
|
|
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 |
|
|
duegatti n00b
Joined: 28 Jun 2002 Posts: 17 Location: Scappoose, OR, USA
|
Posted: Thu Jul 11, 2002 5:27 am Post subject: opera 6.0.2 ebuild correction |
|
|
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 |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jul 11, 2002 6:35 am Post subject: |
|
|
Edited should work now, thanks duegatti. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
duegatti n00b
Joined: 28 Jun 2002 Posts: 17 Location: Scappoose, OR, USA
|
Posted: Thu Jul 11, 2002 6:48 am Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jul 11, 2002 11:48 am Post subject: Re: Opera 6.02 for Linux Released... Will there be an eBuild |
|
|
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 |
|
|
|