perl: Add auto/XS/Typemap in perl-doc package
PATCH v2 1/5 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 v2 2/5 dbus: Drop x11 support from nativesdk
This avoid a libx11 dependency for nativesdk as it is not intended to be run in the toolchain. We also remove the dbus-launch as without x11 support it might case trouble for user
--- meta/recipes-core/dbus/dbus.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta/recipes-core/dbus/dbus.inc +6 -2
@@ -8,11 +8,11 @@ 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" RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = "" -INC_PR = "r5" +INC_PR = "r6" SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ file://tmpdir.patch; \
@@ -126,5 +126,9 @@ do_install_class-native() { do_install_class-nativesdk() { autotools_do_install + + # dbus-launch has no X support so lets not install it in case the host + # has a more featured and useful version + rm -f ${D}${bindir}/dbus-launch } BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.8.1
PATCH v2 3/5 libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11
In reply to Otavio Salvador--- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +2 -2
@@ -16,9 +16,9 @@ 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/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" -PR = "r1" +PR = "r2" SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ file://configure_tweak.patch \
Signature · 1 line
1.8.1
PATCH v2 4/5 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/nativesdk-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
Re: [PATCH v2 4/5] qt4-tools: Drop libx11 dependency when building without 'x11' distro feature
Quoted 13 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +0
-1@@ -1,10 +1,10 @@ DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x" -DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native"
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc line 10
Quoted 10 lines
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +2
-1+DEPENDS = "nativesdk-zlib nativesdk-dbus ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-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}:"
Does this also need a change to the EXTRA_OECONF to ensure that the x11 functionality is disabled by default in the configuration.
Thanks
Sau!
Re: [PATCH v2 4/5] qt4-tools: Drop libx11 dependency when building without 'x11' distro feature
Quoted 25 lines · Saul Wold
Quoted 24 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1@@ -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/nativesdk-libx11', '',d)} qt4-native"
SECTION = "libs"
HOMEPAGE = "http://qt.nokia.com"
LICENSE = "LGPLv2.1 | GPLv3"meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1-INC_PR = "r13" +INC_PR = "r14"
Quoted 6 lines
Quoted 3 lines
FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:"Does this also need a change to the
EXTRA_OECONFto ensure that the x11 functionality is disabled by default in the configuration.
I didn't find this option; it'd be great so we'd ensure it wouldn't link against host x11.
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 v2 4/5] qt4-tools: Drop libx11 dependency when building without 'x11' distro feature
Quoted 33 lines · Otavio Salvador
Quoted 25 lines · Saul Wold
Quoted 24 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1@@ -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/nativesdk-libx11', '',d)} qt4-native"
SECTION = "libs"
HOMEPAGE = "http://qt.nokia.com"
LICENSE = "LGPLv2.1 | GPLv3"meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1-INC_PR = "r13" +INC_PR = "r14"Quoted 6 lines
Quoted 3 lines
FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:"Does this also need a change to the
EXTRA_OECONFto ensure that the x11 functionality is disabled by default in the configuration.
Quoted 2 lines
I didn't find this option; it'd be great so we'd ensure it wouldn't link against host x11.
We need to find or patch that option in otherwise this is not a viable change.
Cheers,
Richard
Re: [PATCH v2 4/5] qt4-tools: Drop libx11 dependency when building without 'x11' distro feature
Quoted 34 lines · Richard Purdie
Quoted 33 lines · Otavio Salvador
Quoted 31 lines · Saul Wold
Quoted 23 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>--- meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1@@ -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/nativesdk-libx11', '',d)} qt4-native"
SECTION = "libs"
HOMEPAGE = "http://qt.nokia.com"
LICENSE = "LGPLv2.1 | GPLv3"meta/recipes-qt/qt4/nativesdk-qt4-tools.inc line 9
Quoted 4 lines
meta/recipes-qt/qt4/nativesdk-qt4-tools.inc +1
-1-INC_PR = "r13" +INC_PR = "r14" FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt4-${PV}:"Does this also need a change to the
EXTRA_OECONFto ensure that the x11 functionality is disabled by default in the configuration.
Quoted 5 lines
Quoted 2 lines
I didn't find this option; it'd be great so we'd ensure it wouldn't link against host x11.
We need to find or patch that option in otherwise this is not a viable change.
Once I finish what I am doing, I will take a look once again.
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 v2 5/5 meta-toolchain-qt.inc: Use CXX when linking
In reply to Otavio SalvadorWe should use CXX compiler when linking objects as done in regular builds inside of OE-Core. This fixes issues we've been seeing in field where we needed to change it byhand so the toolchain could work.
--- meta/recipes-qt/meta/meta-toolchain-qt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-qt/meta/meta-toolchain-qt.inc +1 -1
@@ -12,7 +12,7 @@ toolchain_create_sdk_env_script_append() { echo 'export OE_QMAKE_LDFLAGS="$LDFLAGS"' >> $script echo 'export OE_QMAKE_CC=$CC' >> $script echo 'export OE_QMAKE_CXX=$CXX' >> $script - echo 'export OE_QMAKE_LINK=$LD' >> $script + echo 'export OE_QMAKE_LINK=$CXX' >> $script echo 'export OE_QMAKE_AR=$AR' >> $script echo 'export OE_QMAKE_LIBDIR_QT=${SDKTARGETSYSROOT}/${libdir}' >> $script echo 'export OE_QMAKE_INCDIR_QT=${SDKTARGETSYSROOT}/${includedir}/${QT_DIR_NAME}' >> $script
Signature · 1 line
1.8.1