Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2009 21:31:06 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-emulation@FreeBSD.org
Subject:   HEADSUP: new Linux Fedora 10 infrastructure ports
Message-ID:  <56597237@bb.ipt.ru>

next in thread | raw e-mail | index | archive | help
Hello List,


I've just committed new Linux Fedora 10 infrastructure ports.

Those ports are intended to be used with 8-CURRENT at least
with SVN r192206. I'm not sure if all neede changes can be
MFCed to 7-STABLE.

If you want to switch to linux-f10 ports, please define at /etc/make.conf:
  OVERRIDE_LINUX_BASE_PORT=f10
  OVERRIDE_LINUX_NONBASE_PORTS=f10

An upgrading procedure is shown at /usr/ports/UPDATING, entries 20090401
and 20070327. For best results one should remove all linux applications,
linux infrastructure ports and linux base port. And then reinstall linux
applications:
=====
0. Backup you data!
1. Define your linux applications.
-----
% pkg_info -xR linux_base
Information for linux_base-f10-10:

Required by:
linux-f10-alsa-lib-1.0.19
linux-dri-7.4
linux-f10-expat-2.0.1
linux-f10-fontconfig-2.6.0
linux-f10-libsigc++20-2.2.2
linux-f10-xorg-libs-7.4
skype-2.0.0.72,1
google-earth-5.0.11733.9347
linux-f10-atk-1.24.0
linux-f10-png-1.2.35
linux-f10-cairo-1.8.0
linux-f10-jpeg-6b
linux-f10-pango-1.22.3
linux-f10-tiff-3.8.2
linux-f10-gtk2-2.14.7
linux-f10-hicolor-icon-theme-0.5
linux-nvu-1.0_1
acroread8-8.1.5
-----
OK, we do have skype, google-earth and acroread8.

2. Remove linux applications, linux infrastructure ports and linux base port:
-----
% sudo pkg_delete skype-2.0.0.72,1 google-earth-5.0.11733.9347 acroread8-8.1.5
% sudo pkg_delete linux-\*
% sudo umount linprocfs
% sudo umount linsysfs
% sudo pkg_delete -f linux_base-f10-10
-----

3. Make sure you don't have any remnants at /compat/linux/:
-----
% ls -l /compat/linux
total 0
-----

4. Add those lines to /etc/make.conf:
-----
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
-----

5. Reinstall your linux applications:
-----
% sudo make -C /usr/ports/astro/google-earth install clean
% sudo make -C /usr/ports/net/skype install clean
% sudo make -C /usr/ports/print/acroread8 install clean
-----
=====

For the first time all tested linux ports work as expected(!):
. acroread8;
. google-earth (with hardware acceleration);
. skype (with apropriate locales);
. seamonkey.

Here is some glx info from my host:
-----
% /compat/linux/usr/bin/glxinfo| grep rend                                                  20:55 pts/3
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
% % /compat/linux/usr/bin/glxgears -info                                                      20:55 pts/3
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
GL_VERSION    = 1.3 Mesa 7.4
GL_VENDOR     = DRI R300 Project
GL_EXTENSIONS = [skip]
9101 frames in 5.0 seconds = 1820.136 FPS
9062 frames in 5.0 seconds = 1812.304 FPS
9060 frames in 5.0 seconds = 1811.850 FPS
9061 frames in 5.0 seconds = 1812.078 FPS
^C
-----

Many thanks for kernel folks who really did the main work
(and I wrote only some lines of ports).

There is a good chance that those ports may become a default
for 8.0-RELEASE. Please, test and report back to emulation@ ML.

That's all folks! Have fun and be happy!


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?56597237>