Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 12:54:05 -0700 (PDT)
From:      Eric Anholt <eta@lclark.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40389: 
Message-ID:  <200207091954.g69Js5ja025353@anholt.dyndns.org>

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

>Number:         40389
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 09 13:00:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Anholt
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD anholt.dyndns.org 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Sun Jul 7 22:54:58 PDT 2002 anholt@anholt.dyndns.org:/usr/src/current/sys/i386/compile/MYKERNEL i386


	
>Description:
	Linux DRI libraries from CVS, supporting new features on Radeon and
	fixing many rendering bugs.
>How-To-Repeat:
	
>Fix:
	shar file of the new port to be extracted in ports/graphics/.  
	However, it should probably first be repocopied from ports/graphics/linux_dri 
	after the 4.2.0 update to linux_dri, to preserve history.
	
	The file is also available at:
	http://people.freebsd.org/~anholt/dri/files/linux_dri-devel.shar

--- linux_dri-devel.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux_dri-devel
#	linux_dri-devel/CVS
#	linux_dri-devel/CVS/Root
#	linux_dri-devel/CVS/Repository
#	linux_dri-devel/CVS/Entries
#	linux_dri-devel/distinfo
#	linux_dri-devel/pkg-descr
#	linux_dri-devel/pkg-plist
#	linux_dri-devel/pkg-comment
#	linux_dri-devel/Makefile
#
echo c - linux_dri-devel
mkdir -p linux_dri-devel > /dev/null 2>&1
echo c - linux_dri-devel/CVS
mkdir -p linux_dri-devel/CVS > /dev/null 2>&1
echo x - linux_dri-devel/CVS/Root
sed 's/^X//' >linux_dri-devel/CVS/Root << 'END-of-linux_dri-devel/CVS/Root'
X/home/ncvs
END-of-linux_dri-devel/CVS/Root
echo x - linux_dri-devel/CVS/Repository
sed 's/^X//' >linux_dri-devel/CVS/Repository << 'END-of-linux_dri-devel/CVS/Repository'
Xports/graphics/linux_dri
END-of-linux_dri-devel/CVS/Repository
echo x - linux_dri-devel/CVS/Entries
sed 's/^X//' >linux_dri-devel/CVS/Entries << 'END-of-linux_dri-devel/CVS/Entries'
X/Makefile/1.1/Sat Dec 15 08:16:48 2001//
X/distinfo/1.1/Sat Dec 15 08:16:48 2001//
X/pkg-comment/1.1/Fri Apr 19 02:57:39 2002//
X/pkg-descr/1.1/Fri Apr 19 02:57:39 2002//
X/pkg-plist/1.1/Fri Apr 19 02:57:39 2002//
X/pkg-message/-1.1/Fri Apr 19 02:57:39 2002//
XD
END-of-linux_dri-devel/CVS/Entries
echo x - linux_dri-devel/distinfo
sed 's/^X//' >linux_dri-devel/distinfo << 'END-of-linux_dri-devel/distinfo'
XMD5 (linux_dri-4.2.0/Xbin.tgz) = 91cae2fe84c8e5bf3d06a8c0cd8fd41d
XMD5 (linux_dri-4.2.0/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba
XMD5 (linux_dri-4.2.0/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4
XMD5 (linux_dri-4.2.0/linux_dri-devel-20020709.tar.gz) = afbce5e05ab53d07dd093fb273bd9dc4
END-of-linux_dri-devel/distinfo
echo x - linux_dri-devel/pkg-descr
sed 's/^X//' >linux_dri-devel/pkg-descr << 'END-of-linux_dri-devel/pkg-descr'
Xlinux_dri-devel installs binary linux DRI modules from a DRI CVS snapshot.
X(Currently, compiled by me on a chroot Gentoo with a patch to xf86drm.c
Xto fix linux compatibility in DRI).
X
XIt provides more current support for linux 3d hardware acceleration than
Xlinux_dri, including TCL and pageflipping support on Radeon.  May require
Xan X Server from DRI CVS (See the page for more instructions).
X
XWWW: http://people.freebsd.org/~anholt/dri/
X
X- Eric Anholt
Xeta@lclark.edu
END-of-linux_dri-devel/pkg-descr
echo x - linux_dri-devel/pkg-plist
sed 's/^X//' >linux_dri-devel/pkg-plist << 'END-of-linux_dri-devel/pkg-plist'
Xusr/X11R6/bin/gears
Xusr/X11R6/bin/glxinfo
Xusr/X11R6/lib/libGL.so.1
Xusr/X11R6/lib/libGLU.so.1
Xusr/X11R6/lib/libglide3-v3.so.0
Xusr/X11R6/lib/libglide3-v5.so.0
Xusr/X11R6/lib/libglut.so.3.7.0
Xusr/X11R6/lib/libglut.so.3
Xusr/X11R6/lib/modules/dri/gamma_dri.so
Xusr/X11R6/lib/modules/dri/i810_dri.so
Xusr/X11R6/lib/modules/dri/i830_dri.so
Xusr/X11R6/lib/modules/dri/mga_dri.so
Xusr/X11R6/lib/modules/dri/r128_dri.so
Xusr/X11R6/lib/modules/dri/radeon_dri.so
Xusr/X11R6/lib/modules/dri/sis_dri.so
Xusr/X11R6/lib/modules/dri/tdfx_dri.so
X@exec mkdir -p usr/X11R6/lib/modules/dri
X@dirrm usr/X11R6/lib/modules/dri
X@dirrm usr/X11R6/lib/modules
END-of-linux_dri-devel/pkg-plist
echo x - linux_dri-devel/pkg-comment
sed 's/^X//' >linux_dri-devel/pkg-comment << 'END-of-linux_dri-devel/pkg-comment'
XIn-development linux DRI library binaries and associated tools
END-of-linux_dri-devel/pkg-comment
echo x - linux_dri-devel/Makefile
sed 's/^X//' >linux_dri-devel/Makefile << 'END-of-linux_dri-devel/Makefile'
X# Ports collection makefile for:	linux_dri
X# Date created:				Thu Oct 25 18:51:06 PDT 2001
X# Whom:					Eric Anholt <eta@lclark.edu>
X#
X# $FreeBSD: ports/graphics/linux_dri/Makefile,v 1.1 2001/12/15 08:16:48 pat Exp $
X#
X
XPORTNAME=	linux_dri-devel
XPORTVERSION=	20020709
XCATEGORIES=	graphics linux
XMASTER_SITES=	ftp://ftp.xfree86.org/pub/XFree86/4.2.0/binaries/Linux-ix86-glibc22/:x \
X		http://people.freebsd.org/~anholt/dri/files/:anholt
XDISTFILES=	Xbin.tgz:x \
X		linux-libglide.tar.gz:anholt \
X		linux-dri-tools.tar.gz:anholt \
X		linux_dri-devel-${PORTVERSION}.tar.gz:anholt
XDIST_SUBDIR=	linux_dri-4.2.0
X# linux_dri-devel is from DRI CVS compiled on a chrooted Gentoo system, with a
X# patch to xf86drm.c to allow non-root use of DRI under linux compatibility.
X
XMAINTAINER=	eta@lclark.edu
X
XRUN_DEPENDS=	${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
X
XWRKSRC=		${WRKDIR}/lib
XNO_BUILD=	yes
XUSE_LINUX_PREFIX=	yes
X
XMODULELIST=	gamma_dri.so i810_dri.so i830_dri.so mga_dri.so r128_dri.so \
X		radeon_dri.so sis_dri.so tdfx_dri.so
XLDCONFIG_LINUX=	${LINUXBASE}/sbin/ldconfig
XSTRIP=
X
Xdo-install:
X	${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
X	${INSTALL_PROGRAM} ${WRKSRC}/libGL.so.1 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so.1 ${PREFIX}/usr/X11R6/lib
X.for i in ${MODULELIST}
X	${INSTALL_PROGRAM} ${WRKSRC}/modules/dri/${i} \
X		${PREFIX}/usr/X11R6/lib/modules/dri
X.endfor
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin
X
Xpost-install:
Xlinux_dri-devel installs binary linux DRI modules from a DRI CVS snapshot.
X(Currently, compiled by me on a chroot Gentoo with a patch to xf86drm.c
Xto fix linux compatibility in DRI).
X
XIt provides more current support for linux 3d hardware acceleration than
Xlinux_dri, including TCL and pageflipping support on Radeon.  May require
Xan X Server from DRI CVS (See the page for more instructions).
X
XWWW: http://people.freebsd.org/~anholt/dri/
X
X- Eric Anholt
Xeta@lclark.edu
END-of-linux_dri-devel/pkg-descr
echo x - linux_dri-devel/pkg-plist
sed 's/^X//' >linux_dri-devel/pkg-plist << 'END-of-linux_dri-devel/pkg-plist'
Xusr/X11R6/bin/gears
Xusr/X11R6/bin/glxinfo
Xusr/X11R6/lib/libGL.so.1
Xusr/X11R6/lib/libGLU.so.1
Xusr/X11R6/lib/libglide3-v3.so.0
Xusr/X11R6/lib/libglide3-v5.so.0
Xusr/X11R6/lib/libglut.so.3.7.0
Xusr/X11R6/lib/libglut.so.3
Xusr/X11R6/lib/modules/dri/gamma_dri.so
Xusr/X11R6/lib/modules/dri/i810_dri.so
Xusr/X11R6/lib/modules/dri/i830_dri.so
Xusr/X11R6/lib/modules/dri/mga_dri.so
Xusr/X11R6/lib/modules/dri/r128_dri.so
Xusr/X11R6/lib/modules/dri/radeon_dri.so
Xusr/X11R6/lib/modules/dri/sis_dri.so
Xusr/X11R6/lib/modules/dri/tdfx_dri.so
X@exec mkdir -p usr/X11R6/lib/modules/dri
X@dirrm usr/X11R6/lib/modules/dri
X@dirrm usr/X11R6/lib/modules
END-of-linux_dri-devel/pkg-plist
echo x - linux_dri-devel/pkg-comment
sed 's/^X//' >linux_dri-devel/pkg-comment << 'END-of-linux_dri-devel/pkg-comment'
XIn-development linux DRI library binaries and associated tools
END-of-linux_dri-devel/pkg-comment
echo x - linux_dri-devel/Makefile
sed 's/^X//' >linux_dri-devel/Makefile << 'END-of-linux_dri-devel/Makefile'
X# Ports collection makefile for:	linux_dri
X# Date created:				Thu Oct 25 18:51:06 PDT 2001
X# Whom:					Eric Anholt <eta@lclark.edu>
X#
X# $FreeBSD: ports/graphics/linux_dri/Makefile,v 1.1 2001/12/15 08:16:48 pat Exp $
X#
X
XPORTNAME=	linux_dri-devel
XPORTVERSION=	20020709
XCATEGORIES=	graphics linux
XMASTER_SITES=	ftp://ftp.xfree86.org/pub/XFree86/4.2.0/binaries/Linux-ix86-glibc22/:x \
X		http://people.freebsd.org/~anholt/dri/files/:anholt
XDISTFILES=	Xbin.tgz:x \
X		linux-libglide.tar.gz:anholt \
X		linux-dri-tools.tar.gz:anholt \
X		linux_dri-devel-${PORTVERSION}.tar.gz:anholt
XDIST_SUBDIR=	linux_dri-4.2.0
X# linux_dri-devel is from DRI CVS compiled on a chrooted Gentoo system, with a
X# patch to xf86drm.c to allow non-root use of DRI under linux compatibility.
X
XMAINTAINER=	eta@lclark.edu
X
XRUN_DEPENDS=	${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
X
XWRKSRC=		${WRKDIR}/lib
XNO_BUILD=	yes
XUSE_LINUX_PREFIX=	yes
X
XMODULELIST=	gamma_dri.so i810_dri.so i830_dri.so mga_dri.so r128_dri.so \
X		radeon_dri.so sis_dri.so tdfx_dri.so
XLDCONFIG_LINUX=	${LINUXBASE}/sbin/ldconfig
XSTRIP=
X
Xdo-install:
X	${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
X	${INSTALL_PROGRAM} ${WRKSRC}/libGL.so.1 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so.1 ${PREFIX}/usr/X11R6/lib
X.for i in ${MODULELIST}
X	${INSTALL_PROGRAM} ${WRKSRC}/modules/dri/${i} \
X		${PREFIX}/usr/X11R6/lib/modules/dri
X.endfor
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-libglide/libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin
X	${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin
X
Xpost-install:
X	@${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib
X
X.include <bsd.port.mk>
END-of-linux_dri-devel/Makefile
exit
--- linux_dri-devel.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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