Bug 8074 - Please provide a way to build without DRI nor DRM
Summary: Please provide a way to build without DRI nor DRM
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 6.4
Hardware: All other
: high enhancement
Assignee: mesa-dev
QA Contact:
URL: http://kibi.sysif.net/pub/patches/bui...
Keywords: patch
Depends on:
Reported: 2006-08-30 11:05 UTC by Cyril Brulebois
Modified: 2006-09-09 12:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Patch attempt to build without DRI nor DRM (1.57 KB, patch)
2006-08-30 11:06 UTC, Cyril Brulebois
Details | Splinter Review

Description Cyril Brulebois 2006-08-30 11:05:43 UTC
Hi, I tried to find a way to build without DRI nor DRM; my patch was reviewed by
Michael Banck and Michel Dänzer[1], which think that it is correct enough to be
submitted here.

You can find it in an answer of Michael Banck[2] or directly as a .diff[3].

 1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358065 (last 2 messages)
 2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358065;msg=49
 3. http://kibi.sysif.net/pub/patches/build-without-dri-nor-drm.diff

Any feedback welcome, thanks in advance.

Cyril Brulebois
Comment 1 Cyril Brulebois 2006-08-30 11:06:58 UTC
Created attachment 6752 [details] [review]
Patch attempt to build without DRI nor DRM

And now I know how bugzilla handles patches. :-)
Comment 2 Brian Paul 2006-08-30 11:54:14 UTC
I can't put "ifndef / endif" lines in src/mesa/Makefile since that'll only work
with GNU make and will break on other systems.

Is the purpose of all this to build a libGL.so that only implements the GLX
protocol for indirect rendering?
Comment 3 Brian Paul 2006-08-30 12:05:19 UTC
(following up to myself)  The 'linux-indirect' configuration builds a libGL.so
like that.  I just verified that it works as expected.

Comment 4 Cyril Brulebois 2006-09-09 12:15:29 UTC
That's also what Michel Dänzer suggested, and it seems to work fine: we
successfully built mesa, mesa tools and freeglut; and also CVS snapshots are
alright (that's the reason for my long get back to you, sorry).

Many thanks for your reply. Keep up the good work, guys!

(Maybe this bugreport should be marked as NOTABUG, but I leave that up to you
since I'm unsure.)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.