Re: [Patch] Automake: stop polluting ${prefix}/include

2008-10-30 Thread Luc Verhaegen
On Thu, Oct 30, 2008 at 08:23:14AM -0700, Eric Anholt wrote:
> Ack as long as things keep building.

Thanks,

The .pc takes care of the updated include path, and this had both in 
the past but only kept the drm/ one now. So only possible breakage is 
whoever who isn't/wasn't using pkg-config.

On the other hand, everything else used to sit in drm/ already, so 
that path should also be there. Only possible breakage is those who have 
only -I${prefix}, and include the headers with their respective paths.

So fallout should be limited, and should be easy to fix in a way that is 
also backwards compatible.

Luc Verhaegen.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
___
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Patch] Automake: stop polluting ${prefix}/include

2008-10-30 Thread Eric Anholt
Ack as long as things keep building.

-- 
Eric Anholt
[EMAIL PROTECTED] [EMAIL PROTECTED]




signature.asc
Description: This is a digitally signed message part
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/--
___
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Patch] Automake: stop polluting ${prefix}/include

2008-10-30 Thread Jerome Glisse
On Wed, 29 Oct 2008 17:37:59 +0100
Luc Verhaegen <[EMAIL PROTECTED]> wrote:

> Luc Verhaegen.
> 

I vote for.

-- 
Cheers,
Jerome Glisse

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
___
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Patch] Automake: stop polluting ${prefix}/include

2008-10-29 Thread Luc Verhaegen
Luc Verhaegen.
>From a280751e9dc3fa75fe4355edbb44815781547fc7 Mon Sep 17 00:00:00 2001
From: Luc Verhaegen <[EMAIL PROTECTED]>
Date: Wed, 29 Oct 2008 17:24:13 +0100
Subject: [PATCH] Automake: stop polluting ${prefix}/include

Fix up Makefiles and pkg-config file so that headers are installed into
${prefix}/include/drm instead of ${prefix}/include. This used to be true for
xf86drm.h and previously dri_bufmgr.h and now intel_bufmgr.h.
---
 libdrm.pc.in |2 +-
 libdrm/Makefile.am   |2 +-
 libdrm/intel/Makefile.am |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libdrm.pc.in b/libdrm.pc.in
index 6e00597..7cd5155 100644
--- a/libdrm.pc.in
+++ b/libdrm.pc.in
@@ -7,4 +7,4 @@ Name: libdrm
 Description: Userspace interface to kernel DRM services
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -ldrm
-Cflags: -I${includedir} -I${includedir}/drm
+Cflags: -I${includedir}/drm
diff --git a/libdrm/Makefile.am b/libdrm/Makefile.am
index 63f6e64..0f431a3 100644
--- a/libdrm/Makefile.am
+++ b/libdrm/Makefile.am
@@ -28,7 +28,7 @@ AM_CFLAGS = -I$(top_srcdir)/shared-core
 libdrm_la_SOURCES = xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c \
libdrm_lists.h
 
-libdrmincludedir = ${includedir}
+libdrmincludedir = ${includedir}/drm
 libdrminclude_HEADERS = xf86drm.h
 
 EXTRA_DIST = ChangeLog TODO
diff --git a/libdrm/intel/Makefile.am b/libdrm/intel/Makefile.am
index 5e3dee0..4989539 100644
--- a/libdrm/intel/Makefile.am
+++ b/libdrm/intel/Makefile.am
@@ -42,5 +42,5 @@ libdrm_intel_la_SOURCES = \
mm.c \
mm.h
 
-libdrm_intelincludedir = ${includedir}
+libdrm_intelincludedir = ${includedir}/drm
 libdrm_intelinclude_HEADERS = intel_bufmgr.h
-- 
1.5.2.4

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/--
___
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel