Move buildroot to bsp directory.

This commit is contained in:
2016-11-16 22:05:33 +01:00
parent 317c040ea8
commit 807ab03547
7408 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
From 1f9c2ebc9c65e8ce7fdbece55d578cf00c6c4b46 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
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 <bernd.kuhls@t-online.de>
---
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

View File

@@ -0,0 +1,39 @@
From 0f2507bfe30f2df10dfc38b94cdfde5594902b8e Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Fri, 12 Feb 2016 10:00:12 +0100
Subject: [PATCH] libraw_x3f.cpp: remove Byte order mark
The U+FEFF character, which is a Byte order mark, at the beginning of
libraw_x3f.cpp, prevents gcc 4.3.x from building this file:
src/../internal/libraw_x3f.cpp:1: error: stray '\357' in program
src/../internal/libraw_x3f.cpp:1: error: stray '\273' in program
src/../internal/libraw_x3f.cpp:1: error: stray '\277' in program
Support in gcc for the Byte order mark has been added in gcc
4.4.x. Since anyway this Byte order mark is not useful, we simply
remove it.
See https://en.wikipedia.org/wiki/Byte_order_mark for more details.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Submitted upstream at:
https://github.com/LibRaw/LibRaw/pull/61
internal/libraw_x3f.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/libraw_x3f.cpp b/internal/libraw_x3f.cpp
index dbf28c1..67047ab 100644
--- a/internal/libraw_x3f.cpp
+++ b/internal/libraw_x3f.cpp
@@ -1,4 +1,4 @@
-/* Library for accessing X3F Files
+/* Library for accessing X3F Files
----------------------------------------------------------------
BSD-style License
----------------------------------------------------------------
--
2.6.4

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_LIBRAW
bool "libraw"
depends on BR2_INSTALL_LIBSTDCPP
help
libraw is a raw image manipulation library
http://www.libraw.org/
comment "libraw needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1 LibRaw-0.17.1.tar.gz

View File

@@ -0,0 +1,43 @@
################################################################################
#
# libraw
#
################################################################################
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-openmp \
--disable-demosaic-pack-gpl2 \
--disable-demosaic-pack-gpl3
LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010
LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README
LIBRAW_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_JASPER),y)
LIBRAW_CONF_OPTS += --enable-jasper
LIBRAW_DEPENDENCIES += jasper
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
ifeq ($(BR2_PACKAGE_LCMS2),y)
LIBRAW_CONF_OPTS += --enable-lcms
LIBRAW_DEPENDENCIES += lcms2 host-pkgconf
else
LIBRAW_CONF_OPTS += --disable-lcms
endif
$(eval $(autotools-package))