Patchwork [05/17] libtiff: Setting RECIPE_TYPES

login
register
mail settings
Submitter Kim Bøndergaard
Date Oct. 4, 2013, 1:24 p.m.
Message ID <b6f12b0bc4497c30ef1a89be2c3a31edb9bb6274.1380892944.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/280602/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Kim Bøndergaard - Oct. 4, 2013, 1:24 p.m.
---
 recipes/libtiff/tiff.inc | 2 ++
 1 file changed, 2 insertions(+)
Esben Haabendal - Oct. 14, 2013, 2:43 p.m.
Kim Bøndergaard <kibo@prevas.dk> writes:

> ---
>  recipes/libtiff/tiff.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes/libtiff/tiff.inc b/recipes/libtiff/tiff.inc
> index cd027d1..45e97f2 100644
> --- a/recipes/libtiff/tiff.inc
> +++ b/recipes/libtiff/tiff.inc
> @@ -2,6 +2,8 @@ DESCRIPTION = "This software provides support for the Tag Image File Format (TIF
>  LICENSE = "BSD-2-Clause*"
>  HOMEPAGE = "http://www.remotesensing.org/libtiff/"
>  
> +RECIPE_TYPES = "machine native"

Why do you need to build libtiff for native?

> +
>  SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz"
>  
>  inherit autotools c++

/Esben
Kim Bøndergaard Poulsen - Nov. 6, 2013, 7:30 a.m.
That's an error. libtiff is not needed as native.
You want a new push or do you fix'it in the patch?

/Kim
Kim Bøndergaard Poulsen - Nov. 6, 2013, 8:51 a.m.
Sorry - this is currently not an error.

gtk+ (which I have previously tryed to upload) does depend on libtiff, and gtk+ depends on a native:gtk+ package.

But putting more effort into it, it might very well be possible to limit the native:gtk+ build to not depend on libtiff

/Kim
Esben Haabendal - Nov. 27, 2013, 12:26 p.m.
Kim Bøndergaard Poulsen <Kim.BondergaardPoulsen@prevas.dk> writes:

> Sorry - this is currently not an error.
>
> gtk+ (which I have previously tryed to upload) does depend on libtiff,
> and gtk+ depends on a native:gtk+ package.
>
> But putting more effort into it, it might very well be possible to
> limit the native:gtk+ build to not depend on libtiff

Ok, I'll merge this then.  But it would be nice to get rid of libtiff
dependency in native:gtk+.

/Esben

Patch

diff --git a/recipes/libtiff/tiff.inc b/recipes/libtiff/tiff.inc
index cd027d1..45e97f2 100644
--- a/recipes/libtiff/tiff.inc
+++ b/recipes/libtiff/tiff.inc
@@ -2,6 +2,8 @@  DESCRIPTION = "This software provides support for the Tag Image File Format (TIF
 LICENSE = "BSD-2-Clause*"
 HOMEPAGE = "http://www.remotesensing.org/libtiff/"
 
+RECIPE_TYPES = "machine native"
+
 SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz"
 
 inherit autotools c++