Patchwork mesa-common: package gl.pc in libgl-dev

login
register
mail settings
Submitter Joshua Lock
Date April 6, 2012, 12:31 a.m.
Message ID <1333672315-13193-1-git-send-email-josh@linux.intel.com>
Download mbox | patch
Permalink /patch/25255/
State Accepted
Commit d9d4fe9885e398df2062b3f2aed3fc274c656736
Headers show

Comments

Joshua Lock - April 6, 2012, 12:31 a.m.
From: Joshua Lock <josh@linux.intel.com>

gl.pc should be packaged in libgl-dev not the mesa-dev package

Fixes [YOCTO #2059]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - April 10, 2012, 3:26 p.m.
On 04/05/2012 05:31 PM, josh@linux.intel.com wrote:
> From: Joshua Lock<josh@linux.intel.com>
>
> gl.pc should be packaged in libgl-dev not the mesa-dev package
>
> Fixes [YOCTO #2059]
>
> Signed-off-by: Joshua Lock<josh@linux.intel.com>
> ---
>   meta/recipes-graphics/mesa/mesa-common.inc |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> index 59e8e64..2b90aed 100644
> --- a/meta/recipes-graphics/mesa/mesa-common.inc
> +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> @@ -46,7 +46,7 @@ FILES_libglu = "${libdir}/libGLU.so.*"
>   FILES_libosmesa = "${libdir}/libOSMesa.so.*"
>
>   FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
> -FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
> +FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
>   FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
>   FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
>

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 59e8e64..2b90aed 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -46,7 +46,7 @@  FILES_libglu = "${libdir}/libGLU.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
 
 FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
-FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
+FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
 FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"