Fixed Maemo build problem with scratchbox
authorTobias Mueller <tobiasmue@gnome.org>
Thu, 13 Jan 2011 19:02:20 +0000 (20:02 +0100)
committerTobias Mueller <tobiasmue@gnome.org>
Thu, 13 Jan 2011 19:02:20 +0000 (20:02 +0100)
Now it gets the correct Python interpreter, not /scratchbox/tools/bin/python.

Makefile
debian/changelog
debian/rules

index 29c68da..2cdb1aa 100644 (file)
--- 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:
 all:
        python setup.py build
 clean:
index c13a2b8..9003489 100644 (file)
@@ -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 <tobiasmue@gnome.org>  Fri, 14 Jan 2011 00:30:59 +0530
+
 pwnitter (0.0.2-2) freemantle; urgency=low
 
   * Softcoding installation paths in setup.py
 pwnitter (0.0.2-2) freemantle; urgency=low
 
   * Softcoding installation paths in setup.py
index cbe925d..2403f35 100644 (file)
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 #!/usr/bin/make -f
+SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python
+export PATH SBOX_REDIRECT_IGNORE
+
 %:
        dh $@
 %:
        dh $@