perl: Add auto/XS/Typemap in perl-doc package
PATCH 1/4 perl: Add auto/XS/Typemap in perl-doc package
--- meta/recipes-devtools/perl/perl_5.14.3.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/perl/perl_5.14.3.bb +1 -0
@@ -269,6 +269,7 @@ FILES_${PN}-dbg += "${libdir}/perl/${PV}/auto/*/.debug \ ${libdir}/perl/${PV}/*/*/*/.debug " FILES_${PN}-doc = "${libdir}/perl/${PV}/*/*.txt \ ${libdir}/perl/${PV}/*/*/*.txt \ + ${libdir}/perl/${PV}/auto/XS/Typemap \ ${libdir}/perl/${PV}/B/assemble \ ${libdir}/perl/${PV}/B/cc_harness \ ${libdir}/perl/${PV}/B/disassemble \
Signature · 1 line
1.8.1
PATCH 2/4 dbus: Drop libx11 dependency when building without 'x11' distro feature
--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/dbus/dbus.inc +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""
Signature · 1 line
1.8.1
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 10 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-core/dbus/dbus.inc +0
-0
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 7 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""
This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
I'm not sure we should ever ship dbus-launch with the SDK so perhaps we should just delete it like we now do for the -native version, then we could drop the x11 requirement in all cases.
Cheers,
Richard
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Quoted 3 lines
I'm not sure we should ever ship dbus-launch with the SDK so perhaps we should just delete it like we now do for the -native version, then we could drop the x11 requirement in all cases.
That could be an option (ignore x11 feature for nativesdk) and it does make some sense.
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
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 25 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
Quoted 3 lines
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
Cheers,
Richard
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 26 lines · Richard Purdie
Quoted 25 lines · Otavio Salvador
Quoted 22 lines · Richard Purdie
Quoted 10 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-core/dbus/dbus.inc +0
-0meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 7 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
Quoted 7 lines
Quoted 3 lines
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
You usually to not source the env script and run your X server on top of it, I think. Personally I source it in a terminal session inside of X and use it to build things only.
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
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 32 lines · Otavio Salvador
Quoted 30 lines · Richard Purdie
Quoted 28 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Quoted 7 lines
Quoted 3 lines
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
You usually to not source the env script and run your X server on top of it, I think. Personally I source it in a terminal session inside of X and use it to build things only.
No, but people do open a terminal in X and then source the script there, then run other X applications from within the terminal window. Those X applications can use dbus activation. A dbus-launch without x11 support causes problems in this situation.
Cheers,
Richard
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 37 lines · Richard Purdie
Quoted 36 lines · Otavio Salvador
Quoted 33 lines · Richard Purdie
Quoted 25 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
Quoted 3 lines
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
Quoted 8 lines
Quoted 3 lines
You usually to not source the env script and run your X server on top of it, I think. Personally I source it in a terminal session inside of X and use it to build things only.
No, but people do open a terminal in X and then source the script there, then run other X applications from within the terminal window. Those X applications can use dbus activation. A dbus-launch without x11 support causes problems in this situation.
Yes; got it.
So your idea is to avoid x11 dependency altogether and drop dbus-launch to avoid this errors?
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
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 48 lines · Otavio Salvador
Quoted 37 lines · Richard Purdie
Quoted 36 lines · Otavio Salvador
Quoted 33 lines · Richard Purdie
Quoted 25 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
Quoted 3 lines
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
Quoted 8 lines
Quoted 3 lines
You usually to not source the env script and run your X server on top of it, I think. Personally I source it in a terminal session inside of X and use it to build things only.
No, but people do open a terminal in X and then source the script there, then run other X applications from within the terminal window. Those X applications can use dbus activation. A dbus-launch without x11 support causes problems in this situation.
Quoted 4 lines
Yes; got it.
So your idea is to avoid x11 dependency altogether and drop dbus-launch to avoid this errors?
Yes, I did the same thing with dbus-native for exactly this reason (e.g. X apps from within a devshell). I didn't touch dbus-nativesdk since it has the X dependency and I didn't think it was bothering anyone.
Cheers,
Richard
Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature
Quoted 49 lines · Richard Purdie
Quoted 48 lines · Otavio Salvador
Quoted 45 lines · Richard Purdie
Quoted 32 lines · Otavio Salvador
Quoted 30 lines · Richard Purdie
Quoted 28 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-core/dbus/dbus.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
meta/recipes-core/dbus/dbus.inc LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ · line 13
Quoted 12 lines
meta/recipes-core/dbus/dbus.inc +1
-1@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ X11DEPENDS = "virtual/libx11 libsm" DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" DEPENDS_class-native = "expat-native virtual/libintl-native" -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = ""This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users.
I don't see how it'd break anything being deployed in a toolchain. We don't initialize the dbus daemon so it is mostly used to fulfill dependencies.
Quoted 7 lines
Quoted 3 lines
Imagine you source the toolchain setup script. The limited functionality dbus-launch just got into PATH. Now you run some X application. Things break.
You usually to not source the env script and run your X server on top of it, I think. Personally I source it in a terminal session inside of X and use it to build things only.
No, but people do open a terminal in X and then source the script there, then run other X applications from within the terminal window. Those X applications can use dbus activation. A dbus-launch without x11 support causes problems in this situation.
Quoted 8 lines
Quoted 4 lines
Yes; got it.
So your idea is to avoid x11 dependency altogether and drop dbus-launch to avoid this errors?
Yes, I did the same thing with dbus-native for exactly this reason (e.g. X apps from within a devshell). I didn't touch dbus-nativesdk since it has the X dependency and I didn't think it was bothering anyone.
Ok; will make v2 with this change.
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
PATCH 3/4 libsdl: Use 'virtual/libx11' instead of hardcoding nativesdk-libx11
In reply to Otavio Salvador--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +1 -1
@@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" -DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" PR = "r1"
Signature · 1 line
1.8.1
Re: [PATCH 3/4] libsdl: Use 'virtual/libx11' instead of hardcoding nativesdk-libx11
Quoted 10 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +0
-0
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ · line 19
Quoted 5 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +1
-1@@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" -DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
Don't you mean virtual/nativesdk-libx11 ?
Cheers,
Richard
Re: [PATCH 3/4] libsdl: Use 'virtual/libx11' instead of hardcoding nativesdk-libx11
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ · line 19
Quoted 10 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +1
-1@@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" -DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"Don't you mean virtual/nativesdk-libx11 ?
Other places are using virtual/libx11 so I sticked to it. For me it has worked but I did not change if it'd choose the right package when building with 'x11' (as my project now builds without it).
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
Re: [PATCH 3/4] libsdl: Use 'virtual/libx11' instead of hardcoding nativesdk-libx11
Quoted 21 lines · Otavio Salvador
Quoted 6 lines · Richard Purdie
Quoted 5 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 12 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ · line 19
Quoted 10 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +1
-1@@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" -DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"Don't you mean virtual/nativesdk-libx11 ?
Quoted 1 line
Other places are using virtual/libx11 so I sticked to it.
Other places in nativesdk overrides?
Quoted 3 lines
For me it
has worked but I did not change if it'd choose the right package when building with 'x11' (as my project now builds without it).
That doesn't make it correct.
Cheers,
Richard
Re: [PATCH 3/4] libsdl: Use 'virtual/libx11' instead of hardcoding nativesdk-libx11
Quoted 22 lines · Richard Purdie
Quoted 21 lines · Otavio Salvador
Quoted 18 lines · Richard Purdie
Quoted 10 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +0
-0meta/recipes-graphics/libsdl/libsdl_1.2.15.bb DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ · line 19
Quoted 5 lines
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +1
-1@@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ tslib" -DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" +DEPENDS_class-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"Don't you mean virtual/nativesdk-libx11 ?
Quoted 3 lines
Quoted 1 line
Other places are using virtual/libx11 so I sticked to it.
Other places in nativesdk overrides?
Yes; I can check it again.
Quoted 5 lines
Quoted 3 lines
For me it
has worked but I did not change if it'd choose the right package when building with 'x11' (as my project now builds without it).That doesn't make it correct.
I will check and post v2.
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
PATCH 4/4 qt4-tools: Drop libx11 dependency when building without 'x11' distro feature
In reply to Otavio Salvador--- meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +2 -2
@@ -1,10 +1,10 @@ DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x" -DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native" +DEPENDS = "nativesdk-zlib nativesdk-dbus ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)} qt4-native" SECTION = "libs" HOMEPAGE = "http://qt.nokia.com" LICENSE = "LGPLv2.1 | GPLv3" -INC_PR = "r13" +INC_PR = "r14" FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:"
Signature · 1 line
1.8.1