summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-06-06 15:28:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-09 17:43:41 +0100
commit444371bee60db595f47515132900587e833b1160 (patch)
treebdb117cfa458c40462f8c1a691ffb67c185a2023 /meta/recipes-graphics
parent3306e1eaf12c057a1d5da1086fd18f3490fe4c5e (diff)
downloadpoky-444371bee60db595f47515132900587e833b1160.tar.gz
xinput-calibrator: upgrade to 0.8.0
Development has moved to freedesktop.org, so switch SRC_URI. Drop an upstreamed patch. (From OE-Core rev: 13f5ba6b9d5cee5d704e669fb80e953bd97b25f1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch28
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch2
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb (renamed from meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb)10
3 files changed, 4 insertions, 36 deletions
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
deleted file mode 100644
index 37617600d5..0000000000
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 22:40:24 -0800
4Subject: [PATCH] calibrator.hh: Include <string> to get std::string
5
6Found with libc++
7
8Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/calibrator.hh | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/calibrator.hh b/src/calibrator.hh
15index a6f9504..e75bcef 100644
16--- a/src/calibrator.hh
17+++ b/src/calibrator.hh
18@@ -29,6 +29,7 @@
19 #include <X11/Xlib.h>
20 #include <stdio.h>
21 #include <vector>
22+#include <string>
23
24 // XXX: we currently don't handle lines that are longer than this
25 #define MAX_LINE_LEN 1024
26--
272.20.1
28
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
index de0862599d..86982924a8 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
@@ -1,4 +1,4 @@
1Upstream-Status: Inactive-Upstream [last commits over a decade ago] 1Upstream-Status: Pending
2 2
3From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 3From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001
4From: Laurentiu Palcu <laurentiu.palcu@intel.com> 4From: Laurentiu Palcu <laurentiu.palcu@intel.com>
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb
index 0516928a76..c37b36897b 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb
@@ -4,22 +4,18 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" 4LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a"
5DEPENDS = "virtual/libx11 libxi libxrandr" 5DEPENDS = "virtual/libx11 libxi libxrandr"
6 6
7PV = "0.7.5+git"
8
9inherit autotools pkgconfig features_check 7inherit autotools pkgconfig features_check
10# depends on virtual/libx11
11REQUIRED_DISTRO_FEATURES = "x11" 8REQUIRED_DISTRO_FEATURES = "x11"
12 9
13SRCREV = "18ec53f1cada39f905614ebfaffed5c7754ecf46" 10SRCREV = "970b574b8f7b0d6f2613d343191f47814f2dfaa4"
14SRC_URI = "git://github.com/kreijack/xinput_calibrator.git;branch=libinput;protocol=https \ 11
12SRC_URI = "git://gitlab.freedesktop.org/xorg/app/xinput-calibrator;protocol=https;branch=master;tag=v${PV} \
15 file://30xinput_calibrate.sh \ 13 file://30xinput_calibrate.sh \
16 file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \ 14 file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \
17 file://0001-calibrator.hh-Include-string-to-get-std-string.patch \
18 " 15 "
19 16
20S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
21 18
22# force native X11 ui as we don't have gtk+ in DEPENDS
23EXTRA_OECONF += "--with-gui=x11" 19EXTRA_OECONF += "--with-gui=x11"
24 20
25do_install:append() { 21do_install:append() {