From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 1 17:31:08 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6F0F1065673 for ; Mon, 1 Jun 2009 17:31:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 648758FC14 for ; Mon, 1 Jun 2009 17:31:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MBBLn-000Lif-8F for freebsd-emulation@FreeBSD.org; Mon, 01 Jun 2009 21:31:07 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Mon, 01 Jun 2009 21:31:06 +0400 Message-ID: <56597237@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: HEADSUP: new Linux Fedora 10 infrastructure ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 17:31:08 -0000 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