telepathy-python:add pisi-2.0

This commit is contained in:
alihanozturk
2015-11-22 11:39:52 +02:00
parent beee5c07c2
commit 7202748da2
6 changed files with 275 additions and 0 deletions
@@ -0,0 +1,125 @@
diff -Nuar telepathy-python-0.15.15.orig/Makefile.in telepathy-python-0.15.15/Makefile.in
--- telepathy-python-0.15.15.orig/Makefile.in 2010-01-20 15:47:58.000000000 +0200
+++ telepathy-python-0.15.15/Makefile.in 2010-02-16 14:34:28.333117263 +0200
@@ -34,7 +34,7 @@
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
- ChangeLog INSTALL NEWS install-sh missing py-compile
+ ChangeLog INSTALL NEWS install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
diff -Nuar telepathy-python-0.15.15.orig/src/client/Makefile.in telepathy-python-0.15.15/src/client/Makefile.in
--- telepathy-python-0.15.15.orig/src/client/Makefile.in 2010-01-20 15:47:58.000000000 +0200
+++ telepathy-python-0.15.15/src/client/Makefile.in 2010-02-16 14:38:54.061356515 +0200
@@ -71,7 +71,6 @@
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(clientdir)"
-py_compile = $(top_srcdir)/py-compile
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -218,14 +217,7 @@
while read files; do \
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
+ done || exit $$?;
uninstall-clientPYTHON:
@$(NORMAL_UNINSTALL)
diff -Nuar telepathy-python-0.15.15.orig/src/Makefile.in telepathy-python-0.15.15/src/Makefile.in
--- telepathy-python-0.15.15.orig/src/Makefile.in 2010-01-20 15:47:58.000000000 +0200
+++ telepathy-python-0.15.15/src/Makefile.in 2010-02-16 14:38:41.068107412 +0200
@@ -79,7 +79,6 @@
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(generateddir)" \
"$(DESTDIR)$(versiondir)" "$(DESTDIR)$(telepathydir)"
-py_compile = $(top_srcdir)/py-compile
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
@@ -288,14 +287,7 @@
while read files; do \
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
+ done || exit $$?;
uninstall-nodist_generatedPYTHON:
@$(NORMAL_UNINSTALL)
@@ -326,14 +318,7 @@
while read files; do \
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
+ done || exit $$?;
uninstall-nodist_versionPYTHON:
@$(NORMAL_UNINSTALL)
@@ -364,14 +349,7 @@
while read files; do \
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
+ done || exit $$?;
uninstall-telepathyPYTHON:
@$(NORMAL_UNINSTALL)
diff -Nuar telepathy-python-0.15.15.orig/src/server/Makefile.in telepathy-python-0.15.15/src/server/Makefile.in
--- telepathy-python-0.15.15.orig/src/server/Makefile.in 2010-01-20 15:47:58.000000000 +0200
+++ telepathy-python-0.15.15/src/server/Makefile.in 2010-02-16 14:39:09.238088477 +0200
@@ -71,7 +71,6 @@
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(serverdir)"
-py_compile = $(top_srcdir)/py-compile
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -222,14 +221,7 @@
while read files; do \
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
+ done || exit $$?;
uninstall-serverPYTHON:
@$(NORMAL_UNINSTALL)
@@ -0,0 +1,18 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 135f2f0..ede1fc3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,10 +13,12 @@ telepathy_PYTHON = \
spec_dir = $(top_srcdir)/spec
spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
+# We leave _generated/errors.py out of here because there exists a
+# spec/errors.xml file, so that means there'll be a
+# _generated/errors.py in $(spec_files). See fd.o#32526
BUILT_SOURCES = \
_generated/interfaces.py \
_generated/constants.py \
- _generated/errors.py \
_generated/__init__.py \
$(spec_files)
@@ -0,0 +1,30 @@
From 95f5183700cad0c713bc4f5757555b45ce173ed8 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sun, 24 Jun 2012 21:02:04 -0400
Subject: [PATCH] Stop using obsolete $(mkdir_p) for automake-1.12
compatibility
$(mkdir_p) was declared obsolete in automake-1.10, deprecated in 1.12,
and removed in 1.13.
https://bugs.freedesktop.org/show_bug.cgi?id=51392
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index ede1fc3..154c56e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,7 +57,7 @@ _generated/errors.py: $(tools_dir)/python-errors-generator.xsl $(wildcard $(spec
$(spec_dir)/all.xml
_generated/__init__.py:
- $(AM_V_GEN)$(mkdir_p) $(dir $@)
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@)
@echo "# Placeholder for package" > $@
_generated/%.py: $(tools_dir)/spec-to-python.xsl $(spec_dir)/%.xml
--
1.7.8.6