[oe-commits] Graeme Gregory : glibmm_2.22.1.bb : fix/bandaid autoconf

git version control git at git.openembedded.org
Tue Jan 26 21:39:07 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 57e0965d94297295a4d9a55530d34b2ccf7f2b99
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=57e0965d94297295a4d9a55530d34b2ccf7f2b99

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Tue Jan 26 21:37:13 2010 +0000

glibmm_2.22.1.bb : fix/bandaid autoconf

I noticed when I changed libtool this package didnt pass configure as
it had disabled OEs autoconf handling. This is because the examples/
directory has bad autoconf for it. So bandaided this to allow
autoreconf to run correctly.

---

 recipes/glibmm/files/remove-examples.patch |   30 ++++++++++++++++++++++++++++
 recipes/glibmm/glibmm_2.22.1.bb            |    9 +++----
 2 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/recipes/glibmm/files/remove-examples.patch b/recipes/glibmm/files/remove-examples.patch
new file mode 100644
index 0000000..a5944c2
--- /dev/null
+++ b/recipes/glibmm/files/remove-examples.patch
@@ -0,0 +1,30 @@
+Index: glibmm-2.22.1/Makefile.am
+===================================================================
+--- glibmm-2.22.1.orig/Makefile.am
++++ glibmm-2.22.1/Makefile.am
+@@ -23,12 +23,7 @@ src_subdirs = glib/src gio/src
+ else
+ src_subdirs =
+ endif
+-if ENABLE_DOCUMENTATION
+-doc_subdirs = docs
+-else
+-doc_subdirs =
+-endif
+-SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
++SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests
+ 
+ glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
+ glibmm_include_HEADERS = glib/glibmm.h
+Index: glibmm-2.22.1/configure.ac
+===================================================================
+--- glibmm-2.22.1.orig/configure.ac
++++ glibmm-2.22.1/configure.ac
+@@ -136,7 +136,6 @@ AC_CONFIG_FILES([Makefile
+                  gio/src/Makefile
+                  gio/giomm/Makefile
+                  tests/Makefile
+-                 examples/Makefile
+                  docs/Makefile
+                  docs/reference/Doxyfile
+                  MSVC_Net2005/glibmm/glibmm.rc
diff --git a/recipes/glibmm/glibmm_2.22.1.bb b/recipes/glibmm/glibmm_2.22.1.bb
index d96a372..737e140 100644
--- a/recipes/glibmm/glibmm_2.22.1.bb
+++ b/recipes/glibmm/glibmm_2.22.1.bb
@@ -1,9 +1,8 @@
 require glibmm.inc
 
-do_configure() {
-	libtoolize --force
-	gnu-configize
-	oe_runconf
-}
+DEPENDS += "mm-common"
 
+SRC_URI += " file://remove-examples.patch;patch=1"
+
+PR = "r1"
 





More information about the Openembedded-commits mailing list