ports/114876: x11/xkeyboard-config - Couldn't load XKB keymap,
falling back to pre-XKB keymap
Henrik Brix Andersen
henrik at brixandersen.dk
Thu Jul 26 13:50:07 UTC 2007
The following reply was made to PR ports/114876; it has been noted by GNATS.
From: Henrik Brix Andersen <henrik at brixandersen.dk>
To: bug-followup at FreeBSD.org, antoine at cleopatre.homeip.net
Cc:
Subject: Re: ports/114876: x11/xkeyboard-config - Couldn't load XKB keymap,
falling back to pre-XKB keymap
Date: Thu, 26 Jul 2007 15:44:34 +0200
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Here is a patch for making the port create that directory on
installation:
diff -urp /usr/ports/x11/xkeyboard-config/Makefile x11/xkeyboard-config/Mak=
efile
--- /usr/ports/x11/xkeyboard-config/Makefile 2007-07-24 16:11:49.000000000 =
+0200
+++ x11/xkeyboard-config/Makefile 2007-07-26 15:19:29.000000000 +0200
@@ -7,6 +7,7 @@
=20
PORTNAME=3D xkeyboard-config
PORTVERSION=3D 1.0
+PORTREVISION=3D 1
CATEGORIES=3D x11
MASTER_SITES=3D http://xlibs.freedesktop.org/xkbdesc/
DISTNAME=3D xkeyboard-config-${PORTVERSION}
@@ -31,5 +32,6 @@ CONFIGURE_ARGS+=3D --with-xkb-base=3D${PREFI
=20
post-install:
${MKDIR} /var/lib/xkb
+ ${MKDIR} ${PREFIX}/share/X11/xkb/compiled
=20
.include <bsd.port.mk>
diff -urp /usr/ports/x11/xkeyboard-config/pkg-plist x11/xkeyboard-config/pk=
g-plist
--- /usr/ports/x11/xkeyboard-config/pkg-plist 2007-07-24 16:11:49.000000000=
+0200
+++ x11/xkeyboard-config/pkg-plist 2007-07-26 15:28:57.000000000 +0200
@@ -289,7 +289,9 @@ share/X11/xkb/types/pc
share/X11/xkb/types/README
share/X11/xkb/xkbcomp
@exec mkdir -p /var/lib/xkb
+ at exec mkdir -p %D/share/X11/xkb/compiled
@dirrm share/X11/xkb/compat
+ at dirrm share/X11/xkb/compiled
@dirrm share/X11/xkb/geometry/digital_vndr
@dirrm share/X11/xkb/geometry/sgi_vndr
@dirrm share/X11/xkb/geometry
--=20
Henrik Brix Andersen <henrik at brixandersen.dk>
--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: GnuPG signed
iD8DBQFGqKVBv+Q4flTiePgRAsQCAKCa10UZRaJEyxprO0T2Fo8XCXyZrACbB99s
ihCVGEJp/U6q1E3Mm/rS2E8=
=obtQ
-----END PGP SIGNATURE-----
--mP3DRpeJDSE+ciuQ--
More information about the freebsd-x11
mailing list