[oe-commits] org.oe.dev avahi-python: provides avahi, includes python bindings

pH5 commit openembedded-commits at lists.openembedded.org
Thu Aug 23 12:40:00 UTC 2007


avahi-python: provides avahi, includes python bindings

Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 4d744e0ae8866516dbd9aa2c5a37d54cb9287f23
ViewMTN: http://monotone.openembedded.org/revision.psp?id=4d744e0ae8866516dbd9aa2c5a37d54cb9287f23
Files:
1
packages/avahi/avahi-python_0.6.21.bb
packages/avahi/files/configure-check-pymod.patch
Diffs:

#
# mt diff -r518fd97bc511c8a603348b1bc7052f2c2f278c53 -r4d744e0ae8866516dbd9aa2c5a37d54cb9287f23
#
# 
# 
# add_file "packages/avahi/avahi-python_0.6.21.bb"
#  content [3d4b1b5c3ed23ff0bab2bd72c1cdb67561178a56]
# 
# add_file "packages/avahi/files/configure-check-pymod.patch"
#  content [fb42206ea64396e348587b85e86e397a4a94004a]
# 
============================================================
--- packages/avahi/avahi-python_0.6.21.bb	3d4b1b5c3ed23ff0bab2bd72c1cdb67561178a56
+++ packages/avahi/avahi-python_0.6.21.bb	3d4b1b5c3ed23ff0bab2bd72c1cdb67561178a56
@@ -0,0 +1,14 @@
+require avahi.inc
+PR = "r0"
+
+# FIXME: without --enable-gtk, avahi-discover (pygtk) won't be built
+FILES_avahi-discover = ""
+
+PROVIDES = "avahi"
+DEPENDS += "python-native"
+
+SRC_URI += "file://dbus-pre-1.1.1-support.patch;patch=1 \
+            file://configure-check-pymod.patch;patch=1"
+S = "${WORKDIR}/avahi-${PV}"
+
+AVAHI_PYTHON = "--enable-python"
============================================================
--- packages/avahi/files/configure-check-pymod.patch	fb42206ea64396e348587b85e86e397a4a94004a
+++ packages/avahi/files/configure-check-pymod.patch	fb42206ea64396e348587b85e86e397a4a94004a
@@ -0,0 +1,27 @@
+Index: avahi-0.6.21/configure.ac
+===================================================================
+--- avahi-0.6.21.orig/configure.ac	2007-08-16 21:36:12.000000000 +0200
++++ avahi-0.6.21/configure.ac	2007-08-16 21:45:14.000000000 +0200
+@@ -700,10 +700,6 @@
+         esac],
+         [HAVE_PYGTK=yes])
+     
+-    if test "x$HAVE_PYGTK" = "xyes" ; then
+-        AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find Python module gtk)])
+-    fi
+-
+ 
+     if test "x$HAVE_DBUS" = "xyes" ; then
+         AC_ARG_ENABLE(python-dbus,
+@@ -715,11 +711,6 @@
+             esac],
+             [HAVE_PYTHON_DBUS=yes])
+     
+-        if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
+-            AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)])
+-        fi
+-
+-        AM_CHECK_PYMOD(socket,,,[AC_MSG_ERROR(Could not find Python module socket)])
+         if test "x$HAVE_GDBM" = "xyes"; then
+             AM_CHECK_PYMOD(gdbm,,,[AC_MSG_ERROR(Could not find Python module gdbm)])
+         fi






More information about the Openembedded-commits mailing list