Cross compiling swt and gtk: CVS head or not?

Finally. After too many hours on such a ‘simple’ thing, I’ve managed to get swt up and running on a (rather) small device (with a PPC) with gtk as backend. What did I do wrong? For some reason I didn’t get the Freetype support into pango.
So when compiling the following code:

PangoFontMap *
pango_cairo_font_map_new (void)
{
/* Make sure that the type system is initialized */
g_type_init ();

#if defined(HAVE_CAIRO_ATSUI)
return g_object_new (PANGO_TYPE_CAIRO_ATSUI_FONT_MAP, NULL);
#elif defined(HAVE_CAIRO_WIN32)
return g_object_new (PANGO_TYPE_CAIRO_WIN32_FONT_MAP, NULL);
#elif defined(HAVE_CAIRO_FREETYPE)
return g_object_new (PANGO_TYPE_CAIRO_FC_FONT_MAP, NULL);
#endif
}

the pre processor passed on to the #endif statement and, yup, crap will be returned when executing. When the function returned 0xd (13 in decimal) I was quite sure something was wrong.

OK, I was just about to write a bug report to pango when quickly checking the latest version of the function. It’s now fixed. The function returns 0 after the last #endif .Perfect.
But this leads to the non-answerable question:

Should one go for CVS head or the latest stable release???

Haruki Murakami

Had a chat with Shane today about writers. It turned out that we like the same ones (well, at least some of them). When I said I like Umbert Eco he told me to go buy Haruki Murakami. Since I am almost done with Per Olov Enquist‘s book The visit of the royal physician I would have bought the book tomorrow. But it hasn’t been translated. Guess I’ll have to learn some English and read the English one.

No, learning Japanese is not an option!

Running out of Gastons

Yup, I’ve very soon read all the Gaston comics. Read them some twenty (uh oh!) years ago and decided to buy the collection some months ago. It truly inspired me (I am being honest!). I still have some Lucky Luke to read though.

Since I read the Asterix and Obelix albums last year I am beginning to run out of childhood heroes. Of course there’s Spirou. Hmm, is there a collection out there? A box (in Swedish), anyone?
And yes, of course. Groo. I’ve saved the Groo albums. At least the first four years or so.

and btw, Sweden has some great comic writers……. more on that some other day!

Workrave cheater. Moi?

I’ve been using workrave a lot lately since I’ve been sitting rather much in front of the computer and am a bit afraid of hurting my body. Workrave works quite well, but when I am too focused (yes, I know how to focus!) I start cheating.
So how to make it harder for me (and you) to cheat? Grab (yup, an active grab for those into X11) the mouse and perhaps even the keyboard.

How about grabbing the mouse and if you try to move it, then warp the pointer to somewhere else.
And if the mouse warped too much (meaning you tried to work even tough you should have taken a break) then turn on some kind of annoying mouse distorted movement….

I think I better go to bed… this is getting silly

New GNU stuff September 2007

This is a compilation of the GNU software releases as
announced during September 2007 on the mailing list:

http://lists.gnu.org/mailman/listinfo/gnu-prog

============================================================

GNU Proxyknife 1.7 / 2007-09-24

GNU Proxyknife is a utility to validate free
proxies for users behind firewall with strict
limits.
http://www.gnu.org/software/proxyknife/proxyknife.html

Archimedes 0.7.0 / 2007-09-23

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

glpk 4.22 / 2007-09-19

GLPK (GNU Linear Programming Kit) is intended
for solving large-scale linear programming (LP),
mixed integer linear programming (MIP), and
other related problems.
http://www.gnu.org/software/glpk/glpk.html

Diction 1.11 / 2007-09-18

Diction identifies wordy and commonly misused phrases.
Style analyses surface characteristics of a document.
http://www.gnu.org/software/diction/diction.html

GNU Source-highlight 2.8 / 2007-09-18

This program, given a source file, produces a
document with syntax highlighting.
http://www.gnu.org/software/src-highlite

Aeneas 1.1 / 2007-09-17

Aeneas is a Monte Carlo simulator which is able to
simulate particles on 3D tetrahedra meshes.
http://www.gnu.org/software/aeneas/

Archimedes 0.1.4 / 2007-09-15

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

Archimedes 0.1.3 / 2007-09-15

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

GNU Scientific Library 1.10 / 2007-09-14

GSL provides a large collection of well-tested
routines for numerical computing in C.
http://www.gnu.org/software/gsl/

Aeneas 1.0 / 2007-09-14

Aeneas is a Monte Carlo simulator which is able to
simulate particles on 3D tetrahedra meshes.
http://www.gnu.org/software/aeneas/

Archimedes 0.1.2 / 2007-09-14

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

GNU ghostscript 8.60.0 / 2007-09-13

Interpreter for the PostScript language and the
PDF file format. A set of C procedures that implement
the graphics capabilities. A wide variety of output
drivers for various file formats and printers.
http://www.gnu.org/software/ghostscript/

Archimedes 0.1.1 / 2007-09-11

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

GNU Texinfo 4.11 / 2007-09-10

Texinfo is the official documentation format of the
GNU project.
http://www.gnu.org/software/texinfo/

GnuPG 2.0.7 / 2007-09-10

The GNU Privacy Guard (GnuPG) is GNU’s tool for
secure communication and data storage.
http://www.gnupg.org/

Archimedes 0.1.0 / 2007-09-10

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

Archimedes 0.0.9 / 2007-09-09

Archimedes is the GNU package for 2D semiconductor
device simulations. Archimedes is released under
GPL 3 license.
http://ftp.gnu.org/gnu/archimedes/

GnuTLS 2.0.0 / 2007-09-04

GnuTLS is a modern C library that implement the standard
network security protocol Transport Layer Security (TLS),
for use by network applications.
http://www.gnutls.org/

RefTeX 4.33 / 2007-09-02

RefTeX is a specialized package for support of labels,
references, citations, and the index in LaTeX.
http://www.gnu.org/software/auctex/reftex.html

gpaint 0.3.2 / 2007-09-02

A small-scale painting program for GNOME.
http://savannah.gnu.org/projects/gpaint/

============================================================

If you have any comments or questions regarding this
compilation, contact Henrik Sandklef