2007-11-27 16:00:26 +00:00
|
|
|
DESCRIPTION = "Central control for Telepathy connection managers"
|
2007-04-27 09:46:26 +00:00
|
|
|
HOMEPAGE = "http://mission-control.sourceforge.net/"
|
2010-11-23 06:50:25 +00:00
|
|
|
LICENSE = "LGPLv2.1+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
|
|
|
|
file://src/request.h;beginline=1;endline=21;md5=f80534d9af1c33291b3b79609f196eb2"
|
2007-04-27 09:46:26 +00:00
|
|
|
SECTION = "libs"
|
2013-07-04 07:41:04 +00:00
|
|
|
DEPENDS = "libtelepathy dbus-glib gconf libxslt-native"
|
2007-04-27 09:40:56 +00:00
|
|
|
|
telepathy-mission-control: do_compile failed (race issue)
There might be an error when parallel build:
[snip]
Traceback (most recent call last):
File "/path/to/tools/glib-gtypes-generator.py", line 304, in <module>
GTypesGenerator(dom, argv[1], argv[2])()
File "/path/to/tools/glib-gtypes-generator.py", line 295, in __call__
file_set_contents(self.output + '.h', ''.join(self.header))
File "/path/to/tools/libtpcodegen.py", line 42, in file_set_contents
os.rename(filename + '.tmp', filename)
OSError: [Errno 2] No such file or directory
[snip]
This is a race issue, the _gen/gtypes.h and _gen/gtypes-body.h may
write(remove/rename) _gen/gtypes.tmp at the same time, then there would
be the error.
There was a similar bug in telepathy-glib which was already fixed, we use the
similar patch to fix it here.
[YOCTO #5184]
(From OE-Core rev: b0f81f460cf96798d79d72da7a3246c321caf654)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-23 05:54:47 +00:00
|
|
|
SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-${PV}.tar.gz \
|
|
|
|
file://tmc-Makefile-fix-race.patch \
|
|
|
|
"
|
2013-10-30 08:53:11 +00:00
|
|
|
SRC_URI[md5sum] = "736ae9d71028d8e6d95017433c07fa06"
|
|
|
|
SRC_URI[sha256sum] = "edc3c7265c291343d5d7d47c20add4d426e894068c66c79696795502a4e1c1d0"
|
2007-04-27 09:40:56 +00:00
|
|
|
|
2013-01-07 11:49:35 +00:00
|
|
|
inherit autotools pkgconfig pythonnative
|
2007-04-27 09:40:56 +00:00
|
|
|
|
2013-10-05 12:23:04 +00:00
|
|
|
PACKAGECONFIG ??= ""
|
|
|
|
PACKAGECONFIG[upower] = "--enable-upower,--disable-upower,upower"
|
|
|
|
|
|
|
|
# to select connman or nm you need to use "connectivity" and "connman" or "nm", default is to disable both
|
|
|
|
PACKAGECONFIG[connectvity] = ",--with-connectivity=no"
|
|
|
|
PACKAGECONFIG[connman] = "--with-connectivity=connman,,connman"
|
|
|
|
PACKAGECONFIG[nm] = "--with-connectivity=nm,,networkmanager"
|
|
|
|
|
2007-04-27 09:40:56 +00:00
|
|
|
PACKAGES =+ " \
|
|
|
|
libmissioncontrol \
|
|
|
|
libmissioncontrol-config \
|
|
|
|
libmissioncontrol-server \
|
|
|
|
libmissioncontrol-dev \
|
|
|
|
libmissioncontrol-config-dev \
|
|
|
|
libmissioncontrol-server-dev \
|
|
|
|
libmissioncontrol-dbg \
|
|
|
|
libmissioncontrol-config-dbg \
|
|
|
|
libmissioncontrol-server-dbg \
|
|
|
|
"
|
|
|
|
|
2012-03-16 22:58:40 +00:00
|
|
|
FILES_${PN} += "${datadir}/dbus* ${datadir}/glib-2.0/schemas"
|
2007-04-27 18:49:12 +00:00
|
|
|
|
2007-04-27 09:40:56 +00:00
|
|
|
FILES_libmissioncontrol = "${libdir}/libmissioncontrol.so.*"
|
|
|
|
FILES_libmissioncontrol-config = "${libdir}/libmissioncontrol-config.so.*"
|
|
|
|
FILES_libmissioncontrol-server = "${libdir}/libmissioncontrol-server.so.*"
|
|
|
|
|
|
|
|
FILES_libmissioncontrol-dev = "${libdir}/libmissioncontrol.* \
|
2007-05-29 13:24:51 +00:00
|
|
|
${includedir}/libmissioncontrol/ \
|
2013-01-07 11:49:35 +00:00
|
|
|
${libdir}/pkgconfig/libmissioncontrol.pc"
|
2007-04-27 09:40:56 +00:00
|
|
|
FILES_libmissioncontrol-config-dev = "${libdir}/libmissioncontrol-config.*"
|
|
|
|
FILES_libmissioncontrol-server-dev = "${libdir}/libmissioncontrol-server.*"
|
|
|
|
|
|
|
|
FILES_libmissioncontrol-dbg = "${libdir}/.debug/libmissioncontrol.so.*"
|
|
|
|
FILES_libmissioncontrol-config-dbg = "${libdir}/.debug/libmissioncontrol-config.so.*"
|
|
|
|
FILES_libmissioncontrol-server-dbg = "${libdir}/.debug/libmissioncontrol-server.so.*"
|