All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 08/29] avahi: enable gobject-introspection
Date: Thu, 26 Nov 2015 16:26:11 +0200	[thread overview]
Message-ID: <7eb04ecd70414c80f28c0b17c88ea51be60d1628.1448547850.git.alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <cover.1448547850.git.alexander.kanavin@linux.intel.com>
In-Reply-To: <cover.1448547850.git.alexander.kanavin@linux.intel.com>

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb |  2 ++
 meta/recipes-connectivity/avahi/avahi.inc          | 12 +++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
index 11066e2..5dabbae 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb
@@ -67,5 +67,7 @@ do_install_append () {
 	rm ${D}${mandir}/man1/a*
 	rm ${D}${mandir}/man5 -rf
 	rm ${D}${mandir}/man8 -rf
+        rm ${D}${libdir}/girepository-1.0/ -rf
+        rm ${D}${datadir}/gir-1.0/ -rf
 }
 
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index 825197d..14f487e 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -40,10 +40,9 @@ USERADD_PARAM_avahi-autoipd = "--system --home /var/run/avahi-autoipd \
                               -c \"Avahi autoip daemon\" \
                               avahi-autoipd"
 
-inherit autotools pkgconfig update-rc.d gettext useradd
+inherit autotools pkgconfig update-rc.d gettext useradd gobject-introspection
 
-EXTRA_OECONF = "--disable-introspection \
-             --with-avahi-priv-access-group=adm \
+EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
              --disable-stack-protector \
              --disable-gdbm \
              --disable-mono \
@@ -70,6 +69,9 @@ do_configure_prepend() {
     sed 's:AM_CHECK_PYMOD:echo "no pymod" #AM_CHECK_PYMOD:g' -i ${S}/configure.ac
 }
 
+do_compile_prepend() {
+    export GIR_EXTRA_LIBS_PATH="${B}/avahi-common/.libs:${B}/avahi-client/.libs:${B}/avahi-glib/.libs"
+}
 
 PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils"
 
@@ -82,7 +84,7 @@ FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
                        ${sysconfdir}/udhcpc.d/00avahi-autoipd \
                        ${sysconfdir}/udhcpc.d/99avahi-autoipd"
 FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
-FILES_libavahi-core = "${libdir}/libavahi-core.so.*"
+FILES_libavahi-core = "${libdir}/libavahi-core.so.* ${libdir}/girepository-1.0/AvahiCore*.typelib"
 FILES_avahi-daemon = "${sbindir}/avahi-daemon \
                       ${sysconfdir}/avahi/avahi-daemon.conf \
                       ${sysconfdir}/avahi/hosts \
@@ -99,7 +101,7 @@ FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \
                         ${sysconfdir}/avahi/avahi-dnsconfd.action \
                         ${sysconfdir}/init.d/avahi-dnsconfd"
 FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
-FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*"
+FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*  ${libdir}/girepository-1.0/Avahi*.typelib"
 FILES_avahi-utils = "${bindir}/avahi-*"
 
 RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})"
-- 
2.6.2



  parent reply	other threads:[~2015-11-26 14:29 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26 14:26 [PATCH 00/29] Add gobject introspection support to oe-core Alexander Kanavin
2015-11-26 14:26 ` [PATCH 01/29] qemu.bbclass: add qemu_wrapper_cmdline() Alexander Kanavin
2016-02-26 16:18   ` Burton, Ross
2015-11-26 14:26 ` [PATCH 02/29] gobject-introspection: add the recipe Alexander Kanavin
2016-02-26 16:35   ` Burton, Ross
2016-02-29 14:07     ` Alexander Kanavin
2015-11-26 14:26 ` [PATCH 03/29] gtk-doc-stub: remove introspection stubs Alexander Kanavin
2015-11-26 14:26 ` [PATCH 04/29] gobject-introspection.bbclass: add a class that enables gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 05/29] python3-native: use the previous version of python-config script Alexander Kanavin
2015-11-26 14:26 ` [PATCH 06/29] avahi-ui: remove the dependency on python-pygtk by disabling avahi-discover Alexander Kanavin
2015-11-26 14:26 ` [PATCH 07/29] python-pygtk: remove the recipe Alexander Kanavin
2015-11-26 14:26 ` Alexander Kanavin [this message]
2015-11-26 14:26 ` [PATCH 09/29] udev: enable gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 10/29] vala: enable the use of vapigen by packages with vala support Alexander Kanavin
2015-11-26 14:26 ` [PATCH 11/29] gcr: enable generation of vapi files using vapigen Alexander Kanavin
2015-11-26 14:26 ` [PATCH 12/29] gdk-pixbuf: enable gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 13/29] gconf: enable gobject-introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 14/29] gtk+: enable gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 15/29] gtk+3: enable gobject-introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 16/29] libsecret: enable generation of vapi files using vapigen Alexander Kanavin
2015-11-26 14:26 ` [PATCH 17/29] clutter: enable gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 18/29] vala.bbclass: remove pre-packaged vapigen.m4 from tarballs Alexander Kanavin
2015-11-26 14:26 ` [PATCH 19/29] libsoup-2.4: enable gobject introspection Alexander Kanavin
2015-11-26 14:26 ` [PATCH 20/29] at-spi2-core: " Alexander Kanavin
2015-11-26 14:26 ` [PATCH 21/29] gstreamer: " Alexander Kanavin
2015-11-26 14:26 ` [PATCH 22/29] gnomebase.bbclass: " Alexander Kanavin
2015-11-26 14:26 ` [PATCH 23/29] webkitgtk: " Alexander Kanavin
2015-11-26 14:26 ` [PATCH 24/29] packagegroup-core-x11-sato: add python-pygobject and gtk+3 Alexander Kanavin
2015-11-26 14:26 ` [PATCH 25/29] default-distrovars.inc: add 'gobject-introspection-data' to DISTRO_FEATURES_DEFAULT Alexander Kanavin
2015-11-26 14:26 ` [PATCH 26/29] gcr: disable gobject introspection on x86-64 for now Alexander Kanavin
2015-11-26 14:26 ` [PATCH 27/29] gcr: disable gobject-introspection on mips64 Alexander Kanavin
2015-11-26 14:26 ` [PATCH 28/29] libsecret: " Alexander Kanavin
2015-11-26 14:26 ` [PATCH 29/29] webkitgtk: disable gobject-introspection on powerpc Alexander Kanavin

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=7eb04ecd70414c80f28c0b17c88ea51be60d1628.1448547850.git.alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.