ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] [Patch] Fix XKB error


From: Stuart Hughes
Subject: Re: [Ltib] [Patch] Fix XKB error
Date: Tue, 22 Sep 2009 14:28:06 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rogerio,

I'm trying to figure out the right thing to do here.  Here's my thoughts:

We are using xorg-server-1.4.2 which was released: 11-Jun-2008
So I think the best thing is to update the other pieces in xkb-utils to be of a similar date. So in the case of xkbcomp this would be version 1.0.5 which is newer than in the current LTIB xkb-utils (1.0.2) but older than the version you submitted (1.1.0).

The reasoning is that I should try to use components that were released around the same time so they're compatible. Do you agree or have any other suggestions?

Regards, Stuart

Rogério de Souza Moraes wrote:
Hi Stuart,

I saw this package but I did not see that he installs xkbcomp. I tried
to test him and I realised that he requires libXaw, but it isn't
specified in packages.lkc. The patch to fix this is attached.

The version of xkbcomp that is in xkb-utils doesn't work with this
xorg-server. When the X comes up, I get the errors that are inside the
log file (x.log) that is attached here. If I execute some program that
use gtk libs, it crashes. I need to do more tests to see why it did
not work.

I agree that install these programs using the package
xorg-x11-xkb-utils is the best way to do this. So later we may find an
way to update this.

Regards

Rogerio


2009/9/18 Stuart Hughes <address@hidden>
Hi Rogerio,

Thanks for the patch. xkeyboard-config would be okay stand-alone, but there's 
an issue with the other 2 related to packaging.

Loosely speaking I've been following Fedora's notion of packaging (FC9).  So if 
you look at ltib now you'll see there an option to build:xkb-utils, which build 
using the spec file: xorg-x11-xkb-utils. This was imported from FC9 and 
contains the following tarballs:

ftp://ftp.x.org/pub/individual/app/xkbutils-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/xkbcomp-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xkbevd-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xkbprint-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/setxkbmap-1.0.4.tar.bz2

Which mean that xkbcomp is already available if you select this.  Having this 
as a stand-alone package is better in a way (less bloat), but unfortunately it 
means complexity.  To allow this it would mean:

* You'd have to make sure the individual package was before xorg-x11-xkb-utils.

* You'd have to have a re-install trigger (in ltib) so that if you have them 
both selected and you de-select xorg-x11-xkb-utils, xkbcomp gets re-installed.

* The configuration/selection may be a bit confusing (duplicates)

* Logically you should also de-bundle all the other individual tarballs  that 
are in there.

So this needs thinking about.  I tend to think it's better to follow Fedora as 
although less fine-grain, it is relatively easy to import srpms to gain new 
packages, and you're following an established distro pattern.  I'm open to 
views on this though.

So far as xmodmap goes, in the Fedora world, this is part of 
xorg-x11-server-utils, which also includes:

ftp://ftp.x.org/pub/individual/app/iceauth-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/rgb-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/sessreg-1.0.3.tar.bz2
ftp://ftp.x.org/pub/individual/app/xcmsdb-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/xgamma-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xhost-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/xmodmap-1.0.3.tar.bz2
ftp://ftp.x.org/pub/individual/app/xrandr-1.2.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xrdb-1.0.4.tar.bz2
ftp://ftp.x.org/pub/individual/app/xrefresh-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xset-1.0.3.tar.bz2
ftp://ftp.x.org/pub/individual/app/xsetmode-1.0.0.tar.bz2
ftp://ftp.x.org/pub/individual/app/xsetpointer-1.0.0.tar.bz2
ftp://ftp.x.org/pub/individual/app/xsetroot-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xstdcmap-1.0.1.tar.bz2
ftp://ftp.x.org/pub/individual/app/xtrap-1.0.2.tar.bz2
ftp://ftp.x.org/pub/individual/app/xvidtune-1.0.1.tar.bz2

see:
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/source/SRPMS/xorg-x11-server-utils-7.3-3.fc9.src.rpm/xorg-x11-server-utils.spec?extract=true

So this srpm could be imported/ported to LTIB.  The same issues discussed for 
xkbcomp apply though (single versus bundle packages)

In FC9 xkeyboard-config is version 1.2, would this be usable by you?  I realise 
this is older, but given that the other parts have been pulled from FC9, I'm 
wondering if it's better to keep the different components of xorg from the same 
vintage to avoid compatibility issues.

Thoughts?

Regards, Stuart


Rogério de Souza Moraes wrote:
Hi Stuart,

I made 3 packages that configures the keyboard for the X. The package
xkeyboard-config. Without these packages, matchbox-keyboard don't work
properly.

(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base

The packages xkbcomp and xmodmap are useful to configure the keyboard too.

The patch to add these files to Ltib is attached.

You can download the sources at the following links

http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-1.6.tar.gz

http://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.1.0.tar.gz

http://xorg.freedesktop.org/archive/individual/app/xmodmap-1.0.3.tar.gz

Regards,

Rogerio


------------------------------------------------------------------------

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

------------------------------------------------------------------------

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]