summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-06-08 09:46:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-09 13:14:00 +0100
commit53144e3b6989625393eef0cce7ba71e37e620100 (patch)
treefcd4234646fd58214935f3e9f86d15e3145f773a /meta/recipes-graphics
parente89492a25dae7ae5b2a3146056acc674567ae8fd (diff)
downloadpoky-53144e3b6989625393eef0cce7ba71e37e620100.tar.gz
xkeyboard-config: upgrade 2.29 -> 2.30
(From OE-Core rev: b14fbbf69c4d8a81b470612058e9559c76d97cca) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch34
-rw-r--r--meta/recipes-graphics/xorg-lib/xkeyboard-config_2.30.bb (renamed from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb)7
2 files changed, 2 insertions, 39 deletions
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
deleted file mode 100644
index f723f70332..0000000000
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config/0001-fix-python3-support.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 168ac446cdd9a1b59d6b708360a9556515ba56b9 Mon Sep 17 00:00:00 2001
2From: MilhouseVH <milhouseVH.github@nmacleod.com>
3Date: Sun, 16 Feb 2020 09:41:43 +0000
4Subject: [PATCH] fix python3 support
5
6https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/197
7
8Upstream-Status: Backport
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 rules/compat/map-variants.py | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/rules/compat/map-variants.py b/rules/compat/map-variants.py
15index ebbfec9..979ba43 100755
16--- a/rules/compat/map-variants.py
17+++ b/rules/compat/map-variants.py
18@@ -1,4 +1,4 @@
19-#!/usr/bin/python3
20+#!/usr/bin/env python3
21
22 import argparse
23 import re
24@@ -12,8 +12,8 @@ class Layout(object):
25 assert variant is None
26 # parse a layout(variant) string
27 match = re.match(r'([^(]+)\(([^)]+)\)', layout)
28- self.layout = match[1]
29- self.variant = match[2]
30+ self.layout = match.groups()[0]
31+ self.variant = match.groups()[1]
32
33 def __str__(self):
34 if self.variant:
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.30.bb
index 598b584787..a4d67cd2ce 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.29.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.30.bb
@@ -12,11 +12,8 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-confi
12LICENSE = "MIT & MIT-style" 12LICENSE = "MIT & MIT-style"
13LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9" 13LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
14 14
15SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2 \ 15SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
16 file://0001-fix-python3-support.patch \ 16SRC_URI[sha256sum] = "095a524f7b633ed257617202d06c9c71fe020c8897b106cf0dcdd0c6e8b797d4"
17 "
18SRC_URI[md5sum] = "b5980bdc6c7d79f6dcccba8c76bb6c5d"
19SRC_URI[sha256sum] = "1d4175278bf06000683656763a8b1d3282c61a314b6db41260c8efe92d621802"
20 17
21SECTION = "x11/libs" 18SECTION = "x11/libs"
22DEPENDS = "util-macros libxslt-native" 19DEPENDS = "util-macros libxslt-native"