Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Oct 2005 19:28:04 +0200 (CEST)
From:      Jean-Yves Lefort <jylefort@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Update port: graphics/linux_dri to 4.4.0
Message-ID:  <20051007172804.0A4A9C1B7@jsite.lefort.net>

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

>Submitter-Id:	current-users
>Originator:	Jean-Yves Lefort
>Organization:	
>Confidential:	no 
>Synopsis:       Update port: graphics/linux_dri to 4.4.0
>Severity:       serious
>Priority:       medium
>Category:       ports
>Class:          update
>Release:	FreeBSD 5.4-RELEASE i386
>Environment:
System: FreeBSD jsite.lefort.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Oct 5 21:35:41 CEST 2005 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
- Update to 4.4.0 (although a more recent version is available,
  x11/linux-XFree86-libs is still at 4.3.99.902): fixes an unresolved
  library dependency in libGLU (libstdc++-libc6.1-2.so.3)
- Remove useless brandelf commands from do-install
- Remove useless mkdir from pkg-plist
- Also run ldconfig when installing from a package
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/graphics/linux_dri/Makefile linux_dri/Makefile
--- /usr/ports/graphics/linux_dri/Makefile	Sat Jun 18 00:59:15 2005
+++ linux_dri/Makefile	Fri Oct  7 19:04:29 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	linux_dri
-PORTVERSION=	4.3.0
-PORTREVISION=	3
+PORTVERSION=	4.4.0
 CATEGORIES=	graphics linux
 MASTER_SITES=	ftp://ftp.xfree86.org/pub/XFree86/${PORTVERSION}/binaries/Linux-ix86-glibc21/:x \
 		http://people.freebsd.org/~anholt/dri/files/:anholt
@@ -29,7 +28,7 @@
 ONLY_FOR_ARCHS=	i386
 
 MODULELIST=	gamma_dri.so i810_dri.so i830_dri.so mga_dri.so r128_dri.so \
-		r200_dri.so radeon_dri.so tdfx_dri.so
+		r200_dri.so radeon_dri.so sis_dri.so tdfx_dri.so
 LDCONFIG_LINUX=	${LINUXBASE}/sbin/ldconfig
 
 do-install:
@@ -47,9 +46,7 @@
 	${LN} -sf libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib/libglide3-v5.so
 	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib
 	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin
-	${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/gears
 	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin
-	${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/glxinfo
 
 post-install:
 	@${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib
diff -ruN /usr/ports/graphics/linux_dri/distinfo linux_dri/distinfo
--- /usr/ports/graphics/linux_dri/distinfo	Wed Mar 17 19:29:24 2004
+++ linux_dri/distinfo	Fri Oct  7 18:57:27 2005
@@ -1,8 +1,8 @@
-MD5 (linux_dri-4.3.0/Xbin.tgz) = d3ed6afd605a10bbbc6dd6a8de88091e
-SIZE (linux_dri-4.3.0/Xbin.tgz) = 5746877
-MD5 (linux_dri-4.3.0/Xmod.tgz) = e229aa71aec95c041c40563231396200
-SIZE (linux_dri-4.3.0/Xmod.tgz) = 8435725
-MD5 (linux_dri-4.3.0/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba
-SIZE (linux_dri-4.3.0/linux-libglide.tar.gz) = 286591
-MD5 (linux_dri-4.3.0/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4
-SIZE (linux_dri-4.3.0/linux-dri-tools.tar.gz) = 124318
+MD5 (linux_dri-4.4.0/Xbin.tgz) = ac6a81e945df36ea15463eaf82679be3
+SIZE (linux_dri-4.4.0/Xbin.tgz) = 5453434
+MD5 (linux_dri-4.4.0/Xmod.tgz) = a1e97a4517cad7e35bd8113633473da9
+SIZE (linux_dri-4.4.0/Xmod.tgz) = 9598559
+MD5 (linux_dri-4.4.0/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba
+SIZE (linux_dri-4.4.0/linux-libglide.tar.gz) = 286591
+MD5 (linux_dri-4.4.0/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4
+SIZE (linux_dri-4.4.0/linux-dri-tools.tar.gz) = 124318
diff -ruN /usr/ports/graphics/linux_dri/pkg-plist linux_dri/pkg-plist
--- /usr/ports/graphics/linux_dri/pkg-plist	Wed Mar 12 00:38:11 2003
+++ linux_dri/pkg-plist	Fri Oct  7 19:02:23 2005
@@ -18,7 +18,8 @@
 usr/X11R6/lib/modules/dri/r128_dri.so
 usr/X11R6/lib/modules/dri/radeon_dri.so
 usr/X11R6/lib/modules/dri/r200_dri.so
+usr/X11R6/lib/modules/dri/sis_dri.so
 usr/X11R6/lib/modules/dri/tdfx_dri.so
-@exec mkdir -p usr/X11R6/lib/modules/dri
+@exec %D/sbin/ldconfig %D/usr/X11R6/lib
 @dirrm usr/X11R6/lib/modules/dri
 @dirrm usr/X11R6/lib/modules



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