From owner-freebsd-emulation@FreeBSD.ORG Sat May 13 14:31:11 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1659B16A404; Sat, 13 May 2006 14:31:11 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8265243D45; Sat, 13 May 2006 14:31:10 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fev9A-000M4L-T0; Sat, 13 May 2006 18:31:09 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fev9Y-000AIg-9B; Sat, 13 May 2006 18:31:32 +0400 To: mag@intron.ac References: <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn> <26677501@srv.sem.ipt.ru> From: Boris Samorodov Date: Sat, 13 May 2006 18:31:32 +0400 In-Reply-To: (mag@intron.ac's message of "Sat, 13 May 2006 11:15:15 +0800") Message-ID: <82026267@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-emulation@freebsd.org, netchild@freebsd.org Subject: Re: Mozilla-linux-gtk1 doesn't work with linux-xorg-libs 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: Sat, 13 May 2006 14:31:12 -0000 --=-=-= On Sat, 13 May 2006 11:15:15 +0800 mag@intron.ac wrote: > The RPM "xorg-x11-deprecated-libs" takes its effects! Both > Firefox-linux-gtk2 1.0.7 and Mozilla-linux-gtk1 work now. Thanks, Boris. Glad to hear it. Thank you for your feedback. > Actually, quite a few days ago, I had found that Firefox-linux-gtk2 > 1.0.7 reported that it requires "libXp.so.*" while Mozilla-linux-gtk1 > hung up quietly only. But since I prefer Mozilla-linux-gtk1 for its better > display of both oriental and western language fonts and eager to solve it, > I ignored Firefox-linux-gtk2 1.0.7's prompt. > Boris, could you tell me how you found that Mozilla-linux-gtk1 also > needs "libXp.so.*" though it keeps quiet for that? It seems that only > "libgfxxprint.so" and "libgfx_gtk.so" needs "libXp.so.*". On the other > hand "firefox-bin" (version 1.0.7) needs "libXp.so.*" itself and dynamic > linker can report on lacking of "libXp.so.*". I used ktrace/kdump and realized that bad things did occure when libXp.so was not found. Then I used google with "libxp.so" keyword. Second link was to the fedoracore forum where the problem (since FC3) and the solution was showed. Then it wasn't too hard to find the needed rpm at MASTER_SITE_FEDORA_LINUX. ;-) > I have modified Boris's patch to avoid forcing user to install > source RPM. See attachment in this mail. Actually, yes, the patch I sent you was not very clean. First of all I tried to solve the problem to you, and the patch was not intended to go to CVS without cleaning. I cleaned it and was waiting for your feedback to send my cleaned version of the patch to Alexander. Now I'm doing it. Mag, your patch is good. Hence, you may not use "if defined PACKAGE_BUILDING" because it is already at bsd.linux-rpm.mk. > Alexander, I believe you may commit Boris's patch now. Alexander, here is the patch I propose to commit. > P.S. current "x11/linux-xorg-libs" is just from Fedora Core 4 while > the focused port "emulators/linux_base-fc3" is part of Fedora Core 3. Yea, now I understand what did you mean by "(FC3 and 4)". WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=linux-xorg-libs.patch Content-Description: the patch for linux-xorg-libs diff -ruN linux-xorg-libs.orig/Makefile linux-xorg-libs/Makefile --- linux-xorg-libs.orig/Makefile Fri May 12 21:04:00 2006 +++ linux-xorg-libs/Makefile Sat May 13 18:27:44 2006 @@ -7,9 +7,10 @@ PORTNAME= xorg-libs PORTVERSION= 6.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 linux -DISTNAME= xorg-x11-libs-${PORTVERSION}-37.FC4.49.2 +DISTFILES= xorg-x11-libs-${PORTVERSION}-37.FC4.49.2.${LINUX_RPM_ARCH}.rpm \ + xorg-x11-deprecated-libs-6.8.2-31.${LINUX_RPM_ARCH}.rpm MAINTAINER= freebsd-emulation@FreeBSD.org COMMENT= Xorg libraries, linux binaries diff -ruN linux-xorg-libs.orig/distinfo.i386 linux-xorg-libs/distinfo.i386 --- linux-xorg-libs.orig/distinfo.i386 Fri May 12 21:04:00 2006 +++ linux-xorg-libs/distinfo.i386 Sat May 13 18:26:59 2006 @@ -1,6 +1,9 @@ MD5 (rpm/i386/fedora/4/xorg-x11-libs-6.8.2-37.FC4.49.2.i386.rpm) = f60dd3ea9c845a85ca5f8215f67b33c4 SHA256 (rpm/i386/fedora/4/xorg-x11-libs-6.8.2-37.FC4.49.2.i386.rpm) = 87b9f2129bc51c1d6438f7f158979d9e1cd670dbfcd944a02310565b991e0a69 SIZE (rpm/i386/fedora/4/xorg-x11-libs-6.8.2-37.FC4.49.2.i386.rpm) = 2655615 +MD5 (rpm/i386/fedora/4/xorg-x11-deprecated-libs-6.8.2-31.i386.rpm) = 3afd57cabdfa08736dcd7bdc3c86176f +SHA256 (rpm/i386/fedora/4/xorg-x11-deprecated-libs-6.8.2-31.i386.rpm) = 545e9b6ee957e7443dbe88206213c84c56a4584f4c8e583cd51c98407490c145 +SIZE (rpm/i386/fedora/4/xorg-x11-deprecated-libs-6.8.2-31.i386.rpm) = 83231 MD5 (rpm/i386/fedora/4/xorg-x11-6.8.2-37.FC4.49.2.src.rpm) = 92491828b6bf332b84bca2cd64ebd3c2 SHA256 (rpm/i386/fedora/4/xorg-x11-6.8.2-37.FC4.49.2.src.rpm) = 0a2eb1ecc43780cfd3e78bcb64057384d0c592393589500d34baa4292628b2f7 SIZE (rpm/i386/fedora/4/xorg-x11-6.8.2-37.FC4.49.2.src.rpm) = 56066059 diff -ruN linux-xorg-libs.orig/pkg-plist linux-xorg-libs/pkg-plist --- linux-xorg-libs.orig/pkg-plist Fri May 12 21:04:00 2006 +++ linux-xorg-libs/pkg-plist Sat May 13 18:26:59 2006 @@ -197,6 +197,8 @@ usr/X11R6/lib/libXmu.so.6.2 usr/X11R6/lib/libXmuu.so.1 usr/X11R6/lib/libXmuu.so.1.0 +usr/X11R6/lib/libXp.so.6 +usr/X11R6/lib/libXp.so.6.2 usr/X11R6/lib/libXpm.so.4 usr/X11R6/lib/libXpm.so.4.11 usr/X11R6/lib/libXrandr.so.2 --=-=-=--