Xlib: Fixes for util/makekeys
René Rebe
rene at exactcode.de
Fri Aug 24 07:20:49 PDT 2007
On Friday 24 August 2007 16:12:19 Ross Burton wrote:
> On Fri, 2007-08-24 at 15:01 +0200, Joerg Sonnenberger wrote:
> > On Thu, Aug 23, 2007 at 11:44:13PM -0400, Bernardo Innocenti wrote:
> > > Next time makekeys needs changing, I'd suggest rewriting it in Perl
> > > or Python right from the start.
> >
> > Please don't use either. There are currently two cases where Perl is
> > required by modular Xorg and I have submitted patches to replace the
> > first program with a small C program and the second with an awk script.
> > I'm quite happy that xorg has a relatively small dependency chain and
> > Perl or Python would be a strong regression.
>
> Speaking as someone who works for a company whose primary product is
> cross-compiled, replacing tools like makekeys with Perl or Python
> scripts makes life a lot easier. Generally we have to build packages
> like this twice (once natively to build the tools, then again for the
> target architecture), but you really don't want to see the hack in
> libx11 to cross-build it in one step...
I do not really care if the helpers are perl, or python. Well - awk is
a little more lightweight, but you can build the tiny C helpers just
easily as well: using $HOSTCC, ... if they do not have other external
header and library dependencies. No need to build the whole
package twice.
We patched the modular xorg packages requiring C helpers to just
build the single binary natively in the T2 SDE:
http://t2-project.org
Yours,
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
More information about the xorg
mailing list