CALL FOR TESTERS: linux-f8 infrastructure ports
Boris Samorodov
bsam at ipt.ru
Tue Apr 8 14:31:44 UTC 2008
On Tue, 08 Apr 2008 12:00:26 +0200 Alexander Leidinger wrote:
> Quoting Aline de Freitas <aline at 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
-----
> > fonts. Googleearth pop-ups a windows complaining about missing Bitstream Vera
> > Sans font and I get a interface with a strange (but readeable) font.
> My first idea about this is, that this should be a problem with your
> native installation of X.org. But on a second thought it may be a
> problem in the linux-font* area.
That should be investigated further.
> > 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.
> What's your locale (echo $LANG)? We may have to add some symlinks from
> the FreeBSD names to the linux names (or maybe something more
> advanced, if the linux locale system needs more stuff to have it
> right).
> > 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.
> The same as above.
> > (acroread:36728): GdkPixbuf-WARNING **: Error loading XPM image loader: Image
> > type 'xpm' is not supported
> Maybe some more gtk2 plugins/engines/whatever are needed (I assume
> Boris runs the gdk plugin register stuff like we do in the old gtk2
> port).
Good shot! I forgot it. Here is a patch that should help:
-----
diff -r 031c290af596 -r b83a24e0e139 ports/x11-toolkits/linux-f8-gtk2/Makefile
--- a/ports/x11-toolkits/linux-f8-gtk2/Makefile Mon Apr 07 21:54:20 2008 +0400
+++ b/ports/x11-toolkits/linux-f8-gtk2/Makefile Tue Apr 08 17:21:01 2008 +0400
@@ -24,4 +24,8 @@ USE_LINUX_APPS= atk libjpeg pango png ti
DESCR= ${.CURDIR}/../${PORTNAME}0/pkg-descr
+post-install:
+ @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0-32 > ${PREFIX}/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
+ @chroot ${PREFIX} /usr/bin/gdk-pixbuf-query-loaders-32 > ${PREFIX}/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
+
.include <bsd.port.mk>
diff -r 031c290af596 -r b83a24e0e139 ports/x11-toolkits/linux-f8-gtk2/pkg-plist
--- a/ports/x11-toolkits/linux-f8-gtk2/pkg-plist Mon Apr 07 21:54:20 2008 +0400
+++ b/ports/x11-toolkits/linux-f8-gtk2/pkg-plist Tue Apr 08 17:21:01 2008 +0400
@@ -1,5 +1,7 @@
@comment file listing
etc/gtk-2.0/im-multipress.conf
+etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
+etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
usr/bin/gdk-pixbuf-query-loaders-32
usr/bin/gtk-query-immodules-2.0-32
usr/bin/gtk-update-icon-cache
-----
Or deinstall this test-f8 case, download fixed one (the same place):
ftp://ftp.ipt.ru/pub/FreeBSD/linux-f8/test-f8.tar.bz2
and install a fixed version.
> > (acroread:36728): GLib-GObject-CRITICAL **: g_object_ref: assertion
> > `G_IS_OBJECT (object)' failed
> Application internal error. Maybe the result of not handling the xom
> not supported error.
Thanks all for testing/feedback!
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-emulation
mailing list