Re: [maemo-users] Howto reintroduce Python termios

2006-08-21 Thread Michael Duergner
Hi Osvaldo,

thanks a lot so far. I`ll try this today after I`ve finally set up the 
development system.

 BTW, are you planning to use PySerial inside Nokia 770? :)

We wanted to try using it in order to minize the code we will have to maintain 
ourselves. Purpose is to connect to a bluetooth accelerometer.

Michael

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


[maemo-users] Howto reintroduce Python termios

2006-08-20 Thread Michael Duergner
Hi there,

I need Pyserial support on the Nokia 770 and I read that this could be done by 
reintroducing the termios module which has been removed. Could anyone give me a 
hint how to do this?

Thanks
Michael

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: [maemo-users] Howto reintroduce Python termios

2006-08-20 Thread Osvaldo Santana

Hi Michael,

We've removed termios.so file from Python for Maemo package to save
disk space on Nokia 770.

To add back this file to the package you want to recompile the package
from the source (changing the debian/rules file):

$ apt-get source python2.4
$ cd python*/debian
$ patch -p0  add_termios.patch
$ cd ..
$ dpkg-buildpackage -rfakeroot
$ ls ../*.deb # new packages!

After that, you can copy the termios.so file to your application
directory to make the deploy of your software.

BTW, are you planning to use PySerial inside Nokia 770? :)

Thanks,
Osvaldo

---8--

--- rules.orig  2006-08-21 02:07:52.0 -0300
+++ rules   2006-08-21 02:08:02.0 -0300
@@ -128,8 +128,7 @@
   $(d_base)/$(scriptdir)/lib-dynload/mmap.so \
   $(d_base)/$(scriptdir)/lib-dynload/readline.so \
   $(d_base)/$(scriptdir)/lib-dynload/ossaudiodev.so \
-   $(d_base)/$(scriptdir)/lib-dynload/syslog.so \
-   $(d_base)/$(scriptdir)/lib-dynload/termios.so
+   $(d_base)/$(scriptdir)/lib-dynload/syslog.so

   mkdir -p $(d_dev)/$(scriptdir)
   cp -a $(d_base)/$(scriptdir)/* $(d_dev)/$(scriptdir)

On 8/20/06, Michael Duergner [EMAIL PROTECTED] wrote:

Hi there,

I need Pyserial support on the Nokia 770 and I read that this could be done by 
reintroducing the termios module which has been removed. Could anyone give me a 
hint how to do this?

Thanks
Michael


--
Osvaldo Santana Neto (aCiDBaSe)
icq, url = (11287184, http://www.pythonbrasil.com.br;)
___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users