[maemo-users] Howto reintroduce Python termios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.000000000 -0300
+++ rules       2006-08-21 02:08:02.000000000 -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 <duergner at cmu.edu> 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";)



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux