diff options
-rw-r--r-- | classes/gnome.bbclass | 2 | ||||
-rw-r--r-- | recipes/glibmm/files/remove-examples.patch | 30 | ||||
-rw-r--r-- | recipes/glibmm/glibmm_2.22.1.bb | 9 | ||||
-rw-r--r-- | recipes/gnome/mm-common_0.9.1.bb | 5 |
4 files changed, 40 insertions, 6 deletions
diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass index cb03650b48..61da6e1792 100644 --- a/classes/gnome.bbclass +++ b/classes/gnome.bbclass @@ -4,7 +4,7 @@ def gnome_verdir(v): return "%s.%s" % (m.group(1), m.group(2)) SECTION ?= "x11/gnome" -SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2" +SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2;name=archive" DEPENDS += "gnome-common" diff --git a/recipes/glibmm/files/remove-examples.patch b/recipes/glibmm/files/remove-examples.patch new file mode 100644 index 0000000000..a5944c2889 --- /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 d96a372d26..737e140657 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" diff --git a/recipes/gnome/mm-common_0.9.1.bb b/recipes/gnome/mm-common_0.9.1.bb new file mode 100644 index 0000000000..00ba33ad66 --- /dev/null +++ b/recipes/gnome/mm-common_0.9.1.bb @@ -0,0 +1,5 @@ +inherit gnome + +SRC_URI[archive.md5sum] = "c7436ebabf72d2351d05f4dcba4ff0a7" +SRC_URI[archive.sha256sum] = "9a2edcbdd43fb79c194f5eda45efe5362ef395e7f637aae33bceea8f9c24890d" + |