Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Angry with opera browser!
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
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Thu May 06, 2010 9:41 am    Post subject: Angry with opera browser! Reply with quote

Today I updated opera to latest beta (10.53_pre6330) and it pulled gstreamer and gst-plugins-meta also. 8O
There is no -gstreamer use flag available for opera! I hope when that browser hits final stage gstreamer will be optional (with use flag)!
I hate when binary closed source packages are pulling useless deps 8O
Opera is my fave browser but our love may end soon :?

/end of the whining
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu May 06, 2010 10:15 am    Post subject: Re: Angry with opera browser! Reply with quote

Why is opera depending on gstreamer a problem for you?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu May 06, 2010 10:45 am    Post subject: Re: Angry with opera browser! Reply with quote

Shining Arcanine wrote:
Why is opera depending on gstreamer a problem for you?

Because he is running Gentoo? I masked the new Opera, too.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Thu May 06, 2010 11:16 am    Post subject: Re: Angry with opera browser! Reply with quote

Jaglover wrote:
Shining Arcanine wrote:
Why is opera depending on gstreamer a problem for you?

Because he is running Gentoo? I masked the new Opera, too.


Yeah!
I consider gstreamer and it's plugins on my system as a cruft. No other package needs them except opera.
That's just annoying :?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Thu May 06, 2010 12:29 pm    Post subject: Reply with quote

Welcome to HTML5 - your web browser is now also a full featured media player (because using plugins to allow browsers to handle alternative content is apparently a silly idea).
Back to top
View user's profile Send private message
hallabro
n00b
n00b


Joined: 12 Oct 2008
Posts: 24

PostPosted: Thu May 06, 2010 1:17 pm    Post subject: Reply with quote

AllenJB wrote:
Welcome to HTML5 - your web browser is now also a full featured media player (because using plugins to allow browsers to handle alternative content is apparently a silly idea).


Ehm, isn't gstreamer actually a plugin in this case - only that Opera is already linked to it (as opposed to choosing for yourself when selecting a FOSS-browser)?
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu May 06, 2010 4:31 pm    Post subject: Re: Angry with opera browser! Reply with quote

Kollin wrote:
Jaglover wrote:
Shining Arcanine wrote:
Why is opera depending on gstreamer a problem for you?

Because he is running Gentoo? I masked the new Opera, too.


Yeah!
I consider gstreamer and it's plugins on my system as a cruft. No other package needs them except opera.
That's just annoying :?


If Opera was designed in a way that makes it dependent upon gstreamer, there probably is no way for you to use Opera without it. On the other hand, if gstreamer is a false dependency, this sounds like something that should be a bug report.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu May 06, 2010 4:59 pm    Post subject: Reply with quote

FYI.
I edited the ebuild and removed gstreamer dependency. I emerged it, I went to Youtube and it definitely has sound. That's all I need from my secondary browser.

Code:
Version 10.54 Internal

Build 6331

Platform Linux

System x86_64, 2.6.33-gentoo-r2
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Thu May 06, 2010 10:20 pm    Post subject: Reply with quote

Jaglover wrote:
FYI.
I edited the ebuild and removed gstreamer dependency. I emerged it, I went to Youtube and it definitely has sound. That's all I need from my secondary browser.

Code:
Version 10.54 Internal

Build 6331

Platform Linux

System x86_64, 2.6.33-gentoo-r2


What's for gstreamer then 8O
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Thu May 06, 2010 11:15 pm    Post subject: Reply with quote

This thread may be relevant: https://forums.gentoo.org/viewtopic-t-817649.html
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Fri May 07, 2010 8:35 am    Post subject: Reply with quote

AM088 wrote:
This thread may be relevant: https://forums.gentoo.org/viewtopic-t-817649.html


Thank you! That's really useful.
Big sigh:
It seems that opera is on it's way out of my desktop :roll:
Chromium works really great with html5 and ffmpeg.I think that this is a better solution for html5 problem.
At least almost every multimedia ebuild is using ffmpeg as dependency, as result chromium does not install something that I will not need at all :wink:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri May 07, 2010 8:41 pm    Post subject: Reply with quote

It's also on the way out of my desktop. For some reason I'm still rather starting up 10.10 though.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sat May 08, 2010 12:03 am    Post subject: Reply with quote

I'd probably link them to this thread and others like it. Let them know that they will probably lose users. I usually install Opera as a backup browser but will be more hesitant do so now if I do not want to pull in gstreamer.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun May 09, 2010 8:57 pm    Post subject: Reply with quote

I also didn like this very much and opened a thread at opera forums about it.
Maybe there is additional info for you, personally I found the developer blog quite interesting:
http://my.opera.com/community/forums/topic.dml?id=559381&showresults=true
If it is really true that gstreamer will be part of kde-4.5, than it's inevitable for me...
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun May 09, 2010 9:25 pm    Post subject: Reply with quote

Martux wrote:
If it is really true that gstreamer will be part of kde-4.5, than it's inevitable for me...

KDE has had a gstreamer backend for at least a year now.

Anyway what's wrong with that? At least KDE and Opera can agree on something, Mozilla and Google seem obsessed with reinventing the wheel when it comes to anything involving sound or moving video.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Mon May 10, 2010 4:24 am    Post subject: Reply with quote

In the opera thread it's said that gstreamer will be the *only* backend for phonon in kde-4.5 and xine-backend will be dropped.
In that case it will be inevitable of course. That's ok for me, as I always try to minimize dependencies where I can. My gentoo system with kde consists of 647 packages right now. That's not much if compared with any binary distri out there. They all double that amount at least. Imho one of gentoos biggest advantages, more than mystical speedups due to ricer cflags ;)
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon May 10, 2010 8:59 am    Post subject: Reply with quote

Martux wrote:
In the opera thread it's said that gstreamer will be the *only* backend for phonon in kde-4.5 and xine-backend will be dropped.

Is that sure? How about generally thinking of gstreamer? I tried it some years ago and it didn't work.

Hopefully gstreamer is a better choice than hal. I only tried hal one time in 2007. Since then my system works "hal-free". The problem is k3b. Due to this and the horribly Amarok2 I still remain with k3b:3 and Amarok-1.4. But I guess there's no chance to get it working with gstreamer. With other words: I have to install both gstreamer and xine-lib. :(
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon May 10, 2010 10:55 am    Post subject: Reply with quote

Just so you know, Opera does not *need* gstreamer; It's mainly for HTML5 multimedia stuff like audio and video, but it is not *needed*.

The ebuild is just being typically new-Gentoo; Pull in all potential dependencies whether they're hard or not. (Heck, on mine it even tries to pull in OpenGL and Mesa!! I know Opera 10.53 supports graphics acceleration but I'm running it in a VNC window so that dependency is completely irrelevent!)

Just stick it in an overlay and rip out what you don't need.

I need to go through mine properly at some point, but my quick-and-dirty modified ebuild looks like this:

Code:
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6330.ebuild,v 1.1 2010/04/30 16:35:42 jer Exp $

EAPI="2"

OPREFIX="/usr/lib"

inherit eutils

DESCRIPTION="A standards-compliant graphical Web browser"
HOMEPAGE="http://www.opera.com/"

SLOT="0"
LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"

RESTRICT="mirror test"

QA_DT_HASH="${OPREFIX}/${PN}/.*"
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"

IUSE="elibc_FreeBSD"

MY_LINGUAS="
        be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
        ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
        zh-TW
"

for MY_LINGUA in ${MY_LINGUAS}; do
        IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
done

O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/"
O_P="${P/_pre/-}"

SRC_URI="
        amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
        ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
        x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
        x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
"

DEPEND=">=sys-apps/sed-4"

RDEPEND="
        =x11-libs/gtk+-2*
        dev-libs/atk
        dev-libs/expat
        dev-libs/glib
        media-libs/fontconfig
        media-libs/freetype
        media-libs/libpng
        sys-apps/util-linux
        sys-libs/zlib
        x11-libs/libICE
        x11-libs/libSM
        x11-libs/libX11
        x11-libs/libXcursor
        x11-libs/libXext
        x11-libs/libXi
        x11-libs/libXmu
        x11-libs/libXrandr
        x11-libs/libXt
        "
#       media-libs/glitz
#       media-plugins/gst-plugins-meta
#       virtual/opengl
#       x11-libs/cairo
#       x11-libs/libXau
#       x11-libs/libXcomposite
#       x11-libs/libXdamage
#       x11-libs/libXdmcp
#       x11-libs/libXfixes
#       x11-libs/libXrender
#       x11-libs/libxcb
#       x11-libs/pango
#       x11-libs/pixman
#       x11-libs/xcb-util

opera_linguas() {
        # Remove unwanted LINGUAS:
        local LINGUA
        local LNGDIR="${D}usr/share/${PN}/locale"
        einfo "Keeping these locales: ${LINGUAS}."
        for LINGUA in ${MY_LINGUAS}; do
                if ! use linguas_${LINGUA/-/_}; then
                        LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
                        rm -r "${LINGUA}"
                fi
                fi
        done
}

pkg_setup() {
        echo -e \
                " ${GOOD}****************************************************${NORMAL}"
        elog "If you seek support, please file a bug report at"
        elog "https://bugs.gentoo.org and post the output of"
        elog " \`emerge --info =${CATEGORY}/${P}'"
        echo -e \
                " ${GOOD}****************************************************${NORMAL}"
}

src_unpack() {
        unpack ${A}
        if [[ ! -d ${S} ]]; then
                cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
                S="$(pwd)"
                einfo "Setting WORKDIR to ${S}"
        fi
}

src_install() {
        # Remove "license directory" (bug #315473)
        rm -rf "share/doc/opera"

        # We install into usr instead of opt as Opera does not support the latter
        dodir /usr
        mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed"

        # Unzip the man pages before sedding
        gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"

        # Replace PREFIX and SUFFIX in various files
        sed -i \
                -e "s:@@{PREFIX}:/usr:g" \
                -e "s:@@{SUFFIX}::g" \
                -e "s:@@{_SUFFIX}::g" \
                -e "s:@@{USUFFIX}::g" \
                "${D}"/usr/share/mime/packages/opera-widget.xml \
                "${D}"/usr/share/man/man1/* \
                "${D}"/usr/share/applications/opera-browser.desktop \
                "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"

        # Install startup script
        dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed"

        # Stop revdep-rebuild from checking opera binaries
        dodir /etc/revdep-rebuild
        echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera

        # Change libz.so.3 to libz.so.1 for gentoo/freebsd
        if use elibc_FreeBSD; then
                scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${PN}/ | \
                while read i; do
                        if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
                        then
                                export SANITY_CHECK_LIBZ_FAILED=1
                                break
                        fi
                        sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i"
                done
                [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
        fi

        [[ -z MY_LINGUAS ]] || opera_linguas
}

pkg_postinst() {
        elog "To change the UI language, choose [Tools] -> [Preferences], open the"
        elog "[General] tab, click on [Details...] then [Choose...] and point the"
        elog "file chooser at /usr/share/opera/locale/, then enter the"
        elog "directory for the language you want and [Open] the .lng file."

        if use elibc_FreeBSD; then
                elog
                elog "To improve shared memory usage please set:"
                elog "$ sysctl kern.ipc.shm_allow_removed=1"
        fi
}


At the moment tho' I've got a bigger problems with opera to fix first (Namely the horrible breakage - UI Skin=Completely broken, Java=Non functional, Sessions=Not working properly, File browser dialog=Missing)
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Mon May 10, 2010 2:37 pm    Post subject: Reply with quote

@musv:
I switched from xine-lib to gstreamer in the systemsettings. Mainly because I wanted to try it with amarok.
It worked out of the box, not one single complain so far. What nerves me, I also have xine-lib remaining because of k9copy :(
To get OT: Amarok is not that bad anymore... In fact 2.3.0.90 is really good. Of course one has to fiddle with the very, very unintuitive "playlist editor" to get something similar to the 1.4 layout... And if you stick with mysql-5.0.x embedded db should also work.
@Cyker:
I don't have any of the b0rkage you mention. Everything works properly. Which version do you use? I am on 10.53_pre6330 here.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon May 10, 2010 2:51 pm    Post subject: Reply with quote

Martux wrote:
Amarok is not that bad anymore... In fact 2.3.0.90 is really good. Of course one has to fiddle with the very, very unintuitive "playlist editor" to get something similar to the 1.4 layout... And if you stick with mysql-5.0.x embedded db should also work.

I tried parallel to Amarok-1.4 v2.0. That was a crap. 2.1 was much better and 2.2 at least works without problems but gives me conflicts with Amarok-1.4. Means, the collections scanner doesn't work. And 1.4 froze when started.

I gave Amarok2 some chances. I just want the layout of 1.4. Even if I try it again I can't get warm with that unintuitive look & feel of Amarok2. Somebody in another thread said Amarok looks like iTunes. Ok, I've never seen iTunes. But I don't like it.

OnTopic:
GStreamer I would try for a long time. But I haven't used any software that relies on gstreamer except of aMSN.
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon May 10, 2010 6:12 pm    Post subject: Reply with quote

Martux wrote:
@Cyker:
I don't have any of the b0rkage you mention. Everything works properly. Which version do you use? I am on 10.53_pre6330 here.


I am also on 10.53_pre6330 :(

Maybe some of the dependencies I removed aren't as useless as I thought :P

So you don't have *any* of the breakage? Puzzling...

The UI has changed a lot from the old version so the skin breakage is not surprising (Esp. since I've been nursing this skin along since Opera 5! I'm in the process of rebuilding it to be 10.5 compliant, but it's a friggin' minefield! :lol:)

I found that Java support has been removed for the moment as they are changing Opera to use the NAPAPI (or whatever it was) plugin instead of using the JRE directly like it used to do.

Sessions - There is some weird bug which messes up the order and position of saved windows, notably shifting all the windows up and resequencing them in the order that they were last 'touched'.

File dialog is a bitch; I think it's due to them going raw X instead of using a toolkit. Whatever the cause, I no longer have a file browser dialog; I just have a field for the filepath and name, and the file type but no list of folders or files to actually pick! :(
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Mon May 10, 2010 7:54 pm    Post subject: Reply with quote

Cyker:
Hmm, I just found out that java is really not working :(
For the skin - I use Tango CL atm and no problems
Sessions - saves and restores correctly
And the file dialog is KDEs, very beautiful :)
I am on ~amd64 here. MAybe try to move your profile directory and start up fresh, just copying one config after another?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon May 10, 2010 8:25 pm    Post subject: Reply with quote

Sessions - Have you tried opening up several windows with tabs in them and see if it still recalls all the window positions?
I'm tempted to send you my monster session file to test :twisted:

For the file dialog, what you said gave me an idea so many thanks for that :mrgreen:
There seems to be an incompatibility with Opera 10.53 and the qt setup on my system. Maybe because I have qt3 and qt4 it's getting confused and bombing?
I found an override in opera:config#FileSelector|DialogToolkit and, forcing it to use GTK+ (Setting=2) and restarting opera has gotten me a file selector back! :D

Wooo! Tanks! :D
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Mon May 10, 2010 8:43 pm    Post subject: Reply with quote

Well, it crashes when I try to save a session... :roll:
But restores my previous saved session (with opera-10.10 that was) correct. It only consists of 2 Windows. What do you have 20?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Mon May 10, 2010 11:38 pm    Post subject: Reply with quote

It is a very bad habit :lol:

Since Opera 5, I found I could have multiple windows and multiple 'tabs' within those windows (Only we didn't call them tabs back then because, well, they weren't! They were windows-within-windows; MDI, much more flexible than lameass tabs! :P).

So as time went on, when I had an interesting site I stuck it in a 'background' window instead of bookmarking it... then after a while i had so many I started opening more windows and grouping similar sites together in the same window...

So now I have hardly any bookmarks and a crapload of windows and tabs! :lol:

This is also why Opera is my main browser; There is not a single other browser on earth which can have this many windows and tabs open and not crash. Only one that comes close is Chrome (FF can't even cope with the no. of tabs in one of my windows, never mind all of them!! :lol:), but that has the problem of using up all RAM and CPU :lol:


So obviously, it is a bit of a bugger when the sessions aren't working 100% for me :lol:
But it is a beta and I remember having similar problems with the 9.x betas so I just got to be patient I guess :)
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