The telepathy-python 0.15.19 tarball does not contain all files which
are referenced in the file ./spec/all.xml of the same tarball.

xsltproc < v1.1.27-rc1 shows an error about missing files, but goes ahead.
Starting with xsltproc 1.1.27-rc1 [1] an error code is returned, which
breaks the build.

[1] 
https://git.gnome.org/browse/libxslt/commit/xsltproc?id=e669a8c7cefec93ee1bfaf59721aadc42e226d6e

The current Ubuntu version already ships xsltproc 1.1.28.

Signed-off-by: Mathias Kresin <open...@kresin.me>
---

diff --git a/lang/telepathy-python/Makefile b/lang/telepathy-python/Makefile
index 436ea67..2aa51e9 100644
--- a/lang/telepathy-python/Makefile
+++ b/lang/telepathy-python/Makefile
@@ -8,11 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=telepathy-python
-PKG_VERSION:=0.15.3
+PKG_VERSION:=0.15.19
 PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://telepathy.freedesktop.org/releases/telepathy-python/
-PKG_MD5SUM:=594a66a70764052e30df9428b5be52b2
+PKG_MD5SUM:=f7ca25ab3c88874015b7e9728f7f3017
+PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 $(call include_mk, python-package.mk)
@@ -30,8 +31,8 @@ define Package/telepathy-python/description
   telepathy python bindings
 endef
 
-define Build/Compile
-       $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
+define Build/Configure
+       $(call Build/Configure/Default)
 endef
 
 define Package/telepathy-python/install
diff --git a/lang/telepathy-python/patches/000-disable_byte_compile.patch 
b/lang/telepathy-python/patches/000-disable_byte_compile.patch
new file mode 100644
index 0000000..fdc2169
--- /dev/null
+++ b/lang/telepathy-python/patches/000-disable_byte_compile.patch
@@ -0,0 +1,117 @@
+Index: telepathy-python-0.15.19/src/Makefile.in
+===================================================================
+--- telepathy-python-0.15.19.orig/src/Makefile.in      2010-12-03 
17:09:48.000000000 +0100
++++ telepathy-python-0.15.19/src/Makefile.in   2014-01-14 18:25:11.187803508 
+0100
+@@ -289,13 +289,13 @@
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(generateddir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(generateddir)" || exit $$?; \
+       done || exit $$?; \
+-      if test -n "$$dlist"; then \
+-        if test -z "$(DESTDIR)"; then \
+-          PYTHON=$(PYTHON) $(py_compile) --basedir "$(generateddir)" $$dlist; 
\
+-        else \
+-          PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(generateddir)" $$dlist; \
+-        fi; \
+-      else :; fi
++#     if test -n "$$dlist"; then \
++#       if test -z "$(DESTDIR)"; then \
++#         PYTHON=$(PYTHON) $(py_compile) --basedir "$(generateddir)" $$dlist; 
\
++#       else \
++#         PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(generateddir)" $$dlist; \
++#       fi; \
++#     else :; fi
+ 
+ uninstall-nodist_generatedPYTHON:
+       @$(NORMAL_UNINSTALL)
+@@ -327,13 +327,13 @@
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(versiondir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(versiondir)" || exit $$?; \
+       done || exit $$?; \
+-      if test -n "$$dlist"; then \
+-        if test -z "$(DESTDIR)"; then \
+-          PYTHON=$(PYTHON) $(py_compile) --basedir "$(versiondir)" $$dlist; \
+-        else \
+-          PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(versiondir)" $$dlist; \
+-        fi; \
+-      else :; fi
++#     if test -n "$$dlist"; then \
++#       if test -z "$(DESTDIR)"; then \
++#         PYTHON=$(PYTHON) $(py_compile) --basedir "$(versiondir)" $$dlist; \
++#       else \
++#         PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(versiondir)" $$dlist; \
++#       fi; \
++#     else :; fi
+ 
+ uninstall-nodist_versionPYTHON:
+       @$(NORMAL_UNINSTALL)
+@@ -365,13 +365,13 @@
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(telepathydir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(telepathydir)" || exit $$?; \
+       done || exit $$?; \
+-      if test -n "$$dlist"; then \
+-        if test -z "$(DESTDIR)"; then \
+-          PYTHON=$(PYTHON) $(py_compile) --basedir "$(telepathydir)" $$dlist; 
\
+-        else \
+-          PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(telepathydir)" $$dlist; \
+-        fi; \
+-      else :; fi
++#     if test -n "$$dlist"; then \
++#       if test -z "$(DESTDIR)"; then \
++#         PYTHON=$(PYTHON) $(py_compile) --basedir "$(telepathydir)" $$dlist; 
\
++#       else \
++#         PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(telepathydir)" $$dlist; \
++#       fi; \
++#     else :; fi
+ 
+ uninstall-telepathyPYTHON:
+       @$(NORMAL_UNINSTALL)
+Index: telepathy-python-0.15.19/src/client/Makefile.in
+===================================================================
+--- telepathy-python-0.15.19.orig/src/client/Makefile.in       2010-12-03 
17:09:48.000000000 +0100
++++ telepathy-python-0.15.19/src/client/Makefile.in    2014-01-14 
18:25:58.330805727 +0100
+@@ -221,13 +221,13 @@
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(clientdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(clientdir)" || exit $$?; \
+       done || exit $$?; \
+-      if test -n "$$dlist"; then \
+-        if test -z "$(DESTDIR)"; then \
+-          PYTHON=$(PYTHON) $(py_compile) --basedir "$(clientdir)" $$dlist; \
+-        else \
+-          PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(clientdir)" $$dlist; \
+-        fi; \
+-      else :; fi
++#     if test -n "$$dlist"; then \
++#       if test -z "$(DESTDIR)"; then \
++#         PYTHON=$(PYTHON) $(py_compile) --basedir "$(clientdir)" $$dlist; \
++#       else \
++#         PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(clientdir)" $$dlist; \
++#       fi; \
++#     else :; fi
+ 
+ uninstall-clientPYTHON:
+       @$(NORMAL_UNINSTALL)
+Index: telepathy-python-0.15.19/src/server/Makefile.in
+===================================================================
+--- telepathy-python-0.15.19.orig/src/server/Makefile.in       2010-12-03 
17:09:48.000000000 +0100
++++ telepathy-python-0.15.19/src/server/Makefile.in    2014-01-14 
18:25:43.963109822 +0100
+@@ -224,13 +224,13 @@
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(serverdir)'"; \
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(serverdir)" || exit $$?; \
+       done || exit $$?; \
+-      if test -n "$$dlist"; then \
+-        if test -z "$(DESTDIR)"; then \
+-          PYTHON=$(PYTHON) $(py_compile) --basedir "$(serverdir)" $$dlist; \
+-        else \
+-          PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(serverdir)" $$dlist; \
+-        fi; \
+-      else :; fi
++#     if test -n "$$dlist"; then \
++#       if test -z "$(DESTDIR)"; then \
++#         PYTHON=$(PYTHON) $(py_compile) --basedir "$(serverdir)" $$dlist; \
++#       else \
++#         PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir 
"$(serverdir)" $$dlist; \
++#       fi; \
++#     else :; fi
+ 
+ uninstall-serverPYTHON:
+       @$(NORMAL_UNINSTALL)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to