Date: Fri, 26 Oct 2001 01:00:00 -0700 (PDT) From: Eric Anholt <eanholt@gladstone.uoregon.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31505: New port: linux-dri Message-ID: <200110260800.f9Q800W12868@positron.anholt.dyn.dhs.org>
next in thread | raw e-mail | index | archive | help
>Number: 31505 >Category: ports >Synopsis: New port: linux-dri >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 26 01:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Eric Anholt >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD positron.anholt.dyn.dhs.org 4.4-STABLE FreeBSD 4.4-STABLE #6: Thu Oct 25 18:51:06 PDT 2001 root@positron.anholt.dyn.dhs.org:/usr/src/stable/sys/compile/MYKERNEL i386 >Description: This port installs linux libraries to allow 3d acceleration of linux binares (Quake3, Unreal Tournament, etc.) under the DRI. Also included is the "glxinfo" and the mesa demo "gears" for testing the installation. Changes will be coming soon to drm-kmod to stop the panic on shutdown and to speed up many operations on the Rage128, if not MGA and Radeon, too. >How-To-Repeat: >Fix: # 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 # linux-dri/distinfo # linux-dri/pkg-message # linux-dri/Makefile # linux-dri/pkg-plist # linux-dri/pkg-descr # linux-dri/pkg-comment # echo c - linux-dri mkdir -p linux-dri > /dev/null 2>&1 echo x - linux-dri/distinfo sed 's/^X//' >linux-dri/distinfo << 'END-of-linux-dri/distinfo' XMD5 (linux-dri/Xmod.tgz) = 1601f3337527d3ad06d2b7df4a25477e XMD5 (linux-dri/Xbin.tgz) = c61f48de2f03298aa79a0b5bb44dd90a XMD5 (linux-dri/linux-libglide.tar.gz) = d83fce4cbfe94086102e20c9cc16ebba XMD5 (linux-dri/linux-dri-tools.tar.gz) = bfee02da0165aa49fbb5312147d64ab4 END-of-linux-dri/distinfo echo x - linux-dri/pkg-message sed 's/^X//' >linux-dri/pkg-message << 'END-of-linux-dri/pkg-message' X------------------------------------------------------------------------------- XIf you are using a 3dfx Voodoo-based card, you must make a symlink to libglide. XVoodoo3/Banshee: Xln -sf %%PREFIX%%/usr/X11R6/lib/libglide3-v3.so.0 %%PREFIX%%/usr/X11R6/lib/libglide3.so.3 XVoodoo4/5: Xln -sf %%PREFIX%%/usr/X11R6/lib/libglide3-v5.so.0 %%PREFIX%%/usr/X11R6/lib/libglide3.so.3 X------------------------------------------------------------------------------- END-of-linux-dri/pkg-message echo x - linux-dri/Makefile sed 's/^X//' >linux-dri/Makefile << 'END-of-linux-dri/Makefile' X# Ports collection makefile for: aureal-kmod X# Date created: 15 January 2001 X# Whom: Maxim Sobolev <sobomax@FreeBSD.org> X# X# $FreeBSD: ports/audio/aureal-kmod/Makefile,v 1.11 2001/08/24 15:01:55 knu Exp $ X# X XPORTNAME= linux-dri XPORTVERSION= 4.1.0 X#PORTREVISION= 0 XCATEGORIES= graphics x11 XMASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/4.1.0/binaries/Linux-ix86-glibc21/ \ X http://gladstone.uoregon.edu/~eanholt/dri/ XDISTFILES= Xmod.tgz \ X Xbin.tgz \ X linux-libglide.tar.gz \ X linux-dri-tools.tar.gz XDIST_SUBDIR=linux-dri X XMAINTAINER= eanholt@gladstone.uoregon.edu X XWRKSRC= ${WRKDIR}/lib XPREFIX= ${LINUXBASE} XPKGMESSAGE= ${WRKSRC}/.MESSAGE X X.include <bsd.port.pre.mk> X Xdo-build: X @${DO_NADA} X XMODULELIST = gamma_dri.so i810_dri.so mga_dri.so r128_dri.so \ X radeon_dri.so sis_dri.so tdfx_dri.so X Xpre-install: X @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ X ${PKGMESSAGE} X Xdo-install: X ${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/libGL.so.1 ${PREFIX}/usr/X11R6/lib/; \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/libGLU.so.1 ${PREFIX}/usr/X11R6/lib/; \ X for i in ${MODULELIST}; do \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/modules/dri/$$i ${PREFIX}/usr/X11R6/lib/modules/dri/; \ X done X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/linux-libglide/libglide3-v3.so.0 ${PREFIX}/usr/X11R6/lib/; \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/linux-libglide/libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib/; \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}/usr/X11R6/lib/; \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/bin/; \ X ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R6/bin/; \ X ${LINUXBASE}/sbin/ldconfig ${PREFIX}/usr/X11R6/lib X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-linux-dri/Makefile echo x - linux-dri/pkg-plist sed 's/^X//' >linux-dri/pkg-plist << 'END-of-linux-dri/pkg-plist' Xusr/X11R6/lib/modules/dri/gamma_dri.so Xusr/X11R6/lib/modules/dri/i810_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 Xusr/X11R6/lib/libGL.so.1 Xusr/X11R6/lib/libGLU.so.1 Xusr/X11R6/lib/libglut.so.3.7.0 Xusr/X11R6/lib/libglide3-v3.so.0 Xusr/X11R6/lib/libglide3-v5.so.0 Xusr/X11R6/bin/gears Xusr/X11R6/bin/glxinfo END-of-linux-dri/pkg-plist echo x - linux-dri/pkg-descr sed 's/^X//' >linux-dri/pkg-descr << 'END-of-linux-dri/pkg-descr' Xlinux-dri installs binary linux DRI modules, libraries and basic programs for Xuse with drm-kmod to get 3d hardware acceleration of linux binaries. END-of-linux-dri/pkg-descr echo x - linux-dri/pkg-comment sed 's/^X//' >linux-dri/pkg-comment << 'END-of-linux-dri/pkg-comment' XBinary Linux DRI libraries for 3D hardware acceleration of linux apps END-of-linux-dri/pkg-comment exit >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?200110260800.f9Q800W12868>