telepathy-python: remove duplicated installation entry of errors.py
Hi Richard and Saul,
This pull request is to fix [YOCTO #1453], please help to review and pull.
Thanks,
Dongxiao
The following changes since commit 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f:
icu-3.6: fix building with big make -j (2011-09-05 20:38:50 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix
Dongxiao Xu (1):
telepathy-python: avoid duplicated installation of errors.py
.../remove_duplicate_install.patch | 26 ++++++++++++++++++++ .../telepathy/telepathy-python_0.15.19.bb | 5 ++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch
PATCH 1/1 telepathy-python: avoid duplicated installation of errors.py
telepathy-python install fails on latest Fedora 16 due to the tighter check of duplicated file installation.
Remove one errors.py entry in Makefile.am to fix this issue.
[YOCTO #1453]
--- .../remove_duplicate_install.patch | 26 ++++++++++++++++++++ .../telepathy/telepathy-python_0.15.19.bb | 5 ++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch
meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch new file +26 -0
@@ -0,0 +1,26 @@ +commit f6c67662145de889055a86a6b3b12c70a45fc8d5 +Author: Dongxiao Xu <[email protected]> +Date: Wed Sep 7 16:02:20 2011 +0800 + + Avoid duplicated installation of errors.py + + newer version of autotools don't seem to like listing files to install + twice. Remove one errors.py from the installation list. + + Signed-off-by: Dongxiao Xu <[email protected]> + + Upstream-Status: Inappropirate [upstream inactive] + +diff --git a/src/Makefile.am b/src/Makefile.am +index 5c27dfe..7536e43 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -11,7 +11,7 @@ telepathy_PYTHON = \ + + # telepathy._generated.* auto-generated modules + spec_dir = $(top_srcdir)/spec +-spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml)) ++spec_files := $(filter-out _generated/errors.py, $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))) + + BUILT_SOURCES = \ + _generated/interfaces.py \
meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb +3 -2
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ RDEPENDS_${PN} += "python-dbus" SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ - file://parallel_make.patch" + file://parallel_make.patch \ + file://remove_duplicate_install.patch" -PR = "r2" +PR = "r3" inherit autotools
Signature · 1 line
1.7.1
Richard Purdie
AppliedRe: [PATCH 1/1] telepathy-python: avoid duplicated installation of errors.py
Quoted 5 lines · Dongxiao Xu
telepathy-python install fails on latest Fedora 16 due to the tighter check of duplicated file installation.
Remove one
errors.pyentry in Makefile.am to fix this issue.
Quoted 8 lines
[YOCTO #1453]
Signed-off-by Dongxiao Xu <[email protected]>--- .../remove_duplicate_install.patch | 26 ++++++++++++++++++++ .../telepathy/telepathy-python_0.15.19.bb | 5 ++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-connectivity/telepathy/telepathy-python-0.15.19/remove_duplicate_install.patch
Merged to master, thanks.
Richard