Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 21:44:50 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        mag@intron.ac
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Mozilla-linux-gtk1 doesn't work with linux-xorg-libs
Message-ID:  <26677501@srv.sem.ipt.ru>
In-Reply-To: <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn> (mag@intron.ac's message of "Sat, 13 May 2006 00:01:17 %2B0800")
References:  <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=

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

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26677501>