gdal: Use external TIFF support
The TIFF support cannot be disabled so prefer to depends on 'tiff' and use external by default.
Signed-off-by Otavio Salvador <[email protected]>
--- meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb +2 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gdal.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b9bd75ae5af7ff87ab259be0121c4106" -DEPENDS = "proj sqlite3" +DEPENDS = "proj sqlite3 tiff" SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${P}.tar.xz"
@@ -82,6 +82,7 @@ EXTRA_OECONF = "--without-perl \ --with-geotiff=internal \ \ --with-sqlite3=${STAGING_LIBDIR} \ + --with-libtiff=${STAGING_LIBDIR} \ " EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal""
@@ -90,7 +91,6 @@ 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"
Signature · 1 line
1.7.10.4
Quoted 2 lines · Otavio Salvador
The TIFF support cannot be disabled so prefer to depends on 'tiff' and use external by default.
I haven't looked at configure script, but isn't it only caused by typo in PACKAGECONFIG?
--without-tiff
instead of
--without-libtiff (to match --with variant)?
Quoted 42 lines
Signed-off-by Otavio Salvador <[email protected]>--- meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb +2
-2@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gdal.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b9bd75ae5af7ff87ab259be0121c4106" -DEPENDS = "proj sqlite3" +DEPENDS = "proj sqlite3 tiff" SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${P}.tar.xz"@@ -82,6 +82,7 @@ EXTRA_OECONF = "--without-perl \ --with-geotiff=internal \ \ --with-sqlite3=${STAGING_LIBDIR} \ + --with-libtiff=${STAGING_LIBDIR} \ " EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal""@@ -90,7 +91,6 @@ 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"Signature · 6 lines
1.7.10.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 10 lines · Martin Jansa
Quoted 2 lines · Otavio Salvador
The TIFF support cannot be disabled so prefer to depends on 'tiff' and use external by default.
I haven't looked at configure script, but isn't it only caused by typo in PACKAGECONFIG?
--without-tiff
instead of
--without-libtiff (to match --with variant)?
The configure.in force it to be internal in case it does not find it. This seems to be the safest route for 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