Re: [Mesa3d-dev] Continue to allow building src/glx on current distros

2010-03-01 Thread Keith Whitwell
On Wed, 2010-02-24 at 16:48 -0800, Mike Stroyan wrote:
> The ifdef changes to allow building with older libdrm and glproto
> header files are working.
> But the configure.ac requirements are still aggressive, requiring
> LIBDRM_REQUIRED=2.4.15
> and
> GLPROTO_REQUIRED=1.4.11
> Could those back down now that the source code itself is more flexible?
> Those version requirements are not met by debian testing or ubuntu 9.10.
> 

I'd be fine with this.

Keith


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Continue to allow building src/glx on current distros

2010-02-24 Thread Mike Stroyan
The ifdef changes to allow building with older libdrm and glproto
header files are working.
But the configure.ac requirements are still aggressive, requiring
LIBDRM_REQUIRED=2.4.15
and
GLPROTO_REQUIRED=1.4.11
Could those back down now that the source code itself is more flexible?
Those version requirements are not met by debian testing or ubuntu 9.10.

-- 

 Mike Stroyan - Software Architect
 LunarG, Inc.  - The Graphics Experts
 Cell:  (970) 219-7905
 Email: m...@lunarg.com
 Website: http://www.lunarg.com

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Continue to allow building src/glx on current distros

2010-02-08 Thread Keith Whitwell
On Fri, Feb 5, 2010 at 4:47 PM, Jesse Barnes  wrote:
> On Fri, 5 Feb 2010 10:08:44 +
> Keith Whitwell  wrote:
>
>> Jesse,
>>
>> Can you take a look at the attached patch?  I'd really like to be able
>> to build mesa and the DRI drivers on current distros (eg Ubuntu 9.10)
>> without having to pull in heaps of dependencies.  The patch adds
>> #ifdefs to protect against the newer DRI2 protocol changes, meaning I
>> can build-test linux-dri and related targets with just the
>> distro-supplied packages.
>
> As much as I hate #ifdefs, I think this is probably a reasonable thing
> to do.  Have you tested to confirm that it preserves both the old and
> new behavior when different proto headers are present?
>

As far as I can tell, it does.  In particular, with the new headers,
mesa builds the same libglapi.a with/without the patch.

I've committed it now, please let me know if there are any regressions.

Keith

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Continue to allow building src/glx on current distros

2010-02-05 Thread Jesse Barnes
On Fri, 5 Feb 2010 10:08:44 +
Keith Whitwell  wrote:

> Jesse,
> 
> Can you take a look at the attached patch?  I'd really like to be able
> to build mesa and the DRI drivers on current distros (eg Ubuntu 9.10)
> without having to pull in heaps of dependencies.  The patch adds
> #ifdefs to protect against the newer DRI2 protocol changes, meaning I
> can build-test linux-dri and related targets with just the
> distro-supplied packages.

As much as I hate #ifdefs, I think this is probably a reasonable thing
to do.  Have you tested to confirm that it preserves both the old and
new behavior when different proto headers are present?

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev