Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-cs
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-cs@g.o
From: Honza Macháček <Hloupy.Honza@...>
Subject: Re: nastaveni bezpecnosti xorg
Date: Sun, 10 Dec 2006 15:11:17 +0100
  Ahoj, lidi a spol.,
  přikládám svůj upravený ebuild x11-misc/xkbdata se záplatou pro
varianty české klávesnice (a diff oproti ebuildu z portage).
  Jen nevím, jestli má smysl jít s tím na bugzillu, když vedle xkbdata
existuje xkeyboard-config, kde česká klávesnice (včetně variant) funguje
bezchybně. Máte někdo ponětí, čím se xkbdata a xkeyboard-config liší
(kromě nepodstatných vnitřních drobností, jako je mírně odlišné
adresářové členění dat) a zda jsou oba balíky živé, nebo jeden z nich
dosluhuje a druhý jej má nahradit? Já jsem jenom s údivem zjistil, že na
jednom stroji mám xkbdata a na druhém xkeyboard-config.
  Mějte se krásně.
						Honza Macháček
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkbdata/xkbdata-1.0.1.ebuild,v 1.11 2006/09/10 08:46:24 vapier Exp $

# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"

inherit x-modular multilib

DESCRIPTION="X.Org xkbdata data"

KEYWORDS="alpha amd64 arm hppa mips ppc ppc64 s390 sh sparc x86"

RDEPEND="x11-apps/xkbcomp
	!x11-misc/xkeyboard-config"
DEPEND="${RDEPEND}"

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
}

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-cz.patch
}

src_install() {
	x-modular_src_install
	keepdir /var/lib/xkb
	dosym ../../../../var/lib/xkb /usr/share/X11/xkb/compiled
	echo "CONFIG_PROTECT=\"/usr/share/X11/xkb\"" > ${T}/10xkbdata
	doenvd ${T}/10xkbdata
}
diff -Naur tmp-old/symbols/pc/cz tmp-new/symbols/pc/cz
--- symbols/pc/cz	2006-12-10 12:10:59.000000000 +0000
+++ symbols/pc/cz	2006-12-10 12:11:49.000000000 +0000
@@ -78,7 +78,7 @@
 
 // Use <BKSL> instead of <LSGT> (useful for keyboard without <LSGT> key)
 xkb_symbols "bksl" {
-    include "cz(basic)"
+    include "pc/cz(basic)"
     name[Group1]= "Czechia - With <\|> key";
 
     key <BKSL>	{ [ backslash,        bar,        slash,     NoSymbol ]	};
@@ -91,7 +91,7 @@
     // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped).
     // 2001 by Kamil Toman <ktoman@...>
     
-    include "cz(basic)"
+    include "pc/cz(basic)"
     name[Group1]= "Czechia - qwerty";
 
     key <AB01>	{ [         z,          Z,       degree,     NoSymbol ]	};
@@ -100,7 +100,7 @@
 
 // Use <BKSL> instead of <LSGT> (useful for keyboard without <LSGT> key)
 xkb_symbols "qwerty_bksl" {
-    include "cz(qwerty)"
+    include "pc/cz(qwerty)"
 
     name[Group1]= "Czechia - qwerty, extended Backslash";
 
--- /usr/portage/x11-misc/xkbdata/xkbdata-1.0.1.ebuild	2006-09-10 09:06:39.000000000 +0000
+++ /usr/local/portage/x11-misc/xkbdata/xkbdata-1.0.1-r1.ebuild	2006-12-10 12:32:49.000000000 +0000
@@ -25,6 +25,12 @@
 	fi
 }
 
+src_unpack() {
+	unpack ${A}
+	cd ${S}
+	epatch ${FILESDIR}/${P}-cz.patch
+}
+
 src_install() {
 	x-modular_src_install
 	keepdir /var/lib/xkb
Replies:
Re: nastaveni bezpecnosti xorg
-- Jan Kundrát
Re: nastaveni bezpecnosti xorg
-- Pavel Dobes
Re: nastaveni bezpecnosti xorg
-- Marek Turnovec
References:
nastaveni bezpecnosti xorg
-- Pavel Dobes
Re: nastaveni bezpecnosti xorg
-- Jan Kundrát
Re: nastaveni bezpecnosti xorg
-- Pavel Dobes
Re: nastaveni bezpecnosti xorg
-- Marek Turnovec
Re: nastaveni bezpecnosti xorg
-- lyzard
Re: nastaveni bezpecnosti xorg
-- Pavel Dobes
Re: nastaveni bezpecnosti xorg
-- Marek Turnovec
Re: nastaveni bezpecnosti xorg
-- Pavel Dobes
Re: nastaveni bezpecnosti xorg
-- Honza Macháček
Re: nastaveni bezpecnosti xorg
-- Marek Turnovec
Re: nastaveni bezpecnosti xorg
-- Honza Macháček
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: nastaveni bezpecnosti xorg
Next by thread:
Re: nastaveni bezpecnosti xorg
Previous by date:
Re: nastaveni bezpecnosti xorg
Next by date:
Re: nastaveni bezpecnosti xorg


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-cs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.