package/libraw: bump version to 0.17.1
PATCH 1/5 package/libraw: bump version to 0.17.1
Signed-off-by Bernd Kuhls <[email protected]>
--- package/libraw/libraw.hash | 2 +- package/libraw/libraw.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libraw/libraw.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 588caf5324c76240d6370852691e05ac8ef89428ee8d45168f15ce47422bc36b LibRaw-0.13.4.tar.gz +sha256 e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1 LibRaw-0.17.1.tar.gz
package/libraw/libraw.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBRAW_VERSION = 0.13.4 +LIBRAW_VERSION = 0.17.1 LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz LIBRAW_SITE = http://www.libraw.org/data LIBRAW_INSTALL_STAGING = YES
Signature · 1 line
2.7.0.rc3
PATCH 2/5 package/libraw: Remove /usr/local from configure.ac
Build fails with BR2_COMPILER_PARANOID_UNSAFE_PATH=y
Signed-off-by Bernd Kuhls <[email protected]>
--- ...emove-paths-which-break-cross-compilation.patch | 29 ++++++++++++++++++++++ package/libraw/libraw.mk | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 package/libraw/0001-Remove-paths-which-break-cross-compilation.patch
package/libraw/0001-Remove-paths-which-break-cross-compilation.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 1f9c2ebc9c65e8ce7fdbece55d578cf00c6c4b46 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sat, 30 Jan 2016 17:06:04 +0100 +Subject: [PATCH 1/1] Remove paths which break cross-compilation + +Patch sent upstream: https://github.com/LibRaw/LibRaw/pull/57 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + configure.ac | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9bb07b2..78064d9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -16,9 +16,6 @@ AC_SUBST(LIBTOOL_DEPS) + + # Config files to generate + +-CPPFLAGS="$CPPFLAGS -I/usr/local/include" +-LDFLAGS="$LDFLAGS -L/usr/local/lib" +- + AC_CONFIG_FILES([ + Makefile + libraw.pc +-- +2.7.0.rc3 +
package/libraw/libraw.mk +2 -0
@@ -8,6 +8,8 @@ LIBRAW_VERSION = 0.17.1 LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz LIBRAW_SITE = http://www.libraw.org/data LIBRAW_INSTALL_STAGING = YES +# we patch configure.ac +LIBRAW_AUTORECONF = YES LIBRAW_CONF_OPTS += \ --disable-examples \ --disable-lcms \
Signature · 1 line
2.7.0.rc3
PATCH 3/5 package/libraw: add optional support for jasper
In reply to Bernd KuhlsSigned-off-by Bernd Kuhls <[email protected]>
--- package/libraw/libraw.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libraw/libraw.mk +7 -0
@@ -19,4 +19,11 @@ LIBRAW_CONF_OPTS += \ LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010 LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README +ifeq ($(BR2_PACKAGE_JASPER),y) +LIBRAW_CONF_OPTS += --enable-jasper +LIBRAW_DEPENDENCIES += jasper +else +LIBRAW_CONF_OPTS += --disable-jasper +endif + $(eval $(autotools-package))
Signature · 1 line
2.7.0.rc3
PATCH 4/5 package/libraw: add optional support for jpeg
In reply to Bernd KuhlsSigned-off-by Bernd Kuhls <[email protected]>
--- package/libraw/libraw.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libraw/libraw.mk +7 -0
@@ -26,4 +26,11 @@ else LIBRAW_CONF_OPTS += --disable-jasper endif +ifeq ($(BR2_PACKAGE_JPEG),y) +LIBRAW_CONF_OPTS += --enable-jpeg +LIBRAW_DEPENDENCIES += jpeg +else +LIBRAW_CONF_OPTS += --disable-jpeg +endif + $(eval $(autotools-package))
Signature · 1 line
2.7.0.rc3
PATCH 5/5 package/libraw: add optional support for lcms2
In reply to Bernd KuhlsSigned-off-by Bernd Kuhls <[email protected]>
--- package/libraw/libraw.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/libraw/libraw.mk +7 -1
@@ -12,7 +12,6 @@ LIBRAW_INSTALL_STAGING = YES LIBRAW_AUTORECONF = YES LIBRAW_CONF_OPTS += \ --disable-examples \ - --disable-lcms \ --disable-openmp \ --disable-demosaic-pack-gpl2 \ --disable-demosaic-pack-gpl3
@@ -33,4 +32,11 @@ else LIBRAW_CONF_OPTS += --disable-jpeg endif +ifeq ($(BR2_PACKAGE_LCMS2),y) +LIBRAW_CONF_OPTS += --enable-lcms +LIBRAW_DEPENDENCIES += lcms2 +else +LIBRAW_CONF_OPTS += --disable-lcms +endif + $(eval $(autotools-package))
Signature · 1 line
2.7.0.rc3
PATCH 5/5 package/libraw: add optional support for lcms2
Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Signed-off-by Bernd Kuhls <[email protected]>--- package/libraw/libraw.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)package/libraw/libraw.mk +0
-1@@ -12,7 +12,6 @@ LIBRAW_INSTALL_STAGING = YES LIBRAW_AUTORECONF = YES LIBRAW_CONF_OPTS += \ --disable-examples \ - --disable-lcms \ --disable-openmp \ --disable-demosaic-pack-gpl2 \ --disable-demosaic-pack-gpl3
package/libraw/libraw.mk else · line 37
Quoted 6 lines
package/libraw/libraw.mk +3
-0@@ -33,4 +32,11 @@ else LIBRAW_CONF_OPTS += --disable-jpeg endif +ifeq ($(BR2_PACKAGE_LCMS2),y) +LIBRAW_CONF_OPTS += --enable-lcms +LIBRAW_DEPENDENCIES += lcms2
The configure script uses pkg-config to figure out the lcms CFLAGS/LIBS, so we should also depend on host-pkgconf.
Committed series with this fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard