Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

75
package/tiff/Config.in Normal file
View File

@@ -0,0 +1,75 @@
menuconfig BR2_PACKAGE_TIFF
bool "tiff"
help
Library for handling TIFF (Tag Image File Format) images.
http://simplesystems.org/libtiff/
if BR2_PACKAGE_TIFF
config BR2_PACKAGE_TIFF_CCITT
bool "CCITT Group 3 & 4 support"
default y
config BR2_PACKAGE_TIFF_LIBDEFLATE
bool "Libdeflate usage (still requires Zlib)"
select BR2_PACKAGE_LIBDEFLATE
select BR2_PACKAGE_TIFF_ZLIB
config BR2_PACKAGE_TIFF_PACKBITS
bool "Macintosh PackBits algorithm"
default y
config BR2_PACKAGE_TIFF_LZW
bool "LZW algorithm"
default y
config BR2_PACKAGE_TIFF_THUNDER
bool "ThunderScan 4-bit RLE algorithm"
default y
config BR2_PACKAGE_TIFF_NEXT
bool "NeXT 2-bit RLE algorithm"
default y
config BR2_PACKAGE_TIFF_LOGLUV
bool "LogLuv high dynamic range encoding"
default y
config BR2_PACKAGE_TIFF_MDI
bool "Microsoft Document Imaging"
default y
config BR2_PACKAGE_TIFF_ZLIB
bool "Zlib usage (required for Deflate compression)"
default y
select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_TIFF_XZ
bool "XZ compression"
select BR2_PACKAGE_XZ
config BR2_PACKAGE_TIFF_PIXARLOG
bool "Pixar log-format algorithm (requires Zlib)"
default y
select BR2_PACKAGE_TIFF_ZLIB
config BR2_PACKAGE_TIFF_JPEG
bool "JPEG compression"
default y
select BR2_PACKAGE_JPEG
config BR2_PACKAGE_TIFF_OLD_JPEG
bool "Old JPEG decompression"
default y
config BR2_PACKAGE_TIFF_UTILITIES
bool "tiff utilities"
help
Install all tiff utilities.
config BR2_PACKAGE_TIFF_ZSTD
bool "ZSTD compression"
select BR2_PACKAGE_ZSTD
endif

5
package/tiff/tiff.hash Normal file
View File

@@ -0,0 +1,5 @@
# Locally computed after checking pgp signature
# https://download.osgeo.org/libtiff/tiff-4.7.2.tar.xz.sig
# with key: B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D
sha256 4996f0c4f93094719b1ca5c6279b20e588773ba8a247533e486416fb662ddb88 tiff-4.7.2.tar.xz
sha256 0e27c2382d7b8147972bbb746e04059a1152c8d0fda9d03ef1399d1a433c4ade LICENSE.md

121
package/tiff/tiff.mk Normal file
View File

@@ -0,0 +1,121 @@
################################################################################
#
# tiff
#
################################################################################
TIFF_VERSION = 4.7.2
TIFF_SOURCE = tiff-$(TIFF_VERSION).tar.xz
TIFF_SITE = https://download.osgeo.org/libtiff
TIFF_LICENSE = tiff license
TIFF_LICENSE_FILES = LICENSE.md
TIFF_CPE_ID_VENDOR = libtiff
TIFF_CPE_ID_PRODUCT = libtiff
TIFF_INSTALL_STAGING = YES
# webp has a (optional) dependency on tiff, so we can't have webp
# support in tiff, or that would create a circular dependency.
TIFF_CONF_OPTS = \
--disable-contrib \
--disable-lerc \
--disable-jbig \
--disable-tests \
--disable-webp
TIFF_DEPENDENCIES = host-pkgconf
HOST_TIFF_CONF_OPTS = \
--disable-cxx \
--disable-zlib \
--disable-lerc \
--disable-libdeflate \
--disable-lzma \
--disable-jbig \
--disable-jpeg \
--disable-tests \
--disable-webp \
--disable-zstd
HOST_TIFF_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
TIFF_CONF_OPTS += --enable-cxx
else
TIFF_CONF_OPTS += --disable-cxx
endif
ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
TIFF_CONF_OPTS += --disable-ccitt
endif
ifeq ($(BR2_PACKAGE_TIFF_LIBDEFLATE),y)
TIFF_CONF_OPTS += --enable-libdeflate
TIFF_DEPENDENCIES += libdeflate
else
TIFF_CONF_OPTS += --disable-libdeflate
endif
ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y)
TIFF_CONF_OPTS += --disable-packbits
endif
ifneq ($(BR2_PACKAGE_TIFF_LZW),y)
TIFF_CONF_OPTS += --disable-lzw
endif
ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y)
TIFF_CONF_OPTS += --disable-thunder
endif
ifneq ($(BR2_PACKAGE_TIFF_NEXT),y)
TIFF_CONF_OPTS += --disable-next
endif
ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y)
TIFF_CONF_OPTS += --disable-logluv
endif
ifneq ($(BR2_PACKAGE_TIFF_MDI),y)
TIFF_CONF_OPTS += --disable-mdi
endif
ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y)
TIFF_CONF_OPTS += --disable-zlib
else
TIFF_DEPENDENCIES += zlib
endif
ifneq ($(BR2_PACKAGE_TIFF_XZ),y)
TIFF_CONF_OPTS += --disable-lzma
else
TIFF_DEPENDENCIES += xz
endif
ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y)
TIFF_CONF_OPTS += --disable-pixarlog
endif
ifneq ($(BR2_PACKAGE_TIFF_JPEG),y)
TIFF_CONF_OPTS += --disable-jpeg
else
TIFF_DEPENDENCIES += jpeg
endif
ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y)
TIFF_CONF_OPTS += --disable-old-jpeg
endif
ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y)
TIFF_CONF_OPTS += --enable-tools
else
TIFF_CONF_OPTS += --disable-tools
endif
ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
TIFF_CONF_OPTS += --enable-zstd
TIFF_DEPENDENCIES += zstd
else
TIFF_CONF_OPTS += --disable-zstd
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))