Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 14/18] glew: fix generation of glew.pc needed by mesa-demos
Date: Wed, 24 Apr 2013 14:37:07 -0700	[thread overview]
Message-ID: <875d5dbcc31bbf49fbbb331ef1b8f989d2385150.1366827512.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1366827512.git.sgw@linux.intel.com>
In-Reply-To: <cover.1366827512.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../glew/files/fix-glew.pc-install.patch           | 44 ++++++++++++++++++++++
 meta/recipes-graphics/glew/glew_1.9.0.bb           |  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 meta/recipes-graphics/glew/files/fix-glew.pc-install.patch

diff --git a/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
new file mode 100644
index 0000000..5b6a94e
--- /dev/null
+++ b/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
@@ -0,0 +1,44 @@
+
+We maintain the autotools configure.ac and Makefile.am, to correctly
+provide the glew.pc, the following patch is needed.
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: glew-1.9.0/Makefile.am
+===================================================================
+--- glew-1.9.0.orig/Makefile.am
++++ glew-1.9.0/Makefile.am
+@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install
+ 
+ SUBDIRS = include src
+ 
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = glew.pc
+Index: glew-1.9.0/configure.ac
+===================================================================
+--- glew-1.9.0.orig/configure.ac
++++ glew-1.9.0/configure.ac
+@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:5:7])
+ 
+ AC_CONFIG_FILES([Makefile
+                  include/Makefile
+-                 src/Makefile])
++                 src/Makefile
++                 glew.pc])
+ AC_OUTPUT
+Index: glew-1.9.0/glew.pc.in
+===================================================================
+--- glew-1.9.0.orig/glew.pc.in
++++ glew-1.9.0/glew.pc.in
+@@ -5,6 +5,6 @@ includedir=@includedir@
+ 
+ Name: glew
+ Description: The OpenGL Extension Wrangler library
+-Version: @version@
+-Cflags: -I${includedir} @cflags@
+-Libs: -L${libdir} -l@libname@
++Version: @VERSION@
++Cflags: -I${includedir} @CFLAGS@
++Libs: -L${libdir} -lGLEW
diff --git a/meta/recipes-graphics/glew/glew_1.9.0.bb b/meta/recipes-graphics/glew/glew_1.9.0.bb
index 599d64b..f1ba4e4 100644
--- a/meta/recipes-graphics/glew/glew_1.9.0.bb
+++ b/meta/recipes-graphics/glew/glew_1.9.0.bb
@@ -12,6 +12,7 @@ PR = "r1"
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \
            file://autotools.patch \
            file://glew_fix_for_automake-1.12.patch \
+           file://fix-glew.pc-install.patch \
           "
 
 SRC_URI[md5sum] = "69ce911decef6249d24742497e6ad06a"
-- 
1.8.0.2




  parent reply	other threads:[~2013-04-24 21:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 21:36 [PATCH 00/18] Package Updates Saul Wold
2013-04-24 21:36 ` [PATCH 01/18] less: Update to 458 Saul Wold
2013-04-24 21:36 ` [PATCH 02/18] lsbinitscripts: Update to 9.46 Saul Wold
2013-04-24 21:36 ` [PATCH 03/18] sysstat: Update to 10.1.5 Saul Wold
2013-04-24 21:36 ` [PATCH 04/18] sqlite: Update to 3071602 Saul Wold
2013-04-24 21:36 ` [PATCH 05/18] dhcp: Update to 4.2.5-P1 Saul Wold
2013-04-24 21:36 ` [PATCH 06/18] resolvconf: Update to 1.71 Saul Wold
2013-04-24 21:37 ` [PATCH 07/18] dpkg: Update to 1.16.10 Saul Wold
2013-04-24 21:37 ` [PATCH 08/18] file: Update to 5.14 Saul Wold
2013-04-24 21:37 ` [PATCH 09/18] libffi: Update to 3.0.13 Saul Wold
2013-04-24 21:37 ` [PATCH 10/18] nspr: Update to 4.9.6 Saul Wold
2013-04-24 21:37 ` [PATCH 11/18] libgcrypt: Update to 1.5.1 Saul Wold
2013-04-24 21:37 ` [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update Saul Wold
2013-04-24 21:37 ` [PATCH 13/18] libxkbcommon: Update to 0.3.0 Saul Wold
2013-04-24 21:37 ` Saul Wold [this message]
2013-04-24 21:37 ` [PATCH 15/18] mesa-demos: Update to 8.1.0 Saul Wold
2013-04-24 21:37 ` [PATCH 16/18] glib-2.0: Update to 2.36 Saul Wold
2013-04-24 21:37 ` [PATCH 17/18] glib-networking: " Saul Wold
2013-04-24 21:37 ` [PATCH 18/18] build-appliance: Add version info Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875d5dbcc31bbf49fbbb331ef1b8f989d2385150.1366827512.git.sgw@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox