CALL FOR TESTERS: linux-f8 infrastructure ports
Aline de Freitas
aline at riseup.net
Tue Apr 8 02:21:23 UTC 2008
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=f8 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=xorglibs). 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
> ===================================================================
> 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?= linux-
>
> -RUN_DEPENDS?= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-too
>lkits/linux-gtk2 \
> - ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk
> \
> - ${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux
>-pango\
> - ${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
> - ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-font
>config \
> - ${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTSDIR}/x11-themes/
>linux-hicolor-icon-theme
> +RUN_DEPENDS?= ${LINUXBASE}/usr/share/icons/hicolor/index.theme:${PORTSDIR}
>/x11-themes/linux-hicolor-icon-theme
>
> NO_BUILD= yes
> ONLY_FOR_ARCHS= i386 amd64
> APP_NAME= ${PKGBASE}
> BIN_NAME?= ${PORTNAME}
> USE_LINUX= yes
> +USE_LINUX_APPS= gtk2 atk pango fontconfig
> WRKSRC?= ${WRKDIR}/${BIN_NAME}
> FDIR= ${PREFIX}/lib/${APP_NAME}
> COMMON_DIR= ${.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:
- googleearth
- linux-realplayer (really I only use it in order to be able to play .rm
related media under mplayer).
- acroread7
- flashplayer7
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
fonts. Googleearth pop-ups a windows complaining about missing Bitstream Vera
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
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 as
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
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: Image
type 'xpm' is not supported
(acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Image
type 'xpm' is not supported
(acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Image
type 'xpm' is not supported
(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
(acroread:36728): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion
`GDK_IS_PIXBUF (pixbuf)' failed
(acroread:36728): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion
`pixbuf != NULL' failed
(acroread:36728): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion
`pixbuf != NULL' failed
[...]
Thanks!
--
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20080408/e7df63da/attachment.pgp
More information about the freebsd-emulation
mailing list