Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2008 23:21:16 -0300
From:      Aline de Freitas <aline@riseup.net>
To:        freebsd-emulation@freebsd.org
Subject:   Re: CALL FOR TESTERS: linux-f8 infrastructure ports
Message-ID:  <200804072321.19332.aline@riseup.net>
In-Reply-To: <72854627@bb.ipt.ru>
References:  <72854627@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1838526.ysuB5IiDqQ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Em Monday 07 April 2008 17:07:24 Boris Samorodov escreveu:
> Hello List,
>
>
> here it is: ftp://ftp.ipt.ru/pub/FreeBSD/linux-f8/test-f8.tar.bz2
>
> Though this is a first version to test it works for me and my
> tibderbox just fine. Instructions for testing are simple:
> -----
> # tar xyf test-f8.tar.bz2
> # cd test-f8
> # install [<your_ports_dir>]
> -----
>
> The last command will install new ports and files to <your_ports_dir>
> (/usr/ports by default) and patch some Mk files (bsd.ports.mk,
> bsd.linux-rpm.mk). There is a command to revert installing:
> -----
> # uninstall [<your_ports_dir>]
> -----
>
> For those who wish only to view changes here is a patch for
> bsd.ports.mk, bsd.linux-rpm.mk):
> ftp://ftp.ipt.ru/pub/FreeBSD/linux-f8/Mk.diff.txt
>
> and a new file:
> ftp://ftp.ipt.ru/pub/FreeBSD/linux-f8/bsd.linux-apps.mk.txt
>
> How it works. Automagically. ;-)
> One should define OVERRIDE_LINUX_BASE_PORT=3Df8 at /etc/make.conf
> and change an application makefile to use the new stuff. Only one
> change is needed: replace all strict RUN_DEPENDS on linux
> infrastructure ports to USE_LINUX_APPS knob (if a port has
> USE_X11, replace it with UAE_LINUX_APPS=3Dxorglibs). For the list
> of available components please look at bsd.linux-apps.mk.
>
> Here is an example. For those mozilla ports one should do:
> -----
> Index: Makefile.common
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/pcvs/ports/www/linux-seamonkey/Makefile.common,v
> retrieving revision 1.11
> diff -u -r1.11 Makefile.common
> --- Makefile.common	14 Dec 2007 17:55:34 -0000	1.11
> +++ Makefile.common	7 Apr 2008 19:45:32 -0000
> @@ -12,18 +12,14 @@
>  .endif
>  PKGNAMEPREFIX?=3D		linux-
>
> -RUN_DEPENDS?=3D	${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11=
=2Dtoo
>lkits/linux-gtk2 \
> -		${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-a=
tk
> \
> -		${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/lin=
ux
>-pango\
> -		${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2=
 \
> -		${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fo=
nt
>config \
> -		${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTSDIR}/x11-theme=
s/
>linux-hicolor-icon-theme
> +RUN_DEPENDS?=3D	${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTS=
DIR}
>/x11-themes/linux-hicolor-icon-theme
>
>  NO_BUILD=3D	yes
>  ONLY_FOR_ARCHS=3D	i386 amd64
>  APP_NAME=3D	${PKGBASE}
>  BIN_NAME?=3D	${PORTNAME}
>  USE_LINUX=3D	yes
> +USE_LINUX_APPS=3D	gtk2 atk pango fontconfig
>  WRKSRC?=3D	${WRKDIR}/${BIN_NAME}
>  FDIR=3D		${PREFIX}/lib/${APP_NAME}
>  COMMON_DIR=3D	${.CURDIR}/../../www/linux-seamonkey
> -----
>
> Notes:
> 1. For linux-hicolor-icon-theme I created a component but it will be
>    deleted as this port is not an infrastructure port from Fedora
>    distribution.
> 2. Please, beware that ports and components do not have same names.
>    E.g. linux-f8-xorg-libs (a port) vs xorglibs (a component).
> 3. devel/linux-glib2 (a port) does not need to be presented as
>    a component since it is a part of linux_base-f8 port.
>
> Known bugs:
> . linux-aspell port is only a skeleton port;
> . upgrading tools (portupgrade, portmaster) will not understand
>   if an fc4 or f8 port is installed for those ports which has
>   the same files (library versions). I'd recommend full uninstall
>   of linux infrastructure ports to receive strict results.
>
> To revert back to using a default linux_base port you should delete
> OVERRIDE_LINUX_BASE_PORT variable from /etc/make.conf (and a full
> uninstall of linux infrastructure ports is recommended).
>
> Thanks for your patience. ;-)
>
>
> WBR

I use the linux_base port mostly for:
=2D googleearth
=2D linux-realplayer (really I only use it in order to be able to play .rm=
=20
related media under mplayer).
=2D acroread7
=2D flashplayer7

Googleearth:

The linux_dri is builted against the old linux-xorg-libs, so I keep it (loo=
ks=20
like it doesn't conflict with the new linux-f8-xorg-libs). googleearth=20
complains for the old expat (linux-expat) but a symlink using the new=20
linux-f8-expat seems to do the trick. The only problem really is with the=20
fonts. Googleearth pop-ups a windows complaining about missing Bitstream Ve=
ra=20
Sans font and I get a interface with a strange (but readeable) font.

linux-realplayer:

Looks ok, no problems at all. The font interface doesn't seems to be the=20
default one, but I'm not sure. (linux-f8-fontconfig issue?)
Terminal messages:
(realplay.bin:37022): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.


flashplayer7:
With nspluginwrapper, in the native freebsd compiled firefox, its working a=
s=20
it should. Terminal messages:
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue()
*** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue()
[...]

acroread7:
Seems to be ok, no problems at all. Also the font interface doesn't seem to=
 be=20
the default one.

Terminal messages:
(acroread:36728): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Ima=
ge=20
type 'xpm' is not supported

(acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Ima=
ge=20
type 'xpm' is not supported

(acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Ima=
ge=20
type 'xpm' is not supported

(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion=20
`G_IS_OBJECT (object)' failed

(acroread:36728): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion=20
`GDK_IS_PIXBUF (pixbuf)' failed

(acroread:36728): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion=20
`pixbuf !=3D NULL' failed

(acroread:36728): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion=20
`pixbuf !=3D NULL' failed

[...]

Thanks!

=2D-=20
Aline de Freitas - Chave p=FAblica: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016

--nextPart1838526.ysuB5IiDqQ
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)

iEYEABECAAYFAkf61p8ACgkQhLRvs95jIBaotQCfTk2O0+wrTe7QITCF8jBiGZHM
sSMAn1kj4PjBIJ0G5iBfWhR/gCVgqR45
=J60w
-----END PGP SIGNATURE-----

--nextPart1838526.ysuB5IiDqQ--



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