Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40074 - opera: make mail and chat optional
Summary: opera: make mail and chat optional
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-01 06:50 UTC by Henrik Johansson
Modified: 2004-02-20 23:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild (opera-7.50_alpha1.ebuild,2.24 KB, text/plain)
2004-02-01 06:50 UTC, Henrik Johansson
Details
ebuild (opera-7.50_alpha1.ebuild,2.27 KB, text/plain)
2004-02-07 01:20 UTC, Henrik Johansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Johansson 2004-02-01 06:50:27 UTC
I've been using opera for years now but I have never used the various mail and chat clients that have been included. The question if these features should be made optional or not has been raised in the opera forums numerous times but it hasn't lead to anything. The best way to remove mail and chat support so far is to remove the mail and chat client called m2.so (this solution works well as far as I know and it might also make opera start faster).

I've modified the opera ebuild (opera-7.50_alpha1.ebuild) and added a local use flag called nomailandchat (much the same way as the mozilla ebuild) which removes m2.so before installing opera.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Henrik Johansson 2004-02-01 06:50:43 UTC
Created attachment 24739 [details]
modified ebuild
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-04 04:01:39 UTC
i like that idea, changed the name of the useflag to operanom2 though
Comment 3 Henrik Johansson 2004-02-07 01:20:00 UTC
doesn't work right now:
"/usr/sbin/ebuild.sh: line 75: operanom2: command not found"

there are 2 changes that I've made to make it work:

1) m2.so has to be removed before ./install.sh
2) modified if-statement

anyway, thanks for adding this to portage
Comment 4 Henrik Johansson 2004-02-07 01:20:20 UTC
Created attachment 25125 [details]
ebuild
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-07 01:43:59 UTC
strange, it works here
Comment 6 Henrik Johansson 2004-02-07 16:17:50 UTC
here's my emerge info if it might help:

Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.0)
=================================================================
System uname: 2.6.0 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi crypt dvd foomaticdb gif gtk gtk2 jpeg libg++ libwww lirc mad motif mpeg ncurses opengl pam pdflib perl png python qt quicktime readline spell ssl tcpd truetype x86 xml2 xosd xv zlib"
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-16 03:04:03 UTC
sorry, no idea, tried it again?
Comment 8 Henrik Johansson 2004-02-20 13:50:26 UTC
same result:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/opera-7.50_alpha1 to /
>>> md5 src_uri ;-) opera-7.50-20031219.1-static-qt.i386-en.tar.bz2
>>> Unpacking source...
>>> Unpacking opera-7.50-20031219.1-static-qt.i386-en.tar.bz2 to /var/tmp/portage/opera-7.50_alpha1/work
>>> Source unpacked.

>>> Install opera-7.50_alpha1 into /var/tmp/portage/opera-7.50_alpha1/image/ category net-www

System wide configuration files:
  /var/tmp/portage/opera-7.50_alpha1/image//etc//opera6rc
  /var/tmp/portage/opera-7.50_alpha1/image//etc//opera6rc.fixed
 cannot be prefixed
Do you want to install them [ y,n | yes,no ] ?
/usr/sbin/ebuild.sh: line 75: operanom2: command not found
man:
prepallstrip:
strip: 
strip: 
   opt/opera/lib/opera/7.50-20031219.1/opera
   opt/opera/lib/opera/7.50-20031219.1/m2.so
   opt/opera/lib/opera/7.50-20031219.1/works
   opt/opera/lib/opera/7.50-20031219.1/missingsyms.so
   opt/opera/lib/opera/plugins/operamotifwrapper
   opt/opera/lib/opera/plugins/operamotifwrapper-3
   opt/opera/lib/opera/plugins/libnpp.so
   opt/opera/lib/opera/plugins/operaplugincleaner
>>> Completed installing into /var/tmp/portage/opera-7.50_alpha1/image/
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-20 16:32:42 UTC
i think i fixed it now; please try again

btw: i also added alpha2, this version no longer has a separate m2
Comment 10 Henrik Johansson 2004-02-20 23:31:50 UTC
yes, it works now but I think it's time to emerge alpha2 :)