diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-06-06 15:28:21 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-09 17:43:41 +0100 |
| commit | 444371bee60db595f47515132900587e833b1160 (patch) | |
| tree | bdb117cfa458c40462f8c1a691ffb67c185a2023 /meta/recipes-graphics | |
| parent | 3306e1eaf12c057a1d5da1086fd18f3490fe4c5e (diff) | |
| download | poky-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.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch | 2 | ||||
| -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 @@ | |||
| 1 | From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 29 Jan 2019 22:40:24 -0800 | ||
| 4 | Subject: [PATCH] calibrator.hh: Include <string> to get std::string | ||
| 5 | |||
| 6 | Found with libc++ | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | src/calibrator.hh | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/src/calibrator.hh b/src/calibrator.hh | ||
| 15 | index 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 | -- | ||
| 27 | 2.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 @@ | |||
| 1 | Upstream-Status: Inactive-Upstream [last commits over a decade ago] | 1 | Upstream-Status: Pending |
| 2 | 2 | ||
| 3 | From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 | 3 | From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 |
| 4 | From: Laurentiu Palcu <laurentiu.palcu@intel.com> | 4 | From: 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" | |||
| 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" | 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" |
| 5 | DEPENDS = "virtual/libx11 libxi libxrandr" | 5 | DEPENDS = "virtual/libx11 libxi libxrandr" |
| 6 | 6 | ||
| 7 | PV = "0.7.5+git" | ||
| 8 | |||
| 9 | inherit autotools pkgconfig features_check | 7 | inherit autotools pkgconfig features_check |
| 10 | # depends on virtual/libx11 | ||
| 11 | REQUIRED_DISTRO_FEATURES = "x11" | 8 | REQUIRED_DISTRO_FEATURES = "x11" |
| 12 | 9 | ||
| 13 | SRCREV = "18ec53f1cada39f905614ebfaffed5c7754ecf46" | 10 | SRCREV = "970b574b8f7b0d6f2613d343191f47814f2dfaa4" |
| 14 | SRC_URI = "git://github.com/kreijack/xinput_calibrator.git;branch=libinput;protocol=https \ | 11 | |
| 12 | SRC_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 | ||
| 20 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 21 | 18 | ||
| 22 | # force native X11 ui as we don't have gtk+ in DEPENDS | ||
| 23 | EXTRA_OECONF += "--with-gui=x11" | 19 | EXTRA_OECONF += "--with-gui=x11" |
| 24 | 20 | ||
| 25 | do_install:append() { | 21 | do_install:append() { |
