Main Contents

Playing with clang and Qt

January 10, 2010

You might know that there’s a new kid in the C++ compilers list ; clang. Llvm has been around for quite some time, but until recently the only way to make use of it was through the somehow cumbersome llvm-gcc which binds the gcc C/C++ frontend to the llvm backend. People (mostly Apple) have been [...]

Filed under: Gentoo, KDE | Comments (5)

How to use flex and bison with qmake (my own way)

November 22, 2009

qmake (sort of) supports lex/yacc, but modern people prefer to use flex/bison. If you google, you can find some tricks like convincing qmake that yacc is spelled ‘bison’ and so on.  Morever qmake supports for lex/yacc has several drawbacks, such as weird naming scheme, and (when using the tricks), dependencies are not building files in [...]

Filed under: Gentoo, KDE | Comments (2)

Wonders from a KDE fan and developer about some KDE design choices

November 10, 2009

Technologies going forward..
Twenty years ago, I was reading some books about Unix at the local library. By the time, it was really difficult for me to see, touch, or test an actual unix system and reading books was the closest I could get.
I remember that among the numerous very good ideas ™ in this system, [...]

Filed under: Gentoo, KDE | Comments (43)

Installing an avr cross compiler in gentoo

July 27, 2009

One could think that this is as easy as
crossdev avr
but it is not, so i write here how I did it for future reference, and hopefully this will also be useful to other people.
The first problem is that it does not check compatibility between toolchain members (binutils, gcc, …). Understandably, this is somehow difficult, and [...]

Filed under: Admin, Gentoo | Comments (0)

tags displayed in hg activity extension

June 15, 2009

Today i have added a feature to my hg activity extension. I have wanted to have this for long : the tags are now displayed on the graph. Here are two examples, one of the project itself, and another one on the mercurial repository, but only  for the last months.
The first one was generated by:
hg [...]

Filed under: Admin, Gentoo | Comments (2)

mercurial and ipv6

May 7, 2009

Today I needed to use mercurial over IPv6 in order to share a repository which is on a computer behind an (ipv4) firewall, but that can be reached over ipv6.
The naive

hg clone ssh://orzel@ipv6computername/hg/dir
hg clone ssh://orzel@[ipv6::address]/hg/dir

miserably failed. But i was hinted on IRC (thanks ‘Ry4an’ !) on how to do this, and thought I should share [...]

Filed under: Admin, Gentoo | Comments (0)

Fixing qmake missing rule for *.ts -> *.qm

March 10, 2009

We are used to polished and great tools from the trolls, but qmake has always been the big exception to this: ugly documentation, lot of undocumented tricks, and missing features.
For me the biggest one was that it would not automatically create the rule to transform *.ts to *.qm in the generated Makefile. I have been [...]

Filed under: Gentoo, KDE | Comments (8)

updating to KDE 4.2.1 : delete your plasma files (again)

March 6, 2009

Thanks to the great work of the gentoo KDE packaging team, I have been able to update to KDE 4.2.1 yesterday. And since then, a couple of processes  suck up all my CPUs.
The first one is a well-known issue : lancelot does that when used with Qt 4.5. Ok, this one was quick to remove.
The [...]

Filed under: Gentoo, KDE | Comments (14)

Support for ‘long double’ in Qt tests.

March 5, 2009

Qt supports most types for most compilers…… but long double.  I do not know why. When asking on #qt (IRC), people say that nobody seems to care. Well… I do. long double have some use in scientific software at least. If you ever need to use long double in QTest, you will need to add [...]

Filed under: Gentoo, KDE | Comments (1)

Quest for gdc in gentoo

February 21, 2009

It took me quite some time (and some grep) to find out how to install gdc on gentoo, so here is the answer for those facing the same problem.
gdc is a gcc font-end for the D language, which has some advantages over other ones like dmd, but don’t ask which. (something like ’support for 64-bit’).
If [...]

Filed under: Admin, Gentoo | Comments (0)