meta-oe: Drop pointercal-xinput from SIGGEN_EXCLUDERECIPES_ABISAFE
PATCH v2 1/6 meta-oe: Drop pointercal-xinput from SIGGEN_EXCLUDERECIPES_ABISAFE
The pointercal-xinput has been moved to OE-Core so we should handle it here.
---
Changes in v2: None
meta-oe/conf/layer.conf | 1 - 1 file changed, 1 deletion(-)
meta-oe/conf/layer.conf +0 -1
@@ -26,7 +26,6 @@ BBFILE_PRIORITY_openembedded-layer = "6" LICENSE_PATH += "${LAYERDIR}/licenses" SIGGEN_EXCLUDERECIPES_ABISAFE += " \ - pointercal-xinput \ mplayer-common \ fbset-modes \ gpsd-machine-conf \
Signature · 1 line
1.8.4.3
PATCH v2 2/6 proj: Use 'lib_package' class and add data files
---
Changes in v2: None
meta-oe/recipes-navigation/proj/proj_4.8.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-navigation/proj/proj_4.8.0.bb +3 -2
@@ -1,4 +1,4 @@ -DESCRIPTION = "PROJ.4 - Cartographic Projections Library" +SUMMARY = "PROJ.4 - Cartographic Projections library" HOMEPAGE = "http://trac.osgeo.org/proj/" SECTION = "libs"
@@ -9,5 +9,6 @@ SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz" SRC_URI[md5sum] = "d815838c92a29179298c126effbb1537" SRC_URI[sha256sum] = "2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5" -inherit autotools pkgconfig +inherit autotools pkgconfig lib_package +FILES_${PN} += "${datadir}/proj"
Signature · 1 line
1.8.4.3
PATCH v2 3/6 geos: Update to 3.4.2 and rework the packaging
In reply to Otavio SalvadorThis updates to the 3.4.2 release and rework the packaging splitting the C bindings in another binary package to reduce footprint in rootfs; this also moves geos-config to the development package as it should.
---
Changes in v2: None
.../geos-config-Add-includedir-variable.patch | 39 ++++++++++++++++++++++ meta-oe/recipes-navigation/geos/geos.inc | 19 +++++------ meta-oe/recipes-navigation/geos/geos_3.3.2.bb | 7 ---- meta-oe/recipes-navigation/geos/geos_3.4.2.bb | 6 ++++ 4 files changed, 53 insertions(+), 18 deletions(-) create mode 100644 meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch delete mode 100644 meta-oe/recipes-navigation/geos/geos_3.3.2.bb create mode 100644 meta-oe/recipes-navigation/geos/geos_3.4.2.bb
meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001 +From: Otavio Salvador <[email protected]> +Date: Mon, 2 Dec 2013 11:33:26 -0200 +Subject: [PATCH] geos-config: Add includedir variable + +This fixes cross-compile as it is easier to mangle the includedir +during sysroot generation. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador <[email protected]> +--- + tools/geos-config.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/geos-config.in b/tools/geos-config.in +index 9b45b5f..1749892 100644 +--- a/tools/geos-config.in ++++ b/tools/geos-config.in +@@ -1,6 +1,7 @@ + #!/bin/sh + prefix=@prefix@ + exec_prefix=@exec_prefix@ ++includedir=@includedir@ + libdir=@libdir@ + + usage() +@@ -38,7 +39,7 @@ case $1 in + echo @VERSION@ + ;; + --cflags) +- echo -I${prefix}/include ++ echo -I${includedir} + ;; + --libs) + # TODO: make an alias for --clibs +-- +1.7.10.4 +
meta-oe/recipes-navigation/geos/geos.inc +8 -11
@@ -2,20 +2,17 @@ DESCRIPTION = "GEOS - Geometry Engine, Open Source" HOMEPAGE = "http://trac.osgeo.org/geos/" SECTION = "libs" -INC_PR = "r1" - LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2" -inherit autotools pkgconfig +inherit autotools pkgconfig binconfig + +PACKAGES =+ "geoslib ${PN}-c1" + +DESCRIPTION_${PN}lib = "Geometry engine for Geographic Information Systems - C++ Library" +FILES_${PN}lib += "${libdir}/libgeos-${PV}.so" -# libgeos-${PV}.so is needed in PV -FILES_SOLIBSDEV = "" -FILES_${PN}-dev = "${libdir}/*.la \ - ${libdir}/libgeos.so \ - ${libdir}/libgeos_c.so \ - ${includedir}" -FILES_${PN} += " ${libdir}/libgeos-${PV}.so" -INSANE_SKIP_${PN} = "dev-so" +DESCRIPTION_${PN}-c1 = "Geometry engine for Geographic Information Systems - C Library" +FILES_${PN}-c1 += "${libdir}/libgeos_c.so.*"
meta-oe/recipes-navigation/geos/geos_3.3.2.bb deleted +0 -7
@@ -1,7 +0,0 @@ -require geos.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "5b7270c73fd1c516f368af8fd1962323" -SRC_URI[sha256sum] = "ec64d3a92540a1618aa3b91dc1235caae1c370ec23afd59a2734062bf182ed5b" -
meta-oe/recipes-navigation/geos/geos_3.4.2.bb new file +6 -0
@@ -0,0 +1,6 @@ +require geos.inc + +SRC_URI += "file://geos-config-Add-includedir-variable.patch" + +SRC_URI[md5sum] = "fc5df2d926eb7e67f988a43a92683bae" +SRC_URI[sha256sum] = "15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53"
Signature · 1 line
1.8.4.3
PATCH v2 4/6 gdal: Add recipe for 1.10.1 version
In reply to Otavio Salvador---
Changes in v2: None
meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 105 +++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb new file +105 -0
@@ -0,0 +1,105 @@ +DESCRIPTION = "GDAL is a translator library for raster geospatial data formats" +HOMEPAGE = "http://www.gdal.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b9bd75ae5af7ff87ab259be0121c4106" + +DEPENDS = "proj sqlite3" + +SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${P}.tar.xz" + +SRC_URI[md5sum] = "f354c614aea76e5630e4edbf06e5c292" +SRC_URI[sha256sum] = "e6c9c6c4480228c943af29120d87435ddfe9ca460458bc60b91639fb8d443791" + +inherit autotools lib_package binconfig + +EXTRA_OECONF = "--without-perl \ + --without-php \ + --without-ruby \ + --without-python \ + \ + --without-grass \ + --without-libgrass \ + --without-cfitsio \ + --without-dds \ + --without-gta \ + --without-pcidsk \ + --without-ogdi \ + --without-fme \ + --without-hdf4 \ + --without-hdf5 \ + --without-pg \ + --without-jpeg12 \ + --without-ogdi \ + --without-netcdf \ + --without-openjpeg \ + --without-fgdb \ + --without-ecw \ + --without-kakadu \ + --without-mrsid \ + --without-jp2mrsid \ + --without-mrsid_lidar \ + --without-msg \ + --without-bsb \ + --without-grib \ + --without-mysql \ + --without-ingres \ + --without-odbc \ + --without-dods_root \ + --without-xml2 \ + --without-spatialite \ + --without-pcre \ + --without-dwgdirect \ + --without-dwgdirect \ + --without-idb \ + --without-sde \ + --without-sde-version \ + --without-epsilon \ + --without-webp \ + --without-opencl \ + --without-opencl-include \ + --without-opencl-lib \ + --without-freexl \ + --without-pam \ + --without-poppler \ + --without-podofo \ + --without-podofo-lib \ + --without-podofo-extra-lib-for-test \ + --without-static_proj4 \ + --without-perl \ + --without-php \ + --without-ruby \ + --without-python \ + --without-java \ + --without-mdb \ + --without-jvm-lib \ + --without-jvm-lib-add-rpath \ + --without-rasdaman \ + --without-armadillo \ + \ + --with-pcraster=internal \ + --with-geotiff=internal \ +" + +EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal"" + +PACKAGECONFIG ?= "geos png jasper" +PACKAGECONFIG[geos] = "--with-geos,--without-geos,geos" +PACKAGECONFIG[lzma] = "--with-liblzma,--without-liblzma,xz" +PACKAGECONFIG[png] = "--with-png,--without-png,libpng" +PACKAGECONFIG[tiff] = "--with-libtiff,--without-tiff,tiff" +PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib" +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg" +PACKAGECONFIG[z] = "--with-libz,--without-libz,zlib" +PACKAGECONFIG[jasper] = "--with-jasper,--without-jasper,jasper" +PACKAGECONFIG[curl] = "--with-curl,--without-curl,curl" + +do_configure_prepend () { + # The configure script has many hardcoded paths to search + # for the library headers when using external libraries, + # workaround it. + sed -e 's,/usr/include,NON_EXISTENT_DIR,g' \ + -e 's,/usr/lib,NON_EXISTENT_DIR,g' \ + -i ${S}/configure.in +} + +FILES_${PN} += "${libdir}/gdalplugins"
Signature · 1 line
1.8.4.3
Re: [meta-oe PATCH v2 4/6] gdal: Add recipe for 1.10.1 version
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
Changes in v2: None
Please fix following error detected in:
http://jenkins.nas-admin.org/job/oe_shr-image-all_tmpfs_qemuarm/173/consoleFull
ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/gdal-1.10.1'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/temp/log.do_configure.883
NOTE: recipe gdal-1.10.1-r0: task do_configure: Failed
ERROR: Task 14201 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb, do_configure) failed with exit code '1'
Quoted 123 lines
meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 105 +++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 meta-oe/recipes-navigation/gdal/gdal_1.10.1.bbmeta-oe/recipes-navigation/gdal/gdal_1.10.1.bb new file +105
-0@@ -0,0 +1,105 @@ +DESCRIPTION = "GDAL is a translator library for raster geospatial data formats" +HOMEPAGE = "http://www.gdal.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b9bd75ae5af7ff87ab259be0121c4106" + +DEPENDS = "proj sqlite3" + +SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${P}.tar.xz" + +SRC_URI[md5sum] = "f354c614aea76e5630e4edbf06e5c292" +SRC_URI[sha256sum] = "e6c9c6c4480228c943af29120d87435ddfe9ca460458bc60b91639fb8d443791" + +inherit autotools lib_package binconfig + +EXTRA_OECONF = "--without-perl \ + --without-php \ + --without-ruby \ + --without-python \ + \ + --without-grass \ + --without-libgrass \ + --without-cfitsio \ + --without-dds \ + --without-gta \ + --without-pcidsk \ + --without-ogdi \ + --without-fme \ + --without-hdf4 \ + --without-hdf5 \ + --without-pg \ + --without-jpeg12 \ + --without-ogdi \ + --without-netcdf \ + --without-openjpeg \ + --without-fgdb \ + --without-ecw \ + --without-kakadu \ + --without-mrsid \ + --without-jp2mrsid \ + --without-mrsid_lidar \ + --without-msg \ + --without-bsb \ + --without-grib \ + --without-mysql \ + --without-ingres \ + --without-odbc \ + --without-dods_root \ + --without-xml2 \ + --without-spatialite \ + --without-pcre \ + --without-dwgdirect \ + --without-dwgdirect \ + --without-idb \ + --without-sde \ + --without-sde-version \ + --without-epsilon \ + --without-webp \ + --without-opencl \ + --without-opencl-include \ + --without-opencl-lib \ + --without-freexl \ + --without-pam \ + --without-poppler \ + --without-podofo \ + --without-podofo-lib \ + --without-podofo-extra-lib-for-test \ + --without-static_proj4 \ + --without-perl \ + --without-php \ + --without-ruby \ + --without-python \ + --without-java \ + --without-mdb \ + --without-jvm-lib \ + --without-jvm-lib-add-rpath \ + --without-rasdaman \ + --without-armadillo \ + \ + --with-pcraster=internal \ + --with-geotiff=internal \ +" + +EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal"" + +PACKAGECONFIG ?= "geos png jasper" +PACKAGECONFIG[geos] = "--with-geos,--without-geos,geos" +PACKAGECONFIG[lzma] = "--with-liblzma,--without-liblzma,xz" +PACKAGECONFIG[png] = "--with-png,--without-png,libpng" +PACKAGECONFIG[tiff] = "--with-libtiff,--without-tiff,tiff" +PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib" +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg" +PACKAGECONFIG[z] = "--with-libz,--without-libz,zlib" +PACKAGECONFIG[jasper] = "--with-jasper,--without-jasper,jasper" +PACKAGECONFIG[curl] = "--with-curl,--without-curl,curl" + +do_configure_prepend () { + # The configure script has many hardcoded paths to search + # for the library headers when using external libraries, + # workaround it. + sed -e 's,/usr/include,NON_EXISTENT_DIR,g' \ + -e 's,/usr/lib,NON_EXISTENT_DIR,g' \ + -i ${S}/configure.in +} + +FILES_${PN} += "${libdir}/gdalplugins"Signature · 6 lines
1.8.4.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe PATCH v2 4/6] gdal: Add recipe for 1.10.1 version
Hello Martin,
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
Changes in v2: NonePlease fix following error detected in:
http://jenkins.nas-admin.org/job/oe_shr-image-all_tmpfs_qemuarm/173/consoleFull
Quoted 11 lines
ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/gdal-1.10.1'
ERROR: Function failed:do_qa_configure
ERROR: Logfile of failure stored in:/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/temp/log.do_configure.883
NOTE: recipe gdal-1.10.1-r0: taskdo_configure: Failed
ERROR: Task 14201 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb,do_configure) failed with exit code '1'
Can you send me the full log? I failed to identify what causes it.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [meta-oe PATCH v2 4/6] gdal: Add recipe for 1.10.1 version
Quoted 23 lines · Otavio Salvador
Hello Martin,
Quoted 8 lines · Martin Jansa
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
Changes in v2: NonePlease fix following error detected in:
http://jenkins.nas-admin.org/job/oe_shr-image-all_tmpfs_qemuarm/173/consoleFullQuoted 11 lines
ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/gdal-1.10.1'
ERROR: Function failed:do_qa_configure
ERROR: Logfile of failure stored in:/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/temp/log.do_configure.883
NOTE: recipe gdal-1.10.1-r0: taskdo_configure: Failed
ERROR: Task 14201 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb,do_configure) failed with exit code '1'
Quoted 1 line
Can you send me the full log? I failed to identify what causes it.
It's already gone running another build but next time I see it I'll try to keep the log.
Quoted 5 lines
Signature · 4 lines
-- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe PATCH v2 4/6] gdal: Add recipe for 1.10.1 version
Quoted 24 lines · Martin Jansa
Quoted 23 lines · Otavio Salvador
Hello Martin,
Quoted 19 lines · Martin Jansa
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
Changes in v2: NonePlease fix following error detected in:
http://jenkins.nas-admin.org/job/oe_shr-image-all_tmpfs_qemuarm/173/consoleFullERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/gdal-1.10.1'
ERROR: Function failed:do_qa_configure
ERROR: Logfile of failure stored in:/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdal/1.10.1-r0/temp/log.do_configure.883
NOTE: recipe gdal-1.10.1-r0: taskdo_configure: Failed
ERROR: Task 14201 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb,do_configure) failed with exit code '1'
Quoted 4 lines
Quoted 1 line
Can you send me the full log? I failed to identify what causes it.
It's already gone running another build but next time I see it I'll try to keep the log.
configure:25255: $? = 0
configure:25264: result: yes
configure:25338: checking for SQLite3 library >= 3.0.0
configure:25374: i586-oe-linux-g++ -m32 -march=i586 --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemux86 -c -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -msse -DHAVE_SSE_AT_COMPILE_TIME -I/usr/include conftest.cpp >&5
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemux86/usr/include/stdc-predef.h:30:0,
from <command-line>:0: /usr/include/bits/predefs.h:20:3: error: #error "Never use <bits/predefs.h> directly; include <features.h> instead." # error "Never use <bits/predefs.h> directly; include <features.h> instead." ^ configure:25374: $? = 1
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH v2 5/6 ntfs-3g-ntfsprogs: Fix runtime dependency for development package
In reply to Otavio SalvadorThe -dev has a runtime dependency against ${PN} which is empty; we allow it to be empty to satisfy the dependency instead of mangingling the -dev dependencies.
---
Changes in v2: None
.../ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb +3 -0
@@ -34,3 +34,6 @@ do_install_append() { # when called. Add the symbolic to let mount could find ntfs. ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs } + +# Satisfy the -dev runtime dependency +ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.8.4.3
PATCH v2 6/6 geos: Fix -dev installation and upgrade path
In reply to Otavio SalvadorUsing 'lib_package' renames the binaries and we need a transitional package to be used as upgrade path. This is done using an empty 'geos' package which installs the new ones as runtime dependency.
This same package is used to satisfy -dev dependency of geos package allowing for its inclusion into SDK.
---
Changes in v2:
- new patch
meta-oe/recipes-navigation/geos/geos.inc | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-navigation/geos/geos.inc +3 -0
@@ -16,3 +16,6 @@ FILES_${PN}lib += "${libdir}/libgeos-${PV}.so" DESCRIPTION_${PN}-c1 = "Geometry engine for Geographic Information Systems - C Library" FILES_${PN}-c1 += "${libdir}/libgeos_c.so.*" + +ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN} += "geoslib ${PN}-c1"
Signature · 1 line
1.8.4.3