List Info

Thread: Re: Opera 9.2, emul/linux32 and amd64 (was: Can't run opera on amd64)




Re: Opera 9.2, emul/linux32 and amd64 (was: Can't run opera on amd64)
country flaguser name
France
2007-04-15 20:39:20
On Mon, 16 Apr 2007 02:53:42 +0200, Juan RP <juanxtrarom.org> wrote:

> On Mon, 16 Apr 2007 01:56:14 +0200
> "Loic Hoguin" <essendev-extend.eu> wrote:
>
>> Hello,
>>
>> It seems that the fixes for compat/linux32 select
timeouts
>> have been committed. Opera now works pretty well on
amd64,
>> I have been playing with it for some time without
problems.
>>
>> I haven't seen however a fix for the installation
under
>> amd64. To be able to run Opera you must have the
32bit suse
>> compat packages installed, which is not currently
possible
>> (Nicolas Joly was working on it earlier). Also it
seems that
>> the Opera Makefile must be fixed, as it installs
the files
>> in emul/linux instead of emul/linux32.
>
> Bah... that was pretty easy 
>
> http://ww
w.netbsd.org/~xtraeme/linux32.diff
>
> Apply the patch in pkgsrc and put
"USE_COMPAT_LINUX32=yes" in  
> /etc/mk.conf.
> Install opera... enjoy (I'm just using Opera on my
amd64 .
>
> I'll try to convert more packages (firefox,
nspluginwrapper, etc).

Hmm but what if I need to have linux 32bit emulation (for
opera)
AND linux 64bit emulation? USE_COMPAT_LINUX32 won't let me
install
both.

I think the best solution is to have separate packages for
the
suse ones, but based on the same base. Also, the current
ones are
installing suse-32bit if you are running i386, and
suse-64bit
if running amd64. Wouldn't it be best to have the current
suse
packages install only suse-32bit, and to add new packages
for
suse-64bit?

Regards,

-- 
Loïc Hoguin
Dev:Extend

Re: Opera 9.2, emul/linux32 and amd64 (was: Can't run opera on amd64)
country flaguser name
Spain
2007-04-16 02:51:55
On Mon, 16 Apr 2007 03:39:20 +0200
"Loic Hoguin" <essendev-extend.eu> wrote:

> Hmm but what if I need to have linux 32bit emulation
(for opera)
> AND linux 64bit emulation? USE_COMPAT_LINUX32 won't let
me install
> both.

Ok... I was working hard on it and I got suse32 and suse64
both
installed and working.

64-bit meta-pkgs/suse100:

$ pkg_info |grep suse_                                      
                                        
suse_base-10.0nb3   Linux compatibility package
suse_aspell-10.0nb1 Linux compatibility package for Aspell
library
suse_compat-10.0nb2 Linux compatibility package with old
shared libraries
suse_expat-10.0nb1  Linux compatibility package for expat
binaries
suse_freetype2-10.0nb3 Linux compatibility package for
FreeType2 library
suse_fontconfig-10.0nb2 Linux compatibility package for
fontconfig binaries
suse_x11-10.0nb2    Linux compatibility package for X11
binaries
suse_gtk-10.0nb1    Linux compatibility package for GTK
binaries
suse_gdk-pixbuf-10.0nb2 Linux compatibility package for
gdk-pixbuf binaries
suse_glx-10.0nb2    Linux compatibility package for the GL
library
suse_libjpeg-10.0nb1 Linux compatibility package for the
JPEG library
suse_libpng-10.0nb2 Linux compatibility package for the PNG
library
suse_libtiff-10.0nb3 Linux compatibility package for the
TIFF library
suse_gtk2-10.0nb3   Linux compatibility package for GTK2
binaries
suse_openssl-10.0nb3 Linux compatibility package for the
OpenSSL library
suse_libcups-10.0nb2 Linux compatibility package for the
Cups library
suse_libxml2-10.0nb1 Linux compatibility package for the
libxml2 library
suse_locale-10.0nb1 Locale files for the Linux compatibility
package
suse_openmotif-10.0nb1 Linux compatibility package for the
Motif library
suse_slang-10.0nb2  Linux compatibility package for slang
library
$

32-bit meta-pkgs/suse100:

$ pkg_info |grep suse32_ 
suse32_base-10.0nb3 Linux 32 compatibility package
suse32_x11-10.0nb2  Linux 32 compatibility package for X11
binaries
suse32_aspell-10.0nb1 Linux 32 compatibility package for
Aspell library
suse32_compat-10.0nb2 Linux 32 compatibility package with
old shared libraries
suse32_expat-10.0nb1 Linux 32 compatibility package for
expat binaries
suse32_freetype2-10.0nb3 Linux 32 compatibility package for
FreeType2 library
suse32_fontconfig-10.0nb2 Linux 32 compatibility package for
fontconfig binaries
suse32_gtk-10.0nb1  Linux 32 compatibility package for GTK
binaries
suse32_gdk-pixbuf-10.0nb2 Linux 32 compatibility package for
gdk-pixbuf binaries
suse32_glx-10.0nb2  Linux 32 compatibility package for the
GL library
suse32_libjpeg-10.0nb1 Linux 32 compatibility package for
the JPEG library
suse32_libpng-10.0nb2 Linux 32 compatibility package for the
PNG library
suse32_libtiff-10.0nb3 Linux 32 compatibility package for
the TIFF library
suse32_gtk2-10.0nb3 Linux 32 compatibility package for GTK2
binaries
suse32_openssl-10.0nb3 Linux 32 compatibility package for
the OpenSSL library
suse32_libcups-10.0nb2 Linux 32 compatibility package for
the Cups library
suse32_libxml2-10.0nb1 Linux 32 compatibility package for
the libxml2 library
suse32_locale-10.0nb1 Locale files for the Linux 32
compatibility package
suse32_openmotif-10.0nb1 Linux 32 compatibility package for
the Motif library
suse32_slang-10.0nb2 Linux 32 compatibility package for
slang library
$

Even with my patch opera does not require any changes on its
Makefile,
and most pkgs won't require it. Note that opera-plugins
still doesn't
work with COMPAT_LINUX32, same for acroread (missing
shmget()).

So, here's the patch:

ht
tp://www.netbsd.org/~xtraeme/linux32_AND_64.diff

And for the record, a screenshot with opera:

http:/
/www.xtrarom.org/~juan/opera-linux32.png

-- 
http://plog.xtrarom.org/

Juan RP's blog - NetBSD/pkgsrc news in Spanish

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )