Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2008 19:50:13 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Aline de Freitas <aline@riseup.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: CALL FOR TESTERS: linux-f8 infrastructure ports
Message-ID:  <60355834@bb.ipt.ru>
In-Reply-To: <200804090052.10898.aline@riseup.net> (Aline de Freitas's message of "Wed\, 9 Apr 2008 00\:52\:10 -0300")
References:  <200804090052.10898.aline@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Apr 2008 00:52:10 -0300 Aline de Freitas wrote:
> Em Tuesday 08 April 2008 11:29:20 você escreveu:
> > On Tue, 08 Apr 2008 12:00:26 +0200 Alexander Leidinger wrote:
> > > Quoting Aline de Freitas <aline@riseup.net> (from Mon, 7 Apr 2008
> > >
> > > 23:21:16 -0300):
> > > > Googleearth:
> > > >
> > > > The linux_dri is builted against the old linux-xorg-libs, so I keep it
> > > > (looks like it doesn't conflict with the new linux-f8-xorg-libs).
> > > > googleearth complains for the old expat (linux-expat) but a symlink
> > > > using the new linux-f8-expat seems to do the trick. The only problem
> > > > really is with the
> > >
> > > This is dangerous. Maybe Boris needs to add some compat libs, or we
> > > need to install a new google earth (one which uses the new expat
> > > version).
> >
> > (I didn't test the following fix but there should not be any old expat)
> > The port linux_dri should be converted to using USE_LINUX_APPS for
> > google-earth to depend on new f8 libraries:
> > -----
> > Index: Makefile
> > ===================================================================
> > RCS file: /home/pcvs/ports/graphics/linux_dri/Makefile,v
> > retrieving revision 1.23
> > diff -u -r1.23 Makefile
> > --- Makefile	20 Mar 2008 19:07:27 -0000	1.23
> > +++ Makefile	8 Apr 2008 14:12:25 -0000
> > @@ -22,7 +22,7 @@
> >  NO_BUILD=	yes
> >  USE_LINUX=	yes
> >  USE_LINUX_PREFIX=	yes
> > -USE_XLIB=	yes
> > +USE_LINUX_APPS=	xorglibs
> >
> >  # don't package this for amd64 until we come up with 32-bit ioctl wrappers
> > for # the drm.
> > -----
> >
> > Well, in general, the port may be checked if it is (or all it's
> > dependencies are) converted to new world order:
> > -----
> > # make all-depends-list | grep linux
> > ...
> > -----
> > There should be *no* linux infrastructure ports (speaking about
> > OVERRIDE_LINUX_BASE_PORT=f8) other than -f8- ports. E.g. for
> > google-earth after linux_dri patching:
> > -----
> > # make all-depends-list | grep linux
> > /usr/ports/graphics/linux_dri
> > /usr/ports/emulators/linux_base-f8
> > /usr/ports/textproc/linux-f8-expat
> > /usr/ports/x11-fonts/linux-f8-fontconfig
> > /usr/ports/x11/linux-f8-xorg-libs
> > -----
> Well, it didn't work

Quite the opposite, it works! ;-)

> [aline@anderson-herzer:/usr/ports/graphics/linux_dri]$ googleearth
> ./googleearth-bin: error while loading shared 
> libraries: /usr/local/lib/libXdamage.so.1: ELF file OS ABI invalid

That showed that I forgot to add this library (libXdamage.so) to
linux-f8-xorg-libs. Added now as well as some others.

> Now, for realplayer I get the following only:

> (realplay.bin:8011): Gtk-WARNING **: libqt-mt.so.3: cannot open shared object 
> file: Arquivo ou diretório não encontrado

> And for acroread7:
> /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: line 486: [: -ge: unary operator 
> expected

> (acroread:18247): Gtk-WARNING **: libqt-mt.so.3: cannot open shared object 
> file: Arquivo ou diretório não encontrado

This may also change with the latest version. One can find it here:
ftp://ftp.ipt.ru/pub/FreeBSD/linux-f8/test-f8.tar.bz2
(it's a link to test-f8.4.tar.bz2, patch level 4 file)
Changes:
. some linux-f8-xorg libraries were added;
. bsd.linux-apps.mk fixed: _FILES -> _FILE, reported by Marcus von
  Appen;
. content of linux-f8-libmng (two files!) was moved to PLIST_FILES.


Thanks for the report, it was very helpful!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60355834>