summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-04-07 17:12:42 -0700
committerArmin Kuster <akuster808@gmail.com>2018-04-13 12:43:41 -0700
commitfc6530b935a9f697e1f44e4abf55c6825e877690 (patch)
tree14566ac087b6b4b1d1dde80dc3d06795cbf0d84e /meta-oe
parenta7318f33e876d94e81d11f03ca030f10440d18d3 (diff)
downloadmeta-openembedded-fc6530b935a9f697e1f44e4abf55c6825e877690.tar.gz
v4l-utils: refresh patches
WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file utils/cec-compliance/Makefile.am checking file utils/cec-ctl/Makefile.am Hunk #1 succeeded at 6 (offset -1 lines). checking file utils/cec-follower/Makefile.am Hunk #1 succeeded at 7 with fuzz 1. checking file utils/qv4l2/Makefile.am checking file utils/v4l2-compliance/Makefile.am checking file utils/v4l2-ctl/Makefile.am and more Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-Revert-media-ctl-Don-t-install-libmediactl-and-libv4.patch6
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-buildsystem-do-not-assume-building-in-source-tree.patch20
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-ir-ctl-Define-TEMP_FAILURE_RETRY-if-undefined.patch8
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-contrib-test-Link-mc_nextgen_test-with-libargp-if-ne.patch8
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch8
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/export-mediactl-headers.patch20
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/mediactl-pkgconfig.patch18
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 74130949f..eb294b3fb 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 @@
1From 2d6bfa75b2e16b4d764f1bf00bb902fb4b5e507b Mon Sep 17 00:00:00 2001 1From 67a6e919b8263d6d2b7150e62f26fb06bbc526ef Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 27 Feb 2015 21:55:36 +0000 3Date: Fri, 27 Feb 2015 21:55:36 +0000
4Subject: [PATCH] Revert "media-ctl: Don't install libmediactl and 4Subject: [PATCH] Revert "media-ctl: Don't install libmediactl and
@@ -10,6 +10,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 10
11Conflicts: 11Conflicts:
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--
442.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 54161f90f..12609d30e 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 @@
1From 806822f5acb756d5acda0f9063c84b28b38b3ffb Mon Sep 17 00:00:00 2001 1From 75372b8088c20474497b79ec6cf1e99f2d17f56d Mon Sep 17 00:00:00 2001
2From: Ismo Puustinen <ismo.puustinen@intel.com> 2From: Ismo Puustinen <ismo.puustinen@intel.com>
3Date: Mon, 3 Apr 2017 13:23:38 +0300 3Date: Mon, 3 Apr 2017 13:23:38 +0300
4Subject: [PATCH v4l-utils] buildsystem: do not assume building in source tree. 4Subject: [PATCH] buildsystem: do not assume building in source tree.
5 5
6Use $(top_srcdir) as reference for include paths and buildtime scripts. 6Use $(top_srcdir) as reference for include paths and buildtime scripts.
7Otherwise compilation outside of project root directory will fail 7Otherwise compilation outside of project root directory will fail
@@ -12,6 +12,7 @@ To reproduce: mkdir b; cd b; ../configure; make
12Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275] 12Upstream-status: Accepted [https://git.linuxtv.org//v4l-utils.git/commit/?id=bd98c9a99bffc8d44c54859345e4dfee0ada4275]
13 13
14Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> 14Signed-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
24diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am 25diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am
25index ec5de51..8331aa0 100644 26index 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
37diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am 38diff --git a/utils/cec-ctl/Makefile.am b/utils/cec-ctl/Makefile.am
38index 0a7ef22..6afb6c9 100644 39index 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
50diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am 51diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am
51index 538edb2..fdbf3d9 100644 52index 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 \
69diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am 70diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
70index fd58486..ccd1a2a 100644 71index 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)
82diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am 83diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am
83index 03db8df..18b9892 100644 84index 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--
1092.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 f1e11da3f..82fc3e120 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 @@
1From e60aea50e41ae8a17672beb5859beecb66e7a305 Mon Sep 17 00:00:00 2001 1From b2efcc20617d6317f74c4acb2a6af5b765f20b34 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 13:11:25 -0700 3Date: Fri, 14 Jul 2017 13:11:25 -0700
4Subject: [PATCH 1/3] ir-ctl: Define TEMP_FAILURE_RETRY if undefined 4Subject: [PATCH] ir-ctl: Define TEMP_FAILURE_RETRY if undefined
5 5
6use strndup() instead of strndupa() which is not 6use strndup() instead of strndupa() which is not
7universally available in C libraries 7universally available in C libraries
@@ -9,6 +9,7 @@ universally available in C libraries
9Taken from AlpineLinux 9Taken from AlpineLinux
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-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--
542.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 2fb4057ec..a779a307d 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 @@
1From b3acc4c6407f9553f32582a9aee6a11b5fcd1d8a Mon Sep 17 00:00:00 2001 1From 49f865a17d62db7bbd333a9b83fadeea55686e35 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 13:17:19 -0700 3Date: Fri, 14 Jul 2017 13:17:19 -0700
4Subject: [PATCH 2/3] contrib/test: Link mc_nextgen_test with libargp if needed 4Subject: [PATCH] contrib/test: Link mc_nextgen_test with libargp if needed
5 5
6musl depends on external argp implementation e.g. 6musl depends on external argp implementation e.g.
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-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--
272.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 0a986ae5d..5b84af2c3 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 @@
1From d04aa6866cbea57c4a81b033cd60586a9436ac6b Mon Sep 17 00:00:00 2001 1From f7a4b79b3323534460a63b3e6c58ebaf06adf207 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 13:20:05 -0700 3Date: Fri, 14 Jul 2017 13:20:05 -0700
4Subject: [PATCH 3/3] v4l2-ctl: Do not use getsubopt 4Subject: [PATCH] v4l2-ctl: Do not use getsubopt
5 5
6POSIX says that behavior when subopts list is empty is undefined. 6POSIX says that behavior when subopts list is empty is undefined.
7musl libs will set value to NULL which leads to crash. 7musl 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.
9Taken from AlpineLinux 9Taken from AlpineLinux
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-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--
482.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 c610e7e48..55a5cdc8a 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 @@
1Index: v4l-utils-1.6.2/utils/media-ctl/Makefile.am 1From b82e509c10659a4647961a6da3adf4d285dea2dd Mon Sep 17 00:00:00 2001
2=================================================================== 2From: Khem Raj <raj.khem@gmail.com>
3--- v4l-utils-1.6.2.orig/utils/media-ctl/Makefile.am 3Date: 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
9diff --git a/utils/media-ctl/Makefile.am b/utils/media-ctl/Makefile.am
10index 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 34fb3cf23..9fcf61165 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 @@
1Index: v4l-utils-1.6.2/utils/media-ctl/Makefile.am 1From 480c04ac6a9d11bfef9d4aca073052fdcee4fdea Mon Sep 17 00:00:00 2001
2=================================================================== 2From: Khem Raj <raj.khem@gmail.com>
3--- v4l-utils-1.6.2.orig/utils/media-ctl/Makefile.am 3Date: 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
9diff --git a/utils/media-ctl/Makefile.am b/utils/media-ctl/Makefile.am
10index 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