* [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
@ 2012-07-16 11:20 Koen Kooi
2012-07-16 11:37 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2012-07-16 11:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
It picks up host qmake and breaks the build.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
.../v4l-utils/0001-disable-qv4l2-build.patch | 39 ++++++++++++++++++++
.../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb | 6 ++-
2 files changed, 44 insertions(+), 1 deletion(-)
create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
new file mode 100644
index 0000000..4b11038
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
@@ -0,0 +1,39 @@
+From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Mon, 16 Jul 2012 12:00:34 +0200
+Subject: [PATCH] disable qv4l2 build
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ utils/Makefile | 15 ---------------
+ 1 files changed, 0 insertions(+), 15 deletions(-)
+
+diff --git a/utils/Makefile b/utils/Makefile
+index 014b82d..db74851 100644
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -5,21 +5,6 @@ all install:
+ $(MAKE) -C $$i $@ || exit 1; \
+ done
+
+- # Test whether qmake is installed, and whether it is for qt4.
+- @if which qmake-qt4 >/dev/null 2>&1; then \
+- QMAKE=qmake-qt4; \
+- else \
+- QMAKE=qmake; \
+- fi; \
+- if which $$QMAKE >/dev/null 2>&1; then \
+- if $$QMAKE --version 2>&1 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' >/dev/null; then \
+- if [ ! -f qv4l2/Makefile ]; then \
+- (cd qv4l2 && $$QMAKE) || exit 1; \
+- fi; \
+- $(MAKE) -C qv4l2 -f Makefile.install $@; \
+- fi \
+- fi
+-
+ sync-with-kernel:
+ $(MAKE) -C keytable $@
+ $(MAKE) -C v4l2-dbg $@
+--
+1.7.7.6
+
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
index 18f361f..e5d1fc2 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
@@ -3,12 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
+PR = "r1"
+
DEPENDS = "jpeg"
# libv4l was absorbed into this, let OE know that
PROVIDES = "libv4l"
-SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git"
+SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \
+ file://0001-disable-qv4l2-build.patch \
+ "
# 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
SRCREV = "54f16ca8183dd8ae8bf4ccc07949795aff0301f5"
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
2012-07-16 11:20 [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build Koen Kooi
@ 2012-07-16 11:37 ` Gary Thomas
2012-07-16 11:51 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2012-07-16 11:37 UTC (permalink / raw)
To: openembedded-devel
On 2012-07-16 05:20, Koen Kooi wrote:
> It picks up host qmake and breaks the build.
Does it still break if you have QT in your image? If not, then perhaps
this could be made conditional rather than just removed.
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> .../v4l-utils/0001-disable-qv4l2-build.patch | 39 ++++++++++++++++++++
> .../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb | 6 ++-
> 2 files changed, 44 insertions(+), 1 deletion(-)
> create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
>
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
> new file mode 100644
> index 0000000..4b11038
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch
> @@ -0,0 +1,39 @@
> +From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001
> +From: Koen Kooi <koen@dominion.thruhere.net>
> +Date: Mon, 16 Jul 2012 12:00:34 +0200
> +Subject: [PATCH] disable qv4l2 build
> +
> +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> +---
> + utils/Makefile | 15 ---------------
> + 1 files changed, 0 insertions(+), 15 deletions(-)
> +
> +diff --git a/utils/Makefile b/utils/Makefile
> +index 014b82d..db74851 100644
> +--- a/utils/Makefile
> ++++ b/utils/Makefile
> +@@ -5,21 +5,6 @@ all install:
> + $(MAKE) -C $$i $@ || exit 1; \
> + done
> +
> +- # Test whether qmake is installed, and whether it is for qt4.
> +- @if which qmake-qt4 >/dev/null 2>&1; then \
> +- QMAKE=qmake-qt4; \
> +- else \
> +- QMAKE=qmake; \
> +- fi; \
> +- if which $$QMAKE >/dev/null 2>&1; then \
> +- if $$QMAKE --version 2>&1 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' >/dev/null; then \
> +- if [ ! -f qv4l2/Makefile ]; then \
> +- (cd qv4l2 && $$QMAKE) || exit 1; \
> +- fi; \
> +- $(MAKE) -C qv4l2 -f Makefile.install $@; \
> +- fi \
> +- fi
> +-
> + sync-with-kernel:
> + $(MAKE) -C keytable $@
> + $(MAKE) -C v4l2-dbg $@
> +--
> +1.7.7.6
> +
> diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> index 18f361f..e5d1fc2 100644
> --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
> @@ -3,12 +3,16 @@ LICENSE = "GPLv2 & LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
> file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
>
> +PR = "r1"
> +
> DEPENDS = "jpeg"
>
> # libv4l was absorbed into this, let OE know that
> PROVIDES = "libv4l"
>
> -SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git"
> +SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git \
> + file://0001-disable-qv4l2-build.patch \
> + "
> # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
> SRCREV = "54f16ca8183dd8ae8bf4ccc07949795aff0301f5"
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
2012-07-16 11:37 ` Gary Thomas
@ 2012-07-16 11:51 ` Koen Kooi
0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2012-07-16 11:51 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 16-07-12 13:37, Gary Thomas schreef:
> On 2012-07-16 05:20, Koen Kooi wrote:
>> It picks up host qmake and breaks the build.
>
> Does it still break if you have QT in your image?
Yes, but image contents are irrelevant.
> If not, then perhaps this could be made conditional rather than just
> removed.
As said above, image contents are irrelevant, only DEPENDS matter.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQBAA5MkyGM64RGpERAunzAJ4hqATX7m/a1tY5C1gcdM8nBE8y9wCgsoPt
IuLMq7qMY51wc+dyZ9bGDis=
=TXNl
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-16 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-16 11:20 [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build Koen Kooi
2012-07-16 11:37 ` Gary Thomas
2012-07-16 11:51 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.