diff options
4 files changed, 46 insertions, 15 deletions
diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_git.bb index f686779f9f..784485052d 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_git.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_git.bb | |||
@@ -17,8 +17,9 @@ SRC_URI = "git://github.com/kraxel/fbida;protocol=https;branch=master \ | |||
17 | file://fbida-gcc10.patch \ | 17 | file://fbida-gcc10.patch \ |
18 | file://0001-meson.build-install-fbgs-shell-script.patch \ | 18 | file://0001-meson.build-install-fbgs-shell-script.patch \ |
19 | file://0002-meson.build-add-features-options-for-png-gif-tiff-we.patch \ | 19 | file://0002-meson.build-add-features-options-for-png-gif-tiff-we.patch \ |
20 | file://0003-meson.build-do-not-require-xkbcommon.patch \ | ||
20 | " | 21 | " |
21 | SRCREV = "ac9005bf0bbf50f14dc1b368be5084c8e0510a5d" | 22 | SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" |
22 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
23 | 24 | ||
24 | inherit meson pkgconfig features_check | 25 | inherit meson pkgconfig features_check |
diff --git a/meta-oe/recipes-graphics/fbida/files/0001-meson.build-install-fbgs-shell-script.patch b/meta-oe/recipes-graphics/fbida/files/0001-meson.build-install-fbgs-shell-script.patch index 06ec5dfd81..d686def3d2 100644 --- a/meta-oe/recipes-graphics/fbida/files/0001-meson.build-install-fbgs-shell-script.patch +++ b/meta-oe/recipes-graphics/fbida/files/0001-meson.build-install-fbgs-shell-script.patch | |||
@@ -3,6 +3,8 @@ From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | |||
3 | Date: Fri, 9 Sep 2022 09:32:22 +0200 | 3 | Date: Fri, 9 Sep 2022 09:32:22 +0200 |
4 | Subject: [PATCH] meson.build: install fbgs shell script | 4 | Subject: [PATCH] meson.build: install fbgs shell script |
5 | 5 | ||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | ||
6 | --- | 8 | --- |
7 | meson.build | 3 +++ | 9 | meson.build | 3 +++ |
8 | 1 file changed, 3 insertions(+) | 10 | 1 file changed, 3 insertions(+) |
@@ -11,7 +13,7 @@ diff --git a/meson.build b/meson.build | |||
11 | index cbed982..2129896 100644 | 13 | index cbed982..2129896 100644 |
12 | --- a/meson.build | 14 | --- a/meson.build |
13 | +++ b/meson.build | 15 | +++ b/meson.build |
14 | @@ -124,6 +124,9 @@ executable('fbpdf', | 16 | @@ -126,6 +126,9 @@ executable('fbpdf', |
15 | sources : fbpdf_srcs, | 17 | sources : fbpdf_srcs, |
16 | dependencies : fbpdf_deps, | 18 | dependencies : fbpdf_deps, |
17 | install : true) | 19 | install : true) |
@@ -19,8 +21,8 @@ index cbed982..2129896 100644 | |||
19 | + install_dir : get_option('bindir'), | 21 | + install_dir : get_option('bindir'), |
20 | + install_mode : 'rwxr--r--') | 22 | + install_mode : 'rwxr--r--') |
21 | 23 | ||
22 | # build kbdtest | 24 | # build fbcon |
23 | executable('kbdtest', | 25 | fbcon_srcs = [ 'fbcon.c', 'drmtools.c', 'fbtools.c', 'gfx.c', 'vt.c', 'kbd.c' ] |
24 | -- | 26 | -- |
25 | 2.37.3 | 27 | 2.37.3 |
26 | 28 | ||
diff --git a/meta-oe/recipes-graphics/fbida/files/0002-meson.build-add-features-options-for-png-gif-tiff-we.patch b/meta-oe/recipes-graphics/fbida/files/0002-meson.build-add-features-options-for-png-gif-tiff-we.patch index 92f034c520..fe36fcb7cb 100644 --- a/meta-oe/recipes-graphics/fbida/files/0002-meson.build-add-features-options-for-png-gif-tiff-we.patch +++ b/meta-oe/recipes-graphics/fbida/files/0002-meson.build-add-features-options-for-png-gif-tiff-we.patch | |||
@@ -1,9 +1,10 @@ | |||
1 | From fa60c06cadd6acd8abede91e75254e7250a087a3 Mon Sep 17 00:00:00 2001 | 1 | From cdcde5c1fd106a69118dff98118600911392762f Mon Sep 17 00:00:00 2001 |
2 | From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | 2 | From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> |
3 | Date: Fri, 16 Sep 2022 13:40:25 +0200 | 3 | Date: Fri, 16 Sep 2022 16:25:38 +0200 |
4 | Subject: [PATCH] meson.build: add features options for png, gif, tiff, webp, | 4 | Subject: [PATCH] meson.build: add features options for png, gif, tiff, webp, and motif |
5 | and motif | ||
6 | 5 | ||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | ||
7 | --- | 8 | --- |
8 | meson.build | 41 +++++++++++++++++++++++++++-------------- | 9 | meson.build | 41 +++++++++++++++++++++++++++-------------- |
9 | meson_options.txt | 5 +++++ | 10 | meson_options.txt | 5 +++++ |
@@ -12,10 +13,10 @@ Subject: [PATCH] meson.build: add features options for png, gif, tiff, webp, | |||
12 | create mode 100644 meson_options.txt | 13 | create mode 100644 meson_options.txt |
13 | 14 | ||
14 | diff --git a/meson.build b/meson.build | 15 | diff --git a/meson.build b/meson.build |
15 | index cbed982..e66ee48 100644 | 16 | index cd9cc49..b5e3ffc 100644 |
16 | --- a/meson.build | 17 | --- a/meson.build |
17 | +++ b/meson.build | 18 | +++ b/meson.build |
18 | @@ -21,9 +21,9 @@ drm_dep = dependency('libdrm') | 19 | @@ -23,9 +23,9 @@ drm_dep = dependency('libdrm') |
19 | gbm_dep = dependency('gbm') | 20 | gbm_dep = dependency('gbm') |
20 | epoxy_dep = dependency('epoxy') | 21 | epoxy_dep = dependency('epoxy') |
21 | exif_dep = dependency('libexif') | 22 | exif_dep = dependency('libexif') |
@@ -27,9 +28,9 @@ index cbed982..e66ee48 100644 | |||
27 | +webp_dep = dependency('libwebp', required : get_option('webp')) | 28 | +webp_dep = dependency('libwebp', required : get_option('webp')) |
28 | udev_dep = dependency('libudev') | 29 | udev_dep = dependency('libudev') |
29 | input_dep = dependency('libinput') | 30 | input_dep = dependency('libinput') |
30 | 31 | xkb_dep = dependency('xkbcommon') | |
31 | @@ -32,20 +32,20 @@ cc = meson.get_compiler('c') | 32 | @@ -36,20 +36,20 @@ jpeg_dep = cc.find_library('jpeg') |
32 | jpeg_dep = cc.find_library('jpeg') | 33 | util_dep = cc.find_library('util') |
33 | math_dep = cc.find_library('m', required : false) | 34 | math_dep = cc.find_library('m', required : false) |
34 | pcd_dep = cc.find_library('pcd', required : false) | 35 | pcd_dep = cc.find_library('pcd', required : false) |
35 | -gif_dep = cc.find_library('gif', required : false) | 36 | -gif_dep = cc.find_library('gif', required : false) |
@@ -57,7 +58,7 @@ index cbed982..e66ee48 100644 | |||
57 | image_deps = [ jpeg_dep, png_dep, tiff_dep, | 58 | image_deps = [ jpeg_dep, png_dep, tiff_dep, |
58 | pcd_dep, gif_dep, webp_dep ] | 59 | pcd_dep, gif_dep, webp_dep ] |
59 | 60 | ||
60 | @@ -53,11 +53,21 @@ if pcd_dep.found() | 61 | @@ -57,11 +57,21 @@ if pcd_dep.found() |
61 | read_srcs += 'rd/read-pcd.c' | 62 | read_srcs += 'rd/read-pcd.c' |
62 | config.set('HAVE_LIBPCD', true) | 63 | config.set('HAVE_LIBPCD', true) |
63 | endif | 64 | endif |
@@ -81,7 +82,7 @@ index cbed982..e66ee48 100644 | |||
81 | read_srcs += 'rd/read-webp.c' | 82 | read_srcs += 'rd/read-webp.c' |
82 | config.set('HAVE_LIBWEBP', true) | 83 | config.set('HAVE_LIBWEBP', true) |
83 | endif | 84 | endif |
84 | @@ -153,7 +166,7 @@ ida_srcs = [ 'ida.c', 'man.c', 'hex.c', 'x11.c', 'viewer.c', | 85 | @@ -168,7 +181,7 @@ ida_srcs = [ 'ida.c', 'man.c', 'hex.c', 'x11.c', 'viewer.c', |
85 | ida_deps = [ pixman_dep, exif_dep, image_deps, math_dep, | 86 | ida_deps = [ pixman_dep, exif_dep, image_deps, math_dep, |
86 | motif_dep, xpm_dep, xt_dep, xext_dep, x11_dep ] | 87 | motif_dep, xpm_dep, xt_dep, xext_dep, x11_dep ] |
87 | 88 | ||
diff --git a/meta-oe/recipes-graphics/fbida/files/0003-meson.build-do-not-require-xkbcommon.patch b/meta-oe/recipes-graphics/fbida/files/0003-meson.build-do-not-require-xkbcommon.patch new file mode 100644 index 0000000000..e769014131 --- /dev/null +++ b/meta-oe/recipes-graphics/fbida/files/0003-meson.build-do-not-require-xkbcommon.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From ec82a194f3454ac203a134c9a99bac6d63095d25 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | ||
3 | Date: Fri, 16 Sep 2022 18:29:03 +0200 | ||
4 | Subject: [PATCH] meson.build: do not require xkbcommon | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com> | ||
8 | --- | ||
9 | meson.build | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/meson.build b/meson.build | ||
13 | index 341939c..b5dab14 100644 | ||
14 | --- a/meson.build | ||
15 | +++ b/meson.build | ||
16 | @@ -26,7 +26,7 @@ tiff_dep = dependency('libtiff-4', required: get_option('tiff')) | ||
17 | webp_dep = dependency('libwebp', required : get_option('webp')) | ||
18 | udev_dep = dependency('libudev') | ||
19 | input_dep = dependency('libinput') | ||
20 | -xkb_dep = dependency('xkbcommon') | ||
21 | +xkb_dep = dependency('xkbcommon', required : false) | ||
22 | tsm_dep = dependency('libtsm', required : false) | ||
23 | |||
24 | # other library deps | ||
25 | -- | ||
26 | 2.37.3 | ||
27 | |||