diff options
Diffstat (limited to 'meta/recipes-connectivity/telepathy')
12 files changed, 358 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/telepathy/libtelepathy/doublefix.patch b/meta/recipes-connectivity/telepathy/libtelepathy/doublefix.patch new file mode 100644 index 0000000000..a7737fbf03 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/libtelepathy/doublefix.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Fix double reference to this file to work with recent autoconf+automake | ||
2 | |||
3 | RP 1/2/10 | ||
4 | |||
5 | Upstream-Status: Inappropriate [configuration] | ||
6 | |||
7 | Index: libtelepathy-0.3.3/src/Makefile.am | ||
8 | =================================================================== | ||
9 | --- libtelepathy-0.3.3.orig/src/Makefile.am 2010-02-01 13:13:50.869038984 +0000 | ||
10 | +++ libtelepathy-0.3.3/src/Makefile.am 2010-02-01 13:14:23.267789456 +0000 | ||
11 | @@ -27,7 +27,6 @@ | ||
12 | tp-chan-type-text-gen.h \ | ||
13 | tp-chan-type-tubes-gen.h \ | ||
14 | tp-conn-iface-aliasing-gen.h \ | ||
15 | - tp-conn-iface-avatars-gen.h \ | ||
16 | tp-conn-iface-capabilities-gen.h \ | ||
17 | tp-conn-iface-contact-info-gen.h \ | ||
18 | tp-conn-iface-forwarding-gen.h \ | ||
diff --git a/meta/recipes-connectivity/telepathy/libtelepathy/prefer_python_2.5.patch b/meta/recipes-connectivity/telepathy/libtelepathy/prefer_python_2.5.patch new file mode 100644 index 0000000000..37679ab761 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/libtelepathy/prefer_python_2.5.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: libtelepathy-0.3.1/configure.ac | ||
4 | =================================================================== | ||
5 | --- libtelepathy-0.3.1.orig/configure.ac 2007-11-22 19:05:56.000000000 +0000 | ||
6 | +++ libtelepathy-0.3.1/configure.ac 2008-01-04 12:07:28.000000000 +0000 | ||
7 | @@ -51,7 +51,7 @@ | ||
8 | AC_MSG_ERROR([xsltproc (from the libxslt source package) is required]) | ||
9 | fi | ||
10 | |||
11 | -AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python]) | ||
12 | +AC_CHECK_PROGS([PYTHON], [python2.5 python2.4 python2.3 python]) | ||
13 | if test -z "$PYTHON"; then | ||
14 | AC_MSG_ERROR([Python is required to compile this package]) | ||
15 | fi | ||
diff --git a/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb b/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb new file mode 100644 index 0000000000..f13e7093c8 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/libtelepathy_0.3.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Telepathy framework" | ||
2 | DESCRIPTION = "Telepathy is a D-Bus framework for unifying real time \ | ||
3 | communication, including instant messaging, voice calls and video calls. It \ | ||
4 | abstracts differences between protocols to provide a unified interface for \ | ||
5 | applications." | ||
6 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | ||
7 | DEPENDS = "glib-2.0 dbus dbus-glib telepathy-glib libxslt-native" | ||
8 | LICENSE = "LGPLv2.1+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
10 | file://src/tp-conn.c;beginline=1;endline=19;md5=4c58069f77d601cc59200bce5396c7cb" | ||
11 | PR = "r5" | ||
12 | |||
13 | SRC_URI = "http://telepathy.freedesktop.org/releases/libtelepathy/libtelepathy-${PV}.tar.gz \ | ||
14 | file://prefer_python_2.5.patch \ | ||
15 | file://doublefix.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "490ca1a0c614d4466394b72d43bf7370" | ||
18 | SRC_URI[sha256sum] = "e0d230be855125163579743418203c6f6be2f10f98c4f065735c1dc9ed115878" | ||
19 | |||
20 | inherit autotools pkgconfig pythonnative | ||
21 | |||
22 | FILES_${PN} += "${datadir}/telepathy \ | ||
23 | ${datadir}/dbus-1" | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib_0.23.2.bb b/meta/recipes-connectivity/telepathy/telepathy-glib_0.23.2.bb new file mode 100644 index 0000000000..7d849a0a89 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-glib_0.23.2.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Telepathy Framework glib-base helper library" | ||
2 | DESCRIPTION = "Telepathy Framework: GLib-based helper library for connection managers" | ||
3 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | ||
4 | DEPENDS = "glib-2.0 dbus python-native-runtime dbus-native dbus-glib libxslt-native" | ||
5 | LICENSE = "LGPLv2.1+" | ||
6 | |||
7 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BP}.tar.gz" | ||
8 | SRC_URI[md5sum] = "834ff3b4e2f0e696492a525fe1838f06" | ||
9 | SRC_URI[sha256sum] = "37d5d0eb8cb801822d579182b84a9abdc24e51e5a54b663f865fd1ba2e062c83" | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e" | ||
12 | |||
13 | inherit autotools pkgconfig gettext | ||
14 | |||
15 | FILES_${PN} += "${datadir}/telepathy \ | ||
16 | ${datadir}/dbus-1" | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch b/meta/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch new file mode 100644 index 0000000000..2cd2c78c31 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
4 | --- a/extensions/Makefile.am | ||
5 | +++ b/extensions/Makefile.am | ||
6 | @@ -37,8 +37,8 @@ _gen/all.xml: all.xml $(wildcard $(srcdi | ||
7 | --xinclude $(tools_dir)/identity.xsl \ | ||
8 | $< > $@ | ||
9 | |||
10 | -extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl | ||
11 | +extensions.html _gen/svc-gtk-doc.h: _gen/all.xml $(tools_dir)/doc-generator.xsl | ||
12 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) \ | ||
13 | $(tools_dir)/doc-generator.xsl \ | ||
14 | $< > $@ | ||
15 | |||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb b/meta/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb new file mode 100644 index 0000000000..ca09f6daf3 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | SUMMARY = "Telepathy IRC connection manager" | ||
2 | DESCRIPTION = "Telepathy implementation of the Internet Relay Chat protocols." | ||
3 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | ||
4 | DEPENDS = "glib-2.0 dbus telepathy-glib openssl libxslt-native" | ||
5 | LICENSE = "LGPLv2.1" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
7 | file://src/idle.c;beginline=1;endline=19;md5=b06b1e2594423111a1a7910b0eefc7f9" | ||
8 | |||
9 | SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ | ||
10 | file://fix-svc-gtk-doc.h-target.patch" | ||
11 | SRC_URI[md5sum] = "92a2de5198284cbd3c430b0d1a971a86" | ||
12 | SRC_URI[sha256sum] = "3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab" | ||
13 | |||
14 | inherit autotools pkgconfig pythonnative | ||
15 | |||
16 | FILES_${PN} += "${datadir}/telepathy \ | ||
17 | ${datadir}/dbus-1" | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control/tmc-Makefile-fix-race.patch b/meta/recipes-connectivity/telepathy/telepathy-mission-control/tmc-Makefile-fix-race.patch new file mode 100644 index 0000000000..ece1da6bc3 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control/tmc-Makefile-fix-race.patch | |||
@@ -0,0 +1,76 @@ | |||
1 | From: Robert Yang <liezhi.yang@windriver.com> | ||
2 | Date: Sun, 22 Sep 2013 23:21:01 -0400 | ||
3 | Subject: [PATCH] src/Makefile.am: fix race issue for _gen/gtypes.h and _gen/gtypes-body.h | ||
4 | |||
5 | There might be an error when parallel build: | ||
6 | |||
7 | [snip] | ||
8 | Traceback (most recent call last): | ||
9 | File "/path/to/tools/glib-gtypes-generator.py", line 304, in <module> | ||
10 | GTypesGenerator(dom, argv[1], argv[2])() | ||
11 | File "/path/to/tools/glib-gtypes-generator.py", line 295, in __call__ | ||
12 | file_set_contents(self.output + '.h', ''.join(self.header)) | ||
13 | File "/path/to/tools/libtpcodegen.py", line 42, in file_set_contents | ||
14 | os.rename(filename + '.tmp', filename) | ||
15 | OSError: [Errno 2] No such file or directory | ||
16 | [snip] | ||
17 | |||
18 | This is a race issue, the _gen/gtypes.h and _gen/gtypes-body.h may | ||
19 | write(remove/rename) _gen/gtypes.tmp at the same time, then there would | ||
20 | be the error. | ||
21 | |||
22 | There was a similar bug in telepathy-glib which was already fixed, we use the | ||
23 | similar patch to fix it. | ||
24 | |||
25 | Upstream-Status: Pending | ||
26 | |||
27 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
28 | --- | ||
29 | src/Makefile.am | 18 +++++++++++++++--- | ||
30 | 1 file changed, 15 insertions(+), 3 deletions(-) | ||
31 | |||
32 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
33 | --- a/src/Makefile.am | ||
34 | +++ b/src/Makefile.am | ||
35 | @@ -288,7 +288,11 @@ _gen/interfaces-body.h: _gen/mcd.xml \ | ||
36 | $(tools_dir)/glib-interfaces-body-generator.xsl \ | ||
37 | $< > $@ | ||
38 | |||
39 | -_gen/gtypes.h _gen/gtypes-body.h: _gen/mcd.xml \ | ||
40 | +# do nothing, output as a side-effect | ||
41 | +_gen/gtypes.h: _gen/gtypes-body.h | ||
42 | + @: | ||
43 | + | ||
44 | +_gen/gtypes-body.h: _gen/mcd.xml \ | ||
45 | $(top_srcdir)/tools/glib-gtypes-generator.py | ||
46 | $(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glib-gtypes-generator.py \ | ||
47 | $< _gen/gtypes mc | ||
48 | @@ -309,7 +313,11 @@ _gen/%.xml: %.xml $(wildcard $(top_srcdir)/xml/*.xml) Makefile.am | ||
49 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) --xinclude $(tools_dir)/identity.xsl \ | ||
50 | $< > $@ | ||
51 | |||
52 | -_gen/cli-%-body.h _gen/cli-%.h: _gen/%.xml \ | ||
53 | +# do nothing, output as a side-effect | ||
54 | +_gen/cli-%.h: _gen/cli-%-body.h | ||
55 | + @: | ||
56 | + | ||
57 | +_gen/cli-%-body.h: _gen/%.xml \ | ||
58 | $(tools_dir)/glib-client-gen.py Makefile.am | ||
59 | $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-client-gen.py \ | ||
60 | --group=`echo $* | tr x- x_` \ | ||
61 | @@ -317,7 +325,11 @@ _gen/cli-%-body.h _gen/cli-%.h: _gen/%.xml \ | ||
62 | --tp-proxy-api=0.7.6 \ | ||
63 | $< Mc_Cli _gen/cli-$* | ||
64 | |||
65 | -_gen/svc-%.c _gen/svc-%.h: _gen/%.xml \ | ||
66 | +# do nothing, output as a side-effect | ||
67 | +_gen/svc-%.h: _gen/svc-%.c | ||
68 | + @: | ||
69 | + | ||
70 | +_gen/svc-%.c: _gen/%.xml \ | ||
71 | $(tools_dir)/glib-ginterface-gen.py Makefile.am | ||
72 | $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-ginterface-gen.py \ | ||
73 | --filename=_gen/svc-$* \ | ||
74 | -- | ||
75 | 1.7.10.4 | ||
76 | |||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.16.1.bb b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.16.1.bb new file mode 100644 index 0000000000..9ae68ddea9 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.16.1.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | SUMMARY = "Central control for Telepathy IM connection managers" | ||
2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/Mission_Control/" | ||
3 | LICENSE = "LGPLv2.1+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \ | ||
5 | file://src/request.h;beginline=1;endline=21;md5=f80534d9af1c33291b3b79609f196eb2" | ||
6 | SECTION = "libs" | ||
7 | DEPENDS = "libtelepathy dbus-glib gconf libxslt-native" | ||
8 | |||
9 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/${BP}.tar.gz \ | ||
10 | file://tmc-Makefile-fix-race.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "421115a35b9e427807326877f86e7f43" | ||
13 | SRC_URI[sha256sum] = "14ceb7d53535b43d44b8271ad11319d1d0fe6d193d154636b9e62b42799b9723" | ||
14 | |||
15 | inherit autotools-brokensep pkgconfig pythonnative | ||
16 | |||
17 | PACKAGECONFIG ??= "" | ||
18 | PACKAGECONFIG[upower] = "--enable-upower,--disable-upower,upower" | ||
19 | |||
20 | # to select connman or nm you need to use "connectivity" and "connman" or "nm", default is to disable both | ||
21 | PACKAGECONFIG[connectivity] = ",--with-connectivity=no" | ||
22 | PACKAGECONFIG[connman] = "--with-connectivity=connman,,connman" | ||
23 | PACKAGECONFIG[nm] = "--with-connectivity=nm,,networkmanager" | ||
24 | |||
25 | PACKAGES =+ " \ | ||
26 | libmissioncontrol \ | ||
27 | libmissioncontrol-config \ | ||
28 | libmissioncontrol-server \ | ||
29 | libmissioncontrol-dev \ | ||
30 | libmissioncontrol-config-dev \ | ||
31 | libmissioncontrol-server-dev \ | ||
32 | libmissioncontrol-dbg \ | ||
33 | libmissioncontrol-config-dbg \ | ||
34 | libmissioncontrol-server-dbg \ | ||
35 | " | ||
36 | |||
37 | FILES_${PN} += "${datadir}/dbus* ${datadir}/glib-2.0/schemas" | ||
38 | |||
39 | FILES_libmissioncontrol = "${libdir}/libmissioncontrol.so.*" | ||
40 | FILES_libmissioncontrol-config = "${libdir}/libmissioncontrol-config.so.*" | ||
41 | FILES_libmissioncontrol-server = "${libdir}/libmissioncontrol-server.so.*" | ||
42 | |||
43 | FILES_libmissioncontrol-dev = "${libdir}/libmissioncontrol.* \ | ||
44 | ${includedir}/libmissioncontrol/ \ | ||
45 | ${libdir}/pkgconfig/libmissioncontrol.pc" | ||
46 | FILES_libmissioncontrol-config-dev = "${libdir}/libmissioncontrol-config.*" | ||
47 | FILES_libmissioncontrol-server-dev = "${libdir}/libmissioncontrol-server.*" | ||
48 | |||
49 | FILES_libmissioncontrol-dbg = "${libdir}/.debug/libmissioncontrol.so.*" | ||
50 | FILES_libmissioncontrol-config-dbg = "${libdir}/.debug/libmissioncontrol-config.so.*" | ||
51 | FILES_libmissioncontrol-server-dbg = "${libdir}/.debug/libmissioncontrol-server.so.*" | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch new file mode 100644 index 0000000000..248824606e --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/parallel_make.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | Add dependency of __init__.py | ||
2 | |||
3 | Tasks must be done after exec of __init__, which creates the | ||
4 | src/_generated directory that tasks are based on. | ||
5 | |||
6 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
7 | |||
8 | Upstream-Status: Submitted | ||
9 | (However it seems that this project is out of maintanence.) | ||
10 | |||
11 | diff -ruN telepathy-python-0.15.19-orig/src/Makefile.am telepathy-python-0.15.19/src/Makefile.am | ||
12 | --- telepathy-python-0.15.19-orig/src/Makefile.am 2011-03-10 08:51:49.000000000 +0800 | ||
13 | +++ telepathy-python-0.15.19/src/Makefile.am 2011-03-10 08:54:45.000000000 +0800 | ||
14 | @@ -39,17 +39,17 @@ | ||
15 | XSLTPROC_OPTS = --nonet --novalid --xinclude | ||
16 | tools_dir = $(top_srcdir)/tools | ||
17 | |||
18 | -_generated/interfaces.py: $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
19 | +_generated/interfaces.py: _generated/__init__.py $(tools_dir)/python-interfaces-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
20 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
21 | $(tools_dir)/python-interfaces-generator.xsl \ | ||
22 | $(spec_dir)/all.xml | ||
23 | |||
24 | -_generated/constants.py: $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
25 | +_generated/constants.py: _generated/__init__.py $(tools_dir)/python-constants-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
26 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
27 | $(tools_dir)/python-constants-generator.xsl \ | ||
28 | $(spec_dir)/all.xml | ||
29 | |||
30 | -_generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
31 | +_generated/errors.py: _generated/__init__.py $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec_dir)/*.xml) | ||
32 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
33 | $(tools_dir)/python-errors-generator.xsl \ | ||
34 | $(spec_dir)/all.xml | ||
35 | @@ -58,7 +58,7 @@ | ||
36 | $(AM_V_GEN)$(mkdir_p) $(dir $@) | ||
37 | @echo "# Placeholder for package" > $@ | ||
38 | |||
39 | -_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml | ||
40 | +_generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml | ||
41 | $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_OPTS) -o $@ \ | ||
42 | $(tools_dir)/spec-to-python.xsl \ | ||
43 | $(spec_dir)/$*.xml | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch new file mode 100644 index 0000000000..df95a4c138 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | commit f6c67662145de889055a86a6b3b12c70a45fc8d5 | ||
2 | Author: Dongxiao Xu <dongxiao.xu@intel.com> | ||
3 | Date: Wed Sep 7 16:02:20 2011 +0800 | ||
4 | |||
5 | Avoid duplicated installation of errors.py | ||
6 | |||
7 | newer version of autotools don't seem to like listing files to install | ||
8 | twice. Remove one errors.py from the installation list. | ||
9 | |||
10 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
11 | |||
12 | Upstream-Status: Inappropirate [upstream inactive] | ||
13 | |||
14 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
15 | index 5c27dfe..7536e43 100644 | ||
16 | --- a/src/Makefile.am | ||
17 | +++ b/src/Makefile.am | ||
18 | @@ -11,7 +11,7 @@ telepathy_PYTHON = \ | ||
19 | |||
20 | # telepathy._generated.* auto-generated modules | ||
21 | spec_dir = $(top_srcdir)/spec | ||
22 | -spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml)) | ||
23 | +spec_files := $(filter-out _generated/errors.py, $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))) | ||
24 | |||
25 | BUILT_SOURCES = \ | ||
26 | _generated/interfaces.py \ | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch new file mode 100644 index 0000000000..f613fdce4d --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/telepathy-python_fix_for_automake_1.12.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | automake 1.12 has deprecated use of mkdir_p, and it recommends | ||
4 | use of MKDIR_P instead. Changed the code to avoid these kind | ||
5 | of warning-errors. | ||
6 | |||
7 | | make[1]: _generated/: Command not found | ||
8 | | make[1]: *** [_generated/__init__.py] Error 127 | ||
9 | | make[1]: Leaving directory `/srv/home/nitin/builds2/build0/tmp/work/i586-poky-linux/telepathy-python-0.15.19-r4/telepathy-python-0.15.19/src' | ||
10 | | make: *** [all-recursive] Error 1 | ||
11 | |||
12 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
13 | 2012/07/10 | ||
14 | Index: telepathy-python-0.15.19/src/Makefile.am | ||
15 | =================================================================== | ||
16 | --- telepathy-python-0.15.19.orig/src/Makefile.am | ||
17 | +++ telepathy-python-0.15.19/src/Makefile.am | ||
18 | @@ -55,7 +55,7 @@ _generated/errors.py: _generated/__init_ | ||
19 | $(spec_dir)/all.xml | ||
20 | |||
21 | _generated/__init__.py: | ||
22 | - $(AM_V_GEN)$(mkdir_p) $(dir $@) | ||
23 | + $(AM_V_GEN)$(MKDIR_P) $(dir $@) | ||
24 | @echo "# Placeholder for package" > $@ | ||
25 | |||
26 | _generated/%.py: _generated/__init__.py $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml | ||
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb new file mode 100644 index 0000000000..17167022b9 --- /dev/null +++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "Telepathy IM framework - Python package" | ||
2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | ||
3 | LICENSE = "LGPLv2.1+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
5 | file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822" | ||
6 | |||
7 | DEPENDS = "libxslt-native" | ||
8 | RDEPENDS_${PN} += "python-dbus" | ||
9 | |||
10 | SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ | ||
11 | file://parallel_make.patch \ | ||
12 | file://remove_duplicate_install.patch \ | ||
13 | file://telepathy-python_fix_for_automake_1.12.patch" | ||
14 | |||
15 | PR = "r6" | ||
16 | |||
17 | inherit autotools pythonnative | ||
18 | |||
19 | SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017" | ||
20 | SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" | ||
21 | |||
22 | FILES_${PN} += "\ | ||
23 | ${libdir}/python*/site-packages/telepathy/*.py \ | ||
24 | ${libdir}/python*/site-packages/telepathy/*/*.py \ | ||
25 | " | ||
26 | |||
27 | do_install_append () { | ||
28 | rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyc | ||
29 | rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyo | ||
30 | rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyc | ||
31 | rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyo | ||
32 | } | ||