From owner-freebsd-emulation@FreeBSD.ORG Fri May 12 17:44:26 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 C6DC316B018 for ; Fri, 12 May 2006 17:44:26 +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 459BA43D77 for ; Fri, 12 May 2006 17:44:26 +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 1Febge-000Ga0-RO; Fri, 12 May 2006 21:44:24 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Febh5-000Fiv-0S; Fri, 12 May 2006 21:44:51 +0400 To: mag@intron.ac References: <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn> From: Boris Samorodov Date: Fri, 12 May 2006 21:44:50 +0400 In-Reply-To: <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn> (mag@intron.ac's message of "Sat, 13 May 2006 00:01:17 +0800") Message-ID: <26677501@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 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: Fri, 12 May 2006 17:44:32 -0000 --=-=-= On Sat, 13 May 2006 00:01:17 +0800 mag@intron.ac wrote: > Mozilla-linux-gtk1 (www/linux-mozilla) will hang up against > linux-xorg-libs (FC3, 4). This has been confusing me in last several days. > But Mozilla-linux-gtk1 works with linux-XFree86-libs-4.3.99.902_7. > ------------------------------------------------------------------------ > From Beijing, China The problem is that linux-mozilla uses an old and deprecated libXp.so.6. Please, test attached patch and give me a feedback. To apply the patch: 1. Copy the patch to /usr/ports/x11 directory. 2. Apply the patch: # cd /usr/ports/x11 # patch -p0 < _the_patch_ 3. Reinstall the port, ex. portupgrade or make deinstall/install. 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: patch with libXp.so.6 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 Fri May 12 21:42:40 2006 @@ -7,9 +7,9 @@ PORTNAME= xorg-libs PORTVERSION= 6.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 linux -DISTNAME= xorg-x11-libs-${PORTVERSION}-37.FC4.49.2 +DISTFILES= ${BIN_DISTFILES} ${SRC_DISTFILES} MAINTAINER= freebsd-emulation@FreeBSD.org COMMENT= Xorg libraries, linux binaries @@ -19,6 +19,9 @@ USE_LINUX_RPM= yes LINUX_DIST_VER= 4 INSTALLS_SHLIB= yes + +BIN_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 SRC_DISTFILES= xorg-x11-6.8.2-37.FC4.49.2.src.rpm 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 Fri May 12 21:25:00 2006 @@ -1,6 +1,12 @@ 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 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 Fri May 12 21:22:31 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 --=-=-=--