Learning m4

23. August 2006

Until today, I had heared about m4 only that it is one of the so many special Unix tools of which I will never now exactly how they work or at least not completly. Unfortunately gtkmm uses a lot of m4 to generate the C++ code from it’s .hg and .ccg input files and I had to change some things to allow building without Atk.

So I found out that m4 is not that damn complicated and could after some manual reading easily archive the things that I wanted. Anyway, I also changed some code in *.pm files without knowing what language they use in detail. Seems like a quite easy scripting language but would be cool if someone could tell me.

Gtkmm: –disable-api-atk

23. August 2006

The –disable-api-atk in gtkmm is much more difficult than I thought. I have to hack a lot on the code generation which means I first have to learn how all this works. I uses m4 and scripting and I have to find out in detail how to add #ifdefs to the signals that use ATK.

Libanjutamm online

15. August 2006

You can get a copy of libanjutamm here: Libanjutamm CVS

A tarball of a sample C++ plugin which does not load because of GType issues is also availible
To use this, you need the CVS version of Anjuta and the gtkmm development packages installed. The best way, to test the plugin is to use the anjuta-shell test app in the src/ directory of anjuta CVS.

Debian, Anjuta, gtkmm

10. August 2006

Today, I built my first debian package. I still don’t fully understand how the whole mechanism works but at least I got good results by reusing the debian/ directory of an existing package as a starting point.

Naba made a great job and implemented a good auto-indent feature for anjuta, though the supported languages are only C, C++ and Java in the moment. Libanjuta is now a bit more wrapping friendly because I added “G_BEGIN_DECLS” and “G_END_DELCS” to all headers.

I am working on a libanjutamm. I follow the excellent instructions in the Gtkmm Documentation but I still have some problems. Anyway, I hope the nice guys at #c++ will be able to help me.

Today’s work!

9. August 2006

Maemo

I set up a maemo environment on my ubuntu box today. It was quite easy as they provide a good documentation and an easy installation script. There are some things that do not work perfectly yet but I think they can be fixed.

Glom

Currently trying to set up glom put I have problems to connect to the database. Seems like libgda got installed without support for postgresql but I am not sure yet. Retrying with jhbuild now…

gnome-build

No volunteers for gnome-build, yet! Applied patch from Günther Brammer (thanks!) to fix a parsing bug with “+=”.

Bug #343012

7. August 2006

For my new employer Openismus, which is the first time that I get paid for anything Gnome or open-source related, I tried to fix Bug 343012 today. The patch itself was quite simple but it was a bit difficult to find out. I had no other testcase as the provided because I am not really familiar with the gtkrc system. Please try this patch out and tell me if there are any side-effects.

Going to have my last exam for this month at 3 pm…

p>While I should be learning for electrical engineering and semi-conductors I spent quite some work on improving Anjuta.Most significant is the long-standing issue that people want to be able to open more project at the same time like in Eclipse.

So I arrived to the conclusion that this is not impossible and hacked it in about 3 hours. The solution has some rough edges yet but it works.

To comment Benjamin’s last post: I am now a proud member of the Gnome Foundation!

Auto-indent in Anjuta

27. July 2006

Sorry, that I have not blogged anything in the last weeks but I am quite busy to get enough time to pass my seven exams in the summer term.

There has been some work on Anjuta, anyway. We are working to integrate a better auto-indent feature, a better symbol-browser and of course lots of bug-fixes.

Esspecially thanks to frax who created some very nice patches for anjuta and gdl to improve the general UI feeling. Also Philip van Hoof made some nice suggestions what could be improved and wrote a highly motivating mail to the ML – thanks!

We still search for a perl crack who wants to do some work on gnome-build, the library for handling the autotools system. Any volunteers?