Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305303 - www-client/opera-10.50 - installation with portage brakes qt/gtk backends support
Summary: www-client/opera-10.50 - installation with portage brakes qt/gtk backends sup...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 19:06 UTC by shade
Modified: 2010-02-19 18:00 UTC (History)
1 user (show)

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


Attachments
gtk screen (gtk.png,49.87 KB, image/png)
2010-02-15 19:28 UTC, shade
Details
pwd fixes and cleaned adobe paths (opera-nostandalone.patch,1.88 KB, patch)
2010-02-16 19:52 UTC, shade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description shade 2010-02-15 19:06:18 UTC
If we will install opera with portage, opera will brake and will not use gtk or qt. opera stared from unpacked tar uses gtk for me. Opera bin installed with portage but started from dir where we unpacked package will use gtk to.

Reproducible: Always

Steps to Reproduce:
1.emerge opera
2.run opera
3.

Actual Results:  
Opera isnt using qt or/and gtk.

Expected Results:  
Opera using qt.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-15 19:21:43 UTC
The current alpha builds only support the GTK+ backend, as far as I am aware, and only to display the file dialog and nothing else. A KDE backend for the same purpose should be provided in the future. In the Known Issues listing in the announcement for the latest build[1] as of now (called 10.50_pre6219 in the tree) this is described as:

* No KDE integration


Other than that, I don't see the "breakage" that you do - the GTK+ backend works fine for me.


[1] http://my.opera.com/desktopteam/blog/2010/02/11/windows-beta-released-and-more
Comment 2 shade 2010-02-15 19:28:43 UTC
Created attachment 219813 [details]
gtk screen

Not only for file dialog. It uses is as it should for backend. On left you see opera /usr/bin/opera started from unpacked tar. On the right opera started from other localtion. Lef one uses gtk-engines-qtcurve. Style that i use for gtk(im kde user).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-15 19:40:31 UTC
The thing is, Opera Software doesn't support installing these alpha builds at all, only the "unpack and run directly" from $HOME/opera/* method, if you could call these builds "supported" at all, that is.

Without hacking the binaries we install to use a new path ( /opt/opera/ can't be run at all, so we have to break the filesystem directives already by putting everything in /usr to get it running.

So I understand your problem but I cannot possibly begin to fix it, unless you find the flaw in the /usr/bin/opera script, because we can patch that one. You know the workaround already, so I suggest you do that until Opera fixes Unix support for 10.50. It's not even something you can ask them to fix at this point since we're basically installing the 10.50's in a way Opera Software disapproves of (so I am closing as CANTFIX instead of UPSTREAM).
Comment 4 shade 2010-02-15 20:27:01 UTC
line 108
-LD_LIBRARY_PATH="$PWD/usr/lib/opera${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
+LD_LIBRARY_PATH="/usr/lib/opera${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"

:) you asked for it:)

Dont know if i didnt brake something, but this fixes my bug.
Comment 5 shade 2010-02-15 21:41:43 UTC
and some more
-then
-  OPERA_PERSONALDIR="$PWD/profile"
-  export OPERA_PERSONALDIR
-fi

then
+  OPERA_PERSONALDIR="$HOME/profile"
  export OPERA_PERSONALDIR
fi

and /opt killer
if [ -z "$OPERA_DIR" ]
then
-    OPERA_DIR="$PWD/usr/share/opera"
fi
export OPERA_DIR

if [ -z "$OPERA_DIR" ]
then
+    OPERA_DIR="/usr/share/opera"
fi
export OPERA_DIR
Comment 6 shade 2010-02-16 19:52:43 UTC
Created attachment 219915 [details, diff]
pwd fixes and cleaned adobe paths

im using this localy... Now this bug can be closed.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-17 06:16:23 UTC
(In reply to comment #6)
> Created an attachment (id=219915) [details]
> pwd fixes and cleaned adobe paths
> 
> im using this localy... Now this bug can be closed. 

If your only goal was to resolve your personal problem, then why did you ever open this bug report in the first place?
Comment 8 shade 2010-02-17 07:19:18 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=219915) [details] [details]
> > pwd fixes and cleaned adobe paths
> > 
> > im using this localy... Now this bug can be closed. 
> 
> If your only goal was to resolve your personal problem, then why did you ever
> open this bug report in the first place?
> 

Its not my personal problem, all users/testers are afected with it and it realy brakes GTK. Problem was found, pwd stuff can be removed and no tests needed because its simple thing. Even patch was added to make you more happy and not to mess it with hand. What you want more? You said it works for you, strange because it should not (or maybe you are starting opera from /?). I opened this bug to solve problem for all and i didnt think it will be so simple. Other thing is that if you bump package, add it to portage it should be done right not just count number of commits. This looks like you added this package to count commits on cia and get rid of people asking where is that build of opera. Its standalone package as you said, and it should not be installed, so if it gets to portage it should get more care or not get there. Its not about to make people get ebuild so you can say its in gentoo. Its about to make it right, to make it work so good as it should. Dont say its hard masked bla bla bla. Mainteiner works is hard and I think you had bad day when you added this comment, so sory, fix it and forget.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-17 14:50:04 UTC
(In reply to comment #8)
> > > im using this localy... Now this bug can be closed. 

I simply didn't understand what you mean by the above, that's all.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-19 18:00:22 UTC
The patch is applied in _pre6225. Please test and reopen if it doesn't quite fix the issue yet.