Bug 131663

Summary: [new port] graphics/libdrm-devel
Product: Ports & Packages Reporter: swell.k <swell.k>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
libdrm-nouveau.shar none

Description swell.k 2009-02-13 21:20:01 UTC
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

Fix: --=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=libdrm.diff
Content-Description: patch for graphics/libdrm

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=libdrm-devel.diff
Content-Description: patch for graphics/libdrm-devel, new port



--=-=-=----eI2eRe3En4gwszJSwaBqne6lWfAE1vt2OAVkxtZiWhi50AAI
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2009-02-18 00:21:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov 2009-02-18 02:24:43 UTC
> Synopsis: [new port] graphics/libdrm-devel
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=131663

Won't work. xorg-server depends on libdrm, not libdrm-devel, so building
nouveau will lead to imminent conflict.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru
Comment 3 swell.k 2009-02-19 06:38:27 UTC
>> Won't work. xorg-server depends on libdrm, not libdrm-devel, so building
>> nouveau will lead to imminent conflict.
>
> So, any ideas? I can commit original version of xf86-video-nouveau, but
> regarding newer version I see no other way than to wait for new libdrm
> release. I can either close PRs or mark them suspended, whatever you see
> as more appropriate.

Commit initial version of xf86-video-nouveau and close ports/131276,
please. It's better to have something workable in the ports tree for the
time being. When the port breaks because of libdrm update I'll file a
new PR about it then.

Regarding ports/131663 I intend to move libdrm_nouveau.so into a slave
port libdrm-nouveau[1] and require it by DDX driver. The reason is
because currently libdrm in git repo disables nouveau support by
default. So, this PR can't be decided on until libdrm update.

[1] see attachment
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2009-02-21 01:43:56 UTC
State Changed
From-To: open->closed
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2009-02-21 02:04:16 UTC
State Changed
From-To: closed->open

Oops, reopen
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2009-02-21 02:04:36 UTC
State Changed
From-To: open->suspended

Mark suspended for now, we need to wait for next libdrm update and 
submitter is working on the slave port for it.
Comment 7 Dmitry Marakasov freebsd_committer freebsd_triage 2009-04-10 00:59:04 UTC
State Changed
From-To: suspended->closed

Close, libdrm was updated to 2.4.7.