Subject: Re: Opera 9.2, emul/linux32 and amd64 (was: Can't run opera on
To: Loic Hoguin <essen@dev-extend.eu>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-users
Date: 04/16/2007 10:04:23
On Mon, 16 Apr 2007 09:51:55 +0200
Juan RP <juan@xtrarom.org> wrote:
> On Mon, 16 Apr 2007 03:39:20 +0200
> "Loic Hoguin" <essen@dev-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:
>
> http://www.netbsd.org/~xtraeme/linux32_AND_64.diff
>
> And for the record, a screenshot with opera:
>
> http://www.xtrarom.org/~juan/opera-linux32.png
Forgot to say... to use it you only have to add "PKG_OPTIONS.suse=compat32"
in /etc/mk.conf and voila.
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish