diff --git a/.gitignore b/.gitignore
index 5639a5425e..ac9936c872 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,16 +9,15 @@
# prebuild target binarys to provide
/target/
-# scripts for getting and packing source packages
-/tools/mkpkg/*
-!/tools/mkpkg/mkpkg_*
-
# mkpkg temp
mkpkg-temp
# private working directory
/.work/
+# dedicated filesystem
+/lost+found/
+
# symlinks...
/sources
/.work
@@ -31,3 +30,4 @@ mkpkg-temp
# crap
.DS_Store
+.directory
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 06fefb4ba6..6ce7e12492 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,7 +1,7 @@
### Questions about LibreELEC?
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
-\#libreelec on freenode.net, or [webchat].
+\#libreelec on freenode.net.
Do not open an issue.
@@ -104,8 +104,7 @@ Please follow this process; it's the best way to get your work included in the p
- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
clear title and description.
-[Forum]: http://libreelec.tv/forum
+[Forum]: https://forum.libreelec.tv/
[issue]: https://github.com/LibreELEC/LibreELEC.tv/issues
-[webchat]: http://libreelec.tv/support/chat
-[logfiles]: http://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
+[logfiles]: https://wiki.libreelec.tv/index.php?title=LibreELEC_FAQ#Support_Logs
[similar issue]: https://github.com/LibreELEC/LibreELEC.tv/search?&ref=cmdform&type=Issues
diff --git a/Makefile b/Makefile
index 7fad4973f7..1cf38d2aba 100644
--- a/Makefile
+++ b/Makefile
@@ -24,4 +24,7 @@ distclean:
rm -rf ./.ccache ./$(BUILD_DIRS)
src-pkg:
- tar cvjf sources.tar.bz2 sources .stamps
+ tar cvJf sources.tar.xz sources .stamps
+
+docker:
+ docker run --name rasplex-build -v"$$(pwd)"://app --entrypoint '/bin/sleep' -h rasplex-build -d rasplex-build infinity
diff --git a/README.md b/README.md
index 4a645cd0e3..7d9e00c19b 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,23 @@
-# LibreELEC
+# OpenPHT-Embedded
+
+OpenPHT-Embedded is a 'Just enough OS' Linux distribution for running [OpenPHT](https://github.com/RasPlex/OpenPHT) on popular mediacentre hardware.
+
+**Notes**
-LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning [Kodi](http://kodi.tv) software on popular mediacentre hardware. LibreELEC is a conservative fork of the popular [OpenELEC](http://openelec.tv) project with a stronger focus on pre-release testing and post-release change management. Further information on the project can be found on the [LibreELEC website](https://libreelec.tv).
+* SSH login details are user: "root" password: "openpht" or "rasplex" depending on distribution.
-**Issues & Support**
+**Build**
-Please report issues via the [LibreELEC forum: Bug Reports](http://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](http://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
+* `DISTRO=OpenPHT PROJECT=Generic ARCH=x86_64 make image`
+* `DISTRO=RasPlex PROJECT=RPi2 ARCH=arm make image`
+* `DISTRO=RasPlex PROJECT=RPi ARCH=arm make image`
+* Use `OPENPHT_REPO`, `OPENPHT_SETTINGS_REPO` and `OPENPHT_BRANCH` to change what repository and branch of OpenPHT(-settings) to build
+
+# LibreELEC
-**Donations**
+**Source code**
-Contributions towards current project funding goals can be sent via PayPal to donations@libreelec.tv
+* https://github.com/LibreELEC/LibreELEC.tv
**License**
diff --git a/config/addon/xbmc.broken.xml b/config/addon/xbmc.broken.xml
new file mode 100644
index 0000000000..3e41803130
--- /dev/null
+++ b/config/addon/xbmc.broken.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+@REQUIRES@
+
+
+ @PKG_ADDON_PROVIDES@
+
+
+ @PKG_SHORTDESC@
+
+@PKG_LONGDESC@
+
+
+@PKG_DISCLAIMER@
+
+
+@PKG_ADDON_BROKEN@
+
+ all
+
+@PKG_ADDON_NEWS@
+
+
+ resources/icon.png
+ resources/fanart.png
+@PKG_ADDON_SCREENSHOT@
+
+
+
diff --git a/config/addon/xbmc.service.library.xml b/config/addon/xbmc.service.library.xml
new file mode 100644
index 0000000000..f5a1aaefac
--- /dev/null
+++ b/config/addon/xbmc.service.library.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+@REQUIRES@
+
+
+ @PKG_ADDON_PROVIDES@
+
+
+
+
+
+ @PKG_SHORTDESC@
+
+@PKG_LONGDESC@
+
+
+@PKG_DISCLAIMER@
+
+ all
+
+@PKG_ADDON_NEWS@
+
+
+ resources/icon.png
+ resources/fanart.png
+@PKG_ADDON_SCREENSHOT@
+
+
+
diff --git a/config/arch.aarch64 b/config/arch.aarch64
index ca435df80c..0d39f35a83 100644
--- a/config/arch.aarch64
+++ b/config/arch.aarch64
@@ -15,7 +15,7 @@
TARGET_VARIANT=armv8-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}"
- SIMD_SUPPORT="yes"
+ TARGET_FEATURES+=" neon"
;;
esac
@@ -23,6 +23,6 @@
TARGET_KERNEL_ARCH=arm64
# setup ARCH specific *FLAGS
- TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi $TARGET_EXTRA_FLAGS"
+ TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi -mtune=$TARGET_CPU $TARGET_EXTRA_FLAGS"
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
diff --git a/config/arch.arm b/config/arch.arm
index 9c56274b21..e9147e4c07 100644
--- a/config/arch.arm
+++ b/config/arch.arm
@@ -29,29 +29,36 @@
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
- SIMD_SUPPORT="no"
;;
- cortex-a7|cortex-a15|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
+ cortex-a7|cortex-a15|cortex-a17|cortex-a15.cortex-a7|cortex-a17.cortex-a7)
TARGET_SUBARCH=armv7ve
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
- SIMD_SUPPORT="yes"
+ TARGET_FEATURES+=" neon"
;;
cortex-a5|cortex-a8|cortex-a9)
TARGET_SUBARCH=armv7-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
- SIMD_SUPPORT="yes"
+ TARGET_FEATURES+=" neon"
+ ;;
+ cortex-a53|cortex-a72.cortex-a53)
+ TARGET_SUBARCH=armv8-a
+ TARGET_ABI=eabi
+ TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}"
+ TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
+ TARGET_FEATURES+=" neon"
;;
esac
+ TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}"
TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
- TARGET_KERNEL_ARCH=arm
+ TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}
# setup ARCH specific *FLAGS
- TARGET_CFLAGS="-march=$TARGET_SUBARCH -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
+ TARGET_CFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated $TARGET_EXTRA_FLAGS"
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
- TARGET_LDFLAGS="-march=$TARGET_SUBARCH -mtune=$TARGET_CPU"
+ TARGET_LDFLAGS="-march=$TARGET_VARIANT -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=aapcs-linux --with-arch=$TARGET_SUBARCH --with-float=$TARGET_FLOAT --with-fpu=$TARGET_FPU"
diff --git a/config/arch.x86_64 b/config/arch.x86_64
index 7787b04904..a7d1b39587 100644
--- a/config/arch.x86_64
+++ b/config/arch.x86_64
@@ -6,12 +6,12 @@
# determine architecture's family
TARGET_SUBARCH=x86_64
- TARGET_GCC_ARCH=$(echo $TARGET_SUBARCH | sed -e "s,-,,")
+ TARGET_GCC_ARCH="${TARGET_SUBARCH/-/}"
TARGET_KERNEL_ARCH=x86
# setup ARCH specific *FLAGS
- TARGET_CFLAGS="-march=$TARGET_CPU -m64"
+ TARGET_CFLAGS="-march=$TARGET_CPU -m64 -mmmx -msse -msse2 -mfpmath=sse"
TARGET_LDFLAGS="-march=$TARGET_CPU -m64"
# build with SIMD support ( yes / no )
- SIMD_SUPPORT="yes"
+ TARGET_FEATURES+=" mmx sse sse2"
diff --git a/config/docker/package.mk b/config/docker/package.mk
index 91d7fcb5ed..fd963a65df 100644
--- a/config/docker/package.mk
+++ b/config/docker/package.mk
@@ -1,20 +1,5 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="@NAME@"
PKG_VERSION="@VERSION@" # Update bin/docker.@NAME@ accordingly
diff --git a/config/docker/source/bin/docker b/config/docker/source/bin/docker
index c003a413f7..8a2c39672d 100644
--- a/config/docker/source/bin/docker
+++ b/config/docker/source/bin/docker
@@ -1,21 +1,7 @@
#!/bin/sh
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
name="$(basename $0)"
. /etc/profile
diff --git a/config/docker/source/default.py b/config/docker/source/default.py
index 6c6b84a8a5..0b9d649ccd 100644
--- a/config/docker/source/default.py
+++ b/config/docker/source/default.py
@@ -1,20 +1,5 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
import subprocess
import xbmc
diff --git a/config/functions b/config/functions
index c74cdd340b..5c2e701cc9 100644
--- a/config/functions
+++ b/config/functions
@@ -1,4 +1,228 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+### FUNCTION HELPERS ###
+# die (message, code) abort with optional message and code
+die() {
+ if [ -n "$1" ]; then
+ echo -e "$1" >&2
+ fi
+ exit "${2:-1}"
+}
+
+# return 0 if $2 in space-separated list $1, otherwise return 1
+listcontains() {
+ if [ -n "$1" -a -n "$2" ]; then
+ [[ ${1} =~ (^|[[:space:]])${2}($|[[:space:]]) ]] && return 0 || return 1
+ else
+ return 1
+ fi
+}
+
+# remove item(s) from list.
+# looping makes it greedy (eg. listremoveitem "abc def ghi" "(abc|def)" removes both "abc" and "def").
+listremoveitem() {
+ local data="${1}" odata tmp_array
+ if [ -n "$1" -a -n "$2" ]; then
+ while [ : ]; do
+ odata="${data}"
+ data="$(echo "${data}" | sed -E "s (^|[[:space:]])${2}($|[[:space:]]) \ g")"
+ [ "${odata}" = "${data}" ] && break
+ done
+ fi
+ # Use array word splitting to squash spaces
+ tmp_array=(${data})
+ echo "${tmp_array[@]}"
+}
+
+print_color() {
+ local clr_name="$1" clr_text="$2" clr_actual
+ local black red green yellow blue magenta cyan white endcolor
+ local boldblack boldred boldgreen boldyellow boldblue boldmagenta boldcyan boldwhite
+
+ [ -z "${clr_name}" ] && return 0
+
+ if [ "$DISABLE_COLORS" = "yes" ]; then
+ [ $# -eq 2 ] && echo -en "${clr_text}"
+ return 0
+ fi
+
+ black="\e[0;30m"
+ boldblack="\e[1;30m"
+ red="\e[0;31m"
+ boldred="\e[1;31m"
+ green="\e[0;32m"
+ boldgreen="\e[1;32m"
+ yellow="\e[0;33m"
+ boldyellow="\e[1;33m"
+ blue="\e[0;34m"
+ boldblue="\e[1;34m"
+ magenta="\e[0;35m"
+ boldmagenta="\e[1;35m"
+ cyan="\e[0;36m"
+ boldcyan="\e[1;36m"
+ white="\e[0;37m"
+ boldwhite="\e[1;37m"
+ endcolor="\e[0m"
+
+ # $clr_name can be a color variable (boldgreen etc.) or a
+ # "standard" color determined by an indirect name (CLR_ERROR etc.)
+ #
+ # If ${!clr_name} doesn't exist then assume it's a standard color.
+ # If ${!clr_name} does exist then check it's not a custom color mapping.
+ # Custom color mappings can be configured in options files.
+ #
+ clr_actual="${!clr_name}"
+
+ if [ -n "${clr_actual}" ]; then
+ clr_actual="${!clr_actual}"
+ else
+ case "${clr_name}" in
+ CLR_ERROR) clr_actual="${boldred}";;
+ CLR_WARNING) clr_actual="${boldred}";;
+ CLR_WARNING_DIM) clr_actual="${red}";;
+
+ CLR_APPLY_PATCH) clr_actual="${boldgreen}";;
+ CLR_AUTORECONF) clr_actual="${boldmagenta}";;
+ CLR_BUILD) clr_actual="${boldyellow}";;
+ CLR_TOOLCHAIN) clr_actual="${boldmagenta}";;
+ CLR_CLEAN) clr_actual="${boldred}";;
+ CLR_FIXCONFIG) clr_actual="${boldyellow}";;
+ CLR_GET) clr_actual="${boldcyan}";;
+ CLR_INFO) clr_actual="${boldgreen}";;
+ CLR_INSTALL) clr_actual="${boldgreen}";;
+ CLR_PATCH_DESC) clr_actual="${boldwhite}";;
+ CLR_TARGET) clr_actual="${boldwhite}";;
+ CLR_UNPACK) clr_actual="${boldcyan}";;
+
+ CLR_ENDCOLOR) clr_actual="${endcolor}";;
+
+ *) clr_actual="${endcolor}";;
+ esac
+ fi
+
+ if [ $# -eq 2 ]; then
+ echo -en "${clr_actual}${clr_text}${endcolor}"
+ else
+ echo -en "${clr_actual}"
+ fi
+}
+
+# print build progress messages
+# param1: message color, p2: label, p3: text, p4: indent (optional)
+build_msg() {
+ local spaces
+
+ [ -n "${BUILD_INDENT}" ] && spaces="$(printf "%${BUILD_INDENT}c" " ")" || spaces=""
+
+ if [ -n "${3}" ]; then
+ echo -e "${spaces}$(print_color "${1}" "${2}") ${3}" >&${SILENT_OUT}
+ else
+ echo -e "${spaces}$(print_color "${1}" "${2}")" >&${SILENT_OUT}
+ fi
+
+ # pad left space to create "indent" effect
+ if [ "${4}" = "indent" ]; then
+ export BUILD_INDENT=$((${BUILD_INDENT:-0}+${BUILD_INDENT_SIZE}))
+ elif [ -n "${4}" ]; then
+ die "ERROR: ${0} unexpected parameter: ${4}"
+ fi
+}
+
+
+### BUILDSYSTEM HELPERS ###
+# check if a flag is enabled
+# $1: flag-name, $2: default (yes/no), $3: ingenious check (none,only-disable,only-enable)
+# set variable PKG_[FLAG]_[HOST/TARGET]_ENABLED=(yes/no)
+# return 0 if flag is enabled, otherwise 1
+flag_enabled() {
+ # make flag name upper case and replace hyphen with underscore, to use as variable name
+ local flag_name=${1^^}
+ [[ $flag_name =~ : ]] || flag_name+="_TARGET"
+ flag_name="PKG_${flag_name//[:-]/_}_ENABLED"
+
+ # check flag
+ if [ -n "${PKG_BUILD_FLAGS}" ] && listcontains "${PKG_BUILD_FLAGS}" "[+]?$1"; then
+ if [ "${3:none}" = "only-disable" ]; then
+ die "ERROR: $1 cannot enable via PKG_BUILD_FLAGS (found in $PKG_NAME)"
+ fi
+ declare ${flag_name}="yes"
+ return 0
+ elif [ "$2" = "yes" ] && ! listcontains "${PKG_BUILD_FLAGS}" "-$1"; then
+ declare ${flag_name}="yes"
+ return 0
+ else
+ if [ "${3:none}" = "only-enable" ]; then
+ die "ERROR: $1 cannot disable via PKG_BUILD_FLAGS (found in $PKG_NAME)"
+ fi
+ declare ${flag_name}="no"
+ return 1
+ fi
+}
+
setup_toolchain() {
+ if [ "$LTO_SUPPORT" = "yes" ]; then
+ if flag_enabled "lto-parallel" "no"; then
+ TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
+ TARGET_CXXFLAGS+=" $FLAGS_OPTIM_LTO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_LTO_COMMON $FLAGS_OPTIM_LTO_PARALLEL"
+ elif flag_enabled "lto-fat" "no"; then
+ TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_NO_PARALLEL $FLAGS_OPTIM_LTO_FAT"
+ TARGET_CXXFLAGS+=" $FLAGS_OPTIM_LTO_NO_PARALLEL $FLAGS_OPTIM_LTO_FAT"
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_LTO_COMMON $FLAGS_OPTIM_LTO_NO_PARALLEL"
+ elif flag_enabled "lto" "no"; then
+ TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_NO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
+ TARGET_CXXFLAGS+=" $FLAGS_OPTIM_LTO_NO_PARALLEL $FLAGS_OPTIM_LTO_NO_FAT"
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_LTO_COMMON $FLAGS_OPTIM_LTO_NO_PARALLEL"
+ fi
+ fi
+
+ if flag_enabled "lto-off" "no"; then
+ TARGET_CFLAGS+=" $FLAGS_OPTIM_LTO_OFF"
+ TARGET_CXXFLAGS+=" $FLAGS_OPTIM_LTO_OFF"
+ TARGET_LDFLAGS+=" $FLAGS_OPTIM_LTO_OFF"
+ fi
+
+ # gold flag
+ if flag_enabled "gold" "$GOLD_SUPPORT" "only-disable"; then
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_GOLD"
+ fi
+
+ # position-independent code
+ if flag_enabled "pic" "no"; then
+ TARGET_CFLAGS+=" $CFLAGS_OPTIM_PIC"
+ TARGET_CXXFLAGS+=" $CXXFLAGS_OPTIM_PIC"
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_PIC"
+ fi
+ if flag_enabled "pic:host" "no"; then
+ HOST_CFLAGS+=" $CFLAGS_OPTIM_PIC"
+ HOST_CXXFLAGS+=" $CXXFLAGS_OPTIM_PIC"
+ HOST_LDFLAGS+=" $LDFLAGS_OPTIM_PIC"
+ fi
+
+ # hardening support
+ if flag_enabled "hardening" "$HARDENING_SUPPORT"; then
+ TARGET_CFLAGS+=" $CFLAGS_OPTIM_HARDENING"
+ TARGET_CXXFLAGS+=" $CXXFLAGS_OPTIM_HARDENING"
+ TARGET_CFLAGS+=" $CPPFLAGS_OPTIM_HARDENING"
+ TARGET_LDFLAGS+=" $LDFLAGS_OPTIM_HARDENING"
+ fi
+
+ # parallel
+ if ! flag_enabled "parallel" "yes"; then
+ NINJA_OPTS="$NINJA_OPTS -j1"
+ export MAKEFLAGS="-j1"
+ else
+ NINJA_OPTS="$NINJA_OPTS -j$CONCURRENCY_MAKE_LEVEL"
+ export MAKEFLAGS="-j$CONCURRENCY_MAKE_LEVEL"
+ fi
+
+ # verbose flag
+ if flag_enabled "verbose" "no"; then
+ NINJA_OPTS="$NINJA_OPTS -v"
+ export MAKEFLAGS="$MAKEFLAGS V=1 VERBOSE=1"
+ fi
+
case "$1" in
target|init)
export DESTIMAGE="target"
@@ -17,16 +241,16 @@ setup_toolchain() {
export CFLAGS="$TARGET_CFLAGS"
export CXXFLAGS="$TARGET_CXXFLAGS"
export LDFLAGS="$TARGET_LDFLAGS"
- export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
+ export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG_PATH=""
export PKG_CONFIG_LIBDIR="$SYSROOT_PREFIX/usr/lib/pkgconfig:$SYSROOT_PREFIX/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="$SYSROOT_PREFIX"
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
- export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
+ export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf
export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr"
if [ ! -f $CMAKE_CONF ] ; then
- mkdir -p $ROOT/$TOOLCHAIN/etc
+ mkdir -p $TOOLCHAIN/etc
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
echo "SET(CMAKE_SYSTEM_VERSION 1)" >> $CMAKE_CONF
echo "SET(CMAKE_SYSTEM_PROCESSOR $TARGET_ARCH)" >> $CMAKE_CONF
@@ -39,8 +263,8 @@ setup_toolchain() {
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $CMAKE_CONF
fi
- export HOST_CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
- export HOST_CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
+ export HOST_CC="$TOOLCHAIN/bin/host-gcc"
+ export HOST_CXX="$TOOLCHAIN/bin/host-g++"
export HOSTCC="$HOST_CC"
export HOSTCXX="$HOST_CXX"
export CC_FOR_BUILD="$HOST_CC"
@@ -54,8 +278,8 @@ setup_toolchain() {
host|bootstrap)
export DESTIMAGE="host"
export AWK="gawk"
- export CC="$ROOT/$TOOLCHAIN/bin/host-gcc"
- export CXX="$ROOT/$TOOLCHAIN/bin/host-g++"
+ export CC="$TOOLCHAIN/bin/host-gcc"
+ export CXX="$TOOLCHAIN/bin/host-g++"
export CPP="cpp"
export LD="ld"
export AS="as"
@@ -69,23 +293,24 @@ setup_toolchain() {
export CFLAGS="$HOST_CFLAGS"
export CXXFLAGS="$HOST_CXXFLAGS"
export LDFLAGS="$HOST_LDFLAGS"
- export PKG_CONFIG="$ROOT/$TOOLCHAIN/bin/pkg-config"
+ export PKG_CONFIG="$TOOLCHAIN/bin/pkg-config"
export PKG_CONFIG_PATH=""
- export PKG_CONFIG_LIBDIR="$ROOT/$TOOLCHAIN/lib/pkgconfig:$ROOT/$TOOLCHAIN/share/pkgconfig"
+ export PKG_CONFIG_LIBDIR="$TOOLCHAIN/lib/pkgconfig:$TOOLCHAIN/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR=""
unset PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
unset PKG_CONFIG_ALLOW_SYSTEM_LIBS
- export CMAKE_CONF=$ROOT/$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
- export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$ROOT/$TOOLCHAIN"
+ export CMAKE_CONF=$TOOLCHAIN/etc/cmake-$HOST_NAME.conf
+ export CMAKE="cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=$TOOLCHAIN"
if [ ! -f $CMAKE_CONF ] ; then
mkdir -p $TOOLCHAIN/etc
echo "SET(CMAKE_SYSTEM_NAME Linux)" >> $CMAKE_CONF
echo "SET(CMAKE_SYSTEM_VERSION 1)" >> $CMAKE_CONF
+ echo "SET(CMAKE_SYSTEM_PROCESSOR ${MACHINE_HARDWARE_NAME})" >> $CMAKE_CONF
echo "SET(CMAKE_C_COMPILER $CC)" >> $CMAKE_CONF
echo "SET(CMAKE_CXX_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_CPP_COMPILER $CXX)" >> $CMAKE_CONF
echo "SET(CMAKE_AR $AR CACHE FILEPATH "Archiver")" >> $CMAKE_CONF # hum?
- echo "SET(CMAKE_FIND_ROOT_PATH $ROOT/$TOOLCHAIN)" >> $CMAKE_CONF
+ echo "SET(CMAKE_FIND_ROOT_PATH $TOOLCHAIN)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)" >> $CMAKE_CONF
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)" >> $CMAKE_CONF
@@ -99,428 +324,895 @@ setup_toolchain() {
export CXX_FOR_BUILD="$CXX"
export BUILD_CC="$CC"
export BUILD_CXX="$CXX"
+ export _python_sysroot="$TOOLCHAIN"
+ export _python_prefix=/
+ export _python_exec_prefix=/
;;
esac
}
-kernel_path() {
- if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
- . $ROOT/projects/$PROJECT/packages/linux/package.mk
- else
- . $ROOT/packages/linux/package.mk
- fi
+create_meson_conf() {
+ local endian root properties
+ case "$1" in
+ target|init) endian="little"
+ root="$SYSROOT_PREFIX/usr"
+ ;;
+ host|bootstrap) endian="big"
+ root="$TOOLCHAIN"
+ ;;
+ esac
- echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
+ properties="PKG_MESON_PROPERTIES_${1^^}"
+
+ cat > $2 </dev/null)
- if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
- . $_PKG_DIR/package.mk
+# strip
+debug_strip() {
+ if [ -z "${BUILD_WITH_DEBUG}" ]; then
+ die "ERROR: debug_strip() must not be called without configuring BUILD_WITH_DEBUG"
+ fi
+
+ if [ "${BUILD_WITH_DEBUG}" != "yes" ] && flag_enabled "strip" "yes"; then
+ find $* -type f -executable | xargs $STRIP 2>/dev/null || :
+ fi
+}
+
+init_package_cache() {
+ local _ANCHOR="@?+?@" DIR
+ local temp_global temp_local
+
+ # If the package caches are unset, then populate them
+ if [ -z "${_CACHE_PACKAGE_LOCAL}" -o -z "${_CACHE_PACKAGE_GLOBAL}" ]; then
+ temp_global="$(mktemp)"
+ temp_local="$(mktemp)"
+
+ # cache project/device folder for a package
+ if [ -n $DEVICE ]; then
+ for DIR in $(find $ROOT/projects/$PROJECT/devices/$DEVICE/packages -type d 2>/dev/null); do
+ [ -r "$DIR/package.mk" ] && echo "${DIR}${_ANCHOR}" >> "${temp_local}"
+ done
+ fi
+
+ # cache project folder for a package
+ for DIR in $(find $ROOT/projects/$PROJECT/packages -type d 2>/dev/null); do
+ [ -r "$DIR/package.mk" ] && echo "${DIR}${_ANCHOR}" >> "${temp_local}"
+ done
+
+ # cache packages folder
+ for DIR in $(find $ROOT/$PACKAGES -type d 2>/dev/null); do
+ [ -r "$DIR/package.mk" ] && echo "${DIR}${_ANCHOR}" >> "${temp_global}"
+ done
+
+ _CACHE_PACKAGE_LOCAL="${BUILD}/.cache_package_local"
+ _CACHE_PACKAGE_GLOBAL="${BUILD}/.cache_package_global"
+ export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
+
+ # overwrite existing cache files only when they are invalid, or not yet created
+ mkdir -p "$(dirname "${_CACHE_PACKAGE_GLOBAL}")"
+ if [ -f "${_CACHE_PACKAGE_LOCAL}" ] && cmp -s "${temp_local}" "${_CACHE_PACKAGE_LOCAL}"; then
+ rm "${temp_local}"
else
- local _PKG_DIR=$(find $ROOT/packages -name $1 2>/dev/null)
- if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
- . $_PKG_DIR/package.mk
- fi
+ mv "${temp_local}" "${_CACHE_PACKAGE_LOCAL}"
fi
+ if [ -f "${_CACHE_PACKAGE_GLOBAL}" ] && cmp -s "${temp_global}" "${_CACHE_PACKAGE_GLOBAL}"; then
+ rm "${temp_global}"
+ else
+ mv "${temp_global}" "${_CACHE_PACKAGE_GLOBAL}"
+ fi
+ fi
- echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
+ if [ -z "${_DEBUG_DEPENDS_LIST+x}" ]; then
+ set_debug_depends
fi
}
-get_pkg_version() {
- if [ ! -z $1 ] ; then
- cd $ROOT
- . config/options $1
- echo "$PKG_VERSION"
+load_build_config() {
+ if [ -d "${1}" -a -f ${1}/.build.conf ]; then
+ source ${1}/.build.conf
+ return 0
fi
+ return 1
}
-tolower(){
- echo "$@" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
+save_build_config() {
+ local var
+ mkdir -p ${BUILD}
+ rm -f ${BUILD}/.build.conf
+ for var in PROJECT DEVICE ARCH DEBUG BUILD_SUFFIX; do
+ echo "export ${var}=\"${!var}\"" >> ${BUILD}/.build.conf
+ done
}
-require_eglibc() {
- if [ "$TARGET_LIBC" != eglibc ]; then
- echo "$1 requires eglibc, aborting."
- exit 1
+check_path() {
+ local dashes="===========================" path_err_msg
+ if [ "${PWD##/usr}" != "${PWD}" ]; then
+ path_err_msg="\n $dashes$dashes$dashes"
+ path_err_msg="${path_err_msg}\n ERROR: Detected building inside /usr"
+ path_err_msg="${path_err_msg}\n $dashes$dashes$dashes"
+ path_err_msg="${path_err_msg}\n This is not supported with our buildsystem."
+ path_err_msg="${path_err_msg}\n Please use another dir (for example your \$HOME) to build ${DISTRONAME}"
+
+ die "${path_err_msg}"
fi
}
-add_user() {
- # Usage: add_user "username" "password" "userid" "groupid" "description" "home" "shell"
- mkdir -p ${INSTALL}/etc
- touch ${INSTALL}/etc/passwd
- if [ -z "`grep "$1:" ${INSTALL}/etc/passwd`" ]; then
- echo "$1:x:$3:$4:$5:$6:$7" >> ${INSTALL}/etc/passwd
+check_distro() {
+ local dashes="===========================" distro_err_msg
+ if [ -z "${DISTRO}" -o ! -d "${DISTRO_DIR}/${DISTRO}" ]; then
+ distro_err_msg="\n $dashes$dashes$dashes"
+ distro_err_msg="${distro_err_msg}\n ERROR: Distro not found, use a valid distro or create a new config"
+ distro_err_msg="${distro_err_msg}\n $dashes$dashes$dashes"
+ distro_err_msg="${distro_err_msg}\n\n Valid distros:"
+
+ for distros in ${DISTRO_DIR}/*; do
+ distro_err_msg="${distro_err_msg}\n - ${distros##*/}"
+ done
+ die "${distro_err_msg}"
fi
+}
- touch ${INSTALL}/etc/shadow
- PASSWORD="$2"
- if [ "$PASSWORD" = "x" ]; then
- PASSWORD="*"
+check_project() {
+ local dashes="===========================" project_err_msg
+ if [ -z "${PROJECT}" -o ! -d "${PROJECT_DIR}/${PROJECT}" ]; then
+ project_err_msg="\n $dashes$dashes$dashes"
+ project_err_msg="${project_err_msg}\n ERROR: Project not found, use a valid project or create a new config"
+ project_err_msg="${project_err_msg}\n $dashes$dashes$dashes"
+ project_err_msg="${project_err_msg}\n\n Valid projects:"
+
+ for projects in ${PROJECT_DIR}/*; do
+ project_err_msg="${project_err_msg}\n - ${projects##*/}"
+ done
+ die "${project_err_msg}"
fi
- if [ -z "`grep "$1:" ${INSTALL}/etc/shadow`" ]; then
- echo "$1:$PASSWORD:::::::" >> ${INSTALL}/etc/shadow
+}
+
+check_device() {
+ local dashes="===========================" device_err_msg
+ if [ \( -z "${DEVICE}" -a -d "${PROJECT_DIR}/${PROJECT}/devices" \) -o \
+ \( -n "${DEVICE}" -a ! -d "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}" \) ]; then
+ device_err_msg="\n $dashes$dashes$dashes"
+ device_err_msg="${device_err_msg}\n ERROR: You need to specify a valid device for the $PROJECT project"
+ device_err_msg="${device_err_msg}\n $dashes$dashes$dashes"
+ device_err_msg="${device_err_msg}\n\n Valid devices for project: ${PROJECT}"
+
+ for device in ${PROJECT_DIR}/${PROJECT}/devices/*; do
+ device_err_msg="${device_err_msg}\n - ${device##*/}"
+ done
+ die "${device_err_msg}"
fi
}
-add_group() {
- # Usage: add_group "groupname" "groupid" ("members")
- mkdir -p ${INSTALL}/etc
- touch ${INSTALL}/etc/group
- if [ -z "`grep "$1:" ${INSTALL}/etc/group`" ]; then
- echo "$1:x:$2:$3" >> ${INSTALL}/etc/group
+check_arch() {
+ local dashes="===========================" arch_err_msg linux_config_dir
+ if [ -d ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/linux ]; then
+ linux_config_dir="${PROJECT_DIR}/${PROJECT}/devices/$DEVICE/linux"
+ else
+ linux_config_dir="${PROJECT_DIR}/${PROJECT}/linux"
+ fi
+
+ if [ ! -e $linux_config_dir/linux.${TARGET_PATCH_ARCH:-$TARGET_ARCH}.conf ] &&
+ ! ls $linux_config_dir/*/linux.${TARGET_PATCH_ARCH:-$TARGET_ARCH}.conf &>/dev/null; then
+ arch_err_msg="\n $dashes$dashes$dashes"
+ arch_err_msg="${arch_err_msg}\n ERROR: Architecture not found, use a valid Architecture"
+ arch_err_msg="${arch_err_msg}\n for your project or create a new config"
+ arch_err_msg="${arch_err_msg}\n $dashes$dashes$dashes"
+ arch_err_msg="${arch_err_msg}\n\n Valid Architectures for your project: ${PROJECT}"
+
+ for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
+ [[ ${arch} =~ .*\*.* ]] && continue #ignore unexpanded wildcard
+ arch_err_msg="${arch_err_msg}\n - $(basename $arch | cut -f2 -d".")"
+ done
+ die "${arch_err_msg}"
fi
}
+check_config() {
+ check_path
+ check_distro
+ check_project
+ check_device
+ check_arch
+}
+
do_autoreconf() {
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
- if [ -e "$ROOT/$TOOLCHAIN/bin/autoconf" ]; then
- export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
+ if [ -e "$TOOLCHAIN/bin/autoconf" ]; then
+ export AUTOCONF=$TOOLCHAIN/bin/autoconf
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/automake" ]; then
- export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
+ if [ -e "$TOOLCHAIN/bin/automake" ]; then
+ export AUTOMAKE=$TOOLCHAIN/bin/automake
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/autopoint" ]; then
- export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint
+ if [ -e "$TOOLCHAIN/bin/autopoint" ]; then
+ export AUTOPOINT=$TOOLCHAIN/bin/autopoint
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/libtoolize" ]; then
- export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
+ if [ -e "$TOOLCHAIN/bin/libtoolize" ]; then
+ export LIBTOOLIZE=$TOOLCHAIN/bin/libtoolize
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/intltoolize" ]; then
- export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize
+ if [ -e "$TOOLCHAIN/bin/intltoolize" ]; then
+ export INTLTOOLIZE=$TOOLCHAIN/bin/intltoolize
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/aclocal" ]; then
- export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
+ if [ -e "$TOOLCHAIN/bin/aclocal" ]; then
+ export ACLOCAL="$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/autoheader" ]; then
- export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
+ if [ -e "$TOOLCHAIN/bin/autoheader" ]; then
+ export AUTOHEADER=$TOOLCHAIN/bin/autoheader
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/libtool" ]; then
- export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
+ if [ -e "$TOOLCHAIN/bin/libtool" ]; then
+ export LIBTOOL=$TOOLCHAIN/bin/libtool
fi
- if [ -e "$ROOT/$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
+ if [ -e "$TOOLCHAIN/bin/autoreconf" -a -e "$INTLTOOLIZE" ]; then
mkdir -p $ACLOCAL_DIR
- export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
+ if [ -e "$LIBTOOLIZE" ]; then
+ export AUTORECONF="$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
+ else
+ export AUTORECONF="$TOOLCHAIN/bin/autoreconf --verbose --force -I $ACLOCAL_DIR"
+ fi
$AUTORECONF $@
fi
}
-strip_lto() {
- # strip out LTO optimization from *FLAGS
- if [ -n "$GCC_OPTIM_LTO" ] ; then
- CFLAGS=`echo $CFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
- CXXFLAGS=`echo $CXXFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
- TARGET_CFLAGS=`echo $TARGET_CFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
- TARGET_CXXFLAGS=`echo $TARGET_CXXFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
- fi
- if [ -n "$LD_OPTIM_LTO" ] ; then
- LDFLAGS=`echo $LDFLAGS | sed -e "s|$LD_OPTIM_LTO||g"`
- TARGET_LDFLAGS=`echo $TARGET_LDFLAGS | sed -e "s|$LD_OPTIM_LTO||g"`
+
+### PACKAGE HELPERS ###
+# get variable ($2) for package ($1).
+# avoid infinite recursion if required package is already loaded.
+get_pkg_variable() {
+ if [ -n "$1" -a -n "$2" ] ; then
+ if [ "$1" != "$PKG_NAME" ]; then
+ source_package "${1}"
+ fi
+ echo "${!2}"
fi
}
-strip_gold() {
- # strip out usage from GOLD linker
- LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||g"`
- TARGET_LDFLAGS=`echo $TARGET_LDFLAGS | sed -e "s|-fuse-ld=gold||g"`
+# get package's build dir
+get_build_dir() {
+ local _PKG_NAME="$(get_pkg_variable "$1" PKG_NAME)" _PKG_VERSION="$(get_pkg_version "$1")"
+ if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
+ echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
+ fi
}
-fix_module_depends() {
- # modify .modinfo section in kernel module to depends on other required modules
- local MODULE="$1"
- local DEPENDS="$2"
- local OLD_DEPENDS=""
- cp ${MODULE} ${MODULE}_orig
- $OBJDUMP -s -j .modinfo ${MODULE}_orig | awk 'BEGIN{v=0;} /Contents/ {v=1; next;} {if (v==1) print $0;}' >new.modinfo1
- cat new.modinfo1 | cut -c7-41 | awk '{printf($0);}' | sed 's/ //g;s/../\\\x&/g;' >new.modinfo2
- /bin/echo -ne `cat new.modinfo2` | tr '\000' '\n' >new.modinfo3
- cat new.modinfo3 | awk '/^depends=/ {next;} {print $0;}' | tr '\n' '\000' >new.modinfo
- OLD_DEPENDS=$(awk '{FS="="} /depends=/ {print $2}' new.modinfo3)
- [ -n "$OLD_DEPENDS" ] && DEPENDS="$OLD_DEPENDS,$DEPENDS"
- /bin/echo -ne "depends=$DEPENDS\0" >>new.modinfo
- $OBJCOPY --remove-section=.modinfo --add-section=.modinfo=new.modinfo --set-section-flags .modinfo=contents,alloc,load,readonly,data ${MODULE}_orig ${MODULE}
- rm new.modinfo*
+get_pkg_version() {
+ get_pkg_variable "$1" PKG_VERSION
}
-# Usage: enable_service [target]
-enable_service () {
- local unit="$1"
- local unit_dir="/usr/lib/systemd/system"
- local target="$2"
- local target_dir=$INSTALL
+get_pkg_directory() {
+ local _PKG_ROOT_NAME=${1%:*} _ALL_DIRS _FOUND=0 _ANCHOR="@?+?@" _PKG_DIR _DIR
+
+ # Check for any available local package in preference to a global package
+ for _DIR in $(grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}" "${_CACHE_PACKAGE_LOCAL}"); do
+ _DIR="${_DIR%${_ANCHOR}}"
+ # found first, set $_PKG_DIR
+ _PKG_DIR="$_DIR"
+ # keep track of dirs with package.mk for detecting multiple folders
+ _ALL_DIRS+="${_DIR}\n"
+ _FOUND=$((_FOUND+1))
+ done
- [ -f "$target_dir/$unit_dir/$unit" ] || exit 1
- if [ -z "$target" ] ; then
- for target in `grep '^WantedBy' $target_dir/$unit_dir/$unit | cut -f2 -d=` ; do
- if [ -n "$target" ]; then
- mkdir -p ${target_dir}/$unit_dir/${target}.wants
- ln -sf ../${unit} ${target_dir}/$unit_dir/${target}.wants/
- fi
+ # If there's no local package available, use the global package
+ if [ $_FOUND -eq 0 ]; then
+ for _DIR in $(grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}" "${_CACHE_PACKAGE_GLOBAL}"); do
+ _DIR="${_DIR%${_ANCHOR}}"
+ # found first, set $_PKG_DIR
+ _PKG_DIR="$_DIR"
+ # keep track of dirs with package.mk for detecting multiple folders
+ _ALL_DIRS+="${_DIR}\n"
+ _FOUND=$((_FOUND+1))
done
fi
- for target in `grep '^Alias' $target_dir/$unit_dir/$unit | cut -f2 -d=` ; do
- if [ -n "$target" ]; then
- ln -sf ${unit} ${target_dir}/$unit_dir/${target}
- fi
- done
-}
-
-check_path() {
-dashes="==========================="
- if [ "${PWD##/usr}" != "${PWD}" ]; then
- check_pathmessage="$check_pathmessage\n $dashes$dashes$dashes"
- check_pathmessage="$check_pathmessage\n ERROR: You try to build inside /usr"
- check_pathmessage="$check_pathmessage\n $dashes$dashes$dashes"
- check_pathmessage="$check_pathmessage\n This is not supported with our buildsystem."
- check_pathmessage="$check_pathmessage\n Please use another dir (for example your \$HOME) to build $DISTRONAME"
- echo -e $check_pathmessage
- exit 1
+ # _FOUND multiple packages? fail
+ if [ $_FOUND -gt 1 ]; then
+ echo "Error - multiple package folders for package ${_PKG_ROOT_NAME}:" >&2
+ echo -e "$_ALL_DIRS" >&2
+ die
fi
+
+ echo "$_PKG_DIR"
}
-check_config() {
-dashes="==========================="
- if [ ! -d $PROJECT_DIR/$PROJECT ]; then
- check_project="$check_project\n $dashes$dashes$dashes"
- check_project="$check_project\n ERROR: Project not found, use a valid project or create a new config"
- check_project="$check_project\n $dashes$dashes$dashes"
- check_project="$check_project\n\n Valid projects:"
-
- for projects in $PROJECT_DIR/*; do
- check_project="$check_project\n - $(basename $projects)"
- done
- echo -e $check_project
- exit 1
- fi
+calculate_stamp() {
+ local stamp
+ stamp="$PKG_DIR $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
+ [ -n "$DEVICE" ] && stamp+=" $PROJECT_DIR/$PROJECT/devices/$DEVICE/patches/$PKG_NAME"
+ [ -n "$PKG_NEED_UNPACK" ] && stamp+=" $PKG_NEED_UNPACK"
+ find ${stamp} -exec sha256sum {} \; 2>/dev/null | sed "s/ ${ROOT//\//\\/}\// /" | sort | sha256sum | cut -d" " -f1
+}
- if [ \( -z "$DEVICE" -a -d "$PROJECT_DIR/$PROJECT/devices" \) -o \( -n "$DEVICE" -a ! -d "$PROJECT_DIR/$PROJECT/devices/$DEVICE" \) ]; then
- check_device="$check_device\n $dashes$dashes$dashes"
- check_device="$check_device\n ERROR: You need to specify a valid device for the $PROJECT project"
- check_device="$check_device\n $dashes$dashes$dashes"
- check_device="$check_device\n\n Valid devices for project: $PROJECT"
+target_has_feature() {
+ listcontains "$TARGET_FEATURES" "$1"
+}
- for device in $PROJECT_DIR/$PROJECT/devices/*; do
- check_device="$check_device\n - $(basename $device)"
- done
- echo -e $check_device
- exit 1
+# find path for matching file or directory, searching standard directory hierarchy, using optional default
+# if a path is located it will be set in FOUND_PATH and exit code will be 0.
+find_path() {
+ local test_func="$1" search="$2" default="$3"
+ local dir match wildcard=0 ftype
+
+ # support wildcard matches
+ [[ $search =~ \* || $search =~ \? ]] && wildcard=1
+
+ [ "$test_func" = "-f" ] && ftype="file" || ftype="dir"
+
+ for dir in $PROJECT_DIR/$PROJECT/devices/$DEVICE/packages/$PKG_NAME \
+ $PROJECT_DIR/$PROJECT/devices/$DEVICE \
+ $PROJECT_DIR/$PROJECT/packages/$PKG_NAME \
+ $PROJECT_DIR/$PROJECT \
+ $DISTRO_DIR/$DISTRO/packages/$PKG_NAME \
+ $DISTRO_DIR/$DISTRO \
+ $PKG_DIR \
+ ; do
+ # ignore directories with missing DEVICE or PKG_NAME components
+ [[ $dir =~ /packages/$ ]] && continue
+ [[ $dir =~ /devices/$ ]] && continue
+ [[ $dir =~ /devices//packages/$PKG_NAME$ ]] && continue
+
+ if [ $wildcard -eq 1 ]; then
+ ls $dir/$search 1>/dev/null 2>&1 && match="$dir/$search" && break
+ else
+ [ $test_func "$dir/$search" ] && match="$dir/$search" && break
+ fi
+ done
+
+ if [ -z "$match" -a -n "$default" ]; then
+ if [[ $default =~ \* || $default =~ \? ]]; then
+ ls $default 1>/dev/null 2>&1 && match="$default"
+ else
+ [ $test_func "$default" ] && match="$default"
+ fi
fi
- if [ -d $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux ]; then
- linux_config_dir="$PROJECT_DIR/$PROJECT/devices/$DEVICE/linux"
+ if [ -n "$match" ]; then
+ FOUND_PATH="$match"
+ [ "${VERBOSE_FIND_PATH,,}" = "yes" ] && echo "find_path: Searching for $ftype: \"$search\", found: \"$FOUND_PATH\"" >&2
+ return 0
else
- linux_config_dir="$PROJECT_DIR/$PROJECT/linux"
+ unset FOUND_PATH
+ [ "${VERBOSE_FIND_PATH,,}" = "yes" ] && echo "find_path: Searching for $ftype: \"$search\" - not found" >&2
+ return 1
fi
+}
- if [ ! -f $linux_config_dir/linux.$TARGET_ARCH.conf ] &&
- ! ls $linux_config_dir/*/linux.$TARGET_ARCH.conf &>/dev/null; then
- check_arch="$check_arch\n $dashes$dashes$dashes"
- check_arch="$check_arch\n ERROR: Architecture not found, use a valid Architecture"
- check_arch="$check_arch\n for your project or create a new config"
- check_arch="$check_arch\n $dashes$dashes$dashes"
- check_arch="$check_arch\n\n Valid Architectures for your project: $PROJECT"
+find_file_path() {
+ find_path -f "$1" "$2"
+}
- for arch in $linux_config_dir/*.conf $linux_config_dir/*/linux.$TARGET_ARCH.conf; do
- check_arch="$check_arch\n - $(basename $arch | cut -f2 -d".")"
- done
- echo -e $check_arch
- exit 1
- fi
+find_dir_path() {
+ find_path -d "$1" "$2"
}
-show_config() {
- # load graphic configuration
- get_graphicdrivers
+# p1: name of function to test for
+# return 0 if function exists, 1 if not
+pkg_call_exists() {
+ [ "$(type -t ${1})" = "function" ] && return 0 || return 1
+}
- dashes="==========================="
- config_message="$config_message\n $dashes$dashes$dashes"
- config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
- config_message="$config_message\n $dashes$dashes$dashes"
+# p1: name of function to execute unconditionally
+# testing the exit code value of this function is likely to break set -e fail-on-error behaviour
+pkg_call() {
+ [ -n "${PKG_NAME}" ] || die "$(print_color CLR_ERROR "FAILURE: Cannot call ${1} package function when package is not known!")"
- # Build options
+ ${1}
+}
- config_message="$config_message\n\n Buildoptions:"
- config_message="$config_message\n $dashes$dashes"
+unset_functions() {
+ local target
- config_message="$config_message\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
- config_message="$config_message\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
- config_message="$config_message\n - FPU:\t\t\t\t\t $TARGET_FPU"
- config_message="$config_message\n - SIMD support:\t\t\t $SIMD_SUPPORT"
- config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
- config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
- config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
+ unset -f configure_package
- # config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
- # config_message="$config_message\n - LDFLAGS:\t $TARGET_LDFLAGS"
+ unset -f pre_unpack unpack post_unpack
+ unset -f pre_patch post_patch
- # Graphic configuration
+ for target in target host init bootstrap; do
+ unset -f pre_build_${target}
+ unset -f pre_configure_${target} configure_${target} post_configure_${target}
+ unset -f pre_make_${target} make_${target} post_make_${target}
+ unset -f pre_makeinstall_${target} makeinstall_${target} post_makeinstall_${target}
+ done
- config_message="$config_message\n\n Graphic configuration:"
- config_message="$config_message\n $dashes$dashes"
+ unset -f pre_install post_install
- if [ "$DISPLAYSERVER" = "x11" ] ; then
- config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
- config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
- config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
- fi
- config_message="$config_message\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
- config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
- config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
+ unset -f addon
+}
- # Hardware decoder support
+# p1: name of package to be sourced
+source_package() {
+ local opwd="${PWD}"
- config_message="$config_message\n\n Hardware decoder configuration:"
- config_message="$config_message\n $dashes$dashes"
+ # Don't use BUILD_WITH_DEBUG in "global" package.mk - instead, call the function
+ # build_with_debug() directly as the function depends on various package.mk
+ # variables that will be in the process of being configured. Once package.mk is
+ # fully sourced we can set this variable and use it in situations where we know the
+ # package has already been sourced.
+ unset BUILD_WITH_DEBUG
- config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
- config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
- config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
+ reset_pkg_vars
+ unset_functions
- # Input device configuration
+ if [ -n "${1}" ]; then
+ PKG_DIR="$(get_pkg_directory ${1})"
- config_message="$config_message\n\n Input device configuration:"
- config_message="$config_message\n $dashes$dashes"
+ [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ] || die "FAILURE: unable to source package - ${1}/package.mk does not exist"
- config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
- config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
- config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
- config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
+ cd "${ROOT}"
+ . ${PKG_DIR}/package.mk || die "FAILURE: an error occurred while sourcing ${PKG_DIR}/package.mk"
+ cd "${opwd}"
- # Misc. hardware configuration
+ PKG_SHORTDESC="${PKG_SHORTDESC:-${PKG_NAME} (autogenerated)}"
+ PKG_LONGDESC="${PKG_LONGDESC:-${PKG_NAME} (autogenerated)}"
- config_message="$config_message\n\n Misc. hardware configuration:"
- config_message="$config_message\n $dashes$dashes"
+ if [ "$PKG_IS_ADDON" = "yes" -o "$PKG_IS_ADDON" = "embedded" ] ; then
+ [ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="${PKG_SECTION//\//.}.$PKG_NAME"
+ [ "$PKG_ADDON_IS_STANDALONE" != "yes" ] && PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)"
+ fi
- config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
- config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
- config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
+ # Automatically set PKG_SOURCE_NAME unless it is already defined.
+ # PKG_SOURCE_NAME will be automatically set to a name based on
+ # the $PKG_NAME-$PKG_VERSION convention.
+ #
+ # Any $PKG_URL that references more than a single url will abort
+ # the build as these are no longer supported - use mkpkg instead.
+ if [ -n "$PKG_URL" -a -z "$PKG_SOURCE_NAME" ]; then
+ if [[ $PKG_URL =~ .*\ .* ]]; then
+ echo "Error - packages with multiple urls are no longer supported, use mkpkg."
+ echo "$PKG_URL"
+ die
+ fi
+ if [[ ${PKG_URL} =~ .git$ || ${PKG_URL} =~ ^git:// ]]; then
+ PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}
+ elif [[ ${PKG_URL} =~ ^file:// ]]; then
+ PKG_SOURCE_NAME=${PKG_URL#file://}
+ # if no specific PKG_TAR_COPY_OPTS then default to excluding .git and .svn as they can be huge
+ [ -z "${PKG_TAR_COPY_OPTS+x}" ] && PKG_TAR_COPY_OPTS="--exclude=.git --exclude=.svn"
+ else
+ PKG_SOURCE_NAME="${PKG_URL##*/}"
+ case $PKG_SOURCE_NAME in
+ ${PKG_NAME}-${PKG_VERSION}.*)
+ PKG_SOURCE_NAME=$PKG_SOURCE_NAME
+ ;;
+ *.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
+ PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
+ ;;
+ *.tar.bz2 | *.tar.gz | *.tar.xz)
+ PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.tar.${PKG_SOURCE_NAME##*\.}
+ ;;
+ *.diff | *.patch | *.diff.bz2 | *.patch.bz2 | patch-*.bz2 | *.diff.gz | *.patch.gz | patch-*.gz)
+ PKG_SOURCE_NAME=$PKG_SOURCE_NAME
+ ;;
+ *)
+ PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
+ ;;
+ esac
+ fi
+ fi
- for config_driver in $ADDITIONAL_DRIVERS; do
- config_message="$config_message\n - Include driver:\t\t\t $config_driver"
- done
+ PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
+ fi
- for config_firmware in $FIRMWARE; do
- config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
- done
+ build_with_debug && BUILD_WITH_DEBUG="yes" || BUILD_WITH_DEBUG="no"
- for config_modules in $INITRAMFS_MODULES; do
- config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
+ # Late variable binding - allow the package to now evaluate any variables
+ # that we may have initialised after sourcing the package, typically
+ # PKG_BUILD etc.
+ if [ -n "${PKG_NAME}" ]; then
+ if pkg_call_exists configure_package; then
+ pkg_call configure_package
+ fi
+ fi
+}
+
+
+### KERNEL HELPERS ###
+kernel_path() {
+ get_build_dir linux
+}
+
+kernel_version() {
+ get_pkg_version linux
+}
+
+kernel_config_path() {
+ local cfg pkg_linux_dir pkg_linux_version config_name
+
+ pkg_linux_version="$(get_pkg_version linux)"
+ pkg_linux_dir="$(get_pkg_directory linux)"
+
+ config_name="linux.${TARGET_PATCH_ARCH:-$TARGET_ARCH}.conf"
+
+ for cfg in $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/$pkg_linux_version/$config_name \
+ $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/$LINUX/$config_name \
+ $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/$config_name \
+ $PROJECT_DIR/$PROJECT/linux/$pkg_linux_version/$config_name \
+ $PROJECT_DIR/$PROJECT/linux/$LINUX/$config_name \
+ $PROJECT_DIR/$PROJECT/linux/$config_name \
+ $pkg_linux_dir/config/$pkg_linux_version/$config_name \
+ $pkg_linux_dir/config/$LINUX/$config_name \
+ $pkg_linux_dir/config/$config_name \
+ ; do
+ [[ $cfg =~ /devices//linux/ ]] && continue
+ [ -f "$cfg" ] && echo "$cfg" && break
done
+}
- # Network service configuration
+kernel_make() {
+ LDFLAGS="" make CROSS_COMPILE=$TARGET_KERNEL_PREFIX \
+ ARCH="$TARGET_KERNEL_ARCH" \
+ HOSTCC="$TOOLCHAIN/bin/host-gcc" \
+ HOSTCXX="$TOOLCHAIN/bin/host-g++" \
+ HOSTCFLAGS="$HOST_CFLAGS" \
+ HOSTLDFLAGS="$HOST_LDFLAGS" \
+ HOSTCXXFLAGS="$HOST_CXXFLAGS" \
+ DEPMOD="$TOOLCHAIN/bin/depmod" \
+ "$@"
+}
- config_message="$config_message\n\n Network service configuration:"
- config_message="$config_message\n $dashes$dashes"
+# get kernel module dir
+get_module_dir() {
+ if [ -n "${_CACHED_KERNEL_MODULE_DIR}" ]; then
+ echo "${_CACHED_KERNEL_MODULE_DIR}"
+ else
+ basename $(ls -d $(get_build_dir linux)/.install_pkg/usr/lib/kernel-overlays/base/lib/modules/*)
+ fi
+}
- config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
- config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
- config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
- config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
- config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
- config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
+# get base path to kernel modules and firmware
+get_kernel_overlay_dir() {
+ echo "usr/lib/kernel-overlays/${1:-base}"
+}
- # OS configuration
+# get full path to kernel module dir
+# optional parameter specifies overlay level (default is base)
+get_full_module_dir() {
+ echo "$(get_kernel_overlay_dir $1)/lib/modules/$(get_module_dir)"
+}
- config_message="$config_message\n\n OS configuration:"
- config_message="$config_message\n $dashes$dashes"
+# get full path to firmware dir
+# optional parameter specifies overlay level (default is base)
+get_full_firmware_dir() {
+ echo "$(get_kernel_overlay_dir $1)/lib/firmware"
+}
- config_message="$config_message\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
- config_message="$config_message\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
- config_message="$config_message\n - Bootloader:\t\t\t\t $BOOTLOADER"
- if [ "$BOOTLOADER" = "u-boot" ]; then
- config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
- config_message="$config_message\n - U-Boot config file:\t\t $UBOOT_CONFIGFILE"
+fix_module_depends() {
+ # modify .modinfo section in kernel module to depends on other required modules
+ local MODULE="$1"
+ local DEPENDS="$2"
+ local OLD_DEPENDS=""
+ cp ${MODULE} ${MODULE}_orig
+ $OBJDUMP -s -j .modinfo ${MODULE}_orig | awk 'BEGIN{v=0;} /Contents/ {v=1; next;} {if (v==1) print $0;}' >new.modinfo1
+ cat new.modinfo1 | cut -c7-41 | awk '{printf($0);}' | sed 's/ //g;s/../\\\x&/g;' >new.modinfo2
+ /bin/echo -ne `cat new.modinfo2` | tr '\000' '\n' >new.modinfo3
+ cat new.modinfo3 | awk '/^depends=/ {next;} {print $0;}' | tr '\n' '\000' >new.modinfo
+ OLD_DEPENDS=$(awk '{FS="="} /depends=/ {print $2}' new.modinfo3)
+ [ -n "$OLD_DEPENDS" ] && DEPENDS="$OLD_DEPENDS,$DEPENDS"
+ /bin/echo -ne "depends=$DEPENDS\0" >>new.modinfo
+ $OBJCOPY --remove-section=.modinfo --add-section=.modinfo=new.modinfo --set-section-flags .modinfo=contents,alloc,load,readonly,data ${MODULE}_orig ${MODULE}
+ rm new.modinfo*
+}
+
+
+### ADDON HELPERS ###
+install_binary_addon() {
+ local addon_id="$1" addon_so
+
+ mkdir -p $ADDON_BUILD/$addon_id/
+ cp -R $PKG_BUILD/.install_pkg/usr/share/$MEDIACENTER/addons/$addon_id/* $ADDON_BUILD/$addon_id/
+
+ addon_so=$(xmlstarlet sel -t -v "/addon/extension/@library_linux" $ADDON_BUILD/$addon_id/addon.xml || :)
+ if [ -n "$addon_so" ]; then
+ cp -L $PKG_BUILD/.install_pkg/usr/lib/$MEDIACENTER/addons/$addon_id/$addon_so $ADDON_BUILD/$addon_id/
+ chmod +x $ADDON_BUILD/$addon_id/$addon_so
fi
- config_message="$config_message\n - UDevil support:\t\t\t $UDEVIL"
- config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
- # Misc. Filesystems
+ if [ -d $PKG_BUILD/.install_pkg/usr/lib/kernel-overlays/$addon_id ] ; then
+ mkdir -p $ADDON_BUILD/$addon_id/kernel-overlay
+ cp -PR $PKG_BUILD/.install_pkg/usr/lib/kernel-overlays/$addon_id/* $ADDON_BUILD/$addon_id/kernel-overlay
+ fi
+}
- config_message="$config_message\n\n Misc. Filesystems:"
- config_message="$config_message\n $dashes$dashes"
+install_addon_source() {
+ if [ -d $PKG_DIR/source ]; then
+ cp -R $PKG_DIR/source/* "$1"
+ fi
+}
- config_message="$config_message\n - Swap Support:\t\t\t $SWAP_SUPPORT"
- if [ "$SWAP_SUPPORT" = "yes" ]; then
- config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
+install_addon_images() {
+ local dest_dir="$1"
+
+ if [ -f "$PKG_DIR/icon/icon.png" ]; then
+ mkdir -p "$dest_dir/resources"
+ cp "$PKG_DIR/icon/icon.png" "$dest_dir/resources"
+ fi
+
+ if [ -f "$DISTRO_DIR/$DISTRO/addons/fanart.png" ]; then
+ mkdir -p "$dest_dir/resources"
+ cp "$DISTRO_DIR/$DISTRO/addons/fanart.png" "$dest_dir/resources"
fi
- config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT"
- config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
- config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
+}
+
+create_addon_xml() {
+ local addon_xml addon_version addon_name provider_name requires requires_addonname requires_addonversion screenshots
+ local tmp_changelog
- # Kodi configuration
+ addon_xml="$1/addon.xml"
- config_message="$config_message\n\n Kodi configuration:"
- config_message="$config_message\n $dashes$dashes"
+ IFS=" "
+for i in $PKG_ADDON_REQUIRES; do
+ requires_addonname=`echo $i | cut -f1 -d ":"`
+ requires_addonversion=`echo $i | cut -f2 -d ":"`
+ requires="$requires\n "
+done
+ unset IFS
- config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
- config_message="$config_message\n - Kodi nonfree support:\t\t $KODI_NONFREE_SUPPORT"
- config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
- if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
- config_message="$config_message\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
- config_message="$config_message\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
+ if [ ! -f "$addon_xml" ] ; then
+ cp $ROOT/config/addon/${PKG_ADDON_TYPE}.xml "$addon_xml"
+ addon_version=${PKG_ADDON_VERSION:-${ADDON_VERSION}.${PKG_REV}}
+ else
+ if ! command -v xmlstarlet >/dev/null ; then
+ die "*** ERROR: $ADDON has addon.xml shipped, you need 'xmlstarlet' ***" "255"
+ fi
+ addon_version="${PKG_ADDON_VERSION:-$(xmlstarlet sel -t -v "/addon/@version" "$addon_xml").$PKG_REV}"
+ xmlstarlet ed --inplace -u "/addon[@version]/@version" -v "$addon_version" "$addon_xml"
fi
- config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
- config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
- config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
- config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
- config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
- config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
- config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
- config_message="$config_message\n - Kodi SSH client support:\t\t $KODI_SSHLIB_SUPPORT"
- config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
- config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
+ if [ -f $PKG_DIR/changelog.txt ]; then
+ tmp_changelog="$(mktemp)"
+ cat ${PKG_DIR}/changelog.txt | xmlstarlet esc >"${tmp_changelog}"
+ sed -e "/@PKG_ADDON_NEWS@/ \
+ {
+ r ${tmp_changelog}
+ d
+ }" -i "$addon_xml"
+ rm -f "${tmp_changelog}"
+ else
+ sed -e "s|@PKG_ADDON_NEWS@||g" -i "$addon_xml"
+ fi
- for config_skin in $SKINS; do
- config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
+ provider_name=${PKG_MAINTAINER:-"Team LibreELEC"}
+ addon_name=${PKG_ADDON_NAME:-"$PKG_NAME"}
+
+ for f in $PKG_DIR/source/resources/screenshot-*.{jpg,png}; do
+ if [ -f "$f" ]; then
+ screenshots+="resources/$(basename $f)\n"
+ fi
done
- config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
- config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
+ sed -e "s|@PKG_ADDON_ID@|$PKG_ADDON_ID|g" \
+ -e "s|@ADDON_NAME@|$addon_name|g" \
+ -e "s|@ADDON_VERSION@|$addon_version|g" \
+ -e "s|@REQUIRES@|$requires|g" \
+ -e "s|@PKG_SHORTDESC@|$PKG_SHORTDESC|g" \
+ -e "s|@OS_VERSION@|$OS_VERSION|g" \
+ -e "s|@PKG_LONGDESC@|$PKG_LONGDESC|g" \
+ -e "s|@PKG_DISCLAIMER@|$PKG_DISCLAIMER|g" \
+ -e "s|@PROVIDER_NAME@|$provider_name|g" \
+ -e "s|@PKG_ADDON_PROVIDES@|$PKG_ADDON_PROVIDES|g" \
+ -e "s|@PKG_ADDON_SCREENSHOT@|$screenshots|g" \
+ -e "s|@PKG_ADDON_BROKEN@|$PKG_ADDON_BROKEN|g" \
+ -i "$addon_xml"
+}
+
+install_addon_files() {
+ install_addon_source "$1"
+ install_addon_images "$1"
+ create_addon_xml "$1"
+}
+
+install_driver_addon_files() {
+ if [ "$#" -eq 0 ] ; then
+ die "$(print_color CLR_ERROR "no module search path defined")"
+ fi
- config_message="$config_message\n"
- config_message="$config_message\n $dashes$dashes$dashes"
- config_message="$config_message\n End Configuration for $DISTRONAME"
- config_message="$config_message\n $dashes$dashes$dashes"
- config_message="$config_message\n\n\n"
+ PKG_MODULE_DIR="$INSTALL/$(get_full_module_dir $PKG_ADDON_ID)/updates/$PKG_ADDON_ID"
+ PKG_ADDON_DIR="$INSTALL/usr/share/$MEDIACENTER/addons/$PKG_ADDON_ID"
- echo -e "$config_message"
+ mkdir -p $PKG_MODULE_DIR
+ find $@ -name \*.ko -exec cp {} $PKG_MODULE_DIR \;
+
+ find $PKG_MODULE_DIR -name \*.ko -exec ${TARGET_KERNEL_PREFIX}strip --strip-debug {} \;
+
+ mkdir -p $PKG_ADDON_DIR
+ cp $PKG_DIR/changelog.txt $PKG_ADDON_DIR
+ install_addon_files "$PKG_ADDON_DIR"
}
-# strip
-debug_strip() {
- if [ ! "$DEBUG" = yes ]; then
- find $* -type f -executable | xargs $STRIP 1>/dev/null || :
+
+### TARGET CONFIGURATION HELPERS ###
+add_user() {
+ # Usage: add_user "username" "password" "userid" "groupid" "description" "home" "shell"
+ mkdir -p ${INSTALL}/etc
+ touch ${INSTALL}/etc/passwd
+ if ! grep -q "^$1:" ${INSTALL}/etc/passwd; then
+ echo "$1:x:$3:$4:$5:$6:$7" >> ${INSTALL}/etc/passwd
+ fi
+
+ mkdir -p ${INSTALL}/usr/cache
+ touch ${INSTALL}/usr/cache/shadow
+ ln -sf /storage/.cache/shadow ${INSTALL}/etc/shadow
+
+ PASSWORD="$2"
+ if [ "$PASSWORD" = "x" ]; then
+ PASSWORD="*"
fi
+ if ! grep -q "^$1:" ${INSTALL}/usr/cache/shadow; then
+ echo "$1:$PASSWORD:::::::" >> ${INSTALL}/usr/cache/shadow
+ fi
+}
+
+add_group() {
+ # Usage: add_group "groupname" "groupid" ("members")
+ mkdir -p ${INSTALL}/etc
+ touch ${INSTALL}/etc/group
+ if [ -z "`grep "$1:" ${INSTALL}/etc/group`" ]; then
+ echo "$1:x:$2:$3" >> ${INSTALL}/etc/group
+ fi
+}
+
+# Usage: enable_service [target]
+enable_service () {
+ local unit="$1"
+ local unit_dir="/usr/lib/systemd/system"
+ local target="$2"
+ local target_dir=$INSTALL
+
+ [ -f "$target_dir/$unit_dir/$unit" ] || die
+ if [ -z "$target" ] ; then
+ for target in `grep '^WantedBy' $target_dir/$unit_dir/$unit | cut -f2 -d=` ; do
+ if [ -n "$target" ]; then
+ mkdir -p ${target_dir}/$unit_dir/${target}.wants
+ ln -sf ../${unit} ${target_dir}/$unit_dir/${target}.wants/
+ fi
+ done
+ fi
+ for target in `grep '^Alias' $target_dir/$unit_dir/$unit | cut -f2 -d=` ; do
+ if [ -n "$target" ]; then
+ ln -sf ${unit} ${target_dir}/$unit_dir/${target}
+ fi
+ done
}
# Use distribution functions if any
diff --git a/config/graphic b/config/graphic
index 79ad74a53a..b9e9e34339 100644
--- a/config/graphic
+++ b/config/graphic
@@ -11,71 +11,112 @@ else
fi
get_graphicdrivers() {
+
+ # set defaults
+ GALLIUM_DRIVERS=""
+ DRI_DRIVERS=""
+ XORG_DRIVERS=""
+ LLVM_SUPPORT="no"
+ COMPOSITE_SUPPORT="no"
+ VDPAU_SUPPORT="no"
+ VAAPI_SUPPORT="no"
+ V4L2_SUPPORT="no"
+
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
- GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia vmware virtualbox"
+ GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "i915"; then
+ DRI_DRIVERS="$DRI_DRIVERS,i915"
+ XORG_DRIVERS="$XORG_DRIVERS intel"
+ COMPOSITE_SUPPORT="yes"
+ VAAPI_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "i965"; then
+ DRI_DRIVERS="$DRI_DRIVERS,i965"
+ XORG_DRIVERS="$XORG_DRIVERS intel"
+ COMPOSITE_SUPPORT="yes"
+ VAAPI_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "nvidia"; then
+ XORG_DRIVERS="$XORG_DRIVERS nvidia"
+ VDPAU_SUPPORT="yes"
fi
- for drv in $GRAPHIC_DRIVERS; do
- if [ "$drv" = "i915" ]; then
- DRI_DRIVERS="$DRI_DRIVERS,i915"
- XORG_DRIVERS="$XORG_DRIVERS intel"
- COMPOSITE_SUPPORT="yes"
- VAAPI_SUPPORT="yes"
- fi
-
- if [ "$drv" = "i965" ]; then
- DRI_DRIVERS="$DRI_DRIVERS,i965"
- XORG_DRIVERS="$XORG_DRIVERS intel"
- COMPOSITE_SUPPORT="yes"
- VAAPI_SUPPORT="yes"
- fi
-
- if [ "$drv" = "nvidia" ]; then
- XORG_DRIVERS="$XORG_DRIVERS nvidia"
- VDPAU_SUPPORT="yes"
- fi
-
- if [ "$drv" = "nvidia-legacy" ]; then
- XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
- VDPAU_SUPPORT="yes"
- fi
-
- if [ "$drv" = "r200" ]; then
- DRI_DRIVERS="$DRI_DRIVERS,r200"
- XORG_DRIVERS="$XORG_DRIVERS ati"
- COMPOSITE_SUPPORT="yes"
- fi
-
- if [ "$drv" = "r300" ]; then
- GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
- XORG_DRIVERS="$XORG_DRIVERS ati"
- LLVM_SUPPORT="yes"
- COMPOSITE_SUPPORT="yes"
- VDPAU_SUPPORT="yes"
- fi
-
- if [ "$drv" = "r600" ]; then
- GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
- XORG_DRIVERS="$XORG_DRIVERS ati"
- LLVM_SUPPORT="yes"
- COMPOSITE_SUPPORT="yes"
- VDPAU_SUPPORT="yes"
- fi
-
- if [ "$drv" = "radeonsi" ]; then
- GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
- XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
- LLVM_SUPPORT="yes"
- COMPOSITE_SUPPORT="yes"
- VDPAU_SUPPORT="yes"
- fi
-
- if [ "$drv" = "vmware" ]; then
- DRI_DRIVERS="$DRI_DRIVERS,swrast"
- GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
- XORG_DRIVERS="$XORG_DRIVERS vmware"
-# LLVM_SUPPORT="yes"
- fi
-
- done
+ if listcontains "$GRAPHIC_DRIVERS" "nvidia-legacy"; then
+ XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
+ VDPAU_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "r200"; then
+ DRI_DRIVERS="$DRI_DRIVERS,r200"
+ XORG_DRIVERS="$XORG_DRIVERS ati"
+ COMPOSITE_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "r300"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r300"
+ XORG_DRIVERS="$XORG_DRIVERS ati"
+ LLVM_SUPPORT="yes"
+ COMPOSITE_SUPPORT="yes"
+ VDPAU_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "r600"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,r600"
+ XORG_DRIVERS="$XORG_DRIVERS ati"
+ LLVM_SUPPORT="yes"
+ COMPOSITE_SUPPORT="yes"
+ VDPAU_SUPPORT="yes"
+ VAAPI_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "radeonsi"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,radeonsi"
+ XORG_DRIVERS="$XORG_DRIVERS ati amdgpu"
+ LLVM_SUPPORT="yes"
+ COMPOSITE_SUPPORT="yes"
+ VDPAU_SUPPORT="yes"
+ VAAPI_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "vmware"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
+ XORG_DRIVERS="$XORG_DRIVERS vmware"
+ COMPOSITE_SUPPORT="yes"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "virtio"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,virgl"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "vc4"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,vc4"
+ V4L2_SUPPORT="yes"
+ VAAPI_SUPPORT="no"
+ VDPAU_SUPPORT="no"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "freedreno"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,freedreno"
+ V4L2_SUPPORT="yes"
+ VAAPI_SUPPORT="no"
+ VDPAU_SUPPORT="no"
+ fi
+
+ if listcontains "$GRAPHIC_DRIVERS" "etnaviv"; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,etnaviv,imx"
+ V4L2_SUPPORT="yes"
+ VAAPI_SUPPORT="no"
+ VDPAU_SUPPORT="no"
+ fi
+
+ # remove leading comma if present
+ [[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
+ [[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
+
+ # remove duplicate entries
+ XORG_DRIVERS="$(echo $XORG_DRIVERS | xargs -n1 | sort -u | xargs)"
}
diff --git a/config/issue b/config/issue
deleted file mode 100644
index 7b7a66e92a..0000000000
--- a/config/issue
+++ /dev/null
@@ -1 +0,0 @@
-Welcome to OpenELEC - the powerful Mediacenter4you
diff --git a/config/noobs/partition_setup.sh b/config/noobs/partition_setup.sh
index 52ebab5819..50577f5e6b 100755
--- a/config/noobs/partition_setup.sh
+++ b/config/noobs/partition_setup.sh
@@ -1,21 +1,7 @@
#!/bin/sh -x
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
MOUNTPOINT="/tmp/LibreELEC-System"
diff --git a/config/noobs/partitions.json b/config/noobs/partitions.json
index bc05e26adb..591b255ded 100644
--- a/config/noobs/partitions.json
+++ b/config/noobs/partitions.json
@@ -1,7 +1,7 @@
{
"partitions": [
{
- "label": "@DISTRONAME@_@PROJECT@_System",
+ "label": "System",
"filesystem_type": "FAT",
"partition_size_nominal": @SYSTEM_SIZE@,
"want_maximised": false,
@@ -9,7 +9,7 @@
"mkfs_options": ""
},
{
- "label": "@DISTRONAME@_@PROJECT@_Storage",
+ "label": "Storage",
"filesystem_type": "ext4",
"partition_size_nominal": 512,
"want_maximised": true,
diff --git a/config/optimize b/config/optimize
index 2c395a57f1..08d38b3b97 100644
--- a/config/optimize
+++ b/config/optimize
@@ -1,16 +1,8 @@
GCC_OPTIM="-Os"
+# Linker hash-style is set to gnu via gcc default
LD_OPTIM="-Wl,--as-needed"
-if [ "$LTO_SUPPORT" = yes ];then
- GCC_OPTIM_LTO="-flto -ffat-lto-objects"
- LD_OPTIM_LTO="-fuse-linker-plugin -flto"
-fi
-
-if [ "$GOLD_SUPPORT" = yes ];then
- LD_OPTIM_GOLD="-fuse-ld=gold"
-fi
-
-if [ "$DEBUG" = yes ]; then
+if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
TARGET_CFLAGS="$TARGET_CFLAGS -ggdb"
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -ggdb"
TARGET_LDFLAGS="$TARGET_LDFLAGS -ggdb"
@@ -20,54 +12,84 @@ else
TARGET_LDFLAGS="$TARGET_LDFLAGS"
fi
-TARGET_CPPFLAGS=
-TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $GCC_OPTIM_LTO $PROJECT_CFLAGS"
+NINJA_OPTS=""
+
+TARGET_CPPFLAGS=""
+TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $PROJECT_CFLAGS"
TARGET_CXXFLAGS="$TARGET_CFLAGS"
-TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM $LD_OPTIM_GOLD $LD_OPTIM_LTO"
+TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM"
TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"
HOST_CPPFLAGS=""
-HOST_CFLAGS="-O2 -Wall -pipe -I$ROOT/$TOOLCHAIN/include"
+HOST_CFLAGS="-march=native -O2 -Wall -pipe -I$TOOLCHAIN/include"
HOST_CXXFLAGS="$HOST_CFLAGS"
-HOST_LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib -L$ROOT/$TOOLCHAIN/lib"
-HOST_LIBDIR="$ROOT/$TOOLCHAIN/lib"
+HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
+HOST_INCDIR="$TOOLCHAIN/include /usr/include"
# work around Ubuntu default C*FLAGS
# see https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security
HOST_CFLAGS="$HOST_CFLAGS -Wno-format-security"
HOST_CXXFLAGS="$HOST_CXXFLAGS -Wno-format-security"
+# lto flags
+FLAGS_OPTIM_LTO_NO_PARALLEL="-flto"
+FLAGS_OPTIM_LTO_PARALLEL="-flto=${CONCURRENCY_MAKE_LEVEL}"
+FLAGS_OPTIM_LTO_NO_FAT="-fno-fat-lto-objects"
+FLAGS_OPTIM_LTO_FAT="-ffat-lto-objects"
+FLAGS_OPTIM_LTO_OFF="-fno-lto"
+LDFLAGS_OPTIM_LTO_COMMON="-fuse-linker-plugin"
+
+# gold flags
+LDFLAGS_OPTIM_GOLD="-fuse-ld=gold"
+
+# position-independent code
+CFLAGS_OPTIM_PIC="-fPIC -DPIC"
+CXXFLAGS_OPTIM_PIC="-fPIC -DPIC"
+LDFLAGS_OPTIM_PIC="-fPIC"
+
+# hardening support
+# TODO: basiclly copied from debian 9, should adjust for LE
+CFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
+CXXFLAGS_OPTIM_HARDENING="-fstack-protector-strong -Wformat -Werror=format-security -fPIE"
+CPPFLAGS_OPTIM_HARDENING="-D_FORTIFY_SOURCE=2"
+LDFLAGS_OPTIM_HARDENING="-Wl,-z,relro -Wl,-z,now"
+
# add distro specific library dirs
+if [ -z "$HOST_LIBDIR" ]; then
+ HOST_LIBDIR="$TOOLCHAIN/lib"
+
# ubuntu/debian specific "multiarch support"
- FAMILY_TRIPLET=$(echo $HOST_NAME | sed -e "s,$(uname -m),$(uname -i),")
- if [ -d /lib/$FAMILY_TRIPLET ]; then
- HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
- fi
- if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
- HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
- fi
+ export MACHINE_HARDWARE_NAME="$(uname -m)"
+ export MACHINE_HARDWARE_PLATFORM="$(uname -i)"
+ FAMILY_TRIPLET=${HOST_NAME/${MACHINE_HARDWARE_NAME}/${MACHINE_HARDWARE_PLATFORM}}
+ if [ -d /lib/$FAMILY_TRIPLET ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /lib/$FAMILY_TRIPLET"
+ fi
+ if [ -d /usr/lib/$FAMILY_TRIPLET ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /usr/lib/$FAMILY_TRIPLET"
+ fi
# default multiarch support
- case "`uname -m`" in
- i*86)
- if [ -d /lib32 ]; then
- HOST_LIBDIR="$HOST_LIBDIR /lib32"
- fi
- if [ -d /usr/lib32 ]; then
- HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
- fi
- ;;
- x86_64)
- if [ -d /lib64 ]; then
- HOST_LIBDIR="$HOST_LIBDIR /lib64"
- fi
- if [ -d /usr/lib64 ]; then
- HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
- fi
- ;;
- esac
+ case "${MACHINE_HARDWARE_NAME}" in
+ i*86)
+ if [ -d /lib32 ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /lib32"
+ fi
+ if [ -d /usr/lib32 ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /usr/lib32"
+ fi
+ ;;
+ x86_64)
+ if [ -d /lib64 ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /lib64"
+ fi
+ if [ -d /usr/lib64 ]; then
+ HOST_LIBDIR="$HOST_LIBDIR /usr/lib64"
+ fi
+ ;;
+ esac
# default dirs
- HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
- HOST_INCDIR="$ROOT/$TOOLCHAIN/include /usr/include"
+ export HOST_LIBDIR="$HOST_LIBDIR /lib /usr/lib"
+fi
diff --git a/config/options b/config/options
index cc20c5204d..1bba024b99 100644
--- a/config/options
+++ b/config/options
@@ -1,81 +1,74 @@
+# Do not build as root. Ever.
+if [[ "${EUID}" -eq 0 ]]; then
+ echo "Building as the root user is NOT supported. Use a regular user account for the build." 1>&2
+ exit 1
+fi
+
# set default language for buildsystem
- export LC_ALL=C
+export LC_ALL=C
+
+# set default independent variables
+ROOT="${PWD}"
+DISTRO_DIR="${ROOT}/distributions"
+PROJECT_DIR="${ROOT}/projects"
# determines DISTRO, if not forced by user
-# default is LibreELEC
-if [ -z "$DISTRO" ]; then
- DISTRO="LibreELEC"
-else
- DISTRO="$DISTRO"
-fi
+DISTRO="${DISTRO:-LibreELEC}"
# determines PROJECT, if not forced by user
-# default is Generic
-if [ -z "$PROJECT" ]; then
- PROJECT="Generic"
-else
- PROJECT="$PROJECT"
-fi
+PROJECT="${PROJECT:-Generic}"
-# determines TARGET_ARCH, if not forced by user (x86_64 / arm)
-# default is x86_64
-if [ -z "$ARCH" ]; then
- TARGET_ARCH="x86_64"
-else
- TARGET_ARCH="$ARCH"
-fi
+# determines TARGET_ARCH, if not forced by user
+ARCH="${ARCH:-x86_64}"
+TARGET_ARCH="${ARCH}"
-ROOT=`pwd`
-DISTRO_DIR="$ROOT/distributions"
-PROJECT_DIR="$ROOT/projects"
-LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $PROJECT_DIR/$PROJECT/devices/$DEVICE/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
-[ "$TARGET_ARCH" = "x86_64" ] && LINUX_DEPENDS+=" $ROOT/packages/linux-firmware/intel-ucode/package.mk $ROOT/packages/linux-firmware/x86-firmware/package.mk"
+# include helper functions
+. config/functions
-# include versioning
- . config/version
+# read DISTRO version information
+. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n"
+
+# read DISTRO options if available
+if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
+ . "${DISTRO_DIR}/${DISTRO}/options"
+fi
-# read distro versioning if available
- if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
- . $DISTRO_DIR/$DISTRO/version
- fi
+# read PROJECT options if available
+if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
+ . "${PROJECT_DIR}/${PROJECT}/options"
+fi
-# read distro options if available
- if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
- . $DISTRO_DIR/$DISTRO/options
- fi
+# read DEVICE options if available
+if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
+ . "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
+fi
-# read project options if available
- if [ -f "$PROJECT_DIR/$PROJECT/options" ]; then
- . $PROJECT_DIR/$PROJECT/options
- fi
+# projects can set KERNEL_NAME (kernel.img)
+KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
-# read board options if available
- if [ -f "$PROJECT_DIR/$PROJECT/devices/$DEVICE/options" ]; then
- . $PROJECT_DIR/$PROJECT/devices/$DEVICE/options
- fi
+LINUX_DEPENDS="${PROJECT_DIR}/${PROJECT}/linux ${PROJECT_DIR}/${PROJECT}/patches/linux ${PROJECT_DIR}/${PROJECT}/packages/linux ${ROOT}/packages/linux"
+[ -n "${DEVICE}" ] && LINUX_DEPENDS+=" ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/patches/linux ${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/packages/linux"
+[ "${TARGET_ARCH}" = "x86_64" ] && LINUX_DEPENDS+=" ${ROOT}/packages/linux-firmware/intel-ucode ${ROOT}/packages/linux-firmware/kernel-firmware"
# Need to point to your actual cc
-# If you have ccache installed, take care that LOCAL_CC don't point to it
- LOCAL_CC=`which gcc`
+# If you have ccache installed, take care that LOCAL_CC does not point to it
+[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(command -v gcc)"
-if [ -z "$LOCAL_CC" ] ; then
- echo "***** Please install gcc *****"
- exit 127
+if [ -z "${LOCAL_CC}" ]; then
+ die "***** Please install gcc *****" "127"
fi
# Need to point to your actual g++
-# If you have ccache installed, take care that LOCAL_CXX don't point to it
- LOCAL_CXX=`which g++`
+# If you have ccache installed, take care that LOCAL_CXX does not point to it
+[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(command -v g++)"
# verbose compilation mode (yes/no)
- VERBOSE="yes"
+VERBOSE="${VERBOSE:-yes}"
# Concurrency make level (-j option)
-# Try value 1 (default) to 4 on single CPU computer, or more on
-# multi-processor computer (like hyperthreading SMP CPU)
- if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
- CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
- fi
+# Try values between 1 and number of processor cores present.
+# default: use all cores
+[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
# cache size for ccache
# Set the maximum size of the files stored in the cache. You can specify a
@@ -83,22 +76,27 @@ fi
# value. The default is gigabytes. The actual value stored is rounded down to
# the nearest multiple of 16 kilobytes. Keep in mind this per project .ccache
# directory.
- CCACHE_CACHE_SIZE="10G"
+CCACHE_CACHE_SIZE="10G"
# read options from $HOME if available
- if [ -f "$HOME/.libreelec/options" ]; then
- . $HOME/.libreelec/options
- fi
-
-# install devtools on development builds
- if [ -z "$DEVTOOLS" -a "$LIBREELEC_VERSION" = "devel" ]; then
- DEVTOOLS=yes
- fi
+if [ -f "${HOME}/.libreelec/options" ]; then
+ . "${HOME}/.libreelec/options"
+fi
# overwrite OEM_SUPPORT via commandline
-if [ "$OEM" = yes -o "$OEM" = no ]; then
- OEM_SUPPORT=$OEM
+if [ "${OEM}" = "yes" -o "${OEM}" = "no" ]; then
+ OEM_SUPPORT="${OEM}"
fi
+check_config
+
. config/graphic
. config/path $1
+
+## package processing
+
+# If the package caches are unset, then populate them
+init_package_cache
+
+# set package metadata
+source_package "${1}"
diff --git a/config/path b/config/path
index 4e853342b3..1f1080b53c 100644
--- a/config/path
+++ b/config/path
@@ -1,14 +1,15 @@
-set -e
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
-. config/functions
+set -e
# setup initial directorys (relative to root)
CONFIG=config
SCRIPTS=scripts
PACKAGES=packages
- SOURCES=sources
+ SOURCES=${SOURCES_DIR:-$ROOT/sources}
BUILD_BASE=build
- TARGET=target
+ TARGET_IMG=${TARGET_DIR:-$ROOT/target}
ADDONS=addons
# include ARCH specific options
@@ -16,26 +17,18 @@ set -e
. config/arch.$TARGET_ARCH
fi
-HOST_NAME=`$LOCAL_CC -dumpmachine`
+[ -z "${HOST_NAME}" ] && export HOST_NAME="$($LOCAL_CC -dumpmachine)"
TARGET_NAME=$TARGET_GCC_ARCH-libreelec-linux-gnu${TARGET_ABI}
-if [ -n "$DEVICE" ]; then
- BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$LIBREELEC_VERSION
- if [ "$LIBREELEC_VERSION" = "devel" ] ; then
- BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$DEVICE.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
- fi
-else
- BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$LIBREELEC_VERSION
- if [ "$LIBREELEC_VERSION" = "devel" ] ; then
- BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
- fi
+BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$LIBREELEC_VERSION
+if [ "$LIBREELEC_VERSION" = "devel" ] ; then
+ BUILD=$ROOT/$BUILD_BASE.$DISTRONAME-${DEVICE:-$PROJECT}.$TARGET_ARCH-$OS_VERSION-$LIBREELEC_VERSION
fi
if [ -n "$BUILD_SUFFIX" ]; then
BUILD=$BUILD-$BUILD_SUFFIX
fi
-TARGET_IMG=$ROOT/$TARGET
TARGET_ADDONS="$TARGET_IMG/$ADDONS/$ADDON_PATH"
ADDON_BUILD="$BUILD/$ADDONS/$1"
STAMPS_NOARCH=.stamps
@@ -43,11 +36,21 @@ STAMPS=$BUILD/.stamps
STAMPS_INSTALL=$BUILD/image/.stamps
DOCS=DOCS
TOOLCHAIN=$BUILD/toolchain
-SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
+SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot
LIB_PREFIX=$SYSROOT_PREFIX/usr
-TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
+TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
+
+# use linaro toolchain on 64/32 split builds
+if [ -z "$KERNEL_LINARO_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
+ KERNEL_LINARO_TOOLCHAIN="aarch64-linux-gnu"
+fi
+if [ -n "$KERNEL_LINARO_TOOLCHAIN" ]; then
+ TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-$KERNEL_LINARO_TOOLCHAIN/bin/$KERNEL_LINARO_TOOLCHAIN-
+else
+ TARGET_KERNEL_PREFIX=$TARGET_PREFIX
+fi
-FAKEROOT_SCRIPT=$ROOT/.fakeroot.$BUILD
+FAKEROOT_SCRIPT=$BUILD/.fakeroot
if [ -z "$INSTALL" ]; then
INSTALL=$BUILD/image/system
@@ -56,126 +59,8 @@ INSTALL_INIT=$BUILD/image/initramfs/root-image
. config/sources
-MAKE="$ROOT/$TOOLCHAIN/bin/make"
-MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
-SED="sed -i"
-
-# set package metadata
- PKG_NAME="$1"
- PKG_VERSION="0.0invalid"
- PKG_REV="0"
- PKG_ARCH="any"
- PKG_LICENSE="unknown"
- PKG_SITE=""
- PKG_URL=""
- PKG_SOURCE_NAME=""
- PKG_SOURCE_DIR=""
- PKG_DEPENDS_TARGET=""
- PKG_DEPENDS_HOST=""
- PKG_DEPENDS_INIT=""
- PKG_DEPENDS_BOOTSTRAP=""
- PKG_SECTION=""
- PKG_SHORTDESC="$1 (autogenerated)"
- PKG_LONGDESC=""
- PKG_IS_ADDON="no"
- PKG_PATCH_DIRS=""
-
- if [ -n "$1" ]; then
- _PKG_ROOT_NAME=${1%:*}
- _ALL_DIRS=""
- _FOUND=0
- _ANCHOR="@?+?@"
- PKG_DIR=""
-
- # If the package caches are unset, then populate them
- if [ -z "${_CACHE_PACKAGE_LOCAL+x}" -o -z "${_CACHE_PACKAGE_GLOBAL+x}" ]; then
- _CACHE_PACKAGE_LOCAL=""
- _CACHE_PACKAGE_GLOBAL=""
-
- # cache project folder for a package
- for DIR in $(find $ROOT/projects/$PROJECT/packages -type d 2>/dev/null); do
- [ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_LOCAL+="${DIR}${_ANCHOR}\n"
- done
-
- # cache packages folder
- for DIR in $(find $ROOT/$PACKAGES -type d 2>/dev/null); do
- [ -r "$DIR/package.mk" ] && _CACHE_PACKAGE_GLOBAL+="${DIR}${_ANCHOR}\n"
- done
-
- export _CACHE_PACKAGE_LOCAL _CACHE_PACKAGE_GLOBAL
- fi
-
- # Check for any available local package in preference to a global package
- for DIR in $(echo -e "${_CACHE_PACKAGE_LOCAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
- DIR="${DIR%${_ANCHOR}}"
- # found first, set $PKG_DIR
- PKG_DIR="$DIR"
- # keep track of dirs with package.mk for detecting multiple folders
- _ALL_DIRS+="${DIR}\n"
- _FOUND=$((_FOUND+1))
- done
-
- # If there's no local package available, use the global package
- if [ $_FOUND -eq 0 ]; then
- for DIR in $(echo -e "${_CACHE_PACKAGE_GLOBAL}" | grep -F "/${_PKG_ROOT_NAME}${_ANCHOR}"); do
- DIR="${DIR%${_ANCHOR}}"
- # found first, set $PKG_DIR
- PKG_DIR="$DIR"
- # keep track of dirs with package.mk for detecting multiple folders
- _ALL_DIRS+="${DIR}\n"
- _FOUND=$((_FOUND+1))
- done
- fi
-
- # _FOUND multiple packages? fail
- if [ $_FOUND -gt 1 ]; then
- echo "Error - multiple package folders:"
- echo -e "$_ALL_DIRS"
- exit 1
- fi
- fi
-
- if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then
- . $PKG_DIR/package.mk
- fi
-
- if [ "$PKG_IS_ADDON" = "yes" ] ; then
- [ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
- fi
-
- # Automatically set PKG_SOURCE_NAME unless it is already defined.
- # PKG_SOURCE_NAME will be automatically set to a name based on
- # the $PKG_NAME-$PKG_VERSION convention.
- #
- # Any $PKG_URL that references more than a single url will abort
- # the build as these are no longer supported - use mkpkg instead.
- if [ -n "$PKG_URL" -a -z "$PKG_SOURCE_NAME" ]; then
- if [[ $PKG_URL =~ .*\ .* ]]; then
- echo "Error - packages with multiple urls are no longer supported, use mkpkg:"
- echo "$PKG_URL"
- exit 1
- fi
- PKG_SOURCE_NAME="$(basename "$PKG_URL")"
- case $PKG_SOURCE_NAME in
- ${PKG_NAME}-${PKG_VERSION}.*)
- PKG_SOURCE_NAME=$PKG_SOURCE_NAME
- ;;
- *.tar | *.tbz | *.tgz | *.txz | *.7z | *.zip)
- PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
- ;;
- *.tar.bz2 | *.tar.gz | *.tar.xz)
- PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.tar.${PKG_SOURCE_NAME##*\.}
- ;;
- *.diff | *.patch | *.diff.bz2 | *.patch.bz2 | patch-*.bz2 | *.diff.gz | *.patch.gz | patch-*.gz)
- PKG_SOURCE_NAME=$PKG_SOURCE_NAME
- ;;
- *)
- PKG_SOURCE_NAME=${PKG_NAME}-${PKG_VERSION}.${PKG_SOURCE_NAME##*\.}
- ;;
- esac
- fi
-
- PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
+MAKE="$TOOLCHAIN/bin/make"
+MAKEINSTALL="$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install"
XORG_PATH_DRI=/usr/lib/dri
XORG_PATH_XKB=/usr/share/X11/xkb
@@ -187,53 +72,31 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
. config/optimize
if [ -z "$CCACHE_DIR" ]; then
- export CCACHE_DIR=$ROOT/$BUILD/.ccache
+ export CCACHE_DIR=$BUILD/.ccache
fi
-export MAKEFLAGS=-j$CONCURRENCY_MAKE_LEVEL
-export PKG_CONFIG=$ROOT/$TOOLCHAIN/bin/pkg-config
-if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then
- export PATH="$ROOT/$TOOLCHAIN/bin:$ROOT/$TOOLCHAIN/sbin:$PATH"
-fi
-
-if [ -z "$LD_LIBRARY_PATH" -o "$LD_LIBRARY_PATH" = "${LD_LIBRARY_PATH#$ROOT/$TOOLCHAIN/lib:}" ]; then
- export LD_LIBRARY_PATH="$ROOT/$TOOLCHAIN/lib:$LD_LIBRARY_PATH"
+if [[ -z "$PATH" || ( "$PATH" != "$TOOLCHAIN/bin:$TOOLCHAIN/sbin" && "$PATH" = "${PATH#$TOOLCHAIN/bin:$TOOLCHAIN/sbin:}" ) ]]; then
+ export PATH="$TOOLCHAIN/bin:$TOOLCHAIN/sbin${PATH:+":$PATH"}"
fi
VERSION_SUFFIX=$TARGET_ARCH
-check_path
-check_config
-
-SILENT_OUT=3
-VERBOSE_OUT=4
-if [ "$VERBOSE" = yes ]; then
- exec 3>&1
- exec 4>&2
-else
- exec 3>&2
- exec 4>/dev/null
+# redirect formatted output
+if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
+ export BUILD_INDENT_SIZE=4
+ export SILENT_OUT=3
+ export VERBOSE_OUT=4
+
+ if [ "$VERBOSE" = yes ]; then
+ exec 3>&1
+ exec 4>&2
+ else
+ exec 3>&2
+ exec 4>/dev/null
+ fi
fi
-BUILD_INDENT_SIZE=4
-
-# define colors
- black="\e[0;30m"
- boldblack="\e[1;30m"
- red="\e[0;31m"
- boldred="\e[1;31m"
- green="\e[0;32m"
- boldgreen="\e[1;32m"
- yellow="\e[0;33m"
- boldyellow="\e[1;33m"
- blue="\e[0;34m"
- boldblue="\e[1;34m"
- magenta="\e[0;35m"
- boldmagenta="\e[1;35m"
- cyan="\e[0;36m"
- boldcyan="\e[1;36m"
- white="\e[0;37m"
- boldwhite="\e[1;37m"
- endcolor="\e[0m"
+
+unset LD_LIBRARY_PATH
# multilib? nah
unset CONFIG_SITE
diff --git a/config/show_config b/config/show_config
new file mode 100644
index 0000000000..dc18851a32
--- /dev/null
+++ b/config/show_config
@@ -0,0 +1,171 @@
+show_config() {
+ # load graphic configuration
+ get_graphicdrivers
+
+ dashes="==========================="
+ config_message="$config_message\n $dashes$dashes$dashes"
+ config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
+ config_message="$config_message\n $dashes$dashes$dashes"
+
+ # Build options
+
+ config_message="$config_message\n\n Buildoptions:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - CPU (ARCH):\t\t\t\t $TARGET_CPU ($TARGET_ARCH)"
+ config_message="$config_message\n - FLOAT:\t\t\t\t $TARGET_FLOAT"
+ config_message="$config_message\n - FPU:\t\t\t\t\t $TARGET_FPU"
+ config_message="$config_message\n - CPU features:\t\t\t $TARGET_FEATURES"
+ config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
+ config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
+ config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
+ config_message="$config_message\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
+
+ # config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"
+ # config_message="$config_message\n - LDFLAGS:\t $TARGET_LDFLAGS"
+
+ # Graphic configuration
+
+ config_message="$config_message\n\n Graphic configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ if [ "$DISPLAYSERVER" = "x11" ] ; then
+ config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
+ config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
+ config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
+ fi
+ config_message="$config_message\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
+ config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
+ config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
+
+ # Hardware decoder support
+
+ config_message="$config_message\n\n Hardware decoder configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
+ config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
+ config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
+
+ # Input device configuration
+
+ config_message="$config_message\n\n Input device configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
+ config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
+ config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
+ config_message="$config_message\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
+ config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
+
+ # Misc. hardware configuration
+
+ config_message="$config_message\n\n Misc. hardware configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
+ config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
+ config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
+
+ for config_driver in $ADDITIONAL_DRIVERS; do
+ config_message="$config_message\n - Include driver:\t\t\t $config_driver"
+ done
+
+ if [ "$DRIVER_ADDONS_SUPPORT" = "yes" ]; then
+ for config_driver_addons in $DRIVER_ADDONS; do
+ config_message="$config_message\n - Include driver add-ons:\t\t $config_driver_addons"
+ done
+ fi
+
+ for config_firmware in $FIRMWARE; do
+ config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
+ done
+
+ for config_modules in $INITRAMFS_MODULES; do
+ config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
+ done
+
+ # Network service configuration
+
+ config_message="$config_message\n\n Network service configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
+ config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
+ config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
+ config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
+ config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
+ config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
+
+ # OS configuration
+
+ config_message="$config_message\n\n OS configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
+ config_message="$config_message\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
+ config_message="$config_message\n - Bootloader:\t\t\t\t $BOOTLOADER"
+ if [ "$BOOTLOADER" = "u-boot" ]; then
+ config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
+ config_message="$config_message\n - U-Boot config file:\t\t $UBOOT_CONFIGFILE"
+ fi
+ config_message="$config_message\n - UDevil support:\t\t\t $UDEVIL"
+ config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
+ for config_package in $ADDITIONAL_PACKAGES; do
+ config_message="$config_message\n - Include package:\t\t\t $config_package"
+ done
+
+ # Misc. Filesystems
+
+ config_message="$config_message\n\n Misc. Filesystems:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Swap Support:\t\t\t $SWAP_SUPPORT"
+ if [ "$SWAP_SUPPORT" = "yes" ]; then
+ config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
+ fi
+ config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT"
+ config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
+ config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
+
+ # Kodi configuration
+ if [ ! "$MEDIACENTER" = "no" ]; then
+ config_message="$config_message\n\n Kodi configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
+ config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
+ if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
+ config_message="$config_message\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
+ config_message="$config_message\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
+ fi
+ config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
+ config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
+ config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
+ config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
+ config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
+ config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
+ config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
+ config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
+ config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
+
+ for config_skin in $SKINS; do
+ config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
+ done
+
+ config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
+ config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
+ fi
+
+ if [ "$(type -t show_distro_config)" = "function" ]; then
+ show_distro_config
+ fi
+
+ config_message="$config_message\n"
+ config_message="$config_message\n $dashes$dashes$dashes"
+ config_message="$config_message\n End Configuration for $DISTRONAME"
+ config_message="$config_message\n $dashes$dashes$dashes"
+ config_message="$config_message\n\n\n"
+
+ echo -e "$config_message"
+}
diff --git a/config/sources b/config/sources
index 9971c2a33e..fe19a603fe 100644
--- a/config/sources
+++ b/config/sources
@@ -1,2 +1,2 @@
# Sourceforge download site
- SOURCEFORGE_SRC="http://prdownloads.sourceforge.net"
\ No newline at end of file
+ SOURCEFORGE_SRC="https://prdownloads.sourceforge.net"
diff --git a/config/version b/config/version
deleted file mode 100644
index e07311ebb2..0000000000
--- a/config/version
+++ /dev/null
@@ -1,9 +0,0 @@
-# VERSION: set full version, use "devel" for development version
- LIBREELEC_VERSION="devel"
-
-# OS_VERSION: OS Version
- OS_VERSION="8.0"
-
-# ADDON_VERSION: Addon version
- ADDON_VERSION="8.1"
-
diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options
index 8246e6f476..cb446938e4 100644
--- a/distributions/LibreELEC/options
+++ b/distributions/LibreELEC/options
@@ -4,6 +4,9 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
+# HARDENING (security relevant linker and compiler flags) support
+ HARDENING_SUPPORT="no"
+
# Name of the Distro to build (full name, without special characters)
DISTRONAME="LibreELEC"
@@ -13,7 +16,7 @@
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREETING0="##############################################"
GREETING1="# LibreELEC #"
- GREETING2="# http://libreelec.tv #"
+ GREETING2="# https://libreelec.tv #"
GREETING3="##############################################"
GREETING4=""
@@ -34,6 +37,9 @@
# Default Skin (Estuary)
SKIN_DEFAULT="Estuary"
+# Select whether to use default (upstream xbmc/xbmc) repo, or specific vendor repo
+ KODI_VENDOR="default"
+
# install extra subtitle Fonts for KODI (yes / no)
KODI_EXTRA_FONTS="yes"
@@ -43,10 +49,6 @@
# build and install espeak support (yes / no)
ESPEAK_SUPPORT="yes"
-# build and install with non-free support
-# (RAR compression support in KODI) (yes / no)
- KODI_NONFREE_SUPPORT="yes"
-
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
@@ -63,7 +65,7 @@
KODI_DVDCSS_SUPPORT="yes"
# additional drivers to install:
-# for a list of additinoal drivers see packages/linux-drivers
+# for a list of additional drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
@@ -80,11 +82,8 @@
# build with UPnP support (yes / no)
KODI_UPNP_SUPPORT="yes"
-# build with MySQL support (yes / no)
- KODI_MYSQL_SUPPORT="yes"
-
-# build xbmc with sshlib support (yes / no)
- KODI_SSHLIB_SUPPORT="yes"
+# build with MySQL support (mysql / mariadb / none)
+ KODI_MYSQL_SUPPORT="mariadb"
# build xbmc with optical drive support (yes / no)
KODI_OPTICAL_SUPPORT="yes"
@@ -136,7 +135,7 @@
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
- GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy"
+ GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware virtio"
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
@@ -150,6 +149,9 @@
# build and install CEC adapter support (yes / no)
CEC_SUPPORT="yes"
+# build and install CEC framework support (yes / no)
+ CEC_FRAMEWORK_SUPPORT="no"
+
# build and install iSCSI support - iscsistart (yes / no)
ISCSI_SUPPORT="yes"
@@ -158,13 +160,18 @@
INITRAMFS_PARTED_SUPPORT="no"
# build with swap support (yes / no)
- SWAP_SUPPORT="no"
+ SWAP_SUPPORT="yes"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
- SWAPFILESIZE="256"
+ SWAPFILESIZE="128"
+
+# additional packages to install:
+# Space separated list is supported,
+# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"
+ ADDITIONAL_PACKAGES=""
# build with installer (yes / no)
INSTALLER_SUPPORT="yes"
@@ -186,13 +193,35 @@
DISTRO_SRC="http://sources.libreelec.tv/$LIBREELEC_VERSION"
# Addon Server Url
- ADDON_SERVER_URL="http://addons.libreelec.tv"
+ ADDON_SERVER_URL="https://addons.libreelec.tv"
# set the addon dirs
- ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
+ ADDON_PATH="$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH"
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
# Default size of system partition, in MB, eg. 512
SYSTEM_SIZE=512
# Default system partition offset, in sectors, eg. 2048
- SYSTEM_PART_START=2048
+ SYSTEM_PART_START=8192
+
+# Configure debug groups (space delimited key=value pairs, with each value comma-delimited) and default group when DEBUG=yes
+# Use ! or - prefix to prevent a dependent package from being built with debug. Add + suffix to build dependenencies with debug.
+ DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
+ DEBUG_GROUP_YES="kodi+"
+
+# Default supported get handlers (archive, git, file etc.)
+ GET_HANDLER_SUPPORT="archive"
+
+# Partition labels for USB/SD installation media
+ DISTRO_BOOTLABEL="LIBREELEC"
+ DISTRO_DISKLABEL="STORAGE"
+
+# Settings package name - blank if not required
+ DISTRO_PKG_SETTINGS="LibreELEC-settings"
+
+# IR remote protocols supported in default config
+ IR_REMOTE_PROTOCOLS="RC6 NEC"
+
+# IR remote keymaps supported in default config
+ IR_REMOTE_KEYMAPS="rc6_mce xbox_360 xbox_one"
+
diff --git a/distributions/LibreELEC/version b/distributions/LibreELEC/version
new file mode 100644
index 0000000000..3a7718c9cd
--- /dev/null
+++ b/distributions/LibreELEC/version
@@ -0,0 +1,8 @@
+# VERSION: set full version, use "devel" for development version
+ LIBREELEC_VERSION="devel"
+
+# OS_VERSION: OS Version
+ OS_VERSION="9.0"
+
+# ADDON_VERSION: Addon version
+ ADDON_VERSION="9.0"
diff --git a/distributions/OpenPHT/config/functions b/distributions/OpenPHT/config/functions
new file mode 100644
index 0000000000..58eefa1a02
--- /dev/null
+++ b/distributions/OpenPHT/config/functions
@@ -0,0 +1,33 @@
+
+distro_image_name() {
+ if [ -f $BUILD/BUILD_OPENPHT ]; then
+ . $BUILD/BUILD_OPENPHT
+ fi
+ if [ -n "$OPENPHT_VERSION" ]; then
+ CUSTOM_VERSION=$OPENPHT_VERSION
+ if [ -z "$DEVICE" ]; then
+ CUSTOM_IMAGE_NAME="$DISTRONAME-$OPENPHT_VERSION-$PROJECT.$TARGET_ARCH"
+ else
+ CUSTOM_IMAGE_NAME="$DISTRONAME-$OPENPHT_VERSION-$DEVICE.$TARGET_ARCH"
+ fi
+ fi
+}
+
+show_distro_config() {
+ distro_image_name
+
+ config_message="$config_message\n\n OpenPHT configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - OpenPHT branch:\t\t\t $OPENPHT_BRANCH"
+ config_message="$config_message\n - OpenPHT repository:\t\t\t $OPENPHT_REPO"
+ config_message="$config_message\n - OpenPHT-Settings repository:\t\t $OPENPHT_SETTINGS_REPO"
+ config_message="$config_message\n - OpenPHT gitrev:\t\t\t $OPENPHT_GITREV"
+ config_message="$config_message\n - OpenPHT version:\t\t\t $OPENPHT_VERSION"
+
+ config_message="$config_message\n\n Image configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Image version:\t\t\t $CUSTOM_VERSION"
+ config_message="$config_message\n - Image name:\t\t\t\t $CUSTOM_IMAGE_NAME"
+}
diff --git a/distributions/OpenPHT/options b/distributions/OpenPHT/options
new file mode 100644
index 0000000000..1f99ab1c11
--- /dev/null
+++ b/distributions/OpenPHT/options
@@ -0,0 +1,208 @@
+# LTO (Link Time Optimization) support
+ LTO_SUPPORT="yes"
+
+# GOLD (Google Linker) support
+ GOLD_SUPPORT="yes"
+
+# Name of the Distro to build (full name, without special characters)
+ DISTRONAME="OpenPHT-Embedded"
+
+# short project description
+ DESCRIPTION="OpenPHT-Embedded is a fast and user-friendly OpenPHT distribution."
+
+# Welcome Message for e.g. SSH Server (up to 5 Lines)
+ GREETING0="##############################################"
+ GREETING1="# OpenPHT-Embedded #"
+ GREETING2="# http://openpht.tv #"
+ GREETING3="##############################################"
+ GREETING4=""
+
+# Root password to integrate in the target system
+ ROOT_PASSWORD="openpht"
+
+# Install glibc locales to the build (yes / no)
+ GLIBC_LOCALES="yes"
+
+# Mediacenter to use (kodi / plexht / no)
+ MEDIACENTER="plexht"
+
+if [ -z "$OPENPHT_BRANCH" ]; then
+ OPENPHT_BRANCH="openpht-1.9"
+fi
+if [ -z "$OPENPHT_REPO" ]; then
+ OPENPHT_REPO="https://github.com/RasPlex/OpenPHT.git"
+fi
+if [ -z "$OPENPHT_SETTINGS_REPO" ]; then
+ OPENPHT_SETTINGS_REPO="https://github.com/RasPlex/service.openelec.settings.git"
+fi
+
+# Skins to install (Estuary)
+# Space separated list is supported,
+# e.g. SKINS="Estuary"
+ SKINS=""
+
+# Default Skin (Estuary)
+ SKIN_DEFAULT="plex"
+
+# install extra subtitle Fonts for KODI (yes / no)
+ KODI_EXTRA_FONTS="yes"
+
+# build and install PulseAudio support (yes / no)
+ PULSEAUDIO_SUPPORT="yes"
+
+# build and install espeak support (yes / no)
+ ESPEAK_SUPPORT="no"
+
+# build and install with non-free support
+# (RAR compression support in KODI) (yes / no)
+ KODI_NONFREE_SUPPORT="no"
+
+# build and install with BluRay support (yes / no)
+ KODI_BLURAY_SUPPORT="no"
+
+# build and install with BD+ support
+# (BD+ decryption support in KODI) (yes / no)
+ BLURAY_BDPLUS_SUPPORT="no"
+
+# build and install with AACS support
+# (BD decryption support in KODI) (yes / no)
+ BLURAY_AACS_SUPPORT="no"
+
+# build and install with DVDCSS support
+# (DVD decryption support in KODI) (yes / no)
+ KODI_DVDCSS_SUPPORT="no"
+
+# additional drivers to install:
+# for a list of additinoal drivers see packages/linux-drivers
+# Space separated list is supported,
+# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
+ ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
+
+# build and install bluetooth support (yes / no)
+ BLUETOOTH_SUPPORT="yes"
+
+# build and install with KODI webfrontend (yes / no)
+ KODI_WEBSERVER_SUPPORT="yes"
+
+# build and install Avahi (Zeroconf) daemon (yes / no)
+ AVAHI_DAEMON="yes"
+
+# build with UPnP support (yes / no)
+ KODI_UPNP_SUPPORT="yes"
+
+# build with MySQL support (yes / no)
+ KODI_MYSQL_SUPPORT="no"
+
+# build xbmc with sshlib support (yes / no)
+ KODI_SSHLIB_SUPPORT="no"
+
+# build xbmc with optical drive support (yes / no)
+ KODI_OPTICAL_SUPPORT="no"
+
+# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
+ KODI_AIRPLAY_SUPPORT="yes"
+
+# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
+ KODI_AIRTUNES_SUPPORT="yes"
+
+# build with libnfs support (mounting nfs shares with KODI) (yes / no)
+ KODI_NFS_SUPPORT="no"
+
+# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
+ KODI_SAMBA_SUPPORT="yes"
+
+# build with NFS support (mounting nfs shares via the OS) (yes / no)
+ NFS_SUPPORT="no"
+
+# build with Samba Client support (mounting samba shares via the OS) (yes / no)
+ SAMBA_SUPPORT="yes"
+
+# build and install Samba Server (yes / no)
+ SAMBA_SERVER="yes"
+
+# build and install SFTP Server (yes / no)
+ SFTP_SERVER="yes"
+
+# build and install OpenVPN support (yes / no)
+ OPENVPN_SUPPORT="yes"
+
+# build and install diskmounter support (udevil)
+# this service provide auto mounting support for external drives in the
+# mediacenter also automount internally drives at boottime via udev (yes / no)
+ UDEVIL="yes"
+
+# build and install exFAT fuse support (yes / no)
+ EXFAT="yes"
+
+# build and install NTFS-3G fuse support (yes / no)
+ NTFS3G="yes"
+
+# build and install hfs filesystem utilities (yes / no)
+ HFSTOOLS="yes"
+
+# Windowmanager to use (fluxbox / none)
+ WINDOWMANAGER="fluxbox"
+
+# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
+# Space separated list is supported,
+# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
+ GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware"
+
+# build and install remote support (yes / no)
+ REMOTE_SUPPORT="yes"
+
+# build and install ATV IR remote support (yes / no)
+ ATVCLIENT_SUPPORT="yes"
+
+# build and install Joystick support (yes / no)
+ JOYSTICK_SUPPORT="yes"
+
+# build and install CEC adapter support (yes / no)
+ CEC_SUPPORT="yes"
+
+# build and install iSCSI support - iscsistart (yes / no)
+ ISCSI_SUPPORT="no"
+
+# Support for partitioning and formating disks in initramfs (yes / no)
+# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
+ INITRAMFS_PARTED_SUPPORT="no"
+
+# build with swap support (yes / no)
+ SWAP_SUPPORT="yes"
+
+# swap support enabled per default (yes / no)
+ SWAP_ENABLED_DEFAULT="no"
+
+# swapfile size if SWAP_SUPPORT=yes in MB
+ SWAPFILESIZE="128"
+
+# build with installer (yes / no)
+ INSTALLER_SUPPORT="yes"
+
+# Testpackages for development (yes / no)
+ TESTING="no"
+
+# OEM packages for OEM's (yes / no)
+ OEM_SUPPORT="no"
+
+# build and install nano text editor (yes / no)
+ NANO_EDITOR="yes"
+
+# cron support (yes / no)
+ CRON_SUPPORT="yes"
+
+# Distribution Specific source location
+ DISTRO_MIRROR="http://sources.openpht.tv/mirror"
+ DISTRO_SRC="http://sources.openpht.tv/$LIBREELEC_VERSION"
+
+# Addon Server Url
+ ADDON_SERVER_URL="https://addons.openpht.tv"
+
+# set the addon dirs
+ ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
+ ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
+
+# Default size of system partition, in MB, eg. 512
+ SYSTEM_SIZE=512
+# Default system partition offset, in sectors, eg. 2048
+ SYSTEM_PART_START=8192
diff --git a/distributions/OpenPHT/splash/boot-logo.bmp.gz b/distributions/OpenPHT/splash/boot-logo.bmp.gz
new file mode 100644
index 0000000000..cdd6584f0d
Binary files /dev/null and b/distributions/OpenPHT/splash/boot-logo.bmp.gz differ
diff --git a/distributions/OpenPHT/splash/splash-1080.png b/distributions/OpenPHT/splash/splash-1080.png
new file mode 100644
index 0000000000..4fea75c9dd
Binary files /dev/null and b/distributions/OpenPHT/splash/splash-1080.png differ
diff --git a/distributions/OpenPHT/splash/splash-768.png b/distributions/OpenPHT/splash/splash-768.png
new file mode 100644
index 0000000000..27c0ec7822
Binary files /dev/null and b/distributions/OpenPHT/splash/splash-768.png differ
diff --git a/distributions/RasPlex/config/functions b/distributions/RasPlex/config/functions
new file mode 100644
index 0000000000..58eefa1a02
--- /dev/null
+++ b/distributions/RasPlex/config/functions
@@ -0,0 +1,33 @@
+
+distro_image_name() {
+ if [ -f $BUILD/BUILD_OPENPHT ]; then
+ . $BUILD/BUILD_OPENPHT
+ fi
+ if [ -n "$OPENPHT_VERSION" ]; then
+ CUSTOM_VERSION=$OPENPHT_VERSION
+ if [ -z "$DEVICE" ]; then
+ CUSTOM_IMAGE_NAME="$DISTRONAME-$OPENPHT_VERSION-$PROJECT.$TARGET_ARCH"
+ else
+ CUSTOM_IMAGE_NAME="$DISTRONAME-$OPENPHT_VERSION-$DEVICE.$TARGET_ARCH"
+ fi
+ fi
+}
+
+show_distro_config() {
+ distro_image_name
+
+ config_message="$config_message\n\n OpenPHT configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - OpenPHT branch:\t\t\t $OPENPHT_BRANCH"
+ config_message="$config_message\n - OpenPHT repository:\t\t\t $OPENPHT_REPO"
+ config_message="$config_message\n - OpenPHT-Settings repository:\t\t $OPENPHT_SETTINGS_REPO"
+ config_message="$config_message\n - OpenPHT gitrev:\t\t\t $OPENPHT_GITREV"
+ config_message="$config_message\n - OpenPHT version:\t\t\t $OPENPHT_VERSION"
+
+ config_message="$config_message\n\n Image configuration:"
+ config_message="$config_message\n $dashes$dashes"
+
+ config_message="$config_message\n - Image version:\t\t\t $CUSTOM_VERSION"
+ config_message="$config_message\n - Image name:\t\t\t\t $CUSTOM_IMAGE_NAME"
+}
diff --git a/distributions/RasPlex/options b/distributions/RasPlex/options
new file mode 100644
index 0000000000..436b235869
--- /dev/null
+++ b/distributions/RasPlex/options
@@ -0,0 +1,232 @@
+# LTO (Link Time Optimization) support
+ LTO_SUPPORT="yes"
+
+# GOLD (Google Linker) support
+ GOLD_SUPPORT="yes"
+
+# Name of the Distro to build (full name, without special characters)
+ DISTRONAME="RasPlex"
+
+# short project description
+ DESCRIPTION="RasPlex is a fast and user-friendly OpenPHT distribution for Raspberry Pi."
+
+# Welcome Message for e.g. SSH Server (up to 5 Lines)
+ GREETING0="##############################################"
+ GREETING1="# RasPlex #"
+ GREETING2="# http://rasplex.com #"
+ GREETING3="##############################################"
+ GREETING4=""
+
+# Root password to integrate in the target system
+ ROOT_PASSWORD="rasplex"
+
+# Install glibc locales to the build (yes / no)
+ GLIBC_LOCALES="yes"
+
+# Mediacenter to use (kodi / plexht / no)
+ MEDIACENTER="plexht"
+
+if [ -z "$OPENPHT_BRANCH" ]; then
+ OPENPHT_BRANCH="openpht-1.9"
+fi
+if [ -z "$OPENPHT_REPO" ]; then
+ OPENPHT_REPO="https://github.com/RasPlex/OpenPHT.git"
+fi
+if [ -z "$OPENPHT_SETTINGS_REPO" ]; then
+ OPENPHT_SETTINGS_REPO="https://github.com/RasPlex/service.openelec.settings.git"
+fi
+
+# Skins to install (Estuary)
+# Space separated list is supported,
+# e.g. SKINS="Estuary"
+ SKINS=""
+
+# Default Skin (Estuary)
+ SKIN_DEFAULT="plex"
+
+# install extra subtitle Fonts for KODI (yes / no)
+ KODI_EXTRA_FONTS="yes"
+
+# build and install PulseAudio support (yes / no)
+ PULSEAUDIO_SUPPORT="yes"
+
+# build and install espeak support (yes / no)
+ ESPEAK_SUPPORT="no"
+
+# build and install with non-free support
+# (RAR compression support in KODI) (yes / no)
+ KODI_NONFREE_SUPPORT="no"
+
+# build and install with BluRay support (yes / no)
+ KODI_BLURAY_SUPPORT="no"
+
+# build and install with BD+ support
+# (BD+ decryption support in KODI) (yes / no)
+ BLURAY_BDPLUS_SUPPORT="no"
+
+# build and install with AACS support
+# (BD decryption support in KODI) (yes / no)
+ BLURAY_AACS_SUPPORT="no"
+
+# build and install with DVDCSS support
+# (DVD decryption support in KODI) (yes / no)
+ KODI_DVDCSS_SUPPORT="no"
+
+# additional drivers to install:
+# for a list of additinoal drivers see packages/linux-drivers
+# Space separated list is supported,
+# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
+ ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU"
+
+# build and install bluetooth support (yes / no)
+ BLUETOOTH_SUPPORT="yes"
+
+# build and install with KODI webfrontend (yes / no)
+ KODI_WEBSERVER_SUPPORT="yes"
+
+# build and install Avahi (Zeroconf) daemon (yes / no)
+ AVAHI_DAEMON="yes"
+
+# build with UPnP support (yes / no)
+ KODI_UPNP_SUPPORT="yes"
+
+# build with MySQL support (yes / no)
+ KODI_MYSQL_SUPPORT="no"
+
+# build xbmc with sshlib support (yes / no)
+ KODI_SSHLIB_SUPPORT="no"
+
+# build xbmc with optical drive support (yes / no)
+ KODI_OPTICAL_SUPPORT="no"
+
+# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
+ KODI_AIRPLAY_SUPPORT="yes"
+
+# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
+ KODI_AIRTUNES_SUPPORT="yes"
+
+# build with libnfs support (mounting nfs shares with KODI) (yes / no)
+ KODI_NFS_SUPPORT="no"
+
+# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
+ KODI_SAMBA_SUPPORT="yes"
+
+# build with NFS support (mounting nfs shares via the OS) (yes / no)
+ NFS_SUPPORT="no"
+
+# build with Samba Client support (mounting samba shares via the OS) (yes / no)
+ SAMBA_SUPPORT="yes"
+
+# build and install Samba Server (yes / no)
+ SAMBA_SERVER="yes"
+
+# build and install SFTP Server (yes / no)
+ SFTP_SERVER="yes"
+
+# build and install OpenVPN support (yes / no)
+ OPENVPN_SUPPORT="yes"
+
+# build and install diskmounter support (udevil)
+# this service provide auto mounting support for external drives in the
+# mediacenter also automount internally drives at boottime via udev (yes / no)
+ UDEVIL="yes"
+
+# build and install exFAT fuse support (yes / no)
+ EXFAT="yes"
+
+# build and install NTFS-3G fuse support (yes / no)
+ NTFS3G="yes"
+
+# build and install hfs filesystem utilities (yes / no)
+ HFSTOOLS="yes"
+
+# Windowmanager to use (fluxbox / none)
+ WINDOWMANAGER="fluxbox"
+
+# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
+# Space separated list is supported,
+# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
+ GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware"
+
+# build and install remote support (yes / no)
+ REMOTE_SUPPORT="yes"
+
+# build and install ATV IR remote support (yes / no)
+ ATVCLIENT_SUPPORT="yes"
+
+# build and install Joystick support (yes / no)
+ JOYSTICK_SUPPORT="yes"
+
+# build and install CEC adapter support (yes / no)
+ CEC_SUPPORT="yes"
+
+# build and install iSCSI support - iscsistart (yes / no)
+ ISCSI_SUPPORT="no"
+
+# Support for partitioning and formating disks in initramfs (yes / no)
+# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
+ INITRAMFS_PARTED_SUPPORT="no"
+
+# build with swap support (yes / no)
+ SWAP_SUPPORT="yes"
+
+# swap support enabled per default (yes / no)
+ SWAP_ENABLED_DEFAULT="no"
+
+# swapfile size if SWAP_SUPPORT=yes in MB
+ SWAPFILESIZE="128"
+
+# build with installer (yes / no)
+ INSTALLER_SUPPORT="yes"
+
+# Testpackages for development (yes / no)
+ TESTING="no"
+
+# OEM packages for OEM's (yes / no)
+ OEM_SUPPORT="no"
+
+# build and install nano text editor (yes / no)
+ NANO_EDITOR="yes"
+
+# cron support (yes / no)
+ CRON_SUPPORT="yes"
+
+# Distribution Specific source location
+ DISTRO_MIRROR="http://sources.openpht.tv/mirror"
+ DISTRO_SRC="http://sources.openpht.tv/$LIBREELEC_VERSION"
+
+# DISTRO_MIRROR="http://sources.libreelec.tv/mirror"
+# DISTRO_SRC="http://sources.libreelec.tv/$LIBREELEC_VERSION"
+
+# Addon Server Url
+ ADDON_SERVER_URL="https://addons.openpht.tv"
+
+# set the addon dirs
+ ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
+ ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
+
+## Configure debug groups (space delimited key=value pairs, with each value comma-delimited) and default group when DEBUG=yes
+## Use ! or - prefix to prevent a dependent package from being built with debug. Add + suffix to build dependenencies with debug.
+# DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
+# DEBUG_GROUP_YES="kodi+"
+
+# Default size of system partition, in MB, eg. 512
+ SYSTEM_SIZE=512
+# Default system partition offset, in sectors, eg. 2048
+ SYSTEM_PART_START=8192
+
+ GET_HANDLER_SUPPORT="archive"
+
+# Partition labels for USB/SD installation media
+ DISTRO_BOOTLABEL="RASPLEX"
+ DISTRO_DISKLABEL="STORAGE"
+
+# Settings package name - blank if not required
+ DISTRO_PKG_SETTINGS="RasPlex-settings"
+
+# IR remote protocols supported in default config
+ IR_REMOTE_PROTOCOLS="RC6 NEC"
+
+# IR remote keymaps supported in default config
+ IR_REMOTE_KEYMAPS="rc6_mce xbox_360 xbox_one"
+
diff --git a/distributions/RasPlex/splash/splash-1080.png b/distributions/RasPlex/splash/splash-1080.png
new file mode 100644
index 0000000000..c90541496f
Binary files /dev/null and b/distributions/RasPlex/splash/splash-1080.png differ
diff --git a/distributions/RasPlex/splash/splash.conf b/distributions/RasPlex/splash/splash.conf
new file mode 100644
index 0000000000..55bb95d6c2
--- /dev/null
+++ b/distributions/RasPlex/splash/splash.conf
@@ -0,0 +1 @@
+fbset -xres 1280 -yres 720 -depth 32
diff --git a/distributions/RasPlex/version b/distributions/RasPlex/version
new file mode 100644
index 0000000000..3a7718c9cd
--- /dev/null
+++ b/distributions/RasPlex/version
@@ -0,0 +1,8 @@
+# VERSION: set full version, use "devel" for development version
+ LIBREELEC_VERSION="devel"
+
+# OS_VERSION: OS Version
+ OS_VERSION="9.0"
+
+# ADDON_VERSION: Addon version
+ ADDON_VERSION="9.0"
diff --git a/licenses/BSL.txt b/licenses/BSL.txt
new file mode 100644
index 0000000000..36b7cd93cd
--- /dev/null
+++ b/licenses/BSL.txt
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/licenses/LibPNG2.txt b/licenses/LibPNG2.txt
new file mode 100644
index 0000000000..62ab8e48dc
--- /dev/null
+++ b/licenses/LibPNG2.txt
@@ -0,0 +1,134 @@
+COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
+=========================================
+
+PNG Reference Library License version 2
+---------------------------------------
+
+ * Copyright (c) 1995-2018 The PNG Reference Library Authors.
+ * Copyright (c) 2018 Cosmin Truta.
+ * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
+ * Copyright (c) 1996-1997 Andreas Dilger.
+ * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
+
+The software is supplied "as is", without warranty of any kind,
+express or implied, including, without limitation, the warranties
+of merchantability, fitness for a particular purpose, title, and
+non-infringement. In no even shall the Copyright owners, or
+anyone distributing the software, be liable for any damages or
+other liability, whether in contract, tort or otherwise, arising
+from, out of, or in connection with the software, or the use or
+other dealings in the software, even if advised of the possibility
+of such damage.
+
+Permission is hereby granted to use, copy, modify, and distribute
+this software, or portions hereof, for any purpose, without fee,
+subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you
+ must not claim that you wrote the original software. If you
+ use this software in a product, an acknowledgment in the product
+ documentation would be appreciated, but is not required.
+
+ 2. Altered source versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+
+ 3. This Copyright notice may not be removed or altered from any
+ source or altered source distribution.
+
+
+PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35)
+-----------------------------------------------------------------------
+
+libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
+Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
+derived from libpng-1.0.6, and are distributed according to the same
+disclaimer and license as libpng-1.0.6 with the following individuals
+added to the list of Contributing Authors:
+
+ Simon-Pierre Cadieux
+ Eric S. Raymond
+ Mans Rullgard
+ Cosmin Truta
+ Gilles Vollant
+ James Yu
+ Mandar Sahastrabuddhe
+ Google Inc.
+ Vadim Barkov
+
+and with the following additions to the disclaimer:
+
+ There is no warranty against interference with your enjoyment of
+ the library or against infringement. There is no warranty that our
+ efforts or the library will fulfill any of your particular purposes
+ or needs. This library is provided with all faults, and the entire
+ risk of satisfactory quality, performance, accuracy, and effort is
+ with the user.
+
+Some files in the "contrib" directory and some configure-generated
+files that are distributed with libpng have other copyright owners, and
+are released under other open source licenses.
+
+libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
+Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
+libpng-0.96, and are distributed according to the same disclaimer and
+license as libpng-0.96, with the following individuals added to the
+list of Contributing Authors:
+
+ Tom Lane
+ Glenn Randers-Pehrson
+ Willem van Schaik
+
+libpng versions 0.89, June 1996, through 0.96, May 1997, are
+Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
+and are distributed according to the same disclaimer and license as
+libpng-0.88, with the following individuals added to the list of
+Contributing Authors:
+
+ John Bowler
+ Kevin Bracey
+ Sam Bushell
+ Magnus Holmgren
+ Greg Roelofs
+ Tom Tanner
+
+Some files in the "scripts" directory have other copyright owners,
+but are released under this license.
+
+libpng versions 0.5, May 1995, through 0.88, January 1996, are
+Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
+
+For the purposes of this copyright and license, "Contributing Authors"
+is defined as the following set of individuals:
+
+ Andreas Dilger
+ Dave Martindale
+ Guy Eric Schalnat
+ Paul Schmidt
+ Tim Wegner
+
+The PNG Reference Library is supplied "AS IS". The Contributing
+Authors and Group 42, Inc. disclaim all warranties, expressed or
+implied, including, without limitation, the warranties of
+merchantability and of fitness for any purpose. The Contributing
+Authors and Group 42, Inc. assume no liability for direct, indirect,
+incidental, special, exemplary, or consequential damages, which may
+result from the use of the PNG Reference Library, even if advised of
+the possibility of such damage.
+
+Permission is hereby granted to use, copy, modify, and distribute this
+source code, or portions hereof, for any purpose, without fee, subject
+to the following restrictions:
+
+ 1. The origin of this source code must not be misrepresented.
+
+ 2. Altered versions must be plainly marked as such and must not
+ be misrepresented as being the original source.
+
+ 3. This Copyright notice may not be removed or altered from any
+ source or altered source distribution.
+
+The Contributing Authors and Group 42, Inc. specifically permit,
+without fee, and encourage the use of this source code as a component
+to supporting the PNG file format in commercial products. If you use
+this source code in a product, acknowledgment is not required but would
+be appreciated.
diff --git a/merglist.txt b/merglist.txt
new file mode 100644
index 0000000000..d93616b397
--- /dev/null
+++ b/merglist.txt
@@ -0,0 +1,30 @@
+* 244a5af9ee - (origin/openpht-1.9, origin/HEAD, openpht-1.9) Add patch notes file to show how i merged (1 year ago)
+* ecce4e1988 - SKIPPED - gcc: update to 6.3.0 (1 year ago)
+* 2448adacca - SKIPPED - new project: Intel_EGL (1 year ago)
+* 0119b736ef - SKIPPED - WeTek_Core: use some aarch64 patches (1 year ago)
+* fe5d2e6f72 - SKIPPED - WeTek_Play_2: add plexht support (1 year ago)
+* f7fd80bd19 - SKIPPED - WeTek_Hub: add plexht support (1 year ago)
+* 7a1b6d2fb0 - SKIPPED - Odroid_C2: add plexht support (1 year ago)
+* d754fc43e0 - SKIPPED - WeTek_Play: add plexht support (1 year ago)
+* ebb5bf573c - SKIPPED - WeTek_Core: add plexht support (1 year ago)
+* 1e7bd5e1ab - applied with minor conflicts - rasplex
+* ace5ace0d1 - applied with minor conflicts - openpht
+* 9e4e4e748e - applied
+* 8f7364ac45 - applied
+* 8012d1f294 - SKIPPED - for now bluez: use userspace hid (1 year ago)
+* 9f5498d9d4 - manually applied
+* aaf9ab2db4 - applied
+* 9cb1f1d591 - applied
+* f6ec0b24a6 - Added plex in this, said there were conflicts but there weren't
+* b576f7a4c6 - applied
+* 59618df84f - Reverted ffmpeg to this exact revision
+* 2fef5407da - applied
+* d20b9a7919 - applied, conflicts resolved
+* b5c2c6f463 - added upstream, not applied
+* c3c76d2385 - applied
+* cfa2c2aa79 - added upstream, not applied
+* d59022d1c0 - applied
+* 384f28aa1c - applied
+* 0518042d2b - Doesn't apply cleanly
+* 79b2bd1ee9 - noop
+* 9efdeb5b7d - noop
diff --git a/packages/addons/README.md b/packages/addons/README.md
deleted file mode 100644
index ed06803427..0000000000
--- a/packages/addons/README.md
+++ /dev/null
@@ -1,45 +0,0 @@
-#add-on package.mk skeleton
-This file shows a skeleton example of an add-on package.mk with content notes. Except for the license header, any lines prefixed with `#` are optional and may be omitted if not required.
-
-```shell
-################################################################################
-# This file is part of LibreELEC - https://LibreELEC.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="myprogram" # same as the folder name
-PKG_VERSION="1.0.1" # version or 7 digit-hash
-PKG_REV="100" # currently we start at 100 to solve OE update problems
-PKG_ARCH="any" # for available architectures, see LE/config/arch.* files
-# PKG_ADDON_PROJECTS="RPi RPi2" # for available projects, see projects subdirectory
-PKG_LICENSE="GPL" # program licenses, see licenses subdirectory for a list
-PKG_SITE="http://www.site.org"
-PKG_URL="http://www.site.org/$PKG_VERSION.tar.xz" # for github see the other packages, prefer tar.xz over .gz
-# PKG_SOURCE_DIR="somename-${PKG_VERSION}*" # if the folder inside the zip is different to the pkg name
-PKG_DEPENDS_TARGET="toolchain curl" # dependencies that are needed that the addon builds
-PKG_SECTION="service" # service, tools, virtual, driver, driver.remote ...
-PKG_SHORTDESC="Addon name: sort description" # Addon: is a program that does this and that
-PKG_LONGDESC="Addon name ($PKG_VERSION): detailed description"
-PKG_AUTORECONF="no" # yes or no
-
-PKG_IS_ADDON="yes"
-PKG_ADDON_NAME="Addon name" # proper name of the addon that is shown at the repo
-PKG_ADDON_TYPE="xbmc.service" # see LE/config/addon/ for other possibilities
-# PKG_ADDON_PROVIDES="executable" # http://kodi.wiki/view/addon.xml#.3Cprovides.3E_element
-PKG_ADDON_REPOVERSION="8.0" # for what main version it should be compatible
-# PKG_ADDON_REQUIRES="some.addon:0.0.0" # http://kodi.wiki/view/addon.xml#.3Crequires.3E
-# PKG_MAINTAINER="John Doe (email)" # if you want to be know as maintainer for a addon
-```
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADS1x15/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADS1x15/package.mk
index aa31fa4e16..82f830e6d6 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADS1x15/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADS1x15/package.mk
@@ -1,38 +1,13 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_ADS1x15"
-PKG_VERSION="733d179"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="a963cc0ee83e2ba6d671b02df5febf7250f626aa"
+PKG_SHA256="2f81a9a6b7b7f46b79faa5b01df0c25fa5f16af80842d74e35b5fbf01ab0c619"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python ADS1x15 Library"
-PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black."
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADXL345/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADXL345/package.mk
index af6795e4c0..73d7407405 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADXL345/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_ADXL345/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_ADXL345"
-PKG_VERSION="b153663"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="dca3d90b5477a304fa130f5cc90ea59e3968ce6f"
+PKG_SHA256="22ec0fc6679cc3e9b5f0aff5cfeef34cbbf13e59aecfb829c2f0dc2d90b5fb8b"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python ADXL345 Library"
-PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi or BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the ADXL345 triple-axis accelerometer over I2C with a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_BMP/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_BMP/package.mk
index 6b6c44c6ea..1b56ce43b3 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_BMP/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_BMP/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_BMP"
-PKG_VERSION="ad6521d"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="e8521e969afae3321d9789353d7e92ea9a5e9a56"
+PKG_SHA256="e5e140c34e312f6a00c62b1bd47ebe3f1857009b1c202c18c7b092ebb2e1eb9c"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python BMP Library"
-PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi or Beaglebone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python library for accessing the BMP series pressure and temperature sensors like the BMP085/BMP180 on a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_CharLCD/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_CharLCD/package.mk
index c69a0bac36..cf38375560 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_CharLCD/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_CharLCD/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_CharLCD"
-PKG_VERSION="e5952eb"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="bc75cad284766240424f29dc8e7b84d0caceb72e"
+PKG_SHA256="eae4b446162feb533a469a9dacf6e750250f925561c9f7983a11d340e1dd98d4"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python CharLCD Library"
-PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi or BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python library for accessing Adafruit character LCDs from a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_DHT/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_DHT/package.mk
index e767827b45..fc392560f5 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_DHT/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_DHT/package.mk
@@ -1,56 +1,32 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_DHT"
-PKG_VERSION="310c59b"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="18846deec6a96572b3f2c4a9edfb5bac55b46f5b"
+PKG_SHA256="9125f8f42b4874db257a45184b866e8b424aa67230d2ffbc734b53686da7817f"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python DHT Library"
-PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black."
-PKG_AUTORECONF="no"
-
-case $PROJECT in
- RPi)
- RPI_VERSION="--force-pi"
- ;;
- RPi2)
- RPI_VERSION="--force-pi2"
- ;;
-esac
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
pre_make_target() {
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDSHARED="$CC -shared"
-
- sed -e 's/from ez_setup import use_setuptools/\#from ez_setup import use_setuptools/' \
- -e 's/use_setuptools()/\#use_setuptools()/' \
- -i setup.py
}
make_target() {
- python setup.py build $RPI_VERSION --cross-compile
-}
+ case "$PROJECT:$DEVICE" in
+ "RPi:RPi")
+ PKG_RPI_VERSION="--force-pi"
+ ;;
+ "RPi:RPi2")
+ PKG_RPI_VERSION="--force-pi2"
+ ;;
+ *)
+ PKG_RPI_VERSION=""
+ esac
-makeinstall_target() {
- : # nop
+ python setup.py build $PKG_RPI_VERSION --cross-compile
}
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_GPIO/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_GPIO/package.mk
index 74affdbb6b..f298786e59 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_GPIO/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_GPIO/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_GPIO"
-PKG_VERSION="fdf0fca"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="c543d1df9c0a71bafb9f0a1f9dceecd79a920e74"
+PKG_SHA256="d3cb74fd033ebe5aea1786a584d64ef5eb8082ef2bf0a568b01691612cd04e88"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python GPIO Library"
-PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi and Beaglebone Black using the RPi.GPIO and Adafruit_BBIO librarie"
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Library to provide a cross-platform GPIO interface on the Raspberry Pi ."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LED_Backpack/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LED_Backpack/package.mk
index 248cbfcb2c..6837bd67cc 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LED_Backpack/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LED_Backpack/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_LED_Backpack"
-PKG_VERSION="d3bd401"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="e34b9548e86e63747563a94f02b65b2980fdefff"
+PKG_SHA256="244d2625cdaebdc68e299fedde276efa5c9f7c143681c4ee056fb8350a4f7167"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Python library for controlling LED backpack displays."
-PKG_LONGDESC="Python library for controlling LED backpack displays such as 8x8 matrices, bar graphs, and 7/14-segment displays on a Raspberry Pi or BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python library for controlling LED backpack displays."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LSM303/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LSM303/package.mk
index 87c835c41f..fe516deeef 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LSM303/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_LSM303/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_LSM303"
-PKG_VERSION="03b344d"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="37d288844515d7bb62a2329982eb033e92dceceb"
+PKG_SHA256="609591f2add15e849d3bba320417c705a50a3ed077632baf20c12c8b740d5331"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python LSM303 Library"
-PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi & BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the LSM303 accelerometer & magnetometer with Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP3008/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP3008/package.mk
index 0f4f4079c5..3690d8dcb6 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP3008/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP3008/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_MCP3008"
-PKG_VERSION="705f090"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="e721d26e650c99b0f6d3efd4ec30444e1adf5ccd"
+PKG_SHA256="f5e4c847a87716c16f0209df95c281b5071549644a79a143a77b212f25c464dc"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python MCP3008 Library"
-PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the MCP3008 analog to digital converter with a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP4725/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP4725/package.mk
index 2c5f349175..016272331e 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP4725/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_MCP4725/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_MCP4725"
-PKG_VERSION="5b5fc87"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="4d028bbcf58b011a8f14c5d95057b7e1dcc1064e"
+PKG_SHA256="6ebbd1f76807b01dc2b723064e52b0c82fc45388265b8ec867e0a42a46a6e926"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python MCP4725 Library"
-PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the MCP4725 digital to analog converter with a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PCA9685/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PCA9685/package.mk
index 72b95706ab..3e76f4d641 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PCA9685/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PCA9685/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_PCA9685"
-PKG_VERSION="bfa4851"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="f86db2ca5de379748afd71e379ce2155f47d21e7"
+PKG_SHA256="46e11dcfbfaab5756ddeb6ab31740cf8c7419ec1d32be2519f19882e7d86e426"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python PCA9685 Library"
-PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi or BeagleBone black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the PCA9685 PWM servo/LED controller with a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PureIO/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PureIO/package.mk
index 678f3ffd7a..2c2a6b4feb 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PureIO/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_PureIO/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_PureIO"
-PKG_VERSION="a29d95a"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="6f4976d91c52d70b67b28bba75a429b5328a52c1"
+PKG_SHA256="891a4d077fe6610de6aa4b0dc5b9933a6c7db3492072df60c0383662f28c2ae9"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Pure python access to Linux IO including I2C and SPI."
-PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Pure python access to Linux IO including I2C and SPI."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SI1145/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SI1145/package.mk
index b583517948..c88e16c816 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SI1145/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SI1145/package.mk
@@ -1,40 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_SI1145"
-PKG_VERSION="cbc6c62"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="18c400643b39dbf29ab7ff8e74ab0c5c36ef5cf1"
+PKG_SHA256="0238b2c01cfbb2890ae78468d2fc19c815748fc94860a4eb92b649d074476264"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/THP-JOE/Python_SI1145"
PKG_URL="https://github.com/THP-JOE/Python_SI1145/archive/$PKG_VERSION.tar.gz"
-PKG_SOURCE_DIR="Python_SI1145-$PKG_VERSION*"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Python library for the SI1145"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_LONGDESC="Python library for accessing the SI1145 temperature sensor on a Raspberry Pi"
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
-
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SSD1306/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SSD1306/package.mk
new file mode 100644
index 0000000000..0ec63b1f56
--- /dev/null
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SSD1306/package.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="Adafruit_Python_SSD1306"
+PKG_VERSION="8819e2d203df49f2843059d981b7347d9881c82b"
+PKG_SHA256="ed1163dee2fe6c0c2065a429e1d93cff7397a309071ff83714c84566739680a2"
+PKG_LICENSE="MIT"
+PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
+PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_TCS34725/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_TCS34725/package.mk
index 7000bfc5aa..9ca8003fe5 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_TCS34725/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_TCS34725/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_TCS34725"
-PKG_VERSION="4ff05a3"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="6306f90b4601237a852acef89eeecc1261ce38b3"
+PKG_SHA256="f2c3218551da55d7fdbe2499a6ffa3a0b8ed1709e4402c6b0e0f37b17d4aa81f"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python TCS34725 Library"
-PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the TCS34725 color sensor with the Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_VCNL40xx/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_VCNL40xx/package.mk
index c0ecd8ad22..499f51add3 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_VCNL40xx/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_VCNL40xx/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_VCNL40xx"
-PKG_VERSION="e54bff9"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="5c72575b7390fbedfae0b5fb2a881ca9efe9ca22"
+PKG_SHA256="78346836965562720248138203a4af9dc6aa18815bda2a5b7842e3b9af9d1ea8"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python VCNL40xx Library"
-PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi & BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_WS2801/package.mk b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_WS2801/package.mk
index 8030d26559..bc76e60c05 100644
--- a/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_WS2801/package.mk
+++ b/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_WS2801/package.mk
@@ -1,38 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Adafruit_Python_WS2801"
-PKG_VERSION="699426a"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="d0c190715ffef1b00e5ffa2d7b7560e7f8ed4263"
+PKG_SHA256="6219edb5c1d767ff950f5020bacdfb5ba608b4995eb14d6073fdec2f17f584cb"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/adafruit/${PKG_NAME}"
PKG_URL="https://github.com/adafruit/${PKG_NAME}/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="Adafruit Python WS2801 Library"
-PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi & BeagleBone Black."
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python code to control WS2801 and similar SPI interface addressable RGB LED strips on a Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/argtable2/package.mk b/packages/addons/addon-depends/argtable2/package.mk
new file mode 100644
index 0000000000..637c9c211d
--- /dev/null
+++ b/packages/addons/addon-depends/argtable2/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="argtable2"
+PKG_VERSION="2.13"
+PKG_SHA256="8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf"
+PKG_LICENSE="BSD"
+PKG_SITE="http://argtable.sourceforge.net/"
+PKG_URL="https://downloads.sourceforge.net/project/argtable/argtable/argtable-${PKG_VERSION}/argtable2-${PKG_VERSION:2:4}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Argtable is an open source ANSI C library that parses GNU-style command-line options."
+
+make_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/atk/package.mk b/packages/addons/addon-depends/atk/package.mk
deleted file mode 100644
index fafc0e0572..0000000000
--- a/packages/addons/addon-depends/atk/package.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="atk"
-PKG_VERSION="2.20.0"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://library.gnome.org/devel/atk/"
-PKG_URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/2.20/$PKG_NAME-$PKG_VERSION.tar.xz"
-PKG_DEPENDS_TARGET="toolchain glib"
-PKG_SECTION="accessibility"
-PKG_SHORTDESC="ATK - Accessibility Toolkit"
-PKG_LONGDESC="ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications. Using the ATK interfaces, accessibility tools have full access to view and control running applications."
-PKG_IS_ADDON="no"
-
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
- --disable-rebuilds --disable-glibtest"
-
-pre_configure_target() {
- export CFLAGS="$CFLAGS -fPIC"
-}
diff --git a/packages/addons/addon-depends/atk/patches/atk-meh.patch b/packages/addons/addon-depends/atk/patches/atk-meh.patch
deleted file mode 100644
index 1fa31a93d9..0000000000
--- a/packages/addons/addon-depends/atk/patches/atk-meh.patch
+++ /dev/null
@@ -1,347 +0,0 @@
-diff -Naur atk-2.20.0/atk/atkobject.c atk-2.20.0.patch/atk/atkobject.c
---- atk-2.20.0/atk/atkobject.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atkobject.c 2016-03-26 01:10:01.058238623 +0100
-@@ -26,7 +26,6 @@
- #include
-
- #include "atk.h"
--#include "atkmarshal.h"
- #include "atkprivate.h"
-
- /**
-@@ -610,27 +609,6 @@
- G_TYPE_POINTER);
-
- /**
-- * AtkObject::state-change:
-- * @atkobject: the object which received the signal.
-- * @arg1: The name of the state which has changed
-- * @arg2: A boolean which indicates whether the state has been set or unset.
-- *
-- * The "state-change" signal is emitted when an object's state
-- * changes. The detail value identifies the state type which has
-- * changed.
-- */
-- atk_object_signals[STATE_CHANGE] =
-- g_signal_new ("state_change",
-- G_TYPE_FROM_CLASS (klass),
-- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-- G_STRUCT_OFFSET (AtkObjectClass, state_change),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__STRING_BOOLEAN,
-- G_TYPE_NONE, 2,
-- G_TYPE_STRING,
-- G_TYPE_BOOLEAN);
--
-- /**
- * AtkObject::visible-data-changed:
- * @atkobject: the object which received the signal.
- *
-diff -Naur atk-2.20.0/atk/atktable.c atk-2.20.0.patch/atk/atktable.c
---- atk-2.20.0/atk/atktable.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atktable.c 2016-03-26 01:11:35.242363570 +0100
-@@ -20,7 +20,6 @@
- #include "config.h"
-
- #include "atktable.h"
--#include "atkmarshal.h"
-
- /**
- * SECTION:atktable
-@@ -102,78 +101,6 @@
- if (!initialized)
- {
- /**
-- * AtkTable::row-inserted:
-- * @atktable: the object which received the signal.
-- * @arg1: The index of the first row inserted.
-- * @arg2: The number of rows inserted.
-- *
-- * The "row-inserted" signal is emitted by an object which
-- * implements the AtkTable interface when a row is inserted.
-- */
-- atk_table_signals[ROW_INSERTED] =
-- g_signal_new ("row_inserted",
-- ATK_TYPE_TABLE,
-- G_SIGNAL_RUN_LAST,
-- G_STRUCT_OFFSET (AtkTableIface, row_inserted),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT,
-- G_TYPE_NONE,
-- 2, G_TYPE_INT, G_TYPE_INT);
-- /**
-- * AtkTable::column-inserted:
-- * @atktable: the object which received the signal.
-- * @arg1: The index of the column inserted.
-- * @arg2: The number of colums inserted.
-- *
-- * The "column-inserted" signal is emitted by an object which
-- * implements the AtkTable interface when a column is inserted.
-- */
-- atk_table_signals[COLUMN_INSERTED] =
-- g_signal_new ("column_inserted",
-- ATK_TYPE_TABLE,
-- G_SIGNAL_RUN_LAST,
-- G_STRUCT_OFFSET (AtkTableIface, column_inserted),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT,
-- G_TYPE_NONE,
-- 2, G_TYPE_INT, G_TYPE_INT);
-- /**
-- * AtkTable::row-deleted:
-- * @atktable: the object which received the signal.
-- * @arg1: The index of the first row deleted.
-- * @arg2: The number of rows deleted.
-- *
-- * The "row-deleted" signal is emitted by an object which
-- * implements the AtkTable interface when a row is deleted.
-- */
-- atk_table_signals[ROW_DELETED] =
-- g_signal_new ("row_deleted",
-- ATK_TYPE_TABLE,
-- G_SIGNAL_RUN_LAST,
-- G_STRUCT_OFFSET (AtkTableIface, row_deleted),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT,
-- G_TYPE_NONE,
-- 2, G_TYPE_INT, G_TYPE_INT);
-- /**
-- * AtkTable::column-deleted:
-- * @atktable: the object which received the signal.
-- * @arg1: The index of the first column deleted.
-- * @arg2: The number of columns deleted.
-- *
-- * The "column-deleted" signal is emitted by an object which
-- * implements the AtkTable interface when a column is deleted.
-- */
-- atk_table_signals[COLUMN_DELETED] =
-- g_signal_new ("column_deleted",
-- ATK_TYPE_TABLE,
-- G_SIGNAL_RUN_LAST,
-- G_STRUCT_OFFSET (AtkTableIface, column_deleted),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT,
-- G_TYPE_NONE,
-- 2, G_TYPE_INT, G_TYPE_INT);
-- /**
- * AtkTable::row-reordered:
- * @atktable: the object which received the signal.
- *
-diff -Naur atk-2.20.0/atk/atktext.c atk-2.20.0.patch/atk/atktext.c
---- atk-2.20.0/atk/atktext.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atktext.c 2016-03-26 01:12:57.099480029 +0100
-@@ -20,7 +20,6 @@
- #include "config.h"
-
- #include "atk.h"
--#include "atkmarshal.h"
-
- #include
-
-@@ -190,75 +189,6 @@
- class->get_bounded_ranges = atk_text_real_get_bounded_ranges;
-
- /**
-- * AtkText::text-changed:
-- * @atktext: the object which received the signal.
-- * @arg1: The position (character offset) of the insertion or deletion.
-- * @arg2: The length (in characters) of text inserted or deleted.
-- *
-- * The "text-changed" signal is emitted when the text of the
-- * object which implements the AtkText interface changes, This
-- * signal will have a detail which is either "insert" or
-- * "delete" which identifies whether the text change was an
-- * insertion or a deletion.
-- *
-- * Deprecated: 2.9.4: Use #AtkObject::text-insert or
-- * #AtkObject::text-remove instead.
-- */
-- atk_text_signals[TEXT_CHANGED] =
-- g_signal_new ("text_changed",
-- ATK_TYPE_TEXT,
-- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-- G_STRUCT_OFFSET (AtkTextIface, text_changed),
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT,
-- G_TYPE_NONE,
-- 2, G_TYPE_INT, G_TYPE_INT);
--
-- /**
-- * AtkText::text-insert:
-- * @atktext: the object which received the signal.
-- * @arg1: The position (character offset) of the insertion.
-- * @arg2: The length (in characters) of text inserted.
-- * @arg3: The new text inserted
-- *
-- * The "text-insert" signal is emitted when a new text is
-- * inserted. If the signal was not triggered by the user
-- * (e.g. typing or pasting text), the "system" detail should be
-- * included.
-- */
-- atk_text_signals[TEXT_INSERT] =
-- g_signal_new ("text_insert",
-- ATK_TYPE_TEXT,
-- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-- 0,
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT_STRING,
-- G_TYPE_NONE,
-- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
--
-- /**
-- * AtkText::text-remove:
-- * @atktext: the object which received the signal.
-- * @arg1: The position (character offset) of the removal.
-- * @arg2: The length (in characters) of text removed.
-- * @arg3: The old text removed
-- *
-- * The "text-remove" signal is emitted when a new text is
-- * removed. If the signal was not triggered by the user
-- * (e.g. typing or pasting text), the "system" detail should be
-- * included.
-- */
-- atk_text_signals[TEXT_REMOVE] =
-- g_signal_new ("text_remove",
-- ATK_TYPE_TEXT,
-- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
-- 0,
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__INT_INT_STRING,
-- G_TYPE_NONE,
-- 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING);
--
-- /**
- * AtkText::text-caret-moved:
- * @atktext: the object which received the signal.
- * @arg1: The new position of the text caret.
-diff -Naur atk-2.20.0/atk/atkutil.c atk-2.20.0.patch/atk/atkutil.c
---- atk-2.20.0/atk/atkutil.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atkutil.c 2016-03-26 01:13:04.481490538 +0100
-@@ -20,7 +20,6 @@
- #include "config.h"
-
- #include "atkutil.h"
--#include "atkmarshal.c"
-
- /**
- * SECTION:atkutil
-diff -Naur atk-2.20.0/atk/atkvalue.c atk-2.20.0.patch/atk/atkvalue.c
---- atk-2.20.0/atk/atkvalue.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atkvalue.c 2016-03-26 01:18:03.268897883 +0100
-@@ -23,7 +23,6 @@
- #include
-
- #include "atkvalue.h"
--#include "atkmarshal.h"
- #include "atk-enum-types.h"
- #include "atkprivate.h"
-
-@@ -322,42 +321,6 @@
- atk_value_base_init (AtkValueIface *class)
- {
- static gboolean initialized = FALSE;
-- if (!initialized)
-- {
-- /**
-- * AtkValue::value-changed:
-- * @atkvalue: the object on which the signal was emitted.
-- * @value: the new value in a numerical form.
-- * @text: human readable text alternative (also called
-- * description) of this object. NULL if not available.
-- *
-- * The 'value-changed' signal is emitted when the current value
-- * that represent the object changes. @value is the numerical
-- * representation of this new value. @text is the human
-- * readable text alternative of @value, and can be NULL if it is
-- * not available. Note that if there is a textual description
-- * associated with the new numeric value, that description
-- * should be included regardless of whether or not it has also
-- * changed.
-- *
-- * Example: a password meter whose value changes as the user
-- * types their new password. Appropiate value text would be
-- * "weak", "acceptable" and "strong".
-- *
-- * Since: 2.12
-- */
-- atk_value_signals[VALUE_CHANGED] =
-- g_signal_new ("value_changed",
-- ATK_TYPE_VALUE,
-- G_SIGNAL_RUN_LAST,
-- 0,
-- (GSignalAccumulator) NULL, NULL,
-- atk_marshal_VOID__DOUBLE_STRING,
-- G_TYPE_NONE,
-- 2, G_TYPE_DOUBLE, G_TYPE_STRING);
--
-- initialized = TRUE;
-- }
- }
-
- /**
-diff -Naur atk-2.20.0/atk/atkwindow.c atk-2.20.0.patch/atk/atkwindow.c
---- atk-2.20.0/atk/atkwindow.c 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/atkwindow.c 2016-03-26 01:13:13.448503294 +0100
-@@ -20,7 +20,6 @@
- #include "config.h"
-
- #include "atkwindow.h"
--#include "atkmarshal.h"
-
- /**
- * SECTION:atkwindow
-diff -Naur atk-2.20.0/atk/Makefile.am atk-2.20.0.patch/atk/Makefile.am
---- atk-2.20.0/atk/Makefile.am 2016-02-15 12:29:12.000000000 +0100
-+++ atk-2.20.0.patch/atk/Makefile.am 2016-03-26 01:08:29.075118340 +0100
-@@ -115,50 +115,7 @@
-
- # ---------- Handle built sources ----------
-
--BUILT_SOURCES = atkmarshal.h atkmarshal.c atk-enum-types.h atk-enum-types.c
--
--atkmarshal.h: stamp-atkmarshal.h
-- @true
--stamp-atkmarshal.h: @REBUILD@ atkmarshal.list
-- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \
-- && (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
-- && rm -f xgen-gmh xgen-gmh~ \
-- && echo timestamp > $(@F)
--
--atkmarshal.c: stamp-atkmarshal.c
-- @true
--stamp-atkmarshal.c: @REBUILD@ atkmarshal.list
-- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \
-- && (cmp -s xgen-gmc atkmarshal.c || cp xgen-gmc atkmarshal.c) \
-- && rm -f xgen-gmc xgen-gmc~ \
-- && echo timestamp > $(@F)
--
--atk-enum-types.h: s-enum-types-h
-- @true
--s-enum-types-h: @REBUILD@ $(atk_headers) Makefile
-- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
-- --fhead "#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)\n#error \"Only can be included directly.\"\n#endif\n\n#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n\n#include \n#include \n\nG_BEGIN_DECLS\n" \
-- --fprod "/* enumerations from \"@filename@\" */\n" \
-- --vhead "ATK_AVAILABLE_IN_ALL\nGType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
-- --ftail "G_END_DECLS\n\n#endif /* __ATK_ENUM_TYPES_H__ */" \
-- $(atk_headers) ) > tmp-atk-enum-types.h \
-- && (cmp -s tmp-atk-enum-types.h atk-enum-types.h || cp tmp-atk-enum-types.h atk-enum-types.h ) \
-- && rm -f tmp-atk-enum-types.h \
-- && echo timestamp > $(@F)
--
--atk-enum-types.c: s-enum-types-c
-- @true
--s-enum-types-c: @REBUILD@ $(atk_headers) Makefile
-- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
-- --fhead "#include \"config.h\"\n\n#include " \
-- --fprod "\n/* enumerations from \"@filename@\" */" \
-- --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
-- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
-- --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
-- $(atk_headers) ) > tmp-atk-enum-types.c \
-- && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c atk-enum-types.c ) \
-- && rm -f tmp-atk-enum-types.c \
-- && echo timestamp > $(@F)
-+BUILT_SOURCES = atk-enum-types.h atk-enum-types.c
-
-
- if HAVE_INTROSPECTION
diff --git a/packages/addons/addon-depends/bash/package.mk b/packages/addons/addon-depends/bash/package.mk
index 174fbabc30..233e0ee6c4 100644
--- a/packages/addons/addon-depends/bash/package.mk
+++ b/packages/addons/addon-depends/bash/package.mk
@@ -1,42 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="bash"
PKG_VERSION="4.3.46"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="fc7131bbc3139db143ec9fe03fd4e6bd3636bdf53e6956065b261f034b6af74b"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/bash/bash.html"
PKG_URL="ftp://ftp.cwru.edu/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
-PKG_SECTION="devel"
-PKG_SHORTDESC="The GNU Bourne Again shell"
-PKG_LONGDESC="The GNU Bourne Again shell"
+PKG_DEPENDS_TARGET="toolchain ncurses"
+PKG_LONGDESC="The GNU Bourne Again shell."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static \
- --disable-shared \
- --with-curses \
+PKG_CONFIGURE_OPTS_TARGET="--with-curses \
--enable-readline \
--without-bash-malloc \
--with-installed-readline"
-
-pre_configure_target() {
- export LIBS="-lterminfo"
-}
diff --git a/packages/addons/addon-depends/ccid/package.mk b/packages/addons/addon-depends/ccid/package.mk
new file mode 100644
index 0000000000..7568691f24
--- /dev/null
+++ b/packages/addons/addon-depends/ccid/package.mk
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="ccid"
+PKG_VERSION="1.4.28"
+PKG_SHA256="875836ac5d9d952b40dc1a253a726e74361671864d81337285a3260268f8ade0"
+PKG_LICENSE="LGPL"
+PKG_SITE="http://pcsclite.alioth.debian.org/ccid.html"
+PKG_URL="https://alioth.debian.org/frs/download.php/latestfile/112/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain pcsc-lite"
+PKG_LONGDESC="A generic USB Chip/Smart Card Interface Devices driver."
+PKG_TOOLCHAIN="autotools"
+
+PKG_CONFIGURE_OPTS_TARGET="--enable-static --enable-twinserial"
+
+make_target() {
+ make
+ make -C src/ Info.plist
+}
diff --git a/packages/addons/addon-depends/chrome-depends/at-spi2-atk/package.mk b/packages/addons/addon-depends/chrome-depends/at-spi2-atk/package.mk
new file mode 100644
index 0000000000..4dfa6e5d8a
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/at-spi2-atk/package.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017 Escalade
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="at-spi2-atk"
+PKG_VERSION="2.26.2"
+PKG_SHA256="61891f0abae1689f6617a963105a3f1dcdab5970c4a36ded9c79a7a544b16a6e"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.gnome.org/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/${PKG_VERSION:0:4}/at-spi2-atk-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain at-spi2-core atk libX11 libxml2"
+PKG_LONGDESC="A GTK+ module that bridges ATK to D-Bus at-spi."
diff --git a/packages/addons/addon-depends/chrome-depends/at-spi2-core/package.mk b/packages/addons/addon-depends/chrome-depends/at-spi2-core/package.mk
new file mode 100644
index 0000000000..0b6b29a5e9
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/at-spi2-core/package.mk
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017 Escalade
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="at-spi2-core"
+PKG_VERSION="2.28.0"
+PKG_SHA256="42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.gnome.org/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/at-spi2-core/${PKG_VERSION:0:4}/at-spi2-core-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain atk dbus glib libXtst"
+PKG_LONGDESC="Protocol definitions and daemon for D-Bus at-spi."
+
+PKG_MESON_OPTS_TARGET="-Denable_docs=false \
+ -Denable-introspection=no"
+
+pre_configure_target() {
+ LDFLAGS="$LDFLAGS -lXext"
+}
diff --git a/packages/addons/addon-depends/chrome-depends/atk/package.mk b/packages/addons/addon-depends/chrome-depends/atk/package.mk
new file mode 100644
index 0000000000..de27b94bd6
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/atk/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="atk"
+PKG_VERSION="2.29.1"
+PKG_SHA256="1aa7707c6297c1797fe4d79a22a57ede4d5586b0f7a3b30e886d7ca9d75f20da"
+PKG_LICENSE="GPL"
+PKG_SITE="http://library.gnome.org/devel/atk/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/atk/${PKG_VERSION:0:4}/atk-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain glib glib:host"
+PKG_LONGDESC="Provides the set of accessibility interfaces that are implemented by other applications."
+PKG_BUILD_FLAGS="+pic"
+
+PKG_MESON_OPTS_TARGET="-Ddocs=false \
+ -Dintrospection=false"
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXcomposite/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXcomposite/package.mk
new file mode 100644
index 0000000000..dc65abc96d
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXcomposite/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXcomposite)/package.mk
+
+PKG_NAME="chrome-libXcomposite"
+PKG_LONGDESC="libXcomposite for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/mono-depends/mono_sqlite/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXcomposite/sources/trigger_unpack
similarity index 100%
rename from packages/addons/addon-depends/mono-depends/mono_sqlite/sources/trigger_unpack
rename to packages/addons/addon-depends/chrome-depends/chrome-libXcomposite/sources/trigger_unpack
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXdamage/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXdamage/package.mk
new file mode 100644
index 0000000000..6c7525891e
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXdamage/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXdamage)/package.mk
+
+PKG_NAME="chrome-libXdamage"
+PKG_LONGDESC="libXdamage for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXdamage/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXdamage/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXfixes/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXfixes/package.mk
new file mode 100644
index 0000000000..e373ff806a
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXfixes/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXfixes)/package.mk
+
+PKG_NAME="chrome-libXfixes"
+PKG_LONGDESC="libXfixes for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXfixes/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXfixes/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXi/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXi/package.mk
new file mode 100644
index 0000000000..91281c1018
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXi/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXi)/package.mk
+
+PKG_NAME="chrome-libXi"
+PKG_LONGDESC="libXi for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXi/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXi/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXrender/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXrender/package.mk
new file mode 100644
index 0000000000..2d91dba614
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXrender/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXrender)/package.mk
+
+PKG_NAME="chrome-libXrender"
+PKG_LONGDESC="libXrender for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXrender/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXrender/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXtst/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libXtst/package.mk
new file mode 100644
index 0000000000..dfe0bfc12c
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libXtst/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libXtst)/package.mk
+
+PKG_NAME="chrome-libXtst"
+PKG_LONGDESC="libXtst for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libXtst/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libXtst/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libxcb/package.mk b/packages/addons/addon-depends/chrome-depends/chrome-libxcb/package.mk
new file mode 100644
index 0000000000..a9caed23d1
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/chrome-libxcb/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory libxcb)/package.mk
+
+PKG_NAME="chrome-libxcb"
+PKG_LONGDESC="libxcb for chrome"
+PKG_URL=""
+
+PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET \
+ --disable-static \
+ --enable-shared"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ tar --strip-components=1 -xf $SOURCES/${PKG_NAME:7}/${PKG_NAME:7}-$PKG_VERSION.tar.bz2 -C $PKG_BUILD
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/chrome-libxcb/sources/trigger_unpack b/packages/addons/addon-depends/chrome-depends/chrome-libxcb/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/chrome-depends/cups/package.mk b/packages/addons/addon-depends/chrome-depends/cups/package.mk
new file mode 100644
index 0000000000..1ed87d1ef4
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/cups/package.mk
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017 Escalade
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="cups"
+PKG_VERSION="2.2.8"
+PKG_SHA256="8f87157960b9d80986f52989781d9de79235aa060e05008e4cf4c0a6ef6bca72"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.cups.org"
+PKG_URL="https://github.com/apple/cups/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain openssl zlib"
+PKG_LONGDESC="CUPS printing system."
+PKG_BUILD_FLAGS="+pic"
+
+PKG_CONFIGURE_OPTS_TARGET="--libdir=/usr/lib \
+ --disable-gssapi \
+ --disable-avahi \
+ --disable-systemd \
+ --disable-launchd \
+ --disable-unit-tests"
+
+pre_configure_target() {
+ cd ..
+ rm -rf .$TARGET_NAME
+}
+
+makeinstall_target() {
+ make BUILDROOT="$INSTALL/../.INSTALL_PKG"
+}
diff --git a/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/package.mk b/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/package.mk
new file mode 100644
index 0000000000..b89b7df98b
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/package.mk
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="gdk-pixbuf"
+PKG_VERSION="2.36.12"
+PKG_SHA256="fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.gtk.org/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff"
+PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
+
+PKG_MESON_OPTS_TARGET="-Ddocs=false \
+ -Dgir=false \
+ -Dman=false \
+ -Drelocatable=false"
+pre_configure_target() {
+ export PKG_CONFIG_PATH="$(get_build_dir shared-mime-info)/.$TARGET_NAME"
+}
diff --git a/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/patches/gdk-pixbuf-01-meson-crosscompile-fix.patch b/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/patches/gdk-pixbuf-01-meson-crosscompile-fix.patch
new file mode 100644
index 0000000000..e7a28e5612
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/gdk-pixbuf/patches/gdk-pixbuf-01-meson-crosscompile-fix.patch
@@ -0,0 +1,85 @@
+diff -Naur a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
+--- a/gdk-pixbuf/meson.build 2018-06-15 20:13:23.593361199 +0200
++++ b/gdk-pixbuf/meson.build 2018-06-15 20:13:42.601469091 +0200
+@@ -232,15 +232,15 @@
+
+ # The 'loaders.cache' used for testing, so we don't accidentally
+ # load the installed cache; we always build it by default
+-loaders_cache = custom_target('loaders.cache',
+- output: 'loaders.cache',
+- capture: true,
+- command: [
+- gdk_pixbuf_query_loaders,
+- dynamic_loaders,
+- ],
+- build_by_default: true)
+-loaders_dep = declare_dependency(sources: [ loaders_cache ])
++#loaders_cache = custom_target('loaders.cache',
++# output: 'loaders.cache',
++# capture: true,
++# command: [
++# gdk_pixbuf_query_loaders,
++# dynamic_loaders,
++# ],
++# build_by_default: true)
++#loaders_dep = declare_dependency(sources: [ loaders_cache ])
+
+ build_gir = get_option('gir')
+ if build_gir
+diff -Naur a/meson.build b/meson.build
+--- a/meson.build 2018-06-15 20:13:23.573361085 +0200
++++ b/meson.build 2018-06-15 20:13:32.761413236 +0200
+@@ -398,7 +398,7 @@
+ # i18n
+ subdir('po')
+
+-subdir('tests')
++#subdir('tests')
+ subdir('thumbnailer')
+
+ # Documentation
+diff -Naur a/thumbnailer/meson.build b/thumbnailer/meson.build
+--- a/thumbnailer/meson.build 2018-06-15 20:13:23.605361267 +0200
++++ b/thumbnailer/meson.build 2018-06-15 20:13:50.305512825 +0200
+@@ -12,22 +12,22 @@
+ c_args: common_cflags,
+ dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ])
+
+-custom_target('thumbnailer',
+- input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
+- output: 'gdk-pixbuf-thumbnailer.thumbnailer',
+- command: [
+- gen_thumbnailer,
+- '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
+- '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
+- '--loaders=@0@'.format(loaders_cache.full_path()),
+- '--bindir=@0@'.format(gdk_pixbuf_bindir),
+- '@INPUT@',
+- '@OUTPUT@',
+- ],
+- depends: [
+- gdk_pixbuf_print_mime_types,
+- gdk_pixbuf_pixdata,
+- loaders_cache,
+- ],
+- install: true,
+- install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))
++#custom_target('thumbnailer',
++# input: 'gdk-pixbuf-thumbnailer.thumbnailer.in',
++# output: 'gdk-pixbuf-thumbnailer.thumbnailer',
++# command: [
++# gen_thumbnailer,
++# '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()),
++# '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
++# '--loaders=@0@'.format(loaders_cache.full_path()),
++# '--bindir=@0@'.format(gdk_pixbuf_bindir),
++# '@INPUT@',
++# '@OUTPUT@',
++# ],
++# depends: [
++# gdk_pixbuf_print_mime_types,
++# gdk_pixbuf_pixdata,
++# loaders_cache,
++# ],
++# install: true,
++# install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers'))
diff --git a/packages/addons/addon-depends/chrome-depends/gtk3/files/settings.ini b/packages/addons/addon-depends/chrome-depends/gtk3/files/settings.ini
new file mode 100644
index 0000000000..c6bdb7fa46
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/gtk3/files/settings.ini
@@ -0,0 +1,4 @@
+[Settings]
+gtk-icon-theme-name = Adwaita
+gtk-theme-name = Adwaita
+gtk-font-name = Liberation Sans 12
diff --git a/packages/addons/addon-depends/chrome-depends/gtk3/package.mk b/packages/addons/addon-depends/chrome-depends/gtk3/package.mk
new file mode 100644
index 0000000000..ad764698c1
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/gtk3/package.mk
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017 Escalade
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="gtk3"
+PKG_VERSION="3.22.30"
+PKG_SHA256="a1a4a5c12703d4e1ccda28333b87ff462741dc365131fbc94c218ae81d9a6567"
+PKG_LICENSE="LGPL"
+PKG_SITE="http://www.gtk.org/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gtk+/${PKG_VERSION:0:4}/gtk+-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain at-spi2-atk atk cairo gdk-pixbuf glib libX11 libXi libXrandr libepoxy pango"
+PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
+
+PKG_CONFIGURE_OPTS_TARGET="--disable-cups \
+ --disable-debug \
+ --enable-explicit-deps=no \
+ --disable-glibtest \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-man \
+ --enable-modules \
+ --disable-papi \
+ --disable-xinerama \
+ --enable-xkb"
+
+pre_configure_target() {
+ LIBS="$LIBS -lXcursor"
+ export PKG_CONFIG_PATH="$(get_build_dir pango)/.$TARGET_NAME"
+ export CFLAGS="$CFLAGS -I$(get_build_dir pango) -L$(get_build_dir pango)/.$TARGET_NAME/pango"
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/gtk3/patches/gtk3-subdirs.patch b/packages/addons/addon-depends/chrome-depends/gtk3/patches/gtk3-subdirs.patch
new file mode 100644
index 0000000000..c3be473373
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/gtk3/patches/gtk3-subdirs.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -566,8 +566,8 @@
+ || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
+ && DISPLAY=:$$XID && export DISPLAY
+
+-SRC_SUBDIRS = gdk gtk libgail-util modules demos tests testsuite examples
+-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
++SRC_SUBDIRS = gdk gtk modules
++SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
+ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+ MAINTAINERCLEANFILES = \
+ $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
diff --git a/packages/addons/addon-depends/chrome-depends/harfbuzz/package.mk b/packages/addons/addon-depends/chrome-depends/harfbuzz/package.mk
new file mode 100644
index 0000000000..63b496aaac
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/harfbuzz/package.mk
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="harfbuzz"
+PKG_VERSION="1.8.1"
+PKG_SHA256="fbed6392ddb085e45e6090a9f389f72926d0e355f4b0a2ef51d35cf21686df45"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
+PKG_URL="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain cairo freetype glib icu"
+PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine."
+PKG_TOOLCHAIN="configure"
+
+PKG_CONFIGURE_OPTS_TARGET="--with-icu \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf"
+
+pre_configure_target() {
+ export LDFLAGS="$LDFLAGS -ldl"
+}
diff --git a/packages/addons/addon-depends/chrome-depends/icu/package.mk b/packages/addons/addon-depends/chrome-depends/icu/package.mk
new file mode 100644
index 0000000000..d4ccf8c3a1
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/icu/package.mk
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="icu"
+PKG_VERSION="61.1"
+PKG_SHA256="d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
+PKG_LICENSE="Custom"
+PKG_SITE="http://www.icu-project.org"
+PKG_URL="http://download.icu-project.org/files/icu4c/${PKG_VERSION}/icu4c-${PKG_VERSION//./_}-src.tgz"
+PKG_DEPENDS_TARGET="toolchain icu:host"
+PKG_LONGDESC="International Components for Unicode library."
+
+PKG_ICU_OPTS="--disable-extras \
+ --disable-icuio \
+ --disable-layout \
+ --disable-renaming \
+ --disable-samples \
+ --disable-tests \
+ --disable-tools"
+
+PKG_CONFIGURE_OPTS_HOST="--enable-static \
+ --disable-shared \
+ $PKG_ICU_OPTS"
+
+configure_package() {
+ PKG_CONFIGURE_OPTS_TARGET="--with-cross-build=$PKG_BUILD/.$HOST_NAME \
+ $PKG_ICU_OPTS"
+
+ PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/source/configure"
+}
+
+post_makeinstall_target() {
+ rm -rf $INSTALL
+}
diff --git a/packages/addons/addon-depends/chrome-depends/libXScrnSaver/package.mk b/packages/addons/addon-depends/chrome-depends/libXScrnSaver/package.mk
new file mode 100644
index 0000000000..c17771b1ec
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/libXScrnSaver/package.mk
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libXScrnSaver"
+PKG_VERSION="1.2.2"
+PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
+PKG_LICENSE="GPL"
+PKG_SITE="http://xorg.freedesktop.org/"
+PKG_URL="https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain scrnsaverproto"
+PKG_LONGDESC="X11 Screen Saver extension client library."
+
+PKG_CONFIGURE_OPTS_TARGET="--disable-static \
+ --enable-shared \
+ --enable-malloc0returnsnull"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/libXcursor/package.mk b/packages/addons/addon-depends/chrome-depends/libXcursor/package.mk
new file mode 100644
index 0000000000..2c3323ed1a
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/libXcursor/package.mk
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libXcursor"
+PKG_VERSION="1.1.15"
+PKG_SHA256="294e670dd37cd23995e69aae626629d4a2dfe5708851bbc13d032401b7a3df6b"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.X.org"
+PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXcursor-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain libX11 libXfixes libXrender"
+PKG_LONGDESC="X11 Cursor management library.s"
+PKG_BUILD_FLAGS="+pic"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/libXft/package.mk b/packages/addons/addon-depends/chrome-depends/libXft/package.mk
new file mode 100644
index 0000000000..8da4ef714b
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/libXft/package.mk
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libXft"
+PKG_VERSION="2.3.2"
+PKG_SHA256="f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.X.org"
+PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXft-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain fontconfig freetype libXrender util-macros xorgproto"
+PKG_LONGDESC="X FreeType library."
+PKG_BUILD_FLAGS="+pic"
+
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/libxss/package.mk b/packages/addons/addon-depends/chrome-depends/libxss/package.mk
new file mode 100644
index 0000000000..1fc13ef8fc
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/libxss/package.mk
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libxss"
+PKG_VERSION="1.2.2"
+PKG_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
+PKG_LICENSE="OSS"
+PKG_SITE="http://www.X.org"
+PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain util-macros libXext scrnsaverproto"
+PKG_LONGDESC="X11 Screen Saver extension library."
+PKG_BUILD_FLAGS="+pic"
+
+PKG_CONFIGURE_OPTS_TARGET="--enable-malloc0returnsnull"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/pango/config/pango.modules b/packages/addons/addon-depends/chrome-depends/pango/config/pango.modules
similarity index 100%
rename from packages/addons/addon-depends/pango/config/pango.modules
rename to packages/addons/addon-depends/chrome-depends/pango/config/pango.modules
diff --git a/packages/addons/addon-depends/pango/config/pangorc b/packages/addons/addon-depends/chrome-depends/pango/config/pangorc
similarity index 100%
rename from packages/addons/addon-depends/pango/config/pangorc
rename to packages/addons/addon-depends/chrome-depends/pango/config/pangorc
diff --git a/packages/addons/addon-depends/chrome-depends/pango/package.mk b/packages/addons/addon-depends/chrome-depends/pango/package.mk
new file mode 100644
index 0000000000..96cb1188c0
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/pango/package.mk
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="pango"
+PKG_VERSION="1.42.1"
+PKG_SHA256="915a6756b298578ff27c7a6393f8c2e62e6e382f9411f2504d7af1a13c7bce32"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.pango.org/"
+PKG_URL="https://ftp.gnome.org/pub/gnome/sources/pango/${PKG_VERSION:0:4}/pango-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib harfbuzz libX11 libXft"
+PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
+PKG_TOOLCHAIN="meson"
+
+PKG_MESON_OPTS_TARGET="-Denable_docs=false \
+ -Dgir=false"
+
+pre_configure_target() {
+ export PKG_CONFIG_PATH="$(get_build_dir cairo)/.$TARGET_NAME/src":"$(get_build_dir libXft)/.$TARGET_NAME/src"
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/scrnsaverproto/package.mk b/packages/addons/addon-depends/chrome-depends/scrnsaverproto/package.mk
new file mode 100644
index 0000000000..b34a2cfced
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/scrnsaverproto/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="scrnsaverproto"
+PKG_VERSION="1.2.2"
+PKG_SHA256="8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65"
+PKG_LICENSE="GPL"
+PKG_SITE="http://xorg.freedesktop.org/"
+PKG_URL="https://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="X11 Screen Saver extension wire protocol."
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/shared-mime-info/package.mk b/packages/addons/addon-depends/chrome-depends/shared-mime-info/package.mk
new file mode 100644
index 0000000000..e759272316
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/shared-mime-info/package.mk
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="shared-mime-info"
+PKG_VERSION="1.9"
+PKG_SHA256="5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83"
+PKG_LICENSE="GPL2"
+PKG_SITE="https://freedesktop.org/wiki/Software/shared-mime-info/"
+PKG_URL="http://freedesktop.org/~hadess/shared-mime-info-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain libxml2"
+PKG_LONGDESC="The shared-mime-info package contains the core database of common types."
+PKG_BUILD_FLAGS="-parallel"
+
+PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
+ --disable-update-mimedb"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/chrome-depends/unclutter/package.mk b/packages/addons/addon-depends/chrome-depends/unclutter/package.mk
new file mode 100644
index 0000000000..3b27053f8f
--- /dev/null
+++ b/packages/addons/addon-depends/chrome-depends/unclutter/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="unclutter"
+PKG_VERSION="1.09"
+PKG_SHA256="3a53575fe2a75a34bc9a2b0ad92ee0f8a7dbedc05d8783f191c500060a40a9bd"
+PKG_LICENSE="Public Domain"
+PKG_SITE="https://sourceforge.net/projects/unclutter/"
+PKG_URL="https://sourceforge.net/projects/unclutter/unclutter/source_$PKG_VERSION/unclutter-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain libX11"
+PKG_LONGDESC="Unclutter runs in the background of an X11 session and hides the X11 Cursor."
+
+make_target() {
+ rm -f Makefile
+ LDFLAGS="$LDFLAGS -lX11" $MAKE unclutter
+}
+
+makeinstall_target() {
+ mkdir -p .install_pkg/usr/bin
+ install -m 755 unclutter .install_pkg/usr/bin/
+}
diff --git a/packages/addons/addon-depends/comskip/package.mk b/packages/addons/addon-depends/comskip/package.mk
new file mode 100644
index 0000000000..92c23a26e3
--- /dev/null
+++ b/packages/addons/addon-depends/comskip/package.mk
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="comskip"
+PKG_VERSION="6030aa0d3b589161ec96c6c986c48aa826fb9f72"
+PKG_SHA256="df0b4b0354aef5acc17e4e94a20a396fa69c474af7579c94aad09dd490e0ee38"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.kaashoek.com/comskip/"
+PKG_URL="https://github.com/erikkaashoek/Comskip/archive/${PKG_VERSION}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain argtable2 ffmpeg"
+PKG_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings."
+PKG_TOOLCHAIN="autotools"
+
+pre_configure_target() {
+ LDFLAGS="$LDFLAGS -ldl"
+
+ export argtable2_CFLAGS="-I$(get_build_dir argtable2)/src"
+ export argtable2_LIBS="-L$(get_build_dir argtable2)/src/.libs -largtable2"
+}
+
+make_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/containerd/package.mk b/packages/addons/addon-depends/containerd/package.mk
index 32fb881ed1..b1dfab0863 100644
--- a/packages/addons/addon-depends/containerd/package.mk
+++ b/packages/addons/addon-depends/containerd/package.mk
@@ -1,35 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="containerd"
-PKG_VERSION="0366d7e"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.2.2"
+PKG_SHA256="91d480816986d74ff4fa7dd0412c787615fa705975b18fa4079c333b137c653f"
PKG_LICENSE="APL"
PKG_SITE="https://containerd.tools/"
-PKG_URL="https://github.com/docker/containerd/archive/${PKG_VERSION}.tar.gz"
-PKG_DEPENDS_HOST="toolchain go"
-PKG_SECTION="system"
-PKG_SHORTDESC="containerd is a daemon to control runC"
-PKG_LONGDESC="containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_URL="https://github.com/containerd/containerd/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain go:host"
+PKG_LONGDESC="A daemon to control runC, built for performance and density."
+PKG_TOOLCHAIN="manual"
pre_make_target() {
case $TARGET_ARCH in
@@ -43,9 +24,9 @@ pre_make_target() {
arm1176jzf-s)
export GOARM=6
;;
- cortex-a7)
- export GOARM=7
- ;;
+ *)
+ export GOARM=7
+ ;;
esac
;;
aarch64)
@@ -57,22 +38,25 @@ pre_make_target() {
export CGO_ENABLED=1
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
- export LDFLAGS="-w -extldflags -static -X github.com/docker/containerd.GitCommit=${PKG_VERSION} -extld $CC"
- export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
- export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/vendor/
- export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
+ export CONTAINERD_VERSION=v${PKG_VERSION}
+ export CONTAINERD_REVISION=${PKG_VERSION}
+ export CONTAINERD_PKG=github.com/containerd/containerd
+ export LDFLAGS="-w -extldflags -static -X ${CONTAINERD_PKG}/version.Version=${CONTAINERD_VERSION} -X ${CONTAINERD_PKG}/version.Revision=${CONTAINERD_REVISION} -X ${CONTAINERD_PKG}/version.Package=${CONTAINERD_PKG} -extld $CC"
+ export GOLANG=$TOOLCHAIN/lib/golang/bin/go
+ export GOPATH=$PKG_BUILD/.gopath
+ export GOROOT=$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
- ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/vendor/src/github.com/docker/containerd
+ mkdir -p $PKG_BUILD/.gopath
+ if [ -d $PKG_BUILD/vendor ]; then
+ mv $PKG_BUILD/vendor $PKG_BUILD/.gopath/src
+ fi
+
+ ln -fs $PKG_BUILD $PKG_BUILD/.gopath/src/github.com/containerd/containerd
}
make_target() {
mkdir -p bin
- $GOLANG build -v -o bin/containerd -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd
- $GOLANG build -v -o bin/containerd-shim -a -tags "static_build" -ldflags "$LDFLAGS" ./containerd-shim
+ $GOLANG build -v -o bin/containerd -a -tags "static_build no_btrfs" -ldflags "$LDFLAGS" ./cmd/containerd
+ $GOLANG build -v -o bin/containerd-shim -a -tags "static_build no_btrfs" -ldflags "$LDFLAGS" ./cmd/containerd-shim
}
-
-makeinstall_target() {
- :
-}
-
diff --git a/packages/addons/addon-depends/cxxtools/package.mk b/packages/addons/addon-depends/cxxtools/package.mk
index 53f0cff5e2..f7f31e898c 100644
--- a/packages/addons/addon-depends/cxxtools/package.mk
+++ b/packages/addons/addon-depends/cxxtools/package.mk
@@ -1,53 +1,26 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="cxxtools"
PKG_VERSION="2.2.1"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342"
PKG_LICENSE="GPL-2"
PKG_SITE="http://www.tntnet.org/cxxtools.html"
PKG_URL="http://www.tntnet.org/download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="python/web"
-PKG_SHORTDESC="cxxtools: a collection of general-purpose C++ classes"
-PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Cxxtools is a collection of general-purpose C++ classes."
+PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_HOST="--disable-demos --with-atomictype=pthread --disable-unittest"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --disable-demos --with-atomictype=pthread --disable-unittest"
-pre_configure_target() {
- CFLAGS="$CFLAGS -fPIC"
- CXXFLAGS="$CXXFLAGS -fPIC"
- LDFLAGS="$LDFLAGS -fPIC"
-}
-
-
post_makeinstall_host() {
rm -rf $TOOLCHAIN/bin/cxxtools-config
}
post_makeinstall_target() {
- $SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/cxxtools-config
+ sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i $SYSROOT_PREFIX/usr/bin/cxxtools-config
rm -rf $INSTALL/usr/bin
}
diff --git a/packages/addons/addon-depends/cxxtools/patches/cxxtools-2.2-no_shared_flag.patch b/packages/addons/addon-depends/cxxtools/patches/cxxtools-2.2-no_shared_flag.patch
deleted file mode 100644
index 6e6be79401..0000000000
--- a/packages/addons/addon-depends/cxxtools/patches/cxxtools-2.2-no_shared_flag.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-Index: cxxtools-2.2/src/Makefile.am
-===================================================================
---- cxxtools-2.2.orig/src/Makefile.am 2013-05-05 13:56:03.225204926 +0300
-+++ cxxtools-2.2/src/Makefile.am 2013-05-05 13:56:14.017219885 +0300
-@@ -215,4 +215,4 @@
- endif
-
- libcxxtools_la_LIBADD = $(LIBICONV)
--libcxxtools_la_LDFLAGS = -version-info @sonumber@ @SHARED_LIB_FLAG@
-+libcxxtools_la_LDFLAGS = -version-info @sonumber@
diff --git a/packages/addons/addon-depends/dotnet-runtime-depends/curl3/package.mk b/packages/addons/addon-depends/dotnet-runtime-depends/curl3/package.mk
new file mode 100644
index 0000000000..7beeb3d71f
--- /dev/null
+++ b/packages/addons/addon-depends/dotnet-runtime-depends/curl3/package.mk
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+. $(get_pkg_directory curl)/package.mk
+
+PKG_NAME="curl3"
+PKG_URL=""
+PKG_LONGDESC="curl for dotnet"
+
+unpack() {
+ mkdir -p $PKG_BUILD
+ cp -r $(get_build_dir curl)/* $PKG_BUILD
+ sed -i 's/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4/CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3/g' $PKG_BUILD/lib/libcurl.vers.in
+}
+
+makeinstall_target() {
+ make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
+}
+
+post_makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dotnet-runtime-depends/curl3/sources/trigger_unpack b/packages/addons/addon-depends/dotnet-runtime-depends/curl3/sources/trigger_unpack
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/addons/addon-depends/dotnet-runtime-depends/krb5/package.mk b/packages/addons/addon-depends/dotnet-runtime-depends/krb5/package.mk
new file mode 100644
index 0000000000..08bfbc304e
--- /dev/null
+++ b/packages/addons/addon-depends/dotnet-runtime-depends/krb5/package.mk
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="krb5"
+PKG_VERSION="1.16.2-final"
+PKG_SHA256="92f62e5a54404d22aa2a7eee9fba64d1be8d10d8dd3aa052e1799993208acce4"
+PKG_LICENSE="MIT"
+PKG_SITE="http://web.mit.edu/kerberos/"
+PKG_URL="https://github.com/krb5/krb5/archive/krb5-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="The Kerberos network authentication protocol."
+PKG_TOOLCHAIN="autotools"
+
+PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_regcomp=yes \
+ ac_cv_printf_positional=yes \
+ krb5_cv_attr_constructor_destructor=yes,yes"
+
+post_unpack() {
+ rm -rf $PKG_BUILD/doc
+ mv $PKG_BUILD/src/* $PKG_BUILD
+}
+
+makeinstall_target() {
+ make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
+}
diff --git a/packages/addons/addon-depends/dotnet-runtime-depends/lttng-ust/package.mk b/packages/addons/addon-depends/dotnet-runtime-depends/lttng-ust/package.mk
new file mode 100644
index 0000000000..44708bca53
--- /dev/null
+++ b/packages/addons/addon-depends/dotnet-runtime-depends/lttng-ust/package.mk
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="lttng-ust"
+PKG_VERSION="2.10.2"
+PKG_SHA256="015452be6f94e4468315d0478cd5a4d01d9e52672bcea122b4ff7426198d5803"
+PKG_LICENSE="LGPLv2.1"
+PKG_SITE="https://lttng.org/"
+PKG_URL="https://github.com/lttng/lttng-ust/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain userspace-rcu"
+PKG_LONGDESC="LTTng is an open source tracing framework for Linux"
+PKG_TOOLCHAIN="autotools"
+
+PKG_CONFIGURE_OPTS_TARGET="--disable-man-pages"
+
+makeinstall_target() {
+ make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
+}
diff --git a/packages/addons/addon-depends/dotnet-runtime-depends/userspace-rcu/package.mk b/packages/addons/addon-depends/dotnet-runtime-depends/userspace-rcu/package.mk
new file mode 100644
index 0000000000..c6d92d1515
--- /dev/null
+++ b/packages/addons/addon-depends/dotnet-runtime-depends/userspace-rcu/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="userspace-rcu"
+PKG_VERSION="0.10.1"
+PKG_SHA256="4ddbca9927b459b7a295dec612cf43df5886d398161d50c59d0097995e368a3b"
+PKG_LICENSE="LGPLv2.1"
+PKG_SITE="http://liburcu.org"
+PKG_URL="https://github.com/urcu/userspace-rcu/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="userspace read-copy-update library"
+PKG_TOOLCHAIN="autotools"
+PKG_BUILD_FLAGS="+pic"
+
+PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
+ --enable-static"
diff --git a/packages/addons/addon-depends/dvb-tools-depends/blindscan-s2/package.mk b/packages/addons/addon-depends/dvb-tools-depends/blindscan-s2/package.mk
new file mode 100644
index 0000000000..da0fea372e
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/blindscan-s2/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="blindscan-s2"
+PKG_VERSION="192eaf0b3eccfb9721b3d49b9010b5c1447776e0"
+PKG_SHA256="c9e5bd07672765b30dac758844e2eb87ab68d5dc6bc731e9df6394159acddcbb"
+PKG_LICENSE="GPL"
+PKG_SITE="https://bitbucket.org/majortom/blindscan-s2"
+PKG_URL="https://github.com/PLi-metas/blindscan-s2/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="blindscan-s2 is a program to blindscan digital satellite signals"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/depends/bitstream/package.mk b/packages/addons/addon-depends/dvb-tools-depends/depends/bitstream/package.mk
index 3b7ee57c9f..84a3aa4b07 100644
--- a/packages/addons/addon-depends/dvb-tools-depends/depends/bitstream/package.mk
+++ b/packages/addons/addon-depends/dvb-tools-depends/depends/bitstream/package.mk
@@ -1,34 +1,13 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="bitstream"
-PKG_VERSION="1.1"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.4"
+PKG_SHA256="b2484940d3b8733bec9dd1ec1731de428261dff31c9f95874264be9dc9ce786b"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org"
-PKG_URL="http://download.videolan.org/pub/videolan/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
+PKG_URL="http://download.videolan.org/pub/videolan/bitstream/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
-PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF, etc."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="biTStream is a set of C headers allowing a simpler access to binary structures such as specified by MPEG, DVB, IETF."
PKG_MAKEINSTALL_OPTS_TARGET="PREFIX=/usr"
diff --git a/packages/addons/addon-depends/dvb-tools-depends/depends/libev/package.mk b/packages/addons/addon-depends/dvb-tools-depends/depends/libev/package.mk
index d3850cd6a8..9ffa4623fc 100644
--- a/packages/addons/addon-depends/dvb-tools-depends/depends/libev/package.mk
+++ b/packages/addons/addon-depends/dvb-tools-depends/depends/libev/package.mk
@@ -1,34 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libev"
-PKG_VERSION="4.22"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="4.24"
+PKG_SHA256="973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821"
PKG_LICENSE="GPL"
PKG_SITE="http://software.schmorp.de/pkg/libev.html"
PKG_URL="http://dist.schmorp.de/libev/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="libev: a full-featured and high-performance event loop"
-PKG_LONGDESC="A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs."
+PKG_LONGDESC="A full-featured and high-performance event loop."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
+PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
+ --enable-static"
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/package.mk b/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/package.mk
index 65b8ea2b20..71d7f0cb30 100644
--- a/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/package.mk
+++ b/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/package.mk
@@ -1,32 +1,20 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dvb-apps"
PKG_VERSION="3d43b280298c"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="70c1d293ea3ddbcb970e01c8a51487ee97a4dcf33a73c0236c7d57757c7f6fb0"
PKG_LICENSE="GPL"
PKG_SITE="https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps"
PKG_URL="http://linuxtv.org/hg/dvb-apps/archive/${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="Digitial Video Broadcasting (DVB) applications"
-PKG_LONGDESC="Applications and utilities geared towards the initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC standards."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Applications for initial setup, testing and operation of an DVB device supporting the DVB-S, DVB-C, DVB-T, and ATSC."
+
+pre_make_target() {
+ export PERL_USE_UNSAFE_INC=1
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/patches/dvb-apps-40-kernel-fix-4.14.patch b/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/patches/dvb-apps-40-kernel-fix-4.14.patch
new file mode 100644
index 0000000000..7fa44033a2
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/dvb-apps/patches/dvb-apps-40-kernel-fix-4.14.patch
@@ -0,0 +1,52 @@
+From: CvH
+Date: Wed, 22 Nov 2017 23:45:38 +0100
+Subject: [PATCH] fix for kernel >=4.14
+
+---
+ include/ca.h | 1 -
+ util/dst-utils/dst_test.c | 14 --------------
+ 2 files changed, 15 deletions(-)
+
+diff --git a/include/ca.h b/include/ca.h
+index c18537f..5ad21c9 100644
+--- a/include/ca.h
++++ b/include/ca.h
+@@ -85,6 +85,5 @@ typedef struct ca_pid {
+ #define CA_GET_MSG _IOR('o', 132, ca_msg_t)
+ #define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
+ #define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
+-#define CA_SET_PID _IOW('o', 135, ca_pid_t)
+
+ #endif
+diff --git a/util/dst-utils/dst_test.c b/util/dst-utils/dst_test.c
+index 74385de..5cf3bd8 100644
+--- a/util/dst-utils/dst_test.c
++++ b/util/dst-utils/dst_test.c
+@@ -111,16 +111,6 @@ static int dst_reset(int cafd)
+ return 0;
+ }
+
+-static int dst_set_pid(int cafd)
+-{
+- if ((ioctl(cafd, CA_SET_PID)) < 0) {
+- printf("%s: ioctl failed ..\n", __FUNCTION__);
+- return -1;
+- }
+-
+- return 0;
+-}
+-
+ static int dst_get_descr(int cafd)
+ {
+ if ((ioctl(cafd, CA_GET_DESCR_INFO)) < 0) {
+@@ -229,10 +219,6 @@ int main(int argc, char *argv[])
+ printf("%s: Reset\n", __FUNCTION__);
+ dst_reset(cafd);
+ break;
+- case 'p':
+- printf("%s: PID\n", __FUNCTION__);
+- dst_set_pid(cafd);
+- break;
+ case 'g':
+ printf("%s: Get Desc\n", __FUNCTION__);
+ dst_get_descr(cafd);
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvb-fe-tool/package.mk b/packages/addons/addon-depends/dvb-tools-depends/dvb-fe-tool/package.mk
deleted file mode 100644
index 93132cde40..0000000000
--- a/packages/addons/addon-depends/dvb-tools-depends/dvb-fe-tool/package.mk
+++ /dev/null
@@ -1,62 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="dvb-fe-tool"
-PKG_VERSION="fa2f7d9"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://linuxtv.org/"
-PKG_URL="https://git.linuxtv.org/cgit.cgi/v4l-utils.git/snapshot/$PKG_VERSION.tar.xz"
-PKG_SOURCE_DIR="$PKG_VERSION*"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="dvb-fe-tool: Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
-PKG_LONGDESC="Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
-PKG_AUTORECONF="yes"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
- --disable-rpath \
- --disable-libdvbv5 \
- --disable-libv4l \
- --disable-v4l-utils \
- --disable-qv4l2 \
- --without-jpeg \
- --without-libiconv-prefix \
- --without-libintl-prefix"
-
-post_patch() {
- mkdir -p $ROOT/$PKG_BUILD/build-aux/
- touch $ROOT/$PKG_BUILD/build-aux/config.rpath
- touch $ROOT/$PKG_BUILD/libdvbv5-po/Makefile.in.in
- touch $ROOT/$PKG_BUILD/v4l-utils-po/Makefile.in.in
-}
-
-make_target() {
- cd $ROOT/$PKG_BUILD/.$TARGET_NAME/lib/libdvbv5
- make CFLAGS="$TARGET_CFLAGS"
-
- cd $ROOT/$PKG_BUILD/.$TARGET_NAME/utils/dvb
- make CFLAGS="$TARGET_CFLAGS"
-}
-
-makeinstall_target() {
- : # nop
-}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvblast/package.mk b/packages/addons/addon-depends/dvb-tools-depends/dvblast/package.mk
index 3747cf1270..2f66627e85 100644
--- a/packages/addons/addon-depends/dvb-tools-depends/dvblast/package.mk
+++ b/packages/addons/addon-depends/dvb-tools-depends/dvblast/package.mk
@@ -1,42 +1,20 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dvblast"
-PKG_VERSION="3.0"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="acf3844377351ea2949ce1c48dbfde589491013d"
+PKG_SHA256="007d2c93876892bd09c2a520bdce0b04f6469187123bbf24cdcf0d5effec5389"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.videolan.org"
-PKG_URL="http://downloads.videolan.org/pub/videolan/dvblast/${PKG_VERSION}/dvblast-${PKG_VERSION}.tar.bz2"
+PKG_SITE="https://www.videolan.org/projects/dvblast.html"
+PKG_URL="http://repo.or.cz/dvblast.git/snapshot/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain bitstream libev"
-PKG_SECTION="tools"
-PKG_SHORTDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
PKG_LONGDESC="DVBlast is a simple and powerful MPEG-2/TS demux and streaming application"
-PKG_AUTORECONF="no"
-
-MAKEFLAGS="V=1"
pre_configure_target() {
export LDFLAGS="$LDFLAGS -lm"
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvblast/patches/dvblast-ldflags.patch b/packages/addons/addon-depends/dvb-tools-depends/dvblast/patches/dvblast-ldflags.patch
deleted file mode 100644
index 9ad9e2080b..0000000000
--- a/packages/addons/addon-depends/dvb-tools-depends/dvblast/patches/dvblast-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur dvblast-3.0/Makefile dvblast-3.0.patch/Makefile
---- dvblast-3.0/Makefile 2015-10-05 17:51:14.000000000 +0200
-+++ dvblast-3.0.patch/Makefile 2016-03-26 22:54:59.953303040 +0100
-@@ -55,11 +55,11 @@
-
- dvblast: $(OBJ_DVBLAST)
- @echo "LINK $@"
-- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDLIBS_DVBLAST) $(LDLIBS)
-+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDFLAGS) $(LDLIBS_DVBLAST) $(LDLIBS)
-
- dvblastctl: $(OBJ_DVBLASTCTL)
- @echo "LINK $@"
-- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDLIBS)
-+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDFLAGS) $(LDLIBS)
-
- clean:
- @echo "CLEAN $(CLEAN_OBJS)"
diff --git a/packages/addons/addon-depends/dvb-tools-depends/dvbsnoop/package.mk b/packages/addons/addon-depends/dvb-tools-depends/dvbsnoop/package.mk
new file mode 100644
index 0000000000..94ebc41800
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/dvbsnoop/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="dvbsnoop"
+PKG_VERSION="badf61fcdab1177c1162747be06d035a2b671e9b"
+PKG_SHA256="7f0f5d9ca15c5caae3ca249d95a5fc30cececd16f63e00a1404e0d2368ce56fa"
+PKG_LICENSE="GPL"
+PKG_SITE="http://dvbsnoop.sourceforge.net/"
+PKG_URL="https://github.com/persianpros/dvbsnoop/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="dvbsnoop is a DVB/MPEG stream analyzer program"
+PKG_TOOLCHAIN="autotools"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/mumudvb/package.mk b/packages/addons/addon-depends/dvb-tools-depends/mumudvb/package.mk
new file mode 100644
index 0000000000..f430cdb9a7
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/mumudvb/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="mumudvb"
+PKG_VERSION="6153f87a17a94fbf6e71d710bef39c313302b494"
+PKG_SHA256="4e8dd903d0cba1e798c3921da83b332a9bbb5ad2102f5c1a9699965af6989e28"
+PKG_LICENSE="GPL"
+PKG_SITE="http://mumudvb.net/"
+PKG_URL="https://github.com/braice/MuMuDVB/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain libdvbcsa"
+PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
+PKG_TOOLCHAIN="autotools"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/szap-s2/package.mk b/packages/addons/addon-depends/dvb-tools-depends/szap-s2/package.mk
new file mode 100644
index 0000000000..22c8e165ef
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/szap-s2/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="szap-s2"
+PKG_VERSION="69ff3584caf9b46f7a551b39b9f9956f8461377c"
+PKG_SHA256="eea8d99d2d5d6403d624acdd9df908a2dd7767dd5469b44e9a281ff863096b32"
+PKG_LICENSE="GPL"
+PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
+PKG_URL="https://bitbucket.org/CrazyCat/szap-s2/get/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="szap-s2 is a simple zapping tool for the Linux DVB S2 API"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/t2scan/package.mk b/packages/addons/addon-depends/dvb-tools-depends/t2scan/package.mk
new file mode 100644
index 0000000000..8d337201eb
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/t2scan/package.mk
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="t2scan"
+PKG_VERSION="8b9ad91e8685ff80e7c5d924caec83f1ee49ebf3"
+PKG_SHA256="cdfae6232ba1bbc954bd228f9db217d004c07407cf46245816d39f4599e91111"
+PKG_LICENSE="GPL"
+PKG_SITE="https://github.com/mighty-p/t2scan"
+PKG_URL="https://github.com/mighty-p/t2scan/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="A small channel scan tool which generates DVB-T/T2 channels.conf files."
+
+# aml 3.14 hack
+pre_configure_target() {
+ if [ "$LINUX" = "amlogic-3.14" -o "$LINUX" = "amlogic-3.10" ]; then
+ sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $PKG_BUILD/configure*
+ sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $PKG_BUILD/configure*
+ fi
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/tune-s2/package.mk b/packages/addons/addon-depends/dvb-tools-depends/tune-s2/package.mk
new file mode 100644
index 0000000000..4b260f2335
--- /dev/null
+++ b/packages/addons/addon-depends/dvb-tools-depends/tune-s2/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="tune-s2"
+PKG_VERSION="60cc4aaa70b646d38f2e40251860375283c44816"
+PKG_SHA256="e39069a0f2f0930809647052fe1f8c9a13f05af537013b03a99f09ceb9bfb997"
+PKG_LICENSE="GPL"
+PKG_SITE="https://bitbucket.org/updatelee/tune-s2"
+PKG_URL="https://bitbucket.org/CrazyCat/tune-s2/get/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="tune-s2 is a small linux app to be able to tune a dvb devices"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk b/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk
index c1734f45e8..70f8988187 100644
--- a/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk
+++ b/packages/addons/addon-depends/dvb-tools-depends/w_scan/package.mk
@@ -1,38 +1,24 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="w_scan"
-PKG_VERSION="20141122"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="20170107"
+PKG_SHA256="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe"
PKG_LICENSE="GPL"
PKG_SITE="http://wirbel.htpc-forum.de/w_scan/index2.html"
PKG_URL="http://wirbel.htpc-forum.de/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="DVBlast is a small channel scan tool to create an channel.conf for VDR"
-PKG_LONGDESC="DVBlast is a small channel scan tool to create an channel.conf for VDR"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A channel scan tool which generates ATSC, DVB-C, DVB-S/S2 and DVB-T channels.conf files."
+PKG_TOOLCHAIN="autotools"
-# aml 3.14 is meh
+# aml 3.14 hack
pre_configure_target() {
-if [ "$TARGET_ARCH" = "aarch64" ]; then
- sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $ROOT/$PKG_BUILD/configure*
- sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $ROOT/$PKG_BUILD/configure*
-fi
+ if [ "$LINUX" = "amlogic-3.14" -o "$LINUX" = "amlogic-3.10" ]; then
+ sed -i 's/DVB_HEADER=0/DVB_HEADER=1/g' $PKG_BUILD/configure*
+ sed -i 's/HAS_DVB_API5=0/HAS_DVB_API5=1/g' $PKG_BUILD/configure*
+ fi
+}
+
+makeinstall_target() {
+ :
}
diff --git a/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk b/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk
deleted file mode 100644
index 111f960642..0000000000
--- a/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk
+++ /dev/null
@@ -1,113 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="ffmpegx"
-PKG_VERSION="libreelec"
-PKG_REV="6"
-PKG_ARCH="any"
-PKG_LICENSE="LGPLv2.1+"
-PKG_SITE="https://ffmpeg.org"
-PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="FFmpeg+"
-PKG_LONGDESC="FFmpeg built static with additional features"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-pre_configure_target() {
- cd "$ROOT/$PKG_BUILD"
- rm -rf ".$TARGET_NAME"
- cp -PR $(get_build_dir ffmpeg)/* .
- make clean
-
-# ffmpeg builds better with these options
- strip_gold
- strip_lto
-
- if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
- CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
- FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
- FFMPEG_RPI_HADE="--enable-mmal --enable-omx-rpi"
- fi
-
-# ffmpeg does not build with libx264 on aarch64
- if [ "$TARGET_ARCH" != "aarch64" ]; then
- FFMPEG_X264="--enable-libx264"
- fi
-
- if [ "$TARGET_ARCH" == "arm" ]; then
- FFMPEG_ARM_AO="--enable-hardcoded-tables"
- fi
-}
-
-configure_target() {
- ./configure \
- \
- `#Licensing options` \
- --enable-gpl \
- \
- `#Documentation options` \
- --disable-doc \
- \
- `#Hardware accelerated decoding encoding` \
- $FFMPEG_RPI_HADE \
- \
- `#External library support` \
- --enable-libmp3lame \
- $FFMPEG_X264 \
- --enable-openssl \
- \
- `#Toolchain options` \
- --arch="$TARGET_ARCH" \
- --cpu="$TARGET_CPU" \
- --cross-prefix="$TARGET_PREFIX" \
- --enable-cross-compile \
- --sysroot="$SYSROOT_PREFIX" \
- --sysinclude="$SYSROOT_PREFIX/usr/include" \
- --target-os="linux" \
- --nm="$NM" \
- --ar="$AR" \
- --as="$CC" \
- --cc="$CC" \
- --ld="$CC" \
- --pkg-config="$ROOT/$TOOLCHAIN/bin/pkg-config" \
- --host-cc="$HOST_CC" \
- --host-cflags="$HOST_CFLAGS" \
- --host-ldflags="$HOST_LDFLAGS" \
- --host-libs="-lm" \
- --extra-cflags="$CFLAGS" \
- --extra-ldflags="$LDFLAGS" \
- --extra-libs="$FFMPEG_LIBS" \
- --extra-version="x" \
- --enable-pic \
- \
- `#Advanced options` \
- $FFMPEG_ARM_AO \
-
-}
-
-makeinstall_target() {
- make install DESTDIR=$INSTALL
-}
-
-post_makeinstall_target() {
- for ff in $INSTALL/usr/local/bin/*; do mv $ff ${ff}x; done
- rm -fr $INSTALL/usr/local/include
- rm -fr $INSTALL/usr/local/share/ffmpeg/examples
-}
diff --git a/packages/addons/addon-depends/emby-depends/imagemagick/package.mk b/packages/addons/addon-depends/emby-depends/imagemagick/package.mk
index 45d1d23441..ec672a3a6c 100644
--- a/packages/addons/addon-depends/emby-depends/imagemagick/package.mk
+++ b/packages/addons/addon-depends/emby-depends/imagemagick/package.mk
@@ -1,43 +1,22 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="imagemagick"
-PKG_VERSION="6.9.6-7"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="7.0.8-11"
+PKG_SHA256="95e4da5fa109bc8b59b5e7a54cdfcf1af3230067c95adf608ff21c08eca1de20"
PKG_LICENSE="http://www.imagemagick.org/script/license.php"
PKG_SITE="http://www.imagemagick.org/"
-PKG_URL="http://www.imagemagick.org/download/releases/ImageMagick-$PKG_VERSION.tar.xz"
-PKG_SOURCE_DIR="ImageMagick-$PKG_VERSION"
-PKG_DEPENDS_TARGET="toolchain libX11"
-PKG_SECTION="graphics"
-PKG_SHORTDESC="ImageMagick"
+PKG_URL="https://github.com/ImageMagick/ImageMagick/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Software suite to create, edit, compose, or convert bitmap images"
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+PKG_CONFIGURE_OPTS_TARGET="--disable-openmp \
+ --disable-static \
--enable-shared \
- --with-quantum-depth=8 \
- --enable-hdri=no \
- --disable-openmp"
+ --with-pango=no \
+ --with-utilities=no \
+ --with-x=no"
makeinstall_target() {
- make install DESTDIR=$INSTALL
+ make install DESTDIR=$INSTALL $PKG_MAKEINSTALL_OPTS_TARGET
}
diff --git a/packages/addons/addon-depends/emby-depends/x264/package.mk b/packages/addons/addon-depends/emby-depends/x264/package.mk
deleted file mode 100644
index c01bb06da3..0000000000
--- a/packages/addons/addon-depends/emby-depends/x264/package.mk
+++ /dev/null
@@ -1,52 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="x264"
-PKG_VERSION="snapshot-20161203-2245-stable"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://www.videolan.org/developers/x264.html"
-PKG_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="x264"
-PKG_LONGDESC="x264"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-pre_configure_target() {
- cd $ROOT/$PKG_BUILD
- rm -rf .$TARGET_NAME
-}
-
-configure_target() {
- ./configure \
- --prefix="/usr" \
- --extra-cflags="$CFLAGS" \
- --extra-ldflags="$LDFLAGS" \
- --disable-cli \
- --enable-static \
- --enable-strip \
- --disable-asm \
- --enable-pic \
- --host="$TARGET_NAME" \
- --cross-prefix="$TARGET_PREFIX" \
- --sysroot="$SYSROOT_PREFIX"
-}
diff --git a/packages/addons/addon-depends/enca/package.mk b/packages/addons/addon-depends/enca/package.mk
index 5bd6d7effb..9b10033db0 100644
--- a/packages/addons/addon-depends/enca/package.mk
+++ b/packages/addons/addon-depends/enca/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="enca"
PKG_VERSION="1.19"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8"
PKG_LICENSE="GPL"
PKG_SITE="http://freshmeat.net/projects/enca/"
PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="devel"
-PKG_SHORTDESC="enca: detects the encoding of text files, on the basis of knowledge of their language."
-PKG_LONGDESC="Enca detects the encoding of text files, on the basis of knowledge of their language. It can also convert them to other encodings, allowing you to recode files without knowing their current encoding. It supports most of Central and East European languages, and a few Unicode variants, independently on language."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Enca detects the encoding of text files, on the basis of knowledge of their language."
+PKG_BUILD_FLAGS="+pic"
PKG_MAKEINSTALL_OPTS_TARGET="-C lib"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
@@ -44,10 +24,6 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
--disable-rpath \
--with-gnu-ld"
-pre_configure_target() {
- export CFLAGS="$CFLAGS -fPIC -DPIC"
-}
-
pre_make_target() {
make CC="$HOST_CC" \
CPPFLAGS="$HOST_CPPFLAGS" \
diff --git a/packages/addons/addon-depends/enet/package.mk b/packages/addons/addon-depends/enet/package.mk
index 2540000071..b842bc5ef3 100644
--- a/packages/addons/addon-depends/enet/package.mk
+++ b/packages/addons/addon-depends/enet/package.mk
@@ -1,36 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="enet"
-PKG_VERSION="1.3.13"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="e33ca1d"
+PKG_SHA256="0ba5547de2c4c7fc79d367179a9bc92a7ac27e9258dd50fb277cd8761afaf9b0"
PKG_LICENSE=""
-PKG_SITE=""
-PKG_URL="http://enet.bespin.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_SITE="https://github.com/cgutman/enet/"
+PKG_URL="https://github.com/cgutman/enet/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="network"
-PKG_SHORTDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
-PKG_LONGDESC="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol)"
-
-PKG_IS_ADDON="no"
-PKG_USE_CMAKE="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A network communication layer on top of UDP (User Datagram Protocol)."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/enum34/package.mk b/packages/addons/addon-depends/enum34/package.mk
index 7337a61e6d..f5ef059c0f 100644
--- a/packages/addons/addon-depends/enum34/package.mk
+++ b/packages/addons/addon-depends/enum34/package.mk
@@ -1,42 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="enum34"
PKG_VERSION="1.1.6"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="b09c7f7ee925e600bd4efaa5fef49919eacdbdfd5a52e0696c5d03010cffb9ec"
PKG_LICENSE="BSD"
PKG_SITE="https://bitbucket.org/stoneleaf/enum34"
PKG_URL="https://bitbucket.org/stoneleaf/$PKG_NAME/get/$PKG_VERSION.tar.bz2"
-PKG_SOURCE_DIR="stoneleaf-enum34-*"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_PRIORITY="optional"
-PKG_SECTION="python"
-PKG_SHORTDESC="Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4"
-PKG_LONGDESC="Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4."
+PKG_TOOLCHAIN="manual"
make_target() {
python setup.py build
}
-
-makeinstall_target() {
- :
-}
diff --git a/packages/addons/addon-depends/faad2/package.mk b/packages/addons/addon-depends/faad2/package.mk
index 3659ed1c5b..349321c11e 100644
--- a/packages/addons/addon-depends/faad2/package.mk
+++ b/packages/addons/addon-depends/faad2/package.mk
@@ -1,45 +1,22 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="faad2"
-PKG_VERSION="2.7"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="2.8.8"
+PKG_SHA256="985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.audiocoding.com/"
-PKG_URL="$SOURCEFORGE_SRC/faac/faad2-src/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_SITE="http://www.audiocoding.com"
+PKG_URL="https://downloads.sourceforge.net/sourceforge/faac/faad2-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="audio"
-PKG_SHORTDESC="faad: An MPEG-4 AAC decoder"
-PKG_LONGDESC="The FAAD project includes the AAC decoder FAAD2. It supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles."
+PKG_LONGDESC="An MPEG-4 AAC decoder."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_MAINTAINER="Team LibreELEC (addons@libreelec.tv)"
-
-# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
- --without-xmms \
--without-drm \
+ --with-gnu-ld \
--without-mpeg4ip \
- --with-gnu-ld"
+ --without-xmms"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
diff --git a/packages/addons/addon-depends/faad2/patches/faad2-2.7-automake_1.13.patch b/packages/addons/addon-depends/faad2/patches/faad2-2.7-automake_1.13.patch
deleted file mode 100644
index 56724f3f14..0000000000
--- a/packages/addons/addon-depends/faad2/patches/faad2-2.7-automake_1.13.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur faad2-2.7-old/configure.in faad2-2.7-new/configure.in
---- faad2-2.7-old/configure.in 2009-02-04 16:51:03.000000000 -0800
-+++ faad2-2.7-new/configure.in 2012-12-30 14:58:33.000000000 -0800
-@@ -25,7 +25,7 @@
- AC_PROG_MAKE_SET
- AC_CHECK_PROGS(RPMBUILD, rpmbuild, rpm)
-
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
-
- AC_ARG_WITH(xmms,[ --with-xmms compile XMMS-1 plugin],
- WITHXMMS=$withval, WITHXMMS=no)
diff --git a/packages/addons/addon-depends/faad2/patches/faad2-2.7-mp4ff_shared.patch b/packages/addons/addon-depends/faad2/patches/faad2-2.7-mp4ff_shared.patch
deleted file mode 100644
index fb97e81e9c..0000000000
--- a/packages/addons/addon-depends/faad2/patches/faad2-2.7-mp4ff_shared.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naur faad2-2.7-old/common/mp4ff/Makefile.am faad2-2.7-new/common/mp4ff/Makefile.am
---- faad2-2.7-old/common/mp4ff/Makefile.am 2009-02-06 06:24:21.000000000 -0800
-+++ faad2-2.7-new/common/mp4ff/Makefile.am 2009-02-11 05:36:14.000000000 -0800
-@@ -1,7 +1,7 @@
--lib_LIBRARIES = libmp4ff.a
--include_HEADERS = mp4ff.h mp4ffint.h
-+lib_LTLIBRARIES = libmp4ff.la
-+include_HEADERS = mp4ff.h mp4ffint.h mp4ff_int_types.h
-
--libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
-+libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
-
--libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-- mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
-+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-+ mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
-diff -Naur faad2-2.7-old/frontend/Makefile.am faad2-2.7-new/frontend/Makefile.am
---- faad2-2.7-old/frontend/Makefile.am 2009-02-06 08:03:37.000000000 -0800
-+++ faad2-2.7-new/frontend/Makefile.am 2009-02-11 05:35:52.000000000 -0800
-@@ -5,7 +5,7 @@
- -I$(top_srcdir)/common/mp4ff
-
- faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
-- $(top_builddir)/common/mp4ff/libmp4ff.a
-+ $(top_builddir)/common/mp4ff/libmp4ff.la
-
- faad_SOURCES = main.c \
- audio.c audio.h \
diff --git a/packages/addons/addon-depends/ffmpegx-depends/libvpx/package.mk b/packages/addons/addon-depends/ffmpegx-depends/libvpx/package.mk
new file mode 100644
index 0000000000..00cfe65f38
--- /dev/null
+++ b/packages/addons/addon-depends/ffmpegx-depends/libvpx/package.mk
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libvpx"
+PKG_VERSION="1.7.0"
+PKG_SHA256="1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238"
+PKG_LICENSE="BSD"
+PKG_SITE="https://www.webmproject.org"
+PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="WebM VP8/VP9 Codec"
+
+configure_target() {
+
+ case $ARCH in
+ aarch64)
+ PKG_TARGET_NAME_LIBVPX="arm64-linux-gcc"
+ ;;
+ arm)
+ PKG_TARGET_NAME_LIBVPX="armv7-linux-gcc"
+ ;;
+ x86_64)
+ PKG_DEPENDS_TARGET+=" nasm:host"
+ PKG_TARGET_NAME_LIBVPX="x86_64-linux-gcc"
+ ;;
+ esac
+
+ $PKG_CONFIGURE_SCRIPT --prefix=/usr \
+ --extra-cflags="$CFLAGS" \
+ --as=nasm \
+ --target=$PKG_TARGET_NAME_LIBVPX \
+ --disable-docs \
+ --disable-examples \
+ --disable-shared \
+ --disable-tools \
+ --disable-unit-tests \
+ --disable-vp8-decoder \
+ --disable-vp9-decoder \
+ --enable-ccache \
+ --enable-pic \
+ --enable-static \
+ --enable-vp8 \
+ --enable-vp9
+}
diff --git a/packages/addons/addon-depends/ffmpegx-depends/x264/package.mk b/packages/addons/addon-depends/ffmpegx-depends/x264/package.mk
new file mode 100644
index 0000000000..2f295e4b55
--- /dev/null
+++ b/packages/addons/addon-depends/ffmpegx-depends/x264/package.mk
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="x264"
+PKG_VERSION="545de2ffec6ae9a80738de1b2c8cf820249a2530"
+PKG_SHA256="74725cf7036b2c96387c2c014ef00d181942d00230f21e16277f11d2d9683adc"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.videolan.org/developers/x264.html"
+PKG_URL="http://repo.or.cz/x264.git/snapshot/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="x264 codec"
+
+if [ "$TARGET_ARCH" = "x86_64" ]; then
+ PKG_DEPENDS_TARGET+=" nasm:host"
+fi
+
+pre_configure_target() {
+ cd $PKG_BUILD
+ rm -rf .$TARGET_NAME
+
+ if [ "$TARGET_ARCH" = "x86_64" ]; then
+ export AS="$TOOLCHAIN/bin/nasm"
+ else
+ PKG_X264_ASM="--disable-asm"
+ fi
+}
+
+configure_target() {
+ ./configure \
+ --cross-prefix="$TARGET_PREFIX" \
+ --extra-cflags="$CFLAGS" \
+ --extra-ldflags="$LDFLAGS" \
+ --host="$TARGET_NAME" \
+ --prefix="/usr" \
+ --sysroot="$SYSROOT_PREFIX" \
+ $PKG_X264_ASM \
+ --disable-cli \
+ --enable-lto \
+ --enable-pic \
+ --enable-static \
+ --enable-strip
+}
diff --git a/packages/addons/addon-depends/ffmpegx-depends/x265/package.mk b/packages/addons/addon-depends/ffmpegx-depends/x265/package.mk
new file mode 100644
index 0000000000..53709c804c
--- /dev/null
+++ b/packages/addons/addon-depends/ffmpegx-depends/x265/package.mk
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="x265"
+PKG_VERSION="2.9"
+PKG_SHA256="ebae687c84a39f54b995417c52a2fdde65a4e2e7ebac5730d251471304b91024"
+PKG_ARCH="x86_64"
+PKG_LICENSE="GPL"
+PKG_SITE="https://www.videolan.org/developers/x265.html"
+PKG_URL="http://download.videolan.org/pub/videolan/x265/${PKG_NAME}_${PKG_VERSION}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="x265 is a H.265/HEVC video encoder application library"
+PKG_TOOLCHAIN="make"
+
+pre_configure_target() {
+ LDFLAGS="$LDFLAGS -ldl"
+ cmake -G "Unix Makefiles" ./source
+}
diff --git a/packages/addons/addon-depends/ffmpegx/package.mk b/packages/addons/addon-depends/ffmpegx/package.mk
new file mode 100644
index 0000000000..af24251ec5
--- /dev/null
+++ b/packages/addons/addon-depends/ffmpegx/package.mk
@@ -0,0 +1,188 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="ffmpegx"
+PKG_VERSION="4.1"
+PKG_SHA256="7afb163d6974693cdad742aa1224c33683c50845c67ee5ae35506efc631ac121"
+PKG_LICENSE="LGPLv2.1+"
+PKG_SITE="https://ffmpeg.org"
+PKG_URL="https://github.com/FFmpeg/FFmpeg/archive/n${PKG_VERSION}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain aom bzip2 gnutls libvorbis opus x264 zlib"
+PKG_LONGDESC="FFmpegx is an complete FFmpeg build to support encoding and decoding."
+PKG_BUILD_FLAGS="-gold"
+
+# Dependencies
+get_graphicdrivers
+
+if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
+ PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
+fi
+
+if [ "$TARGET_ARCH" = "x86_64" ]; then
+ PKG_DEPENDS_TARGET+=" nasm:host x265"
+fi
+
+if [[ ! $TARGET_ARCH = arm ]] || target_has_feature neon; then
+ PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvpx"
+fi
+
+# X11 grab for screen recording
+if [ "$DISPLAYSERVER" = "x11" ]; then
+ PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libxcb libX11"
+fi
+
+pre_configure_target() {
+ cd $PKG_BUILD
+ rm -rf .$TARGET_NAME
+
+ # pass gnutls to build
+ PKG_CONFIG_PATH="$(get_build_dir gnutls)/.INSTALL_PKG/usr/lib/pkgconfig"
+ CFLAGS="$CFLAGS -I$(get_build_dir gnutls)/.INSTALL_PKG/usr/include"
+ LDFLAGS="$LDFLAGS -L$(get_build_dir gnutls)/.INSTALL_PKG/usr/lib"
+
+ if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
+ CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS"
+ PKG_FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm"
+ fi
+
+# HW encoders
+
+ # RPi 0-3
+ if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then
+ PKG_FFMPEG_HW_ENCODERS_RPi="\
+ `#Video encoders` \
+ --enable-omx-rpi \
+ --enable-mmal \
+ --enable-encoder=h264_omx \
+ \
+ `#Video hwaccel` \
+ --enable-hwaccel=h264_mmal \
+ --enable-hwaccel=mpeg2_mmal \
+ --enable-hwaccel=mpeg4_mmal \
+ --enable-hwaccel=vc1_mmal"
+ fi
+
+ # Generic
+ if [[ "$TARGET_ARCH" = "x86_64" ]]; then
+ PKG_FFMPEG_HW_ENCODERS_GENERIC="\
+ `#Video encoders` \
+ --enable-encoder=h264_nvenc \
+ --enable-encoder=h264_vaapi \
+ --enable-encoder=hevc_nvenc \
+ --enable-encoder=hevc_vaapi \
+ --enable-encoder=mjpeg_vaapi \
+ --enable-encoder=mpeg2_vaapi \
+ --enable-encoder=vp8_vaapi \
+ --enable-encoder=vp9_vaapi \
+ \
+ `#Video hwaccel` \
+ --enable-hwaccel=h263_vaapi \
+ --enable-hwaccel=h264_vaapi \
+ --enable-hwaccel=hevc_vaapi \
+ --enable-hwaccel=mjpeg_vaapi \
+ --enable-hwaccel=mpeg2_vaapi \
+ --enable-hwaccel=mpeg4_vaapi \
+ --enable-hwaccel=vc1_vaapi \
+ --enable-hwaccel=vp8_vaapi \
+ --enable-hwaccel=vp9_vaapi \
+ --enable-hwaccel=wmv3_vaapi"
+ fi
+
+# Encoders
+ PKG_FFMPEG_ENCODERS="\
+ `#Video encoders` \
+ --enable-libvpx \
+ --enable-encoder=libvpx_vp8 \
+ --enable-encoder=libvpx_vp9 \
+ --enable-libx264 \
+ --enable-encoder=x264 \
+ --enable-libx265 \
+ --enable-encoder=x265 \
+ --enable-libaom \
+ --enable-encoder=libaom_av1 \
+ \
+ `#Audio encoders` \
+ --enable-encoder=aac \
+ --enable-encoder=ac3 \
+ --enable-encoder=eac3 \
+ --enable-encoder=flac \
+ --enable-libmp3lame \
+ --enable-encoder=libmp3lame \
+ --enable-libopus \
+ --enable-encoder=libopus \
+ --enable-libvorbis \
+ --enable-encoder=libvorbis"
+
+# X11 grab for screen recording
+ if [ "$DISPLAYSERVER" = "x11" ]; then
+ PKG_FFMPEG_LIBS="$PKG_FFMPEG_LIBS -lX11"
+ PKG_FFMPEG_X11_GRAB="\
+ --enable-libxcb \
+ --enable-libxcb-shm \
+ --enable-libxcb-xfixes \
+ --enable-libxcb-shape"
+ fi
+}
+
+configure_target() {
+ ./configure \
+ \
+ `#Programs to build` \
+ --enable-ffmpeg \
+ --disable-ffplay \
+ --enable-ffprobe \
+ \
+ `#Static and Shared` \
+ --enable-static \
+ --disable-shared \
+ \
+ `#Licensing options` \
+ --enable-gpl \
+ --disable-nonfree \
+ \
+ `#Documentation options` \
+ --disable-doc \
+ \
+ `#Hardware accelerated decoding encoding` \
+ $PKG_FFMPEG_HW_ENCODERS_RPi \
+ $PKG_FFMPEG_HW_ENCODERS_GENERIC \
+ \
+ `#General options` \
+ --enable-avresample \
+ --disable-lzma \
+ --disable-alsa \
+ $PKG_FFMPEG_X11_GRAB \
+ \
+ `#Toolchain options` \
+ --arch="$TARGET_ARCH" \
+ --cpu="$TARGET_CPU" \
+ --cross-prefix="$TARGET_PREFIX" \
+ --enable-cross-compile \
+ --sysroot="$SYSROOT_PREFIX" \
+ --sysinclude="$SYSROOT_PREFIX/usr/include" \
+ --target-os="linux" \
+ --nm="$NM" \
+ --ar="$AR" \
+ --as="$CC" \
+ --cc="$CC" \
+ --ld="$CC" \
+ --pkg-config="$TOOLCHAIN/bin/pkg-config" \
+ --host-cc="$HOST_CC" \
+ --host-cflags="$HOST_CFLAGS" \
+ --host-ldflags="$HOST_LDFLAGS" \
+ --host-extralibs="-lm" \
+ --extra-cflags="$CFLAGS" \
+ --extra-ldflags="$LDFLAGS" \
+ --extra-libs="$PKG_FFMPEG_LIBS" \
+ --enable-pic \
+ --enable-gnutls \
+ --disable-openssl \
+ \
+ `#Advanced options` \
+ --disable-hardcoded-tables \
+
+}
+
+makeinstall_target() {
+ make install DESTDIR="$INSTALL/../.INSTALL_PKG"
+}
diff --git a/packages/addons/addon-depends/game-tools/bchunk/package.mk b/packages/addons/addon-depends/game-tools/bchunk/package.mk
new file mode 100644
index 0000000000..44c98d9075
--- /dev/null
+++ b/packages/addons/addon-depends/game-tools/bchunk/package.mk
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="bchunk"
+PKG_VERSION="1.2.0"
+PKG_SHA256="afdc9d5e38bdd16f0b8b9d9d382b0faee0b1e0494446d686a08b256446f78b5d"
+PKG_LICENSE="GPL"
+PKG_SITE="http://he.fi/bchunk/"
+PKG_URL="http://he.fi/bchunk/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Tool to convert a CD image in a .bin/.cue format to a set of .iso and .cdr tracks."
+
+makeinstall_target() {
+ :
+}
+
+make_target() {
+ make $PKG_MAKE_OPTS_TARGET CC=$CC LD=$CC
+}
diff --git a/packages/addons/addon-depends/game-tools/ecm-tools/package.mk b/packages/addons/addon-depends/game-tools/ecm-tools/package.mk
new file mode 100644
index 0000000000..b8baf4b1ee
--- /dev/null
+++ b/packages/addons/addon-depends/game-tools/ecm-tools/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="ecm-tools"
+PKG_VERSION="55365b0"
+PKG_SHA256="39c2d0e36b1cba33fa9fee1c0a2a63f851b561fceb59dc99550a1e8e580d3b5a"
+PKG_LICENSE="GPLv3"
+PKG_SITE="https://github.com/alucryd/ecm-tools"
+PKG_URL="https://github.com/alucryd/ecm-tools/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Error Code Modeler.s"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/game-tools/iat/package.mk b/packages/addons/addon-depends/game-tools/iat/package.mk
new file mode 100644
index 0000000000..30ab5b2a7d
--- /dev/null
+++ b/packages/addons/addon-depends/game-tools/iat/package.mk
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="iat"
+PKG_VERSION="0.1.7"
+PKG_SHA256="fb72c42f4be18107ec1bff8448bd6fac2a3926a574d4950a4d5120f0012d62ca"
+PKG_LICENSE="GPL"
+PKG_SITE="https://sourceforge.net/projects/iat.berlios/"
+PKG_URL="https://sourceforge.net/projects/iat.berlios/files/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Iso9660 Analyzer Tool to detect many structures of image file."
+
+PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/game-tools/linuxconsoletools/package.mk b/packages/addons/addon-depends/game-tools/linuxconsoletools/package.mk
new file mode 100644
index 0000000000..39e192b8d7
--- /dev/null
+++ b/packages/addons/addon-depends/game-tools/linuxconsoletools/package.mk
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="linuxconsoletools"
+PKG_VERSION="1.5.1"
+PKG_SHA256="0bd07aacea251d63d3d8a458728c7f965f41ae45891d906cefedc3fde0753b1e"
+PKG_LICENSE="GPL"
+PKG_SITE="http://sourceforge.net/projects/linuxconsole/"
+PKG_URL="http://prdownloads.sourceforge.net/linuxconsole/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Set of utilities for joysticks and serial devices."
+
+PKG_MAKE_OPTS_TARGET="SYSTEMD_SUPPORT=0"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/game-tools/linuxconsoletools/patches/linuxconsoletools-0001-disable-building-ffmvforce.patch b/packages/addons/addon-depends/game-tools/linuxconsoletools/patches/linuxconsoletools-0001-disable-building-ffmvforce.patch
new file mode 100644
index 0000000000..bfc9ae0b89
--- /dev/null
+++ b/packages/addons/addon-depends/game-tools/linuxconsoletools/patches/linuxconsoletools-0001-disable-building-ffmvforce.patch
@@ -0,0 +1,12 @@
+diff -Naur a/utils/Makefile b/utils/Makefile
+--- a/utils/Makefile 2016-04-19 13:20:50.000000000 -0700
++++ b/utils/Makefile 2016-10-20 00:31:34.238941511 -0700
+@@ -27,7 +27,7 @@
+
+ CFLAGS ?= -g -O2 -Wall
+
+-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
++PROGRAMS = inputattach jstest jscal fftest ffset \
+ ffcfstress jscal-restore jscal-store evdev-joystick
+
+ PREFIX ?= /usr/local
diff --git a/packages/addons/addon-depends/gdk-pixbuf/config/gdk-pixbuf.loaders b/packages/addons/addon-depends/gdk-pixbuf/config/gdk-pixbuf.loaders
deleted file mode 100644
index 87a9bb58a6..0000000000
--- a/packages/addons/addon-depends/gdk-pixbuf/config/gdk-pixbuf.loaders
+++ /dev/null
@@ -1,132 +0,0 @@
-# GdkPixbuf Image Loader Modules file
-# Automatically generated file, do not edit
-# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.21.5
-#
-# LoaderDir = /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
-#
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
-"ani" 4 "gdk-pixbuf" "The ANI image format" "LGPL"
-"application/x-navi-animation" ""
-"ani" ""
-"RIFF ACON" " xxxx " 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
-"bmp" 5 "gdk-pixbuf" "The BMP image format" "LGPL"
-"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
-"bmp" ""
-"BM" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
-"gif" 4 "gdk-pixbuf" "The GIF image format" "LGPL"
-"image/gif" ""
-"gif" ""
-"GIF8" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
-"icns" 4 "gdk-pixbuf" "The ICNS image format" "GPL"
-"image/x-icns" ""
-"icns" ""
-"icns" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
-"ico" 5 "gdk-pixbuf" "The ICO image format" "LGPL"
-"image/x-icon" "image/x-ico" "image/x-win-bitmap" ""
-"ico" "cur" ""
-" \001 " "zz znz" 100
-" \002 " "zz znz" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so"
-"jpeg2000" 4 "gdk-pixbuf" "The JPEG 2000 image format" "LGPL"
-"image/jp2" "image/jpeg2000" "image/jpx" ""
-"jp2" "jpc" "jpx" "j2k" "jpf" ""
-" jP" "!!!! " 100
-"\377O\377Q" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
-"jpeg" 5 "gdk-pixbuf" "The JPEG image format" "LGPL"
-"image/jpeg" ""
-"jpeg" "jpe" "jpg" ""
-"\377\330" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so"
-"pcx" 4 "gdk-pixbuf" "The PCX image format" "LGPL"
-"image/x-pcx" ""
-"pcx" ""
-"\n \001" "" 100
-"\n\002\001" "" 100
-"\n\003\001" "" 100
-"\n\004\001" "" 100
-"\n\005\001" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
-"png" 5 "gdk-pixbuf" "The PNG image format" "LGPL"
-"image/png" ""
-"png" ""
-"\211PNG\r\n\032\n" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
-"pnm" 4 "gdk-pixbuf" "The PNM/PBM/PGM/PPM image format family" "LGPL"
-"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
-"pnm" "pbm" "pgm" "ppm" ""
-"P1" "" 100
-"P2" "" 100
-"P3" "" 100
-"P4" "" 100
-"P5" "" 100
-"P6" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
-"qtif" 4 "gdk-pixbuf" "The QTIF image format" "LGPL"
-"image/x-quicktime" "image/qtif" ""
-"qtif" "qif" ""
-"abcdidsc" "xxxx " 100
-"abcdidat" "xxxx " 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so"
-"ras" 4 "gdk-pixbuf" "The Sun raster image format" "LGPL"
-"image/x-cmu-raster" "image/x-sun-raster" ""
-"ras" ""
-"Y\246j\225" "" 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
-"tga" 4 "gdk-pixbuf" "The Targa image format" "LGPL"
-"image/x-tga" ""
-"tga" "targa" ""
-" \001\001" "x " 100
-" \001\t" "x " 100
-" \002" "xz " 99
-" \003" "xz " 100
-" \n" "xz " 100
-" \013" "xz " 100
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
-"tiff" 1 "gdk-pixbuf" "The TIFF image format" "LGPL"
-"image/tiff" ""
-"tiff" "tif" ""
-"MM *" " z " 100
-"II* " " z" 100
-"II* \020 CR\002 " " z zzz z" 0
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so"
-"wbmp" 4 "gdk-pixbuf" "The WBMP image format" "LGPL"
-"image/vnd.wap.wbmp" ""
-"wbmp" ""
-" " "zz" 1
-" `" "z " 1
-" @" "z " 1
-" " "z " 1
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
-"xbm" 4 "gdk-pixbuf" "The XBM image format" "LGPL"
-"image/x-xbitmap" ""
-"xbm" ""
-"#define " "" 100
-"/*" "" 50
-
-"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
-"xpm" 4 "gdk-pixbuf" "The XPM image format" "LGPL"
-"image/x-xpixmap" ""
-"xpm" ""
-"/* XPM */" "" 100
-
-
diff --git a/packages/addons/addon-depends/gdk-pixbuf/package.mk b/packages/addons/addon-depends/gdk-pixbuf/package.mk
deleted file mode 100644
index 38aa39915d..0000000000
--- a/packages/addons/addon-depends/gdk-pixbuf/package.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="gdk-pixbuf"
-PKG_VERSION="2.34.0"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
-PKG_SITE="http://www.gtk.org/"
-PKG_URL="http://ftp.acc.umu.se/pub/gnome/sources/gdk-pixbuf/2.34/$PKG_NAME-$PKG_VERSION.tar.xz"
-PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper tiff"
-PKG_SECTION="x11/toolkits"
-PKG_SHORTDESC="gdk-pixbuf: a GNOME library for image loading and manipulation."
-PKG_LONGDESC="gdk-pixbuf (GdkPixbuf) is a GNOME library for image loading and manipulation. The GdkPixbuf documentation contains both the programmer's guide and the API reference."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="gio_can_sniff=yes \
- --disable-gtk-doc \
- --disable-gtk-doc-html \
- --disable-gtk-doc-pdf \
- --disable-man \
- --with-libpng \
- --with-libjpeg \
- --with-libtiff \
- --with-libjasper"
diff --git a/packages/addons/addon-depends/gdk-pixbuf/patches/gdk-pixbuf-01_meh.patch b/packages/addons/addon-depends/gdk-pixbuf/patches/gdk-pixbuf-01_meh.patch
deleted file mode 100644
index d43ca77418..0000000000
--- a/packages/addons/addon-depends/gdk-pixbuf/patches/gdk-pixbuf-01_meh.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
-index 8319b49..8f27c5c 100644
---- a/gdk-pixbuf/Makefile.am
-+++ b/gdk-pixbuf/Makefile.am
-@@ -617,51 +617,21 @@ MAINTAINERCLEANFILES = \
- #
- # gdk-pixbuf-enum-types.h
- #
--gdk-pixbuf-enum-types.h: s-enum-types-h
-+gdk-pixbuf-enum-types.h:
- @true
-
--s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) gdk-pixbuf-enum-types.h.template
-- $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template gdk-pixbuf-enum-types.h.template \
-- $(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \
-- && (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
-- && rm -f tmp-gdk-pixbuf-enum-types.h \
-- && echo timestamp > $(@F)
--
- CLEANFILES += tmp-gdk-pixbuf-enum-types.h
- MAINTAINERCLEANFILES += s-enum-types-h
-
- #
--# gdk-pixbuf-enum-types.c
--#
--gdk-pixbuf-enum-types.c: @REBUILD@ $(gdk_pixbuf_headers) gdk-pixbuf-enum-types.c.template
-- $(AM_V_GEN)(cd $(srcdir) && $(GLIB_MKENUMS) --template gdk-pixbuf-enum-types.c.template \
-- $(gdk_pixbuf_headers)) > gdk-pixbuf-enum-types.c
--
--#
- # gdk-pixbuf-marshal.h
- #
--gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
-+gdk-pixbuf-marshal.h:
- @true
-
--stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
-- $(AM_V_GEN)echo "#if !defined(GDK_PIXBUF_DISABLE_DEPRECATED) || defined(GDK_PIXBUF_COMPILATION)" > xgen-gmh \
-- && $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
-- && echo "#endif /* !GDK_PIXBUF_DISABLE_DEPRECATED || GDK_PIXBUF_COMPILATION */" >> xgen-gmh \
-- && (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
-- && rm -f xgen-gmh xgen-gmh~ \
-- && echo timestamp > $(@F)
--
- CLEANFILES += xgen-gmh
- MAINTAINERCLEANFILES += stamp-gdk-pixbuf-marshal.h
-
--#
--# gdk-pixbuf-marshal.c
--#
--$(srcdir)/gdk-pixbuf-marshal.c: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
-- $(AM_V_GEN)(echo -e "#include \n" | $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --body ) >> xgen-gmc \
-- && cp xgen-gmc gdk-pixbuf-marshal.c \
-- && rm -f xgen-gmc xgen-gmc~
--
- CLEANFILES += xgen-gmc
-
- # if srcdir!=builddir, clean out maintainer-clean files from builddir
diff --git a/packages/addons/addon-depends/go/package.mk b/packages/addons/addon-depends/go/package.mk
index 4a82330440..50809fa78e 100644
--- a/packages/addons/addon-depends/go/package.mk
+++ b/packages/addons/addon-depends/go/package.mk
@@ -1,59 +1,46 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="go"
-PKG_VERSION="1.6.3"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.11.2"
+PKG_SHA256="7854866866c57394217ae5facc41944dff2a7386a064b2bcc4149f7c68e3c79a"
PKG_LICENSE="BSD"
PKG_SITE="https://golang.org"
PKG_URL="https://github.com/golang/go/archive/${PKG_NAME}${PKG_VERSION}.tar.gz"
-PKG_SOURCE_DIR="${PKG_NAME}-${PKG_NAME}${PKG_VERSION}"
PKG_DEPENDS_HOST="toolchain"
-PKG_SECTION="system"
-PKG_SHORTDESC="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software."
-PKG_LONGDESC="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="An programming language that makes it easy to build simple, reliable, and efficient software."
+PKG_TOOLCHAIN="manual"
####################################################################
# On Fedora `dnf install golang` will install go to /usr/lib/golang
#
-# On Ubuntu you need to install golang manually, similar to:
-# $ wget https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
-# $ tar xf go1.6.linux-amd64.tar.gz -C /opt/
-# $ ln -s /opt/go /usr/lib/golang
+# On Ubuntu you need to install golang:
+# $ sudo apt install golang-go
####################################################################
configure_host() {
export GOOS=linux
- export GOROOT_FINAL=$ROOT/$TOOLCHAIN/lib/golang
- export GOROOT_BOOTSTRAP=/usr/lib/golang
+ export GOROOT_FINAL=$TOOLCHAIN/lib/golang
+ if [ -x /usr/lib/go/bin/go ]; then
+ export GOROOT_BOOTSTRAP=/usr/lib/go
+ else
+ export GOROOT_BOOTSTRAP=/usr/lib/golang
+ fi
export GOARCH=amd64
}
make_host() {
- cd $ROOT/$PKG_BUILD/src
+ cd $PKG_BUILD/src
bash make.bash --no-banner
}
+pre_makeinstall_host() {
+ # need to cleanup old golang version when updating to a new version
+ rm -rf $TOOLCHAIN/lib/golang
+}
+
makeinstall_host() {
- mkdir -p $ROOT/$TOOLCHAIN/lib/golang
- cp -av $ROOT/$PKG_BUILD/* $ROOT/$TOOLCHAIN/lib/golang/
+ mkdir -p $TOOLCHAIN/lib/golang
+ cp -av $PKG_BUILD/* $TOOLCHAIN/lib/golang/
}
diff --git a/packages/addons/addon-depends/go/patches/go-0001-add-ca-cert-location.patch b/packages/addons/addon-depends/go/patches/go-0001-add-ca-cert-location.patch
index 39ca1a380f..c64b430f03 100644
--- a/packages/addons/addon-depends/go/patches/go-0001-add-ca-cert-location.patch
+++ b/packages/addons/addon-depends/go/patches/go-0001-add-ca-cert-location.patch
@@ -1,11 +1,11 @@
-diff -Naur a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
---- a/src/crypto/x509/root_unix.go 2016-04-19 16:27:35.000000000 -0700
-+++ b/src/crypto/x509/root_unix.go 2016-04-22 01:21:02.884977461 -0700
-@@ -13,6 +13,7 @@
- var certDirectories = []string{
- "/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
- "/system/etc/security/cacerts", // Android
+diff -Naur go-1.9.2.orig/src/crypto/x509/root_unix.go go-1.9.2/src/crypto/x509/root_unix.go
+--- go-1.9.2.orig/src/crypto/x509/root_unix.go 2017-11-03 14:58:53.655965257 +0100
++++ go-1.9.2/src/crypto/x509/root_unix.go 2017-11-03 14:59:16.923786983 +0100
+@@ -19,6 +19,7 @@
+ "/usr/local/share/certs", // FreeBSD
+ "/etc/pki/tls/certs", // Fedora/RHEL
+ "/etc/openssl/certs", // NetBSD
+ "/etc/ssl", // LibreELEC
}
- func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
+ const (
diff --git a/packages/addons/addon-depends/gtk+/package.mk b/packages/addons/addon-depends/gtk+/package.mk
deleted file mode 100644
index 31d7589a08..0000000000
--- a/packages/addons/addon-depends/gtk+/package.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="gtk+"
-PKG_VERSION="2.24.30"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
-PKG_SITE="http://www.gtk.org/"
-PKG_URL="http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/$PKG_NAME-$PKG_VERSION.tar.xz"
-PKG_DEPENDS_TARGET="toolchain atk libX11 libXrandr libXi glib pango cairo gdk-pixbuf"
-PKG_SECTION="x11/toolkits"
-PKG_SHORTDESC="gtk+: The Gimp ToolKit (GTK)"
-PKG_LONGDESC="This is GTK+. GTK+, which stands for the Gimp ToolKit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach."
-PKG_IS_ADDON="no"
-
-PKG_AUTORECONF="yes"
-
-PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_GLIB_GENMARSHAL=$ROOT/$TOOLCHAIN/bin/glib-genmarshal \
- --disable-glibtest \
- --enable-modules \
- --enable-explicit-deps=no \
- --disable-debug \
- --enable-shm \
- --disable-cups \
- --disable-papi \
- --enable-xkb \
- --disable-xinerama \
- --disable-gtk-doc-html \
- --with-xinput"
-
-make_target() {
- make SRC_SUBDIRS="gdk gtk modules"
- $MAKEINSTALL SRC_SUBDIRS="gdk gtk modules"
-}
-
-makeinstall_target() {
- make install DESTDIR=$INSTALL SRC_SUBDIRS="gdk gtk modules"
-}
diff --git a/packages/addons/addon-depends/gtk+/patches/gtk+-01_no-gtk-doc.patch b/packages/addons/addon-depends/gtk+/patches/gtk+-01_no-gtk-doc.patch
deleted file mode 100644
index b264b45dbc..0000000000
--- a/packages/addons/addon-depends/gtk+/patches/gtk+-01_no-gtk-doc.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From fca2ac06da064b133101f215efd5fbd738fb3ef9 Mon Sep 17 00:00:00 2001
-From: Stefan Saraev
-Date: Thu, 27 Mar 2014 14:26:27 +0200
-Subject: [PATCH] no gtk-doc
-
----
- Makefile.am | 3 +--
- configure.ac | 12 ------------
- 2 files changed, 1 insertions(+), 14 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 8e3a2f1..35e94d2 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,7 @@
- include $(top_srcdir)/Makefile.decl
-
- SRC_SUBDIRS = gdk gtk modules demos tests perf
--SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
-+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
-
- # require automake 1.4
- AUTOMAKE_OPTIONS = 1.7
-@@ -136,7 +136,6 @@ MAINTAINERCLEANFILES = \
- $(srcdir)/mkinstalldirs \
- $(srcdir)/omf.make \
- $(srcdir)/xmldocs.make \
-- $(srcdir)/gtk-doc.make \
- $(srcdir)/ChangeLog \
- `find "$(srcdir)" -type f -name Makefile.in -print`
-
-diff --git a/configure.ac b/configure.ac
-index 245a87f..f6ede8a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1594,8 +1594,6 @@ GOBJECT_INTROSPECTION_CHECK([0.9.3])
- # Checks for gtk-doc and docbook-tools
- ##################################################
-
--GTK_DOC_CHECK([1.11])
--
- AC_CHECK_PROG(DB2HTML, db2html, true, false)
- AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
-
-@@ -1727,16 +1725,6 @@ demos/Makefile
- demos/gtk-demo/Makefile
- demos/gtk-demo/geninclude.pl
- tests/Makefile
--docs/Makefile
--docs/reference/Makefile
--docs/reference/gdk/Makefile
--docs/reference/gdk/version.xml
--docs/reference/gtk/Makefile
--docs/reference/gtk/version.xml
--docs/reference/libgail-util/Makefile
--docs/faq/Makefile
--docs/tools/Makefile
--docs/tutorial/Makefile
- build/Makefile
- build/win32/Makefile
- build/win32/vs9/Makefile
---
-1.7.2.5
-
diff --git a/packages/addons/addon-depends/gtk+/patches/gtk+-02_meh-glib.patch b/packages/addons/addon-depends/gtk+/patches/gtk+-02_meh-glib.patch
deleted file mode 100644
index 7ea8a7f0c4..0000000000
--- a/packages/addons/addon-depends/gtk+/patches/gtk+-02_meh-glib.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 3cb23c7b05be36e130bd1930dad3382ce8c08c51 Mon Sep 17 00:00:00 2001
-From: Stefan Saraev
-Date: Sun, 26 Oct 2014 00:26:09 +0300
-Subject: [PATCH] meh glib
-
----
- gdk/Makefile.am | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gdk/Makefile.am b/gdk/Makefile.am
-index c880f6e..7661530 100644
---- a/gdk/Makefile.am
-+++ b/gdk/Makefile.am
-@@ -307,7 +307,7 @@ lib_LTLIBRARIES = $(gdktargetlib)
-
- EXTRA_LTLIBRARIES = libgdk-x11-2.0.la libgdk-win32-2.0.la libgdk-quartz-2.0.la libgdk-directfb-2.0.la
-
--MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
-+MAINTAINERCLEANFILES = $(gdk_built_sources)
- EXTRA_DIST += $(gdk_built_sources)
- EXTRA_HEADERS =
-
-@@ -333,7 +333,7 @@ BUILT_SOURCES = \
- $(gdk_built_sources) \
- gdkconfig.h
-
--gdkenumtypes.h: stamp-gdkenumtypes.h
-+gdkenumtypes.h:
- @true
- stamp-gdkenumtypes.h: @REBUILD@ $(gdk_public_h_sources) gdkenumtypes.h.template
- ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.h.template \
---
-1.7.2.5
-
diff --git a/packages/addons/addon-depends/harfbuzz/package.mk b/packages/addons/addon-depends/harfbuzz/package.mk
deleted file mode 100644
index 1e0d007819..0000000000
--- a/packages/addons/addon-depends/harfbuzz/package.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="harfbuzz"
-PKG_VERSION="1.3.3"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
-PKG_URL="http://www.freedesktop.org/software/harfbuzz/release/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain glib freetype cairo icu"
-PKG_SECTION="x11/toolkits"
-PKG_SHORTDESC="harfbuzz: an OpenType text shaping engine."
-PKG_LONGDESC="HarfBuzz is an OpenType text shaping engine."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_MAINTAINER="none"
-
-PKG_CONFIGURE_OPTS_TARGET="--with-icu=yes"
-
-pre_configure_target() {
- export LIBS="-ldl"
-}
diff --git a/packages/addons/addon-depends/icu/package.mk b/packages/addons/addon-depends/icu/package.mk
deleted file mode 100644
index d56d7292f6..0000000000
--- a/packages/addons/addon-depends/icu/package.mk
+++ /dev/null
@@ -1,45 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="icu"
-PKG_VERSION="57.1"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="Custom"
-PKG_SITE="http://www.icu-project.org"
-PKG_URL="http://download.icu-project.org/files/${PKG_NAME}4c/${PKG_VERSION}/${PKG_NAME}4c-${PKG_VERSION//./_}-src.tgz"
-PKG_SOURCE_DIR="icu"
-PKG_DEPENDS_TARGET="toolchain icu:host"
-PKG_SECTION="textproc"
-PKG_SHORTDESC="International Components for Unicode library"
-PKG_LONGDESC="International Components for Unicode library"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static \
- --disable-shared \
- --with-cross-build=$ROOT/$PKG_BUILD/.$HOST_NAME"
-
-PKG_CONFIGURE_SCRIPT="source/configure"
-
-post_makeinstall_target() {
- rm -rf $INSTALL
-}
diff --git a/packages/addons/addon-depends/inadyn/libconfuse/package.mk b/packages/addons/addon-depends/inadyn/libconfuse/package.mk
index cdc78ae883..226d6da2d9 100644
--- a/packages/addons/addon-depends/inadyn/libconfuse/package.mk
+++ b/packages/addons/addon-depends/inadyn/libconfuse/package.mk
@@ -1,28 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libconfuse"
-PKG_VERSION="3.0"
+PKG_VERSION="3.2.2"
+PKG_SHA256="2cf7e032980aff8f488efba61510dc3fb95e9a4b9183f985dea457a5651b0e2c"
PKG_LICENSE="https://github.com/martinh/libconfuse/blob/master/LICENSE"
PKG_SITE="https://github.com/martinh/libconfuse"
PKG_URL="https://github.com/martinh/libconfuse/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Small configuration file parser library for C"
-PKG_AUTORECONF="yes"
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/inadyn/libite/package.mk b/packages/addons/addon-depends/inadyn/libite/package.mk
deleted file mode 100644
index d9da5bee18..0000000000
--- a/packages/addons/addon-depends/inadyn/libite/package.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016-2017 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="libite"
-PKG_VERSION="1.8.3"
-PKG_LICENSE="MIT"
-PKG_SITE="https://github.com/troglobit/libite"
-PKG_URL="https://github.com/troglobit/libite/archive/v$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_LONGDESC="That missing frog DNA you've been looking for"
-PKG_AUTORECONF="yes"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/jasper/package.mk b/packages/addons/addon-depends/jasper/package.mk
index 6114f6b3b0..7d35fb3e7e 100644
--- a/packages/addons/addon-depends/jasper/package.mk
+++ b/packages/addons/addon-depends/jasper/package.mk
@@ -1,42 +1,18 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="jasper"
PKG_VERSION="1.900.1"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="6e9a959bf4f8cb02f77f42d1b9880b8e85d021ac51f43d8787b5438fd2b7a1c5"
PKG_LICENSE="OpenSource"
PKG_SITE="http://www.ece.uvic.ca/~mdadams/jasper/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo"
-PKG_SECTION="graphics"
-PKG_SHORTDESC="jasper: JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1) implementation"
-PKG_LONGDESC="This distribution contains the public release of the an open-source implementation of the ISO/IEC 15444-1 also known as JPEG-2000 standard for image compression."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A implementation of the ISO/IEC 15444-1 also known as JPEG-2000 standard for image compression."
+PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
-pre_configure_target() {
- export CFLAGS="$CFLAGS -fPIC -DPIC"
-}
-
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}
diff --git a/packages/addons/addon-depends/lcdd-depends/libugpio/package.mk b/packages/addons/addon-depends/lcdd-depends/libugpio/package.mk
index a1292e6ce9..125e178604 100644
--- a/packages/addons/addon-depends/lcdd-depends/libugpio/package.mk
+++ b/packages/addons/addon-depends/lcdd-depends/libugpio/package.mk
@@ -1,29 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2017 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libugpio"
PKG_VERSION="0.0.6"
-PKG_ARCH="any"
+PKG_SHA256="5093c34cdb891560b0807cb371521cf94fa5c090ee7a84779663b16c831b9e9e"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="https://github.com/mhei/libugpio"
PKG_URL="https://github.com/mhei/$PKG_NAME/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain linux"
-PKG_LONGDESC="A free software library to ease the use of linux kernel's sysfs gpio interface from C programs and/or other libraries"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A software library to ease the use of linux kernel's sysfs gpio interface from C programs and/or other libraries."
+PKG_TOOLCHAIN="autotools"
+PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/lcdd-depends/serdisplib/package.mk b/packages/addons/addon-depends/lcdd-depends/serdisplib/package.mk
index 1233858125..fec99e9f33 100644
--- a/packages/addons/addon-depends/lcdd-depends/serdisplib/package.mk
+++ b/packages/addons/addon-depends/lcdd-depends/serdisplib/package.mk
@@ -1,34 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2017 Team LibreELEC
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="serdisplib"
PKG_VERSION="1.97.9"
-PKG_ARCH="any"
+PKG_SHA256="fe82ebe72731e91509083569dfe41a09e21632cc1211cdc4f76274f83ed218fa"
PKG_LICENSE="GPL"
PKG_SITE="http://serdisplib.sourceforge.net/"
PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libusb-compat"
-PKG_SHORTDESC="serdisplib: a lcd control library"
-PKG_LONGDESC="Library to drive serial/parallel/usb displays with built-in controllers"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Library to drive serial/parallel/usb displays with built-in controllers."
PKG_CONFIGURE_OPTS_TARGET="--prefix=$SYSROOT_PREFIX/usr \
--bindir=$SYSROOT_PREFIX/usr/bin \
@@ -38,7 +19,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=$SYSROOT_PREFIX/usr \
pre_configure_target() {
# serdisplib fails to build in subdirs
- cd $ROOT/$PKG_BUILD
+ cd $PKG_BUILD
rmdir .$TARGET_NAME
# use libusb-config from sysroot
diff --git a/packages/addons/addon-depends/libXScrnSaver/package.mk b/packages/addons/addon-depends/libXScrnSaver/package.mk
deleted file mode 100644
index 3bf715ae45..0000000000
--- a/packages/addons/addon-depends/libXScrnSaver/package.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
-
-PKG_NAME="libXScrnSaver"
-PKG_VERSION="1.2.2"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://xorg.freedesktop.org/"
-PKG_URL="http://xorg.freedesktop.org/releases/individual/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain scrnsaverproto"
-PKG_SECTION="x11/lib"
-PKG_SHORTDESC=""
-PKG_LONGDESC=""
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --enable-malloc0returnsnull"
diff --git a/packages/addons/addon-depends/libXcursor/package.mk b/packages/addons/addon-depends/libXcursor/package.mk
deleted file mode 100644
index 7f49219a8f..0000000000
--- a/packages/addons/addon-depends/libXcursor/package.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="libXcursor"
-PKG_VERSION="1.1.14"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
-PKG_SITE="http://www.X.org"
-PKG_URL="http://xorg.freedesktop.org/archive/individual/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain libX11 libXfixes libXrender"
-PKG_SECTION="x11/lib"
-PKG_SHORTDESC="libXcursor: X Cursor Library"
-PKG_LONGDESC="X11 Cursor management library"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
diff --git a/packages/addons/addon-depends/libXft/package.mk b/packages/addons/addon-depends/libXft/package.mk
deleted file mode 100644
index 1dd47d5fff..0000000000
--- a/packages/addons/addon-depends/libXft/package.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
-
-PKG_NAME="libXft"
-PKG_VERSION="2.3.2"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
-PKG_SITE="http://www.X.org"
-PKG_URL="http://xorg.freedesktop.org/archive/individual/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain util-macros xproto libXrender fontconfig freetype"
-PKG_SECTION="x11/lib"
-PKG_SHORTDESC="libxft: X FreeType library"
-PKG_LONGDESC="X FreeType library"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/libconfig/package.mk b/packages/addons/addon-depends/libconfig/package.mk
index 380f1636cf..c70b918c99 100644
--- a/packages/addons/addon-depends/libconfig/package.mk
+++ b/packages/addons/addon-depends/libconfig/package.mk
@@ -1,35 +1,15 @@
-#################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+## SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libconfig"
PKG_VERSION="1.5"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="cae5c02361d8a9b2bb26946c64f089d2e5e599972f386203fbc48975c0d885c8"
PKG_LICENSE="LGPL"
PKG_SITE="http://hyperrealm.com/libconfig/libconfig.html"
PKG_URL="https://github.com/hyperrealm/libconfig/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="lib"
-PKG_SHORTDESC="C/C++ Configuration File Library"
-PKG_LONGDESC="C/C++ Configuration File Library"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A C/C++ configuration file library."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
diff --git a/packages/addons/addon-depends/libdvbcsa/package.mk b/packages/addons/addon-depends/libdvbcsa/package.mk
index ea6919f075..6759face87 100644
--- a/packages/addons/addon-depends/libdvbcsa/package.mk
+++ b/packages/addons/addon-depends/libdvbcsa/package.mk
@@ -1,59 +1,29 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libdvbcsa"
-PKG_VERSION="4ce8be8"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="aae3d0c"
+PKG_SHA256="2c0b69a5ca70c5032f9375a57bcec449ecdf93b5459f60f087f5fa06c605c7c1"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.videolan.org/developers/libdvbcsa.html"
PKG_SITE="https://github.com/glenvt18/libdvbcsa/"
PKG_URL="https://github.com/glenvt18/libdvbcsa/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="lib"
-PKG_SHORTDESC="libdvbcsa is a free implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities"
-PKG_LONGDESC="libdvbcsa is a free implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A implementation of DVB/CSA, with encryption and decryption capabilities."
+PKG_TOOLCHAIN="autotools"
+# libdvbcsa is a bit faster without LTO, and tests will fail with gcc-5.x
+PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static --with-sysroot=$SYSROOT_PREFIX"
-if echo "$TARGET_FPU" | grep -q '^neon'; then
+if target_has_feature neon; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-neon"
-elif [ "$TARGET_ARCH" = aarch64 ]; then
- # change this to --enable-neon when AArch64 NEON performance is improved
- # check performance with test/benchbitslice
- PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-uint64"
elif [ "$TARGET_ARCH" = x86_64 ]; then
- if echo "$PROJECT_CFLAGS" | grep -q '\-mssse3'; then
+ if target_has_feature ssse3; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-ssse3"
- elif echo "$PROJECT_CFLAGS" | grep -q '\-msse2'; then
+ elif target_has_feature sse2; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-sse2"
else
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-uint64"
fi
fi
-
-pre_configure_target() {
-# libdvbcsa is a bit faster without LTO, and tests will fail with gcc-5.x
- strip_lto
-
- export CFLAGS="$CFLAGS -fPIC"
-}
-
diff --git a/packages/addons/addon-depends/libexif/package.mk b/packages/addons/addon-depends/libexif/package.mk
index 494ec5734d..2f8fb91fee 100644
--- a/packages/addons/addon-depends/libexif/package.mk
+++ b/packages/addons/addon-depends/libexif/package.mk
@@ -1,32 +1,11 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libexif"
PKG_VERSION="0.6.21"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="16cdaeb62eb3e6dfab2435f7d7bccd2f37438d21c5218ec4e58efa9157d4d41a"
PKG_LICENSE="LGPL"
PKG_SITE="http://sourceforge.net/projects/libexif"
PKG_URL="http://downloads.sf.net/sourceforge/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="lib"
-PKG_SHORTDESC="A library to parse an EXIF file and read the data from those tags"
-PKG_LONGDESC="A library to parse an EXIF file and read the data from those tags"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A library to parse an EXIF file and read the data from those tags."
diff --git a/packages/addons/addon-depends/libiconv/package.mk b/packages/addons/addon-depends/libiconv/package.mk
index 87b4202f59..ace0c282ca 100644
--- a/packages/addons/addon-depends/libiconv/package.mk
+++ b/packages/addons/addon-depends/libiconv/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://LibreELEC.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libiconv"
-PKG_VERSION="1.14"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.15"
+PKG_SHA256="ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178"
PKG_LICENSE="GPL"
PKG_SITE="https://savannah.gnu.org/projects/libiconv/"
PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="devel"
-PKG_SHORTDESC="Libiconv converts from one character encoding to another through Unicode conversion."
-PKG_LONGDESC="Libiconv converts from one character encoding to another through Unicode conversion."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A tool that converts from one character encoding to another through Unicode conversion."
+PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--host=$TARGET_NAME \
--build=$HOST_NAME \
diff --git a/packages/addons/addon-depends/libiconv/patches/libiconv-glibc-fix-2.16.patch b/packages/addons/addon-depends/libiconv/patches/libiconv-glibc-fix-2.16.patch
deleted file mode 100644
index e89c25ef96..0000000000
--- a/packages/addons/addon-depends/libiconv/patches/libiconv-glibc-fix-2.16.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-from
-http://www.itkb.ro/kb/linux/patch-libiconv-pentru-glibc-216
-
---- a/srclib/stdio.in.h.orig 2011-08-07 16:42:06.000000000 +0300
-+++ b/srclib/stdio.in.h 2013-01-10 15:53:03.000000000 +0200
-@@ -695,7 +695,9 @@
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
-+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+#endif
- #endif
-
-
diff --git a/packages/addons/addon-depends/libid3tag/package.mk b/packages/addons/addon-depends/libid3tag/package.mk
index 7f9aa813fb..f52ef80b54 100644
--- a/packages/addons/addon-depends/libid3tag/package.mk
+++ b/packages/addons/addon-depends/libid3tag/package.mk
@@ -1,38 +1,19 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libid3tag"
PKG_VERSION="0.15.1b"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.mars.org/home/rob/proj/mpeg/"
-PKG_URL="$SOURCEFORGE_SRC/mad/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_SITE="https://www.underbit.com/products/mad/"
+PKG_URL="ftp://ftp.mars.org/pub/mpeg/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain zlib"
-PKG_SECTION="audio"
-PKG_SHORTDESC="library for id3 tagging"
-PKG_LONGDESC="library for id3 tagging"
-PKG_IS_ADDON="no"
+PKG_LONGDESC="A library for id3 tagging."
-PKG_AUTORECONF="no"
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared"
-PKG_MAINTAINER="Lukas Sabota (LTsmooth42@gmail.com)"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
+post_makeinstall_target(){
+ cp $PKG_BUILD/id3tag.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
+}
diff --git a/packages/addons/addon-depends/libid3tag/sources/id3tag.pc b/packages/addons/addon-depends/libid3tag/sources/id3tag.pc
new file mode 100644
index 0000000000..cb5ba7518d
--- /dev/null
+++ b/packages/addons/addon-depends/libid3tag/sources/id3tag.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=/usr/bin
+libdir=/usr/lib
+includedir=/usr/include
+
+Name: ID3TAG
+Description: libid3tag - ID3 tag manipulation library
+Version: 0.15.1b
+Libs: -L${libdir} -lid3tag -lz
+Cflags:
diff --git a/packages/addons/addon-depends/libimobiledevice/package.mk b/packages/addons/addon-depends/libimobiledevice/package.mk
index 0499d165d5..08e409426e 100644
--- a/packages/addons/addon-depends/libimobiledevice/package.mk
+++ b/packages/addons/addon-depends/libimobiledevice/package.mk
@@ -1,32 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libimobiledevice"
PKG_VERSION="1.2.0"
-PKG_ARCH="any"
+PKG_SHA256="786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libimobiledevice.org"
PKG_URL="http://www.libimobiledevice.org/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain libusbmuxd libressl"
-PKG_SECTION="libs"
-PKG_SHORTDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
-PKG_LONGDESC="libimobiledevice is a cross-platform software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices"
-PKG_AUTORECONF="yes"
+PKG_DEPENDS_TARGET="toolchain libusbmuxd openssl"
+PKG_LONGDESC="A cross-platform software library that talks the protocols to support Apple devices."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
@@ -34,5 +17,5 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-largefile"
post_makeinstall_target() {
- cp $ROOT/$PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
+ cp $PKG_BUILD/common/utils.h $SYSROOT_PREFIX/usr/include/libimobiledevice/
}
diff --git a/packages/addons/addon-depends/libmad/package.mk b/packages/addons/addon-depends/libmad/package.mk
index 9017a869c7..1ef3ae3613 100644
--- a/packages/addons/addon-depends/libmad/package.mk
+++ b/packages/addons/addon-depends/libmad/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libmad"
PKG_VERSION="0.15.1b"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690"
PKG_LICENSE="GPL"
PKG_SITE="http://www.mars.org/home/rob/proj/mpeg/"
PKG_URL="$SOURCEFORGE_SRC/mad/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="audio"
-PKG_SHORTDESC="libmad: MPEG Audio Decoder"
-PKG_LONGDESC="MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented."
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A high-quality MPEG audio decoder."
+PKG_TOOLCHAIN="autotools"
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
diff --git a/packages/addons/addon-depends/libmpdclient/package.mk b/packages/addons/addon-depends/libmpdclient/package.mk
new file mode 100644
index 0000000000..1743c2d75d
--- /dev/null
+++ b/packages/addons/addon-depends/libmpdclient/package.mk
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libmpdclient"
+PKG_VERSION="2.14"
+PKG_SHA256="0a84e2791bfe3077cf22ee1784c805d5bb550803dffe56a39aa3690a38061372"
+PKG_LICENSE="BSD-3c"
+PKG_SITE="https://www.musicpd.org"
+PKG_URL="https://www.musicpd.org/download/libmpdclient/2/libmpdclient-${PKG_VERSION}.tar.xz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="A C library which implements the Music Player Daemon protocol."
diff --git a/packages/addons/addon-depends/libnetwork/package.mk b/packages/addons/addon-depends/libnetwork/package.mk
new file mode 100644
index 0000000000..dc0c1ba8dc
--- /dev/null
+++ b/packages/addons/addon-depends/libnetwork/package.mk
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libnetwork"
+PKG_VERSION="2cfbf9b1f98162a55829a21cc603c76072a75382"
+PKG_SHA256="12986c29a112f989886ceec675f5b11ccd001dcdb1c17a49835970c56aa406d0"
+PKG_LICENSE="APL"
+PKG_SITE="https://github.com/docker/libnetwork"
+PKG_URL="https://github.com/docker/libnetwork/archive/${PKG_VERSION}.tar.gz"
+PKG_DEPENDS_TARGET="toolchain go:host"
+PKG_LONGDESC="A native Go implementation for connecting containers."
+PKG_TOOLCHAIN="manual"
+
+pre_make_target() {
+ case $TARGET_ARCH in
+ x86_64)
+ export GOARCH=amd64
+ ;;
+ arm)
+ export GOARCH=arm
+
+ case $TARGET_CPU in
+ arm1176jzf-s)
+ export GOARM=6
+ ;;
+ *)
+ export GOARM=7
+ ;;
+ esac
+ ;;
+ aarch64)
+ export GOARCH=arm64
+ ;;
+ esac
+
+ export GOOS=linux
+ export CGO_ENABLED=0
+ export CGO_NO_EMULATION=1
+ export CGO_CFLAGS=$CFLAGS
+ export LDFLAGS="-extld $CC"
+ export GOLANG=$TOOLCHAIN/lib/golang/bin/go
+ export GOPATH=$PKG_BUILD/.gopath
+ export GOROOT=$TOOLCHAIN/lib/golang
+ export PATH=$PATH:$GOROOT/bin
+
+ mkdir -p $PKG_BUILD/.gopath
+ if [ -d $PKG_BUILD/vendor ]; then
+ mv $PKG_BUILD/vendor $PKG_BUILD/.gopath/src
+ fi
+
+ ln -fs $PKG_BUILD $PKG_BUILD/.gopath/src/github.com/docker/libnetwork
+}
+
+make_target() {
+ mkdir -p bin
+ $GOLANG build -v -o bin/docker-proxy -a -ldflags "$LDFLAGS" ./cmd/proxy
+}
diff --git a/packages/addons/addon-depends/librespot-depends/pyalsaaudio/package.mk b/packages/addons/addon-depends/librespot-depends/pyalsaaudio/package.mk
new file mode 100644
index 0000000000..fb188b729f
--- /dev/null
+++ b/packages/addons/addon-depends/librespot-depends/pyalsaaudio/package.mk
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="pyalsaaudio"
+PKG_VERSION="0.8.4"
+PKG_SHA256="84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085"
+PKG_LICENSE="PSF"
+PKG_SITE="http://larsimmisch.github.io/pyalsaaudio/"
+PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host alsa-lib"
+PKG_LONGDESC="ALSA bindings"
+PKG_TOOLCHAIN="manual"
+
+make_target() {
+ export LDSHARED="$CC -shared"
+ export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
+ python setup.py build --cross-compile
+}
+
+makeinstall_target() {
+ python setup.py install --root=$INSTALL --prefix=/usr
+ find $INSTALL/usr/lib -name "*.py" -exec rm -rf "{}" ";"
+ rm -rf $INSTALL/usr/lib/python*/site-packages/*.egg-info \
+ $INSTALL/usr/lib/python*/site-packages/*/tests
+}
diff --git a/packages/addons/addon-depends/librespot-depends/rust/package.mk b/packages/addons/addon-depends/librespot-depends/rust/package.mk
new file mode 100644
index 0000000000..e88cf25015
--- /dev/null
+++ b/packages/addons/addon-depends/librespot-depends/rust/package.mk
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="rust"
+PKG_VERSION="1.31.1"
+PKG_LICENSE="MIT"
+PKG_SITE="https://www.rust-lang.org"
+PKG_DEPENDS_TARGET="toolchain rustup.rs"
+PKG_LONGDESC="A systems programming language that prevents segfaults, and guarantees thread safety."
+PKG_TOOLCHAIN="manual"
+
+make_target() {
+ export CARGO_HOME="$TOOLCHAIN/.cargo"
+ export RUSTUP_HOME="$CARGO_HOME"
+ export PATH="$CARGO_HOME/bin:$PATH"
+ rm -rf "$CARGO_HOME"
+ $(get_build_dir rustup.rs)/rustup-init.sh --no-modify-path -y
+ rustup default "$PKG_VERSION"
+ case "$TARGET_ARCH" in
+ aarch64)
+ RUST_TRIPLE="aarch64-unknown-linux-gnu"
+ ;;
+ arm)
+ RUST_TRIPLE="arm-unknown-linux-gnueabihf"
+ ;;
+ x86_64)
+ RUST_TRIPLE="x86_64-unknown-linux-gnu"
+ ;;
+ esac
+ if [ "$TARGET_ARCH" != "x86_64" ]; then
+ rustup target add "$RUST_TRIPLE"
+ fi
+
+ cat <"$CARGO_HOME/config"
+[target.$RUST_TRIPLE]
+linker = "$CC"
+EOF
+
+ cat <<'EOF' >"$CARGO_HOME/env"
+export CARGO_HOME="$TOOLCHAIN/.cargo"
+export CARGO_TARGET_DIR="$PKG_BUILD/.$TARGET_NAME"
+export PATH="$CARGO_HOME/bin:$PATH"
+export RUSTUP_HOME="$CARGO_HOME"
+mkdir -p "$CARGO_TARGET_DIR"
+EOF
+
+ echo "CARGO_BUILD=\"cargo build --release --target $RUST_TRIPLE\"" \
+ >>"$CARGO_HOME/env"
+}
diff --git a/packages/addons/addon-depends/librespot-depends/rustup.rs/package.mk b/packages/addons/addon-depends/librespot-depends/rustup.rs/package.mk
new file mode 100644
index 0000000000..45b99c8014
--- /dev/null
+++ b/packages/addons/addon-depends/librespot-depends/rustup.rs/package.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="rustup.rs"
+PKG_VERSION="1.16.0"
+PKG_SHA256="8c4ffeda2088dbdd5ea2eac8acef5ddd57dfcfe1f06a503e3da790f93161e1a6"
+PKG_LICENSE="MIT"
+PKG_SITE="https://www.rust-lang.org"
+PKG_URL="https://github.com/rust-lang-nursery/rustup.rs/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="The Rust toolchain installer."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/libusbmuxd/package.mk b/packages/addons/addon-depends/libusbmuxd/package.mk
index 375ef92349..1ea7f656a7 100644
--- a/packages/addons/addon-depends/libusbmuxd/package.mk
+++ b/packages/addons/addon-depends/libusbmuxd/package.mk
@@ -1,32 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libusbmuxd"
PKG_VERSION="1.0.10"
-PKG_ARCH="any"
+PKG_SHA256="1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libimobiledevice.org"
PKG_URL="http://www.libimobiledevice.org/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libplist"
-PKG_SECTION="libs"
-PKG_SHORTDESC="USB Multiplex Daemon"
-PKG_LONGDESC="USB Multiplex Daemon"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A USB multiplex daemon."
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \
diff --git a/packages/addons/addon-depends/libva-vdpau-driver/package.mk b/packages/addons/addon-depends/libva-vdpau-driver/package.mk
deleted file mode 100644
index b3e42111a3..0000000000
--- a/packages/addons/addon-depends/libva-vdpau-driver/package.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
-
-PKG_NAME="libva-vdpau-driver"
-PKG_VERSION="0.7.4"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://freedesktop.org/wiki/Software/vaapi"
-PKG_URL="http://freedesktop.org/software/vaapi/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain libva libvdpau mesa"
-PKG_SECTION="graphics"
-PKG_SHORTDESC="VDPAU backend for VA API"
-PKG_LONGDESC="VDPAU backend for VA API"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="yes"
-
-post_makeinstall_target() {
- rm -rf $INSTALL/usr/lib/va/s3g_drv_video.so
-}
diff --git a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0001_drop-formats.patch b/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0001_drop-formats.patch
deleted file mode 100644
index 74caee3483..0000000000
--- a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0001_drop-formats.patch
+++ /dev/null
@@ -1,29 +0,0 @@
->From fda3706eb74ba5ad874853969f3df3e372739c8d Mon Sep 17 00:00:00 2001
-From: "Xiang, Haihao"
-Date: Fri, 21 Jun 2013 12:55:30 +0800
-Subject: [PATCH] VAEncH264VUIBufferType and VAEncH264SEIBufferType are
- dropped from VA API
-
-The driver doesn't use them indeed
-
-Signed-off-by: Xiang, Haihao
----
- src/vdpau_dump.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/vdpau_dump.c b/src/vdpau_dump.c
-index 899888b..610e7cd 100644
---- a/src/vdpau_dump.c
-+++ b/src/vdpau_dump.c
-@@ -59,8 +59,6 @@ const char *string_of_VABufferType(VABufferType type)
- _(VAEncSequenceParameterBufferType);
- _(VAEncPictureParameterBufferType);
- _(VAEncSliceParameterBufferType);
-- _(VAEncH264VUIBufferType);
-- _(VAEncH264SEIBufferType);
- #endif
- #if VA_CHECK_VERSION(0,31,1)
- _(VAQMatrixBufferType);
---
-1.7.9.5
-
diff --git a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0002_glext-missing-definition.patch b/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0002_glext-missing-definition.patch
deleted file mode 100644
index b56d268343..0000000000
--- a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0002_glext-missing-definition.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100
-+++ b/src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100
-@@ -48,6 +48,13 @@
- typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
- #endif
-
-+#if GL_GLEXT_VERSION >= 85
-+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
-+ block and is not defined if GL_VERSION_1_3 is defined in
-+ Redefine the type here as an interim solution */
-+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
-+#endif
-+
- #ifndef GL_FRAMEBUFFER_BINDING
- #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
- #endif
diff --git a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0003_libvdpau-0.8.patch b/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0003_libvdpau-0.8.patch
deleted file mode 100644
index ab3a479986..0000000000
--- a/packages/addons/addon-depends/libva-vdpau-driver/patches/libva-vdpau-driver-0003_libvdpau-0.8.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/vdpau_decode.c
-+++ b/src/vdpau_decode.c
-@@ -1289,7 +1289,7 @@
- driver_data,
- obj_context->vdp_decoder,
- obj_surface->vdp_surface,
-- (VdpPictureInfo)&obj_context->vdp_picture_info,
-+ (VdpPictureInfo *)&obj_context->vdp_picture_info,
- obj_context->vdp_bitstream_buffers_count,
- obj_context->vdp_bitstream_buffers
- );
diff --git a/packages/addons/addon-depends/libvncserver/package.mk b/packages/addons/addon-depends/libvncserver/package.mk
index 9a54fb80f1..d8cbe153c2 100644
--- a/packages/addons/addon-depends/libvncserver/package.mk
+++ b/packages/addons/addon-depends/libvncserver/package.mk
@@ -1,37 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libvncserver"
-PKG_VERSION="0.9.10"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="0.9.11"
+PKG_SHA256="193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894"
PKG_LICENSE="GPL"
PKG_SITE="https://libvnc.github.io/"
PKG_URL="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$PKG_VERSION.tar.gz"
-PKG_SOURCE_DIR="libvncserver-LibVNCServer-$PKG_VERSION"
-PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng"
-PKG_SECTION="libs"
-PKG_SHORTDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."
-PKG_LONGDESC="LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program."
-
-PKG_IS_ADDON="no"
-PKG_USE_CMAKE="no"
-PKG_AUTORECONF="yes"
+PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng openssl systemd"
+PKG_LONGDESC="A C library that allow you to easily implement VNC server or client functionality."
+PKG_TOOLCHAIN="autotools"
PKG_MAINTAINER="Lukas Rusak (lrusak at irc.freenode.net)"
diff --git a/packages/addons/addon-depends/libzip/package.mk b/packages/addons/addon-depends/libzip/package.mk
index b4c9399277..026805e4a1 100644
--- a/packages/addons/addon-depends/libzip/package.mk
+++ b/packages/addons/addon-depends/libzip/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libzip"
PKG_VERSION="0.11.2"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="7cfbbc2c540e154b933b6e9ec781e2671086bd8114eb744ae1a1ade34d2bb6bb"
PKG_LICENSE="GPL"
PKG_SITE="http://www.nih.at/libzip/"
PKG_URL="http://www.nih.at/libzip/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SHORTDESC="libzip"
-PKG_LONGDESC="libzip"
-
-PKG_IS_ADDON="no"
-PKG_USE_CMAKE="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A C library for reading, creating, and modifying zip archives."
+PKG_TOOLCHAIN="configure"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
diff --git a/packages/addons/addon-depends/mono-depends/libgdiplus/package.mk b/packages/addons/addon-depends/mono-depends/libgdiplus/package.mk
deleted file mode 100644
index 108c3c4923..0000000000
--- a/packages/addons/addon-depends/mono-depends/libgdiplus/package.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="libgdiplus"
-PKG_VERSION="4.2"
-PKG_REV="0"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="https://github.com/mono/libgdiplus"
-PKG_URL="https://github.com/mono/libgdiplus/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain giflib libjpeg-turbo tiff libXext libexif glib cairo"
-PKG_SECTION="tools"
-PKG_SHORTDESC="libgiplus"
-PKG_LONGDESC="An Open Source implementation of the GDI+ API"
-
-PKG_IS_ADDON="no"
-
-PKG_AUTORECONF="yes"
-PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
- --with-libgif \
- --with-libjpeg \
- --with-libtiff"
-
-makeinstall_target() {
- make install DESTDIR=$INSTALL
-}
diff --git a/packages/addons/addon-depends/mono-depends/mono_sqlite/package.mk b/packages/addons/addon-depends/mono-depends/mono_sqlite/package.mk
deleted file mode 100644
index fc0e5156a3..0000000000
--- a/packages/addons/addon-depends/mono-depends/mono_sqlite/package.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-. "$ROOT/packages/databases/sqlite/package.mk"
-
-PKG_NAME="mono_sqlite"
-PKG_URL=""
-PKG_DEPENDS_TARGET="toolchain sqlite"
-PKG_SHORTDESC="sqlite for mono"
-PKG_LONGDESC="libsqlite built shared for mono"
-
-PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-static --enable-shared"
-
-unpack() {
- mkdir -p $PKG_BUILD
- cp -r $(get_build_dir sqlite)/* $PKG_BUILD/
-}
-
-makeinstall_target() {
- make install DESTDIR=$INSTALL
-}
diff --git a/packages/addons/addon-depends/moonlight-common-c/package.mk b/packages/addons/addon-depends/moonlight-common-c/package.mk
deleted file mode 100644
index f6682eaa6b..0000000000
--- a/packages/addons/addon-depends/moonlight-common-c/package.mk
+++ /dev/null
@@ -1,40 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="moonlight-common-c"
-PKG_VERSION="1d058cb"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPLv3"
-PKG_SITE="https://github.com/irtimmer/moonlight-common-c"
-PKG_URL="https://github.com/irtimmer/moonlight-common-c/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION=""
-PKG_SHORTDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
-PKG_LONGDESC="Shared C code for the implementation of Nvidia's GameStream protocol"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-make_target() {
- :
-}
-
-makeinstall_target() {
- :
-}
diff --git a/packages/addons/addon-depends/moonlight-embedded/package.mk b/packages/addons/addon-depends/moonlight-embedded/package.mk
deleted file mode 100644
index 81cecb6c15..0000000000
--- a/packages/addons/addon-depends/moonlight-embedded/package.mk
+++ /dev/null
@@ -1,58 +0,0 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
-
-PKG_NAME="moonlight-embedded"
-PKG_VERSION="2.2.2"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPLv3"
-PKG_SITE="https://github.com/irtimmer/moonlight-embedded"
-PKG_URL="https://github.com/irtimmer/moonlight-embedded/archive/v$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain curl libcec pulseaudio ffmpeg systemd alsa-lib moonlight-common-c libevdev enet opus"
-PKG_SECTION=""
-PKG_SHORTDESC="Gamestream client for embedded systems"
-PKG_LONGDESC="Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-FREESCALE_V4L_INCLUDE=""
-if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
- PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
-elif [ "$KODIPLAYER_DRIVER" = "libfslvpuwrap" ]; then
- PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libfslvpuwrap gpu-viv-bin-mx6q v4l-utils"
- FREESCALE_V4L_INCLUDE="-DFREESCALE_INCLUDE_DIR=$(get_build_dir v4l-utils)/lib/include"
-elif [ "$KODIPLAYER_DRIVER" = "libamcodec" ]; then
- PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libamcodec"
-elif [ "$DISPLAYSERVER" = "x11" ]; then
- PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET libvdpau SDL2 ffmpeg libxcb"
-fi
-
-PKG_CMAKE_OPTS_TARGET="$FREESCALE_V4L_INCLUDE"
-
-pre_build_target() {
- cp -a $(get_build_dir moonlight-common-c)/* $ROOT/$PKG_BUILD/third_party/moonlight-common-c
-}
-
-pre_configure_target() {
- [ "$PROJECT" = "imx6" ] && strip_gold || true
-}
-
-makeinstall_target() {
- :
-}
diff --git a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0001-link-against-libm.patch b/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0001-link-against-libm.patch
deleted file mode 100644
index 5180081714..0000000000
--- a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0001-link-against-libm.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt 2016-04-03 05:34:15.000000000 -0700
-+++ b/CMakeLists.txt 2016-05-04 14:33:19.840052271 -0700
-@@ -139,7 +139,7 @@
-
- set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
- target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
--target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS})
-+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
-
- add_subdirectory(docs)
-
diff --git a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0002-require-pthread.patch b/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0002-require-pthread.patch
deleted file mode 100644
index 0b76d86818..0000000000
--- a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0002-require-pthread.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt 2016-11-19 09:59:59.335970047 -0800
-+++ b/CMakeLists.txt 2016-11-19 10:08:43.639992687 -0800
-@@ -139,7 +139,7 @@
-
- set_property(TARGET moonlight PROPERTY COMPILE_DEFINITIONS ${MOONLIGHT_DEFINITIONS})
- target_include_directories(moonlight PRIVATE ${GAMESTREAM_INCLUDE_DIR} ${MOONLIGHT_COMMON_INCLUDE_DIR} ${OPUS_INCLUDE_DIRS} ${EVDEV_INCLUDE_DIRS} ${UDEV_INCLUDE_DIRS})
--target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} m)
-+target_link_libraries(moonlight ${EVDEV_LIBRARIES} ${ALSA_LIBRARY} ${OPUS_LIBRARY} ${UDEV_LIBRARIES} ${CMAKE_DL_LIBS} pthread m)
-
- add_subdirectory(docs)
-
diff --git a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0003-fix-libcec4-compilation.patch b/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0003-fix-libcec4-compilation.patch
deleted file mode 100644
index 72acfbfe0d..0000000000
--- a/packages/addons/addon-depends/moonlight-embedded/patches/moonlight-embedded-0003-fix-libcec4-compilation.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 90bfcdcc4da4178b0fd6c6013947006cd1c07377 Mon Sep 17 00:00:00 2001
-From: Iwan Timmer
-Date: Fri, 9 Dec 2016 20:05:31 +0100
-Subject: [PATCH] Update libCEC compatibility to version 4.0
-
----
- src/input/cec.c | 2 +-
- third_party/libcec/ceccloader.h | 8 ++++----
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/input/cec.c b/src/input/cec.c
-index 8c3892e..1a50d81 100644
---- a/src/input/cec.c
-+++ b/src/input/cec.c
-@@ -77,7 +77,7 @@ void cec_init() {
- libcecc_reset_configuration(&g_config);
- g_config.clientVersion = LIBCEC_VERSION_CURRENT;
- g_config.bActivateSource = 0;
-- g_callbacks.CBCecKeyPress = &on_cec_keypress;
-+ g_callbacks.keyPress = &on_cec_keypress;
- g_config.callbacks = &g_callbacks;
- snprintf(g_config.strDeviceName, sizeof(g_config.strDeviceName), "Moonlight");
- g_config.callbacks = &g_callbacks;
-diff --git a/third_party/libcec/ceccloader.h b/third_party/libcec/ceccloader.h
-index 1ae0c2a..2f8f760 100644
---- a/third_party/libcec/ceccloader.h
-+++ b/third_party/libcec/ceccloader.h
-@@ -84,7 +84,7 @@ typedef struct {
- int (CDECL *set_osd_string)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress, CEC_NAMESPACE cec_display_control duration, const char* strMessage);
- int (CDECL *switch_monitoring)(libcec_connection_t connection, int bEnable);
- CEC_NAMESPACE cec_version (CDECL *get_device_cec_version)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress);
-- int (CDECL *get_device_menu_language)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress, CEC_NAMESPACE cec_menu_language* language);
-+ int (CDECL *get_device_menu_language)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress, CEC_NAMESPACE cec_menu_language language);
- uint64_t (CDECL *get_device_vendor_id)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress);
- uint16_t (CDECL *get_device_physical_address)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iLogicalAddress);
- CEC_NAMESPACE cec_logical_address (CDECL *get_active_source)(libcec_connection_t connection);
-@@ -100,7 +100,7 @@ typedef struct {
- int (CDECL *mute_audio)(libcec_connection_t connection, int bSendRelease);
- int (CDECL *send_keypress)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iDestination, CEC_NAMESPACE cec_user_control_code key, int bWait);
- int (CDECL *send_key_release)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iDestination, int bWait);
-- CEC_NAMESPACE cec_osd_name (CDECL *get_device_osd_name)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iAddress);
-+ int (CDECL *get_device_osd_name)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iAddress, CEC_NAMESPACE cec_osd_name name);
- int (CDECL *set_stream_path_logical)(libcec_connection_t connection, CEC_NAMESPACE cec_logical_address iAddress);
- int (CDECL *set_stream_path_physical)(libcec_connection_t connection, uint16_t iPhysicalAddress);
- CEC_NAMESPACE cec_logical_addresses (CDECL *get_logical_addresses)(libcec_connection_t connection);
-@@ -161,7 +161,7 @@ static int libcecc_resolve_all(void* lib, libcec_interface_t* iface)
- _libcecc_resolve(lib, iface->set_osd_string, "libcec_set_osd_string", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, CEC_NAMESPACE cec_display_control, const char*));
- _libcecc_resolve(lib, iface->switch_monitoring, "libcec_switch_monitoring", int(CDECL *)(libcec_connection_t, int));
- _libcecc_resolve(lib, iface->get_device_cec_version, "libcec_get_device_cec_version", CEC_NAMESPACE cec_version(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address));
-- _libcecc_resolve(lib, iface->get_device_menu_language, "libcec_get_device_menu_language", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, CEC_NAMESPACE cec_menu_language*));
-+ _libcecc_resolve(lib, iface->get_device_menu_language, "libcec_get_device_menu_language", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, CEC_NAMESPACE cec_menu_language));
- _libcecc_resolve(lib, iface->get_device_vendor_id, "libcec_get_device_vendor_id", uint64_t(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address));
- _libcecc_resolve(lib, iface->get_device_physical_address, "libcec_get_device_physical_address", uint16_t(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address));
- _libcecc_resolve(lib, iface->get_active_source, "libcec_get_active_source", CEC_NAMESPACE cec_logical_address(CDECL *)(libcec_connection_t));
-@@ -177,7 +177,7 @@ static int libcecc_resolve_all(void* lib, libcec_interface_t* iface)
- _libcecc_resolve(lib, iface->mute_audio, "libcec_mute_audio", int(CDECL *)(libcec_connection_t, int));
- _libcecc_resolve(lib, iface->send_keypress, "libcec_send_keypress", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, CEC_NAMESPACE cec_user_control_code, int));
- _libcecc_resolve(lib, iface->send_key_release, "libcec_send_key_release", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, int));
-- _libcecc_resolve(lib, iface->get_device_osd_name, "libcec_get_device_osd_name", CEC_NAMESPACE cec_osd_name(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address));
-+ _libcecc_resolve(lib, iface->get_device_osd_name, "libcec_get_device_osd_name", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address, CEC_NAMESPACE cec_osd_name));
- _libcecc_resolve(lib, iface->set_stream_path_logical, "libcec_set_stream_path_logical", int(CDECL *)(libcec_connection_t, CEC_NAMESPACE cec_logical_address));
- _libcecc_resolve(lib, iface->set_stream_path_physical, "libcec_set_stream_path_physical", int(CDECL *)(libcec_connection_t, uint16_t));
- _libcecc_resolve(lib, iface->get_logical_addresses, "libcec_get_logical_addresses", CEC_NAMESPACE cec_logical_addresses(CDECL *)(libcec_connection_t));
diff --git a/packages/addons/addon-depends/mpd-mpc/package.mk b/packages/addons/addon-depends/mpd-mpc/package.mk
new file mode 100644
index 0000000000..6bc74358e9
--- /dev/null
+++ b/packages/addons/addon-depends/mpd-mpc/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="mpd-mpc"
+PKG_VERSION="0.31"
+PKG_SHA256="62373e83a8a165b2ed43967975efecd3feee530f4557d6b861dd08aa89d52b2d"
+PKG_LICENSE="GPL"
+PKG_SITE="https://www.musicpd.org"
+PKG_URL="https://www.musicpd.org/download/mpc/0/mpc-${PKG_VERSION}.tar.xz"
+PKG_DEPENDS_TARGET="toolchain libiconv"
+PKG_LONGDESC="Command-line client for MPD."
+PKG_TOOLCHAIN="meson"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk
index 2aa6532892..b323d8a2d0 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/depends/libmediainfo/package.mk
@@ -1,36 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libmediainfo"
-PKG_VERSION="0.7.83"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="18.05"
+PKG_SHA256="76759613ca71d5659818e6ed121be9f31c552931b04939b0db4c58bc57cd5221"
PKG_LICENSE="GPL"
PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source"
-PKG_URL="http://mediaarea.net/download/source/libmediainfo/$PKG_VERSION/libmediainfo_$PKG_VERSION.tar.bz2"
-PKG_SOURCE_DIR="MediaInfoLib"
+PKG_URL="http://mediaarea.net/download/source/libmediainfo/${PKG_VERSION}/libmediainfo_${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libzen zlib"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
+PKG_TOOLCHAIN="manual"
make_target() {
cd Project/GNU/Library
@@ -41,9 +20,7 @@ make_target() {
--enable-static \
--disable-shared \
--prefix=/usr \
- --enable-visibility \
- --disable-libcurl \
- --disable-libmms
+ --enable-visibility
make
}
@@ -54,5 +31,5 @@ post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
cp -aP ../../../Source/MediaInfo/$i/*.h $SYSROOT_PREFIX/usr/include/MediaInfo/$i/
done
- cp -P libmediainfo-config $ROOT/$TOOLCHAIN/bin
+ cp -P libmediainfo-config $TOOLCHAIN/bin
}
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk
index 3add8dc618..37e35787df 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/depends/libzen/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libzen"
-PKG_VERSION="0.4.33"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="0.4.37"
+PKG_SHA256="38c0a68b715b55d6685d2759eecda040adf37bd066955d79a5d01f91977bd9a0"
PKG_LICENSE="GPL"
PKG_SITE="http://mediaarea.net/en/MediaInfo/"
-PKG_URL="http://mediaarea.net/download/source/libzen/$PKG_VERSION/libzen_$PKG_VERSION.tar.bz2"
-PKG_SOURCE_DIR="ZenLib"
+PKG_URL="http://mediaarea.net/download/source/libzen/${PKG_VERSION}/libzen_${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="multimedia"
-PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_TOOLCHAIN="manual"
make_target() {
cd Project/GNU/Library
@@ -51,5 +31,5 @@ post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/include/ZenLib/$i/
cp -aP ../../../Source/ZenLib/$i/*.h $SYSROOT_PREFIX/usr/include/ZenLib/$i/
done
- cp -P libzen-config $ROOT/$TOOLCHAIN/bin
+ cp -P libzen-config $TOOLCHAIN/bin
}
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk
index 8984475e90..a9e71c3aff 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/mediainfo/package.mk
@@ -1,34 +1,20 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mediainfo"
-PKG_VERSION="0.7.83"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="18.05"
+PKG_SHA256="d94093aaf910759f302fb6b5ac23540a217eb940cfbb21834de2381de975fa65"
PKG_LICENSE="GPL"
PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source"
-PKG_URL="http://mediaarea.net/download/source/mediainfo/$PKG_VERSION/mediainfo_$PKG_VERSION.tar.bz2"
-PKG_SOURCE_DIR="MediaInfo"
+PKG_URL="http://mediaarea.net/download/source/mediainfo/${PKG_VERSION}/mediainfo_${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libmediainfo"
-PKG_SECTION="tools"
-PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
-PKG_LONGDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A convenient unified display of the most relevant technical and tag data for video and audio files."
+PKG_TOOLCHAIN="manual"
+
+pre_configure_target() {
+ export LDFLAGS="$LDFLAGS -L$(get_build_dir libmediainfo)/Project/GNU/Library/.libs -L$(get_build_dir libzen)/Project/GNU/Library/.libs"
+ export LIBS="-lmediainfo -lzen"
+}
make_target() {
cd Project/GNU/CLI
@@ -40,7 +26,3 @@ make_target() {
--prefix=/usr
make
}
-
-makeinstall_target() {
- : # nop
-}
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk
index 88fb0e5873..cc8dd8c0ba 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/mesa-demos/package.mk
@@ -1,33 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mesa-demos"
PKG_VERSION="8.3.0"
-PKG_REV="0"
+PKG_SHA256="c173154bbd0d5fb53d732471984def42fb1b14ac85fcb834138fb9518b3e0bef"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="OSS"
PKG_SITE="http://www.mesa3d.org/"
PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libX11 mesa glu glew"
-PKG_SECTION="tools"
-PKG_SHORTDESC="mesa-demos: Mesa 3D demos"
PKG_LONGDESC="Mesa 3D demos - installed are the well known glxinfo and glxgears."
-PKG_AUTORECONF="yes"
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--without-glut"
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/mpg123/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/mpg123/package.mk
index 0e50f1d67c..5531bb474e 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/mpg123/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/mpg123/package.mk
@@ -1,34 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mpg123"
-PKG_VERSION="1.23.6"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="1.25.10"
+PKG_SHA256="6c1337aee2e4bf993299851c70b7db11faec785303cfca3a5c3eb5f329ba7023"
PKG_LICENSE="LGPLv2"
PKG_SITE="http://www.mpg123.org/"
-PKG_URL="http://netcologne.dl.sourceforge.net/project/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_URL="http://downloads.sourceforge.net/sourceforge/mpg123/mpg123-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib SDL2"
-PKG_SECTION="tools"
-PKG_SHORTDESC="mpg123"
-PKG_LONGDESC="A fast MP3 Player"
+PKG_LONGDESC="A console based real time MPEG Audio Player for Layer 1, 2 and 3."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
+PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
+ --enable-static"
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk
index e9efa5c17d..0a76f4e798 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/package.mk
@@ -1,34 +1,19 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="opencaster"
PKG_VERSION="3.2.2"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="c9d77f98b31d53f521e3179003a9cb66b0586704717e9d401f3bc0dafa243865"
PKG_LICENSE="GPL"
PKG_SITE="http://www.avalpa.com/the-key-values/15-free-software/33-opencaster"
PKG_URL="http://ftp.de.debian.org/debian/pool/main/o/opencaster/opencaster_${PKG_VERSION}+dfsg.orig.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="MPEG2 transport stream data generator and packet manipulator"
-PKG_LONGDESC="OpenCaster is a free and open source MPEG2 transport stream data generator and packet manipulator"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A free and open source MPEG2 transport stream data generator and packet manipulator."
+
+pre_configure_target() {
+ PKG_MAKE_OPTS_TARGET="CC=$CC"
+}
pre_makeinstall_target() {
- mkdir -p $ROOT/$PKG_BUILD/.install_pkg
+ mkdir -p $PKG_BUILD/.install_pkg
}
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch b/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch
deleted file mode 100644
index 7e7854de5f..0000000000
--- a/packages/addons/addon-depends/multimedia-tools-depends/opencaster/patches/opencaster-01_crosscompile.patch
+++ /dev/null
@@ -1,504 +0,0 @@
-diff --git a/libs/sectioncrc/Makefile b/libs/sectioncrc/Makefile
-index 87e4627..ad8a0e5 100755
---- a/libs/sectioncrc/Makefile
-+++ b/libs/sectioncrc/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS = -g -MD -Wall -I. -I../../include
-
- OBJ = sectioncrc.o
-diff --git a/tools/dsmcc-receive/Makefile b/tools/dsmcc-receive/Makefile
-index 891a50c..ee2d82e 100644
---- a/tools/dsmcc-receive/Makefile
-+++ b/tools/dsmcc-receive/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc -lz
-
-diff --git a/tools/eitsecactualtoanother/Makefile b/tools/eitsecactualtoanother/Makefile
-index be3a790..723c857 100644
---- a/tools/eitsecactualtoanother/Makefile
-+++ b/tools/eitsecactualtoanother/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/eitsecfilter/Makefile b/tools/eitsecfilter/Makefile
-index f4e5fc4..cc94b71 100644
---- a/tools/eitsecfilter/Makefile
-+++ b/tools/eitsecfilter/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/eitsecmapper/Makefile b/tools/eitsecmapper/Makefile
-index 9c6ce8f..29dbc39 100644
---- a/tools/eitsecmapper/Makefile
-+++ b/tools/eitsecmapper/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/esaudio2pes/Makefile b/tools/esaudio2pes/Makefile
-index 349b187..607f0a3 100644
---- a/tools/esaudio2pes/Makefile
-+++ b/tools/esaudio2pes/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/esaudioinfo/Makefile b/tools/esaudioinfo/Makefile
-index 2c014b2..69a38a0 100644
---- a/tools/esaudioinfo/Makefile
-+++ b/tools/esaudioinfo/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/esvideompeg2info/Makefile b/tools/esvideompeg2info/Makefile
-index aaa8065..ac91058 100644
---- a/tools/esvideompeg2info/Makefile
-+++ b/tools/esvideompeg2info/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/esvideompeg2pes/Makefile b/tools/esvideompeg2pes/Makefile
-index a905e7b..7020503 100644
---- a/tools/esvideompeg2pes/Makefile
-+++ b/tools/esvideompeg2pes/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/i13942ts/Makefile b/tools/i13942ts/Makefile
-index 72e4b2d..0c020f8 100644
---- a/tools/i13942ts/Makefile
-+++ b/tools/i13942ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
-
- OBJS = i13942ts.o
-diff --git a/tools/ip2sec/Makefile b/tools/ip2sec/Makefile
-index 3a90c82..7580ca3 100644
---- a/tools/ip2sec/Makefile
-+++ b/tools/ip2sec/Makefile
-@@ -1,4 +1,3 @@
--CC = gcc
- CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lpcap
-
-diff --git a/tools/m2ts2cbrts/Makefile b/tools/m2ts2cbrts/Makefile
-index a2ed89f..778efb8 100644
---- a/tools/m2ts2cbrts/Makefile
-+++ b/tools/m2ts2cbrts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/mpe2sec/Makefile b/tools/mpe2sec/Makefile
-index 5c29efd..55cbe4d 100644
---- a/tools/mpe2sec/Makefile
-+++ b/tools/mpe2sec/Makefile
-@@ -1,4 +1,3 @@
--CC = gcc
- CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
-
- OBJS = mpe.o sectioncrc.o
-diff --git a/tools/mpeg2videovbv/Makefile b/tools/mpeg2videovbv/Makefile
-index 8635e67..4074c93 100644
---- a/tools/mpeg2videovbv/Makefile
-+++ b/tools/mpeg2videovbv/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/oddparity/Makefile b/tools/oddparity/Makefile
-index 7970590..6839a36 100644
---- a/tools/oddparity/Makefile
-+++ b/tools/oddparity/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pes2es/Makefile b/tools/pes2es/Makefile
-index a598df9..c3e803f 100644
---- a/tools/pes2es/Makefile
-+++ b/tools/pes2es/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pes2txt/Makefile b/tools/pes2txt/Makefile
-index d65922e..50057a1 100644
---- a/tools/pes2txt/Makefile
-+++ b/tools/pes2txt/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pesaudio2ts/Makefile b/tools/pesaudio2ts/Makefile
-index 6fec027..ab75796 100644
---- a/tools/pesaudio2ts/Makefile
-+++ b/tools/pesaudio2ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pesdata2ts/Makefile b/tools/pesdata2ts/Makefile
-index 3e180f7..d541485 100644
---- a/tools/pesdata2ts/Makefile
-+++ b/tools/pesdata2ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pesinfo/Makefile b/tools/pesinfo/Makefile
-index 5c9cbb3..3ffc1d7 100644
---- a/tools/pesinfo/Makefile
-+++ b/tools/pesinfo/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/pesvideo2ts/Makefile b/tools/pesvideo2ts/Makefile
-index a8de20e..a2ebab0 100644
---- a/tools/pesvideo2ts/Makefile
-+++ b/tools/pesvideo2ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/sec2ts/Makefile b/tools/sec2ts/Makefile
-index 0607bcf..df22126 100644
---- a/tools/sec2ts/Makefile
-+++ b/tools/sec2ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/ts2m2ts/Makefile b/tools/ts2m2ts/Makefile
-index b70c018..28104fd 100644
---- a/tools/ts2m2ts/Makefile
-+++ b/tools/ts2m2ts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/ts2pes/Makefile b/tools/ts2pes/Makefile
-index 61301f4..349c29e 100644
---- a/tools/ts2pes/Makefile
-+++ b/tools/ts2pes/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/ts2sec/Makefile b/tools/ts2sec/Makefile
-index ebbe4be..baad160 100644
---- a/tools/ts2sec/Makefile
-+++ b/tools/ts2sec/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tscbrmuxer/Makefile b/tools/tscbrmuxer/Makefile
-index aa93c07..38cd632 100644
---- a/tools/tscbrmuxer/Makefile
-+++ b/tools/tscbrmuxer/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsccc/Makefile b/tools/tsccc/Makefile
-index 44340fb..85ec0f8 100755
---- a/tools/tsccc/Makefile
-+++ b/tools/tsccc/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tscrypt/Makefile b/tools/tscrypt/Makefile
-index 3ce49f5..9cec259 100644
---- a/tools/tscrypt/Makefile
-+++ b/tools/tscrypt/Makefile
-@@ -1,4 +1,3 @@
--CC = gcc
- CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -ldvbcsa
-
-diff --git a/tools/tsdiscont/Makefile b/tools/tsdiscont/Makefile
-index bed498e..78329c1 100644
---- a/tools/tsdiscont/Makefile
-+++ b/tools/tsdiscont/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsdoubleoutput/Makefile b/tools/tsdoubleoutput/Makefile
-index e35c8a2..e8927fe 100644
---- a/tools/tsdoubleoutput/Makefile
-+++ b/tools/tsdoubleoutput/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsfilter/Makefile b/tools/tsfilter/Makefile
-index 5e8a3fc..9397197 100755
---- a/tools/tsfilter/Makefile
-+++ b/tools/tsfilter/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsfixcc/Makefile b/tools/tsfixcc/Makefile
-index cdf93ae..ebd894f 100755
---- a/tools/tsfixcc/Makefile
-+++ b/tools/tsfixcc/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsinputswitch/Makefile b/tools/tsinputswitch/Makefile
-index 5b2f205..3a08c7a 100644
---- a/tools/tsinputswitch/Makefile
-+++ b/tools/tsinputswitch/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsloop/Makefile b/tools/tsloop/Makefile
-index 0781c2c..71dc3c6 100755
---- a/tools/tsloop/Makefile
-+++ b/tools/tsloop/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsmask/Makefile b/tools/tsmask/Makefile
-index afe3fe8..914a1ef 100755
---- a/tools/tsmask/Makefile
-+++ b/tools/tsmask/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsmodder/Makefile b/tools/tsmodder/Makefile
-index 72a4fde..2199b8a 100644
---- a/tools/tsmodder/Makefile
-+++ b/tools/tsmodder/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsnullfiller/Makefile b/tools/tsnullfiller/Makefile
-index fd7bf5a..3b6898f 100644
---- a/tools/tsnullfiller/Makefile
-+++ b/tools/tsnullfiller/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsnullshaper/Makefile b/tools/tsnullshaper/Makefile
-index 2071129..3b89b7e 100644
---- a/tools/tsnullshaper/Makefile
-+++ b/tools/tsnullshaper/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc -lrt
-
-diff --git a/tools/tsororts/Makefile b/tools/tsororts/Makefile
-index 408c924..0687c55 100644
---- a/tools/tsororts/Makefile
-+++ b/tools/tsororts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsorts/Makefile b/tools/tsorts/Makefile
-index 1b4d287..96db276 100644
---- a/tools/tsorts/Makefile
-+++ b/tools/tsorts/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsoutputswitch/Makefile b/tools/tsoutputswitch/Makefile
-index c2d0b09..6abfddb 100644
---- a/tools/tsoutputswitch/Makefile
-+++ b/tools/tsoutputswitch/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tspcrmeasure/Makefile b/tools/tspcrmeasure/Makefile
-index 819a25e..f39efd3 100644
---- a/tools/tspcrmeasure/Makefile
-+++ b/tools/tspcrmeasure/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tspcrrestamp/Makefile b/tools/tspcrrestamp/Makefile
-index 3f05709..43f37b4 100644
---- a/tools/tspcrrestamp/Makefile
-+++ b/tools/tspcrrestamp/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tspcrstamp/Makefile b/tools/tspcrstamp/Makefile
-index 5520ef3..6c050bc 100644
---- a/tools/tspcrstamp/Makefile
-+++ b/tools/tspcrstamp/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tspidmapper/Makefile b/tools/tspidmapper/Makefile
-index c02853a..f237a77 100644
---- a/tools/tspidmapper/Makefile
-+++ b/tools/tspidmapper/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsstamp/Makefile b/tools/tsstamp/Makefile
-index 80393fe..f288f09 100644
---- a/tools/tsstamp/Makefile
-+++ b/tools/tsstamp/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tstcpreceive/Makefile b/tools/tstcpreceive/Makefile
-index 4f1cac7..ebbba5f 100644
---- a/tools/tstcpreceive/Makefile
-+++ b/tools/tstcpreceive/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tstcpsend/Makefile b/tools/tstcpsend/Makefile
-index 8894859..fb8a573 100644
---- a/tools/tstcpsend/Makefile
-+++ b/tools/tstcpsend/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc -lrt
-
-diff --git a/tools/tstdt/Makefile b/tools/tstdt/Makefile
-index 1873adb..c5eb23d 100644
---- a/tools/tstdt/Makefile
-+++ b/tools/tstdt/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tstimedwrite/Makefile b/tools/tstimedwrite/Makefile
-index 3ad1432..7a34191 100644
---- a/tools/tstimedwrite/Makefile
-+++ b/tools/tstimedwrite/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc -lrt
-
-diff --git a/tools/tstimeout/Makefile b/tools/tstimeout/Makefile
-index 0dbc314..c37b97e 100644
---- a/tools/tstimeout/Makefile
-+++ b/tools/tstimeout/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsudpreceive/Makefile b/tools/tsudpreceive/Makefile
-index 2e08cee..3a6c3cb 100644
---- a/tools/tsudpreceive/Makefile
-+++ b/tools/tsudpreceive/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/tsudpsend/Makefile b/tools/tsudpsend/Makefile
-index 0d55bd4..bd6f39e 100644
---- a/tools/tsudpsend/Makefile
-+++ b/tools/tsudpsend/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc -lrt
-
-diff --git a/tools/tsvbr2cbr/Makefile b/tools/tsvbr2cbr/Makefile
-index 01cc992..65d670c 100644
---- a/tools/tsvbr2cbr/Makefile
-+++ b/tools/tsvbr2cbr/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/txt2pes/Makefile b/tools/txt2pes/Makefile
-index f506da7..55f0d5e 100644
---- a/tools/txt2pes/Makefile
-+++ b/tools/txt2pes/Makefile
-@@ -1,4 +1,3 @@
--C = gcc
- CFLAGS += -g -MD -Wall -I. -I../../include $(CPPFLAGS)
- LDFLAGS += -lc
-
-diff --git a/tools/zpipe/Makefile b/tools/zpipe/Makefile
-index 5997129..707647d 100644
---- a/tools/zpipe/Makefile
-+++ b/tools/zpipe/Makefile
-@@ -1,4 +1,3 @@
--CC = gcc
- CFLAGS += -g -O2 -MD -Wall -I. -I../../include -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS += -lz
-
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk
index ea615a604e..028c539c86 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk
@@ -1,40 +1,18 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="squeezelite"
-PKG_VERSION="33cca7e"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="ecb6e3696a42113994640e5345d0b5ca2e77d28b"
+PKG_SHA256="b0fbded72fbf400613b5cb071bc0efdaddaeba6b4ba32b1de9b24098c505b40b"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/ralph-irving/squeezelite"
PKG_URL="https://github.com/ralph-irving/squeezelite/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr"
-PKG_SECTION="tools"
-PKG_SHORTDESC="squeezelite"
-PKG_LONGDESC="A client for the Logitech Media Server"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr libogg"
+PKG_LONGDESC="A client for the Logitech Media Server."
pre_make_target() {
- OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT"
- CFLAGS="$CFLAGS $OPTS"
- LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt"
+ export OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL"
+ export LIBS="-lvorbis -logg"
}
makeinstall_target() {
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/patches/squeezelite-01-makefile.patch b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/patches/squeezelite-01-makefile.patch
new file mode 100644
index 0000000000..6389fe3861
--- /dev/null
+++ b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/patches/squeezelite-01-makefile.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2018-05-07 14:06:07.000000000 +0200
++++ b/Makefile 2018-10-25 19:08:15.000000000 +0200
+@@ -103,7 +103,7 @@
+ all: $(EXECUTABLE)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(CC) $(OBJECTS) $(LDFLAGS) $(LDADD) -o $@
++ $(CC) $(OBJECTS) $(LDFLAGS) $(LDADD) $(LIBS) -o $@
+
+ $(OBJECTS): $(DEPS)
+
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk
index 624d5f54a6..842d8fca9e 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/package.mk
@@ -1,35 +1,22 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
PKG_NAME="tsdecrypt"
PKG_VERSION="10.0"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="a337a7d60cc8f78b9dffbd7d675390497763bcb8f878ec9f1bec3eb80f32b1f1"
PKG_LICENSE="GPL"
PKG_SITE="http://georgi.unixsol.org/programs/tsdecrypt"
PKG_URL="http://georgi.unixsol.org/programs/tsdecrypt/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
-PKG_SECTION="tools"
-PKG_SHORTDESC="tsdecrypt"
-PKG_LONGDESC="tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then decrypts it using libdvbcsa/ffdecsa and keys obtained from OSCAM or similar cam server"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A tool that reads incoming mpeg transport stream over UDP/RTP and then decrypts it using libdvbcsa/ffdecsa."
+
+make_target() {
+ make CC=$CC LINK="$LD -o"
+}
+
+post_make_target() {
+ make strip STRIP=$STRIP
+}
makeinstall_target() {
: # nop
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch b/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch
deleted file mode 100644
index 979cd7eff5..0000000000
--- a/packages/addons/addon-depends/multimedia-tools-depends/tsdecrypt/patches/tsdecrypt-makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Naur tsdecrypt-10.0/libfuncs/Makefile tsdecrypt-10.0.patch/libfuncs/Makefile
---- tsdecrypt-10.0/libfuncs/Makefile 2013-09-12 12:53:27.000000000 +0200
-+++ tsdecrypt-10.0.patch/libfuncs/Makefile 2014-07-20 12:23:54.900762191 +0200
-@@ -1,5 +1,4 @@
--CC = $(CROSS)$(TARGET)gcc
--LINK = $(CROSS)$(TARGET)ld -o
-+LINK = $(LD) -o
- MKDEP = $(CC) -M -o $*.d $<
-
- LIBRARY_LINK_OPTS = -L. -r
-diff -Naur tsdecrypt-10.0/libtsfuncs/Makefile tsdecrypt-10.0.patch/libtsfuncs/Makefile
---- tsdecrypt-10.0/libtsfuncs/Makefile 2013-09-12 12:53:30.000000000 +0200
-+++ tsdecrypt-10.0.patch/libtsfuncs/Makefile 2014-07-20 12:23:54.901762318 +0200
-@@ -1,5 +1,4 @@
--CC = $(CROSS)$(TARGET)gcc
--LINK = $(CROSS)$(TARGET)ld -o
-+LINK = $(LD) -o
- MKDEP = $(CC) -M -o $*.d $<
-
- LIBRARY_LINK_OPTS = -L. -r
-diff -Naur tsdecrypt-10.0/Makefile tsdecrypt-10.0.patch/Makefile
---- tsdecrypt-10.0/Makefile 2013-09-12 12:53:16.000000000 +0200
-+++ tsdecrypt-10.0.patch/Makefile 2014-07-20 12:24:11.303809770 +0200
-@@ -1,5 +1,3 @@
--CC = $(CROSS)$(TARGET)cc
--STRIP = $(CROSS)$(TARGET)strip
- MKDEP = $(CC) -MP -MM -o $*.d $<
- RM = rm -f
- MV = mv -f
diff --git a/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk
index 2536a0be5e..2270af7085 100644
--- a/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk
+++ b/packages/addons/addon-depends/multimedia-tools-depends/tstools/package.mk
@@ -1,40 +1,21 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="tstools"
-PKG_VERSION="1.11"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="db1f79f"
+PKG_SHA256="f204229016c9deafcc75fe602c390339878312126134edbfcebf239e093dc4ff"
PKG_LICENSE="GPL"
-PKG_SITE="http://tstools.berlios.de/"
-PKG_URL="$SOURCEFORGE_SRC/project/tstools.berlios/tstools-1_11.tgz"
+PKG_SITE="https://github.com/kynesim/tstools"
+PKG_URL="https://github.com/kynesim/tstools/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="command line tools for working with MPEG data"
PKG_LONGDESC="This is a set of cross-platform command line tools for working with MPEG data."
-PKG_AUTORECONF="no"
+PKG_BUILD_FLAGS="-parallel"
make_target() {
- make -j1 CROSS_COMPILE=$TARGET_PREFIX
+ make CROSS_COMPILE=$TARGET_PREFIX
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/bwm-ng/package.mk b/packages/addons/addon-depends/network-tools-depends/bwm-ng/package.mk
index 2df608d2ff..77bba33750 100644
--- a/packages/addons/addon-depends/network-tools-depends/bwm-ng/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/bwm-ng/package.mk
@@ -1,33 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="bwm-ng"
PKG_VERSION="0.6.1"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="613e8072b0efc2f5f790143192bca45c3c80b7ad09bff384de9bbaa57aa499b8"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gropp.org/?id=projects&sub=bwm-ng"
-PKG_URL="http://www.gropp.org/bwm-ng/bwm-ng-$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain netbsd-curses libstatgrab"
-PKG_SECTION="network/analyzer"
-PKG_SHORTDESC="bwm-ng: small and simple console-based live network and disk io bandwidth monitor"
-PKG_LONGDESC="Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others."
-PKG_AUTORECONF="no"
+PKG_URL="https://github.com/vgropp/bwm-ng/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain ncurses libstatgrab"
+PKG_LONGDESC="A small and simple console-based live network and disk io bandwidth monitor."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \
--with-time \
@@ -37,10 +19,6 @@ PKG_CONFIGURE_OPTS_TARGET="--with-libstatgrab \
--with-procnetdev \
--with-partitions"
-pre_configure_target() {
- export LIBS="-ltermcap"
-}
-
makeinstall_target() {
: # nop
}
diff --git a/packages/addons/addon-depends/network-tools-depends/bwm-ng/patches/bwm-ng-001-static-inline.patch b/packages/addons/addon-depends/network-tools-depends/bwm-ng/patches/bwm-ng-001-static-inline.patch
new file mode 100644
index 0000000000..da9ae7040c
--- /dev/null
+++ b/packages/addons/addon-depends/network-tools-depends/bwm-ng/patches/bwm-ng-001-static-inline.patch
@@ -0,0 +1,286 @@
+From d5daf15c2098040b8b01753d3cdce8c1c79fc528 Mon Sep 17 00:00:00 2001
+From: David Seifert
+Date: Fri, 10 Feb 2017 21:30:49 +0100
+Subject: [PATCH] Use `static inline` instead of `inline`
+
+`inline` by itself is not portably guaranteed to emit
+an external definition when needed in C99. The current
+code base implicitly relies on GNU89 inline semantics,
+which _always_ emit an external definition. More recent
+versions of GCC and Clang switch to C99/C11 inline semantics
+by default, which fails with undefined references.
+
+See also:
+* http://www.greenend.org.uk/rjk/tech/inline.html
+* https://clang.llvm.org/compatibility.html#inline
+* http://blahg.josefsipek.net/?p=529
+---
+ src/bwm-ng.c | 4 ++--
+ src/help.c | 4 ++--
+ src/options.c | 16 ++++++++--------
+ src/output.c | 22 +++++++++++-----------
+ src/process.c | 28 ++++++++++++++--------------
+ 5 files changed, 37 insertions(+), 37 deletions(-)
+
+diff --git a/src/bwm-ng.c b/src/bwm-ng.c
+index ad94ccd..c2ab0db 100644
+--- a/src/bwm-ng.c
++++ b/src/bwm-ng.c
+@@ -26,7 +26,7 @@
+
+ /* handle interrupt signal */
+ void sigint(int sig) FUNCATTR_NORETURN;
+-inline void init(void);
++static inline void init(void);
+
+ /* clear stuff and exit */
+ #ifdef __STDC__
+@@ -98,7 +98,7 @@ void sigint(int sig) {
+ deinit(0, NULL);
+ }
+
+-inline void init(void) {
++static inline void init(void) {
+ if_count=0;
+ delay=500;
+ #if EXTENDED_STATS
+diff --git a/src/help.c b/src/help.c
+index 7fd9ca4..4853297 100644
+--- a/src/help.c
++++ b/src/help.c
+@@ -24,9 +24,9 @@
+ #include "global_vars.h"
+ #include "help.h"
+
+-inline void print_help_line(const char *short_c,const char * long_c,const char *descr);
++static inline void print_help_line(const char *short_c,const char * long_c,const char *descr);
+
+-inline void print_help_line(const char *short_c,const char * long_c,const char *descr) {
++static inline void print_help_line(const char *short_c,const char * long_c,const char *descr) {
+ #ifdef LONG_OPTIONS
+ printf(" %-23s",long_c);
+ #else
+diff --git a/src/options.c b/src/options.c
+index 1b65eeb..30dccb4 100644
+--- a/src/options.c
++++ b/src/options.c
+@@ -30,12 +30,12 @@ static char* getToken(char** str, const char* delims);
+ char *trim_whitespace(char *str);
+ int read_config(const char *config_file);
+ #endif
+-inline int str2output_unit(char *optarg);
++static inline int str2output_unit(char *optarg);
+ #if EXTENDED_STATS
+-inline int str2output_type(char *optarg);
++static inline int str2output_type(char *optarg);
+ #endif
+-inline int str2out_method(char *optarg);
+-inline int str2in_method(char *optarg);
++static inline int str2out_method(char *optarg);
++static inline int str2in_method(char *optarg);
+
+ #ifdef CONFIG_FILE
+ /******************************************************************************
+@@ -65,7 +65,7 @@ static char* getToken(char** str, const char* delims) {
+ /******************************************************************************/
+ #endif
+
+-inline int str2output_unit(char *optarg) {
++static inline int str2output_unit(char *optarg) {
+ if (optarg) {
+ if (!strcasecmp(optarg,"bytes")) return BYTES_OUT;
+ if (!strcasecmp(optarg,"bits")) return BITS_OUT;
+@@ -76,7 +76,7 @@ inline int str2output_unit(char *optarg) {
+ }
+
+ #if EXTENDED_STATS
+-inline int str2output_type(char *optarg) {
++static inline int str2output_type(char *optarg) {
+ if (optarg) {
+ if (!strcasecmp(optarg,"rate")) return RATE_OUT;
+ if (!strcasecmp(optarg,"max")) return MAX_OUT;
+@@ -87,7 +87,7 @@ inline int str2output_type(char *optarg) {
+ }
+ #endif
+
+-inline int str2out_method(char *optarg) {
++static inline int str2out_method(char *optarg) {
+ if (optarg) {
+ if (!strcasecmp(optarg,"plain")) return PLAIN_OUT;
+ #ifdef HAVE_CURSES
+@@ -109,7 +109,7 @@ inline int str2out_method(char *optarg) {
+ }
+
+
+-inline int str2in_method(char *optarg) {
++static inline int str2in_method(char *optarg) {
+ if (optarg) {
+ #ifdef PROC_NET_DEV
+ if (!strcasecmp(optarg,"proc")) return PROC_IN;
+diff --git a/src/output.c b/src/output.c
+index 653e444..1425b3c 100644
+--- a/src/output.c
++++ b/src/output.c
+@@ -25,13 +25,13 @@
+ #include "output.h"
+
+ inline static const char *output_type2str(void);
+-inline const char *input2str(void);
+-inline const char *show_all_if2str(void);
+-inline ullong direction2value(char mode,struct inout_long stats);
++static inline const char *input2str(void);
++static inline const char *show_all_if2str(void);
++static inline ullong direction2value(char mode,struct inout_long stats);
+ #if EXTENDED_STATS
+-inline double direction_max2value(char mode,struct inouttotal_double stats,int items);
++static inline double direction_max2value(char mode,struct inouttotal_double stats,int items);
+ #endif
+-inline char *dyn_byte_value2str(double value,char *str,int buf_size);
++static inline char *dyn_byte_value2str(double value,char *str,int buf_size);
+ char *values2str(char mode,t_iface_speed_stats stats,t_iface_stats full_stats,float multiplier,char *str,int buf_size);
+
+ inline static const char *output_type2str(void) {
+@@ -59,7 +59,7 @@ inline static const char *output_type2str(void) {
+ }
+
+
+-inline const char *input2str(void) {
++static inline const char *input2str(void) {
+ switch (input_method) {
+ #ifdef SYSCTL
+ case SYSCTL_IN:
+@@ -121,7 +121,7 @@ inline const char *input2str(void) {
+ return "";
+ }
+
+-inline const char *show_all_if2str(void) {
++static inline const char *show_all_if2str(void) {
+ switch (show_all_if) {
+ case 1:
+ return " (all)";
+@@ -262,7 +262,7 @@ int print_header(int option) {
+ }
+
+
+-inline ullong direction2value(char mode,struct inout_long stats) {
++static inline ullong direction2value(char mode,struct inout_long stats) {
+ switch (mode) {
+ case 0:
+ return stats.in;
+@@ -275,7 +275,7 @@ inline ullong direction2value(char mode,struct inout_long stats) {
+ }
+
+ #if EXTENDED_STATS
+-inline double direction_max2value(char mode,struct inouttotal_double stats,int items) {
++static inline double direction_max2value(char mode,struct inouttotal_double stats,int items) {
+ switch (mode) {
+ case 0:
+ return (double)(stats.in/items);
+@@ -288,7 +288,7 @@ inline double direction_max2value(char mode,struct inouttotal_double stats,int i
+ }
+ #endif
+
+-inline char *dyn_byte_value2str(double value,char *str,int buf_size) {
++static inline char *dyn_byte_value2str(double value,char *str,int buf_size) {
+ if (dynamic) {
+ if (value<1024)
+ snprintf(str,buf_size,"%15.2f ",value);
+@@ -306,7 +306,7 @@ inline char *dyn_byte_value2str(double value,char *str,int buf_size) {
+ return str;
+ }
+
+-inline char *dyn_bit_value2str(double value,char *str,int buf_size) {
++static inline char *dyn_bit_value2str(double value,char *str,int buf_size) {
+ if (dynamic) {
+ if (value<1000)
+ snprintf(str,buf_size,"%15.2f ",value);
+diff --git a/src/process.c b/src/process.c
+index 59eccf0..d06c6dd 100644
+--- a/src/process.c
++++ b/src/process.c
+@@ -26,19 +26,19 @@
+
+ short show_iface(char *instr, char *searchstr,char iface_is_up);
+ #if HAVE_GETTIMEOFDAY
+-inline long tvdiff(struct timeval newer, struct timeval older);
++static inline long tvdiff(struct timeval newer, struct timeval older);
+ float get_time_delay(int iface_num);
+ #endif
+-inline ullong calc_new_values(ullong new, ullong old);
++static inline ullong calc_new_values(ullong new, ullong old);
+ t_iface_speed_stats convert2calced_values(t_iface_speed_stats new, t_iface_speed_stats old);
+ t_iface_speed_stats convert2calced_disk_values(t_iface_speed_stats new, t_iface_speed_stats old);
+ #if EXTENDED_STATS
+-inline void sub_avg_values(struct inouttotal_double *values,struct inouttotal_double data);
+-inline void add_avg_values(struct inouttotal_double *values,struct inouttotal_double data);
+-inline void save_avg_values(struct inouttotal_double *values,struct inouttotal_double *data,struct inout_long calced_stats,float multiplier);
++static inline void sub_avg_values(struct inouttotal_double *values,struct inouttotal_double data);
++static inline void add_avg_values(struct inouttotal_double *values,struct inouttotal_double data);
++static inline void save_avg_values(struct inouttotal_double *values,struct inouttotal_double *data,struct inout_long calced_stats,float multiplier);
+ void save_avg(struct t_avg *avg,struct iface_speed_stats calced_stats,float multiplier);
+-inline void save_sum(struct inout_long *stats,struct inout_long new_stats_values);
+-inline void save_max(struct inouttotal_double *stats,struct inout_long calced_stats,float multiplier);
++static inline void save_sum(struct inout_long *stats,struct inout_long new_stats_values);
++static inline void save_max(struct inouttotal_double *stats,struct inout_long calced_stats,float multiplier);
+ #endif
+
+ /* returns the whether to show the iface or not
+@@ -74,7 +74,7 @@ short show_iface(char *instr, char *searchstr,char iface_is_up) {
+
+ #if HAVE_GETTIMEOFDAY
+ /* Returns: the time difference in milliseconds. */
+-inline long tvdiff(struct timeval newer, struct timeval older) {
++static inline long tvdiff(struct timeval newer, struct timeval older) {
+ return labs((newer.tv_sec-older.tv_sec)*1000+
+ (newer.tv_usec-older.tv_usec)/1000);
+ }
+@@ -95,7 +95,7 @@ float get_time_delay(int iface_num) {
+ #endif
+
+ /* basically new-old, but handles "overflow" of source aswell */
+-inline ullong calc_new_values(ullong new, ullong old) {
++static inline ullong calc_new_values(ullong new, ullong old) {
+ /* FIXME: WRAP_AROUND _might_ be wrong for libstatgrab, where the type is always long long */
+ return (new>=old) ? (ullong)(new-old) : (ullong)((
+ #ifdef HAVE_LIBKSTAT
+@@ -136,13 +136,13 @@ t_iface_speed_stats convert2calced_disk_values(t_iface_speed_stats new, t_iface_
+
+ #if EXTENDED_STATS
+ /* sub old values from cached for avg stats */
+-inline void sub_avg_values(struct inouttotal_double *values,struct inouttotal_double data) {
++static inline void sub_avg_values(struct inouttotal_double *values,struct inouttotal_double data) {
+ values->in-=data.in;
+ values->out-=data.out;
+ values->total-=data.total;
+ }
+
+-inline void add_avg_values(struct inouttotal_double *values,struct inouttotal_double data) {
++static inline void add_avg_values(struct inouttotal_double *values,struct inouttotal_double data) {
+ values->in+=data.in;
+ values->out+=data.out;
+ values->total+=data.total;
+@@ -151,7 +151,7 @@ inline void add_avg_values(struct inouttotal_double *values,struct inouttotal_do
+
+ /* put new-old bytes in inout_long struct into a inouttotal_double struct
+ * and add values to cached .value struct */
+-inline void save_avg_values(struct inouttotal_double *values,struct inouttotal_double *data,struct inout_long calced_stats,float multiplier) {
++static inline void save_avg_values(struct inouttotal_double *values,struct inouttotal_double *data,struct inout_long calced_stats,float multiplier) {
+ data->in=calced_stats.in*multiplier;
+ data->out=calced_stats.out*multiplier;
+ data->total=(calced_stats.in+calced_stats.out)*multiplier;
+@@ -201,13 +201,13 @@ void save_avg(struct t_avg *avg,struct iface_speed_stats calced_stats,float mult
+ }
+
+ /* add current in and out bytes to totals struct */
+-inline void save_sum(struct inout_long *stats,struct inout_long new_stats_values) {
++static inline void save_sum(struct inout_long *stats,struct inout_long new_stats_values) {
+ stats->in+=new_stats_values.in;
+ stats->out+=new_stats_values.out;
+ }
+
+ /* lookup old max values and save new if higher */
+-inline void save_max(struct inouttotal_double *stats,struct inout_long calced_stats,float multiplier) {
++static inline void save_max(struct inouttotal_double *stats,struct inout_long calced_stats,float multiplier) {
+ if (multiplier*calced_stats.in > stats->in)
+ stats->in=multiplier*calced_stats.in;
+ if (multiplier*calced_stats.out>stats->out)
diff --git a/packages/addons/addon-depends/network-tools-depends/depends/libpcap/package.mk b/packages/addons/addon-depends/network-tools-depends/depends/libpcap/package.mk
index cbfac0b523..0d5442c9bc 100644
--- a/packages/addons/addon-depends/network-tools-depends/depends/libpcap/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/depends/libpcap/package.mk
@@ -1,33 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libpcap"
PKG_VERSION="1.7.4"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0"
PKG_LICENSE="GPL"
PKG_SITE="http://www.tcpdump.org/"
PKG_URL="http://www.tcpdump.org/release/libpcap-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="devel"
-PKG_SHORTDESC="system interface for user-level packet capture"
-PKG_LONGDESC="libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A portable framework for low-level network monitoring."
PKG_CONFIGURE_OPTS_TARGET="LIBS=-lpthread \
ac_cv_header_libusb_1_0_libusb_h=no \
diff --git a/packages/addons/addon-depends/network-tools-depends/depends/libstatgrab/package.mk b/packages/addons/addon-depends/network-tools-depends/depends/libstatgrab/package.mk
index 8dcedf0529..4fe25ac3ec 100644
--- a/packages/addons/addon-depends/network-tools-depends/depends/libstatgrab/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/depends/libstatgrab/package.mk
@@ -1,37 +1,20 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libstatgrab"
PKG_VERSION="0.91"
-PKG_REV="1"
+PKG_SHA256="03e9328e4857c2c9dcc1b0347724ae4cd741a72ee11acc991784e8ef45b7f1ab"
PKG_SITE="http://www.i-scream.org/libstatgrab/"
PKG_URL="http://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION=libs
-PKG_SHORTDESC="provides cross platform access to statistics about the system on which it's run"
-PKG_LONGDESC="libstatgrab is a library that provides cross platform access to statistics about the system on which it's run. It's written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more."
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A library that provides cross platform access to statistics about the system on which it's run."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
--enable-static \
--disable-shared \
--disable-saidar \
--disable-examples \
- --disable-manpages \
--disable-setuid-binaries \
--disable-setgid-binaries"
diff --git a/packages/addons/addon-depends/network-tools-depends/iftop/package.mk b/packages/addons/addon-depends/network-tools-depends/iftop/package.mk
index 6c5c34e69a..6a9b927f80 100644
--- a/packages/addons/addon-depends/network-tools-depends/iftop/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/iftop/package.mk
@@ -1,33 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="iftop"
PKG_VERSION="1.0pre4"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="f733eeea371a7577f8fe353d86dd88d16f5b2a2e702bd96f5ffb2c197d9b4f97"
PKG_LICENSE="GPL"
PKG_SITE="http://htop.sourceforge.net/"
PKG_URL="http://www.ex-parrot.com/pdw/iftop/download/$PKG_NAME-$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain netbsd-curses libpcap libnl"
-PKG_SECTION="network/analyzer"
-PKG_SHORTDESC="iftop: display bandwidth usage on an interface"
-PKG_LONGDESC="iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question 'why is our ADSL link so slow?'."
-PKG_AUTORECONF="yes"
+PKG_DEPENDS_TARGET="toolchain ncurses libpcap libnl"
+PKG_LONGDESC="A tool to display bandwidth usage on an interface."
+PKG_TOOLCHAIN="autotools"
pre_build_target() {
mkdir -p $PKG_BUILD/.$TARGET_NAME
@@ -35,8 +17,7 @@ pre_build_target() {
}
pre_configure_target() {
- export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/pcap"
- export LIBS="-lpcap -lnl-3 -lnl-genl-3 -lncurses -ltermcap"
+ export LIBS="-lpcap -lnl-3 -lnl-genl-3 -lncurses"
}
makeinstall_target() {
diff --git a/packages/addons/addon-depends/network-tools-depends/iperf/package.mk b/packages/addons/addon-depends/network-tools-depends/iperf/package.mk
index 3f5735fbce..b23893990a 100644
--- a/packages/addons/addon-depends/network-tools-depends/iperf/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/iperf/package.mk
@@ -1,36 +1,19 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="iperf"
-PKG_VERSION="3.1.2"
-PKG_REV="2"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
-PKG_SITE="https://iperf.fr/"
-PKG_URL="https://iperf.fr/download/source/$PKG_NAME-$PKG_VERSION-source.tar.gz"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="network/testing"
-PKG_SHORTDESC="iperf: A modern alternative for measuring maximum TCP and UDP bandwidth performance"
-PKG_LONGDESC="Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss."
-PKG_AUTORECONF="yes"
+PKG_VERSION="3.6"
+PKG_SHA256="1ad23f70a8eb4b892a3cbb247cafa956e0f5c7d8b8601b1d9c8031c2a806f23f"
+PKG_LICENSE="BSD"
+PKG_SITE="http://software.es.net/iperf/"
+PKG_URL="https://github.com/esnet/iperf/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain openssl"
+PKG_LONGDESC="A tool to measuring maximum TCP and UDP bandwidth performance."
+PKG_TOOLCHAIN="autotools"
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared"
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/irssi/package.mk b/packages/addons/addon-depends/network-tools-depends/irssi/package.mk
index a7fdf302e8..8b821e4085 100644
--- a/packages/addons/addon-depends/network-tools-depends/irssi/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/irssi/package.mk
@@ -1,50 +1,27 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="irssi"
-PKG_VERSION="0.8.19"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.1.2"
+PKG_SHA256="5ccc2b89a394e91bea0aa83a951c3b1d471c76da87b4169ec435530a31bf9732"
PKG_LICENSE="GPL"
PKG_SITE="http://www.irssi.org/"
-PKG_URL="https://github.com/irssi-import/irssi/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain glib netbsd-curses libressl"
-PKG_SECTION="tools"
-PKG_SHORTDESC="IRC client"
-PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems"
-PKG_AUTORECONF="no"
+PKG_URL="https://github.com/irssi/irssi/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain glib ncurses openssl"
+PKG_LONGDESC="Irssi is a terminal based IRC client for UNIX systems."
PKG_CONFIGURE_OPTS_TARGET="--with-sysroot=$SYSROOT_PREFIX \
- --enable-ssl \
--disable-glibtest \
--without-socks \
--with-textui \
--without-bot \
--without-proxy \
- --with-gc \
- --without-perl \
- --without-sco"
+ --without-perl"
pre_configure_target() {
- export CFLAGS="$CFLAGS -I$ROOT/$PKG_BUILD"
- export LIBS="-ltermcap"
+ export CFLAGS="$CFLAGS -I$PKG_BUILD"
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/iw/package.mk b/packages/addons/addon-depends/network-tools-depends/iw/package.mk
index 500c11fe32..fb143da195 100644
--- a/packages/addons/addon-depends/network-tools-depends/iw/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/iw/package.mk
@@ -1,37 +1,17 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="iw"
-PKG_VERSION="4.3"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="4.14"
+PKG_SHA256="f01671c0074bfdec082a884057edba1b9efd35c89eda554638496f03b769ad89"
PKG_LICENSE="PUBLIC_DOMAIN"
PKG_SITE="http://wireless.kernel.org/en/users/Documentation/iw"
PKG_URL="https://www.kernel.org/pub/software/network/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libnl"
-PKG_SECTION="tools"
-PKG_SHORTDESC="iw is a new nl80211 based CLI configuration utility for wireless devices"
-PKG_LONGDESC="iw is a new nl80211 based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently."
+PKG_LONGDESC="A new nl80211 based CLI configuration utility for wireless devices."
+# iw fails at runtime with lto enabled
pre_configure_target() {
- # iw fails at runtime with lto enabled
- strip_lto
-
export LDFLAGS="$LDFLAGS -pthread"
}
diff --git a/packages/addons/addon-depends/network-tools-depends/lftp/package.mk b/packages/addons/addon-depends/network-tools-depends/lftp/package.mk
index ef238dbcf4..333cc86c63 100644
--- a/packages/addons/addon-depends/network-tools-depends/lftp/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/lftp/package.mk
@@ -1,33 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="lftp"
-PKG_VERSION="4.7.4"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
+PKG_VERSION="4.8.4"
+PKG_SHA256="4ebc271e9e5cea84a683375a0f7e91086e5dac90c5d51bb3f169f75386107a62"
+PKG_LICENSE="GPLv3"
PKG_SITE="http://lftp.yar.ru/"
-PKG_URL="http://lftp.yar.ru/ftp/${PKG_NAME}-${PKG_VERSION}.tar.gz"
-PKG_DEPENDS_TARGET="toolchain readline libressl zlib"
-PKG_SECTION="tools"
-PKG_SHORTDESC="ftp client"
-PKG_LONGDESC="LFTP is a sophisticated ftp/http client, and a file transfer program supporting a number of network protocols"
-PKG_AUTORECONF="no"
+PKG_URL="http://lftp.yar.ru/ftp/${PKG_NAME}-${PKG_VERSION}.tar.xz"
+PKG_DEPENDS_TARGET="toolchain readline openssl zlib"
+PKG_LONGDESC="A sophisticated ftp/http client, and a file transfer program supporting a number of network protocols."
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-gnutls \
@@ -36,5 +17,5 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--with-zlib=$SYSROOT_PREFIX/usr"
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/lftp/patches/lftp-0001-link-readline-with-termcap.patch b/packages/addons/addon-depends/network-tools-depends/lftp/patches/lftp-0001-link-readline-with-termcap.patch
index 112316ea4f..8cf3ca77cb 100644
--- a/packages/addons/addon-depends/network-tools-depends/lftp/patches/lftp-0001-link-readline-with-termcap.patch
+++ b/packages/addons/addon-depends/network-tools-depends/lftp/patches/lftp-0001-link-readline-with-termcap.patch
@@ -6,7 +6,7 @@ diff -Naur a/configure b/configure
fi
readline_ld_flags="-L$readline_prefix/lib"
- readline_lib_flags="-lreadline"
-+ readline_lib_flags="-lreadline -ltermcap"
++ readline_lib_flags="-lreadline -lncurses"
run_readline_test="yes"
elif test "$readline_requested" = "yes"; then
if test -n "$readline_include_dir" -a -n "$readline_lib_flags"; then
diff --git a/packages/addons/addon-depends/network-tools-depends/ncftp/package.mk b/packages/addons/addon-depends/network-tools-depends/ncftp/package.mk
index f2dda3542b..a6d3e7a1c5 100644
--- a/packages/addons/addon-depends/network-tools-depends/ncftp/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/ncftp/package.mk
@@ -1,33 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ncftp"
-PKG_VERSION="3.2.5"
-PKG_REV="0"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
+PKG_VERSION="3.2.6"
+PKG_SHA256="5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d"
+PKG_LICENSE="GPLv3"
PKG_SITE="http://www.ncftp.com/ncftp/"
-PKG_URL="ftp://ftp.ncftp.com/ncftp/ncftp-${PKG_VERSION}-src.tar.bz2"
+PKG_URL="ftp://ftp.ncftp.com/ncftp/ncftp-${PKG_VERSION}-src.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP)."
-PKG_LONGDESC="NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP)."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="NcFTP is a set of application programs implementing the File Transfer Protocol."
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_librtmp_rtmp_h=yes \
--enable-readline \
@@ -45,5 +26,5 @@ pre_build_target() {
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/ngrep/package.mk b/packages/addons/addon-depends/network-tools-depends/ngrep/package.mk
index 9ce0123b45..23f98f8230 100644
--- a/packages/addons/addon-depends/network-tools-depends/ngrep/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/ngrep/package.mk
@@ -1,36 +1,19 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ngrep"
-PKG_VERSION="1.45"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="9b5946822a5c9c617d937245fdc9049c5740ae09"
+PKG_SHA256="db3ea041ad490a90d38ce4623ad9f3e7c9798734bdcaf900d3cf319fce16aa81"
PKG_LICENSE="GPL"
-PKG_SITE="http://ngrep.sourceforge.net/"
-PKG_URL="http://prdownloads.sourceforge.net/ngrep/ngrep-${PKG_VERSION}.tar.bz2"
+PKG_SITE="https://github.com/jpr5/ngrep"
+PKG_URL="https://github.com/jpr5/ngrep/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libpcap"
-PKG_SECTION="network/analyzer"
-PKG_SHORTDESC="ngrep - network grep"
-PKG_LONGDESC="ngrep - network grep"
-PKG_DISCLAIMER="this is an unofficial addon. please don't ask for support in openelec forum / irc channel"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A tool like GNU grep applied to the network layer."
+PKG_TOOLCHAIN="autotools"
-PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=$SYSROOT_PREFIX/usr/include --disable-dropprivs"
+PKG_CONFIGURE_OPTS_TARGET="--with-pcap-includes=$SYSROOT_PREFIX/usr/include \
+ --enable-ipv6 \
+ --disable-dropprivs"
pre_build_target() {
mkdir -p $PKG_BUILD/.$TARGET_NAME
@@ -38,5 +21,5 @@ pre_build_target() {
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/nmap/package.mk b/packages/addons/addon-depends/network-tools-depends/nmap/package.mk
index ba17c995b9..6e436524da 100644
--- a/packages/addons/addon-depends/network-tools-depends/nmap/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/nmap/package.mk
@@ -1,33 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="nmap"
-PKG_VERSION="7.11"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="7.70"
+PKG_SHA256="847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18"
PKG_LICENSE="GPL"
PKG_SITE="http://nmap.org/"
-PKG_URL="http://nmap.org/dist/${PKG_NAME}-${PKG_VERSION}.tgz"
+PKG_URL="http://nmap.org/dist/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="network tool"
-PKG_LONGDESC="Free Security Scanned for Network"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Free Security Scanned for Network."
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--with-pcap=linux \
@@ -39,12 +20,12 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
pre_configure_target() {
# nmap fails to build in subdirs
- cd $ROOT/$PKG_BUILD
+ cd $PKG_BUILD
rm -rf .$TARGET_NAME
export CPPFLAGS="$CPPFLAGS -Iliblua"
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/rar2fs/package.mk b/packages/addons/addon-depends/network-tools-depends/rar2fs/package.mk
new file mode 100644
index 0000000000..ea3193b9f0
--- /dev/null
+++ b/packages/addons/addon-depends/network-tools-depends/rar2fs/package.mk
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="rar2fs"
+PKG_VERSION="1.27.1"
+PKG_SHA256="f7e84b813fe82c6a886313e13a85d4f0d229b21f343a3ce6f73325a4ac90cb5a"
+PKG_LICENSE="GPL3"
+PKG_SITE="https://github.com/hasse69/rar2fs"
+PKG_URL="https://github.com/hasse69/rar2fs/releases/download/v$PKG_VERSION/rar2fs-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain fuse unrar"
+PKG_LONGDESC="FUSE file system for reading RAR archives"
+
+PKG_CONFIGURE_OPTS_TARGET="--with-unrar=$(get_build_dir unrar) \
+ --with-unrar-lib=$(get_build_dir unrar) \
+ --disable-static-unrar"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/network-tools-depends/rsync/package.mk b/packages/addons/addon-depends/network-tools-depends/rsync/package.mk
index d489b05d33..c2b0a4d55f 100644
--- a/packages/addons/addon-depends/network-tools-depends/rsync/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/rsync/package.mk
@@ -1,38 +1,19 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rsync"
-PKG_VERSION="3.1.2"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="OSS"
+PKG_VERSION="3.1.3"
+PKG_SHA256="55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
+PKG_LICENSE="GPLv3"
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
PKG_URL="https://download.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="network/backup"
-PKG_SHORTDESC="rsync: A replacement for rcp that has many more features"
-PKG_LONGDESC="Rsync uses an own 'rsync' algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A very fast method for bringing remote files into sync."
PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
- --disable-xattr-support \
- --with-included-popt"
+ --disable-xattr-support \
+ --with-included-popt"
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/sshfs/package.mk b/packages/addons/addon-depends/network-tools-depends/sshfs/package.mk
index 49837d0d83..71ac60d108 100644
--- a/packages/addons/addon-depends/network-tools-depends/sshfs/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/sshfs/package.mk
@@ -1,34 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="sshfs"
-PKG_VERSION="2.7"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="2.10"
+PKG_SHA256="70845dde2d70606aa207db5edfe878e266f9c193f1956dd10ba1b7e9a3c8d101"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libfuse/sshfs"
PKG_URL="https://github.com/libfuse/sshfs/releases/download/sshfs-$PKG_VERSION/sshfs-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse glib"
-PKG_SECTION="tools"
-PKG_SHORTDESC="sshfs: a filesystem client based on the SSH File Transfer Protocol"
-PKG_LONGDESC="This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A filesystem client based on the SSH File Transfer Protocol."
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/tcpdump/package.mk b/packages/addons/addon-depends/network-tools-depends/tcpdump/package.mk
index f0c5d84a71..e39a0746b3 100644
--- a/packages/addons/addon-depends/network-tools-depends/tcpdump/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/tcpdump/package.mk
@@ -1,46 +1,29 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="tcpdump"
-PKG_VERSION="4.7.4"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="4.9.2"
+PKG_SHA256="798b3536a29832ce0cbb07fafb1ce5097c95e308a6f592d14052e1ef1505fe79"
PKG_SITE="http://www.tcpdump.org/"
PKG_URL="http://www.tcpdump.org/release/tcpdump-${PKG_VERSION}.tar.gz"
-PKG_DEPENDS_TARGET="toolchain libpcap"
-PKG_SECTION="network/analyzer"
-PKG_SHORTDESC="powerful tool for network monitoring and data acquisition"
-PKG_LONGDESC="This program allows you to dump the traffic on a network. tcpdump is able to examine IPv4, ICMPv4, IPv6, ICMPv6, UDP, TCP, SNMP, AFS BGP, RIP, PIM, DVMRP, IGMP, SMB, OSPF, NFS and many other packet types."
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain libpcap libtirpc"
+PKG_LONGDESC="A program that allows you to dump the traffic on a network."
-PKG_CONFIGURE_OPTS_TARGET="--with-pcap=linux --with-crypto=no --disable-ipv6"
+PKG_CONFIGURE_OPTS_TARGET="--with-crypto=no"
pre_configure_target() {
# When cross-compiling, configure can't set linux version
# forcing it
sed -i -e 's/ac_cv_linux_vers=unknown/ac_cv_linux_vers=2/' ../configure
+ CFLAGS+=" -I$SYSROOT_PREFIX/usr/include/tirpc"
+ LDFLAGS+=" -ltirpc"
}
-pre_build_target() {
+post_configure_target() {
# discard native system includes
sed -i "s%-I/usr/include%%g" Makefile
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/udpxy/package.mk b/packages/addons/addon-depends/network-tools-depends/udpxy/package.mk
index 69bb43c370..3e5966fc23 100644
--- a/packages/addons/addon-depends/network-tools-depends/udpxy/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/udpxy/package.mk
@@ -1,41 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="udpxy"
-PKG_VERSION="1.0.23-0"
-PKG_REV="0"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://www.udpxy.com/download-en.html"
-PKG_URL="$SOURCEFORGE_SRC/project/udpxy/udpxy/Chipmunk-1.0/${PKG_NAME}.${PKG_VERSION}-prod.tar.gz"
+PKG_VERSION="1.0.23-12"
+PKG_SHA256="16bdc8fb22f7659e0427e53567dc3e56900339da261199b3d00104d699f7e94c"
+PKG_LICENSE="GPLv3"
+PKG_SITE="http://www.udpxy.com"
+PKG_URL="http://www.udpxy.com/download/1_23/${PKG_NAME}.${PKG_VERSION}-prod.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="udpxy is a UDP-to-HTTP multicast traffic relay daemon"
-PKG_LONGDESC="udpxy is a UDP-to-HTTP multicast traffic relay daemon"
-PKG_DISCLAIMER="this is an unofficial addon. please don't ask for support in openelec forum / irc channel"
-PKG_AUTORECONF="no"
-
-pre_configure_target() {
- # fails to build with gcc 4.9 + lto
- strip_lto
- CFLAGS="$CFLAGS -Wno-error=unused-const-variable"
-}
+PKG_LONGDESC="A UDP-to-HTTP multicast traffic relay daemon."
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/network-tools-depends/wireless_tools/package.mk b/packages/addons/addon-depends/network-tools-depends/wireless_tools/package.mk
index 976931768f..85c6ef8a08 100644
--- a/packages/addons/addon-depends/network-tools-depends/wireless_tools/package.mk
+++ b/packages/addons/addon-depends/network-tools-depends/wireless_tools/package.mk
@@ -1,45 +1,20 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="wireless_tools"
-PKG_VERSION="29"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="30.pre9"
+PKG_SHA256="abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
-PKG_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$PKG_NAME.$PKG_VERSION.tar.gz"
-PKG_SOURCE_DIR="${PKG_NAME}.${PKG_VERSION}"
+PKG_SITE="https://github.com/HewlettPackard/wireless-tools"
+PKG_URL="https://hewlettpackard.github.io/wireless-tools/$PKG_NAME.$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="debug/tools"
-PKG_SHORTDESC="wireless-tools: tools allowing to manipulate the Wireless Extensions"
-PKG_LONGDESC="The Wireless Tools (WT) is a set of tools allowing to manipulate the Wireless Extensions. They use a textual interface and are rather crude, but aim to support the full Wireless Extension. There are many other tools you can use with Wireless Extensions, however Wireless Tools is the reference implementation."
-PKG_AUTORECONF="no"
-
-pre_configure_Target() {
- # wireless_tools fails to build on some systems with LTO enabled
- strip_lto
-}
+PKG_LONGDESC="The Wireless Tools (WT) is a set of tools allowing to manipulate the Wireless Extensions."
make_target() {
make PREFIX=/usr CC="$CC" AR="$AR" \
- CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" iwmulticall
+ CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" iwmulticall
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/ninja/package.mk b/packages/addons/addon-depends/ninja/package.mk
deleted file mode 100644
index 1011894a75..0000000000
--- a/packages/addons/addon-depends/ninja/package.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
-
-PKG_NAME="ninja"
-PKG_VERSION="1.6.0"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="Apache"
-PKG_SITE="http://martine.github.io/ninja/"
-PKG_URL="https://github.com/ninja-build/ninja/archive/v$PKG_VERSION.tar.gz"
-PKG_SECTION="devel"
-PKG_SHORTDESC="Small build system with a focus on speed"
-PKG_LONGDESC="Small build system with a focus on speed"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-configure_host() {
- :
-}
-
-make_host() {
- python2 configure.py --bootstrap
-}
-
-makeinstall_host() {
- cp ninja $ROOT/$TOOLCHAIN/bin/
-}
diff --git a/packages/addons/addon-depends/nspr/package.mk b/packages/addons/addon-depends/nspr/package.mk
deleted file mode 100644
index b2ad360943..0000000000
--- a/packages/addons/addon-depends/nspr/package.mk
+++ /dev/null
@@ -1,47 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="nspr"
-PKG_VERSION="4.13"
-PKG_REV="2"
-PKG_ARCH="any"
-PKG_LICENSE="Mozilla Public License"
-PKG_SITE="http://www.linuxfromscratch.org/blfs/view/svn/general/nspr.html"
-PKG_DEPENDS_TARGET="toolchain nss:host"
-PKG_SECTION="security"
-PKG_SHORTDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions"
-PKG_LONGDESC="Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions"
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-MAKEFLAGS=-j1
-
-if [ "$TARGET_ARCH" = "x86_64" ] ; then
- TARGET_USE_64="--enable-64bit"
-fi
-
-PKG_CONFIGURE_OPTS_TARGET="--with-pthreads $TARGET_USE_64"
-PKG_MAKE_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
-PKG_MAKEINSTALL_OPTS_TARGET="NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall"
-
-configure_target() {
- cd $(get_build_dir nss)/nspr
- ./configure --with-pthreads $TARGET_USE_64 $TARGET_CONFIGURE_OPTS
-}
diff --git a/packages/addons/addon-depends/nss/package.mk b/packages/addons/addon-depends/nss/package.mk
deleted file mode 100644
index 50b300a07b..0000000000
--- a/packages/addons/addon-depends/nss/package.mk
+++ /dev/null
@@ -1,77 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="nss"
-PKG_VERSION="3.27.1"
-PKG_REV="2"
-PKG_ARCH="any"
-PKG_LICENSE="Mozilla Public License"
-PKG_SITE="http://ftp.mozilla.org/"
-PKG_URL="http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz"
-PKG_DEPENDS_TARGET="toolchain nss:host nspr zlib"
-PKG_SECTION="security"
-PKG_SHORTDESC="The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications"
-PKG_LONGDESC="The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications"
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-MAKEFLAGS=-j1
-
-make_host() {
- cd $ROOT/$PKG_BUILD/nss
-
- [ "$TARGET_ARCH" = "x86_64" ] && export USE_64=1
-
- make -C coreconf/nsinstall
-}
-
-makeinstall_host() {
- cp $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/*/nsinstall $ROOT/$TOOLCHAIN/bin
-}
-
-post_makeinstall_host() {
- rm -rf $ROOT/$PKG_BUILD/nss/coreconf/nsinstall/Linux*
-}
-
-make_target() {
- cd $ROOT/$PKG_BUILD/nss
-
- [ "$TARGET_ARCH" = "x86_64" ] && TARGET_USE_64="USE_64=1"
-
- make BUILD_OPT=1 $TARGET_USE_64 \
- NSPR_INCLUDE_DIR=$SYSROOT_PREFIX/usr/include/nspr \
- USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
- OS_TEST=$TARGET_ARCH \
- NSS_TESTS="dummy" \
- NSINSTALL=$ROOT/$TOOLCHAIN/bin/nsinstall \
- CPU_ARCH_TAG=$TARGET_ARCH \
- CC=$CC LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib" \
- V=1
-}
-
-makeinstall_target() {
- cd $ROOT/$PKG_BUILD
- $STRIP dist/Linux*/lib/*.so
- cp -L dist/Linux*/lib/*.so $SYSROOT_PREFIX/usr/lib
- cp -L dist/Linux*/lib/libcrmf.a $SYSROOT_PREFIX/usr/lib
- mkdir -p $SYSROOT_PREFIX/usr/include/nss
- cp -RL dist/{public,private}/nss/* $SYSROOT_PREFIX/usr/include/nss
- cp -L dist/Linux*/lib/pkgconfig/nss.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
-}
diff --git a/packages/addons/addon-depends/opus/package.mk b/packages/addons/addon-depends/opus/package.mk
index a7c7b7d997..2a04fa8c6b 100644
--- a/packages/addons/addon-depends/opus/package.mk
+++ b/packages/addons/addon-depends/opus/package.mk
@@ -1,42 +1,21 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="opus"
-PKG_VERSION="1.1.2"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.3"
+PKG_SHA256="4f3d69aefdf2dbaf9825408e452a8a414ffc60494c70633560700398820dc550"
PKG_LICENSE="BSD"
PKG_SITE="http://www.opus-codec.org"
-PKG_URL="http://downloads.us.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="https://archive.mozilla.org/pub/opus/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="audio"
-PKG_SHORTDESC="Codec designed for interactive speech and audio transmission over the Internet"
-PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet."
if [ "$TARGET_ARCH" = "arm" ]; then
- FIXED_POINT="--enable-fixed-point"
+ PKG_FIXED_POINT="--enable-fixed-point"
else
- FIXED_POINT="--disable-fixed-point"
+ PKG_FIXED_POINT="--disable-fixed-point"
fi
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
- $FIXED_POINT"
+ $PKG_FIXED_POINT"
diff --git a/packages/addons/addon-depends/pango/package.mk b/packages/addons/addon-depends/pango/package.mk
deleted file mode 100644
index 9361a2c41e..0000000000
--- a/packages/addons/addon-depends/pango/package.mk
+++ /dev/null
@@ -1,39 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
-#
-# This Program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This Program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC.tv; see the file COPYING. If not, write to
-# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
-# http://www.gnu.org/copyleft/gpl.html
-################################################################################
-
-PKG_NAME="pango"
-PKG_VERSION="1.40.3"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://www.pango.org/"
-PKG_URL="http://ftp.gnome.org/pub/gnome/sources/pango/1.40/$PKG_NAME-$PKG_VERSION.tar.xz"
-PKG_DEPENDS_TARGET="toolchain glib cairo freetype fontconfig libX11 libXft harfbuzz"
-PKG_SECTION="x11/toolkits"
-PKG_SHORTDESC="pango: Library for layout and rendering of internationalized text"
-PKG_LONGDESC="The goal of the Pango project is to provide an open-source framework for the layout and rendering of internationalized text. Pango is an offshoot of the GTK+ and GNOME projects, and the initial focus is operation in those environments, however there is nothing fundamentally GTK+ or GNOME specific about Pango. Pango uses Unicode for all of its encoding, and will eventually support output in all the worlds major languages."
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="yes"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-doc-cross-references \
- --disable-gtk-doc \
- --disable-man \
- --enable-debug=no \
- --with-xft"
diff --git a/packages/addons/addon-depends/pango/patches/pango-01_no-gtk-doc.patch b/packages/addons/addon-depends/pango/patches/pango-01_no-gtk-doc.patch
deleted file mode 100644
index 1a583b8406..0000000000
--- a/packages/addons/addon-depends/pango/patches/pango-01_no-gtk-doc.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Naur pango-1.38.1/configure.ac pango-1.38.1.patch/configure.ac
---- pango-1.38.1/configure.ac 2015-10-12 21:13:25.000000000 +0200
-+++ pango-1.38.1.patch/configure.ac 2015-11-14 23:14:05.714344868 +0100
-@@ -483,15 +483,6 @@
- dnl *** Checks for gtk-doc ***
- dnl **************************
-
--if $have_cairo ; then : ; else
-- if test x$enable_gtk_doc = xyes ; then
-- AC_MSG_WARN([Cairo not present, disabling doc building])
-- enable_gtk_doc=no
-- fi
--fi
--
--GTK_DOC_CHECK([1.15], [--flavour no-tmpl])
--
- AC_ARG_ENABLE(doc-cross-references,
- AC_HELP_STRING([--disable-doc-cross-references],
- [cross reference glib and cairo symbols @<:@default=yes@:>@]),
-@@ -606,7 +597,6 @@
- pango/pangoxft.rc
- pango-view/Makefile
- examples/Makefile
--docs/Makefile
- docs/version.xml
- tools/Makefile
- tests/Makefile
-diff -Naur pango-1.38.1/Makefile.am pango-1.38.1.patch/Makefile.am
---- pango-1.38.1/Makefile.am 2015-04-15 19:37:43.000000000 +0200
-+++ pango-1.38.1.patch/Makefile.am 2015-11-14 23:05:52.738361176 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to create Makefile.in.
-
--SUBDIRS= pango pango-view examples docs tools tests build
-+SUBDIRS= pango pango-view examples tools tests build
-
- EXTRA_DIST = \
- autogen.sh \
-@@ -38,7 +38,6 @@
- $(srcdir)/INSTALL \
- $(srcdir)/omf.make \
- $(srcdir)/xmldocs.make \
-- $(srcdir)/gtk-doc.make \
- $(srcdir)/ChangeLog
-
- ### ChangeLog generation
diff --git a/packages/addons/addon-depends/pango/patches/pango-02_meh.patch b/packages/addons/addon-depends/pango/patches/pango-02_meh.patch
deleted file mode 100644
index dc7b25d4e5..0000000000
--- a/packages/addons/addon-depends/pango/patches/pango-02_meh.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-diff -Naur pango-1.38.1/Makefile.am pango-1.38.1.patch/Makefile.am
---- pango-1.38.1/Makefile.am 2015-11-14 23:05:52.000000000 +0100
-+++ pango-1.38.1.patch/Makefile.am 2015-11-14 23:19:07.548943525 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to create Makefile.in.
-
--SUBDIRS= pango pango-view examples tools tests build
-+SUBDIRS= pango build
-
- EXTRA_DIST = \
- autogen.sh \
-diff -Naur pango-1.38.1/pango/Makefile.am pango-1.38.1.patch/pango/Makefile.am
---- pango-1.38.1/pango/Makefile.am 2015-09-01 00:47:11.000000000 +0200
-+++ pango-1.38.1.patch/pango/Makefile.am 2015-11-14 23:21:14.081145117 +0100
-@@ -31,7 +31,7 @@
- $(LIBTHAI_CFLAGS) \
- $(X_CFLAGS)
-
--BUILT_SOURCES = pango-enum-types.h pango-enum-types.c pango-features.h
-+BUILT_SOURCES = pango-features.h
-
- pangoincludedir=$(includedir)/pango-1.0/pango
-
-@@ -127,22 +127,6 @@
- pango-features.h \
- pango-enum-types.h
-
--pango-enum-types.h: s-enum-types-h
--s-enum-types-h: $(pango_headers) Makefile.am pango-enum-types.h.template
-- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
-- --template pango-enum-types.h.template \
-- $(pango_headers) ) > pango-enum-types.h.tmp \
-- && mv pango-enum-types.h.tmp pango-enum-types.h \
-- && echo timestamp > $@
--
--pango-enum-types.c: s-enum-types-c
--s-enum-types-c: $(pango_headers) Makefile.am pango-enum-types.c.template
-- $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
-- --template pango-enum-types.c.template \
-- $(pango_headers) ) > pango-enum-types.c.tmp \
-- && mv pango-enum-types.c.tmp pango-enum-types.c \
-- && echo timestamp > $@
--
- pango-features.h:
- $(AM_V_GEN) cd $(top_builddir) && ./config.status pango/pango-features.h
-
-diff -Naur pango-1.38.1/pango/pango-context.c pango-1.38.1.patch/pango/pango-context.c
---- pango-1.38.1/pango/pango-context.c 2015-09-13 17:05:39.000000000 +0200
-+++ pango-1.38.1.patch/pango/pango-context.c 2015-11-14 23:22:57.512225981 +0100
-@@ -38,6 +38,7 @@
-
- #include "pango-engine-private.h"
- #include "pango-script-private.h"
-+#include "pango-enum-types.h"
-
- /**
- * PangoContext:
-diff -Naur pango-1.38.1/pango/pangofc-font.c pango-1.38.1.patch/pango/pangofc-font.c
---- pango-1.38.1/pango/pangofc-font.c 2015-04-15 19:37:43.000000000 +0200
-+++ pango-1.38.1.patch/pango/pangofc-font.c 2015-11-14 23:23:49.840316980 +0100
-@@ -45,6 +45,7 @@
- #include "pango-engine.h"
- #include "pango-layout.h"
- #include "pango-impl-utils.h"
-+#include "pango-enum-types.h"
-
- #include
-
-diff -Naur pango-1.38.1/pango/pango-layout.c pango-1.38.1.patch/pango/pango-layout.c
---- pango-1.38.1/pango/pango-layout.c 2015-09-01 18:20:54.000000000 +0200
-+++ pango-1.38.1.patch/pango/pango-layout.c 2015-11-14 23:23:19.280262638 +0100
-@@ -77,6 +77,7 @@
- #include
-
- #include "pango-layout-private.h"
-+#include "pango-enum-types.h"
-
-
- typedef struct _Extents Extents;
diff --git a/packages/addons/addon-depends/pcsc-lite/package.mk b/packages/addons/addon-depends/pcsc-lite/package.mk
index 5f32bf2926..661b981c5f 100644
--- a/packages/addons/addon-depends/pcsc-lite/package.mk
+++ b/packages/addons/addon-depends/pcsc-lite/package.mk
@@ -1,38 +1,17 @@
-################################################################################
-# This file is part of LibreELEC - https://LibreELEC.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pcsc-lite"
-PKG_VERSION="1.8.16"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="1.8.23"
+PKG_SHA256="5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9"
PKG_LICENSE="GPL"
-PKG_SITE="http://pcsclite.alioth.debian.org/pcsclite.html"
-PKG_URL="https://alioth.debian.org/frs/download.php/file/4164/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
+PKG_SITE="https://pcsclite.apdu.fr"
+PKG_URL="https://pcsclite.apdu.fr/files/pcsc-lite-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libusb"
-PKG_SECTION="service/system"
-PKG_SHORTDESC="Middleware to access a smart card using SCard API (PC/SC)"
-PKG_LONGDESC="Middleware to access a smart card using SCard API (PC/SC)"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Middleware to access a smart card using SCard API (PC/SC)."
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--disable-libudev \
--enable-libusb \
- --enable-usbdropdir=/storage/.kodi/addons/service.system.pcscd-addon/drivers"
+ --enable-usbdropdir=/storage/.kodi/addons/service.pcscd/drivers"
diff --git a/packages/addons/addon-depends/pngquant/package.mk b/packages/addons/addon-depends/pngquant/package.mk
new file mode 100644
index 0000000000..f89a55f372
--- /dev/null
+++ b/packages/addons/addon-depends/pngquant/package.mk
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="pngquant"
+PKG_VERSION="2.12.0"
+PKG_SHA256="0e540c64bb58c05f2a05b4eaf1d3d165f0d3278500f15abfeac47f93f8fa8fa8"
+PKG_LICENSE="GPLv3"
+PKG_SITE="https://pngquant.org"
+PKG_URL="http://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
+PKG_DEPENDS_HOST="toolchain libpng:host zlib:host"
+PKG_LONGDESC="A lossy PNG compressor."
+
+configure_host() {
+ :
+}
+
+make_host() {
+ cd $PKG_BUILD
+ BIN=$PKG_BUILD/pngquant make
+
+ $STRIP $PKG_BUILD/pngquant
+}
+
+makeinstall_host() {
+ mkdir -p $TOOLCHAIN/bin
+ cp $PKG_BUILD/pngquant $TOOLCHAIN/bin
+}
diff --git a/packages/addons/addon-depends/protobuf/package.mk b/packages/addons/addon-depends/protobuf/package.mk
index 92a97cea7f..290734ff7f 100644
--- a/packages/addons/addon-depends/protobuf/package.mk
+++ b/packages/addons/addon-depends/protobuf/package.mk
@@ -1,35 +1,15 @@
-################################################################################
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="protobuf"
PKG_VERSION="3.1.0"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="51ceea9957c875bdedeb1f64396b5b0f3864fe830eed6a2d9c066448373ea2d6"
PKG_LICENSE="OSS"
PKG_SITE="https://developers.google.com/protocol-buffers/"
PKG_URL="https://github.com/google/$PKG_NAME/releases/download/v$PKG_VERSION/$PKG_NAME-cpp-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="toolchain zlib:host"
PKG_DEPENDS_TARGET="toolchain zlib protobuf:host"
-PKG_SECTION="devel"
-PKG_SHORTDESC="protobuf: Protocol Buffers - Google's data interchange format"
-PKG_LONGDESC="protobuf: Protocol Buffers - Google's data interchange format"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-PKG_CMAKE_SCRIPT="$ROOT/$PKG_BUILD/cmake/CMakeLists.txt"
+PKG_LONGDESC="Protocol Buffers for Google's data interchange format."
PKG_CMAKE_OPTS_HOST="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
-DBUILD_SHARED_LIBS=0 \
@@ -39,6 +19,10 @@ PKG_CMAKE_OPTS_HOST="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
PKG_CMAKE_OPTS_TARGET="$PKG_CMAKE_OPTS_HOST"
+configure_package() {
+ PKG_CMAKE_SCRIPT="$PKG_BUILD/cmake/CMakeLists.txt"
+}
+
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
diff --git a/packages/addons/addon-depends/python-libusb1/package.mk b/packages/addons/addon-depends/python-libusb1/package.mk
index 7538c898c0..ac7ce5dba3 100644
--- a/packages/addons/addon-depends/python-libusb1/package.mk
+++ b/packages/addons/addon-depends/python-libusb1/package.mk
@@ -1,41 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="python-libusb1"
-PKG_VERSION="1.5.3"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.6.4"
+PKG_SHA256="e4876dff281f948cdb57a44535627299c2333e6933fa06bfbc60c26cecd12fb1"
PKG_LICENSE="LGPL"
PKG_SITE="https://github.com/vpelletier/python-libusb1"
PKG_URL="https://github.com/vpelletier/$PKG_NAME/archive/$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_PRIORITY="optional"
-PKG_SECTION="python"
-PKG_SHORTDESC="Pure-python wrapper for libusb-1.0"
-PKG_LONGDESC="Pure-python wrapper for libusb-1.0"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="A pure-python wrapper for libusb-1.0."
+PKG_TOOLCHAIN="manual"
make_target() {
python setup.py build
}
-
-makeinstall_target() {
- :
-}
diff --git a/packages/addons/addon-depends/qtbase/package.mk b/packages/addons/addon-depends/qtbase/package.mk
index f7db62fe2e..c8a6583281 100644
--- a/packages/addons/addon-depends/qtbase/package.mk
+++ b/packages/addons/addon-depends/qtbase/package.mk
@@ -1,36 +1,18 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
PKG_NAME="qtbase"
PKG_VERSION="5.6.2"
-PKG_ARCH="any"
+PKG_SHA256="2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787"
PKG_LICENSE="GPL"
PKG_SITE="http://qt-project.org"
PKG_URL="http://download.qt.io/official_releases/qt/5.6/$PKG_VERSION/submodules/$PKG_NAME-opensource-src-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="pcre zlib"
-PKG_SOURCE_DIR="$PKG_NAME-opensource-src-$PKG_VERSION"
-PKG_SHORTDESC="A cross-platform application and UI framework"
-PKG_LONGDESC="A cross-platform application and UI framework"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A cross-platform application and UI framework."
PKG_CONFIGURE_OPTS_TARGET="-prefix /usr
-sysroot $SYSROOT_PREFIX
- -hostprefix $ROOT/$TOOLCHAIN
+ -hostprefix $TOOLCHAIN
-device linux-libreelec-g++
-opensource -confirm-license
-release
diff --git a/packages/addons/addon-depends/qtbase/patches/qtbase-001-stdlib-error.patch b/packages/addons/addon-depends/qtbase/patches/qtbase-001-stdlib-error.patch
new file mode 100644
index 0000000000..2b6f680f5b
--- /dev/null
+++ b/packages/addons/addon-depends/qtbase/patches/qtbase-001-stdlib-error.patch
@@ -0,0 +1,111 @@
+From 9f3efa796acb97ea4887468f1e8136e2e0711118 Mon Sep 17 00:00:00 2001
+From: Peter Levine
+Date: Fri, 13 May 2016 20:04:00 -0400
+Subject: [PATCH] Remove -isystem from qmake due to QTBUG-53375
+
+Change-Id: If0595fc2f209a48585e7e9b9a61f11c0d4e0664f
+---
+ mkspecs/common/clang.conf | 1 -
+ mkspecs/common/gcc-base.conf | 1 -
+ mkspecs/linux-icc/qmake.conf | 1 -
+ qmake/generators/unix/unixmake2.cpp | 14 +++-----------
+ qmake/generators/win32/mingw_make.cpp | 8 +-------
+ 5 files changed, 4 insertions(+), 21 deletions(-)
+
+diff --git a/mkspecs/common/clang.conf b/mkspecs/common/clang.conf
+index ee9c1b8..fbe370e 100644
+--- a/mkspecs/common/clang.conf
++++ b/mkspecs/common/clang.conf
+@@ -16,7 +16,6 @@ QMAKE_LINK_SHLIB = $$QMAKE_CXX
+ CONFIG += clang_pch_style
+ QMAKE_PCH_OUTPUT_EXT = .pch
+
+-QMAKE_CFLAGS_ISYSTEM = -isystem
+ QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+ QMAKE_CFLAGS_USE_PRECOMPILE = -Xclang -include-pch -Xclang ${QMAKE_PCH_OUTPUT}
+ QMAKE_CFLAGS_LTCG = -flto
+diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf
+index 6e043f5..df8d314 100644
+--- a/mkspecs/common/gcc-base.conf
++++ b/mkspecs/common/gcc-base.conf
+@@ -44,7 +44,6 @@ QMAKE_CFLAGS_DEBUG += -g
+ QMAKE_CFLAGS_SHLIB += -fPIC
+ QMAKE_CFLAGS_STATIC_LIB += -fPIC
+ QMAKE_CFLAGS_APP += -fPIC
+-QMAKE_CFLAGS_ISYSTEM = -isystem
+ QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses
+ QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
+ QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions
+diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf
+index 495fd15..935833b 100644
+--- a/mkspecs/linux-icc/qmake.conf
++++ b/mkspecs/linux-icc/qmake.conf
+@@ -21,7 +21,6 @@ QMAKE_CFLAGS_DEBUG = -O0 -g
+ QMAKE_CFLAGS_SHLIB = -fPIC
+ QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
+ QMAKE_CFLAGS_YACC =
+-QMAKE_CFLAGS_ISYSTEM = -isystem
+ QMAKE_CFLAGS_THREAD = -D_REENTRANT
+ QMAKE_CFLAGS_SPLIT_SECTIONS = -ffunction-sections
+ QMAKE_CFLAGS_LTCG = -ipo -fno-fat-lto-objects
+diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
+index 9312f19..009a674 100644
+--- a/qmake/generators/unix/unixmake2.cpp
++++ b/qmake/generators/unix/unixmake2.cpp
+@@ -176,16 +176,10 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
+ t << "CXXFLAGS = " << var("QMAKE_CXXFLAGS") << " $(DEFINES)\n";
+ t << "INCPATH =";
+ {
+- QString isystem = var("QMAKE_CFLAGS_ISYSTEM");
+ const ProStringList &incs = project->values("INCLUDEPATH");
+ for(int i = 0; i < incs.size(); ++i) {
+ const ProString &inc = incs.at(i);
+- if (inc.isEmpty())
+- continue;
+-
+- if (!isystem.isEmpty() && isSystemInclude(inc.toQString()))
+- t << ' ' << isystem << ' ';
+- else
++ if (!inc.isEmpty())
+ t << " -I";
+ t << escapeFilePath(inc);
+ }
+@@ -1328,10 +1322,8 @@ void UnixMakefileGenerator::init2()
+ }
+
+ if (include_deps && project->isActiveConfig("gcc_MD_depends")) {
+- // use -MMD if we know about -isystem too
+- ProString MD_flag(project->values("QMAKE_CFLAGS_ISYSTEM").isEmpty() ? "-MD" : "-MMD");
+- project->values("QMAKE_CFLAGS") += MD_flag;
+- project->values("QMAKE_CXXFLAGS") += MD_flag;
++ project->values("QMAKE_CFLAGS") += "-MD";
++ project->values("QMAKE_CXXFLAGS") += "-MD";
+ }
+ }
+
+diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
+index 382b10c..c9eebd8 100644
+--- a/qmake/generators/win32/mingw_make.cpp
++++ b/qmake/generators/win32/mingw_make.cpp
+@@ -249,17 +249,11 @@ void MingwMakefileGenerator::writeIncPart(QTextStream &t)
+ {
+ t << "INCPATH = ";
+
+- QString isystem = var("QMAKE_CFLAGS_ISYSTEM");
+ const ProStringList &incs = project->values("INCLUDEPATH");
+ for (ProStringList::ConstIterator incit = incs.begin(); incit != incs.end(); ++incit) {
+ QString inc = (*incit).toQString();
+ inc.replace(QRegExp("\\\\$"), "");
+-
+- if (!isystem.isEmpty() && isSystemInclude(inc))
+- t << isystem << ' ';
+- else
+- t << "-I";
+- t << escapeFilePath(inc) << ' ';
++ t << "-I" << escapeFilePath(inc) << ' ';
+ }
+ t << endl;
+ }
+--
+2.7.4
+
diff --git a/packages/addons/addon-depends/rpi-tools-depends/RPi.GPIO/package.mk b/packages/addons/addon-depends/rpi-tools-depends/RPi.GPIO/package.mk
index 5ca687cb86..9c14058079 100644
--- a/packages/addons/addon-depends/rpi-tools-depends/RPi.GPIO/package.mk
+++ b/packages/addons/addon-depends/rpi-tools-depends/RPi.GPIO/package.mk
@@ -1,44 +1,23 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="RPi.GPIO"
-PKG_VERSION="0.6.2"
-PKG_REV="1"
+PKG_VERSION="0.6.3"
+PKG_SHA256="a5fc0eb5e401963b6c0a03650da6b42c4005f02d962b81241d96c98d0a578516"
PKG_ARCH="arm"
PKG_LICENSE="MIT"
PKG_SITE="http://sourceforge.net/p/raspberry-gpio-python/"
-PKG_URL="https://pypi.python.org/packages/source/R/RPi.GPIO/$PKG_NAME-$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host"
-PKG_SECTION="python"
-PKG_SHORTDESC="A module to control Raspberry Pi GPIO channels"
-PKG_LONGDESC="A module to control Raspberry Pi GPIO channels"
-PKG_AUTORECONF="no"
+PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
+PKG_LONGDESC="A module to control Raspberry Pi GPIO channels."
+PKG_TOOLCHAIN="manual"
pre_configure_target() {
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDSHARED="$CC -shared"
- export CPPFLAGS="$TARGET_CPPFLAGS -I${SYSROOT_PREFIX}/usr/include/python2.7"
+ export CPPFLAGS="$TARGET_CPPFLAGS -I${SYSROOT_PREFIX}/usr/include/$PKG_PYTHON_VERSION"
}
make_target() {
python setup.py build
}
-
-makeinstall_target() {
- : # nop
-}
diff --git a/packages/addons/addon-depends/rpi-tools-depends/gpiozero/package.mk b/packages/addons/addon-depends/rpi-tools-depends/gpiozero/package.mk
index c1c308c339..ddf863eaf3 100644
--- a/packages/addons/addon-depends/rpi-tools-depends/gpiozero/package.mk
+++ b/packages/addons/addon-depends/rpi-tools-depends/gpiozero/package.mk
@@ -1,38 +1,13 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gpiozero"
-PKG_VERSION="1.2.0"
-PKG_REV="1"
+PKG_VERSION="1.4.1"
+PKG_SHA256="b4b074e56dea12c21b05e6feef792719a392a245f5e685bc56be3dc2546f8609"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/RPi-Distro/python-gpiozero"
-PKG_URL="https://pypi.python.org/packages/source/g/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="python"
-PKG_SHORTDESC="A simple interface to everyday GPIO components used with Raspberry Pi"
-PKG_LONGDESC="A simple interface to everyday GPIO components used with Raspberry Pi"
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_LONGDESC="A simple interface to everyday GPIO components used with Raspberry Pi."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/rpi-tools-depends/lan951x-led-ctl/package.mk b/packages/addons/addon-depends/rpi-tools-depends/lan951x-led-ctl/package.mk
new file mode 100644
index 0000000000..a768a2185b
--- /dev/null
+++ b/packages/addons/addon-depends/rpi-tools-depends/lan951x-led-ctl/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="lan951x-led-ctl"
+PKG_VERSION="1.0"
+PKG_SHA256="27d607d3c5c7b142681dcd9fd0afecb7fcb052abfaffc330b28906f782e602f3"
+PKG_ARCH="arm"
+PKG_LICENSE="GPL"
+PKG_SITE="https://mockmoon-cybernetics.ch/computer/raspberry-pi/lan951x-led-ctl/"
+PKG_URL="https://mockmoon-cybernetics.ch/cgi/cgit/lan951x-led-ctl.git/snapshot/lan951x-led-ctl-$PKG_VERSION.tar.xz"
+PKG_DEPENDS_TARGET="toolchain libusb"
+PKG_LONGDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers."
+PKG_TOOLCHAIN="manual"
+
+make_target() {
+ $CC -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion \
+ -Wmissing-prototypes -Wshadow -Wextra -Wunused \
+ $CFLAGS -lusb-1.0 $LDFLAGS -o lan951x-led-ctl src/lan951x-led-ctl.c
+
+ $STRIP lan951x-led-ctl
+}
diff --git a/packages/addons/addon-depends/rpi-tools-depends/picamera/package.mk b/packages/addons/addon-depends/rpi-tools-depends/picamera/package.mk
index bb76209c44..2ea4f9ae7d 100644
--- a/packages/addons/addon-depends/rpi-tools-depends/picamera/package.mk
+++ b/packages/addons/addon-depends/rpi-tools-depends/picamera/package.mk
@@ -1,38 +1,13 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="picamera"
-PKG_VERSION="1.10"
-PKG_REV="1"
+PKG_VERSION="1.13"
+PKG_SHA256="890815aa01e4d855a6a95dd3ad0953b872a6b954982106407df0c5a31a163e50"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/waveform80/picamera"
-PKG_URL="https://pypi.python.org/packages/source/p/picamera/$PKG_NAME-$PKG_VERSION.tar.gz"
-PKG_DEPENDS_TARGET="toolchain Python distutilscross:host bcm2835-driver"
-PKG_SECTION="python"
-PKG_SHORTDESC="A python and shell interface for the Raspberry Pi camera module"
-PKG_LONGDESC="A python and shell interface for the Raspberry Pi camera module"
-PKG_AUTORECONF="no"
-
-make_target() {
- : # nop
-}
-
-makeinstall_target() {
- : # nop
-}
+PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host bcm2835-driver"
+PKG_LONGDESC="A python and shell interface for the Raspberry Pi camera module."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/rpi_ws281x/package.mk b/packages/addons/addon-depends/rpi_ws281x/package.mk
index 7e0dcb23d6..d3a183075d 100644
--- a/packages/addons/addon-depends/rpi_ws281x/package.mk
+++ b/packages/addons/addon-depends/rpi_ws281x/package.mk
@@ -1,40 +1,12 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rpi_ws281x"
-PKG_VERSION="3e6ea50"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE=""
+PKG_VERSION="6c5ade9"
+PKG_SHA256="e8fb94429edc21cfd894548755a417eb5b2e121329f4b54270cfb3f727696e21"
+PKG_LICENSE="BSD-3c"
PKG_SITE="https://github.com/hyperion-project/rpi_ws281x"
PKG_URL="https://github.com/hyperion-project/rpi_ws281x/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION=""
-PKG_SHORTDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
-PKG_LONGDESC="Userspace Raspberry Pi PWM library for WS281X LEDs"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
-
-make_target() {
- :
-}
-
-makeinstall_target() {
- :
-}
+PKG_LONGDESC="Userspace Raspberry Pi PWM library for WS281X LEDs."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/rsyslog-depends/libestr/package.mk b/packages/addons/addon-depends/rsyslog-depends/libestr/package.mk
index 07c4f728c5..8743942fcf 100644
--- a/packages/addons/addon-depends/rsyslog-depends/libestr/package.mk
+++ b/packages/addons/addon-depends/rsyslog-depends/libestr/package.mk
@@ -1,36 +1,17 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libestr"
PKG_VERSION="0.1.10"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_SHA256="e8756b071540314abef25c044f893d6b5d249e46709329a4b3e7361403c29a1e"
PKG_LICENSE="GPL"
-PKG_SITE="http://libestr.adiscon.com/"
-PKG_URL="http://libestr.adiscon.com/files/download/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_SITE="http://libestr.adiscon.com"
+PKG_URL="https://github.com/rsyslog/libestr/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="rsyslog"
-PKG_SHORTDESC="libestr: some essentials for string handling (and a bit more)"
-PKG_LONGDESC="libestr: some essentials for string handling (and a bit more)"
+PKG_TOOLCHAIN="autotools"
+PKG_LONGDESC="Some essentials for string handling."
-PKG_AUTORECONF="no"
-PKG_IS_ADDON="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
diff --git a/packages/addons/addon-depends/rsyslog-depends/libfastjson/package.mk b/packages/addons/addon-depends/rsyslog-depends/libfastjson/package.mk
index 5c3819c965..2f202ca63e 100644
--- a/packages/addons/addon-depends/rsyslog-depends/libfastjson/package.mk
+++ b/packages/addons/addon-depends/rsyslog-depends/libfastjson/package.mk
@@ -1,36 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libfastjson"
-PKG_VERSION="0.99.0"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="0.99.8"
+PKG_SHA256="3544c757668b4a257825b3cbc26f800f59ef3c1ff2a260f40f96b48ab1d59e07"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.rsyslog.com/tag/libfastjson/"
+PKG_SITE="http://www.rsyslog.com/tag/libfastjson"
PKG_URL="http://download.rsyslog.com/libfastjson/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="rsyslog"
-PKG_SHORTDESC="libfastjson"
-PKG_LONGDESC="libfastjson"
+PKG_LONGDESC="A fast json library for C."
-PKG_AUTORECONF="no"
-PKG_IS_ADDON="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
diff --git a/packages/addons/addon-depends/rsyslog-depends/liblogging/package.mk b/packages/addons/addon-depends/rsyslog-depends/liblogging/package.mk
index 75bf48e285..c315fcba01 100644
--- a/packages/addons/addon-depends/rsyslog-depends/liblogging/package.mk
+++ b/packages/addons/addon-depends/rsyslog-depends/liblogging/package.mk
@@ -1,36 +1,17 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="liblogging"
-PKG_VERSION="1.0.5"
-PKG_REV="100"
-PKG_ARCH="any"
+PKG_VERSION="1.0.6"
+PKG_SHA256="338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.liblogging.org/"
+PKG_SITE="http://www.liblogging.org"
PKG_URL="http://download.rsyslog.com/liblogging/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd"
-PKG_SHORTDESC="liblogging"
-PKG_LONGDESC="liblogging"
+PKG_LONGDESC="An easy to use and lightweight signal-safe logging library."
-PKG_AUTORECONF="no"
-PKG_IS_ADDON="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-man-pages \
- --enable-static --disable-shared \
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
+ --disable-man-pages \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
diff --git a/packages/addons/addon-depends/rsyslog-depends/liblognorm/package.mk b/packages/addons/addon-depends/rsyslog-depends/liblognorm/package.mk
index 03aa8fc77a..737648d68d 100644
--- a/packages/addons/addon-depends/rsyslog-depends/liblognorm/package.mk
+++ b/packages/addons/addon-depends/rsyslog-depends/liblognorm/package.mk
@@ -1,36 +1,17 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="liblognorm"
-PKG_VERSION="2.0.1"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="2.0.5"
+PKG_SHA256="dd779b6992de37995555e1d54caf0716a694765efc65480eed2c713105ab46fe"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.liblognorm.com/"
-PKG_URL="http://www.liblognorm.com/files/download/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_SITE="http://www.liblognorm.com"
+PKG_URL="https://github.com/rsyslog/liblognorm/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="rsyslog"
-PKG_SHORTDESC="liblognorm"
-PKG_LONGDESC="liblognorm"
+PKG_TOOLCHAIN="autotools"
+PKG_LONGDESC="A fast samples-based log normalization library."
-PKG_AUTORECONF="no"
-PKG_IS_ADDON="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
diff --git a/packages/addons/addon-depends/rsyslog-depends/librelp/package.mk b/packages/addons/addon-depends/rsyslog-depends/librelp/package.mk
index 20a9cc9f97..55ae72d95a 100644
--- a/packages/addons/addon-depends/rsyslog-depends/librelp/package.mk
+++ b/packages/addons/addon-depends/rsyslog-depends/librelp/package.mk
@@ -1,37 +1,19 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="librelp"
-PKG_VERSION="1.2.12"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.2.17"
+PKG_SHA256="1bf88b9decdbcaf06454ea1362455aa5ceccbcce282f07a4dc95e6911da4cbf0"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.librelp.com/"
+PKG_SITE="http://www.librelp.com"
PKG_URL="http://download.rsyslog.com/librelp/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="rsyslog"
-PKG_SHORTDESC="librelp"
-PKG_LONGDESC="librelp"
+PKG_LONGDESC="Provides reliable event logging over the network."
+PKG_TOOLCHAIN="autotools"
+PKG_BUILD_FLAGS="+pic"
-PKG_AUTORECONF="no"
-PKG_IS_ADDON="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-tls \
- --enable-static --disable-shared \
+PKG_CONFIGURE_OPTS_TARGET="--enable-static \
+ --disable-shared \
+ --disable-tls \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
diff --git a/packages/addons/addon-depends/runc/package.mk b/packages/addons/addon-depends/runc/package.mk
index a9d5791dc4..75cf5fd170 100644
--- a/packages/addons/addon-depends/runc/package.mk
+++ b/packages/addons/addon-depends/runc/package.mk
@@ -1,35 +1,16 @@
-################################################################################
-# This file is part of LibreELEC - https://libreelec.tv
-# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv)
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="runc"
-PKG_VERSION="02f8fa7"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="96ec2177ae841256168fcf76954f7177af9446eb"
+PKG_SHA256="96040a78008abad13b412863813011f4cbe55407e513acad1d8509f4ab9b39cd"
PKG_LICENSE="APL"
PKG_SITE="https://github.com/opencontainers/runc"
PKG_URL="https://github.com/opencontainers/runc/archive/${PKG_VERSION}.tar.gz"
-PKG_DEPENDS_HOST="toolchain go"
-PKG_SECTION="system"
-PKG_SHORTDESC="runc is a CLI tool for spawning and running containers according to the OCI specification"
-PKG_LONGDESC="runc is a CLI tool for spawning and running containers according to the OCI specification"
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain go:host"
+PKG_LONGDESC="A CLI tool for spawning and running containers according to the OCI specification."
+PKG_TOOLCHAIN="manual"
pre_make_target() {
case $TARGET_ARCH in
@@ -43,9 +24,9 @@ pre_make_target() {
arm1176jzf-s)
export GOARM=6
;;
- cortex-a7)
- export GOARM=7
- ;;
+ *)
+ export GOARM=7
+ ;;
esac
;;
aarch64)
@@ -57,20 +38,21 @@ pre_make_target() {
export CGO_ENABLED=1
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
- export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -extld $CC"
- export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
- export GOPATH=$ROOT/$PKG_BUILD.gopath:$ROOT/$PKG_BUILD/Godeps/_workspace/
- export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
+ export LDFLAGS="-w -extldflags -static -X main.gitCommit=${PKG_VERSION} -X main.version=$(cat ./VERSION) -extld $CC"
+ export GOLANG=$TOOLCHAIN/lib/golang/bin/go
+ export GOPATH=$PKG_BUILD/.gopath
+ export GOROOT=$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
- ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/Godeps/_workspace/src/github.com/opencontainers/runc
+ mkdir -p $PKG_BUILD/.gopath
+ if [ -d $PKG_BUILD/vendor ]; then
+ mv $PKG_BUILD/vendor $PKG_BUILD/.gopath/src
+ fi
+
+ ln -fs $PKG_BUILD $PKG_BUILD/.gopath/src/github.com/opencontainers/runc
}
make_target() {
mkdir -p bin
$GOLANG build -v -o bin/runc -a -tags "cgo static_build" -ldflags "$LDFLAGS" ./
}
-
-makeinstall_target() {
- :
-}
diff --git a/packages/addons/addon-depends/runc/patches/runc-001-reenable-systemd-on-static-build.patch b/packages/addons/addon-depends/runc/patches/runc-001-reenable-systemd-on-static-build.patch
new file mode 100644
index 0000000000..8122b6f660
--- /dev/null
+++ b/packages/addons/addon-depends/runc/patches/runc-001-reenable-systemd-on-static-build.patch
@@ -0,0 +1,20 @@
+diff --git a/libcontainer/cgroups/systemd/apply_nosystemd.go b/libcontainer/cgroups/systemd/apply_nosystemd.go
+index a65d8e44..b897564c 100644
+--- a/libcontainer/cgroups/systemd/apply_nosystemd.go
++++ b/libcontainer/cgroups/systemd/apply_nosystemd.go
+@@ -1,4 +1,4 @@
+-// +build !linux static_build
++// +build !linux
+
+ package systemd
+
+diff --git a/libcontainer/cgroups/systemd/apply_systemd.go b/libcontainer/cgroups/systemd/apply_systemd.go
+index d9d8302d..de89ccbe 100644
+--- a/libcontainer/cgroups/systemd/apply_systemd.go
++++ b/libcontainer/cgroups/systemd/apply_systemd.go
+@@ -1,4 +1,4 @@
+-// +build linux,!static_build
++// +build linux
+
+ package systemd
+
diff --git a/packages/addons/addon-depends/scrnsaverproto/package.mk b/packages/addons/addon-depends/scrnsaverproto/package.mk
deleted file mode 100644
index 6f0bbff676..0000000000
--- a/packages/addons/addon-depends/scrnsaverproto/package.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-################################################################################
-# This file is part of OpenELEC - http://www.openelec.tv
-# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
-#
-# OpenELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# OpenELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with OpenELEC. If not, see .
-################################################################################
-
-PKG_NAME="scrnsaverproto"
-PKG_VERSION="1.2.2"
-PKG_REV="1"
-PKG_ARCH="any"
-PKG_LICENSE="GPL"
-PKG_SITE="http://xorg.freedesktop.org/"
-PKG_URL="http://xorg.freedesktop.org/releases/individual/proto/$PKG_NAME-$PKG_VERSION.tar.bz2"
-PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="x11/proto"
-PKG_SHORTDESC=""
-PKG_LONGDESC=""
-
-PKG_IS_ADDON="no"
-PKG_AUTORECONF="no"
diff --git a/packages/addons/addon-depends/snapcast-depends/aixlog/package.mk b/packages/addons/addon-depends/snapcast-depends/aixlog/package.mk
new file mode 100644
index 0000000000..ba427a0b72
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/aixlog/package.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="aixlog"
+PKG_VERSION="1.2.1"
+PKG_SHA256="3ed6f47b3658607edfd94faf98034d31906b0f04f3fe4355e87a16f8dd582384"
+PKG_LICENSE="MIT"
+PKG_SITE="https://github.com/badaix/aixlog"
+PKG_URL="https://github.com/badaix/aixlog/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Header-only C++ logging library."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/snapcast-depends/alsa-plugins/package.mk b/packages/addons/addon-depends/snapcast-depends/alsa-plugins/package.mk
new file mode 100644
index 0000000000..5f84136b01
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/alsa-plugins/package.mk
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="alsa-plugins"
+PKG_VERSION="1.1.8"
+PKG_SHA256="7f77df171685ccec918268477623a39db4d9f32d5dc5e76874ef2467a2405994"
+PKG_LICENSE="GPL"
+PKG_SITE="http://www.alsa-project.org/"
+PKG_URL="ftp://ftp.alsa-project.org/pub/plugins/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_DEPENDS_TARGET="toolchain alsa-lib"
+PKG_LONGDESC="Alsa plugins."
+
+if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
+ PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pulseaudio"
+ SUBDIR_PULSEAUDIO="pulse"
+fi
+
+PKG_CONFIGURE_OPTS_TARGET="--with-plugindir=/usr/lib/alsa"
+PKG_MAKE_OPTS_TARGET="SUBDIRS=$SUBDIR_PULSEAUDIO"
+PKG_MAKEINSTALL_OPTS_TARGET="SUBDIRS=$SUBDIR_PULSEAUDIO"
diff --git a/packages/addons/addon-depends/snapcast-depends/asio/package.mk b/packages/addons/addon-depends/snapcast-depends/asio/package.mk
new file mode 100644
index 0000000000..fddf1d820c
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/asio/package.mk
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="asio"
+PKG_VERSION="1-12-0"
+PKG_SHA256="3b3f2e38ac18f9a20a405c0852c90e8b637b7733c520829ddc80937d2ee7a5ec"
+PKG_LICENSE="BSL"
+PKG_SITE="http://think-async.com/Asio"
+PKG_URL="https://github.com/chriskohlhoff/asio/archive/asio-$PKG_VERSION.zip"
+PKG_SOURCE_DIR="asio-asio-$PKG_VERSION"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Asio C++ Library."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/snapcast-depends/popl/package.mk b/packages/addons/addon-depends/snapcast-depends/popl/package.mk
new file mode 100644
index 0000000000..d8ae0c8673
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/popl/package.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="popl"
+PKG_VERSION="1.2.0"
+PKG_SHA256="dee63eed9bac3da9ec0008902c7ec72caa319461b20fc116e57e45948671a0bf"
+PKG_LICENSE="GPLv3"
+PKG_SITE="https://github.com/badaix/popl"
+PKG_URL="https://github.com/badaix/popl/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="Header-only C++ program options parser library."
+PKG_TOOLCHAIN="manual"
diff --git a/packages/addons/addon-depends/snapcast-depends/shairport-sync/package.mk b/packages/addons/addon-depends/snapcast-depends/shairport-sync/package.mk
new file mode 100644
index 0000000000..987c2dd275
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/shairport-sync/package.mk
@@ -0,0 +1,26 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="shairport-sync"
+PKG_VERSION="3.2"
+PKG_SHA256="18e9343d4bd8ff70674ff3ecdaf7312dd90e716cac2826a4266c95e08ca305bc"
+PKG_LICENSE="OSS"
+PKG_SITE="https://github.com/mikebrady/shairport-sync"
+PKG_URL="https://github.com/mikebrady/shairport-sync/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain alsa-lib avahi libconfig libdaemon openssl popt pulseaudio soxr"
+PKG_LONGDESC="AirPlay audio player."
+PKG_TOOLCHAIN="autotools"
+
+PKG_CONFIGURE_OPTS_TARGET="--with-alsa \
+ --with-avahi \
+ --with-convolution \
+ --with-metadata \
+ --with-pa \
+ --with-pipe \
+ --with-soxr \
+ --with-ssl=openssl \
+ --with-stdout"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/snapcast-depends/snapcast/package.mk b/packages/addons/addon-depends/snapcast-depends/snapcast/package.mk
new file mode 100644
index 0000000000..6bfb6dd7d4
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/snapcast/package.mk
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="snapcast"
+PKG_VERSION="0.15.0"
+PKG_SHA256="7c584fad4941a299339fe060174e33c4d810b1cbe80d6efbee54da3dafb252cc"
+PKG_LICENSE="GPLv3"
+PKG_SITE="https://github.com/badaix/snapcast"
+PKG_URL="https://github.com/badaix/snapcast/archive/v$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain aixlog alsa-lib asio avahi flac libvorbis popl"
+PKG_LONGDESC="Synchronous multi-room audio player."
+PKG_TOOLCHAIN="make"
+
+pre_configure_target() {
+ cd ..
+ rm -rf .$TARGET_NAME
+ CXXFLAGS="$CXXFLAGS -pthread \
+ -I$(get_build_dir aixlog)/include \
+ -I$(get_build_dir asio)/asio/include \
+ -I$(get_build_dir popl)/include"
+}
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/snapcast-depends/snapcast/patches/snapcast-01_makefiles.patch b/packages/addons/addon-depends/snapcast-depends/snapcast/patches/snapcast-01_makefiles.patch
new file mode 100644
index 0000000000..2ae5c85dbd
--- /dev/null
+++ b/packages/addons/addon-depends/snapcast-depends/snapcast/patches/snapcast-01_makefiles.patch
@@ -0,0 +1,29 @@
+--- snapcast-0.14.0/client/Makefile 2018-04-27 19:43:25.000000000 +0200
++++ snapcast-0.14.0.makefiles/client/Makefile 2018-05-21 13:14:12.388757526 +0200
+@@ -78,10 +78,8 @@
+
+ else
+
+-CXX = g++
+-STRIP = strip
+ CXXFLAGS += -pthread -DHAS_VORBIS -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON
+-LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -static-libgcc -static-libstdc++ -latomic
++LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -logg
+ OBJ += ../common/daemon.o player/alsaPlayer.o browseZeroConf/browseAvahi.o
+
+ endif
+diff -Naur snapcast-0.14.0/server/Makefile snapcast-0.14.0.makefiles/server/Makefile
+--- snapcast-0.14.0/server/Makefile 2018-04-27 19:43:25.000000000 +0200
++++ snapcast-0.14.0.makefiles/server/Makefile 2018-05-21 13:14:56.881206277 +0200
+@@ -84,10 +84,8 @@
+
+ else
+
+-CXX = g++
+-STRIP = strip
+ CXXFLAGS += -DHAS_AVAHI -DHAS_DAEMON -pthread
+-LDFLAGS += -lrt -lavahi-client -lavahi-common -static-libgcc -static-libstdc++
++LDFLAGS += -lrt -lavahi-client -lavahi-common -logg
+ OBJ += ../common/daemon.o publishZeroConf/publishAvahi.o
+
+ endif
diff --git a/packages/addons/addon-depends/system-tools-depends/autossh/package.mk b/packages/addons/addon-depends/system-tools-depends/autossh/package.mk
index de6e249d5a..522a417bd5 100644
--- a/packages/addons/addon-depends/system-tools-depends/autossh/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/autossh/package.mk
@@ -1,41 +1,23 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="autossh"
-PKG_VERSION="1.4e"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="1.4g"
+PKG_SHA256="5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277"
PKG_LICENSE="GPL"
PKG_SITE="http://www.harding.motd.ca/"
-PKG_URL="http://www.harding.motd.ca/autossh/${PKG_NAME}-${PKG_VERSION}.tgz"
+PKG_URL="http://www.harding.motd.ca/autossh/autossh-${PKG_VERSION}.tgz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="ssh tool"
-PKG_LONGDESC="SSH tool to keep alive tunnels"
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="Automatically restart SSH sessions and tunnels."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes"
-
+
pre_configure_target() {
export CFLAGS="$CFLAGS -I."
}
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/efivar/package.mk b/packages/addons/addon-depends/system-tools-depends/depends/efivar/package.mk
index 273297d91c..e574cf0285 100644
--- a/packages/addons/addon-depends/system-tools-depends/depends/efivar/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/depends/efivar/package.mk
@@ -1,42 +1,22 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="efivar"
-PKG_VERSION="70e63d4" # 0.15 # Todo: later versions with buildproblems
-PKG_REV="0"
+PKG_VERSION="3e687d8072f3ed53ae727ec2cb99ae56dbcdf02b"
+PKG_SHA256="810d386c9f4dafc160c721ef73e491c933c311e3df768e27eec50c28ac0f4d97"
PKG_ARCH="x86_64"
PKG_LICENSE="LGPL"
-PKG_SITE="https://github.com/vathpela/efivar"
-PKG_URL="https://github.com/vathpela/efivar-devel/archive/$PKG_VERSION.tar.gz"
-PKG_SOURCE_DIR="efivar-devel-$PKG_VERSION*"
+PKG_SITE="https://github.com/rhboot/efivar"
+PKG_URL="https://github.com/rhboot/efivar/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain efivar:host"
-PKG_SECTION="tools"
-PKG_SHORTDESC="evivar: maniulate EFI Variables"
PKG_LONGDESC="Tools and library to manipulate EFI variables."
-PKG_AUTORECONF="no"
make_host() {
- make -C src/ makeguids
+ make -C src/ include/efivar/efivar-guids.h
}
make_target() {
- strip_lto
- make -C src/ libefivar.a efivar-guids.h efivar.h
+ make -C src/ libefivar.a libefiboot.a efivar.h efivar
}
makeinstall_host() {
@@ -45,10 +25,8 @@ makeinstall_host() {
makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/lib
- cp -P src/libefivar.a $SYSROOT_PREFIX/usr/lib/
+ cp -P src/libefivar.a src/libefiboot.a $SYSROOT_PREFIX/usr/lib/
mkdir -p $SYSROOT_PREFIX/usr/include/efivar
- cp -P src/efivar.h $SYSROOT_PREFIX/usr/include/efivar
- cp -P src/efivar-guids.h $SYSROOT_PREFIX/usr/include/efivar
+ cp -P src/include/efivar/*.h $SYSROOT_PREFIX/usr/include/efivar
}
-
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-static_lib.patch b/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-static_lib.patch
new file mode 100644
index 0000000000..5abebf9593
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-static_lib.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile 2018-10-01 21:30:06.000000000 +0200
++++ b/src/Makefile 2018-10-17 14:16:46.000000000 +0200
+@@ -69,7 +69,7 @@ libefivar.so : | $(GENERATED_SOURCES) li
+ libefivar.so : LIBS=dl
+ libefivar.so : MAP=libefivar.map
+
+-efivar : efivar.c | libefivar.so
++efivar : efivar.c | libefivar.a
+ efivar : LIBS=efivar dl
+
+ efivar-static : efivar.c $(patsubst %.o,%.static.o,$(LIBEFIVAR_OBJECTS))
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-makeguids-allocate-fix.patch b/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-makeguids-allocate-fix.patch
deleted file mode 100644
index e6716c923b..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-makeguids-allocate-fix.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-fix for
-
-./makeguids guids.txt guids.bin names.bin guid-symbols.S efivar-guids.h
-makeguids: malloc.c:2395: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
-
---- a/src/makeguids.c 2014-10-15 06:48:49.000000000 -0700
-+++ b/src/makeguids.c 2016-05-05 05:40:35.964612900 -0700
-@@ -99,10 +99,8 @@
- if (rc < 0)
- err(1, "makeguids: could not read \"%s\"", argv[1]);
-
-- /* strictly speaking, this *has* to be too large. */
-- struct guidname *outbuf = calloc(inlen, sizeof (char));
-- if (!outbuf)
-- err(1, "makeguids");
-+ /* reallocate later to required size */
-+ struct guidname *outbuf = NULL;
-
- char *guidstr = inbuf;
- unsigned int line;
-@@ -133,6 +131,11 @@
- err(1, "makeguids: \"%s\": 4 invalid data on line %d",
- argv[1], line);
-
-+ outbuf = realloc(outbuf, line * sizeof (struct guidname));
-+ if (!outbuf)
-+ err(1, "makeguids");
-+
-+ bzero(&outbuf[line-1], sizeof (struct guidname));
- memcpy(&outbuf[line-1].guid, &guid, sizeof(guid));
- strcpy(outbuf[line-1].symbol, "efi_guid_");
- strncat(outbuf[line-1].symbol, symbol,
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/libmtp/package.mk b/packages/addons/addon-depends/system-tools-depends/depends/libmtp/package.mk
index d17ca0400c..ee21f87939 100644
--- a/packages/addons/addon-depends/system-tools-depends/depends/libmtp/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/depends/libmtp/package.mk
@@ -1,33 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libmtp"
-PKG_VERSION="1.1.11"
-PKG_REV="3"
-PKG_ARCH="any"
+PKG_VERSION="1.1.13"
+PKG_SHA256="494ee02fbfbc316aad75b93263dac00f02a4899f28cfda1decbbd6e26fda6d40"
PKG_LICENSE="GPL"
PKG_SITE="http://libmtp.sourceforge.net/"
PKG_URL="$SOURCEFORGE_SRC/project/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libusb"
-PKG_SECTION="libs"
-PKG_SHORTDESC="MTP library"
-PKG_LONGDESC="libmtp is an Initiator implementation of the Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization."
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="An Initiator implementation of the Media Transfer Protocol (MTP)."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
--disable-shared \
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/libssh2/package.mk b/packages/addons/addon-depends/system-tools-depends/depends/libssh2/package.mk
new file mode 100644
index 0000000000..d3f97a08ce
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/depends/libssh2/package.mk
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="libssh2"
+PKG_VERSION="1.8.0"
+PKG_SHA256="39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4"
+PKG_LICENSE="BSD"
+PKG_SITE="https://www.libssh2.org"
+PKG_URL="https://www.libssh2.org/download/libssh2-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain openssl"
+PKG_LONGDESC="A library implementing the SSH2 protocol"
+PKG_BUILD_FLAGS="+pic"
+
+PKG_CMAKE_OPTS_TARGET="-DBUILD_EXAMPLES=OFF \
+ -DBUILD_TESTING=OFF"
diff --git a/packages/addons/addon-depends/system-tools-depends/depends/oniguruma/package.mk b/packages/addons/addon-depends/system-tools-depends/depends/oniguruma/package.mk
new file mode 100644
index 0000000000..1aecc71002
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/depends/oniguruma/package.mk
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="oniguruma"
+PKG_VERSION="6.9.1"
+PKG_SHA256="c7c3feb7be45a5cc9f2dec239b4a317a422e6ffea299cf91ffab1b926633ea12"
+PKG_LICENSE="BSD"
+PKG_SITE="https://github.com/kkos/oniguruma"
+PKG_URL="https://github.com/kkos/oniguruma/releases/download/v$PKG_VERSION/onig-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain"
+PKG_LONGDESC="A regular expression library"
diff --git a/packages/addons/addon-depends/system-tools-depends/diffutils/package.mk b/packages/addons/addon-depends/system-tools-depends/diffutils/package.mk
index 47b47c3bb6..03aa793123 100644
--- a/packages/addons/addon-depends/system-tools-depends/diffutils/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/diffutils/package.mk
@@ -1,33 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="diffutils"
-PKG_VERSION="3.5"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="3.6"
+PKG_SHA256="d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/diffutils/"
PKG_URL="http://ftpmirror.gnu.org/diffutils/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="GNU Diffutils"
-PKG_LONGDESC="GNU Diffutils is a package of several programs related to finding differences between files."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A package of several programs related to finding differences between files."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-libsigsegv-prefix \
diff --git a/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-001-no-man.patch b/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-001-no-man.patch
new file mode 100644
index 0000000000..297d01496e
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-001-no-man.patch
@@ -0,0 +1,11 @@
+--- diffutils-3.5/Makefile.am.org 2017-05-24 18:54:09.404508347 +0200
++++ diffutils-3.5/Makefile.am 2017-05-24 18:46:25.238456499 +0200
+@@ -19,7 +19,7 @@
+ ALL_RECURSIVE_TARGETS =
+
+ EXTRA_DIST = bootstrap exgettext ChangeLog-2008 cfg.mk dist-check.mk
+-SUBDIRS = lib src tests doc man po gnulib-tests
++SUBDIRS = lib src tests doc po gnulib-tests
+
+ ACLOCAL_AMFLAGS = -I m4
+ AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
diff --git a/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-002-explicitly-disable-replacing-getopt.patch b/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-002-explicitly-disable-replacing-getopt.patch
new file mode 100644
index 0000000000..6e12ba86e3
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/diffutils/patches/diffutils-002-explicitly-disable-replacing-getopt.patch
@@ -0,0 +1,26 @@
+http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-extended/diffutils/diffutils-3.6
+
+Subject: explicitly disable replacing getopt
+
+Explicitly disable replacing getopt to avoid compilation error like below.
+
+ xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
+
+diff --git a/m4/getopt.m4 b/m4/getopt.m4
+index 3ebc7b7..8934426 100644
+--- a/m4/getopt.m4
++++ b/m4/getopt.m4
+@@ -22,8 +22,8 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
+ fi
+ ])
+ if test $REPLACE_GETOPT = 1; then
+- dnl Arrange for getopt.h to be created.
+- gl_GETOPT_SUBSTITUTE_HEADER
++ dnl Explicitly disable replacing getopt
++ :
+ fi
+ ])
+
+--
+2.11.0
+
diff --git a/packages/addons/addon-depends/system-tools-depends/dstat/package.mk b/packages/addons/addon-depends/system-tools-depends/dstat/package.mk
new file mode 100644
index 0000000000..25a0becd7a
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/dstat/package.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="dstat"
+PKG_VERSION="77e9347"
+PKG_SHA256="2b2f4ef3a0d1dc6d0a4bc2f54a57ba6f1e278333881a07df7e55aec502a48c7c"
+PKG_LICENSE="GPL"
+PKG_SITE="http://dag.wiee.rs/home-made/dstat"
+PKG_URL="https://github.com/dagwieers/dstat/archive/$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain Python2"
+PKG_LONGDESC="Versatile resource statistics tool."
+PKG_TOOLCHAIN="manual"
+
+post_unpack() {
+rm $PKG_BUILD/Makefile
+}
diff --git a/packages/addons/addon-depends/system-tools-depends/dtach/package.mk b/packages/addons/addon-depends/system-tools-depends/dtach/package.mk
index 67c7ffd805..2b762cb7d1 100644
--- a/packages/addons/addon-depends/system-tools-depends/dtach/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/dtach/package.mk
@@ -1,36 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="dtach"
-PKG_VERSION="0.8"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="0.9"
+PKG_SHA256="5f7e8c835ee49a9e6dcf89f4e8ccbe724b061c0fc8565b504dd8b3e67ab79f82"
PKG_LICENSE="GPL"
PKG_SITE="http://dtach.sourceforge.net"
-PKG_URL="http://download.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="https://github.com/crigler/dtach/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="dtach - A program that emulates the detach feature of screen"
-PKG_LONGDESC="dtach - A program that emulates the detach feature of screen"
-PKG_AUTORECONF="no"
-
-PKG_CONFIGURE_OPTS_TARGET="--disable-nls"
+PKG_LONGDESC="A program that emulates the detach feature of screen."
makeinstall_target() {
- : # nop
+ :
}
diff --git a/packages/addons/addon-depends/system-tools-depends/efibootmgr/package.mk b/packages/addons/addon-depends/system-tools-depends/efibootmgr/package.mk
index cd19da653d..6f49c8f8d7 100644
--- a/packages/addons/addon-depends/system-tools-depends/efibootmgr/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/efibootmgr/package.mk
@@ -1,39 +1,23 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="efibootmgr"
-PKG_VERSION="95f7a63" # 0.8.0
-PKG_REV="1"
+PKG_VERSION="99b578501643377e0b1994b2a068b790d189d5ad"
+PKG_SHA256="04bc45dc8a841985d78d8df87b3475eb6e1122f993fae975197bf3adbc6e3341"
PKG_ARCH="x86_64"
PKG_LICENSE="GPL"
-PKG_SITE="https://github.com/vathpela/efibootmgr"
-PKG_URL="https://github.com/vathpela/efibootmgr-devel/archive/$PKG_VERSION.tar.gz"
-PKG_SOURCE_DIR="efibootmgr-devel-$PKG_VERSION*"
+PKG_SITE="https://github.com/rhboot/efibootmgr"
+PKG_URL="https://github.com/rhboot/efibootmgr/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain efivar pciutils zlib"
-PKG_SECTION="tools"
-PKG_SHORTDESC="EFI Boot Manager"
-PKG_LONGDESC="This is a Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager configuration. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Tool to modify UEFI Firmware Boot Manager Variables."
-pre_make_target() {
- strip_lto
- export EXTRA_CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include -I$SYSROOT_PREFIX/usr/include/efivar -fgnu89-inline"
+make_target() {
+ export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include -I$SYSROOT_PREFIX/usr/include/efivar -fgnu89-inline"
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -ludev -ldl"
+
+ make EFIDIR=BOOT EFI_LOADER=bootx64.efi PKG_CONFIG=true \
+ LDLIBS="-lefiboot -lefivar" \
+ efibootmgr
}
makeinstall_target() {
diff --git a/packages/addons/addon-depends/system-tools-depends/efibootmgr/patches/efibootmgr-kernel-4.4.patch b/packages/addons/addon-depends/system-tools-depends/efibootmgr/patches/efibootmgr-kernel-4.4.patch
deleted file mode 100644
index f6f75037d7..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/efibootmgr/patches/efibootmgr-kernel-4.4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur efibootmgr-ceb177a/src/lib/scsi_ioctls.c efibootmgr-ceb177a.patch/src/lib/scsi_ioctls.c
---- efibootmgr-ceb177a/src/lib/scsi_ioctls.c 2014-10-21 22:17:27.000000000 +0200
-+++ efibootmgr-ceb177a.patch/src/lib/scsi_ioctls.c 2016-03-26 13:49:59.119669675 +0100
-@@ -24,7 +24,7 @@
- #include
- #include
- #include
--#include
-+#include
- #include "scsi_ioctls.h"
-
- int
diff --git a/packages/addons/addon-depends/system-tools-depends/encfs/package.mk b/packages/addons/addon-depends/system-tools-depends/encfs/package.mk
new file mode 100644
index 0000000000..2914c69938
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/encfs/package.mk
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
+
+PKG_NAME="encfs"
+PKG_VERSION="1.9.5"
+PKG_SHA256="4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63"
+PKG_LICENSE="LGPL"
+PKG_SITE="https://vgough.github.io/encfs/"
+PKG_URL="https://github.com/vgough/encfs/releases/download/v$PKG_VERSION/encfs-$PKG_VERSION.tar.gz"
+PKG_DEPENDS_TARGET="toolchain fuse"
+PKG_LONGDESC="A Encrypted Filesystem for FUSE."
+
+PKG_CMAKE_OPTS_TARGET="-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=$SYSROOT_PREFIX/usr/include \
+ -DBUILD_UNIT_TESTS=OFF"
+
+makeinstall_target() {
+ :
+}
diff --git a/packages/addons/addon-depends/system-tools-depends/evtest/package.mk b/packages/addons/addon-depends/system-tools-depends/evtest/package.mk
index ea82aebb57..ac303fc8ef 100644
--- a/packages/addons/addon-depends/system-tools-depends/evtest/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/evtest/package.mk
@@ -1,33 +1,15 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="evtest"
PKG_VERSION="1.33"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="5037d1162f4c407053cd97e85763ba03150a0c35f929ee9bf9a360abd32ef1c1"
PKG_LICENSE="GPL"
PKG_SITE="http://cgit.freedesktop.org/evtest/"
PKG_URL="http://cgit.freedesktop.org/evtest/snapshot/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain libxml2"
-PKG_SECTION="debug/tools"
-PKG_SHORTDESC="evtest: Simple tool for input event debugging."
-PKG_LONGDESC="evtest is a simple tool for input event debugging."
-PKG_AUTORECONF="yes"
+PKG_LONGDESC="A simple tool for input event debugging."
+PKG_TOOLCHAIN="autotools"
makeinstall_target() {
: # nop
diff --git a/packages/addons/addon-depends/system-tools-depends/fdupes/package.mk b/packages/addons/addon-depends/system-tools-depends/fdupes/package.mk
index 9993e1462a..f0aae4d163 100644
--- a/packages/addons/addon-depends/system-tools-depends/fdupes/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/fdupes/package.mk
@@ -1,33 +1,14 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="fdupes"
-PKG_VERSION="1.51"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="1.6.1"
+PKG_SHA256="9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea"
PKG_LICENSE="GPL"
PKG_SITE="http://premium.caribe.net/~adrian2/fdupes.html"
-PKG_URL="https://fdupes.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="https://github.com/adrianlopezroche/fdupes/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
-PKG_LONGDESC="FDUPES is a program for identifying or deleting duplicate files residing within specified directories"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A program for identifying or deleting duplicate files residing within specified directories."
makeinstall_target() {
: # nop
diff --git a/packages/addons/addon-depends/system-tools-depends/fdupes/patches/fdupes-01-crosscompile.patch b/packages/addons/addon-depends/system-tools-depends/fdupes/patches/fdupes-01-crosscompile.patch
deleted file mode 100644
index e9f780d796..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/fdupes/patches/fdupes-01-crosscompile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 1d5e41a..6dc6da4 100644
---- a/Makefile
-+++ b/Makefile
-@@ -71,7 +71,6 @@ MKDIR = mkdir -p
- #
- # Make Configuration
- #
--CC = gcc
- COMPILER_OPTIONS = -Wall -O -g
-
- CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
diff --git a/packages/addons/addon-depends/system-tools-depends/file/package.mk b/packages/addons/addon-depends/system-tools-depends/file/package.mk
index 6e68c1deeb..67dcd70032 100644
--- a/packages/addons/addon-depends/system-tools-depends/file/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/file/package.mk
@@ -1,38 +1,20 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="file"
-PKG_VERSION="5.29"
-PKG_REV="1"
-PKG_ARCH="any"
+PKG_VERSION="d1ff3af7a2c6b38bdbdde7af26b59e3c50a48fff"
+PKG_SHA256="acc16f878576ad0bb29bbb7c724e29d2827f14ddb39fe94d76c3a859d4a3d0d9"
PKG_LICENSE="BSD"
PKG_SITE="http://www.darwinsys.com/file/"
-PKG_URL="ftp://ftp.astron.com/pub/file/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="https://github.com/file/file/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host"
-PKG_DEPENDS_TARGET="toolchain zlib file:host"
-PKG_SECTION="tools"
-PKG_SHORTDESC="file: File type identification utility"
-PKG_LONGDESC="These are the sources to Darwin's file(1) utility and master magic(4) file, now maintained by Christos Zoulas. The file(1) utility is used to determine the types of various files."
-PKG_AUTORECONF="no"
+PKG_DEPENDS_TARGET="toolchain file:host zlib"
+PKG_LONGDESC="The file utility is used to determine the types of various files."
+PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_HOST="--enable-fsect-man5 --enable-static --disable-shared"
PKG_CONFIGURE_OPTS_TARGET="--enable-fsect-man5 --enable-static --disable-shared"
makeinstall_target() {
- : # meh
+ :
}
diff --git a/packages/addons/addon-depends/system-tools-depends/file/patches/file-fix-segfault-in-magic_close.patch b/packages/addons/addon-depends/system-tools-depends/file/patches/file-fix-segfault-in-magic_close.patch
deleted file mode 100644
index 25b0f1bb21..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/file/patches/file-fix-segfault-in-magic_close.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/src/apprentice.c b/src/apprentice.c
-index 961e83d..b7d500c 100644
---- a/src/apprentice.c
-+++ b/src/apprentice.c
-@@ -348,11 +348,9 @@ apprentice_1(struct magic_set *ms, const char *fn, int action)
- protected void
- file_ms_free(struct magic_set *ms)
- {
-- size_t i;
- if (ms == NULL)
- return;
-- for (i = 0; i < MAGIC_SETS; i++)
-- mlist_free(ms->mlist[i]);
-+ mlist_free(ms->mlist[0]);
- free(ms->o.pbuf);
- free(ms->o.buf);
- free(ms->c.li);
diff --git a/packages/addons/addon-depends/system-tools-depends/file/patches/file-zip.patch b/packages/addons/addon-depends/system-tools-depends/file/patches/file-zip.patch
deleted file mode 100644
index f16e3126e9..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/file/patches/file-zip.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From e990dc53f658cb67ec7b33c32e0bc24e65801792 Mon Sep 17 00:00:00 2001
-From: Christos Zoulas
-Date: Sat, 14 May 2011 15:04:15 +0000
-Subject: [PATCH] small archive
-
----
- magic/Magdir/archive | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/magic/Magdir/archive b/magic/Magdir/archive
-index e84c8e3..5ad1ce3 100644
---- a/magic/Magdir/archive
-+++ b/magic/Magdir/archive
-@@ -654,6 +654,9 @@
- >>>>78 string -template Template
- !:mime application/vnd.oasis.opendocument.image-template
-
-+>26 byte x Zip archive data
-+
-+
- # StarView Metafile
- # From Pierre Ducroquet
- 0 string VCLMTF StarView MetaFile
---
-1.7.4.1
-
diff --git a/packages/addons/addon-depends/system-tools-depends/getscancodes/package.mk b/packages/addons/addon-depends/system-tools-depends/getscancodes/package.mk
index df804f135e..98de97ea41 100644
--- a/packages/addons/addon-depends/system-tools-depends/getscancodes/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/getscancodes/package.mk
@@ -1,34 +1,18 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="getscancodes"
PKG_VERSION="1.0"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_SHA256="5f4e2ab22dc3890392ab8870fb79bbebdfd39b34dcd5bafcb51edee554855d34"
PKG_LICENSE="GPL"
PKG_SITE="http://keytouch.sourceforge.net"
PKG_URL="$SOURCEFORGE_SRC/keytouch/getscancodes-${PKG_VERSION}.tar.gz"
-PKG_SOURCE_DIR="$PKG_NAME"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="Shows the scancode of the pressed or released key"
-PKG_LONGDESC="Shows the scancode of the pressed or released key"
-PKG_AUTORECONF="no"
+PKG_LONGDESC="Shows the scancode of the pressed or released key."
+
+pre_configure_target() {
+ PKG_MAKE_OPTS_TARGET="CC=$CC"
+}
makeinstall_target() {
: # nop
diff --git a/packages/addons/addon-depends/system-tools-depends/getscancodes/patches/getscancodes-crosscompile.patch b/packages/addons/addon-depends/system-tools-depends/getscancodes/patches/getscancodes-crosscompile.patch
deleted file mode 100644
index a830cbd1e3..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/getscancodes/patches/getscancodes-crosscompile.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 06c160f28cceb32be4c8fcead3f33691a2469464 Mon Sep 17 00:00:00 2001
-From: Stefan Saraev
-Date: Thu, 21 Nov 2013 23:29:07 +0200
-Subject: [PATCH] crosscompile
-
----
- Makefile | 1 -
- 1 files changed, 0 insertions(+), 1 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 86ab501..355fb3d 100644
---- a/Makefile
-+++ b/Makefile
-@@ -2,7 +2,6 @@ TARGET = getscancodes
- SOURCES = getscancodes.c
-
- CFLAGS=-O2 -Wall
--CC=gcc
-
- OBJECTS=$(SOURCES:.c=.o)
-
---
-1.7.2.5
-
diff --git a/packages/addons/addon-depends/system-tools-depends/hd-idle/package.mk b/packages/addons/addon-depends/system-tools-depends/hd-idle/package.mk
index dac98e358d..2f2e8286fe 100644
--- a/packages/addons/addon-depends/system-tools-depends/hd-idle/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/hd-idle/package.mk
@@ -1,31 +1,11 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="hd-idle"
-PKG_VERSION="1.04"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="1.05"
+PKG_SHA256="4efefe79d145b50e055582730d9d685e485da3df3dad90fef030036d52aa3a0c"
PKG_LICENSE="GPL"
PKG_SITE="http://hd-idle.sourceforge.net/"
PKG_URL="http://downloads.sourceforge.net/project/hd-idle/${PKG_NAME}-${PKG_VERSION}.tgz"
-PKG_SOURCE_DIR="$PKG_NAME"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="tools"
-PKG_SHORTDESC="hd-idle is a [Linux] utility program for spinning-down external disks after a period of idle time."
-PKG_LONGDESC="hd-idle is a utility program for spinning-down external disks after a period of idle time. Since most external IDE disk enclosures don't support setting the IDE idle timer, a program like hd-idle is required to spin down idle disks automatically."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A utility for spinning-down external disks after a period of idle time."
diff --git a/packages/addons/addon-depends/system-tools-depends/hddtemp/db/hddtemp.db b/packages/addons/addon-depends/system-tools-depends/hddtemp/db/hddtemp.db
new file mode 100644
index 0000000000..4a061cfcb6
--- /dev/null
+++ b/packages/addons/addon-depends/system-tools-depends/hddtemp/db/hddtemp.db
@@ -0,0 +1,523 @@
+#
+# Insert a regular expression for support of the model or the serie of your hard drive.
+# If you don't know what to put in the second field, put the number
+# that appears most often for your brand :o)
+# A value of zero meens that we know that the drive doesn't have
+# a temperature sensor (you can set the unit to C or F).
+#
+############################################################################
+# The following list was found at (http://www.almico.com/forumharddisks.php)
+# If your drive is in the list send me a mail.
+#
+# Manufacturer Model Size Notes
+# FUJITSU FUJITSU MPF3102AH 10.0GB
+# FUJITSU FUJITSU MPG3204AH E 20.0GB
+# FUJITSU FUJITSU MPG3307AT 30.0GB
+# FUJITSU FUJITSU MPG3409AH 40.0GB
+# FUJITSU FUJITSU MPG3409AH EF 40.0GB
+# HITACHI HITACHI_DK23CA-10 9.8GB
+# HITACHI HITACHI_DK23CA-15 14.7GB
+# SAMSUNG SAMSUNG SV3012H 29.4GB
+# SEAGATE ST310210A 10.0GB
+# SEAGATE ST310211A 9.8GB
+# SEAGATE ST310215A 10.0GB
+# SEAGATE ST315320A 14.9GB
+# SEAGATE ST320410A 19.6GB
+# SEAGATE ST320413A 19.6GB
+# SEAGATE ST320420A 19.9GB
+# SEAGATE ST330610A 29.3GB
+# SEAGATE ST330620A 29.3GB
+# SEAGATE ST330621A 29.3GB
+# SEAGATE ST330630A 29.9GB
+# SEAGATE ST340016A 39.1GB
+# SEAGATE ST340810ACE 39.1GB
+# SEAGATE ST380020ACE 78.2GB
+# WESTERN DIGITAL WDC AC210200D 10.0GB
+# WESTERN DIGITAL WDC AC29100D 8.9GB
+# WESTERN DIGITAL WDC AC420400D 19.9GB
+# WESTERN DIGITAL WDC WD102AA 10.0GB
+#
+#################################################
+
+########################################
+############# ExcelStor drives
+########################################
+# "ExcelStor Technology CT215" ??? ? "ExcelStor CT215"
+"ExcelStor Technology J3.0" 194 C "ExcelStor Technology 3xy (xy GB)"
+"ExcelStor Technology J6.0" 194 C "ExcelStor Technology 6xy (xy GB)"
+"ExcelStor Technology J680" 194 C "ExcelStor Technology J680 (80 GB)"
+"ExcelStor Technology J860" 194 C "ExcelStor Technology J860 (60 GB)"
+"ExcelStor Technology J880" 194 C "ExcelStor Technology J880 (80 GB)"
+
+
+
+########################################
+############# Fujitsu drives
+########################################
+"FUJITSU MHM2100AT" 0 C "Fujitsu MHM2100AT"
+
+"FUJITSU MHN2150AT" 194 C "Fujitsu MHN2150AT"
+"FUJITSU MHN2200AT" 194 C "Fujitsu MHN2200AT"
+"FUJITSU MHN2300AT" 194 C "Fujitsu MHN2300AT"
+
+"FUJITSU MHR2020AT" 194 C "Fujitsu MHR2020AT"
+"FUJITSU MHR2030AT" 194 C "Fujitsu MHR2030AT"
+
+"FUJITSU MHS2030AT" 194 C "Fujitsu MHS2030AT"
+"FUJITSU MHS2040AT" 194 C "Fujitsu MHS2040AT"
+"FUJITSU MHS2060AT" 194 C "Fujitsu MHS2060AT (Apple PowerBook G4)"
+
+"FUJITSU MHT2030AC" 194 C "Fujitsu Mobile 30GB, 2MB, 4200RPM (automotive)"
+
+"FUJITSU MHT2030AT" 194 C "Fujitsu MHT2030AT"
+"FUJITSU MHT2040AH" 194 C "Fujitsu MHT2040AH"
+"FUJITSU MHT2040AT" 194 C "Fujitsu MHT2040AT"
+"FUJITSU MHT2060AH" 194 C "Fujitsu MHT2060AH"
+"FUJITSU MHT2060AT" 194 C "Fujitsu MHT2060AT"
+"FUJITSU MHT2080AH" 194 C "Fujitsu MHT2080AH"
+
+"FUJITSU MHU2100AT" 194 C "Fujitsu MHU2100AT 100GB, 8MB (4200RPM)"
+
+"FUJITSU MHV2100AH" 194 C "FUJITSU MHV2100AH"
+"FUJITSU MHV2100AT" 194 C "FUJITSU MHV2100AT"
+"FUJITSU MHV2080[AB]H" 194 C "FUJITSU MHV2080AH"
+
+"FUJITSU MPF3204AH" 194 C "Fujitsu MPF3204AH"
+
+"FUJITSU MPG3204AT.*" 194 C "Fujitsu MPG3204AT"
+"FUJITSU MPG3307AT" 194 C "Fujitsu MPG3307AT"
+"FUJITSU MPG3409AT.*" 194 C "Fujitsu MPG3409AT E"
+"FUJITSU MPG3409AH.*" 194 C "Fujitsu MPG3409AH E"
+"FUJITSU MPG3204AH" 194 C "Fujitsu MPG3204AH"
+"FUJITSU MPG3102AT E" 194 C "FUJITSU MPG3102AT E"
+
+
+
+########################################
+############# Hitachi drives
+########################################
+"HITACHI_DK13FA-40B" 194 C "Hitachi DK13FA-40B"
+"HITACHI_DK228A-65" 0 C "Hitachi DK228A-65"
+"HITACHI_DK23CA-(15|20|30|30B|75)" 194 C "Hitachi DK23CA series"
+"HITACHI_DK23DA-[234]0" 194 C "Hitachi DK23DA series"
+"HITACHI_DK23EA-[2346]0" 194 C "Hitachi DK23EA series"
+"HITACHI_DK23EB-40" 194 C "Hitachi DK23EB series"
+"HITACHI_DK23FA-[468]0" 194 C "Hitachi DK23FA series"
+"HITACHI_DK23FB-[46]0" 194 C "Hitachi DK23FB series"
+
+"HDS722516VLAT[28]0" 194 C "Hitachi Deskstar 7K250 160GB 2/8MB cache"
+"HDS722525VLAT80" 194 C "Hitachi Deskstar 7K250 200/250GB, 7200RPM, 8MB, Parallel-ATA"
+"HDS722512VLAT80" 194 C "Hitachi Deskstar 7K250 80GB"
+"HDS722540VLAT20" 194 C "Hitachi Deskstar 7K250, 40GB, 7200RPM, 2MB cache"
+"HDS722580VLAT20" 194 C "Deskstar 7K250 60GB"
+"HDS724040KLSA80" 194 C "Hitachi Deskstar 7K250 400GB, 7200RPM, 8MB, Serial-ATA"
+"HDS728080PLAT20" 194 C "Hitachi Deskstar 7K80 80GB"
+
+"HDS722525VLSA80" 194 C "Hitachi Deskstar 7K250 250GB, 7200RPM, 8MB, SATA"
+"HDS722516VLSA80" 194 C "Hitachi Deskstar 7K250 160GB 8Mo cache SATA"
+"HDS722580VLSA80" 194 C "Hitachi Deskstar 7K250 80GB SATA"
+"HDS728040PLAT20" 194 C "Hitachi Deskstar 7K80 40GB"
+
+"HDS724040KLAT80" 194 C "Hitachi Deskstar 7K400 400GB 8Mo cache PATA"
+
+"HDT7225(16|25)DLAT80" 194 C "Hitachi Deskstar T7K250 series, 7200RPM, 8MB, PATA"
+"HDT722516DLA380 V43O" 194 C "Hitachi T7K250 SATA"
+"HDT722525DLA380" 194 C "Hitachi Deskstar T7K250 250GB 8Mo cache SATAII"
+"HDT725050VLA360" 194 C "Hitachi Deskstar T7K500 500GB, 7200RPM, 16MB, SATA II"
+
+"HTE721010G9AT00" 194 C "Hitachi Travelstar 100GB (7200RPM)"
+"HTE726060M9AT00" 194 C "Hitachi Travelstar 60GB (7200RPM)"
+"HTS424030M9AT00" 194 C "Hitachi Travelstar 30GB (4200RPM)"
+"HTS424040M9AT00" 194 C "Hitachi Travelstar 4K40 40GB 2MB cache (4200RPM)"
+"HTS541010G9SA00" 194 C "Hitachi Travelstar 100GB SATA"
+"HTS541040G9AT00" 194 C "Hitachi Travelstar 40GB (5400RPM)"
+"HTS541080G9AT00" 194 C "Hitachi Travelstar 80GB (5400RPM)"
+"HTS548020M9AT00" 194 C "Hitachi Travelstar 20GB (5400RPM)"
+"HTS548030M9AT00" 194 C "Hitachi Travelstar 30GB (5400RPM)"
+"HTS548040M9AT00" 194 C "Hitachi Travelstar 40GB (5400RPM)"
+"HTS548060M9AT00" 194 C "Hitachi Travelstar 60GB (5400RPM)"
+"HTS548080M9AT00" 194 C "Hitachi Travelstar 80GB (5400RPM)"
+"HTS721080G9AT00" 194 C "Hitachi Travelstar 7K100 80GB (7200RPM)"
+"HTS726060M9AT00" 194 C "Hitachi Travelstar 60GB"
+
+
+########################################
+############# IBM drives
+########################################
+
+# DJSA serie is using F0h command to report temperature and also have
+# SMART capabilties but it was reported not to work.
+# "DJSA-2(30|32|10|20|05)" 0 C "IBM Travelstar 20GN, 32GH, 30GT series"
+
+"IBM-DARA-212000" 0 C "IBM Travelstar 12GN"
+"IBM-DTTA-35*" 0 C "IBM Deskstar 16GP serie"
+
+# according to specifications they do not seems to have sensor
+# but I prefer waiting for a report
+#"IBM-DTTA-37*" 0 C "IBM Deskstar 14GXP serie"
+
+"IBM-DJNA-35.*" 231 C "IBM Deskstar 25 GP serie"
+"IBM-DJNA-37.*" 231 C "IBM Deskstar 22 GXP serie"
+"IBM-DHEA-(34330|36480)" 0 C "IBM Deskstar 5 serie"
+"IBM-DHEA-(34331|36481|38451)" 0 C "IBM Deskstar 8 serie"
+"IBM-DPTA-37.*" 231 C "IBM Deskstar 34GXP serie"
+"IBM-DPTA-35.*" 231 C "IBM Deskstar 37GP serie"
+"IBM-DTLA-30[57]0[123467][05]" 194 C "IBM Deskstar 40GV & 75GXP series"
+"IC25N0[1234]0ATCS04-0" 194 C "IBM Travelstar 40GN serie"
+"IC25N0[24]0ATC[SX]05-0" 194 C "IBM Travelstar 40GNX serie"
+"IC25N0(10|15|20|30)ATDA04-0" 194 C "IBM Travelstar 30GN serie"
+"IC25N0[23468]0ATMR04*" 194 C "Hitachi Travelstar 80GN"
+"IC25T048ATDA05-0" 194 C "IBM Travelstar 48GH serie"
+"IC25T060ATC[SX]05-0" 194 C "IBM Travelstar 60GH serie"
+"IC35L0[12346]0AVER07" 194 C "IBM Deskstar 60GXP serie"
+"IC35L[01][02468]0AVV[AN]07*" 194 C "IBM Deskstar 120GXP serie"
+"IC35L[01][23689]0AVV207*" 194 C "IBM Deskstar 180GXP serie"
+
+########################################
+############# Maxtor drives
+########################################
+#"Maxtor 2B0[012][04568]H1" ??? C "Maxtor Fireball 541DX"
+"Maxtor 2F0[234]0[LJ]0" 194 C "Maxtor Fireball 3"
+# which one must I trust ?
+#"Maxtor 4D040H2" 9 C "Maxtor DiamondMax D540X-4D"
+#"Maxtor 4D040H2" 0 C "Maxtor 4D040H2"
+#"Maxtor 4D080H4" 12 C "Maxtor DiamondMax D540X-4D"
+#"Maxtor 4D060H3" 12 C "Maxtor DiamondMax D540X-4D"
+#"Maxtor 4D080H4" 9 C "Maxtor DiamondMax D540X-4D"
+"MAXTOR 4K0[468]0H[234]" 194 C "Maxtor DiamondMax D540X serie"
+"MAXTOR 4K020H1" 194 C "Maxtor 4K020H1"
+"Maxtor 4A300J0" 194 C "Maxtor MaxLine II 300GB 5400RPM"
+"Maxtor 4[RA](25|16|12|08|06)0[LJ]0" 194 C "Maxtor DiamondMax 16"
+"Maxtor 5(1024|1369|2049|2732|3073|4098)U(2|3|4|6|8)" 0 C "Maxtor DiamondMax Plus 40"
+"Maxtor 5A250J0" 194 C "Maxtor MaXline II 250GB 5400RPM"
+"Maxtor 5A300J0" 194 C "Maxtor 5A300J0"
+"Maxtor 5T0[24]0H[24]" 0 C "Maxtor DiamondMax Plus 60"
+"Maxtor 6E0[234]0L0" 194 C "Maxtor DiamondMax Plus 8"
+"MAXTOR 6L0[2468]0[LJ][1234]" 194 C "Maxtor DiamondMax Plus D740X family"
+"Maxtor 6V320F0" 194 C "Maxtor Diamond Max 10 SATA II 320 GB"
+"Maxtor 6Y(06|08|12|16|20|25)0[LPM]0" 194 C "Maxtor DiamondMax Plus 9"
+"Maxtor 7L300[RS]0" 194 C "Maxtor 7L300R0 MaxLine+III 300GB 7200rpm"
+"Maxtor 7Y250[PM]0" 194 C "Maxtor MaXLine Plus II 250GB 7200RPM"
+"Maxtor 94098U8" 11 C "Maxtor DiamondMax 40 94098U8"
+
+#"Maxtor 6(B|L)(08|12|16|20|25|30)0[RSPM]0" 194 C "Maxtor DiamondMax Plus 10"
+"Maxtor 6B080M0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATA"
+"Maxtor 6B120M0" 194 C "Maxtor DiamondMax 10 120GB 8MB SATA"
+"Maxtor 6B160M0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATA"
+"Maxtor 6B160P0" 194 C "Maxtor DiamondMax 10 160GB 8MB ATA/133"
+"Maxtor 6B200M0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATA"
+"Maxtor 6B200P0" 194 C "Maxtor DiamondMax 10 200GB 8MB ATA/133"
+"Maxtor 6B250R0" 194 C "Maxtor DiamondMax 10 250GB 16MB ATA/133"
+"Maxtor 6B250S0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATA"
+"Maxtor 6B300R0" 194 C "Maxtor DiamondMax 10 300GB 16MB ATA/133"
+"Maxtor 6B300S0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATA"
+"Maxtor 6L080L0" 194 C "Maxtor DiamondMax 10 80GB 2MB ATA/133 RoHS"
+"Maxtor 6L080M0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATA RoHS"
+"Maxtor 6L080P0" 194 C "Maxtor DiamondMax 10 80GB 8MB ATA/133 RoHS"
+"Maxtor 6L120M0" 194 C "Maxtor DiamondMax 10 120GB 8MB SATA RoHS"
+"Maxtor 6L120P0" 194 C "Maxtor DiamondMax 10 120GB 8MB ATA/133 RoHS"
+"Maxtor 6L160M0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATA RoHS"
+"Maxtor 6L160P0" 194 C "Maxtor DiamondMax 10 160GB 8MB ATA/133 RoHS"
+"Maxtor 6L200M0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATA RoHS"
+"Maxtor 6L200P0" 194 C "Maxtor DiamondMax 10 200GB 8MB ATA/133 RoHS"
+"Maxtor 6L250R0" 194 C "Maxtor DiamondMax 10 250GB 16MB ATA/133 RoHS"
+"Maxtor 6L250S0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATA RoHS"
+"Maxtor 6L300R0" 194 C "Maxtor DiamondMax 10 300GB 16MB ATA/133 RoHS"
+"Maxtor 6L300S0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATA RoHS"
+"Maxtor 6V080E0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATAII RoHS"
+"Maxtor 6V160E0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATAII RoHS"
+"Maxtor 6V200E0" 194 C "Maxtor DiamondMax 10 200GB 8MB SATAII RoHS"
+"Maxtor 6V250F0" 194 C "Maxtor DiamondMax 10 250GB 16MB SATAII RoHS"
+"Maxtor 6V300F0" 194 C "Maxtor DiamondMax 10 300GB 16MB SATAII RoHS"
+
+
+
+########################################
+############# Quantum drives
+########################################
+"QUANTUM FIREBALLP AS40.0" 0 C "Quantum Fireball AS40"
+"QUANTUM FIREBALL CX10.2A" 0 C "Quantum Fireball CX10.2A"
+#"QUANTUM FIREBALLlct10 20" 4 C "Quantum Fireball CT10 20GB"
+# I suspect the QUANTUM FIREBALL_TM2110A to have a sensor in field 9...
+# "QUANTUM FIREBALL_TM2110A" 9 C "Quantum Fireball TM2110A"
+
+
+
+########################################
+############# Samsung drives
+########################################
+# somenone reported a problem with the SP8004H which reports a temperature
+# 10°C below the ambient temperature
+"SAMSUNG HA(200|250)JC" 194 C "Samsung SpinPoint V120CE series"
+"SAMSUNG HD160JJ" 194 C "Samsung 160GB, 7200RPM, 8MB cache, SATA"
+"SAMSUNG HD160JJ/P" 194 C "Samsung SpinPoint P80 SD 160GB (7200RPM, 8MB cache)"
+"SAMSUNG HD[30|32|40][01]L[DJ]" 194 C "Samsung SpinPoint T133 series (300-400MB)"
+"SAMSUNG HD250KD" 194 C "Samsung SpinPoint T133 series (250 MB PATA)"
+"SAMSUNG HD321KJ" 194 C "Samsung Spinpoint T166 (7200RPM, 16MB cache) - SATA"
+"SAMSUNG HD501LJ" 194 C "Samsung HD501LJ"
+"SAMSUNG MP0(302|402|603|804)H" 194 C "Samsung SpinPoint M40 2.5inch"
+"SAMSUNG SW0434A" 0 C "Samsung SW0434A"
+"SAMSUNG SP(2001|4002|6003|8004|40A2)H" 194 C "Samsung SpinPoint P40 serie"
+"SAMSUNG SP(0612|0802|1203|1604|0812|1213|1614)N" 194 C "Samsung SpinPoint P80 serie"
+"SAMSUNG SP(0612|0802|1203|1604|0812|1213|1614)C" 194 C "Samsung SpinPoint P80 series - SATA"
+"SAMSUNG SP0411N" 194 C "Samsung SpinPoint PL40 serie"
+"SAMSUNG SP0822N" 194 C "Samsung SP0822N"
+"SAMSUNG SP(0812|1213|1614)C" 194 C "Samsung Spinpoint 160G SATA"
+"SAMSUNG SP2[05]14N" 194 C "Samsung SpinPoint P120 series (7200RPM, 8MB cache)"
+"SAMSUNG SP2[05]04C" 194 C "Samsung SpinPoint P120 series - SATA"
+"SAMSUNG SV0432A" 0 C "Samsung SV0432A"
+"SAMSUNG SV3002H" 0 C "Samsung SpinPoint V30 serie"
+"SAMSUNG SV(2001|4002|4012|6003|8004)H" 194 C "Samsung SpinPoint V40 serie"
+#"SAMSUNG SV(0221|0602|0813|1204)H" 9 C "Samsung SpinPoint V60 serie"
+#"SAMSUNG SV1204H" 194 C "Samsung 120G"
+"SAMSUNG SV(0401|0802|1203|1604)N" 194 C "Samsung SpinPoint V80 serie"
+"SAMSUNG SV4012H" 194 C "Samsung 40GB, 5400RPM, 2MB cache"
+
+########################################
+############# Seagate drives
+########################################
+"Seagate Technology 1275MB - ST31276A" 0 C "Seagate ST31276A"
+"ST3412A" 0 C "Seagate ST3412A"
+"ST38641A" 0 C "Seagate ST38641A"
+"ST310014A" 194 C "Seagate ST310014A"
+"ST310210A" 0 C "Seagate ST310210A"
+"ST310211A" 194 C "Seagate ST310211A"
+"ST310220A" 0 C "Seagate ST310220A"
+# SEAGATE ST313021A 13.0GB
+"ST313021A" 0 C "Seagate U8 ST313021A"
+"ST310240A" 0 C "Seagate Medalist 10240 Ultra ATA-3"
+"ST315320A" 194 C "Seagate ST315320A"
+"ST320423A" 0 C "Seagate U10 20423, Ultra ATA/66"
+"ST320011A" 194 C "Seagate ST320011A"
+"ST320014A" 194 C "Seagate ST320014A (5400 rpm, 20Gb)"
+"ST320410A" 194 C "Seagate ST320410A"
+"ST320413A" 194 C "Seagate ST320413A"
+"ST320414A" 194 C "Seagate ST320414A"
+"ST320420A" 194 C "Seagate Barracuda II ST320420A"
+"ST330013A" 194 C "Seagate ST330013A Barracuda ATA V 30GB, 7200 rpm"
+"ST330620A" 194 C "Seagate ST330620A"
+"ST330621A" 194 C "Seagate ST330621A"
+"ST330630A" 194 C "Seagate Barracuda ST330630A"
+"ST340014A" 194 C "Seagate Barracuda 7200.7 40Gb"
+"ST340015A" 194 C "Seagate Barracuda 5400.1 40GB"
+"ST340016A" 194 C "Seagate ST340016A"
+"ST340810A" 194 C "Seagate U Series 40810 (40Gb, Ultra ATA/100, 5400 rpm)"
+"ST340823A" 194 C "Seagate U Series 5 40823"
+"ST340824A" 194 C "Seagate Barracuda III"
+"ST360015A" 194 C "Seagate Barracuda V ST360015A"
+"ST360020A" 194 C "Seagate U Series 60020"
+"ST360021A" 194 C "Seagate Barracuda IV ST360021A"
+"ST380011A" 194 C "Seagate Barracuda 7200.7 80GB"
+"ST380012A" 194 C "Seagate ST380012A 80GB"
+"ST380013A" 194 C "Seagate Barracuda 7200.7 80GB"
+"ST380013AS" 194 C "Seagate Barracuda 7200.7 80GB (Serial ATA)"
+"ST380020A" 194 C "Seagate U Series 80020 (80Gb, Ultra ATA/100, 5400 rpm)"
+"ST380021A" 194 C "Seagate Barracuda IV ST380021A"
+"ST380022A" 194 C "Seagate Barracuda U7 80022, Ultra ATA/100"
+"ST380023A" 194 C "Seagate Barracuda V ST380023A"
+"ST380817AS" 194 C "Seagate Barracuda 7200.7 80GB - SATA"
+"ST39111A" 194 C "Seagate ST39111A (from Sun Ultra)"
+"ST3120020A" 194 C "Seagate ST3120020A"
+"ST3120022A" 194 C "Seagate Baraccuda 7200.7 120GB"
+"ST3120023A" 194 C "Seagate Barracuda V ST3120023A"
+"ST3120024A" 194 C "Seagate Barracuda V ST3120024A"
+"ST3120025ACE" 194 C "Seagate Barracuda V ST3120025ACE"
+"ST3120026A" 194 C "Seagate Barracuda V ST3120026A"
+"ST3160021A" 194 C "Seagate Barracuda 7200.7 - ST3160021A"
+"ST3160023(A|AS)" 194 C "Seagate Barracuda V ST3160023A and AS (160Gb, ATA100 or Serial ATA)"
+"ST3160827AS" 194 C "Seagate Barracuda 7200.7 160GB (Serial ATA)"
+"ST3200021A" 194 C "Seagate Barracuda 7200.7 Plus 200GB"
+"ST3200822(A|AS)" 194 C "Seagate Barracuda 7200.7 Plus 200GB (PATA or SATA)"
+"ST3200826A" 194 C "Seagate Barracuda 7200.8 200Gb"
+"ST3250623A" 194 C "Seagate Barracuda 7200.16 250GB"
+"ST3250823A" 194 C "Seagate Barracuda 7200.8 250GB"
+"ST3250823A" 194 C "Seagate Barracuda 7200.7 Plus 250GB"
+"ST3250823NS" 194 C "Seagate NL35 SATA (RAID-Edition) 7200 250GB"
+"ST3300831A" 194 C "Seagate 300GB ST3300831A"
+"ST3400832A" 194 C "Seagate Barracuda 7200.8 Plus 400GB"
+"ST3400633(A|AS)" 194 C "Seagate Barracuda 7200.7 400 GB"
+"ST3500630NS" 194 C "Seagate"
+"ST3400632NS" 194 C "Seagate"
+"ST3320620AS" 194 C "Seagate Barracuda 7200.7 320 GB"
+"ST3500630AS" 194 C "Seagate Barracuda 7200.7 500 GB"
+"ST3802110A" 194 C "Seagate Barracuda 7200.9 80 GB"
+"ST910021A" 194 C "Seagate Momentus 7200.1 100GB"
+"ST910082[35]A" 194 C "Seagate Momentus 5400.2 100GB"
+"ST9120821A" 194 C "Seagate Momentus 5400.2 120GB"
+"ST94019A" 194 C "Seagate ST94019A"
+"ST94813A" 194 C "Seagate Momentus 5400.2 40GB"
+"ST94[08]11A" 194 C "Seagate ST94011A"
+"ST960821A" 194 C "Seagate ST960821A"
+"ST960822A" 194 C "Seagate Momentus 5400.2 60GB"
+"ST96812AS" 194 C "Seagate Momentus 5400.2 60GB SATA"
+"ST9808211A" 194 C "Seagate Momentus 5400.2 80GB"
+
+########################################
+############# TOSHIBA Laptops
+########################################
+"MK4313MAT" 220 C "Toshiba MK4313MAT"
+"TOSHIBA MK1032GAX" 194 C "Toshiba MK1032GAX"
+"TOSHIBA MK1517GAP" 0 C "Toshiba MK1517GAP"
+"TOSHIBA MK2018GAS" 226 F "Toshiba MK2018GAS"
+"TOSHIBA MK2023GAS" 194 C "Toshiba MK2023GAS"
+
+"TOSHIBA MK3017GAP" 0 C "Toshiba MK3017GAP"
+"TOSHIBA MK3021GAS" 194 C "Toshiba MK3021GAS"
+"TOSHIBA MK3025GAS" 194 C "Toshiba MK3025GAS"
+
+#"TOSHIBA MK4019GAX" 222 C "Toshiba MK4019GAX"
+"TOSHIBA MK4021GAS" 194 C "Toshiba MK4021GAS"
+"TOSHIBA MK4025GAS" 194 C "Toshiba MK4025GAS 40 Go"
+"TOSHIBA MK4026GAS" 194 C "Toshiba MK4026GAS 40 Go"
+"TOSHIBA MK4032GAX" 194 C "Toshiba MK4032GAX"
+
+"TOSHIBA MK6021GAS" 194 C "Toshiba MK6021GAS"
+"TOSHIBA MK6022GAX" 194 C "Toshiba MK6022GAX"
+"TOSHIBA MK6025GAS" 194 C "Toshiba MK6025GAS"
+"TOSHIBA MK6026GAX" 194 C "Toshiba MK6026GAX"
+"TOSHIBA MK8025GAS" 194 C "Toshiba MK8025GAS"
+"TOSHIBA MK8026GAX" 194 C "Toshiba MK8026GAX"
+
+"MK4025GAS" 194 C "Toshiba MK4025GAS"
+
+
+########################################
+############# Western Digital drives
+########################################
+# WDC AC310100B and WDC AC2850F are reported not working
+# no more informations were given
+"WDC AC22000L" 0 C "Western Digital Caviar AC22000"
+"WDC AC420400D" 231 C "Western Digital Caviar AC420400D"
+"WDC AC418000D" 231 C "Western Digital AC418000D"
+"WDC WD135BA" 231 C "Western Digital WD135BA"
+
+"WDC WD100EB-00BHF0" 0 C "Western Digital 100EB-00BHF0"
+"WDC WD200BB-00AUA1" 0 C "Western Digital Caviar WD200BB"
+#"WDC WD200BB-60DGA0" 0 C "Western Digital Caviar WD200BB"
+"WDC WD300BB-00CAA0" 0 C "Western Digital WD300BB"
+"WDC WD360GD-00FNA0" 194 C "Western Digital SATA Raptor 36.7GB"
+"WDC WD400BB-00CAA0" 0 C "Western Digital 400BB-00CAA0"
+"WDC WD400BB-00J[KH]A0" 194 C "Western Digital Caviar WD400BB"
+"WDC WD400BB-23JHC0" 194 C "Western Digital 23JHC0"
+#"WDC WD400BB-00GFA0" 0 C ""
+"WDC WD400BB-55HEA0" 194 C "Western Digital Caviar WD400BB"
+"WDC WD400BB-(18CA|00DE)A0" 0 C "Western Digital Caviar WD400BB"
+"WDC WD400BB-75FJA1" 194 C "Western Digital Caviar WD400BB"
+"WDC WD400EB-00CPF0" 0 C "Western Digital 400EB-00CPF0"
+"WDC WD400JB-00(JJ|FM|FS)A0" 194 C "Western Digital Caviar 40GB Special Edition 8MB"
+"WDC WD400JB-00ETA0" 194 C "Western Digital 400JB-00ETA0"
+"WDC WD400JB-00JJC0" 194 C "Western Digital 400JB-00JJC0 40GB"
+"WDC WD400LB-00DNA0" 194 C "Western Digital 400LB-00DNA0"
+"WDC WD400UE-22HCT0" 194 C "Western Digital 40GB Notebook HDD"
+"WDC WD400VE-75HDT1" 194 C "Western Digital Scorpio 40GB"
+"WDC WD600BB-32BSA0" 0 C "Western Digital 600BB-32BSA0"
+"WDC WD600JB-00ETA0" 194 C "Western Digital 600JB-00ETA0"
+"WDC WD600LB-00DNA0" 194 C "Western Digital 60GB"
+"WDC WD600VE-75HDT0" 194 C "Western Digital 600VE-75HDT0"
+"WDC WD600VE-00HDT0" 194 C "Western Digital 600VE-00HDT0"
+"WDC WD740GD-00FL21.0" 194 C "Western Digital SATA Raptor"
+"WDC WD740GD-([05]0FL[AC]0|75FLA1)" 194 C "Western Digital SATA Raptor 74GB 8MB"
+"WDC WD800BB-00CAA1" 0 C "Western Digital WD800BB-00CAA1"
+"WDC WD800BB-(00|22)DKA0" 194 C "Western Digital WD800BB 80 Go"
+"WDC WD800BB-32CCB0" 194 C "Western Digital 800BB-32CCB0"
+"WDC WD800BB-55HEA0" 194 C "Western Digital 800BB-55HEA0"
+"WDC WD800BB-00JHA0" 194 C "Western Digital 800BB-00JHA0"
+"WDC WD800BB-00JKA0" 194 C "Western Digital 800BB-00JKA0"
+"WDC WD800BB-55JKA0" 194 C "Western Digital 800BB-55JKA0"
+"WDC WD800BB-75FRA0" 194 C "Western Digital Caviar WD800BB"
+"WDC WD800JB-00CRA1" 0 C "Western Digital Caviar WD800JB"
+"WDC WD800JB-00(ET|FM|FS)A0" 194 C "Western Digital Caviar 80GB Special Edition 8MB"
+"WDC WD800JB-00JJ[AC]0" 194 C "Western Digital WD800JB"
+"WDC WD800JD-(00|55)(HK|JR)A0" 194 C "Western Digital SATA 80GB, 8MB Cache"
+"WDC WD800JD-00(HK|JN)A0" 194 C "Western Digital SATA 80GB, 8MB Cache"
+"WDC WD800LB-(00|55)DNA0" 194 C "Western Digital Caviar WD800LB 80 Go ATA-100"
+"WDC WD800VE-07HDT0" 194 C "Western Digital 800VE-07HDT0"
+"WDC WD1200BB-00(FTA|GUA)0" 194 C "Western Digital Caviar EIDE 2MB Cache"
+"WDC WD1200JB-00(EV|FU|GV)A0" 194 C "Western Digital Caviar 120GB Special Edition 8MB"
+"WDC WD1200JB-22GVA0" 194 C "Western Digital Caviar 120GB"
+"WDC WD1200JD-00(GBB|HBC)0" 194 C "Western Digital WD1200JD"
+"WDC WD1200LB-55EDA0" 194 C "Western Digital WD1220LB"
+"WDC WD1200SB-01KB[AC]0" 194 C "Western Digital Caviar RE (Raid Edition) 120 GB"
+"WDC WD1600BB-00DWA0" 194 C "Western Digital Caviar WD1600BB"
+"WDC WD1600JB-(00EV|00FU|00GV|22GV|75GV)A0" 194 C "Western Digital Caviar 160GB Special Edition 8MB"
+"WDC WD2000BB-00FTA0" 194 C "Western Digital WD2000BB"
+"WDC WD2000JB-(00EV|32EV|34EV|00FU|00GV|55GV|98GV|00KF)A0" 194 C "Western Digital Caviar 200GB Special Edition 8MB"
+"WDC WD2000JB-00GVC0" 194 C "Western Digital WD2000JB"
+"WDC WD2000JS-00MHB1" 194 C "Western Digital SATA 200GB"
+"WDC WD2500JB-(00RE|00EV|00FU|32FU|00GV|55GV)A0" 194 C "Western Digital Caviar 250GB Special Edition 8MB"
+"WDC WD2500JB-00GVC0" 194 C "Western Digital 250GB"
+"WDC WD2500JD-(00G|32H)BB0" 194 C "Western Digital SATA Caviar 250GB Special Edition 8MB"
+"WDC WD2500JD-40HBC0" 194 C "Western Digital WD2500JD-40HBC0"
+"WDC WD2500PB-98FBA0" 194 C "Western Digital Caviar 250GB Special Edition 8MB"
+"WDC WD2500PD-00FZB1" 194 C "Western Digital WD2500PD-00FZB1"
+"WDC WD2500SD-01KCB0" 194 C "Western Digital Caviar RE 250GB 8MB"
+"WDC WD3000JB-00KFA0" 194 C "Western Digital WD3000JB"
+"WDC WD3200JB-00KFA0" 194 C "Western Digital Caviar 320GB 8MB"
+"WDC WD4000KD-00NAB0" 194 C "Western Digital Caviar SE16 400GB 16MB"
+"WDC WD4000YR-01PLB0" 194 C "Western Digital Caviar RE2 400GB 16MB"
+"WD4000YS-01MPB0" 194 C "Western Digital RE2 7200 SATA II 400 GB"
+
+# not sure for next
+# "WDC WD1200JB-00CRA1" 9 C "Western Digital 1200JB-00CRA1"
+# "WDC WD273BA" 9 C "Western Digital WD273BA"
+
+
+
+
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+########################################################################################################################
+
+"ST3750640AS" 194 C "Seagate Barracuda 7200.10 SATA 750GB"
+"ST3750840AS" 194 C "Seagate Barracuda 7200.10 SATA 750GB"
+"ST3500630AS" 194 C "Seagate Barracuda 7200.10 SATA 500GB"
+"ST3500830AS" 194 C "Seagate Barracuda 7200.10 SATA 500GB"
+"ST3400620AS" 194 C "Seagate Barracuda 7200.10 SATA 400GB"
+"ST3400620A" 194 C "Seagate Barracuda 7200.10 400GB"
+"ST3400820AS" 194 C "Seagate Barracuda 7200.10 SATA 400GB"
+"ST3320620AS" 194 C "Seagate Barracuda 7200.10 SATA 320GB"
+"ST3320820AS" 194 C "Seagate Barracuda 7200.10 SATA 320GB"
+"ST3300620AS" 194 C "Seagate Barracuda 7200.10 SATA 300GB"
+"ST3300820AS" 194 C "Seagate Barracuda 7200.10 SATA 300GB"
+"ST3250620AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB"
+"ST3250820AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB"
+"ST3250410AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB"
+"ST3250310AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB"
+"ST3200820AS" 194 C "Seagate Barracuda 7200.10 SATA 200GB"
+"ST3160815AS" 194 C "Seagate Barracuda 7200.10 SATA 160GB"
+"ST3160215AS" 194 C "Seagate Barracuda 7200.10 SATA 160GB"
+"ST3120815AS" 194 C "Seagate Barracuda 7200.10 SATA 120GB"
+"ST3120215AS" 194 C "Seagate Barracuda 7200.10 SATA 120GB"
+"ST380815AS" 194 C "Seagate Barracuda 7200.10 SATA 80GB"
+"ST380215AS" 194 C "Seagate Barracuda 7200.10 SATA 80GB"
+"ST340815AS" 194 C "Seagate Barracuda 7200.10 SATA 40GB"
+"ST340215AS" 194 C "Seagate Barracuda 7200.10 SATA 40GB"
+"ST3300622AS" 194 C "Seagate Barracuda 7200.9 SATA2.5 300GB"
+"ST3300831A" 194 C "Seagate Barracuda 7200.8 PATA 300GB"
+
+"Maxtor 7(L|V)250(F|R|S)0" 194 C "Maxtor MaXLine III 250GB 7200rpm"
+"Maxtor 7(L|V)300(F|R|S)0" 194 C "Maxtor MaXLine III 300GB 7200rpm"
+"MAXTOR STM3320620AS" 194 C ""
+
+"WDC WD1500ADFD-00NLR1" 194 C "Western Digital Raptor 150GB"
+"WDC WD1600JS-00NCB1" 194 C "Western Digital Caviar 1600JS 160GB Sata"
+"WDC WD1600SD-01KCC0" 194 C "Western Digital Caviar RE Serial ATA series"
+"WDC WD2500JD-57HBC0" 194 C "Western Digital Caviar SE (Serial ATA) 250 GB"
+"WDC WD2500JS" 194 C "Western Digital WD2500JS"
+"WDC WD2500JS-41MVB1" 194 C "Western Digital SATAII Caviar 250GB Special Edition 8MB"
+"WDC WD2500JD-00HBB0" 194 C "Western Digital SATA 250GB"
+"WDC WD2500KS-00MJB0" 194 C "Western Digital SATA-II Caviar 250GB Special Edition 16MB"
+"WDC WD3000JS-00PDB0" 194 C "Western Digital WD3000JS"
+"WDC WD3200KS-00PFB0" 194 C ""
+"WDC WD3200JD-22KLB0" 194 C "Western Digital Caviar SE 320GB 8MB"
diff --git a/packages/addons/addon-depends/system-tools-depends/hddtemp/package.mk b/packages/addons/addon-depends/system-tools-depends/hddtemp/package.mk
index 5c4c78d26d..1896f6461b 100644
--- a/packages/addons/addon-depends/system-tools-depends/hddtemp/package.mk
+++ b/packages/addons/addon-depends/system-tools-depends/hddtemp/package.mk
@@ -1,37 +1,21 @@
-################################################################################
-# This file is part of LibreELEC - http://www.libreelec.tv
-# Copyright (C) 2016 Team LibreELEC
-#
-# LibreELEC is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# LibreELEC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with LibreELEC. If not, see .
-################################################################################
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="hddtemp"
-PKG_VERSION="0.3-beta15"
-PKG_REV="0"
-PKG_ARCH="any"
+PKG_VERSION="e16aed6"
+PKG_SHA256="5d5af74ba7449b6e56a8f872a0e10d654a512ed65d62beaef1575b0c1826d9f3"
PKG_LICENSE="GPL"
-PKG_SITE="http://www.guzu.net/linux/hddtemp.php"
-PKG_URL="http://download.savannah.gnu.org/releases/hddtemp/$PKG_NAME-$PKG_VERSION.tar.bz2"
+PKG_SITE="https://savannah.nongnu.org/projects/hddtemp"
+PKG_URL="https://github.com/guzu/hddtemp/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
-PKG_SECTION="debug/tools"
-PKG_SHORTDESC="hddtemp: tool that reports hard drive temperature"
-PKG_LONGDESC="hddtemp is a small utility (daemonizable) that gives you the temperature of your hard drive by reading S.M.A.R.T. informations (for drives that support this feature)."
-PKG_AUTORECONF="no"
+PKG_LONGDESC="A utility that gives you the temperature of your hard drive by reading S.M.A.R.T.."
PKG_CONFIGURE_OPTS_TARGET="--with-db-path=/storage/.kodi/addons/virtual.system-tools/data/hddtemp.db"
+post_unpack() {
+ cp $PKG_DIR/db/* $PKG_BUILD
+}
+
makeinstall_target() {
: # nop
}
-
diff --git a/packages/addons/addon-depends/system-tools-depends/hddtemp/patches/hddtemp-0.3-beta15-52.patch b/packages/addons/addon-depends/system-tools-depends/hddtemp/patches/hddtemp-0.3-beta15-52.patch
deleted file mode 100644
index 9397c86b67..0000000000
--- a/packages/addons/addon-depends/system-tools-depends/hddtemp/patches/hddtemp-0.3-beta15-52.patch
+++ /dev/null
@@ -1,7539 +0,0 @@
---- hddtemp-0.3-beta15.orig/README
-+++ hddtemp-0.3-beta15/README
-@@ -28,10 +28,7 @@
- INFORMATION
- ===========
- hddtemp accesses to the SATA disks via ATA pass-through commands (defined in
--T10/04-262r7). At the time of writing (kernel 2.6.11-rc5 has just been
--released), kernels doesn't have support for ATA pass-through. You have to
--update the libata driver with a newer version that could be found on:
--http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/
-+T10/04-262r7). Only kernel >= 2.6.16 have this support.
-
- In daemon mode, hddtemp doesn't allow too much query at a time. If the interval
- between two query is inferior to 1 minute, hddtemp will give the previous value
---- hddtemp-0.3-beta15.orig/debian/rules
-+++ hddtemp-0.3-beta15/debian/rules
-@@ -0,0 +1,110 @@
-+#!/usr/bin/make -f
-+# Sample debian/rules that uses debhelper.
-+# GNU copyright 1997 to 1999 by Joey Hess.
-+
-+# Uncomment this to turn on verbose mode.
-+#export DH_VERBOSE=1
-+
-+# These are used for cross-compiling and for saving the configure script
-+# from having to guess our platform (since we know it already)
-+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-+
-+# Get flags from dpkg-buildflags
-+CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
-+CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
-+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
-+
-+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-+ INSTALL_PROGRAM += -s
-+endif
-+
-+config.status: configure
-+ dh_testdir
-+
-+ -test -r /usr/share/misc/config.sub && \
-+ cp -f /usr/share/misc/config.sub config.sub
-+ -test -r /usr/share/misc/config.guess && \
-+ cp -f /usr/share/misc/config.guess config.guess
-+
-+ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
-+ ./configure --host=$(DEB_HOST_GNU_TYPE) \
-+ --build=$(DEB_BUILD_GNU_TYPE) \
-+ --prefix=/usr \
-+ --mandir=\$${prefix}/share/man \
-+ --infodir=\$${prefix}/share/info \
-+ --with-db-path=/etc/hddtemp.db
-+
-+build: build-arch build-indep
-+
-+build-arch: build-arch-stamp
-+build-arch-stamp: config.status
-+ dh_testdir
-+ $(MAKE)
-+ touch build-stamp
-+
-+build-indep:
-+
-+clean: debian-clean
-+ dh_clean
-+
-+debian-clean:
-+ dh_testdir
-+ dh_testroot
-+ [ ! -f Makefile ] || $(MAKE) distclean
-+ rm -f po/*.gmo po/stamp-po
-+ -rm -f *-stamp
-+ -rm -f config.sub config.guess
-+
-+install: build
-+ dh_testdir
-+ dh_testroot
-+ dh_clean -k
-+ dh_installdirs
-+
-+ # Add here commands to install the package into debian/hddtemp.
-+ $(MAKE) install DESTDIR=$(CURDIR)/debian/hddtemp
-+
-+ install -p -o root -g root -m 644 $(CURDIR)/debian/hddtemp.db \
-+ $(CURDIR)/debian/hddtemp/etc/hddtemp.db
-+
-+ cp -a $(CURDIR)/contribs $(CURDIR)/debian/hddtemp/usr/share/doc/hddtemp
-+ rm -f $(CURDIR)/debian/hddtemp/usr/share/doc/hddtemp/Makefile*
-+
-+# Build architecture-independent files here.
-+binary-indep: build install
-+# We have nothing to do by default.
-+
-+# Build architecture-dependent files here.
-+binary-arch: build install
-+ dh_testdir
-+ dh_testroot
-+ dh_installdebconf
-+ dh_installdocs
-+ dh_installexamples
-+ dh_installmenu
-+ dh_installlogcheck
-+# dh_installlogrotate
-+# dh_installemacsen
-+# dh_installpam
-+# dh_installmime
-+ dh_installinit
-+ dh_installcron
-+ dh_installman
-+ dh_installinfo
-+ dh_installchangelogs ChangeLog
-+ dh_link
-+ dh_strip
-+ dh_compress
-+ dh_fixperms
-+# dh_makeshlibs
-+ dh_installdeb
-+# dh_perl
-+ dh_shlibdeps
-+ dh_gencontrol
-+ dh_md5sums
-+ dh_builddeb
-+
-+binary: binary-indep binary-arch
-+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
-+
---- hddtemp-0.3-beta15.orig/debian/docs
-+++ hddtemp-0.3-beta15/debian/docs
-@@ -0,0 +1,2 @@
-+README
-+TODO
---- hddtemp-0.3-beta15.orig/debian/postrm
-+++ hddtemp-0.3-beta15/debian/postrm
-@@ -0,0 +1,28 @@
-+#! /bin/sh
-+# postrm script for hddtemp
-+set -e
-+
-+conffile="/etc/default/hddtemp"
-+
-+case "$1" in
-+ purge)
-+ rm -f $conffile
-+ ;;
-+ remove)
-+ rm -f /usr/bin/hddtemp
-+ rm -f /usr/share/man/man1/hddtemp.1.gz
-+ ;;
-+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-+ ;;
-+ *)
-+ echo "postrm called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
---- hddtemp-0.3-beta15.orig/debian/changelog
-+++ hddtemp-0.3-beta15/debian/changelog
-@@ -0,0 +1,1289 @@
-+hddtemp (0.3-beta15-52) unstable; urgency=low
-+
-+ * Decrease hddtemp/daemon priority to medium from high (closes:
-+ bug#680877).
-+ * Bumped Standards-Version to 3.9.3.
-+
-+ -- Aurelien Jarno Mon, 09 Jul 2012 08:12:30 +0200
-+
-+hddtemp (0.3-beta15-51) unstable; urgency=low
-+
-+ * init script: also probe for double letter drives (closes: bug#646724).
-+
-+ -- Aurelien Jarno Sun, 30 Oct 2011 20:21:06 +0100
-+
-+hddtemp (0.3-beta15-50) unstable; urgency=low
-+
-+ * Convert hddtemp.db to UTF-8 (closes: bug#640899).
-+ * Don't restart on reload in init.d (closes: bug#643610).
-+ * Add a status option in init.d (closes: bug#643611).
-+
-+ -- Aurelien Jarno Sun, 09 Oct 2011 20:16:06 +0200
-+
-+hddtemp (0.3-beta15-49) unstable; urgency=low
-+
-+ * Added Slovak debconf templates. Thanks to Slavko (closes: bug#634519).
-+ * Fix a few typo in translation and enable German translation. Thanks to
-+ Ville Skyttä for tha patch.
-+ * Add build-arch and build-indep targets.
-+
-+ -- Aurelien Jarno Tue, 30 Aug 2011 16:32:45 +0200
-+
-+hddtemp (0.3-beta15-48) unstable; urgency=low
-+
-+ * Fix backtrace support on i386.
-+ * Add backtrace support on amd64.
-+
-+ -- Aurelien Jarno Sun, 05 Jun 2011 00:18:46 +0200
-+
-+hddtemp (0.3-beta15-47) unstable; urgency=low
-+
-+ * Fix reading model on SATA big-endian (closes: #602307).
-+ * Updated Arabic debconf templates, thanks to Ossama Khaya (closes:
-+ bug#596177).
-+ * Updated Swedish debconf template, thanks to Joe Hansen (closes:
-+ bug#603109).
-+ * Update Dutch debconf translation, thanks to Jeroen Schot (closes:
-+ bug#628757).
-+ * Bumped Standards-Version to 3.9.2 (no changes).
-+
-+ -- Aurelien Jarno Sat, 04 Jun 2011 21:36:32 +0200
-+
-+hddtemp (0.3-beta15-46) unstable; urgency=low
-+
-+ * Don't probe /dev/sg? by default (closes: bug#531849).
-+ * Add initial German translation, by Helge Kreutzmann (closes: #503710).
-+ * Fix a typo in the help message (closes: #503711).
-+ * Correctly zero-terminate long product ID strings (closes: #517981).
-+ * Bumped Standards-Version to 3.8.4 (no changes).
-+
-+ -- Aurelien Jarno Sun, 07 Feb 2010 20:24:49 +0100
-+
-+hddtemp (0.3-beta15-45) unstable; urgency=low
-+
-+ * Updated Swedish debconf templates. Thanks to Martin Bagge (closes:
-+ bug#491768).
-+ * Improve init script, by Cristian Ionescu-Idbohrn (closes: bug#486235).
-+ * Mention /etc/init.d/hddtemp and /etc/default/hddtemp in README.Debian
-+ (closes: bug#482982).
-+ * Bumped Standards-Version to 3.8.0 (no changes).
-+
-+ -- Aurelien Jarno Sun, 27 Jul 2008 09:44:06 +0200
-+
-+hddtemp (0.3-beta15-44) unstable; urgency=low
-+
-+ * Updated Japanese debconf templates. Thanks to Kenshi Muto (closes:
-+ bug#483504).
-+
-+ -- Aurelien Jarno Mon, 02 Jun 2008 10:30:58 +0200
-+
-+hddtemp (0.3-beta15-43) unstable; urgency=low
-+
-+ * Don't wake up SATA drives if not asked (closes: #479840).
-+
-+ -- Aurelien Jarno Sat, 10 May 2008 13:24:18 +0200
-+
-+hddtemp (0.3-beta15-42) unstable; urgency=low
-+
-+ * Use minus instead of hyphenin manpage.
-+
-+ -- Aurelien Jarno Sun, 02 Mar 2008 19:14:14 +0100
-+
-+hddtemp (0.3-beta15-41) unstable; urgency=low
-+
-+ * Fixed LSB header in init script (closes: bug#466281).
-+
-+ -- Aurelien Jarno Sun, 17 Feb 2008 18:22:21 +0100
-+
-+hddtemp (0.3-beta15-40) unstable; urgency=low
-+
-+ * Added Basque debconf templates. Thanks to Piarres Beobide (closes:
-+ bug#465731).
-+
-+ -- Aurelien Jarno Fri, 15 Feb 2008 21:59:07 +0100
-+
-+hddtemp (0.3-beta15-39) unstable; urgency=low
-+
-+ [ Aurelien Jarno ]
-+ * Bumped Standards-Version to 3.7.3 (no changes).
-+
-+ [ Christian Perrier ]
-+ * Debconf templates and debian/control reviewed by the debian-l10n-
-+ english team as part of the Smith review project. Closes: #462483
-+ * [Debconf translation updates]
-+ * Norwegian Bokmål. Closes: #462799
-+ * German. Closes: #462843
-+ * Galician. Closes: #462988
-+ * Spanish. Closes: #463898
-+ * Finnish. Closes: #463943
-+ * Czech. Closes: #464224
-+ * Russian. Closes: #464566
-+ * Italian. Closes: #465069
-+ * Portuguese. Closes: #465135
-+ * Vietnamese. Closes: #465534
-+ * French. Closes: #465650
-+
-+ -- Aurelien Jarno Wed, 13 Feb 2008 23:43:53 +0100
-+
-+hddtemp (0.3-beta15-38) unstable; urgency=low
-+
-+ * Fix typo in hddtemp manpage (closes: bug#444242).
-+
-+ -- Aurelien Jarno Tue, 11 Dec 2007 15:17:16 +0100
-+
-+hddtemp (0.3-beta15-37) unstable; urgency=low
-+
-+ * Updated Czech debconf templates. Thanks to Miroslav Kure (closes:
-+ bug#413322).
-+ * Added Galician debconf templates. Thanks to Jacobo Tarrio (closes:
-+ bug#412198).
-+ * Clean po/stamp-po to make sure the .gmo files are regenerated (closes:
-+ bug#441708).
-+ * Updated Portuguese translation, thanks to Rui Branco (closes:
-+ bug#418281).
-+ * Updated Vietnamese debconf translation. Thanks to Clytie Siddall (closes:
-+ bug#427039).
-+ * Fixed man page formatting error (closes: bug#439074).
-+ * Fix a segfault when using --unit and --numeric (closes: bug#412368).
-+ * Exit with error code != 0 in case of error (closes: bug#423509).
-+
-+ -- Aurelien Jarno Wed, 12 Sep 2007 11:36:05 +0200
-+
-+hddtemp (0.3-beta15-36) unstable; urgency=low
-+
-+ * Fix the init script, trying to kill not running daemon on shutdown
-+ (closes: #411645).
-+
-+ -- Aurelien Jarno Tue, 20 Feb 2007 22:04:01 +0100
-+
-+hddtemp (0.3-beta15-35) unstable; urgency=low
-+
-+ * Updated Portuguese translation, thanks to Miguel Figueire (closes:
-+ bug#409491).
-+
-+ -- Aurelien Jarno Tue, 20 Feb 2007 08:22:22 +0100
-+
-+hddtemp (0.3-beta15-34) unstable; urgency=low
-+
-+ * Relax SATA magic checkings (closes: #404310)
-+ * Updated Swedish debconf template. Thanks to Daniel Nylander (closes:
-+ bug#398788).
-+ * /etc/default/hddtemp: changed SYSLOG into RUN_SYSLOG and fixed the
-+ comments (closes: bug#401978).
-+
-+ -- Aurelien Jarno Fri, 19 Jan 2007 00:38:27 +0100
-+
-+hddtemp (0.3-beta15-33) unstable; urgency=medium
-+
-+ * Update the description (closes: #401428).
-+
-+ -- Aurelien Jarno Mon, 4 Dec 2006 06:04:38 +0100
-+
-+hddtemp (0.3-beta15-32) unstable; urgency=low
-+
-+ * Updated German debconf template. Thanks to Erik Schanze (closes:
-+ bug#397209).
-+
-+ -- Aurelien Jarno Mon, 27 Nov 2006 14:42:32 +0100
-+
-+hddtemp (0.3-beta15-31) unstable; urgency=low
-+
-+ * Remove the suggest on gkrellm-hddtemp (closes: bug#398938).
-+ * Updated Swedish debconf template. Thanks to Daniel Nylander (closes:
-+ bug#398788).
-+ * Added Swedish translation. Thanks to Daniel Nylander (closes:
-+ bug#398787).
-+ * Added and LSB header to the init script.
-+
-+ -- Aurelien Jarno Mon, 27 Nov 2006 12:14:49 +0100
-+
-+hddtemp (0.3-beta15-30) unstable; urgency=medium
-+
-+ * Remove a space in the printed temperature when a disk is not present
-+ in hddtemp.db.
-+
-+ -- Aurelien Jarno Thu, 19 Oct 2006 14:50:09 +0200
-+
-+hddtemp (0.3-beta15-29) unstable; urgency=medium
-+
-+ * Also consider field 194 as a temperature in Celsius if the disk
-+ is not present in hddtemp.db in daemon mode (closes: bug#391870).
-+
-+ -- Aurelien Jarno Mon, 9 Oct 2006 16:42:47 +0200
-+
-+hddtemp (0.3-beta15-28) unstable; urgency=medium
-+
-+ * Always consider field 194 as a temperature in Celsius if the disk
-+ is not present in hddtemp.db (closes: bug#387102, #386943, #389290,
-+ #387403, #389309, #387544)
-+ * Updated Czech debconf template. Thanks to Miroslav Jezbera (closes:
-+ bug#389244).
-+ * Set urgency to medium as I really want to get this version in etch
-+ (and not bother with roughly one bug report per week).
-+
-+ -- Aurelien Jarno Wed, 4 Oct 2006 01:53:51 +0200
-+
-+hddtemp (0.3-beta15-27) unstable; urgency=low
-+
-+ * Depends on lsb-base (>= 3.0-3) (closes: bug#386859).
-+ * Added support for Western Digital WD2000JD (closes: bug#385604).
-+ * Added support for Seagate NL35 SATA (closes: bug#385187).
-+ * Added support for ST3160811AS (closes: bug#385335).
-+ * Added support for WD400BB-00DKA0 (closes: bug#386857).
-+
-+ -- Aurelien Jarno Mon, 11 Sep 2006 00:13:15 +0200
-+
-+hddtemp (0.3-beta15-26) unstable; urgency=low
-+
-+ * Added support for SAMSUNG HD160JJ.
-+
-+ -- Aurelien Jarno Sat, 26 Aug 2006 22:29:13 +0200
-+
-+hddtemp (0.3-beta15-25) unstable; urgency=low
-+
-+ * Added support for WD1200JD-00FYB0 (closes: bug#383692).
-+
-+ -- Aurelien Jarno Sun, 20 Aug 2006 15:00:15 +0200
-+
-+hddtemp (0.3-beta15-24) unstable; urgency=low
-+
-+ * Updated Spanish debconf template. Thanks to Carlos Valdivia Yagüe (closes:
-+ bug#383374:).
-+
-+ -- Aurelien Jarno Thu, 17 Aug 2006 10:25:43 +0200
-+
-+hddtemp (0.3-beta15-23) unstable; urgency=low
-+
-+ * Added support for WDC WD3200SD-01KNB0 (closes: bug#382449).
-+ * Added support for ST3400633 (closes: bug#382546).
-+ * Added various Seagate 7200.10 drives, patch by Petr Vandrovec (closes:
-+ bug#382490).
-+
-+ -- Aurelien Jarno Fri, 11 Aug 2006 21:46:40 +0200
-+
-+hddtemp (0.3-beta15-22) unstable; urgency=low
-+
-+ * Added support for ST3320620AS (closes: bug#382300).
-+
-+ -- Aurelien Jarno Thu, 10 Aug 2006 11:24:58 +0200
-+
-+hddtemp (0.3-beta15-21) unstable; urgency=low
-+
-+ * Added support for Toshiba MK1032GSX (closes: bug#382130).
-+
-+ -- Aurelien Jarno Wed, 9 Aug 2006 19:27:36 +0200
-+
-+hddtemp (0.3-beta15-20) unstable; urgency=low
-+
-+ * Added support for Maxtor 6V300F0 (closes: bug#382071).
-+ * Added support for Seagate ST98823AS (closes: bug#382009).
-+
-+ -- Aurelien Jarno Tue, 8 Aug 2006 18:28:24 +0200
-+
-+hddtemp (0.3-beta15-19) unstable; urgency=low
-+
-+ * Added support for ST3250624AS (closes: bug#381837).
-+ * Added support for WDC WD3200KS-00PFB0 (closes: bug#381837).
-+
-+ -- Aurelien Jarno Mon, 7 Aug 2006 23:38:39 +0200
-+
-+hddtemp (0.3-beta15-18) unstable; urgency=low
-+
-+ * Added support for MHV2060AH.
-+
-+ -- Aurelien Jarno Sat, 5 Aug 2006 21:19:56 +0200
-+
-+hddtemp (0.3-beta15-17) unstable; urgency=low
-+
-+ * Added support for WDC WD1500ADFD-00NLR0 (closes: bug#381403).
-+
-+ -- Aurelien Jarno Sat, 5 Aug 2006 17:00:30 +0200
-+
-+hddtemp (0.3-beta15-16) unstable; urgency=low
-+
-+ * Updated Japanese debconf template. Thanks to Kenshi Muto (closes:
-+ bug#379945).
-+ * Added support for ST3808110AS and ST3160812AS (closes: bug#380478).
-+ * Added support for ST3160812A (closes: bug#379701).
-+
-+ -- Aurelien Jarno Sun, 30 Jul 2006 22:54:13 +0200
-+
-+hddtemp (0.3-beta15-15) unstable; urgency=low
-+
-+ * Added support for WDC WD2500JD-75HBB0 (closes: bug#379024).
-+
-+ -- Aurelien Jarno Thu, 20 Jul 2006 21:47:04 +0200
-+
-+hddtemp (0.3-beta15-14) unstable; urgency=low
-+
-+ * Use lsb init-functions in init script. Thanks to Benjamin Leipold for the
-+ patch (closes: bug#378118).
-+
-+ -- Aurelien Jarno Fri, 14 Jul 2006 15:08:39 +0200
-+
-+hddtemp (0.3-beta15-13) unstable; urgency=low
-+
-+ * Added support for Toshiba MK8032GSX (Closes: #375486).
-+ * Update the minimum kernel version (2.6.16) necessary to support
-+ SATA in README.
-+ * Print all warning/messages to stderr.
-+ * Applied patch by Andras Korn (Closes: #374796) to allow the hddtemp
-+ daemon to stay in the foreground.
-+
-+ -- Aurelien Jarno Thu, 29 Jun 2006 15:11:47 +0200
-+
-+hddtemp (0.3-beta15-12) unstable; urgency=low
-+
-+ * Added Dutch debconf translation, thanks to Kurt De Bree (closes:
-+ bug#370072).
-+
-+ -- Aurelien Jarno Sat, 3 Jun 2006 19:45:21 +0200
-+
-+hddtemp (0.3-beta15-11) unstable; urgency=low
-+
-+ * Updated Danish debconf template. Thanks to Claus Hindsgaul (closes:
-+ bug#368045).
-+
-+ -- Aurelien Jarno Fri, 19 May 2006 17:25:32 +0000
-+
-+hddtemp (0.3-beta15-10) unstable; urgency=low
-+
-+ * Updated French debconf translation, thanks to Jean-Luc Coulon (closes:
-+ bug#367540).
-+
-+ -- Aurelien Jarno Tue, 16 May 2006 21:42:39 +0200
-+
-+hddtemp (0.3-beta15-9) unstable; urgency=low
-+
-+ * debian/templates: Changed How often into in interval. (closes: bug#367382).
-+ * debian/templates: fixed the templates to make lintian happy.
-+
-+ -- Aurelien Jarno Mon, 15 May 2006 20:21:49 +0200
-+
-+hddtemp (0.3-beta15-8) unstable; urgency=low
-+
-+ * Added support for SAMSUNG HD300LJ (closes: bug#367250).
-+
-+ -- Aurelien Jarno Sun, 14 May 2006 20:08:31 +0200
-+
-+hddtemp (0.3-beta15-7) unstable; urgency=low
-+
-+ * Added support for HDS722516VLSA80 (closes: bug#366742).
-+
-+ -- Aurelien Jarno Thu, 11 May 2006 05:46:24 +0200
-+
-+hddtemp (0.3-beta15-6) unstable; urgency=low
-+
-+ * Added support for FUJITSU MHV2100BH (closes: bug#366388).
-+
-+ -- Aurelien Jarno Wed, 10 May 2006 06:29:54 +0200
-+
-+hddtemp (0.3-beta15-5) unstable; urgency=low
-+
-+ * Added support for WDC WD740GD-00FLA1 (closes: bug#366021).
-+ * Bumped Standards-Version to 3.7.2 (no changes).
-+
-+ -- Aurelien Jarno Thu, 4 May 2006 18:38:15 +0200
-+
-+hddtemp (0.3-beta15-4) unstable; urgency=low
-+
-+ * Fix a crash in daemon (syslog) mode when the hard disk is not known
-+ (closes: bug#365605).
-+ * Added support for WD1200JB-00REA0.
-+
-+ -- Aurelien Jarno Wed, 3 May 2006 20:27:11 +0200
-+
-+hddtemp (0.3-beta15-3) unstable; urgency=low
-+
-+ * Added support for WDC WD800JD-75JNC0 (closes: bug#365359).
-+ * Added support for WDC WD2500KS and WDC WD2500YD.
-+
-+ -- Aurelien Jarno Tue, 2 May 2006 21:49:37 +0200
-+
-+hddtemp (0.3-beta15-2) unstable; urgency=low
-+
-+ * Updated database for Maxtors MaxLineIII series drives (closes:
-+ bug#365011).
-+
-+ -- Aurelien Jarno Thu, 27 Apr 2006 14:45:22 +0200
-+
-+hddtemp (0.3-beta15-1) unstable; urgency=low
-+
-+ * New upstream version.
-+
-+ -- Aurelien Jarno Thu, 27 Apr 2006 05:25:06 +0200
-+
-+hddtemp (0.3-beta14-12) unstable; urgency=low
-+
-+ * Added Portuguese translation, thanks to Miguel Figueire (closes:
-+ bug#361505).
-+
-+ -- Aurelien Jarno Tue, 11 Apr 2006 00:38:51 +0200
-+
-+hddtemp (0.3-beta14-11) unstable; urgency=low
-+
-+ * Added support for WDC WD2500PD-00FZB1, WDC WD2500SD-01KCB0, WDC
-+ WD1200JD-00HBC0 and WDC WD4000YR-01PLB0 (closes: bug#357804).
-+
-+ -- Aurelien Jarno Sat, 25 Mar 2006 20:29:42 +0100
-+
-+hddtemp (0.3-beta14-10) unstable; urgency=low
-+
-+ * Use F for fahrenheit.
-+ * Added support for Hitachi DK23EA-20B (closes: bug#355763).
-+
-+ -- Aurelien Jarno Sat, 18 Mar 2006 11:39:20 +0100
-+
-+hddtemp (0.3-beta14-9) unstable; urgency=low
-+
-+ * Update hddtemp.db (closes: bug#355469).
-+
-+ -- Aurelien Jarno Mon, 6 Mar 2006 00:40:35 +0100
-+
-+hddtemp (0.3-beta14-8) unstable; urgency=low
-+
-+ * Don't flood syslog if the system clock wraps (closes: bug#354260).
-+
-+ -- Aurelien Jarno Fri, 24 Feb 2006 21:32:36 +0100
-+
-+hddtemp (0.3-beta14-7) unstable; urgency=low
-+
-+ * Correctly initialize the structure dsk.
-+
-+ -- Aurelien Jarno Sat, 4 Feb 2006 22:01:07 +0100
-+
-+hddtemp (0.3-beta14-6) unstable; urgency=low
-+
-+ * Added support for TOSHIBA MK4026GAX.
-+
-+ -- Aurelien Jarno Sun, 11 Dec 2005 21:13:06 +0100
-+
-+hddtemp (0.3-beta14-5) unstable; urgency=low
-+
-+ * Added Swedish translation of hddtemp. Thanks to Daniel Nylander (close:
-+ bug#337117).
-+
-+ -- Aurelien Jarno Thu, 3 Nov 2005 01:56:26 +0100
-+
-+hddtemp (0.3-beta14-4) unstable; urgency=low
-+
-+ * Fixed the package device patch.
-+
-+ -- Aurelien Jarno Thu, 27 Oct 2005 03:18:43 +0200
-+
-+hddtemp (0.3-beta14-3) unstable; urgency=low
-+
-+ * Don't try to read temperature from packet devices drives (closes:
-+ bug#316750, bug#335571).
-+ * Verify the response length when calling modesense (closes:
-+ bug#278345).
-+
-+ -- Aurelien Jarno Thu, 27 Oct 2005 01:02:21 +0200
-+
-+hddtemp (0.3-beta14-2) unstable; urgency=low
-+
-+ * Added Swedish debconf translation. Thanks to Daniel Nylander (closes:
-+ bug#333713).
-+
-+ -- Aurelien Jarno Fri, 14 Oct 2005 11:22:05 +0200
-+
-+hddtemp (0.3-beta14-1) unstable; urgency=low
-+
-+ * New upstream version.
-+
-+ -- Aurelien Jarno Wed, 21 Sep 2005 14:48:43 +0200
-+
-+hddtemp (0.3-beta13-23) unstable; urgency=low
-+
-+ * Added SAMSUNG SP2014N disk to the database.
-+
-+ -- Aurelien Jarno Wed, 14 Sep 2005 11:27:22 +0200
-+
-+hddtemp (0.3-beta13-22) unstable; urgency=low
-+
-+ * Updated hddtemp.db (closes: bug#326180, bug#326181).
-+
-+ -- Aurelien Jarno Tue, 6 Sep 2005 03:51:29 +0200
-+
-+hddtemp (0.3-beta13-21) unstable; urgency=low
-+
-+ * Added TOSHIBA MK4026GAX disk to the database (closes: bug#325702).
-+
-+ -- Aurelien Jarno Wed, 31 Aug 2005 11:16:55 +0200
-+
-+hddtemp (0.3-beta13-20) unstable; urgency=low
-+
-+ * Added Arabic debconf translation. Thanks to Mohammed Adnène Trojette
-+ (closes: bug#320766).
-+
-+ -- Aurelien Jarno Mon, 1 Aug 2005 15:40:56 +0200
-+
-+hddtemp (0.3-beta13-19) unstable; urgency=low
-+
-+ * Fixed DISKS_NOPROBE when no other disks are detected.
-+ * Added a logcheck rule to ignore sleeping drives (closes: bug#316613).
-+ * Bumped Standards-Version to 3.6.2 (no changes).
-+
-+ -- Aurelien Jarno Wed, 6 Jul 2005 19:15:16 +0200
-+
-+hddtemp (0.3-beta13-18) unstable; urgency=low
-+
-+ * Added DISKS_NOPROBE option to the /etc/default/hddtemp (closes:
-+ bug#316270).
-+
-+ -- Aurelien Jarno Wed, 29 Jun 2005 22:13:53 +0200
-+
-+hddtemp (0.3-beta13-17) unstable; urgency=low
-+
-+ * Updated database.
-+ * Added support for Western Digital Caviar WD800BB (closes: bug#312247).
-+
-+ -- Aurelien Jarno Thu, 9 Jun 2005 23:16:25 +0200
-+
-+hddtemp (0.3-beta13-16) unstable; urgency=low
-+
-+ * Updated Vietnamese debconf translation. Thanks to Clytie Siddall (closes:
-+ bug#311893).
-+ * Fixed a typo in the debconf template. Thanks to Clytie Siddall (closes:
-+ bug#311894).
-+
-+ -- Aurelien Jarno Sat, 4 Jun 2005 17:03:31 +0200
-+
-+hddtemp (0.3-beta13-15) unstable; urgency=low
-+
-+ * Updated German debconf translation. Thanks to Erik Schanze (closes:
-+ bug#311716).
-+
-+ -- Aurelien Jarno Fri, 3 Jun 2005 00:41:00 +0200
-+
-+hddtemp (0.3-beta13-14) unstable; urgency=low
-+
-+ * Added SV4012H to the database.
-+
-+ -- Aurelien Jarno Tue, 24 May 2005 00:54:01 +0200
-+
-+hddtemp (0.3-beta13-13) unstable; urgency=low
-+
-+ * Added WD800BB-00JHA0 to the database (closes: bug#310301).
-+
-+ -- Aurelien Jarno Mon, 23 May 2005 01:08:43 +0200
-+
-+hddtemp (0.3-beta13-12) unstable; urgency=low
-+
-+ * Added HDS722512VLAT80 to the database (closes: bug#309011).
-+ * Added Vietnamese debconf translation. Thanks to Clytie Siddall (closes:
-+ bug#309451).
-+
-+ -- Aurelien Jarno Mon, 16 May 2005 16:58:00 +0200
-+
-+hddtemp (0.3-beta13-11) unstable; urgency=low
-+
-+ * Added WD2500JB-55GVA0 to the database (closes: bug#307673).
-+
-+ -- Aurelien Jarno Wed, 4 May 2005 23:47:12 +0200
-+
-+hddtemp (0.3-beta13-10) unstable; urgency=high
-+
-+ * Daemonization fixed (closes: bug#307113).
-+ * Added HDS722525VLSA80 to the database (closes: bug#306691).
-+
-+ -- Aurelien Jarno Mon, 2 May 2005 01:01:54 +0200
-+
-+hddtemp (0.3-beta13-9) unstable; urgency=low
-+
-+ * Remove /etc/logcheck.ignore.workstation/hddtemp in postinst.
-+
-+ -- Aurelien Jarno Fri, 22 Apr 2005 18:35:58 +0200
-+
-+hddtemp (0.3-beta13-8) unstable; urgency=low
-+
-+ * Really applied Danish debconf template (closes: bug#302353).
-+ * Updated Czech debconf template. Thanks to Miroslav Jezbera (closes:
-+ bug#304716).
-+ * Updated French debconf template. Thanks to Jean-Luc Coulon (closes:
-+ bug#303061).
-+ * Added WD2000JB-32EVA0 to hddtemp.deb (closes: bug#302760).
-+ * Fixed logcheck ignore files (closes: bug#304110).
-+
-+ -- Aurelien Jarno Fri, 15 Apr 2005 06:26:34 +0200
-+
-+hddtemp (0.3-beta13-7) unstable; urgency=low
-+
-+ * Updated Danish debconf template. Thanks to Claus Hindsgaul (closes:
-+ bug#302353).
-+
-+ -- Aurelien Jarno Fri, 15 Apr 2005 06:15:19 +0200
-+
-+hddtemp (0.3-beta13-6) unstable; urgency=low
-+
-+ * Updated Japanese debconf template. Thanks to Kenshi Muto (closes:
-+ bug#302322).
-+
-+ -- Aurelien Jarno Thu, 31 Mar 2005 12:26:56 +0200
-+
-+hddtemp (0.3-beta13-5) unstable; urgency=low
-+
-+ * Fixed French debconf template.
-+
-+ -- Aurelien Jarno Wed, 30 Mar 2005 22:59:34 +0200
-+
-+hddtemp (0.3-beta13-4) unstable; urgency=low
-+
-+ * debian/templates: s/gkrellm-hdtemp/gkrellm/g (closes: bug#302178).
-+
-+ -- Aurelien Jarno Wed, 30 Mar 2005 15:21:10 +0200
-+
-+hddtemp (0.3-beta13-3) unstable; urgency=medium
-+
-+ * Don't listen on socket if only syslog is choosen in debconf. Thanks to
-+ Mario Holbe for the patch (closes: bug#302065).
-+
-+ -- Aurelien Jarno Wed, 30 Mar 2005 01:25:04 +0200
-+
-+hddtemp (0.3-beta13-2) unstable; urgency=medium
-+
-+ * Try to detect cdrom drives using the ide-scsi driver (closes:
-+ bug#302061).
-+
-+ -- Aurelien Jarno Wed, 30 Mar 2005 00:38:49 +0200
-+
-+hddtemp (0.3-beta13-1) unstable; urgency=medium
-+
-+ * New upstream version which contains the same code as in the previous
-+ Debian package.
-+ * Use SG_IO only when available (closes: bug#300679).
-+ * Added syslog option in debconf (closes: bug#300332).
-+ * Fixed the manpage (closes: bug#300332).
-+ * Only disable SCSI exceptions if they are already enabled (closes:
-+ bug#278345).
-+
-+ -- Aurelien Jarno Tue, 29 Mar 2005 15:56:03 +0200
-+
-+hddtemp (0.3-beta12-16) unstable; urgency=low
-+
-+ * Verify SATA magics in the ATA pass through subroutine.
-+
-+ -- Aurelien Jarno Sun, 27 Feb 2005 16:51:48 +0100
-+
-+hddtemp (0.3-beta12-15) unstable; urgency=low
-+
-+ * Change the way SATA disks are detected, so that there is no more
-+ SCSI errors with SCSI disks.
-+ * Print SCSI disks name in a smarter way.
-+ * Updated database.
-+
-+ -- Aurelien Jarno Fri, 25 Feb 2005 22:59:36 +0100
-+
-+hddtemp (0.3-beta12-14) unstable; urgency=low
-+
-+ * Converted SCSI subroutines to SG_IO (closes: bug#235422, bug#275612,
-+ bug#292205).
-+ * Added support for SATA (closes: bug#227409). A kernel patch for
-+ SATA is still need (see /usr/share/doc/hddtemp/README).
-+
-+ -- Aurelien Jarno Fri, 25 Feb 2005 02:16:57 +0100
-+
-+hddtemp (0.3-beta12-13) unstable; urgency=low
-+
-+ * Don't display an error message if /proc/sys/dev/cdrom/info doesn't
-+ exist (systems without CDROM drives) (closes: bug#295814).
-+
-+ -- Aurelien Jarno Fri, 18 Feb 2005 12:42:18 +0100
-+
-+hddtemp (0.3-beta12-12) unstable; urgency=low
-+
-+ * Added Hitachi Deskstar 7K80 40G and 80GB disks.
-+
-+ -- Aurelien Jarno Sun, 6 Feb 2005 17:49:15 +0100
-+
-+hddtemp (0.3-beta12-11) unstable; urgency=low
-+
-+ * Uses /proc/sys/dev/cdrom/info instead of hardcoded paths to detect CDROM
-+ drives (closes: bug#293542).
-+
-+ -- Aurelien Jarno Fri, 4 Feb 2005 11:15:37 +0100
-+
-+hddtemp (0.3-beta12-10) unstable; urgency=low
-+
-+ * Added a README.Debian to explain why the init script could not found
-+ some disks.
-+
-+ -- Aurelien Jarno Tue, 25 Jan 2005 16:46:53 +0100
-+
-+hddtemp (0.3-beta12-9) unstable; urgency=low
-+
-+ * Updated Brasilian translation. Thanks to Tiago Bortoletto Vaz (closes:
-+ bug#283832).
-+
-+ -- Aurelien Jarno Wed, 1 Dec 2004 21:40:42 +0100
-+
-+hddtemp (0.3-beta12-8) unstable; urgency=low
-+
-+ * Updated hddtemp.db.
-+ * Added MHT2060AH drive (closes: bug#280805).
-+
-+ -- Aurelien Jarno Wed, 1 Dec 2004 19:19:37 +0100
-+
-+hddtemp (0.3-beta12-7) unstable; urgency=low
-+
-+ * Updated German debconf translation. Thanks to Erik Schanze (closes:
-+ bug#282280).
-+
-+ -- Aurelien Jarno Sun, 21 Nov 2004 16:22:41 +0100
-+
-+hddtemp (0.3-beta12-6) unstable; urgency=low
-+
-+ * Don't abord the script if /dev/cdrom doesn't exists.
-+
-+ -- Aurelien Jarno Mon, 25 Oct 2004 14:46:42 +0000
-+
-+hddtemp (0.3-beta12-5) unstable; urgency=low
-+
-+ * Added a patch to allow temperatures to be logged to syslog (closes:
-+ bug#271508).
-+ * Added hddtemp-all.sh to contribs. Thanks to Javier Fernández-Sanguino
-+ Peña (closes: bug#276444).
-+ * /etc/init.d/hddtemp: skip CD and DVD drives.
-+
-+ -- Aurelien Jarno Sun, 24 Oct 2004 17:30:34 +0200
-+
-+hddtemp (0.3-beta12-4) unstable; urgency=low
-+
-+ * Print "done." in the init script when stopping hddtemp (closes:
-+ bug#275952).
-+ * Updated hddtemp.db with the latest available version.
-+
-+ -- Aurelien Jarno Tue, 12 Oct 2004 10:10:01 +0100
-+
-+hddtemp (0.3-beta12-3) unstable; urgency=medium
-+
-+ * Added support for WDC 200GB SE (closes: bug#275105).
-+
-+ -- Aurelien Jarno Thu, 7 Oct 2004 21:01:15 +0200
-+
-+hddtemp (0.3-beta12-2) unstable; urgency=low
-+
-+ * Added support for Maxtor MaXLine Plus II 250GB (closes: bug#274596).
-+ * Added support for Travelstar 5K80 series (closes: bug#274671).
-+ * Removed init message when the daemon is disabled.
-+
-+ -- Aurelien Jarno Sun, 3 Oct 2004 19:40:23 +0200
-+
-+hddtemp (0.3-beta12-1) unstable; urgency=low
-+
-+ * New upstream version.
-+
-+ -- Aurelien Jarno Sat, 2 Oct 2004 01:47:19 +0200
-+
-+hddtemp (0.3-beta11-17) unstable; urgency=low
-+
-+ * Detect sleeping drives in the init script (closes: bug#269462).
-+
-+ -- Aurelien Jarno Wed, 1 Sep 2004 18:49:35 +0200
-+
-+hddtemp (0.3-beta11-16) unstable; urgency=low
-+
-+ * Added support for Samsung SpinPoint PL40 serie.
-+ * Added support for Western Digital 250GB Special Edition 8MB (closes:
-+ bug#269342).
-+ * Added support for Maxtor DiamondMax Plus 40 drives (closes:
-+ bug#269346).
-+
-+ -- Aurelien Jarno Wed, 1 Sep 2004 11:29:55 +0200
-+
-+hddtemp (0.3-beta11-15) unstable; urgency=low
-+
-+ * Added Danish debconf translation. Thanks to Claus Hindsgaul (closes:
-+ bug#267551).
-+ * Added support for Western Digital 160GB Special Edition 8MB (closes:
-+ bug#267492).
-+
-+ -- Aurelien Jarno Tue, 31 Aug 2004 11:23:43 +0200
-+
-+hddtemp (0.3-beta11-14) unstable; urgency=medium
-+
-+ * Let the kernel decide if we can access the device or not (closes:
-+ bug#262742).
-+ * Added an option to wake-up the driver if need (closes: #255308).
-+ * Added IPv6 support.
-+
-+ -- Aurelien Jarno Mon, 16 Aug 2004 15:36:00 +0200
-+
-+hddtemp (0.3-beta11-13) unstable; urgency=low
-+
-+ * Added Czech debconf translation. Thanks to Miroslav Jezbera (closes:
-+ bug#261284).
-+
-+ -- Aurelien Jarno Sat, 31 Jul 2004 16:18:17 +0200
-+
-+hddtemp (0.3-beta11-12) unstable; urgency=low
-+
-+ * Fixed manpage installation (closes: bug#258048, #258101).
-+
-+ -- Aurelien Jarno Thu, 8 Jul 2004 02:08:00 +0200
-+
-+hddtemp (0.3-beta11-11) unstable; urgency=low
-+
-+ * Print WARNING messages on stderr (closes: bug#254940).
-+
-+ -- Aurelien Jarno Fri, 18 Jun 2004 00:17:08 +0200
-+
-+hddtemp (0.3-beta11-10) unstable; urgency=low
-+
-+ * If a debconf answer is empty, ignore it (closes: bug#247026).
-+
-+ -- Aurelien Jarno Tue, 4 May 2004 01:48:26 +0200
-+
-+hddtemp (0.3-beta11-9) unstable; urgency=low
-+
-+ * The "Welcome to the 10 new EU members" release.
-+ * Added --retry parameter when calling start-stop-daemon (closes:
-+ bug#246028).
-+
-+ -- Aurelien Jarno Sat, 1 May 2004 00:49:45 +0200
-+
-+hddtemp (0.3-beta11-8) unstable; urgency=low
-+
-+ * Added support for Samsung P80 SATA drives (closes: bug#243464).
-+
-+ -- Aurelien Jarno Tue, 13 Apr 2004 17:34:30 +0200
-+
-+hddtemp (0.3-beta11-7) unstable; urgency=low
-+
-+ * Added support for Hitachi Deskstar 7K250 (closes: bug#241493).
-+
-+ -- Aurelien Jarno Sun, 11 Apr 2004 16:37:51 +0200
-+
-+hddtemp (0.3-beta11-6) unstable; urgency=low
-+
-+ * Added support for Western Digital WD1600JB-00FUA0 disk (closes:
-+ bug#237983).
-+
-+ -- Aurelien Jarno Tue, 16 Mar 2004 13:14:19 +0100
-+
-+hddtemp (0.3-beta11-5) unstable; urgency=low
-+
-+ * Minor changes to debian/postinst script.
-+
-+ -- Aurelien Jarno Sun, 8 Feb 2004 00:27:59 +0100
-+
-+hddtemp (0.3-beta11-4) unstable; urgency=low
-+
-+ * Updated description (closes: bug#230507).
-+
-+ -- Aurelien Jarno Sun, 1 Feb 2004 17:37:58 +0100
-+
-+hddtemp (0.3-beta11-3) unstable; urgency=low
-+
-+ * Don't include asm headers on architectures that don't support
-+ backtracing.
-+
-+ -- Aurelien Jarno Sun, 25 Jan 2004 21:57:49 +0100
-+
-+hddtemp (0.3-beta11-2) unstable; urgency=low
-+
-+ * Included upstream ChangeLog (closes: bug#226329).
-+
-+ -- Aurelien Jarno Tue, 6 Jan 2004 03:16:37 +0100
-+
-+hddtemp (0.3-beta11-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated the database to version 03C.
-+
-+ -- Aurelien Jarno Fri, 2 Jan 2004 10:05:21 +0100
-+
-+hddtemp (0.3-beta10-2) unstable; urgency=low
-+
-+ * Disable backtracing on non-i386 architectures.
-+
-+ -- Aurelien Jarno Mon, 15 Dec 2003 09:19:48 +0100
-+
-+hddtemp (0.3-beta10-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated debian/copyright.
-+
-+ -- Aurelien Jarno Mon, 15 Dec 2003 08:24:37 +0100
-+
-+hddtemp (0.3-beta9-2) unstable; urgency=low
-+
-+ * Moved ja.po in the right directory.
-+
-+ -- Aurelien Jarno Fri, 12 Dec 2003 09:31:19 +0100
-+
-+hddtemp (0.3-beta9-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated the database to version 03B.
-+
-+ -- Aurelien Jarno Fri, 12 Dec 2003 09:21:16 +0100
-+
-+hddtemp (0.3-beta8-7) unstable; urgency=low
-+
-+ * Added po debconf translations. Thanks to Kenshi Muto. (closes:
-+ bug#211954)
-+
-+ -- Aurelien Jarno Sun, 21 Sep 2003 14:03:19 +0200
-+
-+hddtemp (0.3-beta8-6) unstable; urgency=low
-+
-+ * Remove the link to /usr/sbin/hddtemp in /usr/bin when removing the
-+ package (closes: bug#210609).
-+ * Updated Policy standard compliance to 3.6.1 (no changes).
-+
-+ -- Aurelien Jarno Fri, 12 Sep 2003 16:06:56 +0200
-+
-+hddtemp (0.3-beta8-5) unstable; urgency=low
-+
-+ * Removed the single-quoting around the -s parameter in the init script
-+ (closes: bug#208542).
-+
-+ -- Aurelien Jarno Wed, 3 Sep 2003 19:02:24 +0200
-+
-+hddtemp (0.3-beta8-4) unstable; urgency=medium
-+
-+ * Don't modify the config file in the config script (closes: bug#203583).
-+ * Urgency set to medium as the bug breaks upgrade.
-+ * The init script also stop manually started daemons.
-+ * Added a small patch to make sure hddtemp could not be started in daemon
-+ mode by a normal user even if it is SUID root.
-+
-+ -- Aurelien Jarno Tue, 2 Sep 2003 14:52:03 +0200
-+
-+hddtemp (0.3-beta8-3) unstable; urgency=low
-+
-+ * Don't strip the comments from the config file when installing the
-+ package.
-+
-+ -- Aurelien Jarno Mon, 1 Sep 2003 18:51:33 +0200
-+
-+hddtemp (0.3-beta8-2) unstable; urgency=low
-+
-+ * Fixed a typo in the manpage. Thanks to Carlos Valdivia Yagüe. (Closes:
-+ bug#205947).
-+
-+ -- Aurelien Jarno Tue, 19 Aug 2003 09:19:04 +0200
-+
-+hddtemp (0.3-beta8-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Recoded the changelog in UTF-8.
-+
-+ -- Aurelien Jarno Tue, 12 Aug 2003 01:14:19 +0200
-+
-+hddtemp (0.3-beta7-6) unstable; urgency=low
-+
-+ * Fixed config and postinst scripts (closes: bug#203583).
-+
-+ -- Aurelien Jarno Tue, 5 Aug 2003 09:16:11 +0200
-+
-+hddtemp (0.3-beta7-5) unstable; urgency=low
-+
-+ * Fixed a typo in /etc/init.d/hddtemp (closes: bug#203441).
-+
-+ -- Aurelien Jarno Wed, 30 Jul 2003 06:29:45 +0200
-+
-+hddtemp (0.3-beta7-4) unstable; urgency=low
-+
-+ * Changed the DAEMON parameter in /etc/default/hddtemp to RUN_DAEMON
-+ (closes: bug#203107).
-+ * Updated the database to version 036.
-+ * Updated Policy standard compliance to 3.6.0.
-+
-+ -- Aurelien Jarno Mon, 28 Jul 2003 02:32:00 +0200
-+
-+hddtemp (0.3-beta7-3) unstable; urgency=low
-+
-+ * Updated es debconf translations. Thanks to Carlos Valdivia Yagüe.
-+ (closes: bug#198450).
-+ * Updated the database to version 033.
-+
-+ -- Aurelien Jarno Tue, 24 Jun 2003 01:12:00 +0200
-+
-+hddtemp (0.3-beta7-2) unstable; urgency=low
-+
-+ * Updated fr debconf translations. Thanks to Michel Grentzin.
-+ (closes: bug#198155)
-+ * Added pt_BR debconf translations. Thanks to Andre Luis Lopes.
-+ (closes: bug#198350)
-+
-+ -- Aurelien Jarno Sun, 22 Jun 2003 02:55:59 +0200
-+
-+hddtemp (0.3-beta7-1) unstable; urgency=low
-+
-+ * New upstream version with i18n support.
-+
-+ -- Aurelien Jarno Mon, 16 Jun 2003 22:54:25 +0200
-+
-+hddtemp (0.3-beta6-9) unstable; urgency=low
-+
-+ * Updated the database to version 032.
-+ * Unmark some untranslatable strings in the master templates file. (closes:
-+ bug#197642).
-+
-+ -- Aurelien Jarno Mon, 16 Jun 2003 19:32:07 +0200
-+
-+hddtemp (0.3-beta6-8) unstable; urgency=low
-+
-+ * Updated the database to version 030.
-+ * Updated fr debconf translations. Thanks to Michel Grentzin.
-+ (closes: bug#196765)
-+
-+ -- Aurelien Jarno Mon, 9 Jun 2003 20:37:46 +0200
-+
-+hddtemp (0.3-beta6-7) unstable; urgency=low
-+
-+ * Changed priority for debconf questions to more reasonable values.
-+ * Updated the database to version 02F.
-+ * Updated Policy standard compliance to 3.5.10.
-+
-+ -- Aurelien Jarno Thu, 22 May 2003 23:43:24 +0200
-+
-+hddtemp (0.3-beta6-6) unstable; urgency=low
-+
-+ * Don't mark /etc/default/hddtemp as a conffile, handle it entirely
-+ in maintainer scripts (closes: bug#193466).
-+ * Pass --ok-nodo argument to start-stop-daemon in init script when
-+ stopping hddtemp (closes: bug#193622).
-+
-+ -- Aurelien Jarno Sun, 18 May 2003 13:09:48 +0200
-+
-+hddtemp (0.3-beta6-5) unstable; urgency=low
-+
-+ * Updated the database to version 02E.
-+ * Don't save the fact that the daemon is running or not in debconf, but
-+ rather in /etc/default/hddemp.
-+
-+ -- Aurelien Jarno Sun, 11 May 2003 15:06:47 +0200
-+
-+hddtemp (0.3-beta6-4) unstable; urgency=low
-+
-+ * Updated the upstream project homepage in debian/copyright (closes:
-+ bug#190960).
-+
-+ -- Aurelien Jarno Sun, 27 Apr 2003 17:46:53 +0200
-+
-+hddtemp (0.3-beta6-3) unstable; urgency=low
-+
-+ * Updated the upstream project homepage in the description (closes:
-+ bug#190929).
-+ * Updated the database to version 02B.
-+
-+ -- Aurelien Jarno Sun, 27 Apr 2003 11:40:14 +0200
-+
-+hddtemp (0.3-beta6-2) unstable; urgency=low
-+
-+ * Added port and separator options to /etc/default/hddtemp.
-+ * Added -l option to the manpage.
-+
-+ -- Aurelien Jarno Thu, 3 Apr 2003 09:44:58 +0200
-+
-+hddtemp (0.3-beta6-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated database.
-+ * Updated Policy standard compliance to 3.5.9.
-+
-+ -- Aurelien Jarno Wed, 2 Apr 2003 22:54:01 +0200
-+
-+hddtemp (0.3-beta5-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated database.
-+ * Added an option to listen on a specific interface (closes: bug#186062).
-+ * Changed name displayed by /etc/init.d/hddtemp (closes: bug#187041).
-+
-+ -- Aurelien Jarno Tue, 1 Apr 2003 02:24:53 +0200
-+
-+hddtemp (0.3-beta4-2) unstable; urgency=low
-+
-+ * The "I have uploaded the wrong version" release.
-+ * Fixed a bug in i18n.c. (closes: bug#185328).
-+
-+ -- Aurelien Jarno Tue, 18 Mar 2003 20:32:03 +0100
-+
-+hddtemp (0.3-beta4-1) unstable; urgency=low
-+
-+ * New upstream version.
-+ * Updated database.
-+ * Improved /etc/init.d/hddtemp and added a config file in
-+ /etc/default (Closes: bug#183843). Thanks to Greg Miller.
-+ * Fixed a bug in i18n.c.
-+ * Added homepage and author to the description.
-+ * Debconf templates are now managed with po-debconf.
-+ * Uses debian/compat instead of DH_COMPAT.
-+
-+ -- Aurelien Jarno Mon, 17 Mar 2003 00:29:12 +0100
-+
-+hddtemp (0.3-beta3-3) unstable; urgency=low
-+
-+ * Added patch to allow local port reuse in TIME_WAIT.
-+
-+ -- Aurelien Jarno Sat, 25 Jan 2003 01:43:21 +0100
-+
-+hddtemp (0.3-beta3-2) unstable; urgency=low
-+
-+ * Don't fail at postinst stage if daemon failed to start. (closes:
-+ bug#177660)
-+
-+ -- Aurelien Jarno Fri, 24 Jan 2003 21:21:41 +0100
-+
-+hddtemp (0.3-beta3-1) unstable; urgency=low
-+
-+ * New upstream version including all the previous patches plus some fixes.
-+ * Updated database.
-+
-+ -- Aurelien Jarno Sun, 19 Jan 2003 21:27:30 +0100
-+
-+hddtemp (0.3-beta2-4) unstable; urgency=low
-+
-+ * Added patch from Julien Blache to fix a lot of spelling mistakes.
-+ Thanks !
-+
-+ -- Aurelien Jarno Sun, 19 Jan 2003 09:55:47 +0100
-+
-+hddtemp (0.3-beta2-3) unstable; urgency=low
-+
-+ * Added an option to print only the temperature. Thanks to Julien Blache
-+ for the patch. (closes: bug#176395)
-+ * Fixed some warnings introduced by gcc-3.2.
-+
-+ -- Aurelien Jarno Sun, 12 Jan 2003 12:30:49 +0100
-+
-+hddtemp (0.3-beta2-2) unstable; urgency=low
-+
-+ * Merged hddtemp and hddtemp-daemon and added a debconf question
-+ because the package was refused by the ftpmaster.
-+
-+ -- Aurelien Jarno Wed, 8 Jan 2003 21:48:09 +0100
-+
-+hddtemp (0.3-beta2-1) unstable; urgency=low
-+
-+ * New beta version.
-+ * Added daemon mode init script to the new package hddtemp-daemon.
-+ * Updated Policy standard compliance to 3.5.8.
-+
-+ -- Aurelien Jarno Sat, 4 Jan 2003 10:04:16 +0100
-+
-+hddtemp (0.2-18) unstable; urgency=low
-+
-+ * Updated database (version 021).
-+
-+ -- Aurelien Jarno Sat, 28 Dec 2002 16:59:39 -0500
-+
-+hddtemp (0.2-17) unstable; urgency=low
-+
-+ * Fixed copyright file.
-+ * Removed debian/conffiles, this is handled by dh_installdeb automatically ;
-+ otherwise we end up with each conffile being listed twice...
-+
-+ -- Aurelien Jarno Tue, 17 Dec 2002 01:39:02 +0100
-+
-+hddtemp (0.2-16) unstable; urgency=low
-+
-+ * Updated database (version 01f).
-+
-+ -- Aurelien Jarno Tue, 17 Dec 2002 00:40:07 +0100
-+
-+hddtemp (0.2-15) unstable; urgency=low
-+
-+ * Updated database (version 01D).
-+ * Added disk model IC35L040AVVN07-0 (closes: bug#172117). Thanks to Henrique
-+ de Moraes Holschuh.
-+
-+ -- Aurelien Jarno Sat, 7 Dec 2002 16:47:41 +0100
-+
-+hddtemp (0.2-14) unstable; urgency=low
-+
-+ * Corrected a bug affecting the display of the degree sign.
-+
-+ -- Aurelien Jarno Thu, 26 Sep 2002 01:29:10 +0200
-+
-+hddtemp (0.2-13) unstable; urgency=low
-+
-+ * Added support for other encodings than iso-8859-1. (closes:bug#158106)
-+ * debian/hddtemp.1: corrected description of -f option.
-+
-+ -- Aurelien Jarno Wed, 25 Sep 2002 14:26:20 +0200
-+
-+hddtemp (0.2-12) unstable; urgency=low
-+
-+ * Updated database.
-+ * Updated Policy standard compliance to 3.5.7
-+
-+ -- Aurelien Jarno Wed, 11 Sep 2002 14:21:49 +0200
-+
-+hddtemp (0.2-11) unstable; urgency=low
-+
-+ * Updated database.
-+
-+ -- Aurelien Jarno Wed, 14 Aug 2002 23:01:31 +0200
-+
-+hddtemp (0.2-10) unstable; urgency=low
-+
-+ * Updated database. (closes: bug#149313)
-+
-+ -- Aurelien Jarno Sat, 15 Jun 2002 00:00:48 +0200
-+
-+hddtemp (0.2-9) unstable; urgency=low
-+
-+ * Corrected a bug affecting the display of the degree sign on some systems.
-+ (closes: bug#147136, #147138)
-+
-+ -- Aurelien Jarno Tue, 11 Jun 2002 19:34:03 +0200
-+
-+hddtemp (0.2-8) unstable; urgency=low
-+
-+ * Corrected debconf template. (closes: bug#148146)
-+ * Updated HDD database.
-+
-+ -- Aurelien Jarno Sat, 25 May 2002 17:11:16 +0200
-+
-+hddtemp (0.2-7) unstable; urgency=low
-+
-+ * Corrected the man page.
-+
-+ -- Aurelien Jarno Sun, 19 May 2002 23:54:39 +0200
-+
-+hddtemp (0.2-6) unstable; urgency=low
-+
-+ * Updated HDD database.
-+
-+ -- Aurelien Jarno Sat, 18 May 2002 13:33:02 +0200
-+
-+hddtemp (0.2-5) unstable; urgency=low
-+
-+ * Updated HDD database.
-+ * Updated the man page.
-+
-+ -- Aurelien Jarno Mon, 13 May 2002 06:40:08 +0200
-+
-+hddtemp (0.2-4) unstable; urgency=low
-+
-+ * Moved /usr/share/hddtemp/hddtemp.db to /etc/hddtemp.db as conffile.
-+ (closes: bug#146738)
-+
-+ -- Aurelien Jarno Sun, 12 May 2002 19:50:23 +0200
-+
-+hddtemp (0.2-3) unstable; urgency=low
-+
-+ * Added de debconf translations.
-+ * Updated HDD database.
-+
-+ -- Aurelien Jarno Sun, 12 May 2002 17:15:28 +0200
-+
-+hddtemp (0.2-2) unstable; urgency=low
-+
-+ * Fixed typos and erroneous statement in description. (closes: bug#146551)
-+ * Fixed manpage. (closes: bug#146554)
-+ * A symlink to /usr/bin is made when installing hddtemp SUID root.
-+
-+ -- Aurelien Jarno Sat, 11 May 2002 15:54:42 +0200
-+
-+hddtemp (0.2-1) unstable; urgency=low
-+
-+ * Initial Release. (closes: bug#145611)
-+
-+ -- Aurelien Jarno Thu, 9 May 2002 14:50:35 +0200
-+
---- hddtemp-0.3-beta15.orig/debian/templates
-+++ hddtemp-0.3-beta15/debian/templates
-@@ -0,0 +1,63 @@
-+# These templates have been reviewed by the debian-l10n-english
-+# team
-+#
-+# If modifications/additions/rewording are needed, please ask
-+# debian-l10n-english@lists.debian.org for advice.
-+#
-+# Even minor modifications require translation updates and such
-+# changes should be coordinated with translators and reviewers.
-+
-+Template: hddtemp/SUID_bit
-+Type: boolean
-+Default: false
-+_Description: Should /usr/sbin/hddtemp be installed SUID root?
-+ You have the option of installing hddtemp with the SUID bit set,
-+ allowing it to be run (reporting hard drive temperatures) by regular
-+ users and not only the superuser.
-+ .
-+ This could potentially allow hddtemp to be used during an attack
-+ against the computer's security. If in doubt, do not choose this option.
-+ .
-+ This setting can be modified later by running 'dpkg-reconfigure hddtemp'.
-+
-+Template: hddtemp/syslog
-+Type: string
-+Default: 0
-+_Description: Interval between hard drive temperature checks:
-+ The temperature of the hard drive(s) can be logged by hddtemp via
-+ the generic system logging interface.
-+ .
-+ Please enter a value in seconds corresponding to the interval between
-+ two checks. To disable this feature, enter 0.
-+
-+Template: hddtemp/daemon
-+Type: boolean
-+Default: false
-+_Description: Should the hddtemp daemon be started at boot?
-+ The hddtemp program can be run as a daemon, listening on port 7634
-+ for incoming connections. It is used by some software such as gkrellm to get
-+ the temperature of hard drives.
-+ .
-+ You have the option of starting the hddtemp daemon automatically on
-+ system boot. If in doubt, it is suggested to not start it
-+ automatically on boot.
-+ .
-+ This setting can be modified later by running 'dpkg-reconfigure hddtemp'.
-+
-+Template: hddtemp/interface
-+Type: string
-+Default: 127.0.0.1
-+_Description: Interface to listen on:
-+ The hddtemp program can listen for incoming connections on a specific
-+ interface, or on all interfaces.
-+ .
-+ To listen on a specific interface, enter the IP address of that interface
-+ (choosing 127.0.0.1 will accept local connections only). To listen on all interfaces,
-+ enter 0.0.0.0.
-+
-+Template: hddtemp/port
-+Type: string
-+Default: 7634
-+_Description: Port to listen on:
-+ By default, hddtemp listens for incoming connections on port 7634. This
-+ can be changed for another port number.
---- hddtemp-0.3-beta15.orig/debian/dirs
-+++ hddtemp-0.3-beta15/debian/dirs
-@@ -0,0 +1,3 @@
-+etc/init.d
-+etc/default
-+usr/share/doc/hddtemp
---- hddtemp-0.3-beta15.orig/debian/copyright
-+++ hddtemp-0.3-beta15/debian/copyright
-@@ -0,0 +1,26 @@
-+This package was debianized by Aurelien Jarno on
-+Wed, 8 May 2002 01:40:30 +0200.
-+
-+It was downloaded from http://www.guzu.net/linux/hddtemp.php
-+
-+Upstream Author: Emmanuel Varagnat
-+
-+Copyright: 2002, 2003 Emmanuel Varagnat
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License as published by
-+ the Free Software Foundation; either version 2 of the License, or
-+ (at your option) any later version.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License with
-+ the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
-+ if not, write to the Free Software Foundation, Inc., 51 Franklin St,
-+ Fifth Floor, Boston, MA 02110-1301 USA
-+
-+ On Debian systems, the complete text of the GNU General Public
-+ License, version 2, can be found in /usr/share/common-licenses/GPL-2.
---- hddtemp-0.3-beta15.orig/debian/logcheck.ignore.server
-+++ hddtemp-0.3-beta15/debian/logcheck.ignore.server
-@@ -0,0 +1,2 @@
-+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ hddtemp\[[0-9]+\]: /dev/([hs]d[a-z]|sg[0-9]): .*: [0-9]+ [CF]$
-+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ hddtemp\[[0-9]+\]: /dev/([hs]d[a-z]|sg[0-9]): .*: drive is sleeping$
---- hddtemp-0.3-beta15.orig/debian/config
-+++ hddtemp-0.3-beta15/debian/config
-@@ -0,0 +1,51 @@
-+#!/bin/sh
-+# hddtemp package configuration script
-+
-+set -e
-+
-+conffile="/etc/default/hddtemp"
-+
-+get_config_file()
-+{
-+ config_field=$1
-+ db_field=$2
-+
-+ if [ -f "$conffile" ] ; then
-+ VALUE="$(grep "^[ ]*$config_field" $conffile | sed -e "s/^$config_field *= *\"\(.*\)\"/\1/g")"
-+ if [ -n "$VALUE" ] ; then
-+ db_set $db_field "$VALUE"
-+ fi
-+ fi
-+}
-+
-+# Source debconf library -- we have a Depends line
-+# to make sure it is there...
-+. /usr/share/debconf/confmodule
-+db_version 2.0
-+
-+if [ "$1" = configure -o "$1" = reconfigure ] ; then
-+ db_input medium hddtemp/SUID_bit || true
-+
-+ get_config_file SYSLOG hddtemp/syslog
-+ db_input medium hddtemp/syslog || true
-+
-+ get_config_file DAEMON hddtemp/daemon
-+ get_config_file RUN_DAEMON hddtemp/daemon
-+ db_input medium hddtemp/daemon || true
-+
-+ db_go
-+
-+ db_get hddtemp/daemon
-+
-+ if [ "$RET" = "true" ] ; then
-+ get_config_file INTERFACE hddtemp/interface
-+ db_input medium hddtemp/interface || true
-+
-+ get_config_file PORT hddtemp/port
-+ db_input medium hddtemp/port || true
-+
-+ db_go
-+ fi
-+fi
-+
-+exit 0
---- hddtemp-0.3-beta15.orig/debian/postinst
-+++ hddtemp-0.3-beta15/debian/postinst
-@@ -0,0 +1,146 @@
-+#!/bin/sh
-+# postinst script for hddtemp
-+set -e
-+
-+conffile="/etc/default/hddtemp"
-+
-+update_config_file()
-+{
-+ db_field=$1
-+ config_field=$2
-+
-+ RET=false
-+ db_get $db_field
-+ if [ -n "$RET" ] ; then
-+ if grep -q "^$config_field" $conffile ; then
-+ # keep any admin changes, while replacing the variable content
-+ sed "s/^[ ]*$config_field=\".*\"/$config_field=\"$RET\"/" < $conffile > $conffile.new &&
-+ mv $conffile.new $conffile
-+ else
-+ echo "$config_field=\"$RET\"" >> $conffile
-+ fi
-+ fi
-+}
-+
-+# Source debconf library -- we have a Depends line
-+# to make sure it is there...
-+. /usr/share/debconf/confmodule
-+db_version 2.0
-+
-+case "$1" in
-+ configure)
-+ if [ -f $conffile ] ; then
-+ sed -i -e 's/^[ ]*DAEMON/RUN_DAEMON/g' \
-+ -e 's/^[ ]*SYSLOG/RUN_SYSLOG/g' \
-+ -e 's/^# Master system-wide hddtemp switch.*/# hddtemp network daemon switch. If set to true, hddtemp will listen/' \
-+ -e 's/^# set to true. STOP THE SERVICE.*/# for incoming connections./' \
-+ -e 's/^# Logging period.*temperatures.$/# Logging period (in seconds) for the temperatures. If set to a value\n# different than 0, hddtemp will run as a daemon periodically logging\n# the temperatures through syslog/' \
-+ $conffile
-+ if ! grep -q RUN_SYSLOG $conffile ; then
-+ cat << EOF >> $conffile
-+
-+# Logging period (in seconds) for the temperatures. If set to a value
-+# different than 0, hddtemp will run as a daemon periodically logging
-+# the temperatures through syslog
-+RUN_SYSLOG="0"
-+EOF
-+ fi
-+ if ! grep -q OPTIONS $conffile ; then
-+ cat << EOF >> $conffile
-+
-+# Other options to pass to hddtemp
-+OPTIONS=""
-+EOF
-+ fi
-+ if ! grep -q DISKS_NOPROBE $conffile ; then
-+ cat << EOF >> $conffile
-+
-+# List of devices you want to use with hddtemp, but that would not be
-+# probed for a working sensor.
-+DISKS_NOPROBE=""
-+EOF
-+ fi
-+ else
-+ cat << EOF > $conffile
-+# Defaults for hddtemp initscript (/etc/init.d/hddtemp)
-+# This is a POSIX shell fragment
-+
-+# [automatically edited by postinst, do not change line format ]
-+
-+# hddtemp network daemon switch. If set to true, hddtemp will listen
-+# for incoming connections.
-+RUN_DAEMON="true"
-+
-+# List of devices you want to use with hddtemp. If none specified,
-+# hddtemp will probe standard devices.
-+#DISKS="/dev/hda"
-+
-+# List of devices you want to use with hddtemp, but that would not be
-+# probed for a working sensor.
-+DISKS_NOPROBE=""
-+
-+# IP address of the interface on which you want hddtemp to be bound
-+# on. If none specified, goes to 127.0.0.1. Use 0.0.0.0 to bind hddtemp
-+# on all interfaces.
-+INTERFACE="127.0.0.1"
-+
-+# Port number on which you want hddtemp to listen on. If none specified,
-+# the port 7634 is used.
-+PORT="7634"
-+
-+# Database file to use. If none specified, /etc/hddtemp.db is used.
-+#DATABASE="/etc/hddtemp.db"
-+
-+# Separator to use between fields. The default separator is '|'.
-+#SEPARATOR="|"
-+
-+# Logging period (in seconds) for the temperatures. If set to a value
-+# different than 0, hddtemp will run as a daemon periodically logging
-+# the temperatures through syslog
-+RUN_SYSLOG="0"
-+
-+# Other options to pass to hddtemp
-+OPTIONS=""
-+EOF
-+ fi
-+
-+ update_config_file hddtemp/daemon RUN_DAEMON
-+ update_config_file hddtemp/syslog RUN_SYSLOG
-+ update_config_file hddtemp/interface INTERFACE
-+ update_config_file hddtemp/port PORT
-+
-+ if ! dpkg-statoverride --list /usr/sbin/hddtemp 1>/dev/null 2>&1; then
-+ # check if we are installing suid or not
-+ RET=false
-+ db_get hddtemp/SUID_bit
-+ if [ "$RET" = "true" ]; then
-+ chmod 4755 /usr/sbin/hddtemp
-+ ln -sf /usr/sbin/hddtemp /usr/bin/hddtemp
-+ ln -sf ../man8/hddtemp.8.gz /usr/share/man/man1/hddtemp.1.gz
-+ else
-+ chmod 0755 /usr/sbin/hddtemp
-+ rm -f /usr/bin/hddtemp
-+ rm -f /usr/share/man/man8/hddtemp.1.gz
-+ fi
-+ fi
-+
-+ db_stop
-+
-+ rm -f /etc/logcheck/ignore.d.workstation/hddtemp
-+ ;;
-+ abort-upgrade|abort-remove|abort-deconfigure)
-+ ;;
-+
-+ *)
-+ echo "postinst called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
---- hddtemp-0.3-beta15.orig/debian/control
-+++ hddtemp-0.3-beta15/debian/control
-@@ -0,0 +1,17 @@
-+Source: hddtemp
-+Section: utils
-+Priority: extra
-+Maintainer: Aurelien Jarno
-+Build-Depends: debhelper (>> 5), autotools-dev, gettext (>> 0.10.1)
-+Standards-Version: 3.9.3
-+Homepage: http://www.guzu.net/linux/hddtemp.php
-+
-+Package: hddtemp
-+Architecture: any
-+Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-3)
-+Suggests: ksensors
-+Conflicts: ksensors (<< 0.7-8), gkrellm-hddtemp (<< 0.1-9)
-+Description: hard drive temperature monitoring utility
-+ The hddtemp program monitors and reports the temperature of PATA, SATA
-+ or SCSI hard drives by reading Self-Monitoring Analysis and Reporting
-+ Technology (S.M.A.R.T.) information on drives that support this feature.
---- hddtemp-0.3-beta15.orig/debian/init
-+++ hddtemp-0.3-beta15/debian/init
-@@ -0,0 +1,100 @@
-+#!/bin/sh
-+#
-+# skeleton example file to build /etc/init.d/ scripts.
-+# This file should be used to construct scripts for /etc/init.d.
-+#
-+# Written by Miquel van Smoorenburg .
-+# Modified for Debian GNU/Linux
-+# by Ian Murdock .
-+#
-+# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
-+#
-+
-+### BEGIN INIT INFO
-+# Provides: hddtemp
-+# Required-Start: $remote_fs $syslog $network
-+# Required-Stop: $remote_fs $syslog $network
-+# Default-Start: 2 3 4 5
-+# Default-Stop: 0 1 6
-+# Short-Description: disk temperature monitoring daemon
-+# Description: hddtemp is a disk temperature monitoring daemon
-+### END INIT INFO
-+
-+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-+NAME=hddtemp
-+DAEMON=/usr/sbin/$NAME
-+DESC="disk temperature monitoring daemon"
-+
-+DISKS="/dev/hd[a-z] /dev/hd[a-z][a-z]"
-+DISKS="$DISKS /dev/sd[a-z] /dev/sd[a-z][a-z]"
-+DISKS="$DISKS /dev/sr[a-z] /dev/sr[a-z][a-z]"
-+INTERFACE="0.0.0.0"
-+PORT="7634"
-+SEPARATOR="|"
-+RUN_SYSLOG="0"
-+
-+# Reads config file (will override defaults above)
-+[ -r /etc/default/hddtemp ] && . /etc/default/hddtemp
-+
-+if [ -n "$RUN_SYSLOG" ] && [ "$RUN_SYSLOG" != "0" ] ; then
-+ SYSLOG_ARG="-S $RUN_SYSLOG"
-+fi
-+
-+if [ "$RUN_DAEMON" = "true" ] || [ "$RUN_DAEMON" = "yes" ] ; then
-+ DAEMON_ARG="-d -l $INTERFACE -p $PORT -s $SEPARATOR"
-+fi
-+
-+[ -x "$DAEMON" ] || exit 0
-+
-+. /lib/lsb/init-functions
-+
-+case "$1" in
-+ start)
-+ # master switch
-+ if [ -n "$DAEMON_ARG" ] || [ -n "$SYSLOG_ARG" ] ; then
-+ log_daemon_msg "Starting $DESC" "$NAME:"
-+ CDROMS_LIST=$(sed -ne 's/^drive name:\t\+\(.*\)$/ \/dev\/\1/p' /proc/sys/dev/cdrom/info 2>/dev/null) || :
-+ CDROMS_LIST="$CDROMS_LIST $(grep -sl '^ide-scsi ' /proc/ide/hd*/driver | awk -F / '{ print "/dev/"$4 }')"
-+ for disk in $DISKS ; do
-+ echo $CDROMS_LIST | grep -wq $disk && continue
-+ echo $DISKS_NOPROBE | grep -wq $disk && continue
-+ if $DAEMON -wn $OPTIONS $disk 2>/dev/null | grep -q '^[0-9]\+$' ; then
-+ DISKS_LIST="$DISKS_LIST $disk";
-+ fi
-+ done
-+ if [ -n "$DISKS_LIST" ] || [ -n "$DISKS_NOPROBE" ] ; then
-+ start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARG $SYSLOG_ARG $OPTIONS $DISKS_NOPROBE $DISKS_LIST
-+ ret=$?
-+ log_progress_msg "$DISKS_NOPROBE$DISKS_LIST"
-+ log_end_msg $ret
-+ else
-+ log_progress_msg "no disks with monitoring capability were found."
-+ log_end_msg 0
-+ fi
-+ fi
-+ ;;
-+ stop)
-+ # master switch
-+ if [ "$RUN_DAEMON" = "true" ] || [ "$RUN_DAEMON" = "yes" ] || [ "$RUN_SYSLOG" != "0" ] ; then
-+ log_daemon_msg "Stopping $DESC" "$NAME"
-+ start-stop-daemon --stop --oknodo --exec $DAEMON --retry 30
-+ log_end_msg $?
-+ fi
-+ ;;
-+ force-reload|reload)
-+ exit 3
-+ ;;
-+ restart)
-+ $0 stop && $0 start
-+ ;;
-+ status)
-+ status_of_proc $DAEMON $NAME
-+ exit $?
-+ ;;
-+ *)
-+ echo "Usage: /etc/init.d/$NAME {start|stop|restart|status}" >&2
-+ exit 1
-+ ;;
-+esac
-+
-+exit 0
---- hddtemp-0.3-beta15.orig/debian/compat
-+++ hddtemp-0.3-beta15/debian/compat
-@@ -0,0 +1 @@
-+5
---- hddtemp-0.3-beta15.orig/debian/README.Debian
-+++ hddtemp-0.3-beta15/debian/README.Debian
-@@ -0,0 +1,14 @@
-+README.Debian for hddtemp
-+-------------------------
-+
-+This package include an init script (/etc/init.d/hddtemp) to run hddtemp
-+in daemon mode. To enable and configure it, either use
-+'dpkg-reconfigure hddtemp' or edit /etc/default/hddtemp.
-+
-+By default and when enable, the init script tries to find all disk that
-+support SMART. If you get an error such as 'no disks with monitoring
-+capability were found' or if an hard disk is not monitored, try to run
-+'hddtemp /dev/xxx', with /dev/xxx being you hard disk device. You will
-+see an explanation about why it fails.
-+
-+ -- Aurelien Jarno Sun, 27 Jul 2008 09:34:39 +0200
---- hddtemp-0.3-beta15.orig/debian/hddtemp.db
-+++ hddtemp-0.3-beta15/debian/hddtemp.db
-@@ -0,0 +1,169 @@
-+#
-+# Insert a regular expression for support of the model or the serie of your hard drive.
-+# If you don't know what to put in the second field, put the number
-+# that appears most often for your brand :o)
-+# A value of zero meens that we know that the drive doesn't have
-+# a temperature sensor (you can set the unit to C or F).
-+#
-+############################################################################
-+# The following list was found at (http://www.almico.com/forumharddisks.php)
-+# If your drive is in the list send me a mail.
-+#
-+# Manufacturer Model Size Notes
-+# FUJITSU FUJITSU MPF3102AH 10.0GB
-+# FUJITSU FUJITSU MPG3204AH E 20.0GB
-+# FUJITSU FUJITSU MPG3307AT 30.0GB
-+# FUJITSU FUJITSU MPG3409AH 40.0GB
-+# FUJITSU FUJITSU MPG3409AH EF 40.0GB
-+# HITACHI HITACHI_DK23CA-10 9.8GB
-+# HITACHI HITACHI_DK23CA-15 14.7GB
-+# SAMSUNG SAMSUNG SV3012H 29.4GB
-+# SEAGATE ST310210A 10.0GB
-+# SEAGATE ST310211A 9.8GB
-+# SEAGATE ST310215A 10.0GB
-+# SEAGATE ST315320A 14.9GB
-+# SEAGATE ST320410A 19.6GB
-+# SEAGATE ST320413A 19.6GB
-+# SEAGATE ST320420A 19.9GB
-+# SEAGATE ST330610A 29.3GB
-+# SEAGATE ST330620A 29.3GB
-+# SEAGATE ST330621A 29.3GB
-+# SEAGATE ST330630A 29.9GB
-+# SEAGATE ST340016A 39.1GB
-+# SEAGATE ST340810ACE 39.1GB
-+# SEAGATE ST380020ACE 78.2GB
-+# WESTERN DIGITAL WDC AC210200D 10.0GB
-+# WESTERN DIGITAL WDC AC29100D 8.9GB
-+# WESTERN DIGITAL WDC AC420400D 19.9GB
-+# WESTERN DIGITAL WDC WD102AA 10.0GB
-+#
-+#################################################
-+
-+########################################
-+############# ExcelStor drives
-+########################################
-+# "ExcelStor Technology CT215" ??? ? "ExcelStor CT215"
-+
-+
-+########################################
-+############# Fujitsu drives
-+########################################
-+"FUJITSU MHM2100AT" 0 C "Fujitsu MHM2100AT"
-+
-+
-+########################################
-+############# Hitachi drives
-+########################################
-+"HITACHI_DK228A-65" 0 C "Hitachi DK228A-65"
-+
-+
-+########################################
-+############# IBM drives
-+########################################
-+
-+# DJSA serie is using F0h command to report temperature and also have
-+# SMART capabilties but it was reported not to work.
-+# "DJSA-2(30|32|10|20|05)" 0 C "IBM Travelstar 20GN, 32GH, 30GT series"
-+
-+"IBM-DARA-212000" 0 C "IBM Travelstar 12GN"
-+"IBM-DTTA-35*" 0 C "IBM Deskstar 16GP serie"
-+
-+# according to specifications they do not seems to have sensor
-+# but I prefer waiting for a report
-+#"IBM-DTTA-37*" 0 C "IBM Deskstar 14GXP serie"
-+
-+"IBM-DJNA-35.*" 231 C "IBM Deskstar 25 GP serie"
-+"IBM-DJNA-37.*" 231 C "IBM Deskstar 22 GXP serie"
-+"IBM-DHEA-(34330|36480)" 0 C "IBM Deskstar 5 serie"
-+"IBM-DHEA-(34331|36481|38451)" 0 C "IBM Deskstar 8 serie"
-+"IBM-DPTA-37.*" 231 C "IBM Deskstar 34GXP serie"
-+"IBM-DPTA-35.*" 231 C "IBM Deskstar 37GP serie"
-+
-+
-+########################################
-+############# Maxtor drives
-+########################################
-+#"Maxtor 2B0[012][04568]H1" ??? C "Maxtor Fireball 541DX"
-+# which one must I trust ?
-+#"Maxtor 4D040H2" 9 C "Maxtor DiamondMax D540X-4D"
-+#"Maxtor 4D040H2" 0 C "Maxtor 4D040H2"
-+#"Maxtor 4D080H4" 12 C "Maxtor DiamondMax D540X-4D"
-+#"Maxtor 4D060H3" 12 C "Maxtor DiamondMax D540X-4D"
-+#"Maxtor 4D080H4" 9 C "Maxtor DiamondMax D540X-4D"
-+"Maxtor 5(1024|1369|2049|2732|3073|4098)U(2|3|4|6|8)" 0 C "Maxtor DiamondMax Plus 40"
-+"Maxtor 5T0[24]0H[24]" 0 C "Maxtor DiamondMax Plus 60"
-+"Maxtor 94098U8" 11 C "Maxtor DiamondMax 40 94098U8"
-+
-+
-+########################################
-+############# Quantum drives
-+########################################
-+"QUANTUM FIREBALLP AS40.0" 0 C "Quantum Fireball AS40"
-+"QUANTUM FIREBALL CX10.2A" 0 C "Quantum Fireball CX10.2A"
-+#"QUANTUM FIREBALLlct10 20" 4 C "Quantum Fireball CT10 20GB"
-+# I suspect the QUANTUM FIREBALL_TM2110A to have a sensor in field 9...
-+# "QUANTUM FIREBALL_TM2110A" 9 C "Quantum Fireball TM2110A"
-+
-+
-+########################################
-+############# Samsung drives
-+########################################
-+# somenone reported a problem with the SP8004H which reports a temperature
-+# 10°C below the ambient temperature
-+"SAMSUNG SW0434A" 0 C "Samsung SW0434A"
-+"SAMSUNG SV0432A" 0 C "Samsung SV0432A"
-+"SAMSUNG SV3002H" 0 C "Samsung SpinPoint V30 serie"
-+#"SAMSUNG SV(0221|0602|0813|1204)H" 9 C "Samsung SpinPoint V60 serie"
-+
-+
-+########################################
-+############# Seagate drives
-+########################################
-+"Seagate Technology 1275MB - ST31276A" 0 C "Seagate ST31276A"
-+"ST3412A" 0 C "Seagate ST3412A"
-+"ST38641A" 0 C "Seagate ST38641A"
-+"ST310210A" 0 C "Seagate ST310210A"
-+"ST310220A" 0 C "Seagate ST310220A"
-+# SEAGATE ST313021A 13.0GB
-+"ST313021A" 0 C "Seagate U8 ST313021A"
-+"ST310240A" 0 C "Seagate Medalist 10240 Ultra ATA-3"
-+"ST320423A" 0 C "Seagate U10 20423, Ultra ATA/66"
-+
-+
-+########################################
-+############# TOSHIBA Laptops
-+########################################
-+"MK4313MAT" 220 C "Toshiba MK4313MAT"
-+"TOSHIBA MK1517GAP" 0 C "Toshiba MK1517GAP"
-+"TOSHIBA MK2018GAS" 226 F "Toshiba MK2018GAS"
-+
-+"TOSHIBA MK3017GAP" 0 C "Toshiba MK3017GAP"
-+
-+#"TOSHIBA MK4019GAX" 222 C "Toshiba MK4019GAX"
-+
-+
-+########################################
-+############# Western Digital drives
-+########################################
-+# WDC AC310100B and WDC AC2850F are reported not working
-+# no more informations were given
-+"WDC AC22000L" 0 C "Western Digital Caviar AC22000"
-+"WDC AC420400D" 231 C "Western Digital Caviar AC420400D"
-+"WDC AC418000D" 231 C "Western Digital AC418000D"
-+"WDC WD135BA" 231 C "Western Digital WD135BA"
-+
-+"WDC WD100EB-00BHF0" 0 C "Western Digital 100EB-00BHF0"
-+"WDC WD200BB-00AUA1" 0 C "Western Digital Caviar WD200BB"
-+#"WDC WD200BB-60DGA0" 0 C "Western Digital Caviar WD200BB"
-+"WDC WD300BB-00CAA0" 0 C "Western Digital WD300BB"
-+"WDC WD400BB-00CAA0" 0 C "Western Digital 400BB-00CAA0"
-+#"WDC WD400BB-00GFA0" 0 C ""
-+"WDC WD400BB-(18CA|00DE)A0" 0 C "Western Digital Caviar WD400BB"
-+"WDC WD400EB-00CPF0" 0 C "Western Digital 400EB-00CPF0"
-+"WDC WD600BB-32BSA0" 0 C "Western Digital 600BB-32BSA0"
-+"WDC WD800BB-00CAA1" 0 C "Western Digital WD800BB-00CAA1"
-+"WDC WD800JB-00CRA1" 0 C "Western Digital Caviar WD800JB"
-+
-+# not sure for next
-+# "WDC WD1200JB-00CRA1" 9 C "Western Digital 1200JB-00CRA1"
-+# "WDC WD273BA" 9 C "Western Digital WD273BA"
---- hddtemp-0.3-beta15.orig/debian/po/cs.po
-+++ hddtemp-0.3-beta15/debian/po/cs.po
-@@ -0,0 +1,159 @@
-+#
-+# Translators, if you are not familiar with the PO format, gettext
-+# documentation is worth reading, especially sections dedicated to
-+# this format, e.g. by running:
-+# info -n '(gettext)PO Files'
-+# info -n '(gettext)Header Entry'
-+#
-+# Some information specific to po-debconf are available at
-+# /usr/share/doc/po-debconf/README-trans
-+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-+#
-+# Developers do not need to manually edit POT or PO files.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-05 21:54+0100\n"
-+"Last-Translator: Miroslav Kure \n"
-+"Language-Team: Czech \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Má se /usr/sbin/hddtemp nainstalovat jako SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Máte možnost nainstalovat hddtemp s nastaveným SUID bitem, což znamená, že "
-+"jej kromě správce budou moci spouštět i běžnà uživatelé (a zjišťovat teplotu "
-+"pevného disku)."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Takto nastavený hddtemp může být potenciálně využit ke kompromitovánà "
-+"poÄÃtaÄe. Pokud si nejste jisti, pak je lepšà tuto možnost zamÃtnout."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr "ZmÄ›nÃte-li pozdÄ›ji názor, staÄà spustit „dpkg-reconfigure hddtemp“."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Interval mezi kontrolami teploty pevného disku:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"hddtemp může zaznamenávat teplotu pevného disku (pevných disků) přes obecné "
-+"logovacà rozhranà systému."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Zadejte poÄet sekund odpovÃdajÃcà dobÄ› mezi po sobÄ› jdoucÃmi měřenÃmi. Pro "
-+"zakázánà této vlastnosti jednoduše zadejte 0."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Má se daemon hddtemp spouÅ¡tÄ›t pÅ™i startu poÄÃtaÄe?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Program hddtemp může běžet jako daemon a Äekat na portu 7634 na pÅ™Ãchozà "
-+"spojenÃ. Takto může být využÃván programy typu gkrellm pro zjiÅ¡tÄ›nà aktuálnà "
-+"teploty pevných disků."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Máte možnost spouštět daemona hddtemp automaticky při startu systému. Pokud "
-+"si nejste jisti, pak jej raději při startu systému nespouštějte."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "RozhranÃ, na kterém naslouchat:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Program hddtemp může oÄekávat pÅ™Ãchozà spojenà na konkrétnÃm rozhranà nebo "
-+"na vÅ¡ech rozhranÃch."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Aby poslouchal na konkrétnÃm rozhranÃ, zadejte IP adresu daného rozhranà "
-+"(127.0.0.1 znamená, že bude pÅ™ijÃmat pouze lokálnà spojenÃ). Pokud chcete, "
-+"aby poslouchal na vÅ¡ech rozhranÃch, zadejte 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Port, na kterém naslouchat:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"hddtemp standardnÄ› oÄekává pÅ™Ãchozà spojenà na portu 7634. Pokud vám tento "
-+"port nevyhovuje, můžete zadat jiný."
---- hddtemp-0.3-beta15.orig/debian/po/fr.po
-+++ hddtemp-0.3-beta15/debian/po/fr.po
-@@ -0,0 +1,159 @@
-+# Translation of hddtemp debconf templates to French
-+# Copyright (C) 2008 Christian Perrier
-+# This file is distributed under the same license as the hddtemp package.
-+#
-+# Michel Grentzinger , 2003.
-+# Jean-Luc Coulon (f5ibh)
-+# Christian Perrier , 2008.
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: \n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-10 12:20+0100\n"
-+"Last-Translator: Christian Perrier \n"
-+"Language-Team: French \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"X-Generator: KBabel 1.11.4\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Faut-il exécuter hddtemp avec les privilèges du superutilisateur ?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Il est possible d'installer hddtemp avec le bit « setuid » positionné, ce qui "
-+"lui permet d'être exécuté (et donc d'indiquer la température des disques "
-+"durs) par les utilisateurs non privilégiés et pas seulement le "
-+"superutilisateur."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Cela peut théoriquement permettre d'utiliser hddtemp pour une attaque visant "
-+"à compromettre la sécurité du système. Dans le doute, il est conseillé ne de "
-+"pas activer cette option."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"Ce choix peut être modifié ultérieurement avec la commande « dpkg-reconfigure "
-+"hddtemp »."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Intervalle entre deux contrôles de température :"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"La température des disques durs peut être enregistrée par hddtemp et "
-+"restituée par l'interface standard de journalisation du système."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Veuillez choisir l'intervalle en secondes entre deux mesures. Indiquez 0 "
-+"pour désactiver cette fonctionnalité."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Faut-il lancer automatiquement le démon hddtemp au démarrage ?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Le programme hddtemp peut être lancé en tant que démon, à l'écoute sur le "
-+"port 7634. Ce démon est utilisé par certains logiciels tel que gkrellm pour "
-+"obtenir la température des disques durs."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Ce démon peut être lancé automatiquement au démarrage de l'ordinateur. Dans "
-+"le doute, il est suggéré de ne pas activer cette option."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Interface où hddtemp sera à l'écoute :"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Le programme hddtemp peut être à l'écoute de connexions entrantes sur une "
-+"interface spécifique ou sur toutes les interfaces."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Pour écouter sur une interface spécifique, indiquez l'adresse IP de cette "
-+"interface (en choisissant 127.0.0.1, seules les connexions locales seront "
-+"acceptées). Pour écouter sur toutes les interfaces, saisissez simplement "
-+"0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Port sur lequel hddtemp sera à l'écoute :"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Par défaut, hddtemp attend les connexions entrantes sur le port 7634. Ce "
-+"port peut être modifié si nécessaire."
---- hddtemp-0.3-beta15.orig/debian/po/vi.po
-+++ hddtemp-0.3-beta15/debian/po/vi.po
-@@ -0,0 +1,154 @@
-+# Vietnamese Translation for hddtemp.
-+# Copyright © 2008 Free Software Foundation, Inc.
-+# Clytie Siddall , 2005-2008.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp_0.3-beta15-36\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-13 21:06+1030\n"
-+"Last-Translator: Clytie Siddall \n"
-+"Language-Team: Vietnamese \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=utf-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"Plural-Forms: nplurals=1; plural=0;\n"
-+"X-Generator: LocFactoryEditor 1.7b3\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Có nên cà i đặt SUID root « /usr/sbin/hddtemp » không?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Bạn có tùy chá»n cà i đặt phần má»m hddtemp vá»›i bit SUID đã đặt, do đó cho phép "
-+"nó được chạy bởi các ngưá»i dùng bình thưá»ng, không phải chỉ siêu ngưá»i dùng."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Tuy nhiên, đặt bit SUID cÅ©ng có thể cho phép ngưá»i hiểm độc dùng hddtemp khi "
-+"tấn công bảo máºt cá»§a máy tÃnh nà y. Vì váºy nếu bạn chưa chắc chắn, đừng báºt "
-+"tùy chá»n nà y."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"CÅ©ng có thể sá»a đổi thiết láºp nà y vá» sau, bằng cách chạy lệnh cấu hình lại « "
-+"dpkg-reconfigure hddtemp »."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Khoảng giữa hai lần kiểm tra nhiệt độ của đĩa cứng:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"Nhiệt độ của những đĩa cứng có thể được ghi lưu bởi hddtemp thông qua giao "
-+"diện ghi lưu hệ thống chung."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Hãy nháºp má»™t giá trị theo giây mà tương ứng vá»›i khoảng thá»i gian giữa hai "
-+"lần kiểm tra. Äể tắt tÃnh năng nà y, chỉ đơn giản nháºp số 0 ở đây."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Có nên khởi chạy trình ná»n hddtemp khi khởi động hệ thống không?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Chương trình hddtemp cÅ©ng có thể chạy dưới dạng trình ná»n (daemon), lắng "
-+"nghe trên cổng 7634 tìm kết nối gá»i đến. Trình ná»n nà y được dùng bởi má»™t số "
-+"phần má»m (v.d. gkrellm) để lấy nhiệt độ cá»§a các đĩa cứng."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Tùy chá»n bạn có thể tá»± động khởi chạy trình ná»n hddtemp khi khởi động hệ "
-+"thống. Chưa chắc chắc thì khuyên bạn không báºt tùy chá»n nà y."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Giao diện trên đó cần lắng nghe:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Chương trình hddtemp có thể lắng nghe kết nối gá»i đến trên má»™t giao diện dứt "
-+"khoát, hoặc trên má»i giao diện."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Äể lắng nghe trên má»™t giao diện cụ thể, hãy nháºp địa chỉ IP cá»§a giao diện đó "
-+"(giá trị « 127.0.0.0 » sẽ chỉ chấp nháºn kết nối cục bá»™). Äể lắng nghe trên "
-+"má»i giao diện, chỉ đơn giản hãy nháºp địa chỉ « 0.0.0.0 »."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Cổng trên đó cần lắng nghe:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Mặc định là hddtemp lắng nghe kết nối gá»i đến trên cổng 7634. CÅ©ng có thể "
-+"thay đổi nó thà nh một cổng khác."
---- hddtemp-0.3-beta15.orig/debian/po/pt_BR.po
-+++ hddtemp-0.3-beta15/debian/po/pt_BR.po
-@@ -0,0 +1,205 @@
-+#
-+# Translators, if you are not familiar with the PO format, gettext
-+# documentation is worth reading, especially sections dedicated to
-+# this format, e.g. by running:
-+# info -n '(gettext)PO Files'
-+# info -n '(gettext)Header Entry'
-+#
-+# Some information specific to po-debconf are available at
-+# /usr/share/doc/po-debconf/README-trans
-+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-+#
-+# Developers do not need to manually edit POT or PO files.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp_0.3-beta7-1\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2007-12-11 15:33+0100\n"
-+"Last-Translator: Tiago Bortoletto Vaz \n"
-+"Language-Team: Debian-BR Project \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=ISO-8859-1\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+#, fuzzy
-+#| msgid "Do you want /usr/sbin/hddtemp to be installed SUID root?"
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Deseja que o /usr/sbin/hddtemp seja instalado SUID root ?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr ""
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+#, fuzzy
-+#| msgid "Do you want to start the hddtemp daemon on startup?"
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Deseja iniciar o daemon hddtemp na inicialização do sistema ?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+#, fuzzy
-+#| msgid ""
-+#| "hddtemp can be run as a daemon, listening on port 7634 for incoming "
-+#| "connections. It is used some by software such as gkrellm to get the "
-+#| "temperature of the hard drives."
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"O hddtemp pode ser executado com um daemon, ouvindo na porta 7634 por "
-+"conexões entrantes. O mesmo é usado por alguns softwares como o gkrellm-"
-+"hddtemp para obter a temperatura dos discos rígidos."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+#, fuzzy
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Você tem a opção de iniciar o daemon hddtemp automaticamente na "
-+"inicialização de seu computador. Caso esteja em dúvida, é sugerido que você "
-+"não inicie o hddtemp automaticamente na inicialização de seu computador. "
-+"Caso você mude de idéia posteriormente você poderá executar o comando 'dpkg-"
-+"reconfigure hddtemp' para mudar essa configuração."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr ""
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+#, fuzzy
-+#| msgid ""
-+#| "hddtemp can listen for incoming connections on a specific interface, or "
-+#| "on all interfaces."
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"O hddtemp pode ouvir por conexões entrantes em uma interface específica ou "
-+"em todas as interfaces."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+#, fuzzy
-+#| msgid ""
-+#| "To listen on a specific interface, enter the IP address of that "
-+#| "interface (127.0.0.1 which is the default value corresponds to the lo "
-+#| "interface). To listen on all interfaces, simply enter 0.0.0.0."
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Para ouvir em uma interface específica, informe o endereço IP da interface "
-+"em questão (o endereço padrão 127.0.0.1 corresponde a interface lo). Para "
-+"ouvir e todas as interfaces, simplesmente informe o endereço 0.0.0.0 ."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr ""
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+#, fuzzy
-+#| msgid ""
-+#| "By default, hddtemp listen for incoming connections on port 7634. However "
-+#| "if you don't find this port appropriate, you can enter an other one."
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Por padrão, o hddtemp escuta por conexões entrantes na porta 7634. Porém "
-+"caso você ache que essa não seja a porta apropriada, você pode informar uma "
-+"outra porta."
-+
-+#~ msgid "You have the option of installing hddtemp with the SUID bit set."
-+#~ msgstr "Você tem a opção de instalar o hddtemp com o bit de SUID ligado."
-+
-+#~ msgid ""
-+#~ "If you make hddtemp SUID, unprivileged users of your systems will be able "
-+#~ "to run it. This could, however, potentially allow hddtemp to be used "
-+#~ "during a security attack on your computer. If in doubt, it is suggested "
-+#~ "to install it without SUID. If you later change your mind, you can run: "
-+#~ "'dpkg-reconfigure hddtemp'."
-+#~ msgstr ""
-+#~ "Caso você permita que o hdddtemp seja instalado com o bit de SUID ligado, "
-+#~ "usuários não privilegiados de seu sistema serão capazes de executá-lo. "
-+#~ "Isso pode, porém, potencialmente permitir que o hddtemp seja usado "
-+#~ "durante um ataque contra a segurança de seu computador. Caso esteja em "
-+#~ "dúvida, é sugerido que vcê instale o hddtemp sem o bit de SUID ligado. "
-+#~ "Caso você mude de idéia posteriormente, você poderá executar o comando "
-+#~ "'dpkg-reconfigure hddtemp' para mudar essa suaconfiguração."
-+
-+#, fuzzy
-+#~ msgid "At which interval do you want to log the temperatures?"
-+#~ msgstr "Em qual interface você deseja que o hddtemp escute ?"
-+
-+#~ msgid "On which interface do you want hddtemp to listen on?"
-+#~ msgstr "Em qual interface você deseja que o hddtemp escute ?"
-+
-+#~ msgid "On which port do you want hddtemp to listen on?"
-+#~ msgstr "Em qual porta você deseja que o hddtemp escute ?"
---- hddtemp-0.3-beta15.orig/debian/po/ru.po
-+++ hddtemp-0.3-beta15/debian/po/ru.po
-@@ -0,0 +1,156 @@
-+# translation of ru.po to Russian
-+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-+# This file is distributed under the same license as the PACKAGE package.
-+#
-+# Yuri Kozlov , 2008.
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: 0.3-beta15-39\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-01-27 19:15+0300\n"
-+"Last-Translator: Yuri Kozlov \n"
-+"Language-Team: Russian \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"X-Generator: KBabel 1.11.4\n"
-+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
-+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "УÑтановить /usr/sbin/hddtemp как SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Ð’Ñ‹ можете выбрать уÑтановку hddtemp Ñ Ð²ÐºÐ»ÑŽÑ‡Ñ‘Ð½Ð½Ñ‹Ð¼ SUID битом, чтобы её можно "
-+"было запуÑкать проÑтым пользователÑм (Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñ‚ÐµÐ¼Ð¿ÐµÑ€Ð°Ñ‚ÑƒÑ€ жёÑтких "
-+"диÑков), а не только Ñуперпользователю."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Потенциально, Ñто может позволить иÑпользовать hddtemp Ð´Ð»Ñ Ð½Ð°Ñ€ÑƒÑˆÐµÐ½Ð¸Ñ "
-+"компьютерной безопаÑноÑти. ЕÑли не уверены, ответьте отрицательно."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"Ðту наÑтройку можно позже изменить запуÑтив 'dpkg-reconfigure hddtemp'."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Интервал между проверками температуры жёÑткого диÑка:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"Температура жёÑткого диÑка(ов) может быть протоколироватьÑÑ hddtemp Ñ "
-+"помощью Ñтандартного ÑиÑтемного интерфейÑа протоколированиÑ."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Введите значение интервала в Ñекундах между проверками. Ð”Ð»Ñ Ð²Ñ‹ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ñ "
-+"проверок введите 0."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "ЗапуÑкать ÑÐµÑ€Ð²Ð¸Ñ hddtemp при Ñтарте компьютера?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Программа hddtemp может работать в виде ÑервиÑа, Ð¿Ñ€Ð¸Ð½Ð¸Ð¼Ð°Ñ Ð·Ð°Ð¿Ñ€Ð¾ÑÑ‹ на порту "
-+"7634. Ðто иÑпользуетÑÑ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ð¼ ПО, например gkrellm, Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ "
-+"температуры жёÑтких диÑков."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Ð¡ÐµÐ¹Ñ‡Ð°Ñ Ð²Ñ‹ можете включить автоматичеÑкий запуÑк ÑервиÑа hddtemp во Ð²Ñ€ÐµÐ¼Ñ "
-+"загрузки ÑиÑтемы. ЕÑли не уверены, выберите не запуÑкать Ñту программу во "
-+"Ð²Ñ€ÐµÐ¼Ñ Ð·Ð°Ð³Ñ€ÑƒÐ·ÐºÐ¸."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Ð˜Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¿Ñ€Ð¸Ñ‘Ð¼Ð° запроÑов:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Программа hddtemp может принимать входÑщие запроÑÑ‹ на определённом "
-+"интерфейÑе или Ñо вÑех интерфейÑов."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Ð”Ð»Ñ Ð¿Ñ€Ð¸Ñ‘Ð¼Ð° на конкретном интерфейÑа введите IP-Ð°Ð´Ñ€ÐµÑ Ñтого интерфейÑа (ввод "
-+"127.0.0.1 обеÑпечит приём только локальных запроÑов). Ð”Ð»Ñ Ð¿Ñ€Ð¸Ñ‘Ð¼Ð° запроÑов Ñо "
-+"вÑех интерфейÑов, введите 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Порт приёма запроÑов:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"По умолчанию, hddtemp принимает входÑщие запроÑÑ‹ Ñ Ð¿Ð¾Ñ€Ñ‚Ð° 7634. ЗдеÑÑŒ можно "
-+"задать другой номер порта."
---- hddtemp-0.3-beta15.orig/debian/po/sv.po
-+++ hddtemp-0.3-beta15/debian/po/sv.po
-@@ -0,0 +1,127 @@
-+# Translators, if you are not familiar with the PO format, gettext
-+# documentation is worth reading, especially sections dedicated to
-+# this format, e.g. by running:
-+# info -n '(gettext)PO Files'
-+# info -n '(gettext)Header Entry'
-+# Some information specific to po-debconf are available at
-+# /usr/share/doc/po-debconf/README-trans
-+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-+# Developers do not need to manually edit POT or PO files.
-+# , fuzzy
-+#
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp 0.3-beta14-1\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-07-27 09:49+0200\n"
-+"Last-Translator: Martin Bagge \n"
-+"Language-Team: Swedish \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=iso-8859-1\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Vill du att /usr/sbin/hddtemp ska installeras som SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "You have the option of installing hddtemp with the SUID bit set, allowing it to be run (reporting hard drive temperatures) by regular users and not only the superuser."
-+msgstr "Du kan installera hddtemp med SUID, då kan programmet köras av vanliga användare och inte bara superanvändare."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "This could potentially allow hddtemp to be used during an attack against the computer's security. If in doubt, do not choose this option."
-+msgstr "Detta kan bidra till att intrång kan genomföras om det skulle finnas fel i hddtemp som någon nyttjar för att skaffa otillåten åtkomst. Om du är minsta osäker ska du inte aktivera detta alternativ."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+#: ../templates:4001
-+msgid "This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr "Denna inställning kan ändras senare genom att köra 'dpkg-reconfige hddtemp'"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Intervall mellan temperaturmätningar:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "The temperature of the hard drive(s) can be logged by hddtemp via the generic system logging interface."
-+msgstr "Temperaturen för hårddisken/hårddiskarna kan loggas i det vanliga loggningssystemet."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Please enter a value in seconds corresponding to the interval between two checks. To disable this feature, enter 0."
-+msgstr "Ange ett värde i sekunder som anger intervallen mellan två mätningar. För att inaktivera den här funktionen, ange 0 som värde."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Vill du starta hddtemp-tjänsten när systemet startas upp?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "The hddtemp program can be run as a daemon, listening on port 7634 for incoming connections. It is used by some software such as gkrellm to get the temperature of hard drives."
-+msgstr "hddtemp kan köras som en tjänst som lyssnar på port 7634 efter inkommande anslutningar. Den används av programvara såsom gkrellm för att läsa av temperaturen på hårddiskarna."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "You have the option of starting the hddtemp daemon automatically on system boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr "Du har alternativet att starta hddtemp-tjänsten automatiskt när datorn startas upp. Om du är osäker föreslår jag att du inte startar den automatiskt vid uppstarten."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Gränssnitt att lyssna på:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "The hddtemp program can listen for incoming connections on a specific interface, or on all interfaces."
-+msgstr "hddtemp kan lyssna efter inkommande anslutningar på specifika nätverksgränssnitt eller på gränssnitt."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"För att lyssna på ett specifik nätverkgränssnitt, ange IP-adressen på det "
-+"gränssnittet (127.0.0.1, vilket är standardvärdet för gränssnittet lo). För "
-+"att lyssna på alla, ange 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Port att lyssna på:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Som standard lyssnar hddtemp efter inkommande anslutningar på port 7634. Om "
-+"du anser att denna port inte är lämplig kan du ange en annan port här."
-+
---- hddtemp-0.3-beta15.orig/debian/po/da.po
-+++ hddtemp-0.3-beta15/debian/po/da.po
-@@ -0,0 +1,158 @@
-+# Danish translation hddtemp.
-+# Copyright (C) 2010 hddtemp & nedenstående oversættere.
-+# This file is distributed under the same license as the hddtemp package.
-+# Claus Hindsgaul , 2004, 2005.
-+# Claus Hindsgaul , 2006.
-+# Joe Hansen (joedalton2@yahoo.dk), 2010.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2010-11-10 12:42+0000\n"
-+"Last-Translator: Joe Hansen \n"
-+"Language-Team: Danish \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Skal /usr/sbin/hddtemp installeres SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Du har muligheden for at installere hddtemp med sættet SUID bit, og tillade "
-+"den at blive kørt (rapportering af temperaturer for harddiske) af normale "
-+"brugere og ikke kun superbrugeren."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Dette kan potentielt tillade hddtemp at blive brugt under et angreb mod "
-+"computerens sikkerhed. Hvis du er i tvivl, så vælg ikke denne indstilling."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"Denne indstilling kan ændres senere ved at køre »dpkg-reconfigure hddtemp«."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Tidsrum mellem to tjek af temperaturen på harddisken:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"Temperaturen på harddiskene kan logges af hddtemp via den generiske "
-+"grænseflade til systemlogning."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Indtast venligst en værdi i sekunder, der angiver intervallet mellem to tjek. "
-+"Du kan deaktivere denne funktion ved at skrive 0."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Skal hddtemp-dæmonen igangsættes ved opstart?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Programmet hddtemp kan køres som en dæmon, der lytter på port 7634 efter "
-+"indkommende forbindelser. Programmet bruges af bestemte programmer såsom "
-+"gkrellm til at hente harddiskenes temperaturer."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Du har mulighed for at igangsætte hddtemp-dæmonen automatisk under opstart. "
-+"Hvis du er i tvivl, foreslås det, at du ikke igangsætter den automatisk under "
-+"opstarten."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Netkort, der skal lyttes på:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Programmet hddtemp kan lytte efter indkommende forbindelser på et bestemt "
-+"netkort eller på alle netkort."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"For at lytte til et bestemt netkort, skal du angive IP-adressen på dette "
-+"(valg af 127.0.0.1 vil kun acceptere lokale forbindelser). For at "
-+"lytte på alle netkort indtastes 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Port, der skal lyttes på:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Som udgangspunkt vil hddtemp lytte efter indkommende forbindelser på port "
-+"7634. Dette kan ændres til et andet nummer."
-+
-+
---- hddtemp-0.3-beta15.orig/debian/po/pt.po
-+++ hddtemp-0.3-beta15/debian/po/pt.po
-@@ -0,0 +1,158 @@
-+# translation of pt.po to portugues
-+# Portuguese translation for hddtemp
-+# Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
-+# This file is distributed under the same license as the hddtemp package.
-+#
-+# Miguel Figueiredo , 2006, 2007.
-+# Bruno Queiros , 2007.
-+# Bruno Queiros , 2008.
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: pt\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-10 19:48+0000\n"
-+"Last-Translator: Bruno Queiros \n"
-+"Language-Team: portugues \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"X-Generator: KBabel 1.11.4\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Deve o /usr/sbin/hddtemp ser instalado com SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"Você tem a opção de instalar o hddtemp com o SUID, permitindo-o ser "
-+"executado (relatar temperaturas do disco rigido) por utilizadores normais e "
-+"não apenas pelo super utilizador."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Isto pode potencialmente permitir que o hddtemp seja utilizado num ataque "
-+"contra a segurança do computador. Em caso de dúvida, não escolha esta opção."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"Esta opção pode ser modificada mais tarde executando 'dpkg-reconfigure "
-+"hddtemp'."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Intervalo entre verificações da temperatura do disco rigido:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"A temperatura do(s) disco(s) rÃgido(s) podem ser guardados pelo hddtemp "
-+"através da interface genérica do sistema para guardar registos."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Por favor introduza um valor em segundos correspondendo ao intervalo entre "
-+"duas verificações. Para desactivar esta opção, introduza 0."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Deseja iniciar o daemon hddtemp no arranque?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"O programa hddtemp pode ser executado como um daemon, Ã escuta na porta "
-+"7634. É utilizada por alguns programas como o gkrellm para obter a "
-+"temperatura dos discos rÃgidos."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"Você tem a opção de executar o daemon hddtemp automaticamente no arranque do "
-+"sistema. Se estiver em dúvida, é sugerido que não o inicie automaticamente "
-+"no arranque."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Interface para utilizar na escuta:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"O programa hddtemp pode escutar por ligações de entrada numa interface "
-+"especÃfica, ou em todas as interfaces."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Para escutar numa interface especÃfica, introduza o endereço IP dessa "
-+"interface (escolhendo 127.0.0.1 irá aceitar apenas ligações locais). Para "
-+"escutar em todas as interfaces, introduza 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Porta a utilizar na escuta:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"O hddtemp escuta por ligações de entrada na porta 7634 por pré-definição. "
-+"Isto pode ser alterado para outra porta."
---- hddtemp-0.3-beta15.orig/debian/po/eu.po
-+++ hddtemp-0.3-beta15/debian/po/eu.po
-@@ -0,0 +1,111 @@
-+# SOME DESCRIPTIVE TITLE.
-+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-+# This file is distributed under the same license as the PACKAGE package.
-+# Piarres Beobide , 2008.
-+
-+
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp-debconf\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-14 12:11+0100\n"
-+"Last-Translator: Piarres Beobide \n"
-+"Language-Team: Euskara \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=utf-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "/usr/sbin/hddtemp SUID bit-a gaiturik duela instalatu behar da?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "You have the option of installing hddtemp with the SUID bit set, allowing it to be run (reporting hard drive temperatures) by regular users and not only the superuser."
-+msgstr "Zuk hddtemp SUID bit-a ezarria duela instalatzeko aukera duzu supererabiltzaileak bakarrik beharrean erabiltzaile arrunti exekutatzeko (disko gogor tenperaturak erreportatzeko) baimena emanez."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "This could potentially allow hddtemp to be used during an attack against the computer's security. If in doubt, do not choose this option."
-+msgstr "Honek ordenagailuari eraso batetan hddtemp erabiltzeko aukera ematen du. Zalantzarik baduzu ez hautatu aukera hau."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+#: ../templates:4001
-+msgid "This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr "Ezarpen hau beranduago aldatu daiteke 'dpkg-reconfigure hddtemp' abiaraziz."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Disko gogor tenperatura arakatzeen arteko denbora tartea:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "The temperature of the hard drive(s) can be logged by hddtemp via the generic system logging interface."
-+msgstr "Hddtemp-ek disko gorren tenperatura sistemako erregistro interfaze orokorraren bidez erregistratu dezake."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Please enter a value in seconds corresponding to the interval between two checks. To disable this feature, enter 0."
-+msgstr "Mesedez idatzi bi arakatzeen arteko denbora tartea segunduetan. Ezaugarri hau ezgaitzeko 0 ezarri."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Hddtemp deabrua sistema abiaraztean abiarazi behar al da?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "The hddtemp program can be run as a daemon, listening on port 7634 for incoming connections. It is used by some software such as gkrellm to get the temperature of hard drives."
-+msgstr "Hddtemp programa deabru bat bezala erabili daiteke, sarrera konexioak 7624 atakan entzungo ditu. Hau gkrellm bezalako zenbait softwarek disko gogorren tenperatura eskuratzeko erabiltzen dute."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "You have the option of starting the hddtemp daemon automatically on system boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr "Zuk hddtemp deabrua sistema abiaraztean automatikoki abiarazteko aukera duzu. Zalantzarik baduzu abioan ez automatikoki abiaraztea gomendatzen da."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Entzungo den interfazea:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "The hddtemp program can listen for incoming connections on a specific interface, or on all interfaces."
-+msgstr "Hddtemp programak sarrera konexioak interfaze zehatz batetan bakarrik edo guztietan entzuteko aukera du."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "To listen on a specific interface, enter the IP address of that interface (choosing 127.0.0.1 will accept local connections only). To listen on all interfaces, enter 0.0.0.0."
-+msgstr "Interfaze zehatz batetan entzuteko, idatzi interfaze horren IP helbidea (127.0.0.1 ipiniaz konexioa lokalak bakarrik onartuko dira). Interfaze guztietan entzuteko , 0.0.0.0 idatzi."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Entzuteko ataka:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "By default, hddtemp listens for incoming connections on port 7634. This can be changed for another port number."
-+msgstr "Lehenetspen modura hddtemp-ek sarrera konexioak 7634 atakan entzungo ditu. Auker ahonen bidez betste ataka bat ezartzeko auekra dago."
-+
---- hddtemp-0.3-beta15.orig/debian/po/it.po
-+++ hddtemp-0.3-beta15/debian/po/it.po
-@@ -0,0 +1,155 @@
-+# Italian translation of the hddtemp debconf template
-+# This file is distributed under the same license as the hddtemp package
-+# Copyright (C) 2008 Free Software Foundation, Inc.
-+# Luca Monducci , 2008.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hddtemp 0.3\n"
-+"Report-Msgid-Bugs-To: hddtemp@packages.debian.org\n"
-+"POT-Creation-Date: 2008-01-25 22:35+0100\n"
-+"PO-Revision-Date: 2008-02-09 21:52+0100\n"
-+"Last-Translator: Luca Monducci \n"
-+"Language-Team: Italian \n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid "Should /usr/sbin/hddtemp be installed SUID root?"
-+msgstr "Installare /usr/sbin/hddtemp con il SUID root?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"You have the option of installing hddtemp with the SUID bit set, allowing it "
-+"to be run (reporting hard drive temperatures) by regular users and not only "
-+"the superuser."
-+msgstr ""
-+"È possibile installare hddtemp con il bit SUID attivo, questo consente a un "
-+"utente normale, e non solo al superuser, di eseguire il programma "
-+"(riportando le temperature dei dischi)."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001
-+msgid ""
-+"This could potentially allow hddtemp to be used during an attack against the "
-+"computer's security. If in doubt, do not choose this option."
-+msgstr ""
-+"Questo potrebbe permettere l'uso di hddtemp durante un attacco alla "
-+"sicurezza del sistema. In caso di dubbi, non attivare questa opzione."
-+
-+#. Type: boolean
-+#. Description
-+#. Type: boolean
-+#. Description
-+#: ../templates:2001 ../templates:4001
-+msgid ""
-+"This setting can be modified later by running 'dpkg-reconfigure hddtemp'."
-+msgstr ""
-+"In seguito, per modificare questa impostazione si può usare \"dpkg-"
-+"reconfigure hddtemp\"."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid "Interval between hard drive temperature checks:"
-+msgstr "Intervallo fra due controlli della temperatura dei dischi:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"The temperature of the hard drive(s) can be logged by hddtemp via the "
-+"generic system logging interface."
-+msgstr ""
-+"La temperatura dei dischi può essere registrata da hddtemp tramite "
-+"l'interfaccia generica offerta dal log di sistema."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:3001
-+msgid ""
-+"Please enter a value in seconds corresponding to the interval between two "
-+"checks. To disable this feature, enter 0."
-+msgstr ""
-+"Inserire il valore in secondi corrispondente all'intervallo fra due "
-+"controlli. Per non utilizzare questa funzionalità inserire 0."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid "Should the hddtemp daemon be started at boot?"
-+msgstr "Far partire il demone hddtemp all'avvio del sistema?"
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"The hddtemp program can be run as a daemon, listening on port 7634 for "
-+"incoming connections. It is used by some software such as gkrellm to get the "
-+"temperature of hard drives."
-+msgstr ""
-+"Il programma hddtemp può essere avviato come un demone in ascolto di "
-+"connessioni in arrivo sulla porta 7634. Viene usato da programmi come "
-+"gkrellm per recuperare la temperatura dei dischi fissi."
-+
-+#. Type: boolean
-+#. Description
-+#: ../templates:4001
-+msgid ""
-+"You have the option of starting the hddtemp daemon automatically on system "
-+"boot. If in doubt, it is suggested to not start it automatically on boot."
-+msgstr ""
-+"È possibile far partire automaticamente il demone hddtemp all'avvio del "
-+"sistema. In caso di dubbi, si suggerisce di non far partire il demone "
-+"all'avvio."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid "Interface to listen on:"
-+msgstr "Interfaccia su cui ascoltare:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"The hddtemp program can listen for incoming connections on a specific "
-+"interface, or on all interfaces."
-+msgstr ""
-+"Il programma hddtemp può mettersi in ascolto di connessioni in arrivo su una "
-+"particolare interfaccia oppure su tutte."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:5001
-+msgid ""
-+"To listen on a specific interface, enter the IP address of that interface "
-+"(choosing 127.0.0.1 will accept local connections only). To listen on all "
-+"interfaces, enter 0.0.0.0."
-+msgstr ""
-+"Per ascoltare su una specifica interfaccia, inserire l'indirizzo IP di tale "
-+"interfaccia (con 127.0.0.1 saranno accettate solo connesioni locali). Per "
-+"ascoltare su tutte le interfacce inserire 0.0.0.0."
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid "Port to listen on:"
-+msgstr "Porta su cui ascoltare:"
-+
-+#. Type: string
-+#. Description
-+#: ../templates:6001
-+msgid ""
-+"By default, hddtemp listens for incoming connections on port 7634. This can "
-+"be changed for another port number."
-+msgstr ""
-+"Con la configurazione predefinita hddtemp si mette in ascolto di connessioni "
-+"in arrivo sulla porta 7634. È possibile cambiare questo valore con un altro "
-+"numero di porta."
---- hddtemp-0.3-beta15.orig/debian/po/de.po
-+++ hddtemp-0.3-beta15/debian/po/de.po
-@@ -0,0 +1,164 @@
-+# translation of hddtemp_0.3-beta15-39_de.po to German
-+#
-+# Translators, if you are not familiar with the PO format, gettext
-+# documentation is worth reading, especially sections dedicated to
-+# this format, e.g. by running:
-+# info -n '(gettext)PO Files'
-+# info -n '(gettext)Header Entry'
-+# Some information specific to po-debconf are available at
-+# /usr/share/doc/po-debconf/README-trans
-+# or http://www.debian.org/intl/l10n/po-debconf/README-trans#
-+# Developers do not need to manually edit POT or PO files.
-+#
-+# Erik Schanze