Archives for: May 2005, 06

05/06/05

I started looking into evolution-data-server today, to look what we could use in Project Soylent (actually, I shouldn't blog on it because we don't want any noise on it yet :-)). The result is some code that can dump all your address books, or only dump some of the contacts using a filter string.

Because libebook is very poor documented (unfortunately, even the API docs aren't complete) I tried to document the code as good as possible. Please review it, let me know when some things are not well documented, or I just make dumb mistakes in the code :-D
The last version I made is here.

Compile it using
gcc -o evo-addressbooks-test2 `pkg-config --cflags --libs libbonobo-2.0 libebook-1.2` evo-addressbooks-test2.c
Dump your address books using
./evo-addressbook-test2
or use a filter string as first argument. Beware: you should Bash-escape the argument!!!
A sample of this:
./evo-addressbooks-test2 "(contains \"full_name\" \"John Doe\")"
will list some properties of the entry which has "John Doe" as it's full name.

I hope I'll be able to hack on this some more, and also hope we'll get a good view of what Soylent should become soon :-)
It'll be a great oportunity to learn some more aspects of Gnome coding, like GTK/Glade, Bonobo (|-|) and others.

Permalink . Ikke . 11:11:56 pm . 252 Words . Linux, Desktop, Coding Corner . . 282 views . 1 comment
New blog engine and Soylent

As I mentioned before, I'd like to start using another blogging engine as soon as possible. Plog looked nice, but after giving it a test drive I got into some little annoying problems.
Now the b2evolution guys seem to prepare a maintainance version, so development hasn't completely stalled.

Currently, the blogs (mine and the others I host) run fine I think, and migrating would be quite a lot of work (existing users and posts, not to mention changes of URI's towards aggregators), so I guess I'll wait some longer, unless someone knows a very good engine I could start using, actively maintained.
The main "issue" I got is the fact I host multiple blogs. Most engines don't support this...

Project Soylent is getting started, jay :-) Just read something on using Evolution's libebook API and FOAF, this will be some fun project to work on B-)

Oh, and please everyone vote for davyvandenbremt.be on may1reboot.com.

Permalink . Ikke . 04:06:11 pm . 193 Words . Technology, Desktop . . 533 views . 4 comments
Process sendmail spool by postfix

This week, we had big troubles on our mailserver at VTK. The big ugly devil was sendmail. He stopped delivering mails to local users. After trying to fix it, wich didn't make it work, Lennert and Ikke installed postfix on the machine. Everything is working now, but there's one big issue: sendmail still had 240 messages in /var/spool/mqueue, wich he had to deliver but never did. Now, I want postfix to deliver these. I already did some research, but all I found was "put the files in /var/spool/mqueue.in" wich is a Q for postfix on some configurations. We don't have such a configuration. We have /var/spool/postfix/incoming (and so on) with lots of folders (1,2,3...,A,B,...) in it with the same kind of subfolders in. I don't know where to put those files in now.

If someone nows how to make postfix handle these messages, or how to make sendmail just send these messages to some smtp-server (but not handle the incoming ones), please let me know. Thanks.

Permalink . Peter . 12:02:57 . 174 Words . VTK . Email . No views
More errors

While emerging media-video/ffmpeg-0.4.9_p20050226-r3, needed for Amarok wich is highly promoted by Ikke, I recieved following errors:
i686-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -O2 -march=pentium-m -mtune=pentium- m -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -msse2 -mmmx -fPIC -DHAVE _AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/idct_mmx.o i386/idct_mmx.c
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type
i386/dsputil_mmx_avg.h: In function `put_pixels4_l2_3dnow':
i386/dsputil_mmx_avg.h:58: error: can't find a register in class `BREG' while re loading `asm'
i686-pc-linux-gnu-gcc -O3 -Wall -Wno-switch -O2 -march=pentium-m -mtune=pentium- m -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -msse2 -mmmx -fPIC -DHAVE _AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/motion_est_mmx.o i386/motion_est_mmx.c
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:59: warning: 'put_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:155: warning: 'put_no_rnd_pixels16_l2_mmx' defined but no t used
i386/dsputil_mmx_rnd.h:300: warning: 'avg_no_rnd_pixels4_mmx' defined but not us ed
i386/dsputil_mmx_rnd.h:59: warning: 'put_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:155: warning: 'put_pixels16_l2_mmx' defined but not used
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmp eg-0.4.9-p20050226-shared/libavcodec'
make: *** [lib] Error 2

Very less information...

Let's find out!

There are also some more troubles with my machine: I have very regularly X-crashes. In the output, I see much errors of Synaptics who're not fatal, but sometimes, one is fatal. I'll post more information here soon.

I added my make.conf file to this post. You can find it here.

Permalink . Peter . 11:53:09 . 336 Words . My Gentoo . Email . No views
Will be continued

Yesterday, Havoc Pennington announced that the Fedora Stateless project will be continued. So, there'll be a RedHat team working on it, as he previously told. This is very good news because now the maintainability of our project is assured.

Permalink . Peter . 11:45:41 . 39 Words . General . Email . No views