Busy making things: tinycast, github, links, photos, @mc.

Packaging Python Imaging Library for maemo 3.0 (bora) and the N800

Posted: February 11th, 2007 | Author: | Filed under: Linux, Open Source, Projects | 6 Comments »

I found myself wanting to do some image manipulation in Python with the Python Imaging Library on my N800. Unfortunately PIL isn’t available in the standard repositories. Not to worry, after reading the Debian Maintainers’ Guide I packaged up python2.5-imaging_1.1.6-1_armel.deb, built against python2.5 and maemo 3.0 (bora), and installs perfectly on my N800:

Nokia-N800-51:/media/mmc1# dpkg -i python2.5-imaging_1.1.6-1_armel.deb 
Selecting previously deselected package python2.5-imaging.
(Reading database ... 13815 files and directories currently installed.)
Unpacking python2.5-imaging (from python2.5-imaging_1.1.6-1_armel.deb) ...
Setting up python2.5-imaging (1.1.6-1) ...
Nokia-N800-51:/media/mmc1# python2.5 
Python 2.5 (r25:9277, Jan 23 2007, 15:56:37) 
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>>

Feel free to take a look at the directory listing for full source, diffs, etc. You might also want to check out debian/rules to see where to use setup.py in the makefile to build and install a Python package. If anyone wants a build of this for maemo-2.0/770 please let me know. It would just take a little time to set up a maemo-2.0 scratchbox.


6 Comments on “Packaging Python Imaging Library for maemo 3.0 (bora) and the N800”

  1. 1 Chaim said at 2:01 pm on April 22nd, 2007:

    Does that mean that the Python Camera API example at http://maemo.org/platform/docs/howtos/howto_camera_api_bora.html can now be modified to save JPEG files?

    Chaim

  2. 2 buy propecia said at 3:46 pm on January 24th, 2011:

    I consider, what is it very interesting theme. I suggest all to take part in discussion more actively.

  3. 3 vyvoz stroitelnogo musora said at 11:03 am on February 7th, 2011:

    vyvoz stroitelnogo musora spb…

    vyvoz musora…

  4. 4 tory-burch-reva-flats said at 4:36 am on February 14th, 2011:

    cheap tory burch shoes …

    We specialize in selling trendy shoes online. A huge selection of women’s shoes for a very cheap price, the top name brand of cheap tory burch shoes casual shoes, tory burch boots, women’s sandals, fashion shoes.And here has cheap 2011 tory burch n…

  5. 5 Vigrx Plus pill said at 11:08 am on February 15th, 2011:

    Thanks for making the trustworthy try to explain this. I think very sturdy about it and want to learn more. If it’s OK, as you reach extra in depth knowledge, could you mind adding more posts very similar to this one with additional information? It would be extraordinarily useful and useful for me and my colleagues.

  6. 6 web hosting india said at 2:33 am on February 18th, 2011:

    Thanks for making the trustworthy strive to explain this. I believe very strong approximately it and wish to learn more. If it’s OK, as you attain extra extensive wisdom, would you mind including more posts very similar to this one with additional information? It would be extraordinarily useful and helpful for me and my colleagues.