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 responses to “Packaging Python Imaging Library for maemo 3.0 (bora) and the N800”
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?
I consider, what is it very interesting theme. I suggest all to take part in discussion more actively.
vyvoz stroitelnogo musora spb…
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…
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.
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.