diff options
author | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-09-03 14:31:39 +0000 |
---|---|---|
committer | Joshua Baergen <joshuabaergen@gentoo.org> | 2006-09-03 14:31:39 +0000 |
commit | 45d5738e4a44ff992b02eb76b4615591c8a8ab56 (patch) | |
tree | d1d585b33101264218e24a543af97a237f668f2f /x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild | |
parent | Stable on ia64. (diff) | |
download | gentoo-2-45d5738e4a44ff992b02eb76b4615591c8a8ab56.tar.gz gentoo-2-45d5738e4a44ff992b02eb76b4615591c8a8ab56.tar.bz2 gentoo-2-45d5738e4a44ff992b02eb76b4615591c8a8ab56.zip |
Add missing LSGT symbol to evdev symbols. (Dennis Schridde, Bug #145097)
This should fix the availability of <, > and | for users of this symbol list.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild')
-rw-r--r-- | x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild new file mode 100644 index 000000000000..1adec65f7d07 --- /dev/null +++ b/x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeyboard-config/xkeyboard-config-0.8-r1.ebuild,v 1.1 2006/09/03 14:31:39 joshuabaergen Exp $ + +inherit eutils multilib + +DESCRIPTION="X keyboard configuration database" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh +~sparc ~x86 ~x86-fbsd" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/XKeyboardConfig" +SRC_URI="http://xlibs.freedesktop.org/xkbdesc/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" + +RDEPEND="x11-apps/xkbcomp + !x11-misc/xkbdata" +DEPEND="${RDEPEND} + dev-perl/XML-Parser" + +pkg_setup() { + # (#130590) The old XKB directory can screw stuff up + local DIR="${ROOT}usr/$(get_libdir)/X11/xkb" + if [[ -d ${DIR} ]] ; then + eerror "Directory ${DIR} should be" + eerror "manually deleted/renamed/relocated before installing!" + die "Manually remove ${DIR}" + fi + + # The old xkbdata 'pc' directory can screw stuff up, because portage won't + # let us overwrite a directory with a file + local PC="${ROOT}usr/share/X11/xkb/symbols/pc" + if [[ -d ${PC} ]] ; then + eerror "Directory ${PC} should be" + eerror "manually deleted/renamed/relocated before installing!" + die "Manually remove ${PC}" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + # bug #145097 + epatch "${FILESDIR}/add_missing_lsgt.patch" +} + +src_compile() { + econf \ + --with-xkb-base=/usr/share/X11/xkb \ + --enable-compat-rules \ + --disable-xkbcomp-symlink \ + --with-xkb-rules-symlink=xorg \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + echo "CONFIG_PROTECT=\"/usr/share/X11/xkb\"" > "${T}"/10xkeyboard-config + doenvd "${T}"/10xkeyboard-config +} |