Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227339 - www-client/opera-9.50 doesn't have an option for amd64 users to install the 32 bit version
Summary: www-client/opera-9.50 doesn't have an option for amd64 users to install the 3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-06-15 23:10 UTC by Kyle Elbert
Modified: 2009-12-06 17:25 UTC (History)
3 users (show)

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


Attachments
An opera ebuild that adds the emul-x86 useflag to install the 32 bit version instead (opera-9.50-r1.ebuild,6.37 KB, text/plain)
2008-06-15 23:38 UTC, Kyle Elbert
Details
A diff between My modified ebuild and the intree ebuild (opera-diff,554 bytes, patch)
2008-06-16 00:00 UTC, Kyle Elbert
Details | Diff
A 2nd diff between my 2nd modified ebuild, and the new, slightly broken intree ebuild (opera-diff2,2.72 KB, text/plain)
2008-06-24 16:20 UTC, Kyle Elbert
Details
My 2nd modified ebuild, that fixes the qt dependancy, and hte static-qt useflag (opera-9.50-r2.ebuild,6.45 KB, text/plain)
2008-06-24 16:21 UTC, Kyle Elbert
Details
My 2nd diff, fixed (diff -u) (opera-diff2,2.34 KB, text/plain)
2008-06-27 01:35 UTC, Kyle Elbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Elbert 2008-06-15 23:10:56 UTC
After installing opera-9.50 I discovered that it was 64 bit and couldn't use the 32 bit java plugin. Opera should have an option that will allow amd64 users to install the 32 bit version. I plan on coming up with a modified ebuild that will implement a useflag to do this within the next 1-3 days. 

Reproducible: Always
Comment 1 Kyle Elbert 2008-06-15 23:38:52 UTC
Created attachment 157011 [details]
An opera ebuild that adds the emul-x86 useflag to install the 32 bit version instead
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-15 23:48:24 UTC
Hi amd64. How do you like it? And is there an existing USE flag that we could reuse?
Comment 3 Kyle Elbert 2008-06-16 00:00:02 UTC
Created attachment 157015 [details, diff]
A diff between My modified ebuild and the intree ebuild
Comment 4 Kyle Elbert 2008-06-16 00:04:08 UTC
I can't seem to find any existing flags to reuse, probably because most packages like this just use a -bin package for this purpose, but, as Opera is already binary.....
Comment 5 Kyle Elbert 2008-06-19 20:23:47 UTC
sooo, Is this use-flag based solution OK, or is creating an emul-linux-x86- package more appropriate?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-23 01:19:31 UTC
Please unmask and test =www-client/opera-9.50-r1 - it introduces the ia32 USE flag which can be used to install the 32-bit binaries instead of the 64-bit ones.
Comment 7 David Watzke 2008-06-24 00:10:23 UTC
nice but it's missing the app-emulation/emul-linux-x86-qtlibs dependency
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-24 00:42:31 UTC
(In reply to comment #7)
> nice but it's missing the app-emulation/emul-linux-x86-qtlibs dependency

Index: opera-9.50-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50-r1.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 opera-9.50-r1.ebuild
--- opera-9.50-r1.ebuild        23 Jun 2008 04:53:29 -0000      1.2
+++ opera-9.50-r1.ebuild        24 Jun 2008 00:36:16 -0000
@@ -58,7 +58,9 @@
        x11-libs/libSM
        x11-libs/libICE
        !qt-static? ( =x11-libs/qt-3* )
-       amd64? ( =x11-libs/qt-3* )
+       amd64? ( =x11-libs/qt-3*
+                        ia32? ( app-emulation/emul-linux-x86-qtlibs )
+       )
        ppc? ( =x11-libs/qt-3* )
        spell? ( app-text/aspell )
        x86-fbsd? ( =x11-libs/qt-3* =virtual/libstdc++-3* )"

That should do it.
Comment 9 David Watzke 2008-06-24 09:34:25 UTC
(In reply to comment #8)
> That should do it.

but 64bit Qt is not needed for 32bit Opera... maybe there should be something like

amd64? (
	!ia32? ( =x11-libs/qt-3* )
	ia32? ( app-emulation/emul-linux-x86-qtlibs )
)
Comment 10 Kyle Elbert 2008-06-24 16:03:36 UTC
hmm, you guys broke the qt-static for amd64 when using the ia32 useflag.... so you can't use have 32 bit and have static qt... (I really don't care to download 32 bit qt JUST for opera)
Comment 11 Kyle Elbert 2008-06-24 16:20:31 UTC
Created attachment 158291 [details]
A 2nd diff between my 2nd modified ebuild, and the new, slightly broken intree ebuild
Comment 12 Kyle Elbert 2008-06-24 16:21:13 UTC
Created attachment 158293 [details]
My 2nd modified ebuild, that fixes the qt dependancy, and hte static-qt useflag
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-24 20:43:31 UTC
(In reply to comment #11)
> Created an attachment (id=158291) [edit]
> A 2nd diff between my 2nd modified ebuild, and the new, slightly broken intree
> ebuild
Please use diff -u next time. This hurts my eyes. :(
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-24 20:48:06 UTC
(In reply to comment #11)
> Created an attachment (id=158291) [edit]
> A 2nd diff between my 2nd modified ebuild, and the new, slightly broken intree
> ebuild

Also, your diff appears to move many bits of whitespace around. It's hard to see which non-trivial changes you're suggesting there. Could you please provide a diff -u against the opera-9.50-r1.ebuild that is currently in the tree, without any of those whitespace changes?
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-25 16:12:15 UTC
There's a 9.51_pre2052 in the tree now which Opera calls 9.51 RC1. I have added the ia32 USE flag which allows you to install a qt3-static x86 build. I will fix 9.50-r1 as soon as I find the time.
Comment 16 Kyle Elbert 2008-06-27 01:35:47 UTC
Created attachment 158569 [details]
My 2nd diff, fixed (diff -u)

sorry about the whitespace
Comment 17 Kyle Elbert 2008-06-30 03:22:08 UTC
(In reply to comment #15)
> There's a 9.51_pre2052 in the tree now which Opera calls 9.51 RC1. I have added
> the ia32 USE flag which allows you to install a qt3-static x86 build. I will
> fix 9.50-r1 as soon as I find the time.
> 

why can't you give people a choice as to wether to install a qt3-static x86 build, or an x86 build that uses emul-linux-x86-qtlibs? My ebuild does this fine (now that I corrected that emul-linux-x86-qtlibs optional dependancy) .
Comment 18 Kyle Elbert 2008-07-01 15:54:20 UTC
ok, aparently portage (and paludis) don't allow nested dependancies the way I have my 2nd ebuild setup. if there is a way to "rearrange" it so that both ia32 and qt-static work I'm ready to hear it.
Comment 19 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-01 16:19:58 UTC
I am sure we'll get that to work as well.
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-03 22:54:10 UTC
I have added www-client/opera-9.51 to the tree. The amd64 options now include ALL x86 options through the ia32, qt-static and qt3-static USE flags. I would like you to test a few combinations and see if they please you, and then report back on this bug with solid criticism. :)
Comment 21 urcindalo 2008-07-10 11:50:33 UTC
The ia32 USE flag is disabled on AMD64 for opera-9.51, even if present in /etc/portage/package.use, since I upgraded to the new /usr/portage/profiles/default/linux/amd64/2008.0/desktop profile

All I want is to have JAVA back, so I don't mind if instead of installing 32-bit opera I can do something else.

Thanks.
Comment 22 Kyle Elbert 2008-07-10 14:52:20 UTC
add www-client/opera -ia32 to /etc/portage/profile/package.use.mask for now, until someone fixes it in-tree
in reply to comment #21)
> The ia32 USE flag is disabled on AMD64 for opera-9.51, even if present in
> /etc/portage/package.use, since I upgraded to the new
> /usr/portage/profiles/default/linux/amd64/2008.0/desktop profile
> 
> All I want is to have JAVA back, so I don't mind if instead of installing
> 32-bit opera I can do something else.
> 
> Thanks.
> 

Comment 23 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-07-10 18:00:22 UTC
Fixed again.
Comment 24 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-15 16:42:46 UTC
Um. I think this is fixed.