bluez5: remove dependency on libcheck
PATCH 1/3 bluez5: remove dependency on libcheck
It was removed a while back and isn't needed anymore.
--- meta/recipes-connectivity/bluez5/bluez5.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/bluez5/bluez5.inc +1 -1
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" -DEPENDS = "udev dbus-glib glib-2.0 libcheck" +DEPENDS = "udev dbus-glib glib-2.0" PROVIDES += "bluez-hcidump" RPROVIDES_${PN} += "bluez-hcidump"
Signature · 1 line
2.7.4
PATCH 2/3 kbd: build tests only when ptest is enabled
Also include the libcheck dependency only when tests are to be built.
--- meta/recipes-core/kbd/kbd_2.0.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/kbd/kbd_2.0.4.bb +2 -2
@@ -3,7 +3,6 @@ HOMEPAGE = "http://www.kbd-project.org/" # everything minus console-fonts is GPLv2+ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=a5fcc36121d93e1f69d96a313078c8b5" -DEPENDS = "libcheck" inherit autotools gettext ptest pkgconfig
@@ -19,8 +18,9 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ SRC_URI[md5sum] = "c1635a5a83b63aca7f97a3eab39ebaa6" SRC_URI[sha256sum] = "5fd90af6beb225a9bb9b9fb414c090fba53c9a55793e172f508cd43652e59a88" -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam ptest', d)}" PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," +PACKAGECONFIG[ptest] = "--enable-tests, --disable-tests, libcheck" do_compile_ptest() { oe_runmake -C ${B}/tests dumpkeys-fulltable alt-is-meta
Signature · 1 line
2.7.4
PATCH v2 2/3 kbd: build tests only when ptest is enabled
Also include the libcheck dependency only when tests are to be built.
--- meta/recipes-core/kbd/kbd_2.0.4.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-core/kbd/kbd_2.0.4.bb +5 -2
@@ -3,7 +3,6 @@ HOMEPAGE = "http://www.kbd-project.org/" # everything minus console-fonts is GPLv2+ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=a5fcc36121d93e1f69d96a313078c8b5" -DEPENDS = "libcheck" inherit autotools gettext ptest pkgconfig
@@ -19,8 +18,12 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ SRC_URI[md5sum] = "c1635a5a83b63aca7f97a3eab39ebaa6" SRC_URI[sha256sum] = "5fd90af6beb225a9bb9b9fb414c090fba53c9a55793e172f508cd43652e59a88" -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests','', d)} \ + " + PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," +PACKAGECONFIG[tests] = "--enable-tests, --disable-tests, libcheck" do_compile_ptest() { oe_runmake -C ${B}/tests dumpkeys-fulltable alt-is-meta
Signature · 1 line
2.7.4
PATCH 3/3 gstreamer-rtsp-server: remove unnecessary dependencies
In reply to Anuj Mittallibcheck dep was removed from gst-rtsp-server some time back [1].
Disable building of examples and remove dep on libcgroup which was needed, if present, to build only one specific example.
Make building of tests optional.
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +6 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" SECTION = "multimedia" LICENSE = "LGPLv2" -DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base libcheck" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" PNREAL = "gst-rtsp-server"
@@ -16,6 +16,11 @@ S = "${WORKDIR}/${PNREAL}-${PV}" inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc +PACKAGECONFIG ??= "" +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" + +EXTRA_OECONF = "--disable-examples" + # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well LIBV = "1.0" require gst-plugins-package.inc
@@ -26,4 +31,3 @@ delete_pkg_m4_file() { } do_configure[prefuncs] += " delete_pkg_m4_file" -
Signature · 1 line
2.7.4
Re: [PATCH 3/3] gstreamer-rtsp-server: remove unnecessary dependencies
Hi Khem,
Quoted 19 lines · Anuj Mittal
libcheck dep was removed from gst-rtsp-server some time back [1].
Disable building of examples and remove dep on libcgroup which was needed, if present, to build only one specific example.
Make building of tests optional.
Signed-off-by Anuj Mittal <[email protected]>--- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +0
-0
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" · line 6
Quoted 5 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +1
-1@@ -3,7 +3,7 @@ HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" SECTION = "multimedia" LICENSE = "LGPLv2" -DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base libcheck" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
I noticed that you had explicitly added a dependency on libcheck some time back.
Do you by any chance remember what was the error? I may have overlooked something.
Thanks,
Anuj
Quoted 21 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +5
-1PNREAL = "gst-rtsp-server"@@ -16,6 +16,11 @@ S = "${WORKDIR}/${PNREAL}-${PV}" inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc +PACKAGECONFIG ??= "" +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests" + +EXTRA_OECONF = "--disable-examples" + # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well LIBV = "1.0" require gst-plugins-package.inc@@ -26,4 +31,3 @@ delete_pkg_m4_file() { } do_configure[prefuncs] += " delete_pkg_m4_file" -
Re: [PATCH 3/3] gstreamer-rtsp-server: remove unnecessary dependencies
In reply to Anuj MittalQuoted 3 lines · Anuj Mittal
Disable building of examples and remove dep on libcgroup which was needed, if present, to build only one specific example.
Are the examples installed? Might be worth making this a packageconfig.
Quoted 2 lines
Make building of tests optional.
Are the tests installed? If not then we can just disable them globally until someone turns them into a ptests.
Ross
Re: [PATCH 3/3] gstreamer-rtsp-server: remove unnecessary dependencies
Quoted 8 lines · Ross
On 22 February 2018 at 05:45, Anuj Mittal <[email protected] <mailto:[email protected]>> wrote:
Disable building of examples and remove dep on libcgroup which was needed, if present, to build only one specific example.
Are the examples installed? Might be worth making this a packageconfig.
No, they are not installed. Same like gstreamer.
Quoted 7 lines
Make building of tests optional.
Are the tests installed? If not then we can just disable them globally until someone turns them into a ptests.
These are also not installed. Even when it's enabled, it's built when make check is invoked ...
I will disable them in v2 and evaluate later if these can be used as part of a bug that asks for more testing of gstreamer.
Thanks,
Anuj
Quoted 2 lines
Ross
PATCH v2 3/3 gstreamer-rtsp-server: remove unnecessary dependencies
In reply to Anuj Mittallibcheck dep was removed from gst-rtsp-server some time back [1].
Disable building of examples and tests and remove dep on libcgroup which was needed, if present, to build only one specific example.
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +3 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" SECTION = "multimedia" LICENSE = "LGPLv2" -DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base libcheck" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" PNREAL = "gst-rtsp-server"
@@ -16,6 +16,8 @@ S = "${WORKDIR}/${PNREAL}-${PV}" inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc +EXTRA_OECONF = "--disable-examples --disable-tests" + # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well LIBV = "1.0" require gst-plugins-package.inc
Signature · 1 line
2.7.4