DEB build scripts: updated distros and added htdig to extra dependencies.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/111/head
Michele Calgaro 3 years ago
parent a443122adf
commit 283186f119
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -10,15 +10,16 @@ if [[ "$USE_PREBUILD_EXTRA_DEPS" = "y" ]]; then
echo "Use of pre-built extra dependency packages is currently configured. Nothing to do." >>"$LOG_BUILD_RESULT_FILENAME" echo "Use of pre-built extra dependency packages is currently configured. Nothing to do." >>"$LOG_BUILD_RESULT_FILENAME"
else else
build_module "$CFG_EXTRA_DEPS_DIR/uncrustify-trinity" build_module "$CFG_EXTRA_DEPS_DIR/uncrustify-trinity"
#
build_module "$CFG_EXTRA_DEPS_DIR/fireflies" build_module "$CFG_EXTRA_DEPS_DIR/fireflies"
build_module "$CFG_EXTRA_DEPS_DIR/htdig"
build_module "$CFG_EXTRA_DEPS_DIR/imlib" build_module "$CFG_EXTRA_DEPS_DIR/imlib"
# build_module "$CFG_EXTRA_DEPS_DIR/opensync" # deprecated - no longer required in R14.1 series. To remove in R14.2.0
build_module "$CFG_EXTRA_DEPS_DIR/lcms"
build_module "$CFG_EXTRA_DEPS_DIR/wv2"
build_module "$CFG_EXTRA_DEPS_DIR/jasper" build_module "$CFG_EXTRA_DEPS_DIR/jasper"
build_module "$CFG_EXTRA_DEPS_DIR/openslp-dfsg" build_module "$CFG_EXTRA_DEPS_DIR/lcms"
build_module "$CFG_EXTRA_DEPS_DIR/mp4v2" build_module "$CFG_EXTRA_DEPS_DIR/mp4v2"
build_module "$CFG_EXTRA_DEPS_DIR/openslp-dfsg"
build_module "$CFG_EXTRA_DEPS_DIR/transcode" build_module "$CFG_EXTRA_DEPS_DIR/transcode"
build_module "$CFG_EXTRA_DEPS_DIR/wv2"
fi fi
set_log_end set_log_end

@ -45,35 +45,25 @@ BASETGZ="/var/cache/pbuilder/base-$DISTRIBUTION@$ARCHITECTURE.tgz"
#-- select apt components #-- select apt components
case "$DISTRIBUTION" in case "$DISTRIBUTION" in
# debian # debian
jessie)
if [[ "$DISTRO" = "devuan" ]]; then
COMPONENTS="main"
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
EXTRAPACKAGES="$EXTRAPACKAGES devuan-keyring"
else
COMPONENTS="main contrib non-free"
fi
;;
sid|bookwork|bullseye|buster|stretch) sid|bookwork|bullseye|buster|stretch)
COMPONENTS="main contrib non-free" COMPONENTS="main contrib non-free"
;; ;;
# devuan # devuan
ceres|chimaera|beowulf|ascii) ceres|daedalus|chimaera|beowulf|ascii)
COMPONENTS="main" COMPONENTS="main"
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg) DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
EXTRAPACKAGES="$EXTRAPACKAGES devuan-keyring" EXTRAPACKAGES="$EXTRAPACKAGES devuan-keyring"
;; ;;
# ubuntu # ubuntu
impish|hirsute|groovy|focal|bionic|xenial|trusty) jammy|impish|hirsute|groovy|focal|bionic|xenial)
COMPONENTS="main restricted universe multiverse" COMPONENTS="main restricted universe multiverse"
DEBOOTSTRAPOPTS=(--variant=buildd) DEBOOTSTRAPOPTS=(--variant=buildd)
;; ;;
# raspbian # raspbian
raspbian-bullseye|raspbian-buster|raspbian-stretch) raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch)
COMPONENTS="main contrib non-free" COMPONENTS="main contrib non-free"
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg) DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
;; ;;
@ -87,21 +77,13 @@ case "$DISTRIBUTION" in
MIRRORSITE=http://deb.debian.org/debian MIRRORSITE=http://deb.debian.org/debian
;; ;;
jessie)
if [[ "$DISTRO" = "devuan" ]]; then
MIRRORSITE=http://auto.mirror.devuan.org/merged
else
MIRRORSITE=http://deb.debian.org/debian
fi
;;
# devuan # devuan
ceres|chimaera|beowulf|ascii) ceres|daedalus|chimaera|beowulf|ascii)
MIRRORSITE=http://auto.mirror.devuan.org/merged MIRRORSITE=http://auto.mirror.devuan.org/merged
;; ;;
# ubuntu # ubuntu
impish|hirsute|groovy|focal|bionic|xenial|trusty) jammy|impish|hirsute|groovy|focal|bionic|xenial)
if [ "$ARCHITECTURE" = "amd64" ] || [ "$ARCHITECTURE" = "i386" ]; then if [ "$ARCHITECTURE" = "amd64" ] || [ "$ARCHITECTURE" = "i386" ]; then
MIRRORSITE=http://archive.ubuntu.com/ubuntu MIRRORSITE=http://archive.ubuntu.com/ubuntu
else else
@ -110,7 +92,7 @@ case "$DISTRIBUTION" in
;; ;;
# raspbian # raspbian
raspbian-bullseye|raspbian-buster|raspbian-stretch) raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch)
MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian
;; ;;
esac esac
@ -145,14 +127,14 @@ fi
#-- aptitude is better if target distribution contains apt < 1.4~beta3 #-- aptitude is better if target distribution contains apt < 1.4~beta3
case "$DISTRIBUTION" in case "$DISTRIBUTION" in
sid|bookwork|bullseye|buster|stretch|\ sid|bookwork|bullseye|buster|stretch|\
ceres|chimaera|beowulf|ascii|\ ceres|daedalus|chimaera|beowulf|ascii|\
raspbian-bullseye|raspbian-buster|raspbian-stretch|\ raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch|\
impish|hirsute|groovy|focal|bionic) jammy|impish|hirsute|groovy|focal|bionic)
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt" PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
;; ;;
jessie|\ xenial)
xenial|trusty)
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude" PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
;; ;;
esac esac

@ -10,7 +10,6 @@
# #
# debian # debian
debian 8.0 jessie - -
debian 9.0 stretch - - debian 9.0 stretch - -
debian 10.0 buster - - debian 10.0 buster - -
debian 11.0 bullseye - - debian 11.0 bullseye - -
@ -20,8 +19,9 @@ debian 13.0 sid ~b -
# devuan # devuan
devuan 2.0 ascii - debian/stretch devuan 2.0 ascii - debian/stretch
devuan 3.0 beowulf - debian/buster devuan 3.0 beowulf - debian/buster
devuan 4.0 chimaera ~a debian/bullseye devuan 4.0 chimaera - debian/bullseye
devuan 5.0 ceres ~b debian/sid devuan 5.0 daedalus ~a debian/bookwork
devuan 6.0 ceres ~b debian/sid
# raspbian # raspbian
raspbian 9.0 raspbian-stretch - - raspbian 9.0 raspbian-stretch - -
@ -30,10 +30,10 @@ raspbian 11.0 raspbian-bullseye - -
raspbian 12.0 raspbian-bookworm ~a - raspbian 12.0 raspbian-bookworm ~a -
# ubuntu # ubuntu
ubuntu 14.04 trusty - -
ubuntu 16.04 xenial - - ubuntu 16.04 xenial - -
ubuntu 18.04 bionic - - ubuntu 18.04 bionic - -
ubuntu 20.04 focal - - ubuntu 20.04 focal - -
ubuntu 20.10 groovy - - ubuntu 20.10 groovy - -
ubuntu 21.04 hirsute - - ubuntu 21.04 hirsute - -
ubuntu 21.10 impish ~a - ubuntu 21.10 impish - -
ubuntu 22.04 jammy ~a -

Loading…
Cancel
Save