Loud ramblings of a Software Artisan

Tuesday 26 September 2006

Gtk support for ASL

Ralph Thomas posted his patch for Gtk+ support in ASL 1.0.20. That means that Adobe Source Library, which originate from Photoshop, can now be used to develop Gtk application in C++. Note that this patch is the result of porting Mission Photo work to the latest ASL.

For some screenshots, go there

Wednesday 13 September 2006

porting python to C++

Lennart has been playing with Cairo. I have been playing with porting Python to C++, and I ported this scripts. It was not that hard as 2 of the bugs were due to the Python-esque indentation (yes scoping with indentation, what a nice idea), one is due to C being permissive (stupid typo), and the last due to a bad transcription when the Python binding of Cairo tranfsorm cairo_text_extents_t from a struct with named fields to an array with index...

Otherwise the biggest technical issue was to modify a bit the data types that use Python list to something that works with C++. I used the standard C++ library and a few of boost classes like boost::shared_ptr and boost::format.

Get the source: fring.cpp Build it with

g++ `pkg-config --libs --cflags cairomm-1.0` fring.cpp -g -o fring

Maybe it would be worthwhile to be write a small library that help porting from Python.

Tuesday 12 September 2006

Mission Photo

Mission Photo is new photo management application for Gnome. It is written in C++ by Ralph Thomas, using the Adobe Source Library (that I blogged about recently) with a brand new Gnome support that Ralph wrote. It is an older version of ASL, but Ralph promissed to port the Gnome support to the last release 1.0.20.

Mandatory screenshot:

Wednesday 6 September 2006

Experimental hack: OOo thumbnailer

Point your bazaar client to

$ bzr branch http://bzr.figuiere.net/ooo-thumbnailer/main ooo-thumbnailer

There is a ooo-thumbnailer that will extract thumbnails from OpenOffice.org files. The thumbnailer work (with some bugs I'll fix to refine the thumbnail), I'm not sure the install works fine for now. It is written in C and GPL. It was inspired by a hack in Python I found on the interweb ;-)

Patches welcome, as usual.

Friday 1 September 2006

...but how to view the report?

Manu, you forgot to tell how one can view these video reports using a Free Software. So far, it does not work here on my Ubuntu system (because it is Flash).

Update: there is a link to an AVI in the comments