[oe] [meta-oe PATCH v2 4/6] gdal: Add recipe for 1.10.1 version

Martin Jansa martin.jansa at gmail.com
Wed Jan 1 12:36:25 UTC 2014


On Mon, Dec 16, 2013 at 10:30:59PM -0200, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> 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'


> 
>  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
> 
> diff --git a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
> new file mode 100644
> index 0000000..4632944
> --- /dev/null
> +++ b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
> @@ -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"
> -- 
> 1.8.4.3
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140101/0b00897f/attachment-0002.sig>


More information about the Openembedded-devel mailing list