diff options
7 files changed, 47 insertions, 41 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch index 74130949f6..eb294b3fb4 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2d6bfa75b2e16b4d764f1bf00bb902fb4b5e507b Mon Sep 17 00:00:00 2001 | 1 | From 67a6e919b8263d6d2b7150e62f26fb06bbc526ef Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 27 Feb 2015 21:55:36 +0000 | 3 | Date: Fri, 27 Feb 2015 21:55:36 +0000 |
4 | Subject: [PATCH] Revert "media-ctl: Don't install libmediactl and | 4 | Subject: [PATCH] Revert "media-ctl: Don't install libmediactl and |
@@ -10,6 +10,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
10 | 10 | ||
11 | Conflicts: | 11 | Conflicts: |
12 | utils/media-ctl/Makefile.am | 12 | utils/media-ctl/Makefile.am |
13 | |||
13 | --- | 14 | --- |
14 | utils/media-ctl/Makefile.am | 10 +++------- | 15 | utils/media-ctl/Makefile.am | 10 +++------- |
15 | 1 file changed, 3 insertions(+), 7 deletions(-) | 16 | 1 file changed, 3 insertions(+), 7 deletions(-) |
@@ -40,6 +41,3 @@ index ee7dcc9..d11fa2e 100644 | |||
40 | mediactl_includedir=$(includedir)/mediactl | 41 | mediactl_includedir=$(includedir)/mediactl |
41 | noinst_HEADERS = mediactl.h v4l2subdev.h | 42 | noinst_HEADERS = mediactl.h v4l2subdev.h |
42 | 43 | ||
43 | -- | ||
44 | 2.9.3 | ||
45 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch index 54161f90fc..12609d30e2 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 806822f5acb756d5acda0f9063c84b28b38b3ffb Mon Sep 17 00:00:00 2001 | 1 | From 75372b8088c20474497b79ec6cf1e99f2d17f56d Mon Sep 17 00:00:00 2001 |
2 | From: Ismo Puustinen <ismo.puustinen@intel.com> | 2 | From: Ismo Puustinen <ismo.puustinen@intel.com> |
3 | Date: Mon, 3 Apr 2017 13:23:38 +0300 | 3 | Date: Mon, 3 Apr 2017 13:23:38 +0300 |
4 | Subject: [PATCH v4l-utils] buildsystem: do not assume building in source tree. | 4 | Subject: [PATCH] buildsystem: do not assume building in source tree. |
5 | 5 | ||
6 | Use $(top_srcdir) as reference for include paths and buildtime scripts. | 6 | Use $(top_srcdir) as reference for include paths and buildtime scripts. |
7 | Otherwise compilation outside of project root directory will fail | 7 | Otherwise compilation outside of project root directory will fail |
@@ -12,6 +12,7 @@ To reproduce: mkdir b; cd b; ../configure; make | |||
12 | Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275] | 12 | Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275] |
13 | 13 | ||
14 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | 14 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> |
15 | |||
15 | --- | 16 | --- |
16 | utils/cec-compliance/Makefile.am | 2 +- | 17 | utils/cec-compliance/Makefile.am | 2 +- |
17 | utils/cec-ctl/Makefile.am | 2 +- | 18 | utils/cec-ctl/Makefile.am | 2 +- |
@@ -22,7 +23,7 @@ Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | |||
22 | 6 files changed, 7 insertions(+), 7 deletions(-) | 23 | 6 files changed, 7 insertions(+), 7 deletions(-) |
23 | 24 | ||
24 | diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am | 25 | diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am |
25 | index ec5de51..8331aa0 100644 | 26 | index f05fe6c..f7d1535 100644 |
26 | --- a/utils/cec-compliance/Makefile.am | 27 | --- a/utils/cec-compliance/Makefile.am |
27 | +++ b/utils/cec-compliance/Makefile.am | 28 | +++ b/utils/cec-compliance/Makefile.am |
28 | @@ -7,7 +7,7 @@ cec_compliance_LDFLAGS = -lrt | 29 | @@ -7,7 +7,7 @@ cec_compliance_LDFLAGS = -lrt |
@@ -35,10 +36,10 @@ index ec5de51..8331aa0 100644 | |||
35 | cec-compliance.cpp: version.h | 36 | cec-compliance.cpp: version.h |
36 | 37 | ||
37 | diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am | 38 | diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am |
38 | index 0a7ef22..6afb6c9 100644 | 39 | index 4a6eae5..570a070 100644 |
39 | --- a/utils/cec-ctl/Makefile.am | 40 | --- a/utils/cec-ctl/Makefile.am |
40 | +++ b/utils/cec-ctl/Makefile.am | 41 | +++ b/utils/cec-ctl/Makefile.am |
41 | @@ -7,7 +7,7 @@ cec_ctl_LDFLAGS = -lrt | 42 | @@ -6,7 +6,7 @@ cec_ctl_SOURCES = cec-ctl.cpp |
42 | cec-ctl.cpp: cec-ctl-gen.h | 43 | cec-ctl.cpp: cec-ctl-gen.h |
43 | 44 | ||
44 | cec-ctl-gen.h: msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h | 45 | cec-ctl-gen.h: msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h |
@@ -48,7 +49,7 @@ index 0a7ef22..6afb6c9 100644 | |||
48 | clean-local: | 49 | clean-local: |
49 | -rm -vf cec-ctl-gen.h | 50 | -rm -vf cec-ctl-gen.h |
50 | diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am | 51 | diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am |
51 | index 538edb2..fdbf3d9 100644 | 52 | index d8ad292..e3553eb 100644 |
52 | --- a/utils/cec-follower/Makefile.am | 53 | --- a/utils/cec-follower/Makefile.am |
53 | +++ b/utils/cec-follower/Makefile.am | 54 | +++ b/utils/cec-follower/Makefile.am |
54 | @@ -7,12 +7,12 @@ cec_follower_LDFLAGS = -lrt | 55 | @@ -7,12 +7,12 @@ cec_follower_LDFLAGS = -lrt |
@@ -65,7 +66,7 @@ index 538edb2..fdbf3d9 100644 | |||
65 | + $(top_srcdir)/utils/cec-ctl/msg2ctl.pl 2 $(top_srcdir)/include/linux/cec.h $(top_srcdir)/include/linux/cec-funcs.h >$@ | 66 | + $(top_srcdir)/utils/cec-ctl/msg2ctl.pl 2 $(top_srcdir)/include/linux/cec.h $(top_srcdir)/include/linux/cec-funcs.h >$@ |
66 | 67 | ||
67 | version.h: | 68 | version.h: |
68 | @if git rev-parse HEAD >/dev/null 2>&1; then \ | 69 | @if git show-ref -s HEAD >/dev/null 2>&1; then \ |
69 | diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am | 70 | diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am |
70 | index fd58486..ccd1a2a 100644 | 71 | index fd58486..ccd1a2a 100644 |
71 | --- a/utils/qv4l2/Makefile.am | 72 | --- a/utils/qv4l2/Makefile.am |
@@ -80,7 +81,7 @@ index fd58486..ccd1a2a 100644 | |||
80 | if WITH_QTGL | 81 | if WITH_QTGL |
81 | qv4l2_CPPFLAGS += $(QTGL_CFLAGS) | 82 | qv4l2_CPPFLAGS += $(QTGL_CFLAGS) |
82 | diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am | 83 | diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am |
83 | index 03db8df..18b9892 100644 | 84 | index c2b5919..fb8d12e 100644 |
84 | --- a/utils/v4l2-compliance/Makefile.am | 85 | --- a/utils/v4l2-compliance/Makefile.am |
85 | +++ b/utils/v4l2-compliance/Makefile.am | 86 | +++ b/utils/v4l2-compliance/Makefile.am |
86 | @@ -5,7 +5,7 @@ DEFS := | 87 | @@ -5,7 +5,7 @@ DEFS := |
@@ -105,6 +106,3 @@ index 955647d..825e53f 100644 | |||
105 | 106 | ||
106 | if WITH_V4L2_CTL_LIBV4L | 107 | if WITH_V4L2_CTL_LIBV4L |
107 | v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la -lrt -lpthread | 108 | v4l2_ctl_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la -lrt -lpthread |
108 | -- | ||
109 | 2.9.3 | ||
110 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch index f1e11da3fd..82fc3e120f 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From e60aea50e41ae8a17672beb5859beecb66e7a305 Mon Sep 17 00:00:00 2001 | 1 | From b2efcc20617d6317f74c4acb2a6af5b765f20b34 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 14 Jul 2017 13:11:25 -0700 | 3 | Date: Fri, 14 Jul 2017 13:11:25 -0700 |
4 | Subject: [PATCH 1/3] ir-ctl: Define TEMP_FAILURE_RETRY if undefined | 4 | Subject: [PATCH] ir-ctl: Define TEMP_FAILURE_RETRY if undefined |
5 | 5 | ||
6 | use strndup() instead of strndupa() which is not | 6 | use strndup() instead of strndupa() which is not |
7 | universally available in C libraries | 7 | universally available in C libraries |
@@ -9,6 +9,7 @@ universally available in C libraries | |||
9 | Taken from AlpineLinux | 9 | Taken from AlpineLinux |
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | utils/ir-ctl/ir-ctl.c | 14 +++++++++++++- | 14 | utils/ir-ctl/ir-ctl.c | 14 +++++++++++++- |
14 | 1 file changed, 13 insertions(+), 1 deletion(-) | 15 | 1 file changed, 13 insertions(+), 1 deletion(-) |
@@ -50,6 +51,3 @@ index bc58cee..1a44011 100644 | |||
50 | 51 | ||
51 | if (!strtoscancode(p + 1, &scancode)) { | 52 | if (!strtoscancode(p + 1, &scancode)) { |
52 | fprintf(stderr, _("error: invalid scancode '%s'\n"), p + 1); | 53 | fprintf(stderr, _("error: invalid scancode '%s'\n"), p + 1); |
53 | -- | ||
54 | 2.13.3 | ||
55 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch index 2fb4057ec0..a779a307d7 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch | |||
@@ -1,11 +1,12 @@ | |||
1 | From b3acc4c6407f9553f32582a9aee6a11b5fcd1d8a Mon Sep 17 00:00:00 2001 | 1 | From 49f865a17d62db7bbd333a9b83fadeea55686e35 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 14 Jul 2017 13:17:19 -0700 | 3 | Date: Fri, 14 Jul 2017 13:17:19 -0700 |
4 | Subject: [PATCH 2/3] contrib/test: Link mc_nextgen_test with libargp if needed | 4 | Subject: [PATCH] contrib/test: Link mc_nextgen_test with libargp if needed |
5 | 5 | ||
6 | musl depends on external argp implementation e.g. | 6 | musl depends on external argp implementation e.g. |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | contrib/test/Makefile.am | 2 +- | 11 | contrib/test/Makefile.am | 2 +- |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
@@ -23,6 +24,3 @@ index 4641e21..e47b948 100644 | |||
23 | 24 | ||
24 | 25 | ||
25 | ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h | 26 | ioctl_test_SOURCES = ioctl-test.c ioctl-test.h ioctl_32.h ioctl_64.h |
26 | -- | ||
27 | 2.13.3 | ||
28 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch index 0a986ae5d8..5b84af2c32 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From d04aa6866cbea57c4a81b033cd60586a9436ac6b Mon Sep 17 00:00:00 2001 | 1 | From f7a4b79b3323534460a63b3e6c58ebaf06adf207 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 14 Jul 2017 13:20:05 -0700 | 3 | Date: Fri, 14 Jul 2017 13:20:05 -0700 |
4 | Subject: [PATCH 3/3] v4l2-ctl: Do not use getsubopt | 4 | Subject: [PATCH] v4l2-ctl: Do not use getsubopt |
5 | 5 | ||
6 | POSIX says that behavior when subopts list is empty is undefined. | 6 | POSIX says that behavior when subopts list is empty is undefined. |
7 | musl libs will set value to NULL which leads to crash. | 7 | musl libs will set value to NULL which leads to crash. |
@@ -9,6 +9,7 @@ musl libs will set value to NULL which leads to crash. | |||
9 | Taken from AlpineLinux | 9 | Taken from AlpineLinux |
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | utils/v4l2-ctl/v4l2-ctl-common.cpp | 19 ++++++++++--------- | 14 | utils/v4l2-ctl/v4l2-ctl-common.cpp | 19 ++++++++++--------- |
14 | 1 file changed, 10 insertions(+), 9 deletions(-) | 15 | 1 file changed, 10 insertions(+), 9 deletions(-) |
@@ -44,6 +45,3 @@ index 3ea6cd3..291fb3e 100644 | |||
44 | } | 45 | } |
45 | 46 | ||
46 | void common_cmd(int ch, char *optarg) | 47 | void common_cmd(int ch, char *optarg) |
47 | -- | ||
48 | 2.13.3 | ||
49 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/export-mediactl-headers.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/export-mediactl-headers.patch index c610e7e488..55a5cdc8a1 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/export-mediactl-headers.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/export-mediactl-headers.patch | |||
@@ -1,9 +1,17 @@ | |||
1 | Index: v4l-utils-1.6.2/utils/media-ctl/Makefile.am | 1 | From b82e509c10659a4647961a6da3adf4d285dea2dd Mon Sep 17 00:00:00 2001 |
2 | =================================================================== | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | --- v4l-utils-1.6.2.orig/utils/media-ctl/Makefile.am | 3 | Date: Sun, 1 Mar 2015 22:25:07 +0000 |
4 | +++ v4l-utils-1.6.2/utils/media-ctl/Makefile.am | 4 | |
5 | @@ -4,8 +4,8 @@ libmediactl_la_CFLAGS = $(LIBUDEV_CFLAGS | 5 | --- |
6 | libmediactl_la_LDFLAGS = $(LIBUDEV_LIBS) | 6 | utils/media-ctl/Makefile.am | 4 ++-- |
7 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
8 | |||
9 | diff --git a/utils/media-ctl/Makefile.am b/utils/media-ctl/Makefile.am | ||
10 | index 7c520a2..748353d 100644 | ||
11 | --- a/utils/media-ctl/Makefile.am | ||
12 | +++ b/utils/media-ctl/Makefile.am | ||
13 | @@ -17,8 +17,8 @@ CLEANFILES = $(BUILT_SOURCES) | ||
14 | nodist_libv4l2subdev_la_SOURCES = $(BUILT_SOURCES) | ||
7 | libv4l2subdev_la_SOURCES = libv4l2subdev.c | 15 | libv4l2subdev_la_SOURCES = libv4l2subdev.c |
8 | libv4l2subdev_la_LIBADD = libmediactl.la | 16 | libv4l2subdev_la_LIBADD = libmediactl.la |
9 | -mediactl_includedir=$(includedir)/mediactl | 17 | -mediactl_includedir=$(includedir)/mediactl |
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/mediactl-pkgconfig.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/mediactl-pkgconfig.patch index 34fb3cf238..9fcf61165b 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/mediactl-pkgconfig.patch +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/mediactl-pkgconfig.patch | |||
@@ -1,8 +1,16 @@ | |||
1 | Index: v4l-utils-1.6.2/utils/media-ctl/Makefile.am | 1 | From 480c04ac6a9d11bfef9d4aca073052fdcee4fdea Mon Sep 17 00:00:00 2001 |
2 | =================================================================== | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | --- v4l-utils-1.6.2.orig/utils/media-ctl/Makefile.am | 3 | Date: Sun, 1 Mar 2015 22:25:07 +0000 |
4 | +++ v4l-utils-1.6.2/utils/media-ctl/Makefile.am | 4 | |
5 | @@ -7,6 +7,7 @@ libv4l2subdev_la_LIBADD = libmediactl.la | 5 | --- |
6 | utils/media-ctl/Makefile.am | 1 + | ||
7 | 1 file changed, 1 insertion(+) | ||
8 | |||
9 | diff --git a/utils/media-ctl/Makefile.am b/utils/media-ctl/Makefile.am | ||
10 | index d11fa2e..7c520a2 100644 | ||
11 | --- a/utils/media-ctl/Makefile.am | ||
12 | +++ b/utils/media-ctl/Makefile.am | ||
13 | @@ -20,6 +20,7 @@ libv4l2subdev_la_LIBADD = libmediactl.la | ||
6 | mediactl_includedir=$(includedir)/mediactl | 14 | mediactl_includedir=$(includedir)/mediactl |
7 | noinst_HEADERS = mediactl.h v4l2subdev.h | 15 | noinst_HEADERS = mediactl.h v4l2subdev.h |
8 | 16 | ||