All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] gdal: Use external TIFF support
@ 2014-01-13 19:10 Otavio Salvador
  2014-01-13 20:29 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2014-01-13 19:10 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

The TIFF support cannot be disabled so prefer to depends on 'tiff' and
use external by default.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
index 4ce5d33..5b461bf 100644
--- a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
+++ b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
@@ -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"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe] gdal: Use external TIFF support
  2014-01-13 19:10 [meta-oe] gdal: Use external TIFF support Otavio Salvador
@ 2014-01-13 20:29 ` Martin Jansa
  2014-01-13 20:36   ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-01-13 20:29 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]

On Mon, Jan 13, 2014 at 05:10:09PM -0200, Otavio Salvador wrote:
> 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)?

> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
> index 4ce5d33..5b461bf 100644
> --- a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
> +++ b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
> @@ -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"
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe] gdal: Use external TIFF support
  2014-01-13 20:29 ` Martin Jansa
@ 2014-01-13 20:36   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2014-01-13 20:36 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OpenEmbedded Devel List

On Mon, Jan 13, 2014 at 6:29 PM, Martin Jansa <martin.jansa@gmail.com>wrote:

> On Mon, Jan 13, 2014 at 05:10:09PM -0200, Otavio Salvador wrote:
> > 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.

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-13 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 19:10 [meta-oe] gdal: Use external TIFF support Otavio Salvador
2014-01-13 20:29 ` Martin Jansa
2014-01-13 20:36   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.