udev: consolekit package requires x11
PATCH v2 1/1 udev: consolekit package requires x11
* consolekit fails to build without x11, so drop the runtime dependency on consolekit if x11 is unavailable.
---v1->v2: Instead of removing the package, drop the runtime
dependency on consolekit.
meta-oe/recipes-core/udev/udev_173.bb | 2 +- meta-oe/recipes-core/udev/udev_175.bb | 2 +- meta-oe/recipes-core/udev/udev_181.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-core/udev/udev_173.bb +1 -1
@@ -81,7 +81,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug" FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}" do_install () { install -d ${D}${usrsbindir} \
meta-oe/recipes-core/udev/udev_175.bb +1 -1
@@ -77,7 +77,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug" FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}" do_install () { install -d ${D}${usrsbindir} \
meta-oe/recipes-core/udev/udev_181.bb +1 -1
@@ -73,7 +73,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug" FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}" FILES_udev-utils = "${bindir}/udevadm"
Signature · 1 line
1.7.5.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 05-03-12 23:35, Andreas Oberritter schreef:
Quoted 6 lines
* consolekit fails to build without x11, so drop the runtime dependency on consolekit if x11 is unavailable.
Signed-off-by Andreas Oberritter <[email protected]> --- v1->v2:Instead of removing the package, drop the runtime dependency on consolekit.
It's only missing a PR bump now :)
regards,
Koen
Quoted 34 lines
meta-oe/recipes-core/udev/udev_173.bb | 2 +- meta-oe/recipes-core/udev/udev_175.bb | 2 +- meta-oe/recipes-core/udev/udev_181.bb | 2 +- 3 files changed, 3insertions(+), 3 deletions(-)
(quoted diff) +0
-0b/meta-oe/recipes-core/udev/udev_173.bb index e4e634a..a111f11 100644 --- a/meta-oe/recipes-core/udev/udev_173.bb +++ b/meta-oe/recipes-core/udev/udev_173.bb @@ -81,7 +81,7 @@ FILES_${PN} += "
/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install() { install -d ${D}${usrsbindir} \ diff --git a/meta-oe/recipes-core/udev/udev_175.bb b/meta-oe/recipes-core/udev/udev_175.bb index b6484d9..114dbe9 100644 --- a/meta-oe/recipes-core/udev/udev_175.bb +++ b/meta-oe/recipes-core/udev/udev_175.bb @@ -77,7 +77,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install() { install -d ${D}${usrsbindir} \ diff --git a/meta-oe/recipes-core/udev/udev_181.bb b/meta-oe/recipes-core/udev/udev_181.bb index 1e0a02a..5e27706 100644 --- a/meta-oe/recipes-core/udev/udev_181.bb +++ b/meta-oe/recipes-core/udev/udev_181.bb @@ -73,7 +73,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
Quoted 6 lines
FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
FILES_udev-utils = "${bindir}/udevadm"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk9V0N8ACgkQMkyGM64RGpEd0gCcC49CpgTooJffNtAtfnDqUJhG AzYAnA3AWyRgf+wGGXvHQeYIGlOjvHWM
=Zt3c
-----END PGP SIGNATURE-----
Quoted 9 lines · Koen Kooi
Op 05-03-12 23:35, Andreas Oberritter schreef:
Quoted 6 lines
* consolekit fails to build without x11, so drop the runtime dependency on consolekit if x11 is unavailable.
Signed-off-by Andreas Oberritter <[email protected]> --- v1->v2:Instead of removing the package, drop the runtime dependency on consolekit.
It's only missing a PR bump now :)
I don't thinks so, because with x11 nothing changes and without x11 udev couldn't be built before (this is what the patch addresses).
Albeit, I'm going to send a patch with bumped PRs.
Regards,
Andreas
Quoted 53 lines
regards,
Koen
Quoted 33 lines
meta-oe/recipes-core/udev/udev_173.bb | 2 +- meta-oe/recipes-core/udev/udev_175.bb | 2 +- meta-oe/recipes-core/udev/udev_181.bb | 2 +- 3 files changed, 3insertions(+), 3 deletions(-)
(quoted diff) +0
-0b/meta-oe/recipes-core/udev/udev_173.bb index e4e634a..a111f11 100644 --- a/meta-oe/recipes-core/udev/udev_173.bb +++ b/meta-oe/recipes-core/udev/udev_173.bb @@ -81,7 +81,7 @@ FILES_${PN} += "
/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install() { install -d ${D}${usrsbindir} \ diff --git a/meta-oe/recipes-core/udev/udev_175.bb b/meta-oe/recipes-core/udev/udev_175.bb index b6484d9..114dbe9 100644 --- a/meta-oe/recipes-core/udev/udev_175.bb +++ b/meta-oe/recipes-core/udev/udev_175.bb @@ -77,7 +77,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install() { install -d ${D}${usrsbindir} \ diff --git a/meta-oe/recipes-core/udev/udev_181.bb b/meta-oe/recipes-core/udev/udev_181.bb index 1e0a02a..5e27706 100644 --- a/meta-oe/recipes-core/udev/udev_181.bb +++ b/meta-oe/recipes-core/udev/udev_181.bb @@ -73,7 +73,7 @@ FILES_${PN} += "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"Quoted 5 lines
FILES_${PN}-consolekit += "${libdir}/ConsoleKit" -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
FILES_udev-utils = "${bindir}/udevadm"
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 4 lines · Andreas Oberritter
I don't thinks so, because with x11 nothing changes and without x11 udev couldn't be built before (this is what the patch addresses).
Albeit, I'm going to send a patch with bumped PRs.
I think it is always safe to bump PR so it can trigger, if it is the case, a regression as soon as possible otherwise a subtle change chan break stuff and being unnoticed for loooong time.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Quoted 9 lines · Otavio Salvador
Quoted 4 lines · Andreas Oberritter
I don't thinks so, because with x11 nothing changes and without x11 udev couldn't be built before (this is what the patch addresses).
Albeit, I'm going to send a patch with bumped PRs.
I think it is always safe to bump PR so it can trigger, if it is the case, a regression as soon as possible otherwise a subtle change chan break stuff and being unnoticed for loooong time.
Well, I don't share your opinion, but I guess it would save quite some of my time submitting patches if I just blindly bumped every PR, no matter whether the patch changes existing packages or not.
AFAIR, modified content of packages was the main criterion for PR bumps in OE-classic.
Regards,
Andreas
Quoted 2 lines · Andreas Oberritter
AFAIR, modified content of packages was the main criterion for PR bumps in OE-classic.
And sometimes content can change in subtle ways and being unnoticed for loong time.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br