Bug 29460

Summary: GNU/Hurd support
Product: Mesa Reporter: nobled <nobled>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jlp.bugs, jon.turney
Version: git   
Hardware: Other   
OS: other   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 27840    
Attachments: Fix build on GNU/Hurd
Disable direct rendering on GNU/Hurd
os: simplify ifdef
Fix build on GNU/Hurd (v2)
Still check for protocol header on indirect build

Description nobled 2010-08-09 09:10:02 UTC
Created attachment 37727 [details] [review]
Fix build on GNU/Hurd

Debian has a patch for building Mesa without libdrm on GNU/Hurd (since it doesn't have it) -- can anyone review it?
Comment 1 nobled 2010-08-09 09:19:31 UTC
Created attachment 37728 [details] [review]
Disable direct rendering on GNU/Hurd

(patch based on the first one)
Comment 2 nobled 2010-08-09 09:21:27 UTC
Created attachment 37729 [details] [review]
os: simplify ifdef
Comment 3 Jon Turney 2010-08-13 12:21:19 UTC
This is a much better way of achieving what I was trying to achieve with bug #27840

I have reviewed and tested the changes and they look good to me, but I'm not building for linux either :-)
Comment 4 nobled 2010-08-29 17:34:21 UTC
Created attachment 38273 [details] [review]
Fix build on GNU/Hurd (v2)

Changes:
Still check for dri2proto and glproto headers on indirect-only builds.

(again, apply this patch first; the "Disable direct rendering" patch depends on it)
Comment 5 nobled 2010-09-07 13:03:12 UTC
Created attachment 38531 [details] [review]
Still check for protocol header on indirect build

Or actually, just commit these changes separately.
Comment 6 Marek Olšák 2011-03-02 07:47:41 UTC
nobled,

can you possibly send these patches (rebased against master) to mesa-dev?
Comment 7 Jon Turney 2011-03-02 08:29:59 UTC
(In reply to comment #6)
> can you possibly send these patches (rebased against master) to mesa-dev?

I recently sent an updated version of the first two patches, combined with some stuff of mine from bug #27840

http://lists.freedesktop.org/archives/mesa-dev/2011-February/005499.html
Comment 8 Jon Turney 2011-04-08 12:55:00 UTC
Committed the drm-related build fixes as 758561786c3a34303e6c85dfdb996b94a4eed678 and e7d18ed1ef8106e2f0eec1078efde6da358e692b

"simplify ifdef" patch remains
Comment 9 Jon Turney 2011-04-27 03:40:42 UTC
(In reply to comment #8) 
> "simplify ifdef" patch remains

Commit "simplify ifdef" patch as 39cd791f3428ab48723fd4c73c4b1223e883ab2d so I can close this.

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.