From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 16/17] xkeyboard-config: update to 2.29
Date: Sun, 3 May 2020 18:25:58 +0200 [thread overview]
Message-ID: <20200503162559.946-16-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20200503162559.946-1-alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
.../0001-fix-python3-support.patch | 34 +++++++++++++++++++
...onfig_2.28.bb => xkeyboard-config_2.29.bb} | 8 +++--
2 files changed, 39 insertions(+), 3 deletions(-)
create mode 100644 meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch
rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.28.bb => xkeyboard-config_2.29.bb} (81%)
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch b/meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch
new file mode 100644
index 0000000000..f723f70332
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch
@@ -0,0 +1,34 @@
+From 168ac446cdd9a1b59d6b708360a9556515ba56b9 Mon Sep 17 00:00:00 2001
+From: MilhouseVH <milhouseVH.github@nmacleod.com>
+Date: Sun, 16 Feb 2020 09:41:43 +0000
+Subject: [PATCH] fix python3 support
+
+https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/197
+
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ rules/compat/map-variants.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/rules/compat/map-variants.py b/rules/compat/map-variants.py
+index ebbfec9..979ba43 100755
+--- a/rules/compat/map-variants.py
++++ b/rules/compat/map-variants.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python3
++#!/usr/bin/env python3
+
+ import argparse
+ import re
+@@ -12,8 +12,8 @@ class Layout(object):
+ assert variant is None
+ # parse a layout(variant) string
+ match = re.match(r'([^(]+)\(([^)]+)\)', layout)
+- self.layout = match[1]
+- self.variant = match[2]
++ self.layout = match.groups()[0]
++ self.variant = match.groups()[1]
+
+ def __str__(self):
+ if self.variant:
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.28.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb
similarity index 81%
rename from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.28.bb
rename to meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb
index 7a3d694bd6..598b584787 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.28.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb
@@ -12,9 +12,11 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-confi
LICENSE = "MIT & MIT-style"
LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
-SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "5a968ab77846ff85a04242410b2a61de"
-SRC_URI[sha256sum] = "69adb25b0fc64e4075f8ec0eab8d869892419f474f91fb69db1713de2062bdce"
+SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2 \
+ file://0001-fix-python3-support.patch \
+ "
+SRC_URI[md5sum] = "b5980bdc6c7d79f6dcccba8c76bb6c5d"
+SRC_URI[sha256sum] = "1d4175278bf06000683656763a8b1d3282c61a314b6db41260c8efe92d621802"
SECTION = "x11/libs"
DEPENDS = "util-macros libxslt-native"
--
2.26.1
next prev parent reply other threads:[~2020-05-03 16:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 16:25 [PATCH 01/17] libinput: add ptest Alexander Kanavin
2020-05-03 16:25 ` [PATCH 02/17] libinput: update 1.15.2 -> 1.15.5 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 03/17] glib-2.0: update 2.62.4 -> 2.64.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 04/17] glib-networking: update to 2.64.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 05/17] gptfdisk: update to 1.0.5 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 06/17] clutter-1.0: update to 1.26.4 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 07/17] diffoscope: update to 143 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 08/17] avahi: merge avahi-ui into the main recipe Alexander Kanavin
2020-05-04 21:01 ` [OE-core] " Khem Raj
2020-05-05 11:09 ` Alexander Kanavin
2020-05-05 18:45 ` Khem Raj
2020-05-03 16:25 ` [PATCH 09/17] avahi: update to 0.8 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 10/17] git: update to 2.26.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 11/17] wpe: update to 1.6.0 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 12/17] vte: update to 0.60.2 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 13/17] libnotify: update to 0.7.9 Alexander Kanavin
2020-05-03 16:25 ` [PATCH 14/17] connman: update to 1.38 Alexander Kanavin
2020-05-06 7:59 ` [OE-core] " Alejandro Hernandez
2020-05-03 16:25 ` [PATCH 15/17] libcap: update to 2.33 Alexander Kanavin
2020-05-04 8:41 ` [OE-core] " Richard Purdie
2020-05-03 16:25 ` Alexander Kanavin [this message]
2020-05-03 16:25 ` [PATCH 17/17] gcr: update to 3.36.0 Alexander Kanavin
2020-05-11 18:35 ` [OE-core] " Richard Purdie
2020-05-05 9:42 ` [OE-core] [PATCH 01/17] libinput: add ptest Richard Purdie
2020-05-05 11:58 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200503162559.946-16-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox