xkeyboard-config add repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-compat-rules \
|
||||
--with-xkb-rules-symlink=xorg")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "TODO", "README*", "NEWS")
|
||||
@@ -0,0 +1,10 @@
|
||||
Section "InputClass"
|
||||
Identifier "Keyboard Options"
|
||||
MatchIsKeyboard "on"
|
||||
|
||||
#Option "xkb_rules" "evdev"
|
||||
#Option "xkb_model" "evdev"
|
||||
#Option "xkb_options" "ctrl:nocaps,kpdl:dot,terminate:ctrl_alt_bksp"
|
||||
#Option "xkb_layout" "tr"
|
||||
#Option "xkb_variant" "f"
|
||||
EndSection
|
||||
@@ -0,0 +1,29 @@
|
||||
ACTION!="add|change", GOTO="xkb_end"
|
||||
ENV{ID_INPUT_KEYBOARD}!="?*", GOTO="xkb_end"
|
||||
|
||||
IMPORT{cmdline}="xkeymap"
|
||||
|
||||
ENV{xkeymap}=="?*", PROGRAM="/bin/sh -c 'echo $env{xkeymap} | tr : \\t'", ENV{xkblayout}="%c{1}"
|
||||
ENV{xkeymap}=="?*:?*", ENV{xkbvariant}="%c{2}"
|
||||
|
||||
ENV{xkeymap}=="?*", GOTO="xkb_end"
|
||||
|
||||
# If a cmdline option is not given, use the configuration
|
||||
# snippet (/etc/X11/xorg.conf.d/00-configured-keymap.conf).
|
||||
ENV{ID_INPUT.tags}="use_configured_keymap"
|
||||
|
||||
IMPORT{file}="/etc/env.d/03locale"
|
||||
ENV{LANG}=="?*", PROGRAM="/bin/sh -c 'echo $${LANG,,} | tr .@_ \\t'", ENV{.language}="%c{1}", ENV{.territory}="%c{2}"
|
||||
|
||||
ENV{.language}=="ar", ENV{xkblayout}="ara"
|
||||
ENV{.language}=="el", ENV{xkblayout}="gr"
|
||||
ENV{.language}=="es", ENV{.territory}!="es", ENV{xkblayout}="latam"
|
||||
ENV{.language}=="sr", ENV{xkblayout}="rs"
|
||||
ENV{.language}=="tr", ENV{xkblayout}="tr"
|
||||
|
||||
# See Pardus Bugzilla #4271
|
||||
ENV{.territory}=="nl", ENV{xkblayout}="us", ENV{xkbvariant}="intl"
|
||||
|
||||
ENV{.territory}=="?*", ENV{xkblayout}!="?*", ENV{xkblayout}="$env{.territory}"
|
||||
|
||||
LABEL="xkb_end"
|
||||
@@ -0,0 +1,31 @@
|
||||
From 824ce3a400a452929f90a038033c83055c01a2d7 Mon Sep 17 00:00:00 2001
|
||||
From: Fedora X Ninjas <x@fedoraproject.org>
|
||||
Date: Mon, 24 Nov 2008 12:59:09 +1000
|
||||
Subject: [PATCH] Map TLDE to Zenkaku/Hankaku in jp, and BKSL to bracket/brace right (#469537).
|
||||
|
||||
This patch is only needed for jp on a non-jp106 keyboard model.
|
||||
---
|
||||
symbols/jp | 7 +++++++
|
||||
1 files changed, 7 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/symbols/jp b/symbols/jp
|
||||
index 694090c..ef0b0f7 100644
|
||||
--- a/symbols/jp
|
||||
+++ b/symbols/jp
|
||||
@@ -24,6 +24,13 @@ xkb_symbols "common" {
|
||||
symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
|
||||
};
|
||||
|
||||
+ key <TLDE> {
|
||||
+ type[Group1]="PC_ALT_LEVEL2",
|
||||
+ symbols[Group1]= [ Zenkaku_Hankaku, Kanji ]
|
||||
+ };
|
||||
+
|
||||
+ key <BKSL> { [ bracketright, braceright ] };
|
||||
+
|
||||
key <AE01> { [ 1, exclam ] };
|
||||
key <AE02> { [ 2, quotedbl ] };
|
||||
key <AE03> { [ 3, numbersign ] };
|
||||
--
|
||||
1.6.0.3
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xkeyboard-config</Name>
|
||||
<Homepage>http://freedesktop.org/wiki/Software/XKeyboardConfig</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>X keyboard configuration database</Summary>
|
||||
<Description>xkeyboard-config aims to provide consistent and well-structured X keyboard configuration data for X Window System implementations.</Description>
|
||||
<Archive sha1sum="b37c42b26739bedb9716c60c92f721c1ad934116" type="tarbz2">mirrors://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.14.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>xorg-proto</Dependency>
|
||||
<Dependency>xorg-app</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">xkeyboard-config-1.4-jp-tilde.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xkeyboard-config</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>xorg-app</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/X11/xorg.conf.d</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d</Path>
|
||||
<Path fileType="data">/usr/share/X11/xkb</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/X11/xorg.conf.d/10-keyboard.conf">10-keyboard.conf</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/95-xkb.rules">95-xkb.rules</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-05-14</Date>
|
||||
<Version>2.14</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2015-01-29</Date>
|
||||
<Version>2.14</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2015-01-21</Date>
|
||||
<Version>2.13</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-08-31</Date>
|
||||
<Version>2.12</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-15</Date>
|
||||
<Version>2.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-25</Date>
|
||||
<Version>2.9</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-06-21</Date>
|
||||
<Version>2.9</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-22</Date>
|
||||
<Version>2.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xkeyboard-config</Name>
|
||||
<Summary xml:lang="tr">X klavye yapılandırma veritabanı</Summary>
|
||||
<Description xml:lang="tr">xkeyboard-config, X Pencere Sistemi için tutarlı ve iyi tasarlanmış X klavye yapılandırma verisi sağlamayı amaçlar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user