diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-07-16 18:07:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:53:59 +0100 |
commit | 0fef0fff0a675c214408d4f85a45bc00ae5b6826 (patch) | |
tree | 39b082fd26f7238122f4441ed1dcd3927d67dde4 /meta/recipes-core | |
parent | a94e5d27797a01e17b2aa698b11671219581b013 (diff) | |
download | poky-0fef0fff0a675c214408d4f85a45bc00ae5b6826.tar.gz |
glib: package bash-completion files in separate package and move ${PN}-codegen to .inc
* 2.32.4 has completion files in ${datadir}/bash-completion
and dbus also packages bash-competion files in separate package
(From OE-Core rev: b070eb22372ad1ef5b21162d832772e560184cf8)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb | 5 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb index fca5f8d029..85352edb23 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb | |||
@@ -1,5 +1,6 @@ | |||
1 | require glib.inc | 1 | require glib.inc |
2 | 2 | ||
3 | PR = "r1" | ||
3 | PE = "1" | 4 | PE = "1" |
4 | 5 | ||
5 | DEPENDS += "libffi python-argparse-native zlib" | 6 | DEPENDS += "libffi python-argparse-native zlib" |
@@ -46,7 +47,3 @@ do_install_append() { | |||
46 | sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/glib-mkenums | 47 | sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/glib-mkenums |
47 | fi | 48 | fi |
48 | } | 49 | } |
49 | |||
50 | PACKAGES += "${PN}-codegen" | ||
51 | FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py" | ||
52 | FILES_${PN} += "${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in" | ||
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index e7d547a758..9ae02d9456 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -16,7 +16,7 @@ SECTION = "libs" | |||
16 | DEPENDS = "glib-2.0-native gtk-doc-native zip virtual/libiconv" | 16 | DEPENDS = "glib-2.0-native gtk-doc-native zip virtual/libiconv" |
17 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" | 17 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" |
18 | DEPENDS_virtclass-nativesdk = "libtool-nativesdk" | 18 | DEPENDS_virtclass-nativesdk = "libtool-nativesdk" |
19 | PACKAGES =+ "${PN}-utils " | 19 | PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen" |
20 | 20 | ||
21 | LEAD_SONAME = "libglib-2.0.*" | 21 | LEAD_SONAME = "libglib-2.0.*" |
22 | FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" | 22 | FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" |
@@ -31,12 +31,17 @@ EXTRA_OECONF = "--disable-debug --enable-included-printf=no ${CORECONF}" | |||
31 | EXTRA_OECONF_virtclass-native = "${CORECONF}" | 31 | EXTRA_OECONF_virtclass-native = "${CORECONF}" |
32 | EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" | 32 | EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" |
33 | 33 | ||
34 | FILES_${PN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}/bash_completion.d ${datadir}/glib-2.0/schemas" | 34 | |
35 | FILES_${PN} = "${libdir}/lib*${SOLIBS} ${datadir}/glib-2.0/schemas \ | ||
36 | ${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in" | ||
35 | FILES_${PN}-dev += "${libdir}/glib-2.0/include \ | 37 | FILES_${PN}-dev += "${libdir}/glib-2.0/include \ |
36 | ${libdir}/gio/modules/lib*${SOLIBSDEV} \ | 38 | ${libdir}/gio/modules/lib*${SOLIBSDEV} \ |
37 | ${libdir}/gio/modules/*.la" | 39 | ${libdir}/gio/modules/*.la" |
38 | FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb \ | 40 | FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb \ |
39 | ${libdir}/gio/modules/.debug" | 41 | ${libdir}/gio/modules/.debug" |
42 | FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py" | ||
43 | FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d \ | ||
44 | ${datadir}/bash-completion" | ||
40 | 45 | ||
41 | ARM_INSTRUCTION_SET = "arm" | 46 | ARM_INSTRUCTION_SET = "arm" |
42 | USE_NLS = "yes" | 47 | USE_NLS = "yes" |