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
Created attachment 157011 [details] An opera ebuild that adds the emul-x86 useflag to install the 32 bit version instead
Hi amd64. How do you like it? And is there an existing USE flag that we could reuse?
Created attachment 157015 [details, diff] A diff between My modified ebuild and the intree ebuild
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.....
sooo, Is this use-flag based solution OK, or is creating an emul-linux-x86- package more appropriate?
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.
nice but it's missing the app-emulation/emul-linux-x86-qtlibs dependency
(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.
(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 ) )
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)
Created attachment 158291 [details] A 2nd diff between my 2nd modified ebuild, and the new, slightly broken intree ebuild
Created attachment 158293 [details] My 2nd modified ebuild, that fixes the qt dependancy, and hte static-qt useflag
(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. :(
(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?
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.
Created attachment 158569 [details] My 2nd diff, fixed (diff -u) sorry about the whitespace
(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) .
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.
I am sure we'll get that to work as well.
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. :)
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.
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. >
Fixed again.
Um. I think this is fixed.