Patchwork tiff: Make builds deterministic

login
register
mail settings
Submitter Richard Purdie
Date March 28, 2012, 11:21 a.m.
Message ID <1332933682.28414.198.camel@ted>
Download mbox | patch
Permalink /patch/24729/
State Accepted
Commit b6369ed4ea03fb5410f94c1ee646d488bf981987
Headers show

Comments

Richard Purdie - March 28, 2012, 11:21 a.m.
libtiff now depends on lzma which can be obtained from xz and doesn't use lzo.
Previously, libtiff would detect and use lzma if it was present leading to
a number of race conditions including failures in things linking to libtiff
such as ghostscript since lzma could be removed while being rebuild leading
to failures in linking.

This patch corrects the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-multimedia/libtiff/tiff_4.0.1.bb b/meta/recipes-multimedia/libtiff/tiff_4.0.1.bb
index 6fb4163..54c4cbc 100644
--- a/meta/recipes-multimedia/libtiff/tiff_4.0.1.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_4.0.1.bb
@@ -2,8 +2,8 @@  DESCRIPTION = "This software provides support for the Tag Image File Format (TIF
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=34da3db46fab7501992f9615d7e158cf"
 HOMEPAGE = "http://www.remotesensing.org/libtiff/"
-DEPENDS = "zlib jpeg lzo"
-PR = "r0"
+DEPENDS = "zlib jpeg xz"
+PR = "r1"
 
 SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz \
            file://libtool2.patch"