From 79ef9ec67d3baed31d9587cb093f29523ae8858f Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Thu, 13 Jan 2011 20:02:20 +0100 Subject: [PATCH] Fixed Maemo build problem with scratchbox Now it gets the correct Python interpreter, not /scratchbox/tools/bin/python. --- Makefile | 5 +++++ debian/changelog | 12 ++++++++++++ debian/rules | 3 +++ 3 files changed, 20 insertions(+) diff --git a/Makefile b/Makefile index 29c68da..2cdb1aa 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,8 @@ +#!/usr/bin/make -f +PATH := /usr/bin:$(PATH) +SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python +export PATH SBOX_REDIRECT_IGNORE + all: python setup.py build clean: diff --git a/debian/changelog b/debian/changelog index c13a2b8..9003489 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +pwnitter (0.0.3-1) freemantle; urgency=low + + * Be able to play PCap files + * enhanced logging facilities + * Record UserAgent as well + Note that it doesn't work with non mobile.twitter.com anymore. But + that might a issue with me and my local setup. + * fix the python hashbang problem by editing Makefile according to + http://wiki.maemo.org/PyMaemo/FAQ#When_I_build_my_Python_application_on_Scratchbox.2C_files_are_installed_in_.2Fscratchbox.2F..._How_do_I_modify_Debian_packaging_so_the_correct_Python_interpreter_is_called.3F + + -- Tobias Mueller Fri, 14 Jan 2011 00:30:59 +0530 + pwnitter (0.0.2-2) freemantle; urgency=low * Softcoding installation paths in setup.py diff --git a/debian/rules b/debian/rules index cbe925d..2403f35 100644 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,6 @@ #!/usr/bin/make -f +SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python +export PATH SBOX_REDIRECT_IGNORE + %: dh $@ -- 1.7.9.5