ports/131663: [new port] graphics/libdrm-devel, snapshot with libdrm_nouveau.so
Anonymous
swell.k at gmail.com
Fri Feb 13 21:20:03 UTC 2009
>Number: 131663
>Category: ports
>Synopsis: [new port] graphics/libdrm-devel
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 13 21:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD luffy 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r188399M: Mon Feb 9 18:56:25 UTC 2009 root at luffy:/usr/obj/usr/src/sys/PHOENIX amd64
>Description:
New snapshots of nouveau DDX[1] will require libdrm_nouveau.so
which probably will not be included in the next release of libdrm. So I
propose to provide new port which will contain git snapshot of libdrm
just for this specific case.
[1] ports/131276
>How-To-Repeat:
>Fix:
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=libdrm.diff
Content-Description: patch for graphics/libdrm
Index: Makefile
===================================================================
RCS file: /home/csup/ports/graphics/libdrm/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 24 Jan 2009 17:23:47 -0000 1.12
+++ Makefile 10 Feb 2009 17:25:41 -0000
@@ -16,6 +16,8 @@ COMMENT= Userspace interface to kernel D
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
+CONFLICTS= libdrm-devel-[0-9]*
+
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=libdrm-devel.diff
Content-Description: patch for graphics/libdrm-devel, new port
Index: Makefile
===================================================================
RCS file: /home/csup/ports/graphics/libdrm/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 24 Jan 2009 17:23:47 -0000 1.12
+++ Makefile 13 Feb 2009 10:37:30 -0000
@@ -5,10 +5,10 @@
# $FreeBSD: ports/graphics/libdrm/Makefile,v 1.12 2009/01/24 17:23:47 rnoland Exp $
#
-PORTNAME= libdrm
-PORTVERSION= 2.4.4
+PORTNAME= libdrm-devel
+PORTVERSION= 2.4.4.git.eb78c5
CATEGORIES= graphics x11
-MASTER_SITES= http://dri.freedesktop.org/libdrm/
+MASTER_SITES= ftp://ftp.lissyara.su/users/Guest/distfiles/
MAINTAINER= x11 at FreeBSD.org
COMMENT= Userspace interface to kernel Direct Rendering Module services
@@ -16,6 +16,8 @@ COMMENT= Userspace interface to kernel D
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
+CONFLICTS= libdrm-[0-9]*
+
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
Index: distinfo
===================================================================
RCS file: /home/csup/ports/graphics/libdrm/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 24 Jan 2009 17:23:47 -0000 1.8
+++ distinfo 13 Feb 2009 10:37:30 -0000
@@ -1,3 +1,3 @@
-MD5 (libdrm-2.4.4.tar.bz2) = c183ee614b25f61ea325d57882a2fab2
-SHA256 (libdrm-2.4.4.tar.bz2) = 7e248f46b9bee4dfb7e313462c320bbe87da409e9c73ad9231056492ac900240
-SIZE (libdrm-2.4.4.tar.bz2) = 340726
+MD5 (libdrm-devel-2.4.4.git.eb78c5.tar.bz2) = 791011da071ca6651cb67a3068744801
+SHA256 (libdrm-devel-2.4.4.git.eb78c5.tar.bz2) = e38b2060df10dc9b3e40ec1fb17a27f6a3ede174c9c61940c9cebc98eeaea371
+SIZE (libdrm-devel-2.4.4.git.eb78c5.tar.bz2) = 691270
Index: pkg-plist
===================================================================
RCS file: /home/csup/ports/graphics/libdrm/pkg-plist,v
retrieving revision 1.6
diff -u -p -r1.6 pkg-plist
--- pkg-plist 23 Jan 2009 16:27:37 -0000 1.6
+++ pkg-plist 8 Feb 2009 00:01:20 -0000
@@ -5,6 +5,7 @@ include/drm/i915_drm.h
include/drm/mach64_drm.h
include/drm/mga_drm.h
include/drm/nouveau_drm.h
+include/drm/nouveau_drmif.h
include/drm/r128_drm.h
include/drm/r300_reg.h
include/drm/radeon_drm.h
@@ -14,6 +15,14 @@ include/drm/via_3d_reg.h
include/drm/via_drm.h
include/drm/xgi_drm.h
include/intel_bufmgr.h
+include/nouveau/nouveau_device.h
+include/nouveau/nouveau_channel.h
+include/nouveau/nouveau_grobj.h
+include/nouveau/nouveau_notifier.h
+include/nouveau/nouveau_pushbuf.h
+include/nouveau/nouveau_bo.h
+include/nouveau/nouveau_resource.h
+include/nouveau/nouveau_class.h
include/xf86drm.h
include/xf86drmMode.h
lib/libdrm.la
@@ -22,5 +31,10 @@ lib/libdrm.so.2
lib/libdrm_intel.la
lib/libdrm_intel.so
lib/libdrm_intel.so.1
+lib/libdrm_nouveau.la
+lib/libdrm_nouveau.so
+lib/libdrm_nouveau.so.1
libdata/pkgconfig/libdrm.pc
+libdata/pkgconfig/libdrm_nouveau.pc
+ at dirrm include/nouveau
@dirrm include/drm
--=-=-=--
>Release-Note:
>Audit-Trail:
>Unformatted:
--=-=-=
More information about the freebsd-ports-bugs
mailing list