1 |
commit: cba05e849ae9ec7289f44eb2f624030c95b83f4b |
2 |
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 5 22:28:08 2018 +0000 |
4 |
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 5 22:31:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba05e84 |
7 |
|
8 |
x11-misc/xkeyboard-config: add patch to fix pl keyboard layout |
9 |
|
10 |
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104904 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=646434 |
12 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
13 |
|
14 |
...keyboard-config-2.23.1_fix_typo_in_polish.patch | 25 +++++++++++++ |
15 |
.../xkeyboard-config-2.23.1-r1.ebuild | 42 ++++++++++++++++++++++ |
16 |
2 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/x11-misc/xkeyboard-config/files/xkeyboard-config-2.23.1_fix_typo_in_polish.patch b/x11-misc/xkeyboard-config/files/xkeyboard-config-2.23.1_fix_typo_in_polish.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..7d9e6fca2dc |
21 |
--- /dev/null |
22 |
+++ b/x11-misc/xkeyboard-config/files/xkeyboard-config-2.23.1_fix_typo_in_polish.patch |
23 |
@@ -0,0 +1,25 @@ |
24 |
+From 9a5cecf64ffc427a6a5a7c9a061992c32e5b8a4f Mon Sep 17 00:00:00 2001 |
25 |
+From: Gunnar Hjalmarsson <gunnarhj@××××××.com> |
26 |
+Date: Thu, 1 Feb 2018 15:37:46 +0100 |
27 |
+Subject: Fix typo in Polish symbols file |
28 |
+ |
29 |
+https://bugs.freedesktop.org/show_bug.cgi?id=104904 |
30 |
+--- |
31 |
+ symbols/pl | 1 - |
32 |
+ 1 file changed, 1 deletion(-) |
33 |
+ |
34 |
+diff --git a/symbols/pl b/symbols/pl |
35 |
+index 52e7959..800cb85 100644 |
36 |
+--- a/symbols/pl |
37 |
++++ b/symbols/pl |
38 |
+@@ -497,7 +497,6 @@ partial alphanumeric_keys |
39 |
+ include "sun_vndr/pl(sun_type6)" |
40 |
+ }; |
41 |
+ |
42 |
+------------------------------- |
43 |
+ //Glagolica |
44 |
+ partial alphanumeric_keys |
45 |
+ xkb_symbols "glagolica" |
46 |
+-- |
47 |
+cgit v1.1 |
48 |
+ |
49 |
|
50 |
diff --git a/x11-misc/xkeyboard-config/xkeyboard-config-2.23.1-r1.ebuild b/x11-misc/xkeyboard-config/xkeyboard-config-2.23.1-r1.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..4a9d40a48f1 |
53 |
--- /dev/null |
54 |
+++ b/x11-misc/xkeyboard-config/xkeyboard-config-2.23.1-r1.ebuild |
55 |
@@ -0,0 +1,42 @@ |
56 |
+# Copyright 1999-2018 Gentoo Foundation |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=5 |
60 |
+ |
61 |
+XORG_STATIC=no |
62 |
+inherit xorg-2 |
63 |
+ |
64 |
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xkeyboard-config.git" |
65 |
+ |
66 |
+DESCRIPTION="X keyboard configuration database" |
67 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/XKeyboardConfig" |
68 |
+[[ ${PV} == *9999* ]] || SRC_URI="https://www.x.org/releases/individual/data/xkeyboard-config/${P}.tar.bz2" |
69 |
+ |
70 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
71 |
+IUSE="" |
72 |
+ |
73 |
+LICENSE="MIT" |
74 |
+SLOT="0" |
75 |
+ |
76 |
+RDEPEND="!<x11-apps/xkbcomp-1.2.3 |
77 |
+ !<x11-libs/libX11-1.4.3" |
78 |
+DEPEND=" |
79 |
+ sys-devel/gettext |
80 |
+ dev-util/intltool" |
81 |
+ |
82 |
+PATCHES=( "${FILESDIR}"/${P}_fix_typo_in_polish.patch ) |
83 |
+ |
84 |
+XORG_CONFIGURE_OPTIONS=( |
85 |
+ --with-xkb-base="${EPREFIX}/usr/share/X11/xkb" |
86 |
+ --enable-compat-rules |
87 |
+ # do not check for runtime deps |
88 |
+ --disable-runtime-deps |
89 |
+ --with-xkb-rules-symlink=xorg |
90 |
+) |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ xorg-2_src_prepare |
94 |
+ if [[ ${XORG_EAUTORECONF} != no ]]; then |
95 |
+ intltoolize --copy --automake || die |
96 |
+ fi |
97 |
+} |