From a0458c69f97da28433f17ee690074c41418aec27 Mon Sep 17 00:00:00 2001 From: Ivan Max Date: Sun, 29 Sep 2024 14:57:00 +0300 Subject: [PATCH 001/453] termux_step_get_dependencies_python.sh: adding path to python-crossenv modules so termux python can work with them (#21590) --- scripts/build/termux_step_get_dependencies_python.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build/termux_step_get_dependencies_python.sh b/scripts/build/termux_step_get_dependencies_python.sh index 3ab1bc1800fdfc..7589f587eb452e 100644 --- a/scripts/build/termux_step_get_dependencies_python.sh +++ b/scripts/build/termux_step_get_dependencies_python.sh @@ -30,6 +30,9 @@ termux_step_get_dependencies_python() { # adding and setting values ​​to work properly with python modules export PYTHONPATH=$TERMUX_PYTHON_HOME/site-packages + if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then + export TERMUX_PYTHON_MAINPATH="${PYTHONPATH}:${TERMUX_PYTHON_CROSSENV_PREFIX}/build/lib/python${TERMUX_PYTHON_VERSION}/site-packages" + fi export PYTHON_SITE_PKG=$PYTHONPATH fi } From 2143a177cd26de84e89a03c5ee2f9934cd301483 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 12:12:26 +0000 Subject: [PATCH 002/453] bump(main/cicada): 1.0.2 This commit has been automatically submitted by Github Actions. --- packages/cicada/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cicada/build.sh b/packages/cicada/build.sh index 3a6cf12933a735..cc6892968117d0 100644 --- a/packages/cicada/build.sh +++ b/packages/cicada/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mitnk/cicada TERMUX_PKG_DESCRIPTION="A bash like Unix shell" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_LICENSE="MIT" -TERMUX_PKG_VERSION="1.0.0" +TERMUX_PKG_VERSION="1.0.2" TERMUX_PKG_SRCURL=https://github.com/mitnk/cicada/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=7bcfbc9351dec5b0c9abce77f60917efd43770e909c818a166d2c269e810b699 +TERMUX_PKG_SHA256=ce5b36a3deac401e03e0005750f977e447f4c6208953f9512b44a1231dc68105 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686" From e8a4d01e1cd05b9981810d6331c44a44b5dffb6e Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 12:12:53 +0000 Subject: [PATCH 003/453] bump(main/fastfetch): 2.26.1 This commit has been automatically submitted by Github Actions. --- packages/fastfetch/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fastfetch/build.sh b/packages/fastfetch/build.sh index 3d47ce9329bf26..84b40cb2c18dcc 100644 --- a/packages/fastfetch/build.sh +++ b/packages/fastfetch/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/fastfetch-cli/fastfetch TERMUX_PKG_DESCRIPTION="A neofetch-like tool for fetching system information and displaying them in a pretty way" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.26.0" +TERMUX_PKG_VERSION="2.26.1" TERMUX_PKG_SRCURL=https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=30e97fced444013d3be67c783843984727cb4194a3e1652953737bf2e1484470 +TERMUX_PKG_SHA256=4320d1c304df6880e8c944e6a36340d12a3340477be40b2ead42be308a7fcdaf TERMUX_PKG_DEPENDS="vulkan-loader" TERMUX_PKG_BUILD_DEPENDS="freetype, libandroid-wordexp-static, vulkan-headers, vulkan-loader-android" TERMUX_PKG_ANTI_BUILD_DEPENDS="vulkan-loader" From 9f3f30946cd60c6ebb41cbd6b3f47ca9c0b9589c Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 12:13:57 +0000 Subject: [PATCH 004/453] bump(main/oh-my-posh): 23.15.1 This commit has been automatically submitted by Github Actions. --- packages/oh-my-posh/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/oh-my-posh/build.sh b/packages/oh-my-posh/build.sh index e3ec059397fce3..f9c15accb8993a 100644 --- a/packages/oh-my-posh/build.sh +++ b/packages/oh-my-posh/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ohmyposh.dev TERMUX_PKG_DESCRIPTION="A prompt theme engine for any shell." TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="23.15.0" +TERMUX_PKG_VERSION="23.15.1" TERMUX_PKG_SRCURL=https://github.com/JanDeDobbeleer/oh-my-posh/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=988f846e77a1fc6f4afb42bbd98f9fdfc16fa9473ebbbad1fb20dd6311a257b2 +TERMUX_PKG_SHA256=749ae1ea4a02334ea01714ccac5cbcf8cf98e49397985cc35311ba5b157480e9 TERMUX_PKG_AUTO_UPDATE=true termux_step_pre_configure() { From 1cc3237342df086b296c6357b5915bc837544f1a Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 12:16:32 +0000 Subject: [PATCH 005/453] bump(main/viddy): 1.1.4 This commit has been automatically submitted by Github Actions. --- packages/viddy/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/viddy/build.sh b/packages/viddy/build.sh index b1c4189272ed27..84fbd8abdf05f3 100644 --- a/packages/viddy/build.sh +++ b/packages/viddy/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/sachaos/viddy TERMUX_PKG_DESCRIPTION="A modern watch command" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.1.3" +TERMUX_PKG_VERSION="1.1.4" TERMUX_PKG_SRCURL=https://github.com/sachaos/viddy/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=715846c8cef404c56325766781b4fc015e805f6a20435f08842262dca244fc65 +TERMUX_PKG_SHA256=fb76b1d0a25a2909a5e105f75534bda05c8d63ad82c1fb4f1bb5f828773b30f0 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From c35267744b41d82a7841360930df50fd2e95fb7a Mon Sep 17 00:00:00 2001 From: "Ronald Y." <46513942+knyipab@users.noreply.github.com> Date: Sun, 29 Sep 2024 20:45:11 +0800 Subject: [PATCH 006/453] new package: qt6-qt5compat (#21573) --- x11-packages/qt6-qt5compat/build.sh | 49 +++++++++++++++++++ .../qt6-qt5compat-cross-tools.subpackage.sh | 5 ++ 2 files changed, 54 insertions(+) create mode 100644 x11-packages/qt6-qt5compat/build.sh create mode 100644 x11-packages/qt6-qt5compat/qt6-qt5compat-cross-tools.subpackage.sh diff --git a/x11-packages/qt6-qt5compat/build.sh b/x11-packages/qt6-qt5compat/build.sh new file mode 100644 index 00000000000000..0c6f234a766630 --- /dev/null +++ b/x11-packages/qt6-qt5compat/build.sh @@ -0,0 +1,49 @@ +TERMUX_PKG_HOMEPAGE=https://www.qt.io/ +TERMUX_PKG_DESCRIPTION="Qt6 Module that contains unsupported Qt 5 APIs" +TERMUX_PKG_LICENSE="GPL-3.0" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION="6.7.2" +TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qt5compat-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" +TERMUX_PKG_SHA256=8826b5189efc4d9bdb64fdb1aa89d0fdf4e53c60948ed7995621ed046e38c003 +TERMUX_PKG_DEPENDS="libc++, libicu, qt6-qtbase, qt6-qtdeclarative, qt6-shadertools" +TERMUX_PKG_HOSTBUILD=true +TERMUX_PKG_NO_STATICSPLIT=true +TERMUX_PKG_AUTO_UPDATE=true +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +-DCMAKE_MESSAGE_LOG_LEVEL=STATUS +-DCMAKE_SYSTEM_NAME=Linux +" + +termux_step_host_build() { + termux_setup_cmake + termux_setup_ninja + + cmake \ + -G Ninja \ + -S ${TERMUX_PKG_SRCDIR} \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_INSTALL_PREFIX=${TERMUX_PREFIX}/opt/qt6/cross \ + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + ninja \ + -j ${TERMUX_PKG_MAKE_PROCESSES} \ + install +} + +termux_step_pre_configure() { + termux_setup_cmake + termux_setup_ninja +} + +termux_step_make_install() { + cmake \ + --install "${TERMUX_PKG_BUILDDIR}" \ + --prefix "${TERMUX_PREFIX}" \ + --verbose + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "${TERMUX_PREFIX}/lib" -type f -name "libQt6Core5Compat*.prl" \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' "{}" \; + + # Remove *.la files + find "${TERMUX_PREFIX}/lib" -iname \*.la -delete +} diff --git a/x11-packages/qt6-qt5compat/qt6-qt5compat-cross-tools.subpackage.sh b/x11-packages/qt6-qt5compat/qt6-qt5compat-cross-tools.subpackage.sh new file mode 100644 index 00000000000000..880ad8e022e1b8 --- /dev/null +++ b/x11-packages/qt6-qt5compat/qt6-qt5compat-cross-tools.subpackage.sh @@ -0,0 +1,5 @@ +TERMUX_SUBPKG_DESCRIPTION="Tools for cross build on the host (NOT for Termux)" +TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true +TERMUX_SUBPKG_INCLUDE=" +opt/qt6/cross +" From f59246a389a41ed45a7f4db0b65b748ca64b3696 Mon Sep 17 00:00:00 2001 From: aicynide <97217381+aicynide@users.noreply.github.com> Date: Sun, 29 Sep 2024 20:13:59 +0530 Subject: [PATCH 007/453] fix(main/seanime): web-ui issue (#21494) --- packages/seanime/build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/seanime/build.sh b/packages/seanime/build.sh index 91f45d66bae12e..41b7e37209ec4f 100644 --- a/packages/seanime/build.sh +++ b/packages/seanime/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Self-hosted anime and manga server for sea rovers." TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="2.1.1" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/5rahim/seanime/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=f3cfdf8e36d9cb2e4e5fa1e9c8bff81a4d1f3fe32c2fec848004bf02433b4833 TERMUX_PKG_BUILD_IN_SRC=true @@ -20,7 +20,6 @@ termux_step_host_build() { } termux_step_pre_configure() { - mkdir $TERMUX_PKG_SRCDIR/web cp -r $TERMUX_PKG_HOSTBUILD_DIR/seanime-web/out $TERMUX_PKG_SRCDIR/web/ termux_setup_golang From a3fa8dd5d7c156712294380cc589d69f6da36aff Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Sun, 29 Sep 2024 23:52:48 +0800 Subject: [PATCH 008/453] chore(main/mono): disable auto update (#21567) Upstream will be changing soon %ci:no-build --- packages/mono/build.sh | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/packages/mono/build.sh b/packages/mono/build.sh index 1fe02b1e429f5e..774477c19b8625 100644 --- a/packages/mono/build.sh +++ b/packages/mono/build.sh @@ -3,41 +3,19 @@ TERMUX_PKG_DESCRIPTION="Cross platform, open source .NET framework" TERMUX_PKG_LICENSE="custom" TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=6.12.0.199 +TERMUX_PKG_VERSION="6.12.0.199" TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://download.mono-project.com/sources/mono/mono-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=c0850d545353a6ba2238d45f0914490c6a14a0017f151d3905b558f033478ef5 TERMUX_PKG_DEPENDS="krb5, mono-libs, zlib" TERMUX_PKG_HOSTBUILD=true -TERMUX_PKG_AUTO_UPDATE=true +# https://github.com/mono/mono/issues/21796 +TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-btls --without-ikvm-native " -termux_pkg_auto_update() { - local e=0 - local api_url="https://download.mono-project.com/sources/mono" - local api_url_r=$(curl -s "${api_url}/") - local r1=$(echo "${api_url_r}" | sed -nE 's/.*mono-(.*).tar.*/\1/p' | sort -V) - local latest_version=$(echo "${r1}" | tail -n1) - - [[ -z "${api_url_r}" ]] && e=1 - [[ -z "${r1}" ]] && e=1 - [[ -z "${latest_version}" ]] && e=1 - if [[ "${e}" != 0 ]]; then - cat <<- EOL >&2 - WARN: Auto update failure! - api_url_r=${api_url_r} - r1=${r1} - latest_version=${latest_version} - EOL - return - fi - - termux_pkg_upgrade_version "${latest_version}" -} - termux_step_post_get_source() { rm -f external/bdwgc/config.status } From e5c2defdf1a3f05255d7bdf212d30ff7577ac521 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 29 Sep 2024 17:46:48 +0200 Subject: [PATCH 009/453] bump(main/libtorrent): 0.14.0 Fixes #21603. --- packages/libtorrent/build.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/libtorrent/build.sh b/packages/libtorrent/build.sh index a9d0e30f9ee4d2..71f4c6b1e0654e 100644 --- a/packages/libtorrent/build.sh +++ b/packages/libtorrent/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/rakshasa/rtorrent/wiki TERMUX_PKG_DESCRIPTION="Libtorrent BitTorrent library" TERMUX_PKG_MAINTAINER="Krishna Kanhaiya @kcubeterm" TERMUX_PKG_LICENSE="GPL-2.0" -TERMUX_PKG_VERSION=0.13.8 -TERMUX_PKG_REVISION=4 +TERMUX_PKG_VERSION=0.14.0 TERMUX_PKG_SRCURL=https://github.com/rakshasa/libtorrent/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 +TERMUX_PKG_SHA256=0ec8ef7544a551ccbf6fce5c6c535f69cb3ad10e4d5e70e620ecd47fef90a13e TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" TERMUX_PKG_DEPENDS="libc++, openssl, zlib" @@ -17,9 +16,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" " termux_step_pre_configure() { - ./autogen.sh + autoreconf -fi - # Code uses functions removed in C++17: - CXXFLAGS+=" -std=c++11" LDFLAGS+=" $($CC -print-libgcc-file-name)" } From 82b5b7703de6f8aa566d584bde948d6bcfd027d7 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 29 Sep 2024 17:56:29 +0200 Subject: [PATCH 010/453] bump(main/rtorrent): 0.10.0 Fixes #21602. --- packages/rtorrent/build.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/rtorrent/build.sh b/packages/rtorrent/build.sh index 6d65c3777fb034..8967a691f49fb3 100644 --- a/packages/rtorrent/build.sh +++ b/packages/rtorrent/build.sh @@ -2,17 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://rakshasa.github.io/rtorrent/ TERMUX_PKG_DESCRIPTION="Ncurses BitTorrent client based on libTorrent" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.9.8 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_VERSION=0.10.0 TERMUX_PKG_SRCURL=https://github.com/rakshasa/rtorrent/releases/download/v${TERMUX_PKG_VERSION}/rtorrent-$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af +TERMUX_PKG_SHA256=cc65bba7abead24151f10af116eca2342b0c320fdff3cb8d604c0af09215d3aa TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libc++, libcurl, libtorrent, libxmlrpc, ncurses" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-xmlrpc-c " - -# error: no member named 'bind2nd' in namespace 'std' -termux_step_pre_configure() { - CXXFLAGS+=" -std=c++11" -} From b1522e8987475533b75c28adc373174d2dbc297d Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 18:10:53 +0000 Subject: [PATCH 011/453] bump(main/mympd): 18.0.0 This commit has been automatically submitted by Github Actions. --- packages/mympd/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mympd/build.sh b/packages/mympd/build.sh index 668a3dc53338e1..22ca3f19a30713 100644 --- a/packages/mympd/build.sh +++ b/packages/mympd/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://jcorporation.github.io/myMPD/ TERMUX_PKG_DESCRIPTION="A standalone and lightweight web-based MPD client" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="17.0.4" +TERMUX_PKG_VERSION="18.0.0" TERMUX_PKG_SRCURL=https://github.com/jcorporation/myMPD/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=91f5794a3c022f931c182a2495565c84c00231d3b0d6f2caac3ee4c952d92934 +TERMUX_PKG_SHA256=750f9f6545d150b9f42d66ef287585a30bd82e6846fc106d10dcb4e84d44cd16 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libflac, libid3tag, liblua54, openssl, pcre2, resolv-conf" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" From eb4df12162d59e8b0a4b71217517268728033b14 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Sun, 29 Sep 2024 18:11:19 +0000 Subject: [PATCH 012/453] bump(main/picolisp): 24.9 This commit has been automatically submitted by Github Actions. --- packages/picolisp/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/picolisp/build.sh b/packages/picolisp/build.sh index 4305e525db6e46..12aab36fdb51e9 100644 --- a/packages/picolisp/build.sh +++ b/packages/picolisp/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Lisp interpreter and application server framework" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="COPYING" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="24.6" +TERMUX_PKG_VERSION="24.9" TERMUX_PKG_SRCURL=https://software-lab.de/picoLisp-${TERMUX_PKG_VERSION}.tgz -TERMUX_PKG_SHA256=912245a1a47714c6bf7e456f119272c0dd1faf263b55cec1cc23da3b5b0a0222 +TERMUX_PKG_SHA256=8e335099da0a1adc7673bf410a73865dd7dcd88beff73a02da8aee2f370957af TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libcrypt, libffi, openssl, readline" TERMUX_PKG_BUILD_IN_SRC=true From 3b306fa3102c37c6e0cdfa6d36ecdf4802251e9c Mon Sep 17 00:00:00 2001 From: Ivan Max Date: Mon, 30 Sep 2024 00:15:22 +0300 Subject: [PATCH 013/453] termux_step_create_pacman_package.sh: adding remove `data` folder if it is a metapackage (#21607) --- scripts/build/termux_step_create_pacman_package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build/termux_step_create_pacman_package.sh b/scripts/build/termux_step_create_pacman_package.sh index 5df309c3c187ee..e67a8c21ea6fd8 100644 --- a/scripts/build/termux_step_create_pacman_package.sh +++ b/scripts/build/termux_step_create_pacman_package.sh @@ -1,4 +1,9 @@ termux_step_create_pacman_package() { + if [ "$TERMUX_PKG_METAPACKAGE" = "true" ]; then + # Metapackage doesn't have data inside. + rm -rf data + fi + local TERMUX_PKG_INSTALLSIZE TERMUX_PKG_INSTALLSIZE=$(du -bs . | cut -f 1) From dc781384cb13718c9fd6b8d2c00fa750b469e6a5 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 11 Sep 2024 21:56:12 +0200 Subject: [PATCH 014/453] bump(main/grafana): 11.2.0 Fixes a build error with the current grafana and golang version: > # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof > ../../../go/pkg/mod/github.com/grafana/pyroscope-go/godeltaprof@v0.1.6/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond > ../../../go/pkg/mod/github.com/grafana/pyroscope-go/godeltaprof@v0.1.6/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame Fixes #21183. --- packages/grafana/build.sh | 4 +++- packages/grafana/go-mod.patch | 28 ++++++++-------------------- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/packages/grafana/build.sh b/packages/grafana/build.sh index bcce165950b35c..82571a5fad8537 100644 --- a/packages/grafana/build.sh +++ b/packages/grafana/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://grafana.com/ TERMUX_PKG_DESCRIPTION="The open-source platform for monitoring and observability" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:11.1.3" +TERMUX_PKG_VERSION="1:11.2.0" TERMUX_PKG_SRCURL=git+https://github.com/grafana/grafana TERMUX_PKG_BUILD_DEPENDS="yarn" TERMUX_PKG_BUILD_IN_SRC=true @@ -14,6 +14,8 @@ TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+" termux_step_pre_configure() { termux_setup_nodejs + export YARN_ENABLE_HARDENED_MODE=0 + local bin="$TERMUX_PKG_BUILDDIR/_bin" mkdir -p "$bin" diff --git a/packages/grafana/go-mod.patch b/packages/grafana/go-mod.patch index 198242c821e109..5af21865ba50ec 100644 --- a/packages/grafana/go-mod.patch +++ b/packages/grafana/go-mod.patch @@ -1,23 +1,11 @@ -diff --git a/go.mod b/go.mod -index 9aef536350e..e443ee4b148 100644 ---- a/go.mod -+++ b/go.mod -@@ -519,3 +519,5 @@ exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible - +diff -u -r ../cache/tmp-checkout/go.mod ./go.mod +--- ../cache/tmp-checkout/go.mod 2024-09-11 19:37:06.886258923 +0000 ++++ ./go.mod 2024-09-11 19:38:40.638038867 +0000 +@@ -493,5 +493,7 @@ // Use our fork xorm. go.work currently overrides this and points to the local ./pkg/util/xorm directory. replace xorm.io/xorm => github.com/grafana/grafana/pkg/util/xorm v0.0.1 -+ + +replace github.com/hashicorp/go-sockaddr v1.0.6 => ./go-sockaddr -diff --git a/go.sum b/go.sum -index 2e51b7e84c2..fac0c1149ea 100644 ---- a/go.sum -+++ b/go.sum -@@ -2271,8 +2271,6 @@ github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5O - github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= - github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= - github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= --github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I= --github.com/hashicorp/go-sockaddr v1.0.6/go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI= - github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= - github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= - github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= ++ + // lock for mysql tsdb compat + replace github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.7.1 From 3fe4ea4fc3b8a44bf8d980866fe009f3bc9d6dcd Mon Sep 17 00:00:00 2001 From: Sylirre Date: Mon, 30 Sep 2024 03:27:36 +0300 Subject: [PATCH 015/453] bump(main/proot-distro): 4.17.0 --- packages/proot-distro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/proot-distro/build.sh b/packages/proot-distro/build.sh index 21440139413dce..7fbcba0641daa4 100644 --- a/packages/proot-distro/build.sh +++ b/packages/proot-distro/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/proot-distro TERMUX_PKG_DESCRIPTION="Termux official utility for managing proot'ed Linux distributions" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=4.16.0 +TERMUX_PKG_VERSION=4.17.0 TERMUX_PKG_SRCURL=https://github.com/termux/proot-distro/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=83bc732355b04c115b731d4466f75f6814420f279f81a988d9c7e6611fcb64fc +TERMUX_PKG_SHA256=28eb685aa37658b2ef99545c0d12d96ca481ff72c2fbfc3530ae77d23a1196a1 TERMUX_PKG_DEPENDS="bash, bzip2, coreutils, curl, findutils, gzip, ncurses-utils, proot (>= 5.1.107-32), sed, tar, termux-tools, util-linux, xz-utils" TERMUX_PKG_SUGGESTS="bash-completion, termux-api" TERMUX_PKG_BUILD_IN_SRC=true From 8c95f27cc490e445b714588483fe2ea6b4fd00fd Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 00:38:22 +0000 Subject: [PATCH 016/453] bump(main/grafana): 11.2.1 This commit has been automatically submitted by Github Actions. --- packages/grafana/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana/build.sh b/packages/grafana/build.sh index 82571a5fad8537..14924362d1c2b8 100644 --- a/packages/grafana/build.sh +++ b/packages/grafana/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://grafana.com/ TERMUX_PKG_DESCRIPTION="The open-source platform for monitoring and observability" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:11.2.0" +TERMUX_PKG_VERSION="1:11.2.1" TERMUX_PKG_SRCURL=git+https://github.com/grafana/grafana TERMUX_PKG_BUILD_DEPENDS="yarn" TERMUX_PKG_BUILD_IN_SRC=true From c61137b2a559b73a93df6f5086b105af97f5b396 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 00:38:51 +0000 Subject: [PATCH 017/453] bump(main/libluajit): 2.1.1727621189 This commit has been automatically submitted by Github Actions. --- packages/libluajit/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libluajit/build.sh b/packages/libluajit/build.sh index 9872f1790f0362..3758c3165777da 100644 --- a/packages/libluajit/build.sh +++ b/packages/libluajit/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://luajit.org/ TERMUX_PKG_DESCRIPTION="Just-In-Time Compiler for Lua" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:2.1.1725453128" +TERMUX_PKG_VERSION="1:2.1.1727621189" TERMUX_PKG_SRCURL=git+https://github.com/LuaJIT/LuaJIT.git TERMUX_PKG_GIT_BRANCH=v${TERMUX_PKG_VERSION:2:3} TERMUX_PKG_AUTO_UPDATE=true From 7d955e8a4d2862aad853d2c0c65898f51f04af62 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 00:39:25 +0000 Subject: [PATCH 018/453] bump(main/scc): 3.4.0 This commit has been automatically submitted by Github Actions. --- packages/scc/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/scc/build.sh b/packages/scc/build.sh index 6a12c7f0ab017f..cd1bf0d52fdf46 100644 --- a/packages/scc/build.sh +++ b/packages/scc/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/boyter/scc TERMUX_PKG_DESCRIPTION="Counts physical the lines of code, blank lines, comment lines, and physical lines of source code" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.3.5" +TERMUX_PKG_VERSION="3.4.0" TERMUX_PKG_SRCURL=https://github.com/boyter/scc/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=028869a7d053879a8e3f2872fdd792f165db13696918d08863475c638f08ef06 +TERMUX_PKG_SHA256=bdedb6f32d1c3d73ac7e55780021c742bc8ed32f6fb878ee3e419f9acc76bdaa TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From 76c480d7843a2027b9ce0c418a30782b4436597c Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 06:17:48 +0000 Subject: [PATCH 019/453] bump(main/rust-analyzer): 20240930 This commit has been automatically submitted by Github Actions. --- packages/rust-analyzer/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rust-analyzer/build.sh b/packages/rust-analyzer/build.sh index 0ea6fdd4a5f787..b990f321c7fc25 100644 --- a/packages/rust-analyzer/build.sh +++ b/packages/rust-analyzer/build.sh @@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="A Rust compiler front-end for IDEs" TERMUX_PKG_LICENSE="Apache-2.0, MIT" TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="20240923" +TERMUX_PKG_VERSION="20240930" _VERSION=${TERMUX_PKG_VERSION:0:4}-${TERMUX_PKG_VERSION:4:2}-${TERMUX_PKG_VERSION:6:2} TERMUX_PKG_SRCURL=https://github.com/rust-lang/rust-analyzer/archive/refs/tags/${_VERSION}.tar.gz -TERMUX_PKG_SHA256=62925e0a709c30396279953a281bc9102a4cef0a6812d66ac92de03e14088722 +TERMUX_PKG_SHA256=ce30bfc307148b51df50cb8c9601511ff8b7be1869e2aad9d028dfb09f0d1551 TERMUX_PKG_DEPENDS="rust-src" TERMUX_PKG_ANTI_BUILD_DEPENDS="rust-src" TERMUX_PKG_BUILD_IN_SRC=true From 777f45993a40bcd6a43ef9a39c85245a9dca802a Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 06:20:13 +0000 Subject: [PATCH 020/453] bump(main/viddy): 1.1.5 This commit has been automatically submitted by Github Actions. --- packages/viddy/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/viddy/build.sh b/packages/viddy/build.sh index 84fbd8abdf05f3..9c6fd157c21fce 100644 --- a/packages/viddy/build.sh +++ b/packages/viddy/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/sachaos/viddy TERMUX_PKG_DESCRIPTION="A modern watch command" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.1.4" +TERMUX_PKG_VERSION="1.1.5" TERMUX_PKG_SRCURL=https://github.com/sachaos/viddy/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=fb76b1d0a25a2909a5e105f75534bda05c8d63ad82c1fb4f1bb5f828773b30f0 +TERMUX_PKG_SHA256=abc01bc4eae92f6fbf11ea220f1ef8ee88e48f80b090e09d0c5d5e4cf23d9065 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From 77294329ef86845d4a4bc52661f182628034cd9b Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 30 Sep 2024 03:03:29 +0200 Subject: [PATCH 021/453] fix(main/proot-distro): Depend on file After https://github.com/termux/proot-distro/commit/f050095153d5891c1373001070f9eeac3f9a9d7a the file utility needs to be installed for proot-distro to work. --- packages/proot-distro/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/proot-distro/build.sh b/packages/proot-distro/build.sh index 7fbcba0641daa4..a11f65f81ba49b 100644 --- a/packages/proot-distro/build.sh +++ b/packages/proot-distro/build.sh @@ -3,9 +3,10 @@ TERMUX_PKG_DESCRIPTION="Termux official utility for managing proot'ed Linux dist TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=4.17.0 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/termux/proot-distro/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=28eb685aa37658b2ef99545c0d12d96ca481ff72c2fbfc3530ae77d23a1196a1 -TERMUX_PKG_DEPENDS="bash, bzip2, coreutils, curl, findutils, gzip, ncurses-utils, proot (>= 5.1.107-32), sed, tar, termux-tools, util-linux, xz-utils" +TERMUX_PKG_DEPENDS="bash, bzip2, coreutils, curl, file, findutils, gzip, ncurses-utils, proot (>= 5.1.107-32), sed, tar, termux-tools, util-linux, xz-utils" TERMUX_PKG_SUGGESTS="bash-completion, termux-api" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_PLATFORM_INDEPENDENT=true From b4bf5775747531665b1bedfcc15817450bb51a89 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 12:13:30 +0000 Subject: [PATCH 022/453] bump(main/chezmoi): 2.52.3 This commit has been automatically submitted by Github Actions. --- packages/chezmoi/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/chezmoi/build.sh b/packages/chezmoi/build.sh index b576aa69459520..086612f6dcb211 100644 --- a/packages/chezmoi/build.sh +++ b/packages/chezmoi/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://chezmoi.io TERMUX_PKG_DESCRIPTION="Manage your dotfiles across multiple machines" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91" -TERMUX_PKG_VERSION="2.52.2" +TERMUX_PKG_VERSION="2.52.3" TERMUX_PKG_SRCURL=https://github.com/twpayne/chezmoi/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=0bfe878d901f5e171cfcab7bd4d647f3fbf7f882be9bf747fabe188a9815e91c +TERMUX_PKG_SHA256=a3986d25ad831de00d5a0937062a413af72aaa2c15d515abd02cf82d79d813c9 TERMUX_PKG_AUTO_UPDATE=true termux_step_make() { From 00bda6afa7ca319ab2938b6bfc594ef9c92fa15a Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 12:14:46 +0000 Subject: [PATCH 023/453] bump(main/lua-language-server): 3.11.0 This commit has been automatically submitted by Github Actions. --- packages/lua-language-server/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lua-language-server/build.sh b/packages/lua-language-server/build.sh index 8b5662e8928948..f48753783d7072 100644 --- a/packages/lua-language-server/build.sh +++ b/packages/lua-language-server/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE="https://github.com/sumneko/lua-language-server" TERMUX_PKG_DESCRIPTION="Sumneko Lua Language Server coded in Lua" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="3.10.6" +TERMUX_PKG_VERSION="3.11.0" TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}" TERMUX_PKG_SRCURL="git+https://github.com/sumneko/lua-language-server" TERMUX_PKG_DEPENDS="libandroid-spawn, libc++" From 0458998ae7211e169995a8bff219f985a1b22f89 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 30 Sep 2024 01:07:04 +0200 Subject: [PATCH 024/453] rmpkg(x11/libunique) libunique is not maintained, was last released in 2011 (see https://download.gnome.org/sources/libunique/3.0/), not used by any Termux package and is unlikely to be used by any code built on-device. --- {x11-packages => disabled-packages}/libunique/build.sh | 0 .../libunique/gir/3.0.2/Unique-3.0.xml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {x11-packages => disabled-packages}/libunique/build.sh (100%) rename {x11-packages => disabled-packages}/libunique/gir/3.0.2/Unique-3.0.xml (100%) diff --git a/x11-packages/libunique/build.sh b/disabled-packages/libunique/build.sh similarity index 100% rename from x11-packages/libunique/build.sh rename to disabled-packages/libunique/build.sh diff --git a/x11-packages/libunique/gir/3.0.2/Unique-3.0.xml b/disabled-packages/libunique/gir/3.0.2/Unique-3.0.xml similarity index 100% rename from x11-packages/libunique/gir/3.0.2/Unique-3.0.xml rename to disabled-packages/libunique/gir/3.0.2/Unique-3.0.xml From 965f6e77085247757fcea320c72d9a4ed1554b4f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 30 Sep 2024 13:03:40 +0000 Subject: [PATCH 025/453] bump(x11/qbittorrent): 5.0.0 --- x11-packages/qbittorrent/build.sh | 8 ++++---- x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x11-packages/qbittorrent/build.sh b/x11-packages/qbittorrent/build.sh index 52e6a9afd6bb82..a568d1c5295807 100644 --- a/x11-packages/qbittorrent/build.sh +++ b/x11-packages/qbittorrent/build.sh @@ -2,12 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://www.qbittorrent.org/ TERMUX_PKG_DESCRIPTION="A Qt based BitTorrent client" TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="4.6.7" +TERMUX_PKG_VERSION="5.0.0" TERMUX_PKG_SRCURL=https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=bfda6e6d57d419ec2c61162327988ea919f55ee7a80700b3754793a6d7f3545c +TERMUX_PKG_SHA256=9a24a6b95e9afac826295b8203685a515b13e77eb98bb8ed21c814916b999f6e TERMUX_PKG_FORCE_CMAKE=true -TERMUX_PKG_DEPENDS="libicu, libtorrent-rasterbar, openssl, qt5-qtbase" -TERMUX_PKG_BUILD_DEPENDS="qt5-qttools, qt5-qtsvg, boost, libc++" +TERMUX_PKG_DEPENDS="libicu, libtorrent-rasterbar, openssl, qt6-qtbase" +TERMUX_PKG_BUILD_DEPENDS="qt6-qttools, qt6-qtsvg, boost, libc++" TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE=newest-tag TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+\.\d+\.\d+' diff --git a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh index a4ed4bd35857ab..1b49cb14d296e0 100644 --- a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh +++ b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh @@ -1,4 +1,4 @@ TERMUX_SUBPKG_DEPEND_ON_PARENT=false TERMUX_SUBPKG_INCLUDE='bin/qbittorrent-nox share/man/man1/qbittorrent-nox.1.gz' TERMUX_SUBPKG_DESCRIPTION='A Qt based BitTorrent client - headless version' -TERMUX_SUBPKG_DEPENDS='libicu, libtorrent-rasterbar, openssl, qt5-qtbase' +TERMUX_SUBPKG_DEPENDS='libicu, libtorrent-rasterbar, openssl, qt6-qtbase' From b816c582ae8b779011865e5d43ec05d0611e4821 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 30 Sep 2024 13:19:51 +0000 Subject: [PATCH 026/453] fix(x11/qbittorrent): Fix dependencies --- x11-packages/qbittorrent/build.sh | 4 ++-- x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x11-packages/qbittorrent/build.sh b/x11-packages/qbittorrent/build.sh index a568d1c5295807..9e23c368e8e238 100644 --- a/x11-packages/qbittorrent/build.sh +++ b/x11-packages/qbittorrent/build.sh @@ -6,8 +6,8 @@ TERMUX_PKG_VERSION="5.0.0" TERMUX_PKG_SRCURL=https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=9a24a6b95e9afac826295b8203685a515b13e77eb98bb8ed21c814916b999f6e TERMUX_PKG_FORCE_CMAKE=true -TERMUX_PKG_DEPENDS="libicu, libtorrent-rasterbar, openssl, qt6-qtbase" -TERMUX_PKG_BUILD_DEPENDS="qt6-qttools, qt6-qtsvg, boost, libc++" +TERMUX_PKG_DEPENDS="libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib" +TERMUX_PKG_BUILD_DEPENDS="qt6-qttools, qt6-qtsvg, boost" TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE=newest-tag TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+\.\d+\.\d+' diff --git a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh index 1b49cb14d296e0..312b46bcb93674 100644 --- a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh +++ b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh @@ -1,4 +1,4 @@ TERMUX_SUBPKG_DEPEND_ON_PARENT=false TERMUX_SUBPKG_INCLUDE='bin/qbittorrent-nox share/man/man1/qbittorrent-nox.1.gz' TERMUX_SUBPKG_DESCRIPTION='A Qt based BitTorrent client - headless version' -TERMUX_SUBPKG_DEPENDS='libicu, libtorrent-rasterbar, openssl, qt6-qtbase' +TERMUX_SUBPKG_DEPENDS='libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib' From 3240257a85487212a3b301a93092af0190484492 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 30 Sep 2024 01:01:47 +0200 Subject: [PATCH 027/453] rmpkg(x11/libdazzle) libdazzle is EOL (see https://github.com/GNOME/libdazzle/tree/master), is not used by any package in Termux, and is unlikely to be used by any code compiled on device. libdazzle was originally introduced as it was used by epiphany, but since May 2023 epiphany no longer uses it (#15748). --- {x11-packages => disabled-packages}/libdazzle/build.sh | 0 .../libdazzle/gir/3.44.0/Dazzle-1.0.xml | 0 {x11-packages => disabled-packages}/libdazzle/meson.build.patch | 0 .../libdazzle/src-util-dzl-counter.c.patch | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename {x11-packages => disabled-packages}/libdazzle/build.sh (100%) rename {x11-packages => disabled-packages}/libdazzle/gir/3.44.0/Dazzle-1.0.xml (100%) rename {x11-packages => disabled-packages}/libdazzle/meson.build.patch (100%) rename {x11-packages => disabled-packages}/libdazzle/src-util-dzl-counter.c.patch (100%) diff --git a/x11-packages/libdazzle/build.sh b/disabled-packages/libdazzle/build.sh similarity index 100% rename from x11-packages/libdazzle/build.sh rename to disabled-packages/libdazzle/build.sh diff --git a/x11-packages/libdazzle/gir/3.44.0/Dazzle-1.0.xml b/disabled-packages/libdazzle/gir/3.44.0/Dazzle-1.0.xml similarity index 100% rename from x11-packages/libdazzle/gir/3.44.0/Dazzle-1.0.xml rename to disabled-packages/libdazzle/gir/3.44.0/Dazzle-1.0.xml diff --git a/x11-packages/libdazzle/meson.build.patch b/disabled-packages/libdazzle/meson.build.patch similarity index 100% rename from x11-packages/libdazzle/meson.build.patch rename to disabled-packages/libdazzle/meson.build.patch diff --git a/x11-packages/libdazzle/src-util-dzl-counter.c.patch b/disabled-packages/libdazzle/src-util-dzl-counter.c.patch similarity index 100% rename from x11-packages/libdazzle/src-util-dzl-counter.c.patch rename to disabled-packages/libdazzle/src-util-dzl-counter.c.patch From 0dbb424b16ab3e6e5bfd2b501f3fdbdde77a46e4 Mon Sep 17 00:00:00 2001 From: Sylirre Date: Mon, 30 Sep 2024 19:46:49 +0300 Subject: [PATCH 028/453] bump(main/proot-distro): 4.17.1 --- packages/proot-distro/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/proot-distro/build.sh b/packages/proot-distro/build.sh index a11f65f81ba49b..6994c897823f75 100644 --- a/packages/proot-distro/build.sh +++ b/packages/proot-distro/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/proot-distro TERMUX_PKG_DESCRIPTION="Termux official utility for managing proot'ed Linux distributions" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=4.17.0 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=4.17.1 TERMUX_PKG_SRCURL=https://github.com/termux/proot-distro/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=28eb685aa37658b2ef99545c0d12d96ca481ff72c2fbfc3530ae77d23a1196a1 +TERMUX_PKG_SHA256=ad0d0c16d41e3040a502ef671475e091390fd4f6bbc979a1a55fdf3af2559bfa TERMUX_PKG_DEPENDS="bash, bzip2, coreutils, curl, file, findutils, gzip, ncurses-utils, proot (>= 5.1.107-32), sed, tar, termux-tools, util-linux, xz-utils" TERMUX_PKG_SUGGESTS="bash-completion, termux-api" TERMUX_PKG_BUILD_IN_SRC=true From 02a64ac6d0be4ff5bed20b0dd6991f3c2dbb0b23 Mon Sep 17 00:00:00 2001 From: kyufie Date: Sun, 29 Sep 2024 01:32:28 +0700 Subject: [PATCH 029/453] fix(main/coreutils): limit context manipulation to root and fix `install` Disable the ability for `install` to setup default file context for now Fixes (termux/termux-packages)#21597 --- packages/coreutils/build.sh | 2 +- packages/coreutils/selinux.patch | 161 +++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 packages/coreutils/selinux.patch diff --git a/packages/coreutils/build.sh b/packages/coreutils/build.sh index 6188108b87d2ee..ddd950783ebafd 100644 --- a/packages/coreutils/build.sh +++ b/packages/coreutils/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Basic file, shell and text manipulation utilities from t TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=9.5 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=cd328edeac92f6a665de9f323c93b712af1858bc2e0d88f3f7100469470a1b8a TERMUX_PKG_DEPENDS="libandroid-selinux, libandroid-support, libgmp, libiconv" diff --git a/packages/coreutils/selinux.patch b/packages/coreutils/selinux.patch new file mode 100644 index 00000000000000..b8a7fdbfdc1e96 --- /dev/null +++ b/packages/coreutils/selinux.patch @@ -0,0 +1,161 @@ +--- coreutils-9.5.orig/src/cp.c ++++ coreutils-9.5/src/cp.c +@@ -994,7 +992,7 @@ + + atexit (close_stdin); + +- selinux_enabled = (0 < is_selinux_enabled ()); ++ selinux_enabled = (0 < is_selinux_enabled () && geteuid () == 0); + cp_option_init (&x); + + while ((c = getopt_long (argc, argv, "abdfHilLnprst:uvxPRS:TZ", +@@ -1201,7 +1197,7 @@ + { + error (0, 0, + _("warning: ignoring --context; " +- "it requires an SELinux-enabled kernel")); ++ "it requires an SELinux-enabled kernel and root access")); + } + break; + +@@ -1277,7 +1273,7 @@ + if (x.require_preserve_context && ! selinux_enabled) + error (EXIT_FAILURE, 0, + _("cannot preserve security context " +- "without an SELinux-enabled kernel")); ++ "without an SELinux-enabled kernel and root access")); + + /* FIXME: This handles new files. But what about existing files? + I.e., if updating a tree, new files would have the specified context, +--- coreutils-9.5.orig/src/mkdir.c ++++ coreutils-9.5/src/mkdir.c +@@ -228,7 +228,7 @@ + /* We don't yet support -Z to restore context with SMACK. */ + scontext = optarg; + } +- else if (is_selinux_enabled () > 0) ++ else if (is_selinux_enabled () > 0 && geteuid () == 0) + { + if (optarg) + scontext = optarg; +@@ -244,7 +244,7 @@ + { + error (0, 0, + _("warning: ignoring --context; " +- "it requires an SELinux/SMACK-enabled kernel")); ++ "it requires an SELinux/SMACK-enabled kernel and root access")); + } + break; + case_GETOPT_HELP_CHAR; +--- coreutils-9.5.orig/src/mkfifo.c ++++ coreutils-9.5/src/mkfifo.c +@@ -102,7 +102,7 @@ + /* We don't yet support -Z to restore context with SMACK. */ + scontext = optarg; + } +- else if (is_selinux_enabled () > 0) ++ else if (is_selinux_enabled () > 0 && geteuid () == 0) + { + if (optarg) + scontext = optarg; +@@ -118,7 +118,7 @@ + { + error (0, 0, + _("warning: ignoring --context; " +- "it requires an SELinux/SMACK-enabled kernel")); ++ "it requires an SELinux/SMACK-enabled kernel and root access")); + } + break; + case_GETOPT_HELP_CHAR; +--- coreutils-9.5.orig/src/mknod.c ++++ coreutils-9.5/src/mknod.c +@@ -119,7 +119,7 @@ + /* We don't yet support -Z to restore context with SMACK. */ + scontext = optarg; + } +- else if (is_selinux_enabled () > 0) ++ else if (is_selinux_enabled () > 0 && geteuid () == 0) + { + if (optarg) + scontext = optarg; +@@ -135,7 +135,7 @@ + { + error (0, 0, + _("warning: ignoring --context; " +- "it requires an SELinux/SMACK-enabled kernel")); ++ "it requires an SELinux/SMACK-enabled kernel and root access")); + } + break; + case_GETOPT_HELP_CHAR; +--- coreutils-9.5.orig/src/mv.c ++++ coreutils-9.5/src/mv.c +@@ -120,7 +120,7 @@ + static void + cp_option_init (struct cp_options *x) + { +- bool selinux_enabled = (0 < is_selinux_enabled ()); ++ bool selinux_enabled = (0 < is_selinux_enabled () && geteuid () == 0); + + cp_options_default (x); + x->copy_as_regular = false; /* FIXME: maybe make this an option */ +@@ -326,7 +326,7 @@ + bool no_target_directory = false; + int n_files; + char **file; +- bool selinux_enabled = (0 < is_selinux_enabled ()); ++ bool selinux_enabled = (0 < is_selinux_enabled () && geteuid () == 0); + bool no_clobber = false; + + initialize_main (&argc, &argv); +--- coreutils-9.5.orig/src/runcon.c ++++ coreutils-9.5/src/runcon.c +@@ -190,8 +190,8 @@ + usage (EXIT_CANCELED); + } + +- if (is_selinux_enabled () != 1) +- error (EXIT_CANCELED, 0, _("%s may be used only on a SELinux kernel"), ++ if (is_selinux_enabled () != 1 || geteuid () != 0) ++ error (EXIT_CANCELED, 0, _("%s may be used only on a SELinux kernel and must be run as root"), + program_name); + + if (context) +--- coreutils-9.5.orig/src/install.c ++++ coreutils-9.5/src/install.c +@@ -325,6 +325,9 @@ + struct stat st; + char *scontext_raw = nullptr; + ++ /* FIXME: Return early for now until a suitable workaround has been found */ ++ return; ++ + if (selinux_enabled != 1) + { + /* Indicate no context found. */ +@@ -789,7 +792,7 @@ + bool strip_program_specified = false; + char const *scontext = nullptr; + /* set iff kernel has extra selinux system calls */ +- selinux_enabled = (0 < is_selinux_enabled ()); ++ selinux_enabled = (0 < is_selinux_enabled () && geteuid () == 0); + + initialize_main (&argc, &argv); + set_program_name (argv[0]); +@@ -876,7 +879,7 @@ + if (! selinux_enabled) + { + error (0, 0, _("WARNING: ignoring --preserve-context; " +- "this kernel is not SELinux-enabled")); ++ "it requires an SELinux-enabled kernel and root access")); + break; + } + x.preserve_security_context = true; +@@ -902,7 +905,7 @@ + { + error (0, 0, + _("warning: ignoring --context; " +- "it requires an SELinux-enabled kernel")); ++ "it requires an SELinux-enabled kernel and root access")); + } + break; + case_GETOPT_HELP_CHAR; From d2f5ada385d19f2afc2727f2e257d3ca1401c416 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 19:42:29 +0000 Subject: [PATCH 030/453] bump(main/emscripten): 3.1.68 This commit has been automatically submitted by Github Actions. --- packages/emscripten/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/emscripten/build.sh b/packages/emscripten/build.sh index aa03ac150c5071..14ed0c64cb227f 100644 --- a/packages/emscripten/build.sh +++ b/packages/emscripten/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://emscripten.org TERMUX_PKG_DESCRIPTION="Emscripten: An LLVM-to-WebAssembly Compiler" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.1.67" +TERMUX_PKG_VERSION="3.1.68" TERMUX_PKG_SRCURL=git+https://github.com/emscripten-core/emscripten TERMUX_PKG_GIT_BRANCH=${TERMUX_PKG_VERSION} TERMUX_PKG_DEPENDS="nodejs-lts | nodejs, python" @@ -53,13 +53,13 @@ opt/emscripten/LICENSE # https://github.com/emscripten-core/emscripten/issues/11362 # can switch to stable LLVM to save space once above is fixed -_LLVM_COMMIT=b9198a17315757dc0c2e831c9df0498dcab55285 -_LLVM_TGZ_SHA256=ce1b52d7494fa956893a095f15dcbf655478a7d388f596bb15510e11e6995364 +_LLVM_COMMIT=5cc64bf60bc04b9315de3c679eb753de4d554a8a +_LLVM_TGZ_SHA256=29468bf46f23fa893ec1332bb70ae24f44897b9865fd4354a9f51ad1c8ff0174 # https://github.com/emscripten-core/emscripten/issues/12252 # upstream says better bundle the right binaryen revision for now -_BINARYEN_COMMIT=29d30fabcb688b599920deef9d92a5413615eaab -_BINARYEN_TGZ_SHA256=3af708566d45981c6f148192a739dcecc1721812b0f87b86034e1db662d23b66 +_BINARYEN_COMMIT=d8c1b0c0ceb4cc4eb59f3f3ab4840636c78e2a44 +_BINARYEN_TGZ_SHA256=898c72e63b3d0b19ebafab1d99ff1ba651d73d7f82ef2ff54d8e9a46e9ab67af # https://github.com/emscripten-core/emsdk/blob/main/emsdk.py # https://chromium.googlesource.com/emscripten-releases/+/refs/heads/main/src/build.py From 02ccf76327f4c7f537aa43cacede920b8e2d2693 Mon Sep 17 00:00:00 2001 From: TomIO <43716232+TomJo2000@users.noreply.github.com> Date: Mon, 30 Sep 2024 21:49:31 +0200 Subject: [PATCH 031/453] enhance(x11/qbittorrent{,-nox}): suggest `python` (#21617) used by the search functionality plugins --- x11-packages/qbittorrent/build.sh | 11 ++++++----- .../qbittorrent/qbittorrent-nox.subpackage.sh | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/x11-packages/qbittorrent/build.sh b/x11-packages/qbittorrent/build.sh index 9e23c368e8e238..913e2385adce7b 100644 --- a/x11-packages/qbittorrent/build.sh +++ b/x11-packages/qbittorrent/build.sh @@ -1,20 +1,21 @@ TERMUX_PKG_HOMEPAGE=https://www.qbittorrent.org/ -TERMUX_PKG_DESCRIPTION="A Qt based BitTorrent client" +TERMUX_PKG_DESCRIPTION="A Qt6 based BitTorrent client" TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" TERMUX_PKG_VERSION="5.0.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=9a24a6b95e9afac826295b8203685a515b13e77eb98bb8ed21c814916b999f6e -TERMUX_PKG_FORCE_CMAKE=true +TERMUX_PKG_BUILD_DEPENDS="qt6-qtsvg, qt6-qttools, boost" TERMUX_PKG_DEPENDS="libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib" -TERMUX_PKG_BUILD_DEPENDS="qt6-qttools, qt6-qtsvg, boost" +TERMUX_PKG_RECOMMENDS="python" TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE=newest-tag TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+\.\d+\.\d+' TERMUX_PKG_EXTRA_CONFIGURE_ARGS=' --DSTACKTRACE=OFF +-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release --DBUILD_SHARED_LIBS=off +-DSTACKTRACE=OFF ' # based on the secondary `-shared` build in `libncnn` diff --git a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh index 312b46bcb93674..297a098990fdad 100644 --- a/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh +++ b/x11-packages/qbittorrent/qbittorrent-nox.subpackage.sh @@ -1,4 +1,5 @@ TERMUX_SUBPKG_DEPEND_ON_PARENT=false TERMUX_SUBPKG_INCLUDE='bin/qbittorrent-nox share/man/man1/qbittorrent-nox.1.gz' -TERMUX_SUBPKG_DESCRIPTION='A Qt based BitTorrent client - headless version' +TERMUX_SUBPKG_DESCRIPTION='A Qt6 based BitTorrent client - headless version' TERMUX_SUBPKG_DEPENDS='libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib' +TERMUX_SUBPKG_RECOMMENDS="python" From 94511af8cd54959df1f445bf908b87ff4780195e Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 19:51:23 +0000 Subject: [PATCH 032/453] bump(main/erlang): 27.1.1 This commit has been automatically submitted by Github Actions. --- packages/erlang/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/erlang/build.sh b/packages/erlang/build.sh index fc614de5a378f2..19e51fb6301a85 100644 --- a/packages/erlang/build.sh +++ b/packages/erlang/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.erlang.org/ TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming language" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="27.1" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="27.1.1" TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/refs/tags/OTP-$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=b16ada99c49035e96f0d20fa3abe537851e84da6f2419ec325c345a03a574d29 +TERMUX_PKG_SHA256=315552992ebbc86f27b54b4267616ad49b10fa2ef6bc4ec2a6992f7054c9157e TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+(\.\d+)+' TERMUX_PKG_DEPENDS="libc++, openssl, ncurses, zlib" From fafe5959c8aa2098abfa39447e89805ae692ce2b Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Mon, 30 Sep 2024 19:52:24 +0000 Subject: [PATCH 033/453] bump(main/oh-my-posh): 23.15.2 This commit has been automatically submitted by Github Actions. --- packages/oh-my-posh/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/oh-my-posh/build.sh b/packages/oh-my-posh/build.sh index f9c15accb8993a..e2bf3d949e8bf1 100644 --- a/packages/oh-my-posh/build.sh +++ b/packages/oh-my-posh/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ohmyposh.dev TERMUX_PKG_DESCRIPTION="A prompt theme engine for any shell." TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="23.15.1" +TERMUX_PKG_VERSION="23.15.2" TERMUX_PKG_SRCURL=https://github.com/JanDeDobbeleer/oh-my-posh/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=749ae1ea4a02334ea01714ccac5cbcf8cf98e49397985cc35311ba5b157480e9 +TERMUX_PKG_SHA256=2981a399832a6ba56b6cc66c86e6b4e3ceae8e088b97df1443cba48b952ade70 TERMUX_PKG_AUTO_UPDATE=true termux_step_pre_configure() { From 01e442242d658b3e0124fc752e93b6b75d10ebee Mon Sep 17 00:00:00 2001 From: Lucy Phipps Date: Mon, 30 Sep 2024 23:40:54 +0100 Subject: [PATCH 034/453] ca-certificates 2024-09-24 --- packages/ca-certificates/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ca-certificates/build.sh b/packages/ca-certificates/build.sh index 2805c032753cf1..1eaa81d1a8cdab 100644 --- a/packages/ca-certificates/build.sh +++ b/packages/ca-certificates/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://curl.se/docs/caextract.html TERMUX_PKG_DESCRIPTION="Common CA certificates" TERMUX_PKG_LICENSE="MPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:2024.07.02" +TERMUX_PKG_VERSION="1:2024.09.24" TERMUX_PKG_SRCURL=https://curl.se/ca/cacert-$(sed 's/\./-/g' <<< ${TERMUX_PKG_VERSION:2}).pem -TERMUX_PKG_SHA256=1bf458412568e134a4514f5e170a328d11091e071c7110955c9884ed87972ac9 +TERMUX_PKG_SHA256=189d3cf6d103185fba06d76c1af915263c6d42225481a1759e853b33ac857540 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_SKIP_SRC_EXTRACT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true From 028168d89275b24bd7d68f3b58667b2d7008e7cd Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:29:49 +0000 Subject: [PATCH 035/453] bump(main/buf): 1.43.0 This commit has been automatically submitted by Github Actions. --- packages/buf/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/buf/build.sh b/packages/buf/build.sh index 753b2d79104f98..139b1ec869c24e 100644 --- a/packages/buf/build.sh +++ b/packages/buf/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://buf.build TERMUX_PKG_DESCRIPTION="A new way of working with Protocol Buffers" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.42.0" +TERMUX_PKG_VERSION="1.43.0" TERMUX_PKG_SRCURL=https://github.com/bufbuild/buf/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=825e9004703c6817bd1bd2925004d2e22e55359c6c5e30cc748dc09637b0e59b +TERMUX_PKG_SHA256=08d2099a3fd90945228c68077bea101a67076170574f73e74f70b6025e2e02c0 TERMUX_PKG_AUTO_UPDATE=true termux_step_make() { From d7f577efc10d87b84071dfde25cd79b6b656b994 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:30:10 +0000 Subject: [PATCH 036/453] bump(main/clifm): 1.21 This commit has been automatically submitted by Github Actions. --- packages/clifm/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/clifm/build.sh b/packages/clifm/build.sh index efda1effd953fc..f146462c73eefd 100644 --- a/packages/clifm/build.sh +++ b/packages/clifm/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/leo-arch/clifm TERMUX_PKG_DESCRIPTION="The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.20" +TERMUX_PKG_VERSION="1.21" TERMUX_PKG_SRCURL=https://github.com/leo-arch/clifm/releases/download/v${TERMUX_PKG_VERSION}/clifm-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=36f41d332985b9888a24a2ebb09ef837f40acea744b38498cd5e5313690ec10f +TERMUX_PKG_SHA256=cb219ca6ce1b4a31ec98701a43da51142c8bc7f15a22cb81dda93f881e6f6877 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libcap, libacl, readline, file, libandroid-glob, libandroid-support" TERMUX_PKG_BUILD_IN_SRC=true From a0fdf14c235df9dc8d7bdacc05a008860df7b4db Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:32:16 +0000 Subject: [PATCH 037/453] bump(main/flyctl): 0.3.13 This commit has been automatically submitted by Github Actions. --- packages/flyctl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flyctl/build.sh b/packages/flyctl/build.sh index b2fd5ddd929512..d2e09a8bd36574 100644 --- a/packages/flyctl/build.sh +++ b/packages/flyctl/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://fly.io TERMUX_PKG_DESCRIPTION="Command line tools for fly.io services" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="Yaksh Bariya " -TERMUX_PKG_VERSION="0.3.12" +TERMUX_PKG_VERSION="0.3.13" TERMUX_PKG_SRCURL=https://github.com/superfly/flyctl/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=23b882d7b83f7ec88869bd0df9430ce863f08a5c4370275db891e9fd4d02d43c +TERMUX_PKG_SHA256=061fb0d32a0a1ab1b4ee0cff19c790fa736128538f799020a3a259ff77e495a5 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BLACKLISTED_ARCHES="i686, arm" From 6dbee1aa81a603228cb735b2faff874a8f87b494 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:34:10 +0000 Subject: [PATCH 038/453] bump(main/just): 1.36.0 This commit has been automatically submitted by Github Actions. --- packages/just/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/just/build.sh b/packages/just/build.sh index 794c277f1f3e1a..cc574f3f828042 100644 --- a/packages/just/build.sh +++ b/packages/just/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://just.systems TERMUX_PKG_DESCRIPTION="A handy way to save and run project-specific commands" TERMUX_PKG_LICENSE="CC0-1.0" TERMUX_PKG_MAINTAINER="@flipee" -TERMUX_PKG_VERSION="1.35.0" +TERMUX_PKG_VERSION="1.36.0" TERMUX_PKG_SRCURL=https://github.com/casey/just/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=f1ce3fe46c57cba0096227f8c9251d3b476e54e8a620eb39707d0ab3e16b8f55 +TERMUX_PKG_SHA256=bc2e2ff0268c2818659c524b21663564864b50ba102afb0a44fe73c08cf35ff0 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From a3bfed670b93499b96aea06d1ac42d6418c273dc Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:35:47 +0000 Subject: [PATCH 039/453] bump(main/tree-sitter): 0.23.1 This commit has been automatically submitted by Github Actions. --- packages/tree-sitter/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tree-sitter/build.sh b/packages/tree-sitter/build.sh index 77ff98d1d7ada0..b968d19ea1c14e 100644 --- a/packages/tree-sitter/build.sh +++ b/packages/tree-sitter/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tree-sitter/tree-sitter TERMUX_PKG_DESCRIPTION="An incremental parsing system for programming tools" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.23.0" +TERMUX_PKG_VERSION="0.23.1" TERMUX_PKG_SRCURL=https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6403b361b0014999e96f61b9c84d6950d42f0c7d6e806be79382e0232e48a11b +TERMUX_PKG_SHA256=30ea382bdaea8fc71e3d52850da509398f56d77b7c41e3494da46a1158d37b86 TERMUX_PKG_BREAKS="libtreesitter" TERMUX_PKG_REPLACES="libtreesitter" TERMUX_PKG_AUTO_UPDATE=true From 4993db91f3f46dff36cae5396d3b557273d826eb Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 00:37:16 +0000 Subject: [PATCH 040/453] bump(main/wasm-component-ld): 0.5.9 This commit has been automatically submitted by Github Actions. --- packages/wasm-component-ld/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wasm-component-ld/build.sh b/packages/wasm-component-ld/build.sh index ec3b30b50fcb40..d1a8d87266345f 100644 --- a/packages/wasm-component-ld/build.sh +++ b/packages/wasm-component-ld/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Command line linker for creating WebAssembly components" TERMUX_PKG_LICENSE="Apache-2.0, MIT" TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-Apache-2.0_WITH_LLVM-exception, LICENSE-MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.5.8" +TERMUX_PKG_VERSION="0.5.9" TERMUX_PKG_SRCURL=https://github.com/bytecodealliance/wasm-component-ld/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=b1cb7ecfab5548d71d3c5dc4b96da03a1a544eb7c56cb3155f89dba2bdfb244e +TERMUX_PKG_SHA256=01da262f61e65f97b07af8231008257b8391c1f29382286b77cdd4240418ea36 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 7105565ccb237e778afab211ab5d08eeb511f879 Mon Sep 17 00:00:00 2001 From: Arun Date: Tue, 1 Oct 2024 08:07:18 +0530 Subject: [PATCH 041/453] upgpkg(main/postgresql): 17.0 (#21585) --- packages/postgresql/build.sh | 4 ++-- .../src-backend-commands-collationcmds.c.patch | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/postgresql/build.sh b/packages/postgresql/build.sh index bbd8b0a92cf28c..e39a54669ff742 100644 --- a/packages/postgresql/build.sh +++ b/packages/postgresql/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Object-relational SQL database" TERMUX_PKG_LICENSE="PostgreSQL" TERMUX_PKG_LICENSE_FILE="COPYRIGHT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="16.4" +TERMUX_PKG_VERSION="17.0" TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 -TERMUX_PKG_SHA256=971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f +TERMUX_PKG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de TERMUX_PKG_DEPENDS="libandroid-execinfo, libandroid-shmem, libicu, libuuid, libxml2, openssl, readline, zlib" # - pgac_cv_prog_cc_LDFLAGS_EX_BE__Wl___export_dynamic: Needed to fix PostgreSQL 16 that # causes initdb failure: cannot locate symbol diff --git a/packages/postgresql/src-backend-commands-collationcmds.c.patch b/packages/postgresql/src-backend-commands-collationcmds.c.patch index 69dfe95221e107..0f205dcadec8f7 100644 --- a/packages/postgresql/src-backend-commands-collationcmds.c.patch +++ b/packages/postgresql/src-backend-commands-collationcmds.c.patch @@ -1,11 +1,12 @@ ---- a/src/backend/commands/collationcmds.c -+++ b/src/backend/commands/collationcmds.c -@@ -539,7 +539,7 @@ +diff -uNr a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c +--- a/src/backend/commands/collationcmds.c 2024-09-24 01:32:53.000000000 +0530 ++++ b/src/backend/commands/collationcmds.c 2024-09-26 21:05:47.489959070 +0530 +@@ -579,7 +579,7 @@ /* will we use "locale -a" in pg_import_system_collations? */ --#if defined(HAVE_LOCALE_T) && !defined(WIN32) -+#if defined(HAVE_LOCALE_T) && !defined(WIN32) && !defined(__ANDROID__) +-#if !defined(WIN32) ++#if !defined(WIN32) && !defined(__ANDROID__) #define READ_LOCALE_A_OUTPUT #endif From beb93ea88092f1eb803e72b8c293e5a58455d3d7 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 06:15:54 +0000 Subject: [PATCH 042/453] bump(main/opencolorio): 2.4.0 This commit has been automatically submitted by Github Actions. --- packages/opencolorio/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opencolorio/build.sh b/packages/opencolorio/build.sh index 02bb907c8d595b..ac4fefe73d3899 100644 --- a/packages/opencolorio/build.sh +++ b/packages/opencolorio/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://opencolorio.org TERMUX_PKG_DESCRIPTION="A color management framework for visual effects and animation" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.3.2" +TERMUX_PKG_VERSION="2.4.0" TERMUX_PKG_SRCURL=https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6bbf4e7fa4ea2f743a238cb22aff44890425771a2f57f62cece1574e46ceec2f +TERMUX_PKG_SHA256=00fc49578abf8435eb041088af44c8c4bcaafbe04021d53d341adcd488aec711 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="imath, libc++, libexpat, libminizip-ng, libyaml-cpp, pystring" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" From 79cb92549e2fb8fb05fd3256dd0a456e7b5a386b Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 06:16:59 +0000 Subject: [PATCH 043/453] bump(main/pari): 2.17.0 This commit has been automatically submitted by Github Actions. --- packages/pari/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pari/build.sh b/packages/pari/build.sh index ca9e42f79762c6..77f0a1c8cbae4e 100644 --- a/packages/pari/build.sh +++ b/packages/pari/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://pari.math.u-bordeaux.fr/ TERMUX_PKG_DESCRIPTION="A computer algebra system designed for fast computations in number theory" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.15.5" +TERMUX_PKG_VERSION="2.17.0" TERMUX_PKG_SRCURL=https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=0efdda7515d9d954f63324c34b34c560e60f73a81c3924a71260a2cc91d5f981 +TERMUX_PKG_SHA256=e723e7cef18d08c6ece2283af9a9b4d56077c22b4fce998faaa588d389b1aea8 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="gzip, libgmp, readline" TERMUX_PKG_BUILD_IN_SRC=true From cf16842ad5dca3c5aa7770c8e8ec7bddc20b4465 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Tue, 1 Oct 2024 18:12:24 +0800 Subject: [PATCH 044/453] busybox: fix segfault on some applets (#21592) --- packages/busybox/0014-fix-segfault.patch | 15 +++++++++++++++ packages/busybox/build.sh | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 packages/busybox/0014-fix-segfault.patch diff --git a/packages/busybox/0014-fix-segfault.patch b/packages/busybox/0014-fix-segfault.patch new file mode 100644 index 00000000000000..11ee3e7296fab6 --- /dev/null +++ b/packages/busybox/0014-fix-segfault.patch @@ -0,0 +1,15 @@ +https://github.com/termux/termux-packages/issues/21522 + +--- a/include/libbb.h ++++ b/include/libbb.h +@@ -382,6 +382,10 @@ + #ifndef BB_GLOBAL_CONST + # define BB_GLOBAL_CONST const + #endif ++#ifdef __clang__ ++# undef BB_GLOBAL_CONST ++# define BB_GLOBAL_CONST ++#endif + + #if defined(errno) + /* If errno is a define, assume it's "define errno (*__errno_location())" diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index 953f4d1d5cf2c7..1c19f5edf2051a 100644 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a singl TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.36.1 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314 TERMUX_PKG_BUILD_IN_SRC=true From e3d21bc9f6202a2bf3f6b6035a620492e5f3672a Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 12:13:05 +0000 Subject: [PATCH 045/453] bump(main/oh-my-posh): 23.15.3 This commit has been automatically submitted by Github Actions. --- packages/oh-my-posh/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/oh-my-posh/build.sh b/packages/oh-my-posh/build.sh index e2bf3d949e8bf1..f5534e2fc0863c 100644 --- a/packages/oh-my-posh/build.sh +++ b/packages/oh-my-posh/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ohmyposh.dev TERMUX_PKG_DESCRIPTION="A prompt theme engine for any shell." TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="23.15.2" +TERMUX_PKG_VERSION="23.15.3" TERMUX_PKG_SRCURL=https://github.com/JanDeDobbeleer/oh-my-posh/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=2981a399832a6ba56b6cc66c86e6b4e3ceae8e088b97df1443cba48b952ade70 +TERMUX_PKG_SHA256=c908cc55fd0d70bbb12ba79c2f3f8107da714ae9ea8d6174a57824a8b8913713 TERMUX_PKG_AUTO_UPDATE=true termux_step_pre_configure() { From e456ab92eaa9ccccac5f18c551febb4b92e35206 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:11:29 +0000 Subject: [PATCH 046/453] bump(main/croc): 10.0.13 This commit has been automatically submitted by Github Actions. --- packages/croc/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/croc/build.sh b/packages/croc/build.sh index c413a979651ea4..80e9504f9d2cc1 100644 --- a/packages/croc/build.sh +++ b/packages/croc/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/schollz/croc TERMUX_PKG_DESCRIPTION="Easily and securely send things from one computer to another" TERMUX_PKG_LICENSE=MIT TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:10.0.12" +TERMUX_PKG_VERSION="1:10.0.13" TERMUX_PKG_SRCURL=https://github.com/schollz/croc/archive/refs/tags/v${TERMUX_PKG_VERSION:2}.tar.gz -TERMUX_PKG_SHA256=849670f3525a316c44787119e1f86365f7c81d66d8b52877ac5b314e226a1eb7 +TERMUX_PKG_SHA256=69a7e60811b97d3f6e2ceac4d24fc52596ec8982039811fb5894ef78f2dedc77 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From 48b57aefdcf7eea97278a2e1d7093267d57ef6d2 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:12:00 +0000 Subject: [PATCH 047/453] bump(main/liblzma): 5.6.3 This commit has been automatically submitted by Github Actions. --- packages/liblzma/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/liblzma/build.sh b/packages/liblzma/build.sh index 56ff49606b90db..10bd8a5da082eb 100644 --- a/packages/liblzma/build.sh +++ b/packages/liblzma/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="XZ-format compression library" TERMUX_PKG_LICENSE="LGPL-2.1, GPL-2.0, GPL-3.0" TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.GPLv2, COPYING.GPLv3, COPYING.LGPLv2.1" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="5.6.2" +TERMUX_PKG_VERSION="5.6.3" TERMUX_PKG_SRCURL=https://github.com/tukaani-project/xz/releases/download/v$TERMUX_PKG_VERSION/xz-$TERMUX_PKG_VERSION.tar.xz -TERMUX_PKG_SHA256=a9db3bb3d64e248a0fae963f8fb6ba851a26ba1822e504dc0efd18a80c626caf +TERMUX_PKG_SHA256=db0590629b6f0fa36e74aea5f9731dc6f8df068ce7b7bafa45301832a5eebc3a TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BREAKS="liblzma-dev" TERMUX_PKG_REPLACES="liblzma-dev" From d6f903aa13be6c313ff53b2fe3f69723cbaa24eb Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:15:31 +0000 Subject: [PATCH 048/453] bump(main/geth): 1.14.11 This commit has been automatically submitted by Github Actions. --- packages/geth/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/geth/build.sh b/packages/geth/build.sh index a0e872cda31d41..219a97eece913c 100644 --- a/packages/geth/build.sh +++ b/packages/geth/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://geth.ethereum.org/ TERMUX_PKG_DESCRIPTION="Go implementation of the Ethereum protocol" TERMUX_PKG_LICENSE="LGPL-3.0, GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.14.10" +TERMUX_PKG_VERSION="1.14.11" TERMUX_PKG_SRCURL=https://github.com/ethereum/go-ethereum/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=ec6c55c00526dfe38d9cbc327ea32c239de09cdb61b3b7ff4a90104aa36e09be +TERMUX_PKG_SHA256=4c21982453b1046e07fe68533b2a9d6d7bd7fd618ca8c1d990e6ceebe04ab4b8 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_SUGGESTS="geth-utils" From bcd267d0484072d54caac9cca10ace7e9b90dbfc Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:16:52 +0000 Subject: [PATCH 049/453] bump(main/libgsf): 1.14.53 This commit has been automatically submitted by Github Actions. --- packages/libgsf/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libgsf/build.sh b/packages/libgsf/build.sh index db55d212c5b750..de4738b9af9dca 100644 --- a/packages/libgsf/build.sh +++ b/packages/libgsf/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://gitlab.gnome.org/GNOME/libgsf TERMUX_PKG_DESCRIPTION="The G Structured File Library" TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.14.52" +TERMUX_PKG_VERSION="1.14.53" TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgsf/${TERMUX_PKG_VERSION%.*}/libgsf-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=9181c914b9fac0e05d6bcaa34c7b552fe5fc0961d3c9f8c01ccc381fb084bcf0 +TERMUX_PKG_SHA256=0eb59a86e0c50f97ac9cfe4d8cc1969f623f2ae8c5296f2414571ff0a9e8bcba TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="glib, libbz2, libxml2, zlib" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner" From f26eed3e89f8be7290794c793a28fe9c37067d28 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:17:21 +0000 Subject: [PATCH 050/453] bump(main/libnats-c): 3.8.3 This commit has been automatically submitted by Github Actions. --- packages/libnats-c/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libnats-c/build.sh b/packages/libnats-c/build.sh index beb6adfe84e2eb..3d28737132ef2d 100644 --- a/packages/libnats-c/build.sh +++ b/packages/libnats-c/build.sh @@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://nats-io.github.io/nats.c/ TERMUX_PKG_DESCRIPTION="A C client for the NATS messaging system" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.8.2" +TERMUX_PKG_VERSION="3.8.3" TERMUX_PKG_SRCURL=https://github.com/nats-io/nats.c/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=083ee03cf5a413629d56272e88ad3229720c5006c286e8180c9e5b745c10f37d +TERMUX_PKG_SHA256=fe7e9ce7636446cc3fe0f47f6a235c4783299e00d5e5c4a1f8689d20707871db TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libprotobuf-c, openssl" From b96a0df77e11d63d22d3aac4ed41296823ff3314 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:19:03 +0000 Subject: [PATCH 051/453] bump(main/tree-sitter): 0.23.2 This commit has been automatically submitted by Github Actions. --- packages/tree-sitter/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tree-sitter/build.sh b/packages/tree-sitter/build.sh index b968d19ea1c14e..e0f0456a7fb465 100644 --- a/packages/tree-sitter/build.sh +++ b/packages/tree-sitter/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tree-sitter/tree-sitter TERMUX_PKG_DESCRIPTION="An incremental parsing system for programming tools" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.23.1" +TERMUX_PKG_VERSION="0.23.2" TERMUX_PKG_SRCURL=https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=30ea382bdaea8fc71e3d52850da509398f56d77b7c41e3494da46a1158d37b86 +TERMUX_PKG_SHA256=ad81a585e399093bcba2fab179bf8971fdebaf701758af20d84d21f24fdf1b50 TERMUX_PKG_BREAKS="libtreesitter" TERMUX_PKG_REPLACES="libtreesitter" TERMUX_PKG_AUTO_UPDATE=true From acdd9d113540a03d688e16369a4feb0393ccf423 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 18:22:38 +0000 Subject: [PATCH 052/453] bump(main/vtm): 0.9.99.19 This commit has been automatically submitted by Github Actions. --- packages/vtm/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vtm/build.sh b/packages/vtm/build.sh index d0e6e3bf79782a..bd9b4b67414acf 100644 --- a/packages/vtm/build.sh +++ b/packages/vtm/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Terminal multiplexer with TUI window manager and multi-p TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.9.99.17" +TERMUX_PKG_VERSION="0.9.99.19" TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=09ff4845ea426f93c034f8cc18f9240daa2d5ddfc2024b45850cf91d1cd628db +TERMUX_PKG_SHA256=c2a5faf41eb0ea88e2cae28b63ebb537365fc57702c0f50d0859c2c2223ba8e0 TERMUX_PKG_DEPENDS="libc++" TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn" TERMUX_PKG_BUILD_IN_SRC=true From 2e16017c29af4e209bf55275bb3a66112bceda7f Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Tue, 1 Oct 2024 19:52:52 +0000 Subject: [PATCH 053/453] bump(x11/firefox): 131.0 This commit has been automatically submitted by Github Actions. --- x11-packages/firefox/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/firefox/build.sh b/x11-packages/firefox/build.sh index 3903a8b24ab1ea..9f864460e8fe5b 100644 --- a/x11-packages/firefox/build.sh +++ b/x11-packages/firefox/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.mozilla.org/firefox TERMUX_PKG_DESCRIPTION="Mozilla Firefox web browser" TERMUX_PKG_LICENSE="MPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="130.0.1" +TERMUX_PKG_VERSION="131.0" TERMUX_PKG_SRCURL=https://archive.mozilla.org/pub/firefox/releases/${TERMUX_PKG_VERSION}/source/firefox-${TERMUX_PKG_VERSION}.source.tar.xz -TERMUX_PKG_SHA256=027225a1e9b074f0072e22c7264cf27b0d2364c675c3ca811aa6c25fb01b9f70 +TERMUX_PKG_SHA256=e4066ef47c65aac570aa16deefb8c3937c1c9b0755dbf2f760937c451174fb1d # ffmpeg and pulseaudio are dependencies through dlopen(3): TERMUX_PKG_DEPENDS="ffmpeg, fontconfig, freetype, gdk-pixbuf, glib, gtk3, libandroid-shmem, libandroid-spawn, libc++, libcairo, libevent, libffi, libice, libicu, libjpeg-turbo, libnspr, libnss, libpixman, libsm, libvpx, libwebp, libx11, libxcb, libxcomposite, libxdamage, libxext, libxfixes, libxrandr, libxtst, pango, pulseaudio, zlib" TERMUX_PKG_BUILD_DEPENDS="libcpufeatures, libice, libsm" From e5cb7f4b4bcfbca5c63620e7219c26fa03b8e097 Mon Sep 17 00:00:00 2001 From: Lucy Phipps Date: Tue, 1 Oct 2024 23:22:15 +0100 Subject: [PATCH 054/453] binutils 2.43.1 --- packages/binutils-libs/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/binutils-libs/build.sh b/packages/binutils-libs/build.sh index 7a0efc6403c28a..70c02a8fda696a 100644 --- a/packages/binutils-libs/build.sh +++ b/packages/binutils-libs/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/ TERMUX_PKG_DESCRIPTION="GNU Binutils libraries" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.43" -TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=fed3c3077f0df7a4a1aa47b080b8c53277593ccbb4e5e78b73ffb4e3f265e750 +TERMUX_PKG_VERSION="2.43.1" +TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=13f74202a3c4c51118b797a39ea4200d3f6cfbe224da6d1d95bb938480132dfd TERMUX_PKG_DEPENDS="zlib, zstd" TERMUX_PKG_BREAKS="binutils (<< 2.39), binutils-dev" TERMUX_PKG_REPLACES="binutils (<< 2.39), binutils-dev" From da7f923f3b95ff50590100ea1eeda93801d22b78 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Oct 2024 00:33:43 +0200 Subject: [PATCH 055/453] fix(main/grafana): Build with go 1.22 for now Fixes #21622. --- packages/grafana/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/grafana/build.sh b/packages/grafana/build.sh index 14924362d1c2b8..138f2de941cbe0 100644 --- a/packages/grafana/build.sh +++ b/packages/grafana/build.sh @@ -3,6 +3,9 @@ TERMUX_PKG_DESCRIPTION="The open-source platform for monitoring and observabilit TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1:11.2.1" +TERMUX_PKG_REVISION=1 +# Until https://github.com/grafana/grafana/pull/92055 is released: +TERMUX_PKG_GO_USE_OLDER=true TERMUX_PKG_SRCURL=git+https://github.com/grafana/grafana TERMUX_PKG_BUILD_DEPENDS="yarn" TERMUX_PKG_BUILD_IN_SRC=true From 1e835ad97728c953f690b17178c322be9c8aca90 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 00:28:20 +0000 Subject: [PATCH 056/453] bump(main/flyctl): 0.3.14 This commit has been automatically submitted by Github Actions. --- packages/flyctl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flyctl/build.sh b/packages/flyctl/build.sh index d2e09a8bd36574..1281f297082b09 100644 --- a/packages/flyctl/build.sh +++ b/packages/flyctl/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://fly.io TERMUX_PKG_DESCRIPTION="Command line tools for fly.io services" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="Yaksh Bariya " -TERMUX_PKG_VERSION="0.3.13" +TERMUX_PKG_VERSION="0.3.14" TERMUX_PKG_SRCURL=https://github.com/superfly/flyctl/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=061fb0d32a0a1ab1b4ee0cff19c790fa736128538f799020a3a259ff77e495a5 +TERMUX_PKG_SHA256=3fe214e1b641c5846d728da4af2e68da1bb8b823eaffa7d6456b5146658f6a2e TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BLACKLISTED_ARCHES="i686, arm" From a1ffe0ebb857d3b0f91b4eb92047aa16d770aadf Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 00:30:19 +0000 Subject: [PATCH 057/453] bump(main/gh): 2.58.0 This commit has been automatically submitted by Github Actions. --- packages/gh/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gh/build.sh b/packages/gh/build.sh index c2ad1309315113..5836b0368119c5 100644 --- a/packages/gh/build.sh +++ b/packages/gh/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://cli.github.com/ TERMUX_PKG_DESCRIPTION="GitHub’s official command line tool" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Krishna kanhaiya @kcubeterm" -TERMUX_PKG_VERSION="2.57.0" +TERMUX_PKG_VERSION="2.58.0" TERMUX_PKG_SRCURL=https://github.com/cli/cli/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6433bca534da722a980126541fe28d278f4b3518a6f7a7ef4a23949a3968e8b9 +TERMUX_PKG_SHA256=90894536c797147586db775d06ec2040c45cd7eef941f7ccbea46f4e5997c81c TERMUX_PKG_RECOMMENDS="openssh" TERMUX_PKG_AUTO_UPDATE=true From 59d6a17cc68bca0b3054230bbc0ef5849fc87aa8 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 00:30:50 +0000 Subject: [PATCH 058/453] bump(main/libnats-c): 3.9.0 This commit has been automatically submitted by Github Actions. --- packages/libnats-c/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libnats-c/build.sh b/packages/libnats-c/build.sh index 3d28737132ef2d..7edb2d5f9cc03e 100644 --- a/packages/libnats-c/build.sh +++ b/packages/libnats-c/build.sh @@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://nats-io.github.io/nats.c/ TERMUX_PKG_DESCRIPTION="A C client for the NATS messaging system" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.8.3" +TERMUX_PKG_VERSION="3.9.0" TERMUX_PKG_SRCURL=https://github.com/nats-io/nats.c/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=fe7e9ce7636446cc3fe0f47f6a235c4783299e00d5e5c4a1f8689d20707871db +TERMUX_PKG_SHA256=82fd3cdc732f091859f5840c968ba489bc5c91b94454040b8011c1d61fd973a8 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libprotobuf-c, openssl" From 8cfb14e86392ee2b5cc2798cbc5d3978f63f2968 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 00:39:51 +0000 Subject: [PATCH 059/453] bump(main/uv): 0.4.18 This commit has been automatically submitted by Github Actions. --- packages/uv/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uv/build.sh b/packages/uv/build.sh index 7343be27727f3a..c851d1e280a5dc 100644 --- a/packages/uv/build.sh +++ b/packages/uv/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="An extremely fast Python package installer and resolver, TERMUX_PKG_LICENSE="Apache-2.0, MIT" TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.4.17" +TERMUX_PKG_VERSION="0.4.18" TERMUX_PKG_SRCURL=https://github.com/astral-sh/uv/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=8fe5579b1235517992622b19f395cfd7fc86b5b532b0e42d881f424f653b324c +TERMUX_PKG_SHA256=04bea172463090144fd05e7c71b4b7f5a342d4710f6c0350738fd1fceec6565d TERMUX_PKG_BUILD_DEPENDS="zstd" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 74efaeafdef4573b96a8e1c0ca5c8660408e8ad0 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 06:12:29 +0000 Subject: [PATCH 060/453] bump(x11/xkeyboard-config): 2.43 This commit has been automatically submitted by Github Actions. --- x11-packages/xkeyboard-config/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/xkeyboard-config/build.sh b/x11-packages/xkeyboard-config/build.sh index 38194c840a41cf..f963671e7fdbb6 100644 --- a/x11-packages/xkeyboard-config/build.sh +++ b/x11-packages/xkeyboard-config/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-co TERMUX_PKG_DESCRIPTION="X keyboard configuration files" TERMUX_PKG_LICENSE="HPND, MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.42" +TERMUX_PKG_VERSION="2.43" TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/archive/xkeyboard-config-${TERMUX_PKG_VERSION}/xkeyboard-config-xkeyboard-config-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=932ff62af3245ad248a3b659a4b1435354acdae7273bbbc61fd183fddb2e4748 +TERMUX_PKG_SHA256=460cd2fd1e880a6f223951a6cbafb67a99569f7556360151e49b43e4e60601e9 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_BUILD_DEPENDS="python" From a220bf2b999b6431b8f179feabe8f4e8282f2863 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 06:14:14 +0000 Subject: [PATCH 061/453] bump(x11/sdl2): 2.30.8 This commit has been automatically submitted by Github Actions. --- x11-packages/sdl2/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/sdl2/build.sh b/x11-packages/sdl2/build.sh index 64d899b4acbfac..81b6347ac2680b 100644 --- a/x11-packages/sdl2/build.sh +++ b/x11-packages/sdl2/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.libsdl.org TERMUX_PKG_DESCRIPTION="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (version 2)" TERMUX_PKG_LICENSE="ZLIB" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.30.7" +TERMUX_PKG_VERSION="2.30.8" TERMUX_PKG_SRCURL=https://www.libsdl.org/release/SDL2-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=2508c80438cd5ff3bbeb8fe36b8f3ce7805018ff30303010b61b03bb83ab9694 +TERMUX_PKG_SHA256=380c295ea76b9bd72d90075793971c8bcb232ba0a69a9b14da4ae8f603350058 TERMUX_PKG_DEPENDS="libdecor, libwayland, libx11, libxcursor, libxext, libxfixes, libxi, libxkbcommon, libxrandr, libxss, pulseaudio" TERMUX_PKG_BUILD_DEPENDS="libwayland-cross-scanner, libwayland-protocols, opengl" TERMUX_PKG_RECOMMENDS="opengl" From a395edf1ba6cd253b408dfaa1b927cbcbd7bdd1d Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 12:13:38 +0000 Subject: [PATCH 062/453] bump(main/minizinc): 2.8.7 This commit has been automatically submitted by Github Actions. --- packages/minizinc/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/minizinc/build.sh b/packages/minizinc/build.sh index 3ca5b2fd606240..06eabfbf07af13 100644 --- a/packages/minizinc/build.sh +++ b/packages/minizinc/build.sh @@ -3,8 +3,8 @@ TERMUX_PKG_DESCRIPTION="A medium-level constraint modelling language" TERMUX_PKG_GROUPS="science" TERMUX_PKG_LICENSE="MPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.8.6" +TERMUX_PKG_VERSION="2.8.7" TERMUX_PKG_SRCURL="https://github.com/MiniZinc/libminizinc/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz" -TERMUX_PKG_SHA256=719469473bd0ad0f667d79e35735ef8c535f64642b3565a197ed09b285a3d506 +TERMUX_PKG_SHA256=91413c9788d45eb77ecb1da9657c00744312cca4fd5e71ca2583c35a32a3be62 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libc++, zlib, gecode" From 16042fab50c64581524a5695ae209a44ed75c034 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 12:14:55 +0000 Subject: [PATCH 063/453] bump(main/neomutt): 20241002 This commit has been automatically submitted by Github Actions. --- packages/neomutt/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/neomutt/build.sh b/packages/neomutt/build.sh index 4b29f57f47f78b..b67abc9e3fdd5e 100644 --- a/packages/neomutt/build.sh +++ b/packages/neomutt/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A version of mutt with added features" # License: GPL-2.0-or-later TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="20240425" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="20241002" TERMUX_PKG_SRCURL=https://github.com/neomutt/neomutt/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=a5aed0a0f506260997821c23cb148bc5ca4938fd613e0e8b89556f397ffc17f7 +TERMUX_PKG_SHA256=8d5673d9cc4b239adcf4bc718d372c8c85d0b53248ecd628358625c877a53064 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_VERSION_REGEXP="\d{8}" TERMUX_PKG_DEPENDS="gdbm, krb5, libandroid-support, libiconv, libsasl, ncurses, notmuch, openssl, zlib, zstd" From 05caf4e4dbfb207df39896089e5434ce04920870 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 12:16:03 +0000 Subject: [PATCH 064/453] bump(main/notcurses): 3.0.10 This commit has been automatically submitted by Github Actions. --- packages/notcurses/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/notcurses/build.sh b/packages/notcurses/build.sh index f72b46814e63e1..c42ff86257ac29 100644 --- a/packages/notcurses/build.sh +++ b/packages/notcurses/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://notcurses.com/ TERMUX_PKG_DESCRIPTION="blingful TUIs and character graphics" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.0.9" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="3.0.10" TERMUX_PKG_SRCURL=https://github.com/dankamongmen/notcurses/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e5cc02aea82814b843cdf34dedd716e6e1e9ca440cf0f899853ca95e241bd734 +TERMUX_PKG_SHA256=f35fc0916afaa8978c23c386f0c107e4597db6e0a0511c33375fc09080887512 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="ffmpeg, libandroid-spawn, libc++, libunistring, ncurses, zlib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" From 508e99f4cb8e1128bac4e59d315a8a88cb06ab5e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Oct 2024 14:05:34 +0200 Subject: [PATCH 065/453] bump(main/golang): 1.23.2 --- packages/golang/build.sh | 4 ++-- scripts/build/setup/termux_setup_golang.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index 38d3afabf872a1..0e5df3b5382f37 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -4,9 +4,9 @@ TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" _MAJOR_VERSION=1.23 # Use the ~ deb versioning construct in the future: -TERMUX_PKG_VERSION=3:${_MAJOR_VERSION}.1 +TERMUX_PKG_VERSION=3:${_MAJOR_VERSION}.2 TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${TERMUX_PKG_VERSION#*:}.src.tar.gz -TERMUX_PKG_SHA256=6ee44e298379d146a5e5aa6b1c5b5d5f5d0a3365eabdd70741e6e21340ec3b0d +TERMUX_PKG_SHA256=36930162a93df417d90bd22c6e14daff4705baac2b02418edda671cdfa9cd07f TERMUX_PKG_DEPENDS="clang" TERMUX_PKG_ANTI_BUILD_DEPENDS="clang" TERMUX_PKG_RECOMMENDS="resolv-conf" diff --git a/scripts/build/setup/termux_setup_golang.sh b/scripts/build/setup/termux_setup_golang.sh index 075647a627612e..07906dc176a340 100644 --- a/scripts/build/setup/termux_setup_golang.sh +++ b/scripts/build/setup/termux_setup_golang.sh @@ -1,8 +1,8 @@ # Utility function for golang-using packages to setup a go toolchain. termux_setup_golang() { if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then - local TERMUX_GO_VERSION=go1.23.1 - local TERMUX_GO_SHA256=49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd + local TERMUX_GO_VERSION=go1.23.2 + local TERMUX_GO_SHA256=542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e if [ "$TERMUX_PKG_GO_USE_OLDER" = "true" ]; then TERMUX_GO_VERSION=go1.22.6 TERMUX_GO_SHA256=999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616 From 4f6a297ad748fae754dc042e04320c7e35df13fc Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:38:24 +0800 Subject: [PATCH 066/453] openjdk-17: add option `-proc:full` to javac --- .../0043-Add-option-_proc_full-to-javac.patch | 145 ++++++++++++++++++ packages/openjdk-17/build.sh | 2 +- 2 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 packages/openjdk-17/0043-Add-option-_proc_full-to-javac.patch diff --git a/packages/openjdk-17/0043-Add-option-_proc_full-to-javac.patch b/packages/openjdk-17/0043-Add-option-_proc_full-to-javac.patch new file mode 100644 index 00000000000000..cbd6e92d7237d2 --- /dev/null +++ b/packages/openjdk-17/0043-Add-option-_proc_full-to-javac.patch @@ -0,0 +1,145 @@ +From e1fc904e7b7aa51163452f9a2246d03b11bd2dfd Mon Sep 17 00:00:00 2001 +From: Andrew Lu +Date: Thu, 25 Jan 2024 02:25:40 +0000 +Subject: [PATCH 1/2] 8308245: Add -proc:full to describe current default + annotation processing policy + +Backport-of: 42ecc8a37ffc7e4ad7beb49cac7d821c00a5568e +--- + .../com/sun/tools/javac/main/Option.java | 2 +- + .../environment/round/TestContext.java | 2 +- + .../processing/options/TestProcOption.java | 41 +++++++++++++++++++ + 3 files changed, 43 insertions(+), 2 deletions(-) + create mode 100644 test/langtools/tools/javac/processing/options/TestProcOption.java + +diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java +index a6d050b0a6f..695292c9e03 100644 +--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ++++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java +@@ -285,7 +285,7 @@ public void process(OptionHelper helper, String option, String arg) throws Inval + } + }, + +- PROC("-proc:", "opt.proc.none.only", STANDARD, BASIC, ONEOF, "none", "only"), ++ PROC("-proc:", "opt.proc.none.only", STANDARD, BASIC, ONEOF, "none", "only", "full"), + + PROCESSOR("-processor", "opt.arg.class.list", "opt.processor", STANDARD, BASIC), + +diff --git a/test/langtools/tools/javac/processing/environment/round/TestContext.java b/test/langtools/tools/javac/processing/environment/round/TestContext.java +index f572d2d9c73..4d0b1674ecc 100644 +--- a/test/langtools/tools/javac/processing/environment/round/TestContext.java ++++ b/test/langtools/tools/javac/processing/environment/round/TestContext.java +@@ -31,7 +31,7 @@ + * jdk.compiler/com.sun.tools.javac.processing + * jdk.compiler/com.sun.tools.javac.util + * @build JavacTestingAbstractProcessor TestContext +- * @compile/process -processor TestContext -XprintRounds TestContext ++ * @compile/process -processor TestContext -XprintRounds -proc:full TestContext + */ + + import java.io.*; +diff --git a/test/langtools/tools/javac/processing/options/TestProcOption.java b/test/langtools/tools/javac/processing/options/TestProcOption.java +new file mode 100644 +index 00000000000..882077a00c3 +--- /dev/null ++++ b/test/langtools/tools/javac/processing/options/TestProcOption.java +@@ -0,0 +1,41 @@ ++/* ++ * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. ++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ++ * ++ * This code is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License version 2 only, as ++ * published by the Free Software Foundation. ++ * ++ * This code 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 ++ * version 2 for more details (a copy is included in the LICENSE file that ++ * accompanied this code). ++ * ++ * You should have received a copy of the GNU General Public License version ++ * 2 along with this work; if not, write to the Free Software Foundation, ++ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++ * ++ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++ * or visit www.oracle.com if you need additional information or have any ++ * questions. ++ */ ++ ++/* ++ * @test ++ * @bug 8308245 ++ * @summary Test trivial handling of -proc:full option ++ * @compile -proc:full TestProcOption.java ++ * @run main TestProcOption ++ */ ++ ++/* ++ * The test verifies that compilation takes place when -proc:full is used. ++ */ ++public class TestProcOption { ++ private TestProcOption(){}; ++ ++ public static void main(String... args) { ++ ; // do nothing ++ } ++} + +From 99afe5f127ca4f9f63ce951948ddcec783aa2a94 Mon Sep 17 00:00:00 2001 +From: Andrew Lu +Date: Mon, 29 Jan 2024 08:24:55 +0000 +Subject: [PATCH 2/2] 8309870: Using -proc:full should be considered requesting + explicit annotation processing + +Backport-of: 3ce1240ca1b4139980444c171e317f4bfeff9314 +--- + .../classes/com/sun/tools/javac/main/JavaCompiler.java | 5 ++++- + .../share/classes/com/sun/tools/javac/main/Option.java | 7 ++++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java +index 1b8b7077ed8..2a8807b126b 100644 +--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ++++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it +@@ -1270,7 +1270,10 @@ static boolean explicitAnnotationProcessingRequested(Options options) { + options.isSet(PROCESSOR_PATH) || + options.isSet(PROCESSOR_MODULE_PATH) || + options.isSet(PROC, "only") || ++ options.isSet(PROC, "full") || ++ options.isSet(A) || + options.isSet(XPRINT); ++ // Skipping -XprintRounds and -XprintProcessorInfo + } + + public void setDeferredDiagnosticHandler(Log.DeferredDiagnosticHandler deferredDiagnosticHandler) { +diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java +index 695292c9e03..f88a328ca46 100644 +--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java ++++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2006, 2021, Oracle and/or its affiliates. All rights reserved. ++ * Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it +@@ -83,6 +83,11 @@ + * {@code handleOption} then calls {@link #process process} providing a suitable + * {@link OptionHelper} to provide access the compiler state. + * ++ * ++ *

Maintenance note: when adding new annotation processing related ++ * options, the list of options regarded as requesting explicit ++ * annotation processing in JavaCompiler should be updated. ++ * + *

This is NOT part of any supported API. + * If you write code that depends on this, you do so at your own + * risk. This code and its internal interfaces are subject to change diff --git a/packages/openjdk-17/build.sh b/packages/openjdk-17/build.sh index 3b9f2f543384fa..338fd3b1cf1672 100644 --- a/packages/openjdk-17/build.sh +++ b/packages/openjdk-17/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Java development kit and runtime" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=17.0 -TERMUX_PKG_REVISION=35 +TERMUX_PKG_REVISION=36 _COMMIT=82234f890786d49c49cf4ecbcb09c47bd9bea7ed TERMUX_PKG_SRCURL=https://github.com/openjdk/mobile/archive/$_COMMIT.tar.gz TERMUX_PKG_SHA256=5b298148a26e754120c6dfe699056d0609fc6ed92bfc858dc2ba4909ef6e791b From 3dbbfb5e8d8b6a99d93581baf3fb0845d7638cc2 Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Thu, 3 Oct 2024 00:07:46 +0800 Subject: [PATCH 067/453] rmpkg(rustc-nightly) (#21614) Move package maintenance to TUR --- disabled-packages/rustc-nightly/build.sh | 79 ------------------- disabled-packages/rustc-nightly/config.toml | 35 -------- .../rustc-nightly/os-tmpdir.patch | 11 --- ...ghtly-wasm32-unknown-unknown.subpackage.sh | 3 - .../rust-src-nightly.subpackage.sh | 3 - .../src-librustc_llvm-build.rs.patch | 12 --- .../rustc-nightly/use-rustc-nightly | 2 - scripts/big-pkgs.list | 3 +- 8 files changed, 1 insertion(+), 147 deletions(-) delete mode 100644 disabled-packages/rustc-nightly/build.sh delete mode 100644 disabled-packages/rustc-nightly/config.toml delete mode 100644 disabled-packages/rustc-nightly/os-tmpdir.patch delete mode 100644 disabled-packages/rustc-nightly/rust-nightly-wasm32-unknown-unknown.subpackage.sh delete mode 100644 disabled-packages/rustc-nightly/rust-src-nightly.subpackage.sh delete mode 100644 disabled-packages/rustc-nightly/src-librustc_llvm-build.rs.patch delete mode 100644 disabled-packages/rustc-nightly/use-rustc-nightly diff --git a/disabled-packages/rustc-nightly/build.sh b/disabled-packages/rustc-nightly/build.sh deleted file mode 100644 index bc17fca43c46d9..00000000000000 --- a/disabled-packages/rustc-nightly/build.sh +++ /dev/null @@ -1,79 +0,0 @@ -TERMUX_PKG_HOMEPAGE=https://www.rust-lang.org -TERMUX_PKG_DESCRIPTION="Rust compiler and utilities (nightly version)" -TERMUX_PKG_DEPENDS="libc++, clang, openssl, lld, zlib, libllvm" -TERMUX_PKG_LICENSE="MIT" -TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=1.61.0 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/2022-03-07/rustc-nightly-src.tar.xz -TERMUX_PKG_SHA256=7c7eb8e20f62c1701a369c033ed2c06f1de8c35c3673658e12691243a1d41558 -TERMUX_PKG_RM_AFTER_INSTALL="bin/llvm-* bin/llc bin/opt" - -termux_step_configure () { - case $TERMUX_ARCH in - "aarch64" ) CARGO_TARGET_NAME=aarch64-linux-android ;; - "arm" ) CARGO_TARGET_NAME=armv7-linux-androideabi ;; - "i686" ) CARGO_TARGET_NAME=i686-linux-android ;; - "x86_64" ) CARGO_TARGET_NAME=x86_64-linux-android ;; - esac - - export RUST_BACKTRACE=1 - mkdir -p $TERMUX_PREFIX/opt/rust-nightly - RUST_PREFIX=$TERMUX_PREFIX/opt/rust-nightly - export PATH=$TERMUX_PKG_TMPDIR/bin:$PATH - sed $TERMUX_PKG_BUILDER_DIR/config.toml \ - -e "s|@RUST_PREFIX@|$RUST_PREFIX|g" \ - -e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" \ - -e "s|@TERMUX_HOST_PLATFORM@|$TERMUX_HOST_PLATFORM|g" \ - -e "s|@TERMUX_STANDALONE_TOOLCHAIN@|$TERMUX_STANDALONE_TOOLCHAIN|g" \ - -e "s|@RUST_TARGET_TRIPLE@|$CARGO_TARGET_NAME|g" > $TERMUX_PKG_BUILDDIR/config.toml - - export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu - export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR=/usr/include - export PKG_CONFIG_ALLOW_CROSS=1 - # for backtrace-sys - export CC_x86_64_unknown_linux_gnu=gcc - export CFLAGS_x86_64_unknown_linux_gnu="-O2" - export LLVM_VERSION=$(. $TERMUX_SCRIPTDIR/packages/libllvm/build.sh; echo $TERMUX_PKG_VERSION) - # it won't link with it in TERMUX_PREFIX/lib without breaking other things. - unset CC CXX CPP LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS PKG_CONFIG AR RANLIB - ln -sf $PREFIX/lib/libLLVM-$LLVM_VERSION.so $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/ - - if [ -e $TERMUX_PREFIX/lib/libtinfo.so.6 ]; then - mv $TERMUX_PREFIX/lib/libtinfo.so.6 $TERMUX_PREFIX/lib/libtinfo.so.6.tmp - fi - if [ -e $TERMUX_PREFIX/lib/libz.so.1 ]; then - mv $TERMUX_PREFIX/lib/libz.so.1 $TERMUX_PREFIX/lib/libz.so.1.tmp - fi - if [ -e $TERMUX_PREFIX/lib/libz.so ]; then - mv $TERMUX_PREFIX/lib/libz.so $TERMUX_PREFIX/lib/libz.so.tmp - fi -} - -termux_step_make_install () { - ../src/x.py install --host $CARGO_TARGET_NAME --target $CARGO_TARGET_NAME --target wasm32-unknown-unknown || bash - - mv $TERMUX_PREFIX/lib/libtinfo.so.6.tmp $TERMUX_PREFIX/lib/libtinfo.so.6 - mv $TERMUX_PREFIX/lib/libz.so.1.tmp $TERMUX_PREFIX/lib/libz.so.1 - mv $TERMUX_PREFIX/lib/libz.so.tmp $TERMUX_PREFIX/lib/libz.so -} - -termux_step_post_massage () { - rm $TERMUX_PKG_MASSAGEDIR/$RUST_PREFIX/lib/rustlib/{components,rust-installer-version,install.log,uninstall.sh} - rm $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/libLLVM-$LLVM_VERSION.so - rm -f lib/libtinfo.so.6 - rm -f lib/libz.so - rm -f lib/libz.so.1 - - mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d - mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib - echo "#!$TERMUX_PREFIX/bin/sh" > $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d/rust-nightly.sh - echo "export PATH=$RUST_PREFIX/bin:\$PATH" >> $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d/rust-nightly.sh - - ln -sf $TERMUX_PREFIX/bin/lld $TERMUX_PKG_MASSAGEDIR/$RUST_PREFIX/bin/rust-lld -} -termux_step_create_debscripts () { - echo "#!$TERMUX_PREFIX/bin/sh" > postinst - echo "echo 'source \$PREFIX/etc/profile.d/rust-nightly.sh to use nightly'" >> postinst - echo "echo 'or export RUSTC=\$PREFIX/opt/rust-nightly/bin/rustc'" >> postinst -} diff --git a/disabled-packages/rustc-nightly/config.toml b/disabled-packages/rustc-nightly/config.toml deleted file mode 100644 index db907ba9e14dc7..00000000000000 --- a/disabled-packages/rustc-nightly/config.toml +++ /dev/null @@ -1,35 +0,0 @@ -[build] -build = "x86_64-unknown-linux-gnu" -host = [ "@RUST_TARGET_TRIPLE@" ] -target = [ '@RUST_TARGET_TRIPLE@', 'wasm32-unknown-unknown' ] -docs = false -extended = true -tools = ["cargo", "src"] - -[install] -prefix = "@RUST_PREFIX@" -sysconfdir ="etc" - -[llvm] -link-shared = true -skip-rebuild = true - -[rust] -channel = "nightly" -optimize-tests = false -codegen-tests = false -deny-warnings = false - -[target.wasm32-unknown-unknown] - -[target.x86_64-unknown-linux-gnu] -llvm-config = "/usr/bin/llvm-config-12" - -[target.@RUST_TARGET_TRIPLE@] -android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@" -llvm-config = "@TERMUX_PREFIX@/bin/llvm-config" -ar = "llvm-ar" - -#jemalloc = "/path/to/jemalloc/libjemalloc_pic.a" -[dist] -missing-tools = true diff --git a/disabled-packages/rustc-nightly/os-tmpdir.patch b/disabled-packages/rustc-nightly/os-tmpdir.patch deleted file mode 100644 index 24d20817825ac6..00000000000000 --- a/disabled-packages/rustc-nightly/os-tmpdir.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ../rustc-1.29.2-src/src/libstd/sys/unix/os.rs 2018-10-19 14:12:31.000000000 -0700 -+++ ./library/std/src/sys/unix/os.rs 2018-10-19 14:11:20.000000000 -0700 -@@ -488,7 +488,7 @@ - pub fn temp_dir() -> PathBuf { - ::env::var_os("TMPDIR").map(PathBuf::from).unwrap_or_else(|| { - if cfg!(target_os = "android") { -- PathBuf::from("/data/local/tmp") -+ PathBuf::from("@TERMUX_PREFIX@/tmp") - } else { - PathBuf::from("/tmp") - } diff --git a/disabled-packages/rustc-nightly/rust-nightly-wasm32-unknown-unknown.subpackage.sh b/disabled-packages/rustc-nightly/rust-nightly-wasm32-unknown-unknown.subpackage.sh deleted file mode 100644 index 8e4d68ddee2b99..00000000000000 --- a/disabled-packages/rustc-nightly/rust-nightly-wasm32-unknown-unknown.subpackage.sh +++ /dev/null @@ -1,3 +0,0 @@ -TERMUX_SUBPKG_DESCRIPTION="rust std for wasm32-unknown-unknown target" -TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true -TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/lib/rustlib/wasm32-unknown-unknown" diff --git a/disabled-packages/rustc-nightly/rust-src-nightly.subpackage.sh b/disabled-packages/rustc-nightly/rust-src-nightly.subpackage.sh deleted file mode 100644 index 0d3114cd4aee05..00000000000000 --- a/disabled-packages/rustc-nightly/rust-src-nightly.subpackage.sh +++ /dev/null @@ -1,3 +0,0 @@ -TERMUX_SUBPKG_DESCRIPTION="rust src" -TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true -TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/lib/rustlib/src" diff --git a/disabled-packages/rustc-nightly/src-librustc_llvm-build.rs.patch b/disabled-packages/rustc-nightly/src-librustc_llvm-build.rs.patch deleted file mode 100644 index 53f94185f60d37..00000000000000 --- a/disabled-packages/rustc-nightly/src-librustc_llvm-build.rs.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r ../rustc-1.34.1-src/src/librustc_llvm/build.rs ./src/librustc_llvm/build.rs ---- ../rustc-1.34.1-src/src/librustc_llvm/build.rs 2019-04-24 21:07:08.000000000 +0000 -+++ ./compiler/rustc_llvm/build.rs 2019-05-05 20:56:34.090330174 +0000 -@@ -244,6 +244,8 @@ - "c++" - } else if target.contains("darwin") { - "c++" -+ } else if target.contains("android") { -+ "c++_shared" - } else if target.contains("netbsd") && llvm_static_stdcpp.is_some() { - // NetBSD uses a separate library when relocation is required - "stdc++_pic" diff --git a/disabled-packages/rustc-nightly/use-rustc-nightly b/disabled-packages/rustc-nightly/use-rustc-nightly deleted file mode 100644 index 1aa8b348f01b0b..00000000000000 --- a/disabled-packages/rustc-nightly/use-rustc-nightly +++ /dev/null @@ -1,2 +0,0 @@ -#!/data/data/com.termux/files/usr/bin/sh -export PATH=/data/data/com.termux/files/usr/opt/rustc-nightly/bin:$PATH diff --git a/scripts/big-pkgs.list b/scripts/big-pkgs.list index a2de6498f79968..effc438b71e863 100644 --- a/scripts/big-pkgs.list +++ b/scripts/big-pkgs.list @@ -3,14 +3,13 @@ bionic-host clvk dart firefox +grafana libllvm python-torch qemu-system-x86-64 rust -rustc-nightly swift thunderbird tinygo wasmer zig -grafana From 5e2eae770ff60856f0125cde7ad0148b02ccbcde Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 18:11:23 +0000 Subject: [PATCH 068/453] bump(main/composer): 2.8.0 This commit has been automatically submitted by Github Actions. --- packages/composer/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/composer/build.sh b/packages/composer/build.sh index 5320ff14b185a7..5b20783b5bb640 100644 --- a/packages/composer/build.sh +++ b/packages/composer/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://getcomposer.org/ TERMUX_PKG_DESCRIPTION="Dependency Manager for PHP" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.7.9" +TERMUX_PKG_VERSION="2.8.0" TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION TERMUX_PKG_SRCURL=git+https://github.com/composer/composer TERMUX_PKG_DEPENDS="php" From b36007752a69a718e58f762bafc28adb53c1453d Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 18:11:57 +0000 Subject: [PATCH 069/453] bump(main/libluajit): 2.1.1727870382 This commit has been automatically submitted by Github Actions. --- packages/libluajit/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libluajit/build.sh b/packages/libluajit/build.sh index 3758c3165777da..26b3759b2ed495 100644 --- a/packages/libluajit/build.sh +++ b/packages/libluajit/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://luajit.org/ TERMUX_PKG_DESCRIPTION="Just-In-Time Compiler for Lua" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1:2.1.1727621189" +TERMUX_PKG_VERSION="1:2.1.1727870382" TERMUX_PKG_SRCURL=git+https://github.com/LuaJIT/LuaJIT.git TERMUX_PKG_GIT_BRANCH=v${TERMUX_PKG_VERSION:2:3} TERMUX_PKG_AUTO_UPDATE=true From 1a9257139bca6c5d43bbd59d0a9d79ab0a666587 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 18:14:20 +0000 Subject: [PATCH 070/453] bump(main/railway-cli): 3.15.3 This commit has been automatically submitted by Github Actions. --- packages/railway-cli/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/railway-cli/build.sh b/packages/railway-cli/build.sh index 09ac436087d403..fe6ad229f6d605 100644 --- a/packages/railway-cli/build.sh +++ b/packages/railway-cli/build.sh @@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://railway.app TERMUX_PKG_DESCRIPTION="This is the command line interface for Railway" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.15.1" +TERMUX_PKG_VERSION="3.15.3" TERMUX_PKG_SRCURL=https://github.com/railwayapp/cli/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=f3f610be6377a9b8554940ddaf922dbd01235936900724c2930b937f84e1c417 +TERMUX_PKG_SHA256=60ccb129a192cb4da23d42c1252b1bdc4fd58d27419735c1b7f4fdb3016274c1 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 1b3744dcfdfb9b5b88789761c8c4e06efb9b8292 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Wed, 2 Oct 2024 18:17:50 +0000 Subject: [PATCH 071/453] bump(main/vtm): 0.9.99.20 This commit has been automatically submitted by Github Actions. --- packages/vtm/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vtm/build.sh b/packages/vtm/build.sh index bd9b4b67414acf..d62cfda7b97386 100644 --- a/packages/vtm/build.sh +++ b/packages/vtm/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Terminal multiplexer with TUI window manager and multi-p TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.9.99.19" +TERMUX_PKG_VERSION="0.9.99.20" TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=c2a5faf41eb0ea88e2cae28b63ebb537365fc57702c0f50d0859c2c2223ba8e0 +TERMUX_PKG_SHA256=a5cbd62b970de8bd6a8fc7ceb69946b31950a0f2f0e684b8cbf67a07193d8a8a TERMUX_PKG_DEPENDS="libc++" TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn" TERMUX_PKG_BUILD_IN_SRC=true From bde9267134e667e2fcb4c71f13b17e9d5b7c9cf8 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Oct 2024 22:59:23 +0200 Subject: [PATCH 072/453] fix(main/ncurses): Build with --disable-opaque-panel Build with --disable-opaque-panel which is necessary to build at least libgnt. --- packages/ncurses/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ncurses/build.sh b/packages/ncurses/build.sh index 413401544e0ec9..ede3cd7242d546 100644 --- a/packages/ncurses/build.sh +++ b/packages/ncurses/build.sh @@ -14,6 +14,7 @@ TERMUX_PKG_VERSION=(6.5.20240831 15 0.36.2 0.13.2) +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=(https://github.com/ThomasDickey/ncurses-snapshots/archive/${_SNAPSHOT_COMMIT}.tar.gz https://fossies.org/linux/misc/rxvt-unicode-${TERMUX_PKG_VERSION[1]}.tar.bz2 https://github.com/thestinger/termite/archive/v${TERMUX_PKG_VERSION[2]}.tar.gz @@ -34,6 +35,7 @@ TERMUX_PKG_REPLACES="ncurses-dev, ncurses-utils (<< 6.1.20190511-4)" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ac_cv_header_locale_h=no am_cv_langinfo_codeset=no +--disable-opaque-panel --disable-stripping --enable-const --enable-ext-colors From 379b2f752dfbeef21cd6379855f60b352333b4d3 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Oct 2024 23:04:33 +0200 Subject: [PATCH 073/453] fix(main/libgnt): Build against Termux ncurses headers, not host Fix building `libgnt`, which before this patch tried to use the host ncurses headers, which no longer works. --- packages/libgnt/build.sh | 2 +- packages/libgnt/meson.build.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/libgnt/meson.build.patch diff --git a/packages/libgnt/build.sh b/packages/libgnt/build.sh index a12ab0e7d6c2fb..817634d56761c6 100644 --- a/packages/libgnt/build.sh +++ b/packages/libgnt/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="An ncurses toolkit for creating text-mode graphical user TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.14.3 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/pidgin/libgnt/${TERMUX_PKG_VERSION}/libgnt-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=57f5457f72999d0bb1a139a37f2746ec1b5a02c094f2710a339d8bcea4236123 TERMUX_PKG_DEPENDS="glib, libxml2, ncurses, ncurses-ui-libs" diff --git a/packages/libgnt/meson.build.patch b/packages/libgnt/meson.build.patch new file mode 100644 index 00000000000000..c8477b2f0d3c8f --- /dev/null +++ b/packages/libgnt/meson.build.patch @@ -0,0 +1,12 @@ +diff -u -r ../libgnt-2.14.3/meson.build ./meson.build +--- ../libgnt-2.14.3/meson.build 2021-09-26 03:56:33.000000000 +0000 ++++ ./meson.build 2024-10-02 20:30:13.929310165 +0000 +@@ -85,7 +85,7 @@ + # FIXME: $host ? + ncurses_sys_prefix = '/usr/$host/sys-root/mingw' + else +- ncurses_sys_prefix = '/usr' ++ ncurses_sys_prefix = '@TERMUX_PREFIX@' + endif + + ncurses_sys_dirs = [ncurses_sys_prefix + '/include/ncursesw', From 34a752ef06fb76cd149cedc7a9b6d9b5c7afd106 Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Thu, 12 Sep 2024 16:57:13 +0530 Subject: [PATCH 074/453] bump(libllvm): 18.1.8 to 19.1.1 --- packages/libllvm/build.sh | 6 +++--- .../clang-include-clang-Driver-Options.td.patch | 10 +++++----- packages/libllvm/clang.subpackage.sh | 2 ++ packages/libllvm/llvm-config.in | 8 ++++---- packages/libllvm/llvm.subpackage.sh | 1 + packages/libllvm/mlir.subpackage.sh | 4 ++-- 6 files changed, 17 insertions(+), 14 deletions(-) diff --git a/packages/libllvm/build.sh b/packages/libllvm/build.sh index bd40c3c6fceb47..7bed20dd2ab0a1 100644 --- a/packages/libllvm/build.sh +++ b/packages/libllvm/build.sh @@ -4,9 +4,9 @@ TERMUX_PKG_LICENSE="Apache-2.0, NCSA" TERMUX_PKG_LICENSE_FILE="llvm/LICENSE.TXT" TERMUX_PKG_MAINTAINER="@finagolfin" # Keep flang version and revision in sync when updating (enforced by check in termux_step_pre_configure). -LLVM_MAJOR_VERSION=18 -TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.1.8 -TERMUX_PKG_SHA256=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a +LLVM_MAJOR_VERSION=19 +TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.1.1 +TERMUX_PKG_SHA256=d40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/llvm-project-${TERMUX_PKG_VERSION}.src.tar.xz TERMUX_PKG_HOSTBUILD=true diff --git a/packages/libllvm/clang-include-clang-Driver-Options.td.patch b/packages/libllvm/clang-include-clang-Driver-Options.td.patch index 06b873daffb63b..4e705d052f51ae 100644 --- a/packages/libllvm/clang-include-clang-Driver-Options.td.patch +++ b/packages/libllvm/clang-include-clang-Driver-Options.td.patch @@ -3,18 +3,18 @@ index 59e1337599b2..656545555349 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -5370,6 +5370,12 @@ - Flags<[NoArgumentUnused]>, - HelpText<"Do not add -rpath with architecture-specific resource directory to the linker flags. " - "When --hip-link is specified, do not add -rpath with HIP runtime library directory to the linker flags">; + Visibility<[ClangOption, FlangOption]>, + HelpText<"Add -rpath with architecture-specific resource directory to the linker flags. " + "When --hip-link is specified, also add -rpath with HIP runtime library directory to the linker flags">; +defm openmp_implicit_rpath: BoolFOption<"openmp-implicit-rpath", + LangOpts<"OpenMP">, + DefaultTrue, + PosFlag, + NegFlag, + BothFlags<[NoArgumentUnused]>>; - def offload_add_rpath: Flag<["--"], "offload-add-rpath">, + def fno_rtlib_add_rpath: Flag<["-"], "fno-rtlib-add-rpath">, Flags<[NoArgumentUnused]>, - Alias; + Visibility<[ClangOption, FlangOption]>, @@ -4879,6 +4879,10 @@ defm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group, Group; defm strength_reduce : diff --git a/packages/libllvm/clang.subpackage.sh b/packages/libllvm/clang.subpackage.sh index 4d0f374cdcd026..e3a044d3eb7f83 100644 --- a/packages/libllvm/clang.subpackage.sh +++ b/packages/libllvm/clang.subpackage.sh @@ -27,6 +27,7 @@ lib/clang/*/include/openmp_wrappers/ lib/clang/*/include/orc/ lib/clang/*/include/ppc_wrappers/ lib/clang/*/include/profile/ +lib/clang/*/include/zos_wrappers/ lib/clang/latest lib/cmake/clang lib/cmake/openmp @@ -37,6 +38,7 @@ lib/libomp.a lib/libscanbuild/ libexec/ share/clang +share/clang-doc share/man/man1/clang.1.gz share/man/man1/diagtool.1.gz share/man/man1/scan-build.1.gz diff --git a/packages/libllvm/llvm-config.in b/packages/libllvm/llvm-config.in index 7b073e82cb8f94..30cae430863910 100644 --- a/packages/libllvm/llvm-config.in +++ b/packages/libllvm/llvm-config.in @@ -54,7 +54,7 @@ amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuuti analysis arc arccodegen arcdesc arcdisassembler arcinfo arm armasmparser armcodegen \ armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser \ avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader \ -bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen \ +bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegendata \ codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler \ cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview \ debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel \ @@ -71,7 +71,7 @@ nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes powerpc powerpcasmparser \ powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks \ riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca \ -runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc \ +runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc \ sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen \ systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader \ transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo \ @@ -112,9 +112,9 @@ static_libs="-lLLVMWindowsManifest -lLLVMXRay -lLLVMLibDriver -lLLVMDlltoolDrive -lLLVMFrontendOpenACC -lLLVMFrontendHLSL -lLLVMExtensions -lPolly -lPollyISL -lLLVMPasses \ -lLLVMCoroutines -lLLVMipo -lLLVMInstrumentation -lLLVMVectorize -lLLVMLinker \ -lLLVMFrontendOpenMP -lLLVMDWARFLinkerClassic -lLLVMDWARFLinkerParallel -lLLVMDWARFLinker \ --lLLVMGlobalISel -lLLVMMIRParser -lLLVMAsmPrinter -lLLVMSelectionDAG -lLLVMCodeGen -lLLVMCodeGenTypes \ +-lLLVMGlobalISel -lLLVMMIRParser -lLLVMAsmPrinter -lLLVMSelectionDAG -lLLVMCodeGen -lLLVMCodeGenData -lLLVMCodeGenTypes \ -lLLVMObjCARCOpts -lLLVMIRPrinter -lLLVMInterfaceStub -lLLVMFileCheck -lLLVMFuzzMutate \ --lLLVMTarget -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils \ +-lLLVMTarget -lLLVMSandboxIR -lLLVMScalarOpts -lLLVMInstCombine -lLLVMAggressiveInstCombine -lLLVMTransformUtils \ -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMSymbolize -lLLVMDebugInfoBTF -lLLVMDebugInfoPDB \ -lLLVMDebugInfoMSF -lLLVMDebugInfoDWARF -lLLVMObject -lLLVMTextAPI -lLLVMTextAPIBinaryReader -lLLVMMCParser \ -lLLVMIRReader -lLLVMAsmParser -lLLVMMC -lLLVMDebugInfoCodeView -lLLVMBitReader \ diff --git a/packages/libllvm/llvm.subpackage.sh b/packages/libllvm/llvm.subpackage.sh index 15569412ef64de..d7594b8696cdb8 100644 --- a/packages/libllvm/llvm.subpackage.sh +++ b/packages/libllvm/llvm.subpackage.sh @@ -5,6 +5,7 @@ bin/llc bin/lli bin/llvm!(-jitlink-executor|-PerfectShuffle) bin/opt +bin/reduce-chunk-list bin/sancov bin/sanstats bin/split-file diff --git a/packages/libllvm/mlir.subpackage.sh b/packages/libllvm/mlir.subpackage.sh index be5a0f74ae900d..dcb0c7f8b218aa 100644 --- a/packages/libllvm/mlir.subpackage.sh +++ b/packages/libllvm/mlir.subpackage.sh @@ -4,8 +4,8 @@ bin/tblgen-lsp-server bin/tblgen-to-irdl include/mlir* lib/cmake/mlir/ -lib/libMLIR.so -lib/libmlir*so +lib/libMLIR*.so +lib/libmlir*.so " TERMUX_SUBPKG_DESCRIPTION="A Multi-Level Intermediate Representation for compilers from LLVM" TERMUX_SUBPKG_DEPENDS="libc++, ncurses" From 0442d0b1f3f04a9831134b4910fdbd64c1a17f3d Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sun, 29 Sep 2024 00:38:58 +0800 Subject: [PATCH 075/453] bump(flang): 18.1.8 to 19.1.1 Co-Authored-By: Lucy Phipps --- .../0003-fix-missing-CHECK_MSG-macro.patch | 11 ++++++++ .../flang/0004-do-not-call-timespec_get.patch | 11 ++++++++ .../0005-use-libandroid-complex-math.patch | 26 +++++++++++++++++++ ...mmy-bessel-functions-for-long-double.patch | 26 +++++++++++++++++++ packages/flang/build.sh | 8 +++--- packages/flang/postinst.sh.in | 13 +++++----- packages/flang/prerm.sh.in | 5 ++-- ...lib-Driver-ToolChains-CommonArgs.cpp.patch | 12 +++++++++ 8 files changed, 100 insertions(+), 12 deletions(-) create mode 100644 packages/flang/0003-fix-missing-CHECK_MSG-macro.patch create mode 100644 packages/flang/0004-do-not-call-timespec_get.patch create mode 100644 packages/flang/0005-use-libandroid-complex-math.patch create mode 100644 packages/flang/0006-dummy-bessel-functions-for-long-double.patch create mode 100644 packages/libllvm/clang-lib-Driver-ToolChains-CommonArgs.cpp.patch diff --git a/packages/flang/0003-fix-missing-CHECK_MSG-macro.patch b/packages/flang/0003-fix-missing-CHECK_MSG-macro.patch new file mode 100644 index 00000000000000..1505de937b42db --- /dev/null +++ b/packages/flang/0003-fix-missing-CHECK_MSG-macro.patch @@ -0,0 +1,11 @@ +--- a/flang/include/flang/Common/idioms.h ++++ b/flang/include/flang/Common/idioms.h +@@ -89,6 +89,8 @@ + #define CHECK(x) ((x) || (DIE("CHECK(" #x ") failed"), false)) + // Same as above, but with a custom error message. + #define CHECK_MSG(x, y) ((x) || (DIE("CHECK(" #x ") failed: " #y), false)) ++#elif !defined(CHECK_MSG) ++#define CHECK_MSG(x, y) CHECK(x) + #endif + + // User-defined type traits that default to false: diff --git a/packages/flang/0004-do-not-call-timespec_get.patch b/packages/flang/0004-do-not-call-timespec_get.patch new file mode 100644 index 00000000000000..f2c0594a21773b --- /dev/null +++ b/packages/flang/0004-do-not-call-timespec_get.patch @@ -0,0 +1,11 @@ +--- a/flang/runtime/time-intrinsic.cpp ++++ b/flang/runtime/time-intrinsic.cpp +@@ -139,7 +139,7 @@ + } + } + +-#ifndef _AIX ++#if !defined(_AIX) && !(defined(__ANDROID__) && __ANDROID__ < 29) + // This is the fallback implementation, which should work everywhere. + template + count_t GetSystemClockCount(int kind, fallback_implementation) { diff --git a/packages/flang/0005-use-libandroid-complex-math.patch b/packages/flang/0005-use-libandroid-complex-math.patch new file mode 100644 index 00000000000000..c5c58cbc37a134 --- /dev/null +++ b/packages/flang/0005-use-libandroid-complex-math.patch @@ -0,0 +1,26 @@ +--- a/flang/runtime/Float128Math/complex-math.h ++++ b/flang/runtime/Float128Math/complex-math.h +@@ -34,6 +34,23 @@ + #elif LDBL_MANT_DIG == 113 + /* Use 'long double' versions of libm functions. */ + #include ++#if defined(__ANDROID__) && __ANDROID_API__ < 26 ++long double complex cacosl (long double complex); ++long double complex cacoshl(long double complex); ++long double complex casinl (long double complex); ++long double complex casinhl(long double complex); ++long double complex catanl (long double complex); ++long double complex catanhl(long double complex); ++long double complex ccosl (long double complex); ++long double complex ccoshl (long double complex); ++long double complex cexpl (long double complex); ++long double complex clogl (long double complex); ++long double complex cpowl (long double complex, long double complex); ++long double complex csinl (long double complex); ++long double complex csinhl (long double complex); ++long double complex ctanl (long double complex); ++long double complex ctanhl (long double complex); ++#endif + + #define CAbs(x) cabsl(x) + #define CAcos(x) cacosl(x) diff --git a/packages/flang/0006-dummy-bessel-functions-for-long-double.patch b/packages/flang/0006-dummy-bessel-functions-for-long-double.patch new file mode 100644 index 00000000000000..89b4b6ddb1ceb0 --- /dev/null +++ b/packages/flang/0006-dummy-bessel-functions-for-long-double.patch @@ -0,0 +1,26 @@ +--- a/flang/runtime/Float128Math/math-entries.h ++++ b/flang/runtime/Float128Math/math-entries.h +@@ -185,9 +185,11 @@ + DEFINE_SIMPLE_ALIAS(Ilogb, std::ilogb) + DEFINE_SIMPLE_ALIAS(Isinf, std::isinf) + DEFINE_SIMPLE_ALIAS(Isnan, std::isnan) ++#ifndef __ANDROID__ + DEFINE_SIMPLE_ALIAS(J0, j0l) + DEFINE_SIMPLE_ALIAS(J1, j1l) + DEFINE_SIMPLE_ALIAS(Jn, jnl) ++#endif + DEFINE_SIMPLE_ALIAS(Ldexp, std::ldexp) + DEFINE_SIMPLE_ALIAS(Lgamma, std::lgamma) + DEFINE_SIMPLE_ALIAS(Llround, std::llround) +@@ -204,9 +206,11 @@ + DEFINE_SIMPLE_ALIAS(Tanh, std::tanh) + DEFINE_SIMPLE_ALIAS(Tgamma, std::tgamma) + DEFINE_SIMPLE_ALIAS(Trunc, std::trunc) ++#ifndef __ANDROID__ + DEFINE_SIMPLE_ALIAS(Y0, y0l) + DEFINE_SIMPLE_ALIAS(Y1, y1l) + DEFINE_SIMPLE_ALIAS(Yn, ynl) ++#endif + + // Use numeric_limits to produce infinity of the right type. + #define F128_RT_INFINITY \ diff --git a/packages/flang/build.sh b/packages/flang/build.sh index 68fb47feee47dc..f206b8721f83f0 100644 --- a/packages/flang/build.sh +++ b/packages/flang/build.sh @@ -3,16 +3,16 @@ TERMUX_PKG_DESCRIPTION="LLVM's Fortran frontend" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_LICENSE_FILE="flang/LICENSE.TXT" TERMUX_PKG_MAINTAINER="@termux" -LLVM_MAJOR_VERSION=18 -TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.1.8 +LLVM_MAJOR_VERSION=19 +TERMUX_PKG_VERSION=${LLVM_MAJOR_VERSION}.1.1 TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/llvm-project-$TERMUX_PKG_VERSION.src.tar.xz -TERMUX_PKG_SHA256=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a +TERMUX_PKG_SHA256=d40e933e2a208ee142898f85d886423a217e991abbcd42dd8211f507c93e1266 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_HOSTBUILD=true # `flang-new` should be rebuilt when libllvm bumps version. # See https://github.com/termux/termux-packages/issues/19362 DEP_QUALIFIER=$TERMUX_PKG_VERSION-$TERMUX_PKG_REVISION -TERMUX_PKG_DEPENDS="libc++, libllvm (= $DEP_QUALIFIER), clang (= $DEP_QUALIFIER), lld (= $DEP_QUALIFIER), mlir (= $DEP_QUALIFIER)" +TERMUX_PKG_DEPENDS="libandroid-complex-math-static, libc++, libllvm (= $DEP_QUALIFIER), clang (= $DEP_QUALIFIER), lld (= $DEP_QUALIFIER), mlir (= $DEP_QUALIFIER)" TERMUX_PKG_BUILD_DEPENDS="libllvm-static" # Upstream doesn't support 32-bit arches well. See https://github.com/llvm/llvm-project/issues/57621. diff --git a/packages/flang/postinst.sh.in b/packages/flang/postinst.sh.in index ee7c727e3d3a4c..23dff66203a220 100644 --- a/packages/flang/postinst.sh.in +++ b/packages/flang/postinst.sh.in @@ -13,8 +13,8 @@ generate_module_files() { "ieee_exceptions" "ieee_features" "iso_c_binding" + "iso_fortran_env_impl" "iso_fortran_env" - "omp_lib" ) local file @@ -25,11 +25,12 @@ generate_module_files() { cp "$file".mod "$file".f18.mod done - file="__ppc_intrinsics" - echo "Generating ${file}.mod..." - cd "$TERMUX_PREFIX"/include/flang - flang-new -cpp -fsyntax-only --target=ppc64le -module-dir "$TERMUX_PREFIX"/include/flang "$TERMUX_PREFIX"/opt/flang/module/"$file".f90 - cp "$file".mod "$file".f18.mod + for file in "__ppc_intrinsics" "mma"; do + echo "Generating ${file}.mod..." + cd "$TERMUX_PREFIX"/include/flang + flang-new -cpp -fsyntax-only --target=ppc64le -module-dir "$TERMUX_PREFIX"/include/flang "$TERMUX_PREFIX"/opt/flang/module/"$file".f90 + cp "$file".mod "$file".f18.mod + done } generate_module_files diff --git a/packages/flang/prerm.sh.in b/packages/flang/prerm.sh.in index 95b1c93853c5bd..8276fc42f89f25 100644 --- a/packages/flang/prerm.sh.in +++ b/packages/flang/prerm.sh.in @@ -8,14 +8,15 @@ cleanup_module_files() { "__fortran_type_info" "__fortran_ieee_exceptions" "__ppc_types" - "__ppc_intrinsics" "__cuda_builtins" "ieee_arithmetic" "ieee_exceptions" "ieee_features" "iso_c_binding" + "iso_fortran_env_impl" "iso_fortran_env" - "omp_lib" + "__ppc_intrinsics" + "mma" ) local file diff --git a/packages/libllvm/clang-lib-Driver-ToolChains-CommonArgs.cpp.patch b/packages/libllvm/clang-lib-Driver-ToolChains-CommonArgs.cpp.patch new file mode 100644 index 00000000000000..406c41b3373585 --- /dev/null +++ b/packages/libllvm/clang-lib-Driver-ToolChains-CommonArgs.cpp.patch @@ -0,0 +1,12 @@ +--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp ++++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp +@@ -1281,6 +1281,9 @@ + if (AsNeeded) + addAsNeededOption(TC, Args, CmdArgs, /*as_needed=*/false); + } ++ if (TC.getTriple().isAndroid()) { ++ CmdArgs.push_back("-l:libandroid-complex-math.a"); ++ } + CmdArgs.push_back("-lFortranRuntime"); + CmdArgs.push_back("-lFortranDecimal"); + } From 23135bc221f065799db176d47c3995b705b9194f Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:25:57 +0000 Subject: [PATCH 076/453] bump(main/glab-cli): 1.47.0 This commit has been automatically submitted by Github Actions. --- packages/glab-cli/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/glab-cli/build.sh b/packages/glab-cli/build.sh index c918c544f2ba80..4d95e546e56c95 100644 --- a/packages/glab-cli/build.sh +++ b/packages/glab-cli/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://gitlab.com/gitlab-org/cli TERMUX_PKG_DESCRIPTION="A GitLab CLI tool bringing GitLab to your command line" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.46.1" +TERMUX_PKG_VERSION="1.47.0" TERMUX_PKG_SRCURL=https://gitlab.com/gitlab-org/cli/-/archive/v${TERMUX_PKG_VERSION}/cli-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=36d52bef10088adbabd1cba522ae85b57e10c17663229a5f786e3c671d1b6fd6 +TERMUX_PKG_SHA256=d6b653150416ce0720e89dcf40da4ded8f00fe86b0184064ac0c951553e66206 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_EXTRA_MAKE_ARGS="GLAB_VERSION=${TERMUX_PKG_VERSION}" From 2e71a1b15a9f2a9be7f65632397ccf0b770cf4e9 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:26:24 +0000 Subject: [PATCH 077/453] bump(main/libnats-c): 3.9.1 This commit has been automatically submitted by Github Actions. --- packages/libnats-c/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libnats-c/build.sh b/packages/libnats-c/build.sh index 7edb2d5f9cc03e..6b6126df713b76 100644 --- a/packages/libnats-c/build.sh +++ b/packages/libnats-c/build.sh @@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://nats-io.github.io/nats.c/ TERMUX_PKG_DESCRIPTION="A C client for the NATS messaging system" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.9.0" +TERMUX_PKG_VERSION="3.9.1" TERMUX_PKG_SRCURL=https://github.com/nats-io/nats.c/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=82fd3cdc732f091859f5840c968ba489bc5c91b94454040b8011c1d61fd973a8 +TERMUX_PKG_SHA256=56836bb30a2da93eaa6df0dfa27e796e6be0933b5b3d4d83b5c76d3b80304290 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libprotobuf-c, openssl" From fde2179e180f3c6f254a69090696db71dce17151 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:26:39 +0000 Subject: [PATCH 078/453] bump(main/lowdown): 1.1.2 This commit has been automatically submitted by Github Actions. --- packages/lowdown/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lowdown/build.sh b/packages/lowdown/build.sh index cbb018347ce172..866253463a4832 100644 --- a/packages/lowdown/build.sh +++ b/packages/lowdown/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Markdown utilities and library (fork of hoedown -> sundo TERMUX_PKG_LICENSE="ISC" TERMUX_PKG_LICENSE_FILE="LICENSE.md" TERMUX_PKG_MAINTAINER="@flosnvjx" -TERMUX_PKG_VERSION="1.1.1" +TERMUX_PKG_VERSION="1.1.2" TERMUX_PKG_SRCURL="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${TERMUX_PKG_VERSION}.tar.gz" -TERMUX_PKG_SHA256=3b1a4a9db44b0ea621189f107ff0dd6dff305c35209f46c17382b71555a3567e +TERMUX_PKG_SHA256=844c6b090729aa45c6459dd63cb1faaf8d9945ed59ea46387778cd91c67033b0 #TERMUX_PKG_BUILD_DEPENDS="libseccomp" ## it is merely a checkdepends for now and we dont run check during build TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_MAKE_INSTALL_TARGET="install install_libs" ## add "regress" target if one wanna run check From 7f4f29e2ca6a27534a6c0015d60da1516c2c0153 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:28:40 +0000 Subject: [PATCH 079/453] bump(main/minio): 2024.10.02.17.50.41 This commit has been automatically submitted by Github Actions. --- packages/minio/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/minio/build.sh b/packages/minio/build.sh index 3c436432b55d9e..92d9fe8d3bccb8 100644 --- a/packages/minio/build.sh +++ b/packages/minio/build.sh @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://min.io/ TERMUX_PKG_DESCRIPTION="Multi-Cloud Object Storage" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2024.09.22.00.33.43" +TERMUX_PKG_VERSION="2024.10.02.17.50.41" _VERSION=$(sed 's/\./T/3;s/\./-/g' <<< $TERMUX_PKG_VERSION) TERMUX_PKG_SRCURL=https://github.com/minio/minio/archive/refs/tags/RELEASE.${_VERSION}Z.tar.gz -TERMUX_PKG_SHA256=72a80c9ef0bfe474653cbf9ce563b3691893dd5797ae4d1645b9e12f391b619e +TERMUX_PKG_SHA256=7de551075f9990322c397a3eaed6fe3a58c13d12990920c704df85485dd8eb58 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_VERSION_SED_REGEXP='s/T/-/g;s/[^0-9-]//g;s/-/./g' TERMUX_PKG_DEPENDS="resolv-conf" From ea7ed05fccb93cf1ae54ecb1656c3acd81710db2 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:29:07 +0000 Subject: [PATCH 080/453] bump(main/nginx): 1.27.2 This commit has been automatically submitted by Github Actions. --- packages/nginx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nginx/build.sh b/packages/nginx/build.sh index b5b4739a72380d..4d4b3d530ddfa5 100644 --- a/packages/nginx/build.sh +++ b/packages/nginx/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.nginx.org TERMUX_PKG_DESCRIPTION="Lightweight HTTP server" TERMUX_PKG_LICENSE="BSD 2-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.27.1" +TERMUX_PKG_VERSION="1.27.2" TERMUX_PKG_SRCURL=https://nginx.org/download/nginx-$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=bd7ba68a6ce1ea3768b771c7e2ab4955a59fb1b1ae8d554fedb6c2304104bdfc +TERMUX_PKG_SHA256=a91ecfc3a0b3a2c1413afca627bd886d76e0414b81cad0fb7872a9655a1b25fa TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libandroid-glob, libcrypt, pcre2, openssl, zlib" TERMUX_PKG_BUILD_IN_SRC=true From 1866fa8e128551f094e1719f14ddd33c4a8b59a9 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:30:23 +0000 Subject: [PATCH 081/453] bump(main/notcurses): 3.0.11 This commit has been automatically submitted by Github Actions. --- packages/notcurses/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/notcurses/build.sh b/packages/notcurses/build.sh index c42ff86257ac29..a4d8f1408ba958 100644 --- a/packages/notcurses/build.sh +++ b/packages/notcurses/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://notcurses.com/ TERMUX_PKG_DESCRIPTION="blingful TUIs and character graphics" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.0.10" +TERMUX_PKG_VERSION="3.0.11" TERMUX_PKG_SRCURL=https://github.com/dankamongmen/notcurses/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=f35fc0916afaa8978c23c386f0c107e4597db6e0a0511c33375fc09080887512 +TERMUX_PKG_SHA256=acc8809b457935a44c4dcaf0ee505ada23594f08aa2ae610acb6f2355afd550a TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="ffmpeg, libandroid-spawn, libc++, libunistring, ncurses, zlib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" From cd87e9557eb936491d18eef7b7f5c7f20f61cf3c Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:31:34 +0000 Subject: [PATCH 082/453] bump(root/fio): 3.38 This commit has been automatically submitted by Github Actions. --- root-packages/fio/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root-packages/fio/build.sh b/root-packages/fio/build.sh index e62899b1a0e96c..1e194a5e1862a7 100644 --- a/root-packages/fio/build.sh +++ b/root-packages/fio/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/axboe/fio TERMUX_PKG_DESCRIPTION="Flexible I/O Tester" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.37" +TERMUX_PKG_VERSION="3.38" TERMUX_PKG_SRCURL=https://github.com/axboe/fio/archive/refs/tags/fio-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=b59099d42d5c62a8171974e54466a688c8da6720bf74a7f16bf24fb0e51ff92d +TERMUX_PKG_SHA256=73b3ca18a66fb88a90dae73b9994fdd18d35161d914ffe2089380760af5533cf TERMUX_PKG_DEPENDS="openssl, libandroid-shmem, libaio" TERMUX_PKG_SUGGESTS="python" TERMUX_PKG_BUILD_IN_SRC=true From b8d7a55aee2a72be93c38acb41b2c775cabc2cfe Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 00:32:02 +0000 Subject: [PATCH 083/453] bump(root/lvm2): 2.03.27 This commit has been automatically submitted by Github Actions. --- root-packages/lvm2/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root-packages/lvm2/build.sh b/root-packages/lvm2/build.sh index b4bdde94ae7c80..cb0e7ba42215f0 100644 --- a/root-packages/lvm2/build.sh +++ b/root-packages/lvm2/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="A device-mapper library from LVM2 package" TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1, BSD 2-Clause" TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.BSD, COPYING.LIB" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.03.26" +TERMUX_PKG_VERSION="2.03.27" TERMUX_PKG_SRCURL=https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2.${TERMUX_PKG_VERSION}.tgz -TERMUX_PKG_SHA256=72ea8b4f0e1610de5d119296b15ef2a2203431089541dcbebc66361f65fb35f5 +TERMUX_PKG_SHA256=3133415905b9b46d152d064865d52f32eee4fcbeb0e8a69e3510caeaae0c56a9 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libaio, libandroid-support, libblkid, readline" TERMUX_PKG_BREAKS="libdevmapper-dev" From 5f3cab663a9a115e21fe5e0f03ae30b0f2446572 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 03:27:51 +0000 Subject: [PATCH 084/453] bump(x11/xwayland): 24.1.3 This commit has been automatically submitted by Github Actions. --- x11-packages/xwayland/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/xwayland/build.sh b/x11-packages/xwayland/build.sh index db4baffa0ae754..748fbd814d37ba 100644 --- a/x11-packages/xwayland/build.sh +++ b/x11-packages/xwayland/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/wiki/ TERMUX_PKG_DESCRIPTION="Wayland X11 server" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="24.1.2" +TERMUX_PKG_VERSION="24.1.3" TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xwayland-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=141eb76e7e422a3661c08782c70be40931084755042c04506e0d97dd463ef7d2 +TERMUX_PKG_SHA256=dcdb57a66cc9b124c8f936760592628ac4e744a7d7b3179aa86189ad7ea4cb10 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libepoxy, libpciaccess, libpixman, libwayland, libwayland-protocols, libx11, libxau, libxcvt, libxfont2, libxinerama, libxkbfile, libxshmfence, opengl, openssl, xkeyboard-config, xorg-protocol-txt, xorg-xkbcomp" TERMUX_PKG_BUILD_DEPENDS="libwayland-cross-scanner" From 4953410bc8bc9c3857fbf232ada236daa879a0ae Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 3 Oct 2024 03:25:57 +0000 Subject: [PATCH 085/453] chore(main/vulkan-headers): Remove unused cmake option to disable cpp module This cmake option was added in 5d1f45eeab87a39f95aa9837d8ab1edf39268615 commit. clang-scan-deps is now included in r27 NDK release https://github.com/android/ndk/releases/tag/r27 --- packages/vulkan-headers/build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/vulkan-headers/build.sh b/packages/vulkan-headers/build.sh index 87ffb1cb9f7fe2..88278280956342 100644 --- a/packages/vulkan-headers/build.sh +++ b/packages/vulkan-headers/build.sh @@ -3,13 +3,10 @@ TERMUX_PKG_DESCRIPTION="Vulkan Header files and API registry" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1.3.296" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/KhronosGroup/Vulkan-Headers/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=e204e0b3c19f622d197df945737f5db913d6621830999b8578d34e80a7c90585 TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+" -# Requires clang-scan-deps for building c++ module -TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --DVULKAN_HEADERS_ENABLE_MODULE=OFF -" From 2f8baa9c41f813a428247e216bed613f0a234fef Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Thu, 3 Oct 2024 11:33:42 +0800 Subject: [PATCH 086/453] revbump(main/rust): after LLVM 19 update (#21566) --- packages/rust/0006-llvm-19.patch | 33 ++++++++++++++++++++++++++++++++ packages/rust/build.sh | 7 ++++--- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 packages/rust/0006-llvm-19.patch diff --git a/packages/rust/0006-llvm-19.patch b/packages/rust/0006-llvm-19.patch new file mode 100644 index 00000000000000..097e041c59e399 --- /dev/null +++ b/packages/rust/0006-llvm-19.patch @@ -0,0 +1,33 @@ +Cherry picked from https://github.com/rust-lang/rust/pull/127513 + +From 00bfd702dc8c3b760b4f965fd059a5f1db8bb2b1 Mon Sep 17 00:00:00 2001 +From: Krasimir Georgiev +Date: Mon, 17 Jun 2024 09:35:38 +0000 +Subject: [PATCH 2/4] Disable MC/DC tests on LLVM 19 + +Disable the tests and generate an error if MC/DC is used on LLVM 19. +The support will be ported separately, as it is substantially +different on LLVM 19, and there are no plans to support both +versions. +--- + compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 2 +- + tests/coverage/mcdc/condition-limit.rs | 1 + + tests/coverage/mcdc/if.rs | 1 + + tests/coverage/mcdc/inlined_expressions.rs | 1 + + tests/coverage/mcdc/nested_if.rs | 1 + + tests/coverage/mcdc/non_control_flow.rs | 1 + + 6 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +index 4cdd8af1008c0..2ff7335a0fc81 100644 +--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp ++++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +@@ -1555,7 +1555,7 @@ LLVMRustGetInstrProfMCDCTVBitmapUpdateIntrinsic(LLVMModuleRef M) { + + extern "C" LLVMValueRef + LLVMRustGetInstrProfMCDCCondBitmapIntrinsic(LLVMModuleRef M) { +-#if LLVM_VERSION_GE(18, 0) ++#if LLVM_VERSION_GE(18, 0) && LLVM_VERSION_LT(19, 0) + return wrap(llvm::Intrinsic::getDeclaration( + unwrap(M), llvm::Intrinsic::instrprof_mcdc_condbitmap_update)); + #else diff --git a/packages/rust/build.sh b/packages/rust/build.sh index abc38ead92bf98..6b98a7d35f0e54 100644 --- a/packages/rust/build.sh +++ b/packages/rust/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Systems programming language focused on safety, speed an TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1.81.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/rustc-${TERMUX_PKG_VERSION}-src.tar.xz TERMUX_PKG_SHA256=36217ef7e32f40a180e3d79bd666b4dfdaed49dd381023a5fb765fd12d0092ce _LLVM_MAJOR_VERSION=$(. $TERMUX_SCRIPTDIR/packages/libllvm/build.sh; echo $LLVM_MAJOR_VERSION) @@ -32,7 +33,7 @@ termux_pkg_auto_update() { local api_url2="https://forge.rust-lang.org/infra/other-installation-methods.html" local api_url1_r=$(curl -Ls "${api_url1}") local api_url2_r=$(curl -Ls "${api_url2}") - local latest_version=$(echo "${api_url1_r}" | grep "html" | sed -ne "s|.*Stable: \([0-9]*\+.\+[0-9]*\+.\+[0-9]*\) Beta:.*|\1|p") + local latest_version=$(echo "${api_url1_r}" | sed -ne "s|.*Stable: \([0-9]*\+.\+[0-9]*\+.\+[0-9]*\) Beta:.*|\1|p") if [[ "${latest_version}" == "${TERMUX_PKG_VERSION}" ]]; then echo "INFO: Already up to date." return @@ -48,7 +49,7 @@ termux_pkg_auto_update() { local uptime_now=$(cat /proc/uptime) local uptime_s="${uptime_now//.*}" - local uptime_h_limit=4 + local uptime_h_limit=2 local uptime_s_limit=$((uptime_h_limit*60*60)) [[ -z "${uptime_s}" ]] && [[ "$(uname -o)" != "Android" ]] && e=1 [[ "${uptime_s}" == 0 ]] && [[ "$(uname -o)" != "Android" ]] && e=1 @@ -132,7 +133,7 @@ termux_step_configure() { # like 30 to 40 + minutes ... so lets get it right # upstream tests build using versions N and N-1 - local BOOTSTRAP_VERSION=1.80.0 + local BOOTSTRAP_VERSION=1.80.1 if [[ "${TERMUX_ON_DEVICE_BUILD}" == "false" ]]; then if ! rustup install "${BOOTSTRAP_VERSION}"; then echo "WARN: ${BOOTSTRAP_VERSION} is unavailable, fallback to stable version!" From 56a5408f3e58426877c99ff0e01614da1d61226b Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 06:11:27 +0000 Subject: [PATCH 087/453] bump(main/termux-tools): 1.43.6 This commit has been automatically submitted by Github Actions. --- packages/termux-tools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 0b932d6f8c2123..f32e119d6518df 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://termux.dev/ TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.43.5" +TERMUX_PKG_VERSION="1.43.6" TERMUX_PKG_SRCURL=https://github.com/termux/termux-tools/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=827f61aeb3a514ee84802554c6375e658f5e717c08266dd7880a0b6854818b15 +TERMUX_PKG_SHA256=07b51cdac0d10f77375e3a7533f69d55aab30eac993a69fe638de5868066b382 TERMUX_PKG_ESSENTIAL=true TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" From 8b9195b163d87e008c834e218b04358426f25047 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 06:11:49 +0000 Subject: [PATCH 088/453] bump(main/libnftnl): 1.2.8 This commit has been automatically submitted by Github Actions. --- packages/libnftnl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libnftnl/build.sh b/packages/libnftnl/build.sh index 68019e3255fece..5c9f5417a6c7fe 100644 --- a/packages/libnftnl/build.sh +++ b/packages/libnftnl/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.netfilter.org/projects/libnftnl/ TERMUX_PKG_DESCRIPTION="Netfilter library providing interface to the nf_tables subsystem" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.2.7" +TERMUX_PKG_VERSION="1.2.8" TERMUX_PKG_SRCURL=https://netfilter.org/projects/libnftnl/files/libnftnl-$TERMUX_PKG_VERSION.tar.xz -TERMUX_PKG_SHA256=9122774f968093d5c0bacddd67de480f31fa4073405a7fc058a34b0f387aecb3 +TERMUX_PKG_SHA256=37fea5d6b5c9b08de7920d298de3cdc942e7ae64b1a3e8b880b2d390ae67ad95 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libmnl" TERMUX_PKG_BREAKS="libnftnl-dev" From 9573b2df6208129083f1bca0d6ad06b98c916887 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 06:13:38 +0000 Subject: [PATCH 089/453] bump(main/tdl): 0.17.5 This commit has been automatically submitted by Github Actions. --- packages/tdl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tdl/build.sh b/packages/tdl/build.sh index b8042100be792d..65cf6c9a573737 100644 --- a/packages/tdl/build.sh +++ b/packages/tdl/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Telegram downloader/tools written in Golang" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.17.4" +TERMUX_PKG_VERSION="0.17.5" TERMUX_PKG_SRCURL=https://github.com/iyear/tdl/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=c3f7fa6e8f5067a0de75df28f8a34bee7a3e586ece6f912cf335bc04ef7ee85b +TERMUX_PKG_SHA256=26e3153430cd56174494e0f8055711659f58cdf9cd409232fa95eb68586436d8 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 6112c7085b70b6159eb0dcc55b32f951ef8166a3 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 12:12:59 +0000 Subject: [PATCH 090/453] bump(main/boxes): 2.3.1 This commit has been automatically submitted by Github Actions. --- packages/boxes/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/boxes/build.sh b/packages/boxes/build.sh index 15cc1de2282afc..548bc70ee69e10 100644 --- a/packages/boxes/build.sh +++ b/packages/boxes/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://boxes.thomasjensen.com/ TERMUX_PKG_DESCRIPTION="A command line filter program which draws ASCII art boxes around your input text" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.3.0" +TERMUX_PKG_VERSION="2.3.1" TERMUX_PKG_SRCURL=https://github.com/ascii-boxes/boxes/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e226b4ff91e1260fc80e8312b39cde5a783b96e9f248530eae941b7f1bf6342a +TERMUX_PKG_SHA256=0834e54c0d5293950412729cabf16ada3076a804eacba8f1aacc5381dfe3a96a TERMUX_PKG_DEPENDS="libunistring, ncurses, pcre2" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 10753d4cb1d8df5719833664b6b46c14e0c2f011 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 12:14:38 +0000 Subject: [PATCH 091/453] bump(main/eza): 0.20.1 This commit has been automatically submitted by Github Actions. --- packages/eza/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eza/build.sh b/packages/eza/build.sh index 795fe08f680c41..20aa460d85d824 100644 --- a/packages/eza/build.sh +++ b/packages/eza/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/eza-community/eza TERMUX_PKG_DESCRIPTION="A modern replacement for ls" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.20.0" +TERMUX_PKG_VERSION="0.20.1" TERMUX_PKG_SRCURL=https://github.com/eza-community/eza/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e6c058b13aecbed9f037c0607f0df19bc0a3532fea14dacd0090878ed4bbfadc +TERMUX_PKG_SHA256=e78a84cc5324ebb6481293d32edfdbc7de78511d5190b4808a0896f8ce4d652e TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libgit2" TERMUX_PKG_BREAKS="exa" From bd58df2fe707b8f9cded1bb3595067451f4e232e Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 12:19:11 +0000 Subject: [PATCH 092/453] bump(main/pgroonga): 3.2.4 This commit has been automatically submitted by Github Actions. --- packages/pgroonga/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pgroonga/build.sh b/packages/pgroonga/build.sh index 9f9c60969193c4..a66384bde11989 100644 --- a/packages/pgroonga/build.sh +++ b/packages/pgroonga/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="A PostgreSQL extension to use Groonga as index" TERMUX_PKG_LICENSE="PostgreSQL" TERMUX_PKG_LICENSE_FILE="COPYING" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.2.3" +TERMUX_PKG_VERSION="3.2.4" TERMUX_PKG_SRCURL=https://github.com/pgroonga/pgroonga/releases/download/${TERMUX_PKG_VERSION}/pgroonga-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=93df838222f3536700de3bf0de9305eff1660c6c6c098b4039a52d7f62cc4e7c +TERMUX_PKG_SHA256=591aa7cbd4920e01211c0a74e36e6b286aa332d55892615df1c389eb66fd5bff TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_DEPENDS="groonga, libmsgpack, xxhash" From 82c16ae07e865e89178fd22cb9c6993c969b8d43 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 3 Oct 2024 13:13:15 +0000 Subject: [PATCH 093/453] bump(main/neovim): 0.10.2 --- packages/neovim/build.sh | 5 ++--- packages/neovim/src-nvim-po-CMakeLists.txt.patch | 13 +++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/neovim/build.sh b/packages/neovim/build.sh index f28a59a70b458c..ae608d98f4cfb8 100644 --- a/packages/neovim/build.sh +++ b/packages/neovim/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility TERMUX_PKG_LICENSE="Apache-2.0, VIM License" TERMUX_PKG_LICENSE_FILE="LICENSE.txt" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.10.1" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="0.10.2" TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=edce96e79903adfcb3c41e9a8238511946325ea9568fde177a70a614501af689 +TERMUX_PKG_SHA256=546cb2da9fffbb7e913261344bbf4cf1622721f6c5a67aa77609e976e78b8e89 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_VERSION_REGEXP="^\d+\.\d+\.\d+$" TERMUX_PKG_DEPENDS="libiconv, libuv, luv, libmsgpack, libvterm (>= 1:0.3-0), libluajit, libunibilium, libandroid-support, lua51-lpeg, tree-sitter, tree-sitter-parsers" diff --git a/packages/neovim/src-nvim-po-CMakeLists.txt.patch b/packages/neovim/src-nvim-po-CMakeLists.txt.patch index 9793d1ee2f0125..ffaec8f6423bf2 100644 --- a/packages/neovim/src-nvim-po-CMakeLists.txt.patch +++ b/packages/neovim/src-nvim-po-CMakeLists.txt.patch @@ -1,24 +1,25 @@ diff --git a/src/nvim/po/CMakeLists.txt b/src/nvim/po/CMakeLists.txt -index 6c2008926..75884bfff 100644 +index 348ba28..d49454b 100644 --- a/src/nvim/po/CMakeLists.txt +++ b/src/nvim/po/CMakeLists.txt -@@ -53,13 +53,13 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) +@@ -53,14 +53,14 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) list(SORT NVIM_RELATIVE_SOURCES) add_custom_command( OUTPUT ${NVIM_POT} - COMMAND $ -u NONE -i NONE -n --headless --cmd "set cpo+=+" + COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" -u NONE -i NONE -n --headless --cmd "set cpo+=+" - -S ${CMAKE_CURRENT_SOURCE_DIR}/tojavascript.vim ${NVIM_POT} ${PROJECT_SOURCE_DIR}/runtime/optwin.vim + -c "silent source ${CMAKE_CURRENT_SOURCE_DIR}/tojavascript.vim" + ${NVIM_POT} ${PROJECT_SOURCE_DIR}/runtime/optwin.vim COMMAND ${XGETTEXT_PRG} -o ${NVIM_POT} --default-domain=nvim --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 -D ${CMAKE_CURRENT_SOURCE_DIR} -D ${CMAKE_CURRENT_BINARY_DIR} ${NVIM_RELATIVE_SOURCES} optwin.js - COMMAND $ -u NONE -i NONE -n --headless --cmd "set cpo+=+" + COMMAND "${PROJECT_BINARY_DIR}/../host-build/bin/nvim" -u NONE -i NONE -n --headless --cmd "set cpo+=+" - -S ${CMAKE_CURRENT_SOURCE_DIR}/fixfilenames.vim ${NVIM_POT} ../../../runtime/optwin.vim + -c "silent source ${CMAKE_CURRENT_SOURCE_DIR}/fixfilenames.vim" + ${NVIM_POT} ${PROJECT_SOURCE_DIR}/runtime/optwin.vim VERBATIM - DEPENDS ${NVIM_SOURCES} nvim_bin nvim_runtime_deps) -@@ -88,7 +88,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) +@@ -90,7 +90,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) set(poFile ${CMAKE_CURRENT_SOURCE_DIR}/${name}.po) add_custom_target(check-po-${name} From ca930139f7dda75706e5d07da3e8ec2827a64eaa Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:11:00 +0000 Subject: [PATCH 094/453] bump(main/buf): 1.44.0 This commit has been automatically submitted by Github Actions. --- packages/buf/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/buf/build.sh b/packages/buf/build.sh index 139b1ec869c24e..d68f3e5fa75db0 100644 --- a/packages/buf/build.sh +++ b/packages/buf/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://buf.build TERMUX_PKG_DESCRIPTION="A new way of working with Protocol Buffers" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.43.0" +TERMUX_PKG_VERSION="1.44.0" TERMUX_PKG_SRCURL=https://github.com/bufbuild/buf/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=08d2099a3fd90945228c68077bea101a67076170574f73e74f70b6025e2e02c0 +TERMUX_PKG_SHA256=95c2971e7d30f21e2351d6dfedb1ef58dbdf3676ff6f19dc1461307a5fa2b2f2 TERMUX_PKG_AUTO_UPDATE=true termux_step_make() { From a883a8c1d490efb849f25eeb5331fa02d2668a43 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:11:30 +0000 Subject: [PATCH 095/453] bump(main/lesspipe): 2.15 This commit has been automatically submitted by Github Actions. --- packages/lesspipe/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lesspipe/build.sh b/packages/lesspipe/build.sh index b11461b3d3cbe9..80e5cb9f332bbc 100644 --- a/packages/lesspipe/build.sh +++ b/packages/lesspipe/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html TERMUX_PKG_DESCRIPTION="An input filter for the pager less" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.14" +TERMUX_PKG_VERSION="2.15" TERMUX_PKG_SRCURL=https://github.com/wofr06/lesspipe/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=8da921f34b428f6347a37c36b167a523bbacada7dbdd952b708f554012867b67 +TERMUX_PKG_SHA256=dd65d211f0f817b4c361c434fd09ecbcd4a642636f3dc0fc1c575f2fa88506ac TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="less" TERMUX_PKG_BUILD_DEPENDS="bash-completion" From 4d427fa076ec9336449743c424ca77ac19a62214 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:11:52 +0000 Subject: [PATCH 096/453] bump(main/libmosquitto): 2.0.19 This commit has been automatically submitted by Github Actions. --- packages/libmosquitto/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libmosquitto/build.sh b/packages/libmosquitto/build.sh index 438fff15fedfc6..56a4fb542d05dc 100644 --- a/packages/libmosquitto/build.sh +++ b/packages/libmosquitto/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://mosquitto.org/ TERMUX_PKG_DESCRIPTION="MQTT library" TERMUX_PKG_LICENSE="EPL-1.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.0.18" +TERMUX_PKG_VERSION="2.0.19" TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a +TERMUX_PKG_SHA256=33af3637f119a61c509c01d2f8f6cc3d8be76f49e850132f2860af142abf82a9 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="c-ares, libc++, openssl" TERMUX_PKG_BREAKS="libmosquitto-dev" From 58c54dc402d9be0dbd93b272faf71430f0110052 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:12:57 +0000 Subject: [PATCH 097/453] bump(main/libunbound): 1.21.1 This commit has been automatically submitted by Github Actions. --- packages/libunbound/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libunbound/build.sh b/packages/libunbound/build.sh index 79eeaec5d96118..634cad8746b99a 100644 --- a/packages/libunbound/build.sh +++ b/packages/libunbound/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://unbound.net/ TERMUX_PKG_DESCRIPTION="A validating, recursive, caching DNS resolver" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.21.0" +TERMUX_PKG_VERSION="1.21.1" TERMUX_PKG_SRCURL=https://nlnetlabs.nl/downloads/unbound/unbound-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e7dca7d6b0f81bdfa6fa64ebf1053b5a999a5ae9278a87ef182425067ea14521 +TERMUX_PKG_SHA256=3036d23c23622b36d3c87e943117bdec1ac8f819636eb978d806416b0fa9ea46 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libevent, libnghttp2, openssl, resolv-conf" TERMUX_PKG_BUILD_DEPENDS="python, swig" From 951bdb9230c597190521ff26c9b8d8380e12f29d Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:15:19 +0000 Subject: [PATCH 098/453] bump(main/mupdf): 1.24.10 This commit has been automatically submitted by Github Actions. --- packages/mupdf/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mupdf/build.sh b/packages/mupdf/build.sh index fda0698693f08d..f42ce3443d9713 100644 --- a/packages/mupdf/build.sh +++ b/packages/mupdf/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://mupdf.com/ TERMUX_PKG_DESCRIPTION="Lightweight PDF and XPS viewer (library)" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.24.9" +TERMUX_PKG_VERSION="1.24.10" TERMUX_PKG_SRCURL=https://mupdf.com/downloads/archive/mupdf-${TERMUX_PKG_VERSION}-source.tar.gz -TERMUX_PKG_SHA256=0b446aa0eecc114e9969dccd70c9789358fccb6589a81d470dc941a0874da98a +TERMUX_PKG_SHA256=939285b5f97caf770fd46cbe7e6cc3a695ab19bb5bfaf5712904549cef390b7b TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="freetype, gumbo-parser, harfbuzz, jbig2dec, leptonica, libc++, libjpeg-turbo, openjpeg, tesseract, zlib" TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX build=release libs shared=yes tesseract=yes V=1" From 10be87e6b82c75352adc3c2955f01aee22636e1c Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:19:04 +0000 Subject: [PATCH 099/453] bump(main/vtm): 0.9.99.21 This commit has been automatically submitted by Github Actions. --- packages/vtm/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vtm/build.sh b/packages/vtm/build.sh index d62cfda7b97386..2d16c38f87f92a 100644 --- a/packages/vtm/build.sh +++ b/packages/vtm/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Terminal multiplexer with TUI window manager and multi-p TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.9.99.20" +TERMUX_PKG_VERSION="0.9.99.21" TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=a5cbd62b970de8bd6a8fc7ceb69946b31950a0f2f0e684b8cbf67a07193d8a8a +TERMUX_PKG_SHA256=87569d826ea4cdf72b1666cb87c95b2aca9c33563045ffa5680eea37df6ae84d TERMUX_PKG_DEPENDS="libc++" TERMUX_PKG_BUILD_DEPENDS="libandroid-spawn" TERMUX_PKG_BUILD_IN_SRC=true From a3663f82e55fc639485fefb71d01ceaf032cdf44 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Thu, 3 Oct 2024 18:23:06 +0000 Subject: [PATCH 100/453] bump(main/zrok): 0.4.41 This commit has been automatically submitted by Github Actions. --- packages/zrok/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zrok/build.sh b/packages/zrok/build.sh index 0b8f756d5eeb77..0e06fa8c49eadc 100644 --- a/packages/zrok/build.sh +++ b/packages/zrok/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://zrok.io/ TERMUX_PKG_DESCRIPTION="An open source sharing solution built on OpenZiti." TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.4.40" +TERMUX_PKG_VERSION="0.4.41" TERMUX_PKG_SRCURL=https://github.com/openziti/zrok/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=dcec641cd0932c426eba0285308b19330714c186e800fe7a6470d6af38e6d403 +TERMUX_PKG_SHA256=aa7adb3cc25ea192afadbb8e7e99d51e5ae2244c1abab62068d313fac5865291 TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true From 1e085edeabb4fb36de9a7de1320d3c7398cfdde3 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 3 Oct 2024 18:25:23 +0000 Subject: [PATCH 101/453] bump(x11/qt6-qtbase): 6.7.3 --- x11-packages/qt6-qtbase/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtbase/build.sh b/x11-packages/qt6-qtbase/build.sh index 6dac9ae83e7e28..04bea0f9d6d9df 100644 --- a/x11-packages/qt6-qtbase/build.sh +++ b/x11-packages/qt6-qtbase/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A cross-platform application and UI framework" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE_FILE="LICENSES/GPL-3.0-only.txt" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=2 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtbase-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=c5f22a5e10fb162895ded7de0963328e7307611c688487b5d152c9ee64767599 +TERMUX_PKG_SHA256=8ccbb9ab055205ac76632c9eeddd1ed6fc66936fc56afc2ed0fd5d9e23da3097 TERMUX_PKG_DEPENDS="brotli, double-conversion, freetype, glib, harfbuzz, libandroid-posix-semaphore, libandroid-shmem, libc++, libdrm, libice, libicu, libjpeg-turbo, libpng, libsm, libsqlite, libuuid, libx11, libxcb, libxi, libxkbcommon, libwayland, opengl, openssl, pcre2, vulkan-loader, xcb-util-cursor, xcb-util-image, xcb-util-keysyms, xcb-util-renderutil, xcb-util-wm, zlib, zstd" TERMUX_PKG_BUILD_DEPENDS="binutils-cross, libwayland-protocols, vulkan-headers, vulkan-loader-generic" TERMUX_PKG_HOSTBUILD=true From bc951f331e488c1c0e110d03b0dc1561ab5d7e24 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 00:27:52 +0000 Subject: [PATCH 102/453] bump(main/flyctl): 0.3.15 This commit has been automatically submitted by Github Actions. --- packages/flyctl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flyctl/build.sh b/packages/flyctl/build.sh index 1281f297082b09..60062ee5aa9f9d 100644 --- a/packages/flyctl/build.sh +++ b/packages/flyctl/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://fly.io TERMUX_PKG_DESCRIPTION="Command line tools for fly.io services" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="Yaksh Bariya " -TERMUX_PKG_VERSION="0.3.14" +TERMUX_PKG_VERSION="0.3.15" TERMUX_PKG_SRCURL=https://github.com/superfly/flyctl/archive/v$TERMUX_PKG_VERSION.tar.gz -TERMUX_PKG_SHA256=3fe214e1b641c5846d728da4af2e68da1bb8b823eaffa7d6456b5146658f6a2e +TERMUX_PKG_SHA256=dae0f43b4362933d6f0a70c20cc4c500fef9c7256362ad8a4423bc1458a232a6 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BLACKLISTED_ARCHES="i686, arm" From a3075489f3faf8ee20d72de2020cbab0f8bc41a5 Mon Sep 17 00:00:00 2001 From: TomIO <43716232+TomJo2000@users.noreply.github.com> Date: Fri, 4 Oct 2024 03:57:10 +0200 Subject: [PATCH 103/453] chore(main/typst): do not update to release candidates (#21652) resolves #21650 %ci:no-build --- packages/typst/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/typst/build.sh b/packages/typst/build.sh index 196738b0babcaf..72a288f32c4c1d 100644 --- a/packages/typst/build.sh +++ b/packages/typst/build.sh @@ -7,6 +7,7 @@ TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=git+https://github.com/typst/typst TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true +TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+" TERMUX_PKG_DEPENDS="openssl" termux_step_pre_configure() { From 55a170291b28ad470bc0848f06aeb04691332319 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Thu, 3 Oct 2024 22:43:52 -0400 Subject: [PATCH 104/453] fix(main/nushell): Build with default features Clipboard integration historically hasn't worked on Termux anyway, so cargo's features were chosen to explicitly opt into a feature that included all default features except clipboard support. 9f0a6bee57dd96fd608ffefb166686111d4682d8 upgraded to 0.98.0, which removed support for clipboard integration, and thus the need for that feature flag went away. Unfortunately, it removed the `default-no-clipboard` feature, but not the `no-default-features` flag, so the resulting binary is missing a lot of stuff, like plug-in support, sqlite, and others. This fixes that by removing the `--no-default-features` flag. --- packages/nushell/build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/nushell/build.sh b/packages/nushell/build.sh index e2bfd22acbe43f..428c0a58ea1677 100644 --- a/packages/nushell/build.sh +++ b/packages/nushell/build.sh @@ -3,14 +3,12 @@ TERMUX_PKG_DESCRIPTION="A new type of shell operating on structured data" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.98.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/nushell/nushell/archive/$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=c77fd63c4a5f2d35f7dcbb3e9bd76dfaa23acc6bc21fb1de4e7a4a94dc458839 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="openssl" TERMUX_PKG_BUILD_IN_SRC=true -TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ---no-default-features -" termux_step_pre_configure() { termux_setup_rust From df10acb7b070b123cb92b8a76ed1fc06dfb96b35 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 11:32:46 +0530 Subject: [PATCH 105/453] fix(main/mesa): Rebuild after llvm 19 update (#21649) This fixes the following runtime error. MESA-LOADER: failed to open swrast: dlopen failed: cannot locate symbol LLVMLinkInMCJIT referenced by /data/data/com.termux/usr/lib/dri/kms_swrast_dri.so... (search paths /data/data/com.termux/files/usr/lib/dri, suffix _dri) Besides, add libllvm to DEPENDS, as shared-llvm build options doesn't work for some reason. --------- Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com> --- packages/mesa/0010-llvm-19.1.0.patch | 26 ++++++++++++++++++++++++++ packages/mesa/build.sh | 10 +++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 packages/mesa/0010-llvm-19.1.0.patch diff --git a/packages/mesa/0010-llvm-19.1.0.patch b/packages/mesa/0010-llvm-19.1.0.patch new file mode 100644 index 00000000000000..0945a21bdd2bb1 --- /dev/null +++ b/packages/mesa/0010-llvm-19.1.0.patch @@ -0,0 +1,26 @@ +--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp ++++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +@@ -402,8 +402,12 @@ + * which allows us to enable/disable code generation based + * on the results of cpuid on these architectures. + */ ++#if LLVM_VERSION_MAJOR >= 19 && LLVM_VERSION_MINOR >= 1 ++ llvm::StringMap features = llvm::sys::getHostCPUFeatures(); ++#else + llvm::StringMap features; + llvm::sys::getHostCPUFeatures(features); ++#endif + + for (StringMapIterator f = features.begin(); + f != features.end(); +@@ -443,8 +447,10 @@ + /* All avx512 have avx512f */ + MAttrs.push_back(util_get_cpu_caps()->has_avx512f ? "+avx512f" : "-avx512f"); + MAttrs.push_back(util_get_cpu_caps()->has_avx512cd ? "+avx512cd" : "-avx512cd"); ++#if LLVM_VERSION_MAJOR < 19 + MAttrs.push_back(util_get_cpu_caps()->has_avx512er ? "+avx512er" : "-avx512er"); + MAttrs.push_back(util_get_cpu_caps()->has_avx512pf ? "+avx512pf" : "-avx512pf"); ++#endif + MAttrs.push_back(util_get_cpu_caps()->has_avx512bw ? "+avx512bw" : "-avx512bw"); + MAttrs.push_back(util_get_cpu_caps()->has_avx512dq ? "+avx512dq" : "-avx512dq"); + MAttrs.push_back(util_get_cpu_caps()->has_avx512vl ? "+avx512vl" : "-avx512vl"); diff --git a/packages/mesa/build.sh b/packages/mesa/build.sh index cd32e79af11e0d..f387eaee3eb54e 100644 --- a/packages/mesa/build.sh +++ b/packages/mesa/build.sh @@ -4,15 +4,19 @@ TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="docs/license.rst" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="24.0.8" +TERMUX_PKG_REVISION=1 +_LLVM_MAJOR_VERSION=$(. $TERMUX_SCRIPTDIR/packages/libllvm/build.sh; echo $LLVM_MAJOR_VERSION) +_LLVM_MAJOR_VERSION_NEXT=$((_LLVM_MAJOR_VERSION + 1)) TERMUX_PKG_SRCURL=https://archive.mesa3d.org/mesa-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=d1ed86a266d5b7b8c136ae587ef5618ed1a9837a43440f3713622bf0123bf5c1 TERMUX_PKG_AUTO_UPDATE=true -TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libdrm, libglvnd, libwayland, libx11, libxext, libxfixes, libxshmfence, libxxf86vm, ncurses, vulkan-loader, zlib, zstd" +TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libdrm, libglvnd, libllvm (<< ${_LLVM_MAJOR_VERSION_NEXT}), libwayland, libx11, libxext, libxfixes, libxshmfence, libxxf86vm, ncurses, vulkan-loader, zlib, zstd" TERMUX_PKG_SUGGESTS="mesa-dev" -TERMUX_PKG_BUILD_DEPENDS="libllvm-static, libwayland-protocols, libxrandr, llvm, llvm-tools, mlir, xorgproto" +TERMUX_PKG_BUILD_DEPENDS="libwayland-protocols, libxrandr, llvm, llvm-tools, mlir, xorgproto" TERMUX_PKG_CONFLICTS="libmesa, ndk-sysroot (<= 25b)" TERMUX_PKG_REPLACES="libmesa" +# FIXME: Set `shared-llvm` to disabled if possible TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --cmake-prefix-path $TERMUX_PREFIX -Dcpp_rtti=false @@ -25,7 +29,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Ddri3=enabled -Dglx=dri -Dllvm=enabled --Dshared-llvm=disabled +-Dshared-llvm=enabled -Dplatforms=x11,wayland -Dgallium-drivers=swrast,virgl,zink -Dosmesa=true From b4ddcb4f56a1ba5cf39f283b54bd8212b8663ef2 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 06:12:14 +0000 Subject: [PATCH 106/453] bump(main/tree-sitter): 0.24.1 This commit has been automatically submitted by Github Actions. --- packages/tree-sitter/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tree-sitter/build.sh b/packages/tree-sitter/build.sh index e0f0456a7fb465..84af4c07d9f1ce 100644 --- a/packages/tree-sitter/build.sh +++ b/packages/tree-sitter/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tree-sitter/tree-sitter TERMUX_PKG_DESCRIPTION="An incremental parsing system for programming tools" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" -TERMUX_PKG_VERSION="0.23.2" +TERMUX_PKG_VERSION="0.24.1" TERMUX_PKG_SRCURL=https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=ad81a585e399093bcba2fab179bf8971fdebaf701758af20d84d21f24fdf1b50 +TERMUX_PKG_SHA256=7adb5bb3b3c2c4f4fdc980a9a13df8fbf3526a82b5c37dd9cf2ed29de56a4683 TERMUX_PKG_BREAKS="libtreesitter" TERMUX_PKG_REPLACES="libtreesitter" TERMUX_PKG_AUTO_UPDATE=true From 13fdf5671735426d8f725e01a5bea552bb39135a Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 06:13:30 +0000 Subject: [PATCH 107/453] bump(main/sops): 3.9.1 This commit has been automatically submitted by Github Actions. --- packages/sops/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sops/build.sh b/packages/sops/build.sh index 62651df178e590..a5d5c6c7d18db4 100644 --- a/packages/sops/build.sh +++ b/packages/sops/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/getsops/sops TERMUX_PKG_DESCRIPTION="Simple and flexible tool for managing secrets" TERMUX_PKG_LICENSE="MPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.9.0" +TERMUX_PKG_VERSION="3.9.1" TERMUX_PKG_SRCURL=https://github.com/getsops/sops/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=eda01428a4178903b2d9552940fe441d93fab7b4582cd3f5fee7b6b73404d8cb +TERMUX_PKG_SHA256=d79e8caaef3134d00f759231e8ef587b791996e2e45319ffe83dee1ab01aebda TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag" From 86c5e5658a4894a170e95b0a67e9e1c4b802d623 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 10:18:58 +0000 Subject: [PATCH 108/453] bump(x11/qt6-shadertools): 6.7.3 --- x11-packages/qt6-shadertools/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-shadertools/build.sh b/x11-packages/qt6-shadertools/build.sh index a91ae6bf68de24..c5015fbf0b3146 100644 --- a/x11-packages/qt6-shadertools/build.sh +++ b/x11-packages/qt6-shadertools/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Qt6 Shader Tools" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtshadertools-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=edfa34c0ac8c00fcaa949df1d8e7a77d89dadd6386e683ce6c3e3b117e2f7cc1 +TERMUX_PKG_SHA256=74e512798c7ddbda354a2d8d975211454bbabb47afb7e598892067a5828c0995 TERMUX_PKG_DEPENDS="libc++, qt6-qtbase" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From e3728dd29996db6adc66e0ae77d32483cfc0544c Mon Sep 17 00:00:00 2001 From: Kevin Williams Date: Wed, 2 Oct 2024 09:49:24 +0800 Subject: [PATCH 109/453] upgpkg(main/parallel): 20240922 --- packages/parallel/build.sh | 4 ++-- packages/parallel/parallel.patch | 21 +++++++++++++-------- packages/parallel/sem.patch | 22 +++++++++++++--------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/packages/parallel/build.sh b/packages/parallel/build.sh index ef6c9818a56a05..6afe42612082cf 100644 --- a/packages/parallel/build.sh +++ b/packages/parallel/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/parallel/ TERMUX_PKG_DESCRIPTION="GNU Parallel is a shell tool for executing jobs in parallel using one or more machines" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="20240822" +TERMUX_PKG_VERSION="20240922" TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/parallel/parallel-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=d7bbd95b7631980b172be04cbd2138d5f7d8c063d6da5ad8f9f70dfd88c8309d +TERMUX_PKG_SHA256=63210715e8b7c5e129e098f333cd7cdd5fc7a2f325e8e0fb9ed6edba9f1acbc4 TERMUX_PKG_DEPENDS="perl" TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_AUTO_UPDATE=true diff --git a/packages/parallel/parallel.patch b/packages/parallel/parallel.patch index 4d69bcaa155690..1b024c269aa561 100644 --- a/packages/parallel/parallel.patch +++ b/packages/parallel/parallel.patch @@ -1,16 +1,21 @@ + diff -uNr parallel/src/parallel parallel.mod/src/parallel --- parallel/src/parallel 2023-09-28 21:55:48.803300511 +0800 +++ parallel.mod/src/parallel 2023-09-28 21:58:17.203300520 +0800 -@@ -2241,7 +2241,7 @@ +@@ -2335,10 +2335,10 @@ ## Shell # - $Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$) -- || $ENV{'SHELL'} || "/bin/sh"; -+ || $ENV{'SHELL'} || "@TERMUX_PREFIX@/bin/sh"; + if($opt::fast) { +- $Global::shell = $ENV{'PARALLEL_SHELL'} || which("dash") || "/bin/sh"; ++ $Global::shell = $ENV{'PARALLEL_SHELL'} || which("dash") || "@TERMUX_PREFIX@/bin/sh"; + } else { + $Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$) +- || $ENV{'SHELL'} || "/bin/sh"; ++ || $ENV{'SHELL'} || "@TERMUX_PREFIX@/bin/sh"; + } if(not -x $Global::shell and not which($Global::shell)) { ::error("Shell '$Global::shell' not found."); - wait_and_exit(255); -@@ -2917,14 +2917,14 @@ +@@ -3009,14 +3009,14 @@ $Global::trim = 'n'; $Global::max_jobs_running = 0; $Global::job_already_run = ''; @@ -29,7 +34,7 @@ diff -uNr parallel/src/parallel parallel.mod/src/parallel } # no warnings to allow for undefined $XDG_* no warnings 'uninitialized'; -@@ -4972,7 +4972,7 @@ +@@ -5152,7 +5152,7 @@ unlink $stderrname; my $pid = ::open3($stdin_fh,$stdout_fh,$stderr_fh, @@ -38,7 +43,7 @@ diff -uNr parallel/src/parallel parallel.mod/src/parallel if(my $writerpid = fork()) { close $stdin_fh; @stdout = <$stdout_fh>; -@@ -8632,7 +8632,9 @@ +@@ -8949,7 +8949,9 @@ # 'threads' => #threads # 'active' => #taskset_threads } # Use GNU/Linux diff --git a/packages/parallel/sem.patch b/packages/parallel/sem.patch index 0cd1b09eec1a87..43caa04e63e9d1 100644 --- a/packages/parallel/sem.patch +++ b/packages/parallel/sem.patch @@ -2,16 +2,20 @@ diff --git a/sem b/sem index 873f294..4fa24cb 100644 --- a/src/sem +++ b/src/sem -@@ -2131,7 +2131,7 @@ sub parse_options(@) { - if($opt::bug) { ::die_bug("test-bug"); } - $Global::debug = $opt::D; - $Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$) -- || $ENV{'SHELL'} || "/bin/sh"; -+ || $ENV{'SHELL'} || "@TERMUX_PREFIX@/bin/sh"; +@@ -2335,10 +2335,10 @@ + ## Shell + # + if($opt::fast) { +- $Global::shell = $ENV{'PARALLEL_SHELL'} || which("dash") || "/bin/sh"; ++ $Global::shell = $ENV{'PARALLEL_SHELL'} || which("dash") || "@TERMUX_PREFIX@/bin/sh"; + } else { + $Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$) +- || $ENV{'SHELL'} || "/bin/sh"; ++ || $ENV{'SHELL'} || "@TERMUX_PREFIX@/bin/sh"; + } if(not -x $Global::shell and not which($Global::shell)) { ::error("Shell '$Global::shell' not found."); - wait_and_exit(255); -@@ -2869,14 +2869,14 @@ sub init_globals() { +@@ -3009,14 +3009,14 @@ $Global::trim = 'n'; $Global::max_jobs_running = 0; $Global::job_already_run = ''; @@ -30,7 +34,7 @@ index 873f294..4fa24cb 100644 } # no warnings to allow for undefined $XDG_* no warnings 'uninitialized'; -@@ -4688,7 +4688,7 @@ sub _run_gnu_parallel() { +@@ -5152,7 +5152,7 @@ unlink $stderrname; my $pid = ::open3($stdin_fh,$stdout_fh,$stderr_fh, From 33f6589a5ac3c3ee73bd19272fdae1b85c7b578b Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 12:13:46 +0000 Subject: [PATCH 110/453] bump(main/composer): 2.8.1 This commit has been automatically submitted by Github Actions. --- packages/composer/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/composer/build.sh b/packages/composer/build.sh index 5b20783b5bb640..8dbeadd4da2798 100644 --- a/packages/composer/build.sh +++ b/packages/composer/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://getcomposer.org/ TERMUX_PKG_DESCRIPTION="Dependency Manager for PHP" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.8.0" +TERMUX_PKG_VERSION="2.8.1" TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION TERMUX_PKG_SRCURL=git+https://github.com/composer/composer TERMUX_PKG_DEPENDS="php" From 79ea451682745b63e62091e35318b6d0057d38e2 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 12:22:00 +0000 Subject: [PATCH 111/453] bump(main/mold): 2.34.1 This commit has been automatically submitted by Github Actions. --- packages/mold/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mold/build.sh b/packages/mold/build.sh index a6b368647c946e..ea79f1d1a7f49a 100644 --- a/packages/mold/build.sh +++ b/packages/mold/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/rui314/mold TERMUX_PKG_DESCRIPTION="mold: A Modern Linker" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.34.0" +TERMUX_PKG_VERSION="2.34.1" TERMUX_PKG_SRCURL=https://github.com/rui314/mold/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6067f41f624c32cb0f4e959ae7fabee5dd71dd06771e2c069c2b3a6a8eca3c8c +TERMUX_PKG_SHA256=a8cf638045b4a4b2697d0bcc77fd96eae93d54d57ad3021bf03b0333a727a59d TERMUX_PKG_DEPENDS="libandroid-spawn, libc++, openssl, zlib, zstd" TERMUX_PKG_AUTO_UPDATE=true From 8cecfaff46a8c626c70666ab8f5020548597ed37 Mon Sep 17 00:00:00 2001 From: Ivan Max Date: Fri, 4 Oct 2024 15:35:39 +0300 Subject: [PATCH 112/453] termux_step_override_config_scripts.sh: do not replace files when compiling based on glibc (#21639) --- scripts/build/termux_step_override_config_scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/termux_step_override_config_scripts.sh b/scripts/build/termux_step_override_config_scripts.sh index 53d7115c90dc46..280f4e24cfa4df 100644 --- a/scripts/build/termux_step_override_config_scripts.sh +++ b/scripts/build/termux_step_override_config_scripts.sh @@ -7,7 +7,7 @@ termux_step_override_config_scripts() { # scripts can assume that it works on both builder and host later on: ln -sf /bin/sh "$TERMUX_PREFIX/bin/sh" - if [ "$TERMUX_INSTALL_DEPS" = false ]; then + if [ "$TERMUX_INSTALL_DEPS" = false ] || [ "$TERMUX_PACKAGE_LIBRARY" = "glibc" ]; then return fi From 4379f478d4d18dd7aa4f0c6382baa63744d76746 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 13:27:06 +0000 Subject: [PATCH 113/453] bump(x11/qt6-qtlanguageserver): 6.7.3 --- x11-packages/qt6-qtlanguageserver/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtlanguageserver/build.sh b/x11-packages/qt6-qtlanguageserver/build.sh index 1468d2eada14ea..51ccb548e358d5 100644 --- a/x11-packages/qt6-qtlanguageserver/build.sh +++ b/x11-packages/qt6-qtlanguageserver/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="An implementation of the Language Server Protocol" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtlanguageserver-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=b659fe655144ffa061e3ae509eadb42ae373230517295a96935434340e101a92 +TERMUX_PKG_SHA256=c56d3872428503d9e49bfc6fa1023332f035ffd711d39e904e50cd6bb1f9df8f TERMUX_PKG_DEPENDS="libc++, qt6-qtbase" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 23564e5cb4c6d10ac9c891414a253a98508966fb Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 13:43:33 +0000 Subject: [PATCH 114/453] bump(x11/qt6-qtdeclarative): 6.7.3 --- x11-packages/qt6-qtdeclarative/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtdeclarative/build.sh b/x11-packages/qt6-qtdeclarative/build.sh index 80671a3ca33894..ba7b828c6af770 100644 --- a/x11-packages/qt6-qtdeclarative/build.sh +++ b/x11-packages/qt6-qtdeclarative/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Classes for QML and JavaScript languages" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtdeclarative-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=4c29cba1af8c42d425d8eb6e01bad24cb80f4b983d71eef566a0542dfdb9b999 +TERMUX_PKG_SHA256=937b70e441abf5bc4e50d44d26610e2714a28514acf3885cd36116cd610b9875 TERMUX_PKG_DEPENDS="libc++, qt6-qtbase" TERMUX_PKG_BUILD_DEPENDS="qt6-qtlanguageserver, qt6-shadertools" TERMUX_PKG_RECOMMENDS="qt6-qtlanguageserver" From f07be853711e6265f7180f0b8cc6f3521ac60645 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 14:44:10 +0000 Subject: [PATCH 115/453] bump(x11/qt6-qtmultimedia): 6.7.3 --- x11-packages/qt6-qtmultimedia/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtmultimedia/build.sh b/x11-packages/qt6-qtmultimedia/build.sh index e96a4678ce2f44..957fbb612f58da 100644 --- a/x11-packages/qt6-qtmultimedia/build.sh +++ b/x11-packages/qt6-qtmultimedia/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Qt6 Multimedia Library" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtmultimedia-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=8ef835115acb9a1d3d2c9f23cfacb43f2c537e3786a8ab822299a2a7765651d3 +TERMUX_PKG_SHA256=304d28b8e592435293893b0110d5f3534407604d1e04d8a0b0e5b34afe577303 TERMUX_PKG_DEPENDS="glib, gst-plugins-bad, gst-plugins-base, gstreamer, libc++, opengl, pulseaudio, qt6-qtbase, qt6-qtdeclarative" TERMUX_PKG_BUILD_DEPENDS="qt6-shadertools" TERMUX_PKG_HOSTBUILD=true From edd8ff0b94bc7ce3a3044fb3720b5a550265bb30 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 15:09:51 +0000 Subject: [PATCH 116/453] fix(x11/qt6-qtmultimedia): Remove pulseaudio patch file The old files in config.tests were removed in upstream. https://code.qt.io/cgit/qt/qtmultimedia.git/commit/config.tests?id=bfe5eff94aa6c34d863d767935fd8ebc091c710b --- .../pulse_audio_without_glib.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 x11-packages/qt6-qtmultimedia/pulse_audio_without_glib.patch diff --git a/x11-packages/qt6-qtmultimedia/pulse_audio_without_glib.patch b/x11-packages/qt6-qtmultimedia/pulse_audio_without_glib.patch deleted file mode 100644 index 3dbef9b230c4c8..00000000000000 --- a/x11-packages/qt6-qtmultimedia/pulse_audio_without_glib.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/config.tests/pulseaudio/pulseaudio.cpp -+++ b/config.tests/pulseaudio/pulseaudio.cpp -@@ -2,7 +2,7 @@ - // SPDX-License-Identifier: BSD-3-Clause - - #include --#include -+#include - - #if !defined(PA_API_VERSION) || PA_API_VERSION-0 != 12 - # error "Incompatible PulseAudio API version" -@@ -12,6 +12,6 @@ - { - const char *headers = pa_get_headers_version(); - const char *library = pa_get_library_version(); -- pa_glib_mainloop_new(0); -+ pa_mainloop_new(); - return (headers - library) * 0; - } From a47907523cee936379a6fdb48d55e8b1f0bda7fe Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 15:20:42 +0000 Subject: [PATCH 117/453] bump(x11/qt6-qtimageformats): 6.7.3 --- x11-packages/qt6-qtimageformats/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtimageformats/build.sh b/x11-packages/qt6-qtimageformats/build.sh index e6beef7d620e2c..7f89af0c223ec9 100644 --- a/x11-packages/qt6-qtimageformats/build.sh +++ b/x11-packages/qt6-qtimageformats/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Plugins for additional image formats: TIFF, TGA, WBMP" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtimageformats-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=e1a1d8785fae67d16ad0a443b01d5f32663a6b68d275f1806ebab257485ce5d6 +TERMUX_PKG_SHA256=9fd58144081654c3373768dd96ead294023830927b14fe3d3c1ef641fb324753 TERMUX_PKG_DEPENDS="libc++, libjasper, libtiff, libwebp, qt6-qtbase" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 2feeadcc1723982252133fa8d8a0db4dfbd2fdbc Mon Sep 17 00:00:00 2001 From: Chongyun Lee Date: Fri, 4 Oct 2024 22:52:29 +0800 Subject: [PATCH 118/453] tree-sitter: fix soversion check --- packages/tree-sitter/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/tree-sitter/build.sh b/packages/tree-sitter/build.sh index 84af4c07d9f1ce..79fbc9ac7eda27 100644 --- a/packages/tree-sitter/build.sh +++ b/packages/tree-sitter/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="An incremental parsing system for programming tools" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" TERMUX_PKG_VERSION="0.24.1" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=7adb5bb3b3c2c4f4fdc980a9a13df8fbf3526a82b5c37dd9cf2ed29de56a4683 TERMUX_PKG_BREAKS="libtreesitter" @@ -13,7 +14,7 @@ TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_get_source() { # Do not forget to bump revision of reverse dependencies and rebuild them # after SOVERSION is changed. - local _SOVERSION=0 + local _SOVERSION=0.24 # New SO version is the major version of the package if [[ $TERMUX_PKG_VERSION != $_SOVERSION.* ]]; then From aa03ff522f90a500ce7d3b46849995eab5bf76a5 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:37:23 +0800 Subject: [PATCH 119/453] neovim: revbump to rebuild --- packages/neovim/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/neovim/build.sh b/packages/neovim/build.sh index ae608d98f4cfb8..6ca4eefaac54bf 100644 --- a/packages/neovim/build.sh +++ b/packages/neovim/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="Apache-2.0, VIM License" TERMUX_PKG_LICENSE_FILE="LICENSE.txt" TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000" TERMUX_PKG_VERSION="0.10.2" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=546cb2da9fffbb7e913261344bbf4cf1622721f6c5a67aa77609e976e78b8e89 TERMUX_PKG_AUTO_UPDATE=true From f030540a4a8be9dcded8f0ce8e33afb315ede787 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 15:47:51 +0000 Subject: [PATCH 120/453] bump(x11/qt6-qttools): 6.7.3 --- x11-packages/qt6-qttools/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qttools/build.sh b/x11-packages/qt6-qttools/build.sh index f0a588bd7d69b1..c064a2ca995ffc 100644 --- a/x11-packages/qt6-qttools/build.sh +++ b/x11-packages/qt6-qttools/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Qt Development Tools (Linguist, Assistant, Designer, etc.)" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qttools-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=58e855ad1b2533094726c8a425766b63a04a0eede2ed85086860e54593aa4b2a +TERMUX_PKG_SHA256=f03bb7df619cd9ac9dba110e30b7bcab5dd88eb8bdc9cc752563b4367233203f TERMUX_PKG_DEPENDS="libc++, qt6-qtbase, zstd" TERMUX_PKG_BUILD_DEPENDS="qt6-qtdeclarative" TERMUX_PKG_RECOMMENDS="qt6-qtdeclarative" From f310418fe3634b95c0c268b6f73f7ecf94c2f919 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 16:05:33 +0000 Subject: [PATCH 121/453] bump(x11/qt6-qttranslations): 6.7.3 --- x11-packages/qt6-qttranslations/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qttranslations/build.sh b/x11-packages/qt6-qttranslations/build.sh index f6d066783f2586..66071002a42bf3 100644 --- a/x11-packages/qt6-qttranslations/build.sh +++ b/x11-packages/qt6-qttranslations/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="A cross-platform application and UI framework (Translations)" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qttranslations-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=9845780b5dc1b7279d57836db51aeaf2e4a1160c42be09750616f39157582ca9 +TERMUX_PKG_SHA256=dcc762acac043b9bb5e4d369b6d6f53e0ecfcf76a408fe0db5f7ef071c9d6dc8 TERMUX_PKG_BUILD_DEPENDS="qt6-qttools" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 660d65c0b8aeff6d6f14813d9e345b64d6c58a5e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 16:08:31 +0000 Subject: [PATCH 122/453] bump(x11/qt6-qtcharts): 6.7.3 --- x11-packages/qt6-qtcharts/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtcharts/build.sh b/x11-packages/qt6-qtcharts/build.sh index 823f1af2c170d2..358d69db12f973 100644 --- a/x11-packages/qt6-qtcharts/build.sh +++ b/x11-packages/qt6-qtcharts/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Provides a set of easy to use chart components" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtcharts-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=00f6a437458b7f2c4e81d748dbe2a077567a9e6ad8d8e3820b36c39dc5279bda +TERMUX_PKG_SHA256=07ea63a550e6bcfa4a9c38056f7aa524357305572268fe26f6063d83e4233659 TERMUX_PKG_DEPENDS="libc++, qt6-qtbase, qt6-qtdeclarative" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 9115a2762f2ace8900eb53eab20eeeb11babea66 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 16:26:19 +0000 Subject: [PATCH 123/453] bump(x11/qt6-qtsvg): 6.7.3 --- x11-packages/qt6-qtsvg/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtsvg/build.sh b/x11-packages/qt6-qtsvg/build.sh index ea987d380a6707..16dbfaecd02b65 100644 --- a/x11-packages/qt6-qtsvg/build.sh +++ b/x11-packages/qt6-qtsvg/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Qt6 SVG Library" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtsvg-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=fb0d1286a35be3583fee34aeb5843c94719e07193bdf1d4d8b0dc14009caef01 +TERMUX_PKG_SHA256=40142cb71fb1e07ad612bc361b67f5d54cd9367f9979ae6b86124a064deda06b TERMUX_PKG_DEPENDS="libc++, qt6-qtbase, zlib" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 4b248e9205036d02625f2070d484a24e44300101 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 17:52:33 +0000 Subject: [PATCH 124/453] bump(x11/qt6-qtwayland): 6.7.3 --- x11-packages/qt6-qtwayland/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x11-packages/qt6-qtwayland/build.sh b/x11-packages/qt6-qtwayland/build.sh index 84e9f9b2a3387f..c2a587d598be4c 100644 --- a/x11-packages/qt6-qtwayland/build.sh +++ b/x11-packages/qt6-qtwayland/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Provides APIs for Wayland" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qtwayland-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=a2a057e1dd644bd44abb9990fecc194b2e25c2e0f39e81aa9fee4c1e5e2a8a5b +TERMUX_PKG_SHA256=e326c7ceb628f503bfc20577d5d2df9690ee10db08eb940cb80c759a6972b2b5 TERMUX_PKG_DEPENDS="libc++, libglvnd, libwayland, libxkbcommon, qt6-qtbase, qt6-qtdeclarative" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From ef19672f678667627b803261671541c16d6a4e0e Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:50:15 +0800 Subject: [PATCH 125/453] emacs{,-x},rizin: revbump to rebuild --- packages/emacs/build.sh | 2 +- packages/rizin/build.sh | 2 +- x11-packages/emacs-x/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index 6b7438e884b942..fd4cc7d767b53f 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" # Update both emacs and emacs-x to the same version in one PR. TERMUX_PKG_VERSION=29.4 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz if [[ $TERMUX_PKG_VERSION == *-rc* ]]; then TERMUX_PKG_SRCURL=https://alpha.gnu.org/gnu/emacs/pretest/emacs-${TERMUX_PKG_VERSION#*:}.tar.xz diff --git a/packages/rizin/build.sh b/packages/rizin/build.sh index 0d95c27b103d7d..7677c841c2c997 100644 --- a/packages/rizin/build.sh +++ b/packages/rizin/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="UNIX-like reverse engineering framework and command-line TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.7.3" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 # Use source tarball from release assets to get all bundled projects TERMUX_PKG_SRCURL=https://github.com/rizinorg/rizin/releases/download/v${TERMUX_PKG_VERSION}/rizin-src-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="capstone, file, liblz4, liblzma, libzip, openssl, tree-sitter, xxhash, zlib, zstd" diff --git a/x11-packages/emacs-x/build.sh b/x11-packages/emacs-x/build.sh index e286128b20b31f..1b8972fb76b88f 100644 --- a/x11-packages/emacs-x/build.sh +++ b/x11-packages/emacs-x/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" # Update both emacs and emacs-x to the same version in one PR. TERMUX_PKG_VERSION=29.4 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz if [[ $TERMUX_PKG_VERSION == *-rc* ]]; then TERMUX_PKG_SRCURL=https://alpha.gnu.org/gnu/emacs/pretest/emacs-${TERMUX_PKG_VERSION#*:}.tar.xz From 2bd594140730fd041f37e7d64c3ccc3c4449074d Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 18:09:37 +0000 Subject: [PATCH 126/453] bump(main/vulkan-headers): 1.3.297 This commit has been automatically submitted by Github Actions. --- packages/vulkan-headers/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/vulkan-headers/build.sh b/packages/vulkan-headers/build.sh index 88278280956342..b63b4d94cdd876 100644 --- a/packages/vulkan-headers/build.sh +++ b/packages/vulkan-headers/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/KhronosGroup/Vulkan-Headers TERMUX_PKG_DESCRIPTION="Vulkan Header files and API registry" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.3.296" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="1.3.297" TERMUX_PKG_SRCURL=https://github.com/KhronosGroup/Vulkan-Headers/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e204e0b3c19f622d197df945737f5db913d6621830999b8578d34e80a7c90585 +TERMUX_PKG_SHA256=1d679e2edc43cb7ad818b81dea960e374f1d6dd082325eb9b4c6113e76263c02 TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag" From 925f6c8a7f4607ead4932a4eb8aceceebb450993 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 18:13:01 +0000 Subject: [PATCH 127/453] bump(x11/qt6-qt5compat): 6.7.3 --- x11-packages/qt6-qt5compat/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/qt6-qt5compat/build.sh b/x11-packages/qt6-qt5compat/build.sh index 0c6f234a766630..626b9d2b9f01e0 100644 --- a/x11-packages/qt6-qt5compat/build.sh +++ b/x11-packages/qt6-qt5compat/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qt.io/ TERMUX_PKG_DESCRIPTION="Qt6 Module that contains unsupported Qt 5 APIs" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="6.7.2" +TERMUX_PKG_VERSION="6.7.3" TERMUX_PKG_SRCURL="https://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/submodules/qt5compat-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" -TERMUX_PKG_SHA256=8826b5189efc4d9bdb64fdb1aa89d0fdf4e53c60948ed7995621ed046e38c003 +TERMUX_PKG_SHA256=8b6a68a3dfaa7e9d10a0dafccee594c72e8de061bc573ae86b1c081b423a53f0 TERMUX_PKG_DEPENDS="libc++, libicu, qt6-qtbase, qt6-qtdeclarative, qt6-shadertools" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_NO_STATICSPLIT=true From 8981463bd394edc494489160116a5c774662cb33 Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 18:14:43 +0000 Subject: [PATCH 128/453] bump(main/ruff): 0.6.9 This commit has been automatically submitted by Github Actions. --- packages/ruff/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ruff/build.sh b/packages/ruff/build.sh index 19040815c96db0..6c1442ea75c709 100644 --- a/packages/ruff/build.sh +++ b/packages/ruff/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="An extremely fast Python linter, written in Rust" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE_FILE="../../LICENSE" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.6.8" +TERMUX_PKG_VERSION="0.6.9" TERMUX_PKG_SRCURL="https://github.com/charliermarsh/ruff/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz" -TERMUX_PKG_SHA256=27765b3018646745b064ea5734a4f1ba36dede3df3883dd5d150e8307e5d2149 +TERMUX_PKG_SHA256=502811ee2607cb09e3e05f4c3d60ed164a5e5a24aeb87fe00200b8d508a0b0c4 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From ff88784312bbb779761988a5afdaac775e14570c Mon Sep 17 00:00:00 2001 From: Termux Github Actions Date: Fri, 4 Oct 2024 18:17:07 +0000 Subject: [PATCH 129/453] bump(main/viddy): 1.1.6 This commit has been automatically submitted by Github Actions. --- packages/viddy/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/viddy/build.sh b/packages/viddy/build.sh index 9c6fd157c21fce..4fa95a541eaedc 100644 --- a/packages/viddy/build.sh +++ b/packages/viddy/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/sachaos/viddy TERMUX_PKG_DESCRIPTION="A modern watch command" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.1.5" +TERMUX_PKG_VERSION="1.1.6" TERMUX_PKG_SRCURL=https://github.com/sachaos/viddy/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=abc01bc4eae92f6fbf11ea220f1ef8ee88e48f80b090e09d0c5d5e4cf23d9065 +TERMUX_PKG_SHA256=54b1d530276f441afdb5fe989f31efbb54eca934c71a808c0627b60b6b5c6a95 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true From e4881d4b7e690f9ce1a469d5a39038de29e51391 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sat, 5 Oct 2024 00:35:22 +0800 Subject: [PATCH 130/453] llvm-mingw-w64*: bump to 20241001 (llvm 19.1.1) --- packages/llvm-mingw-w64-libcompiler-rt/build.sh | 5 +++-- packages/llvm-mingw-w64-ucrt/build.sh | 5 +++-- packages/llvm-mingw-w64/build.sh | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/llvm-mingw-w64-libcompiler-rt/build.sh b/packages/llvm-mingw-w64-libcompiler-rt/build.sh index 1eabb6447ae42e..dffb42d48c153b 100644 --- a/packages/llvm-mingw-w64-libcompiler-rt/build.sh +++ b/packages/llvm-mingw-w64-libcompiler-rt/build.sh @@ -3,12 +3,13 @@ TERMUX_PKG_DESCRIPTION="Compiler runtime libraries for LLVM-MinGW" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@licy183" # Bump llvm-mingw-w64* to the same version in one PR. -TERMUX_PKG_VERSION="20240417" +TERMUX_PKG_VERSION="20241001" TERMUX_PKG_SRCURL=https://github.com/mstorsjo/llvm-mingw/releases/download/$TERMUX_PKG_VERSION/llvm-mingw-$TERMUX_PKG_VERSION-ucrt-ubuntu-20.04-x86_64.tar.xz -TERMUX_PKG_SHA256=d28ce4168c83093adf854485446011a0327bad9fe418014de81beba233ce76f1 +TERMUX_PKG_SHA256=5ef76d9a772f5896fafb61a1b670bc13e5336692ecdcea2b312a64552d58a1a2 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_NO_STATICSPLIT=true +TERMUX_PKG_NO_OPENMP_CHECK=true termux_step_make_install() { # Install compier-rt libraries diff --git a/packages/llvm-mingw-w64-ucrt/build.sh b/packages/llvm-mingw-w64-ucrt/build.sh index 4fd3c258f906f9..7cfd1c202a3f89 100644 --- a/packages/llvm-mingw-w64-ucrt/build.sh +++ b/packages/llvm-mingw-w64-ucrt/build.sh @@ -3,12 +3,13 @@ TERMUX_PKG_DESCRIPTION="MinGW-w64 runtime for LLVM-MinGW" TERMUX_PKG_LICENSE="custom" TERMUX_PKG_MAINTAINER="@licy183" # Bump llvm-mingw-w64* to the same version in one PR. -TERMUX_PKG_VERSION="20240417" +TERMUX_PKG_VERSION="20241001" TERMUX_PKG_SRCURL=https://github.com/mstorsjo/llvm-mingw/releases/download/$TERMUX_PKG_VERSION/llvm-mingw-$TERMUX_PKG_VERSION-ucrt-ubuntu-20.04-x86_64.tar.xz -TERMUX_PKG_SHA256=d28ce4168c83093adf854485446011a0327bad9fe418014de81beba233ce76f1 +TERMUX_PKG_SHA256=5ef76d9a772f5896fafb61a1b670bc13e5336692ecdcea2b312a64552d58a1a2 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_NO_STATICSPLIT=true +TERMUX_PKG_NO_OPENMP_CHECK=true termux_step_make_install() { mkdir -p $TERMUX_PREFIX/opt/llvm-mingw-w64 diff --git a/packages/llvm-mingw-w64/build.sh b/packages/llvm-mingw-w64/build.sh index 3e372fcf977182..9934b86d980f40 100644 --- a/packages/llvm-mingw-w64/build.sh +++ b/packages/llvm-mingw-w64/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="MinGW-w64 toolchain based on LLVM" TERMUX_PKG_LICENSE="ISC" TERMUX_PKG_MAINTAINER="@licy183" # Bump llvm-mingw-w64* to the same version in one PR. -TERMUX_PKG_VERSION="20240417" +TERMUX_PKG_VERSION="20241001" TERMUX_PKG_SRCURL=https://github.com/mstorsjo/llvm-mingw/releases/download/$TERMUX_PKG_VERSION/llvm-mingw-$TERMUX_PKG_VERSION-ucrt-ubuntu-20.04-x86_64.tar.xz -TERMUX_PKG_SHA256=d28ce4168c83093adf854485446011a0327bad9fe418014de81beba233ce76f1 +TERMUX_PKG_SHA256=5ef76d9a772f5896fafb61a1b670bc13e5336692ecdcea2b312a64552d58a1a2 TERMUX_PKG_AUTO_UPDATE=false _LLVM_MAJOR_VERSION=$(. $TERMUX_SCRIPTDIR/packages/libllvm/build.sh; echo $LLVM_MAJOR_VERSION) _LLVM_MAJOR_VERSION_NEXT=$((_LLVM_MAJOR_VERSION + 1)) From 9b450358b82f000e6e400180ed099d018205891e Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sat, 5 Oct 2024 00:35:37 +0800 Subject: [PATCH 131/453] llvm-mingw-w64-tools: bump to 12.0.0 --- .../0001-do-not-use-posix-spawn.patch | 33 +++++++++++++++++++ packages/llvm-mingw-w64-tools/build.sh | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 packages/llvm-mingw-w64-tools/0001-do-not-use-posix-spawn.patch diff --git a/packages/llvm-mingw-w64-tools/0001-do-not-use-posix-spawn.patch b/packages/llvm-mingw-w64-tools/0001-do-not-use-posix-spawn.patch new file mode 100644 index 00000000000000..732161a23c9b34 --- /dev/null +++ b/packages/llvm-mingw-w64-tools/0001-do-not-use-posix-spawn.patch @@ -0,0 +1,33 @@ +--- a/mingw-w64-tools/widl/tools.h ++++ b/mingw-w64-tools/widl/tools.h +@@ -57,8 +57,10 @@ + # define strcasecmp _stricmp + # endif + #else ++#if !defined(__ANDROID__) || __ANDROID_API__ >= 28 + extern char **environ; + # include ++#endif + # include + # include + # ifndef O_BINARY +@@ -285,9 +287,19 @@ + pid_t pid, wret; + int status; + ++#if defined(__ANDROID__) && __ANDROID_API__ < 28 ++ if (!(pid = fork())) ++ { ++ strarray_add( &args, NULL ); ++ execvp( args.str[0], (char **)args.str ); ++ _exit(1); ++ } ++ if (pid == -1) return -1; ++#else + strarray_add( &args, NULL ); + if (posix_spawnp( &pid, args.str[0], NULL, NULL, (char **)args.str, environ )) + return -1; ++#endif + + while (pid != (wret = waitpid( pid, &status, 0 ))) + if (wret == -1 && errno != EINTR) break; diff --git a/packages/llvm-mingw-w64-tools/build.sh b/packages/llvm-mingw-w64-tools/build.sh index b807a954fe6710..9bd9cb8e97cda5 100644 --- a/packages/llvm-mingw-w64-tools/build.sh +++ b/packages/llvm-mingw-w64-tools/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mstorsjo/llvm-mingw TERMUX_PKG_DESCRIPTION="MinGW-w64 tools for LLVM-MinGW" TERMUX_PKG_LICENSE="custom" TERMUX_PKG_MAINTAINER="@licy183" -TERMUX_PKG_VERSION=11.0.0 +TERMUX_PKG_VERSION=12.0.0 TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=bd0ea1633bd830204cc23a696889335e9d4a32b8619439ee17f22188695fcc5f +TERMUX_PKG_SHA256=cc41898aac4b6e8dd5cffd7331b9d9515b912df4420a3a612b5ea2955bbeed2f TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_BUILD_DEPENDS="llvm-mingw-w64-ucrt" TERMUX_PKG_BUILD_IN_SRC=true From 01c8e30d532f42108846272d4e24d607d0264af8 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 2 Oct 2024 22:51:29 +0200 Subject: [PATCH 132/453] bump(main/python-numpy): 2.1.1 and update revdeps Update to numpy 2, and update reverse dependencies: - matplotlib from 3.9.1 to 3.9.2 - python-contourpy from 1.2.1 to 1.3.0 - python-numpy from 1.26.5 to 2.1.1 - python-onnxruntime from 1.19.0 to 1.19.2 - python-scipy from 1.14.0 to 1.14.1 - python-torch from 2.1.2 to 2.4.1 - python-torchaudio from 2.0.1 to 2.4.1 - python-torchvision from 0.15.1 to `0.19.1 - Revbump: python-pyarrow, inkscape and opencv Some of these packages does not currently build before this PR. Getting these updated and buildable is a nice step to prepare for [python 3.12](https://github.com/termux/termux-packages/pull/18078). Fixes #21059, #21110, #21194 and #21284. Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com> --- packages/manim/build.sh | 2 +- packages/matplotlib/build.sh | 4 +- packages/python-contourpy/build.sh | 4 +- .../python-contourpy/pyproject.toml.patch | 16 +++++++ packages/python-numpy/build.sh | 4 +- packages/python-numpy/test.patch | 9 ++-- packages/python-onnxruntime/build.sh | 5 +-- packages/python-pyarrow/build.sh | 4 +- packages/python-scipy/build.sh | 4 +- packages/python-scipy/wrapper.py.in | 36 ++++++++++++--- x11-packages/inkscape/build.sh | 2 +- x11-packages/opencv/build.sh | 4 +- ...evelopment-before-Development.Module.patch | 12 +++++ ...t-error-on-cast-function-type-strict.patch | 10 ----- x11-packages/python-torch/0004-memalign.patch | 30 +++++++------ ...0006-fix-cross-compiling-for-FindAVX.patch | 17 ------- .../0007-enable-cxx17-by-default.patch | 13 ------ x11-packages/python-torch/build.sh | 9 ++-- ...ch-csrc-autograd-python_function.cpp.patch | 17 +++++++ ...to-import-torch-when-cross-compiling.patch | 20 ++++++--- .../0002-fix-cross-compiling.patch | 12 ----- .../0003-fix-patch-for-sox.patch | 41 ----------------- .../0004-fix-patch-for-vorbis.patch | 28 ------------ x11-packages/python-torchaudio/build.sh | 3 +- x11-packages/python-torchvision/build.sh | 3 +- .../python-torchvision/setup.py.patch | 45 ++++++++++++++----- 26 files changed, 162 insertions(+), 192 deletions(-) create mode 100644 packages/python-contourpy/pyproject.toml.patch create mode 100644 x11-packages/python-torch/0001-cmake-python-find-Development-before-Development.Module.patch delete mode 100644 x11-packages/python-torch/0001-do-not-error-on-cast-function-type-strict.patch delete mode 100644 x11-packages/python-torch/0006-fix-cross-compiling-for-FindAVX.patch delete mode 100644 x11-packages/python-torch/0007-enable-cxx17-by-default.patch create mode 100644 x11-packages/python-torch/torch-csrc-autograd-python_function.cpp.patch delete mode 100644 x11-packages/python-torchaudio/0002-fix-cross-compiling.patch delete mode 100644 x11-packages/python-torchaudio/0003-fix-patch-for-sox.patch delete mode 100644 x11-packages/python-torchaudio/0004-fix-patch-for-vorbis.patch diff --git a/packages/manim/build.sh b/packages/manim/build.sh index a313db0a91c68e..73036d692e2193 100644 --- a/packages/manim/build.sh +++ b/packages/manim/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A community-maintained Python framework for creating mat TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Nguyen Khanh @nguynkhn" TERMUX_PKG_VERSION=0.18.1 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/ManimCommunity/manim/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=36ce308b92bbbe039ee8cf4fbad5a8ba0ec5f24c9cf2919fab0fc5df92be7655 TERMUX_PKG_DEPENDS="ffmpeg, libcairo, pango, xorgproto, python-numpy, python-pillow, pycairo, python-scipy, python-skia-pathops" diff --git a/packages/matplotlib/build.sh b/packages/matplotlib/build.sh index 0b18545fa421d6..14a05799721b0a 100644 --- a/packages/matplotlib/build.sh +++ b/packages/matplotlib/build.sh @@ -14,9 +14,9 @@ LICENSE/LICENSE_SOLARIZED LICENSE/LICENSE_STIX LICENSE/LICENSE_YORICK" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="3.9.1" +TERMUX_PKG_VERSION="3.9.2" TERMUX_PKG_SRCURL=https://github.com/matplotlib/matplotlib/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=4fdf46dc325fdf4cbc61f7fa66de7b48287df0a71b3442b63ff0784041cae2e7 +TERMUX_PKG_SHA256=9c49b6683a34469e6d20864c7d5b975c4f29d7c60de1ce857980bead48769c3f TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="freetype, libc++, patchelf, ninja, python, python-contourpy, python-numpy, python-pillow, python-pip" _NUMPY_VERSION=$(. $TERMUX_SCRIPTDIR/packages/python-numpy/build.sh; echo $TERMUX_PKG_VERSION) diff --git a/packages/python-contourpy/build.sh b/packages/python-contourpy/build.sh index 017f61e7df25b4..d006f8bc5f6845 100644 --- a/packages/python-contourpy/build.sh +++ b/packages/python-contourpy/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://contourpy.readthedocs.io/ TERMUX_PKG_DESCRIPTION="Python library for calculating contours in 2D quadrilateral grids" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.2.1" +TERMUX_PKG_VERSION="1.3.0" TERMUX_PKG_SRCURL=git+https://github.com/contourpy/contourpy TERMUX_PKG_DEPENDS="python, python-numpy" TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, meson-python, build" @@ -21,7 +21,7 @@ termux_step_configure() { cp -f $TERMUX_MESON_CROSSFILE $TERMUX_MESON_WHEEL_CROSSFILE sed -i 's|^\(\[binaries\]\)$|\1\npython = '\'$(command -v python)\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE - sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/core/include\''|g' \ + sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/_core/include\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE termux_step_configure_meson diff --git a/packages/python-contourpy/pyproject.toml.patch b/packages/python-contourpy/pyproject.toml.patch new file mode 100644 index 00000000000000..49140b02bc8a36 --- /dev/null +++ b/packages/python-contourpy/pyproject.toml.patch @@ -0,0 +1,16 @@ +Fix the below error with newer meson versions: + ../src/meson.build:1:0: ERROR: Tried modify read only option 'vsenv' + +diff -u -r ../cache/tmp-checkout/pyproject.toml ./pyproject.toml +--- ../cache/tmp-checkout/pyproject.toml 2024-10-02 12:20:23.171351029 +0000 ++++ ./pyproject.toml 2024-10-02 12:21:00.516125872 +0000 +@@ -83,9 +83,6 @@ + ] + dist = [] + install = [] +-setup = [ +- "--vsenv", # Force use of MSVC on Windows, ignored on other platforms +-] + + + [tool.cibuildwheel] diff --git a/packages/python-numpy/build.sh b/packages/python-numpy/build.sh index 41a84ac655bb38..14e1f6738cb7c7 100644 --- a/packages/python-numpy/build.sh +++ b/packages/python-numpy/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://numpy.org/ TERMUX_PKG_DESCRIPTION="The fundamental package for scientific computing with Python" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.26.5" +TERMUX_PKG_VERSION="2.1.1" TERMUX_PKG_SRCURL=git+https://github.com/numpy/numpy TERMUX_PKG_DEPENDS="libc++, libopenblas, python" TERMUX_PKG_AUTO_UPDATE=true @@ -32,7 +32,7 @@ termux_step_configure() { cp -f $TERMUX_MESON_CROSSFILE $TERMUX_MESON_WHEEL_CROSSFILE sed -i 's|^\(\[binaries\]\)$|\1\npython = '\'$(command -v python)\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE - sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/core/include\''|g' \ + sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/_core/include\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE local _longdouble_format="" diff --git a/packages/python-numpy/test.patch b/packages/python-numpy/test.patch index 460aa323e8d51f..b6331cb596a121 100644 --- a/packages/python-numpy/test.patch +++ b/packages/python-numpy/test.patch @@ -1,6 +1,7 @@ ---- a/numpy/core/tests/test_mem_policy.py -+++ b/numpy/core/tests/test_mem_policy.py -@@ -18,6 +18,8 @@ +diff -u -r ../cache/tmp-checkout/numpy/_core/tests/test_mem_policy.py ./numpy/_core/tests/test_mem_policy.py +--- ../cache/tmp-checkout/numpy/_core/tests/test_mem_policy.py 2024-09-25 20:21:18.703117205 +0000 ++++ ./numpy/_core/tests/test_mem_policy.py 2024-09-25 20:24:40.984240601 +0000 +@@ -21,6 +21,8 @@ """ if sys.platform.startswith('cygwin'): pytest.skip('link fails on cygwin') @@ -8,4 +9,4 @@ + pytest.skip('link fails on Android') if IS_WASM: pytest.skip("Can't build module inside Wasm") - functions = [ + if IS_EDITABLE: diff --git a/packages/python-onnxruntime/build.sh b/packages/python-onnxruntime/build.sh index 60e209cb5de6c4..4871829af7297c 100644 --- a/packages/python-onnxruntime/build.sh +++ b/packages/python-onnxruntime/build.sh @@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://onnxruntime.ai/ TERMUX_PKG_DESCRIPTION="Cross-platform, high performance ML inferencing and training accelerator" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.19.0" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="1.19.2" TERMUX_PKG_SRCURL=git+https://github.com/microsoft/onnxruntime TERMUX_PKG_DEPENDS="abseil-cpp, libc++, protobuf, libre2, python" TERMUX_PKG_BUILD_DEPENDS="python-numpy" @@ -23,7 +22,7 @@ termux_step_pre_configure() { TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPYTHON_EXECUTABLE=$(command -v python3)" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DONNX_CUSTOM_PROTOC_EXECUTABLE=$(command -v protoc)" - TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPython_NumPy_INCLUDE_DIR=$TERMUX_PREFIX/lib/python$TERMUX_PYTHON_VERSION/site-packages/numpy/core/include" + TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPython_NumPy_INCLUDE_DIR=$TERMUX_PREFIX/lib/python$TERMUX_PYTHON_VERSION/site-packages/numpy/_core/include" local TERMUX_PKG_SRCDIR_SAVE="$TERMUX_PKG_SRCDIR" TERMUX_PKG_SRCDIR+="/cmake" diff --git a/packages/python-pyarrow/build.sh b/packages/python-pyarrow/build.sh index bf0226b911f9e9..bf510836e78dd7 100644 --- a/packages/python-pyarrow/build.sh +++ b/packages/python-pyarrow/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" # Align the version with `libarrow-cpp` package. TERMUX_PKG_VERSION="17.0.0" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/apache/arrow/archive/refs/tags/apache-arrow-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=8379554d89f19f2c8db63620721cabade62541f47a4e706dfb0a401f05a713ef TERMUX_PKG_AUTO_UPDATE=true @@ -19,7 +19,7 @@ termux_step_pre_configure() { export PYARROW_CMAKE_OPTIONS=" -DCMAKE_PREFIX_PATH=$TERMUX_PREFIX/lib/cmake - -DNUMPY_INCLUDE_DIRS=$TERMUX_PYTHON_HOME/site-packages/numpy/core/include + -DNUMPY_INCLUDE_DIRS=$TERMUX_PYTHON_HOME/site-packages/numpy/_core/include " export PYARROW_WITH_DATASET=1 export PYARROW_WITH_HDFS=1 diff --git a/packages/python-scipy/build.sh b/packages/python-scipy/build.sh index dccf3ecae97651..f8f04da352facc 100644 --- a/packages/python-scipy/build.sh +++ b/packages/python-scipy/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://scipy.org/ TERMUX_PKG_DESCRIPTION="Fundamental algorithms for scientific computing in Python" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.14.0" +TERMUX_PKG_VERSION="1.14.1" TERMUX_PKG_SRCURL=git+https://github.com/scipy/scipy TERMUX_PKG_DEPENDS="libc++, libopenblas, python, python-numpy" TERMUX_PKG_BUILD_DEPENDS="python-numpy-static" @@ -50,7 +50,7 @@ termux_step_configure() { cp -f $TERMUX_MESON_CROSSFILE $TERMUX_MESON_WHEEL_CROSSFILE sed -i 's|^\(\[binaries\]\)$|\1\npython = '\'$(command -v python)\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE - sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/core/include\''|g' \ + sed -i 's|^\(\[properties\]\)$|\1\nnumpy-include-dir = '\'$PYTHON_SITE_PKG/numpy/_core/include\''|g' \ $TERMUX_MESON_WHEEL_CROSSFILE (unset PYTHONPATH && termux_step_configure_meson) diff --git a/packages/python-scipy/wrapper.py.in b/packages/python-scipy/wrapper.py.in index d7e35a22cc50f5..272741bf416f08 100644 --- a/packages/python-scipy/wrapper.py.in +++ b/packages/python-scipy/wrapper.py.in @@ -4,26 +4,48 @@ import subprocess import sys import typing +""" +This wrapper is used to ignore or replace some unsupported flags for flang-new. + +It will operate as follows: + +1. Ignore `-Minform=inform` and `-fdiagnostics-color`. + They are added by meson automatically, but are not supported by flang-new yet. +2. Remove `-lflang` and `-lpgmath`. + It exists in classic-flang but doesn't exist in flang-new. +3. Replace `-Oz` to `-O2`. + `-Oz` is not supported by flang-new. +4. Replace `-module` to `-J`. + See https://github.com/llvm/llvm-project/issues/66969 +5. Ignore `-MD`, `-MQ file` and `-MF file`. + They generates files used by GNU make but we're using ninja. +6. Ignore `-fvisibility=hidden`. + It is not supported by flang-new, and ignoring it will not break the functionality, + as scipy also uses version script for shared libraries. +""" + COMPLIER_PATH = "@COMPILER@" def main(argv: typing.List[str]): cwd = os.getcwd() - # Remove `-Minform=inform`. It is added by meson automatically. - # Remove `-lflang` and `-lpgmath`. It exists in classic-flang but doesn't exist in flang-new. - # Replace `-Oz` to `-O2`. `-Oz` is not supported by flang-new. - # Replace `-module` to `-J`. See https://github.com/llvm/llvm-project/issues/66969 argv_new = [] - for arg in argv[1:]: - if arg in ["-Minform=inform", "-lflang", "-lpgmath"]: + i = 0 + while i < len(argv): + arg = argv[i] + if arg in ["-Minform=inform", "-lflang", "-lpgmath", "-MD", "-fvisibility=hidden"] \ + or arg.startswith("-fdiagnostics-color"): pass elif arg == "-Oz": argv_new.append("-O2") elif arg == "-module": argv_new.append("-J") + elif arg in ["-MQ", "-MF"]: + i += 1 else: argv_new.append(arg) + i += 1 args = [COMPLIER_PATH] + argv_new subprocess.check_call(args, env=os.environ, cwd=cwd, text=True) if __name__ == '__main__': - main(sys.argv) + main(sys.argv[1:]) diff --git a/x11-packages/inkscape/build.sh b/x11-packages/inkscape/build.sh index 2105630a9c548a..7a4d077f138f4a 100644 --- a/x11-packages/inkscape/build.sh +++ b/x11-packages/inkscape/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Free and open source vector graphics editor" TERMUX_PKG_LICENSE="GPL-3.0-or-later" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1.3.2" -TERMUX_PKG_REVISION=4 +TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://media.inkscape.org/dl/resources/file/inkscape-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=dbd1844dc443fe5e10d3e9a887144e5fb7223852fff191cfb5ef7adeab0e086b TERMUX_PKG_DEPENDS="boost, double-conversion, fontconfig, freetype, gdk-pixbuf, glib, gsl, gtk3, gtkmm3, harfbuzz, libatkmm-1.6, libc++, libcairo, libcairomm-1.0, libgc, libglibmm-2.4, libiconv, libjpeg-turbo, libpangomm-1.4, libpng, libsigc++-2.0, libsoup, libx11, libxml2, libxslt, littlecms, pango, poppler, potrace, readline, zlib" diff --git a/x11-packages/opencv/build.sh b/x11-packages/opencv/build.sh index 95c6851b33de0a..485e24230edd16 100644 --- a/x11-packages/opencv/build.sh +++ b/x11-packages/opencv/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open Source Computer Vision Library" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="4.10.0" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=( https://github.com/opencv/opencv/archive/${TERMUX_PKG_VERSION}/opencv-${TERMUX_PKG_VERSION}.tar.gz https://github.com/opencv/opencv_contrib/archive/${TERMUX_PKG_VERSION}/opencv_contrib-${TERMUX_PKG_VERSION}.tar.gz @@ -51,7 +51,7 @@ termux_step_pre_configure() { TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DPYTHON_DEFAULT_EXECUTABLE=python -DPYTHON3_INCLUDE_PATH=$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} - -DPYTHON3_NUMPY_INCLUDE_DIRS=$TERMUX_PYTHON_HOME/site-packages/numpy/core/include + -DPYTHON3_NUMPY_INCLUDE_DIRS=$TERMUX_PYTHON_HOME/site-packages/numpy/_core/include " mv $TERMUX_PREFIX/lib/libprotobuf.so{,.tmp} diff --git a/x11-packages/python-torch/0001-cmake-python-find-Development-before-Development.Module.patch b/x11-packages/python-torch/0001-cmake-python-find-Development-before-Development.Module.patch new file mode 100644 index 00000000000000..a1d6cfe8e33297 --- /dev/null +++ b/x11-packages/python-torch/0001-cmake-python-find-Development-before-Development.Module.patch @@ -0,0 +1,12 @@ +Seems a bug of cmake. Finding `Development` before other components fixes this. + +--- a/cmake/Dependencies.cmake ++++ b/cmake/Dependencies.cmake +@@ -854,6 +854,7 @@ + if(USE_NUMPY) + list(APPEND PYTHON_COMPONENTS NumPy) + endif() ++ find_package(Python COMPONENTS Development) + find_package(Python COMPONENTS Interpreter OPTIONAL_COMPONENTS ${PYTHON_COMPONENTS}) + else() + find_package(Python COMPONENTS Interpreter) diff --git a/x11-packages/python-torch/0001-do-not-error-on-cast-function-type-strict.patch b/x11-packages/python-torch/0001-do-not-error-on-cast-function-type-strict.patch deleted file mode 100644 index de8e86ac9b4abb..00000000000000 --- a/x11-packages/python-torch/0001-do-not-error-on-cast-function-type-strict.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -920,6 +920,7 @@ - append_cxx_flag_if_supported("-fno-trapping-math" CMAKE_CXX_FLAGS) - append_cxx_flag_if_supported("-Werror=format" CMAKE_CXX_FLAGS) - append_cxx_flag_if_supported("-Werror=cast-function-type" CMAKE_CXX_FLAGS) -+ append_cxx_flag_if_supported("-Wno-error=cast-function-type-strict" CMAKE_CXX_FLAGS) - else() - # skip unwanted includes from windows.h - add_compile_definitions(WIN32_LEAN_AND_MEAN) diff --git a/x11-packages/python-torch/0004-memalign.patch b/x11-packages/python-torch/0004-memalign.patch index 5e609f44c12ca3..12a8c7d5fa3d8b 100644 --- a/x11-packages/python-torch/0004-memalign.patch +++ b/x11-packages/python-torch/0004-memalign.patch @@ -1,6 +1,19 @@ ---- a/torch/csrc/jit/python/script_init.cpp -+++ b/torch/csrc/jit/python/script_init.cpp -@@ -718,7 +718,7 @@ +diff -u -r ../cache/tmp-checkout/third_party/pocketfft/pocketfft_hdronly.h ./third_party/pocketfft/pocketfft_hdronly.h +--- ../cache/tmp-checkout/third_party/pocketfft/pocketfft_hdronly.h 2024-10-02 13:08:14.683993465 +0000 ++++ ./third_party/pocketfft/pocketfft_hdronly.h 2024-10-02 13:17:29.799680354 +0000 +@@ -152,7 +152,7 @@ + // the __MINGW32__ part in the conditional below works around the problem that + // the standard C++ library on Windows does not provide aligned_alloc() even + // though the MinGW compiler and MSVC may advertise C++17 compliance. +-#if (__cplusplus >= 201703L) && (!defined(__MINGW32__)) && (!defined(_MSC_VER)) ++#if (__cplusplus >= 201703L) && (!defined(__MINGW32__)) && (!defined(_MSC_VER)) && (!defined(__ANDROID__)) + inline void *aligned_alloc(size_t align, size_t size) + { + // aligned_alloc() requires that the requested size is a multiple of "align" +diff -u -r ../cache/tmp-checkout/torch/csrc/jit/python/script_init.cpp ./torch/csrc/jit/python/script_init.cpp +--- ../cache/tmp-checkout/torch/csrc/jit/python/script_init.cpp 2024-10-02 13:05:35.577599122 +0000 ++++ ./torch/csrc/jit/python/script_init.cpp 2024-10-02 13:16:36.541910940 +0000 +@@ -722,7 +722,7 @@ std::shared_ptr bytes_copy( static_cast(_aligned_malloc(size, kFlatbufferDataAlignmentBytes)), _aligned_free); @@ -9,14 +22,3 @@ void* p; ::posix_memalign(&p, kFlatbufferDataAlignmentBytes, size); TORCH_INTERNAL_ASSERT(p, "Could not allocate memory for flatbuffer"); ---- a/third_party/pocketfft/pocketfft_hdronly.h -+++ b/third_party/pocketfft/pocketfft_hdronly.h -@@ -149,7 +149,7 @@ - #endif - #endif - --#if __cplusplus >= 201703L -+#if (__cplusplus >= 201703L) && !defined(__ANDROID__) - inline void *aligned_alloc(size_t align, size_t size) - { - // aligned_alloc() requires that the requested size is a multiple of "align" diff --git a/x11-packages/python-torch/0006-fix-cross-compiling-for-FindAVX.patch b/x11-packages/python-torch/0006-fix-cross-compiling-for-FindAVX.patch deleted file mode 100644 index 9013897cda4fcd..00000000000000 --- a/x11-packages/python-torch/0006-fix-cross-compiling-for-FindAVX.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/cmake/Modules/FindAVX.cmake.orig -+++ b/cmake/Modules/FindAVX.cmake -@@ -49,12 +49,14 @@ - SET(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS}) - FOREACH(__FLAG ${flags}) - IF(NOT ${lang}_${type}_FOUND) -+ IF(NOT CMAKE_CROSSCOMPILING) - SET(CMAKE_REQUIRED_FLAGS ${__FLAG}) - IF(lang STREQUAL "CXX") - CHECK_CXX_SOURCE_RUNS("${${type}_CODE}" ${lang}_HAS_${type}_${__FLAG_I}) - ELSE() - CHECK_C_SOURCE_RUNS("${${type}_CODE}" ${lang}_HAS_${type}_${__FLAG_I}) - ENDIF() -+ ENDIF() - IF(${lang}_HAS_${type}_${__FLAG_I}) - SET(${lang}_${type}_FOUND TRUE CACHE BOOL "${lang} ${type} support") - SET(${lang}_${type}_FLAGS "${__FLAG}" CACHE STRING "${lang} ${type} flags") diff --git a/x11-packages/python-torch/0007-enable-cxx17-by-default.patch b/x11-packages/python-torch/0007-enable-cxx17-by-default.patch deleted file mode 100644 index e2b939cc012795..00000000000000 --- a/x11-packages/python-torch/0007-enable-cxx17-by-default.patch +++ /dev/null @@ -1,13 +0,0 @@ -Enable C++17 by default, because torch needs at least C++17 to build since 2.1.0. - ---- a/third_party/onnx/CMakeLists.txt.orig -+++ b/third_party/onnx/CMakeLists.txt -@@ -58,7 +58,7 @@ - # Required to use /std:c++17 or higher on Windows - # For other platforms, set C++11 as standard for the whole project - if(NOT MSVC) -- set(CMAKE_CXX_STANDARD 11) -+ set(CMAKE_CXX_STANDARD 17) - else() - string(APPEND CMAKE_CXX_FLAGS " /std:c++17") - endif() diff --git a/x11-packages/python-torch/build.sh b/x11-packages/python-torch/build.sh index e29415cb18b3e4..555036eb230fee 100644 --- a/x11-packages/python-torch/build.sh +++ b/x11-packages/python-torch/build.sh @@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://pytorch.org/ TERMUX_PKG_DESCRIPTION="Tensors and Dynamic neural networks in Python" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="2.1.2" -TERMUX_PKG_REVISION=6 +TERMUX_PKG_VERSION="2.4.1" TERMUX_PKG_SRCURL=git+https://github.com/pytorch/pytorch TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag" TERMUX_PKG_DEPENDS="abseil-cpp, ffmpeg, fmt, libc++, libopenblas, libprotobuf, libzmq, opencv, python, python-numpy, python-pip" @@ -20,10 +19,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${TERMUX_PKG_SRCDIR}/torch -DCMAKE_PREFIX_PATH=${TERMUX_PYTHON_HOME}/site-packages --DNUMPY_INCLUDE_DIR=${TERMUX_PYTHON_HOME}/site-packages/numpy/core/include +-DNumPy_INCLUDE_DIR=${TERMUX_PYTHON_HOME}/site-packages/numpy/_core/include -DOpenBLAS_INCLUDE_DIR=${TERMUX_PREFIX}/include/openblas --DPYTHON_INCLUDE_DIR=${TERMUX_PREFIX}/include/python${TERMUX_PYTHON_VERSION} --DPYTHON_LIBRARY=${TERMUX_PREFIX}/lib/libpython${TERMUX_PYTHON_VERSION}.so -DNATIVE_BUILD_DIR=${TERMUX_PKG_HOSTBUILD_DIR} -DTORCH_BUILD_VERSION=${TERMUX_PKG_VERSION} -DONNX_USE_PROTOBUF_SHARED_LIBS=ON @@ -70,7 +67,7 @@ termux_step_pre_configure() { termux_setup_protobuf TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" - -DPYTHON_EXECUTABLE=$(command -v python3) + -DPython_EXECUTABLE=$(command -v python3) -DPROTOBUF_PROTOC_EXECUTABLE=$(command -v protoc) -DCAFFE2_CUSTOM_PROTOC_EXECUTABLE=$(command -v protoc) " diff --git a/x11-packages/python-torch/torch-csrc-autograd-python_function.cpp.patch b/x11-packages/python-torch/torch-csrc-autograd-python_function.cpp.patch new file mode 100644 index 00000000000000..cd2a2462f6e6a2 --- /dev/null +++ b/x11-packages/python-torch/torch-csrc-autograd-python_function.cpp.patch @@ -0,0 +1,17 @@ +Fix 32-bit builds, which otherwise fail with: + + python_function.cpp:798:15: error: format specifies type 'long' but the argument has type 'int' [-Werror,-Wformat] + 796 | "save_for_backward can only save variables, but argument %ld is of " + +diff -u -r ../cache/tmp-checkout/torch/csrc/autograd/python_function.cpp ./torch/csrc/autograd/python_function.cpp +--- ../cache/tmp-checkout/torch/csrc/autograd/python_function.cpp 2024-10-03 18:00:30.204986580 +0000 ++++ ./torch/csrc/autograd/python_function.cpp 2024-10-04 15:06:58.912498321 +0000 +@@ -795,7 +795,7 @@ + throw torch::TypeError( + "save_for_backward can only save variables, but argument %ld is of " + "type %s", +- i, ++ (long) i, + Py_TYPE(obj)->tp_name); + } + } diff --git a/x11-packages/python-torchaudio/0001-do-not-try-to-import-torch-when-cross-compiling.patch b/x11-packages/python-torchaudio/0001-do-not-try-to-import-torch-when-cross-compiling.patch index b61c9c6662e1f6..05b1e7d19bb8b3 100644 --- a/x11-packages/python-torchaudio/0001-do-not-try-to-import-torch-when-cross-compiling.patch +++ b/x11-packages/python-torchaudio/0001-do-not-try-to-import-torch-when-cross-compiling.patch @@ -44,8 +44,9 @@ def _fetch_third_party_libraries(): ---- a/tools/setup_helpers/extension.py.orig -+++ b/tools/setup_helpers/extension.py +diff -u -r ../cache/tmp-checkout/tools/setup_helpers/extension.py ./tools/setup_helpers/extension.py +--- ../cache/tmp-checkout/tools/setup_helpers/extension.py 2024-10-03 18:27:06.446948017 +0000 ++++ ./tools/setup_helpers/extension.py 2024-10-04 12:28:00.563912841 +0000 @@ -4,10 +4,9 @@ import subprocess from pathlib import Path @@ -58,26 +59,31 @@ __all__ = [ "get_ext_modules", -@@ -39,9 +37,10 @@ +@@ -38,11 +37,13 @@ + _BUILD_RIR = _get_build("BUILD_RIR", True) _BUILD_RNNT = _get_build("BUILD_RNNT", True) - _BUILD_CTC_DECODER = _get_build("BUILD_CTC_DECODER", True) - _USE_FFMPEG = _get_build("USE_FFMPEG", False) + _USE_FFMPEG = _get_build("USE_FFMPEG", True) -_USE_ROCM = _get_build("USE_ROCM", torch.backends.cuda.is_built() and torch.version.hip is not None) -_USE_CUDA = _get_build("USE_CUDA", torch.backends.cuda.is_built() and torch.version.hip is None) --_USE_OPENMP = _get_build("USE_OPENMP", True) and "ATen parallel backend: OpenMP" in torch.__config__.parallel_info() +_USE_ROCM = _get_build("USE_ROCM", False) +_USE_CUDA = _get_build("USE_CUDA", False) + _BUILD_ALIGN = _get_build("BUILD_ALIGN", True) + _BUILD_CUDA_CTC_DECODER = _get_build("BUILD_CUDA_CTC_DECODER", _USE_CUDA) +-_USE_OPENMP = _get_build("USE_OPENMP", True) and "ATen parallel backend: OpenMP" in torch.__config__.parallel_info() +_USE_OPENMP = _get_build("USE_OPENMP", False) +_CMAKE_PREFIX_PATH = os.environ.get("TORCHAUDIO_CMAKE_PREFIX_PATH", "@TERMUX_PREFIX@") ++_CMAKE_MAKE_PROGRAM = subprocess.check_output(['which', 'ninja'], text=True).strip() _TORCH_CUDA_ARCH_LIST = os.environ.get("TORCH_CUDA_ARCH_LIST", None) -@@ -111,7 +109,7 @@ +@@ -124,8 +125,9 @@ cmake_args = [ f"-DCMAKE_BUILD_TYPE={cfg}", - f"-DCMAKE_PREFIX_PATH={torch.utils.cmake_prefix_path}", + f"-DCMAKE_PREFIX_PATH={_CMAKE_PREFIX_PATH}", f"-DCMAKE_INSTALL_PREFIX={extdir}", ++ f"-DCMAKE_MAKE_PROGRAM={_CMAKE_MAKE_PROGRAM}", "-DCMAKE_VERBOSE_MAKEFILE=ON", f"-DPython_INCLUDE_DIR={distutils.sysconfig.get_python_inc()}", + f"-DBUILD_CPP_TEST={'ON' if _BUILD_CPP_TEST else 'OFF'}", diff --git a/x11-packages/python-torchaudio/0002-fix-cross-compiling.patch b/x11-packages/python-torchaudio/0002-fix-cross-compiling.patch deleted file mode 100644 index 40dc4207bee08a..00000000000000 --- a/x11-packages/python-torchaudio/0002-fix-cross-compiling.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/third_party/bzip2/CMakeLists.txt.orig -+++ b/third_party/bzip2/CMakeLists.txt -@@ -40,7 +40,7 @@ - BUILD_BYPRODUCTS ${BZIP_LIBRARIES} - BUILD_IN_SOURCE 1 -- CONFIGURE_COMMAND "" -- BUILD_COMMAND make VERBOSE=1 "CFLAGS=-fPIC -fvisibility=hidden -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64" -+ CONFIGURE_COMMAND bash -c "sed -i 's/all: libbz2.a bzip2 bzip2recover test/all: libbz2.a bzip2 bzip2recover/' Makefile" # Do not run test for bzip2 -+ BUILD_COMMAND make VERBOSE=1 "CFLAGS=$ENV{CFLAGS} -fPIC -fvisibility=hidden -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64" "CC=$ENV{CC}" "AR=$ENV{AR}" "RANLIB=$ENV{RANLIB}" "LDFLAGS=$ENV{LDFLAGS}" - INSTALL_COMMAND make install PREFIX=${INSTALL_DIR} - DOWNLOAD_NO_PROGRESS ON - LOG_DOWNLOAD ON diff --git a/x11-packages/python-torchaudio/0003-fix-patch-for-sox.patch b/x11-packages/python-torchaudio/0003-fix-patch-for-sox.patch deleted file mode 100644 index 2363f19c9b0b85..00000000000000 --- a/x11-packages/python-torchaudio/0003-fix-patch-for-sox.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/third_party/patches/sox.patch.orig -+++ b/third_party/patches/sox.patch -@@ -15,3 +15,37 @@ - + return sox_false; - return ((st.st_mode & S_IFMT) == S_IFREG); - } -+ -+Do not #error, just define NO_REWIND_PIPE -+--- sox/src/formats.c -++++ sox/src/formats.c -+@@ -422,7 +426,7 @@ -+ /* To fix this #error, either simply remove the #error line and live without -+ * file-type detection with pipes, or add support for your compiler in the -+ * lines above. Test with cat monkey.wav | ./sox --info - */ -+- #error FIX NEEDED HERE -++ // #error FIX NEEDED HERE -+ #define NO_REWIND_PIPE -+ (void)fp; -+ #endif -+--- sox/CMakeLists.txt.orig -++++ sox/CMakeLists.txt -+@@ -76,7 +76,7 @@ -+ check_include_files("byteswap.h" HAVE_BYTESWAP_H) -+ check_include_files("inttypes.h" HAVE_INTTYPES_H) -+ check_include_files("fenv.h" HAVE_FENV_H) -+-check_include_files("glob.h" HAVE_GLOB_H) -++#check_include_files("glob.h" HAVE_GLOB_H) -+ check_include_files("io.h" HAVE_IO_H) -+ #check_include_files("ltdl.h" HAVE_LTDL_H) # no plug-ins as yet -+ check_include_files("stdint.h" HAVE_STDINT_H) -+--- sox/configure -++++ sox/configure -+@@ -13000,7 +13000,7 @@ -+ -+ fi -+ -+-for ac_header in fcntl.h unistd.h byteswap.h sys/stat.h sys/time.h sys/timeb.h sys/types.h sys/utsname.h termios.h glob.h fenv.h -++for ac_header in fcntl.h unistd.h byteswap.h sys/stat.h sys/time.h sys/timeb.h sys/types.h sys/utsname.h termios.h fenv.h -+ do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/x11-packages/python-torchaudio/0004-fix-patch-for-vorbis.patch b/x11-packages/python-torchaudio/0004-fix-patch-for-vorbis.patch deleted file mode 100644 index 3ef84aa4cf3020..00000000000000 --- a/x11-packages/python-torchaudio/0004-fix-patch-for-vorbis.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/third_party/sox/CMakeLists.txt -+++ b/third_party/sox/CMakeLists.txt -@@ -92,7 +92,7 @@ - DOWNLOAD_DIR ${ARCHIVE_DIR} - URL https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.6.tar.gz - URL_HASH SHA256=6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb -- PATCH_COMMAND cp ${patch_dir}/config.guess ${patch_dir}/config.sub ${CMAKE_CURRENT_BINARY_DIR}/src/vorbis/ -+ PATCH_COMMAND patch -p1 < ${patch_dir}/vorbis.patch && cp ${patch_dir}/config.guess ${patch_dir}/config.sub ${CMAKE_CURRENT_BINARY_DIR}/src/vorbis/ - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ${envs} ${CMAKE_CURRENT_BINARY_DIR}/src/vorbis/configure ${COMMON_ARGS} --with-ogg - DOWNLOAD_NO_PROGRESS ON - LOG_DOWNLOAD ON ---- a/third_party/patches/vorbis.patch -+++ b/third_party/patches/vorbis.patch -@@ -0,0 +1,14 @@ -+--- vorbis/configure -++++ vorbis/configure -+@@ -12734,9 +12734,9 @@ -+ case $host in -+ *86-*-linux*) -+ DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" -+- CFLAGS="-O3 -Wall -Wextra -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char" -++ CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char" -+ # PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static" -+- PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline" -++ PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char -fno-inline" -+ -+ # glibc < 2.1.3 has a serious FP bug in the math inline header -+ # that will cripple Vorbis. Look to see if the magic FP stack diff --git a/x11-packages/python-torchaudio/build.sh b/x11-packages/python-torchaudio/build.sh index 5b310679fc3694..cbee1935bfe557 100644 --- a/x11-packages/python-torchaudio/build.sh +++ b/x11-packages/python-torchaudio/build.sh @@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/pytorch/audio TERMUX_PKG_DESCRIPTION="Data manipulation and transformation for audio signal processing, powered by PyTorch" TERMUX_PKG_LICENSE="BSD 2-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=2.0.1 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_VERSION=2.4.1 TERMUX_PKG_SRCURL=git+https://github.com/pytorch/audio # FFMPEG TERMUX_PKG_DEPENDS="libc++, python, python-pip, python-torch" diff --git a/x11-packages/python-torchvision/build.sh b/x11-packages/python-torchvision/build.sh index d328553eda9d6a..3ecbebbab738bf 100644 --- a/x11-packages/python-torchvision/build.sh +++ b/x11-packages/python-torchvision/build.sh @@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/pytorch/vision TERMUX_PKG_DESCRIPTION="Datasets, Transforms and Models specific to Computer Vision" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.15.1 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_VERSION=0.19.1 TERMUX_PKG_SRCURL=git+https://github.com/pytorch/vision # ffmpeg TERMUX_PKG_DEPENDS="libc++, python, python-numpy, python-pillow, python-pip, python-torch, libjpeg-turbo, libpng, zlib" diff --git a/x11-packages/python-torchvision/setup.py.patch b/x11-packages/python-torchvision/setup.py.patch index 86f5c9ccbe5b64..f8946a902a2b37 100644 --- a/x11-packages/python-torchvision/setup.py.patch +++ b/x11-packages/python-torchvision/setup.py.patch @@ -1,5 +1,6 @@ ---- ./setup.py.orig -+++ ./setup.py +diff -u -r ../cache/tmp-checkout/setup.py ./setup.py +--- ../cache/tmp-checkout/setup.py 2024-10-03 18:27:11.540911181 +0000 ++++ ./setup.py 2024-10-04 12:09:20.737925352 +0000 @@ -6,10 +6,9 @@ import subprocess import sys @@ -12,7 +13,7 @@ def read(*names, **kwargs): -@@ -159,11 +158,6 @@ +@@ -163,11 +162,6 @@ is_rocm_pytorch = False @@ -24,7 +25,8 @@ if is_rocm_pytorch: from torch.utils.hipify import hipify_python -@@ -189,7 +183,7 @@ +@@ -190,8 +184,8 @@ + define_macros = [] - extra_compile_args = {"cxx": []} @@ -34,8 +36,27 @@ extension = CUDAExtension sources += source_cuda if not is_rocm_pytorch: -@@ -245,7 +245,7 @@ - image_macros += [("USE_PYTHON", None)] +@@ -204,8 +198,6 @@ + define_macros += [("WITH_HIP", None)] + nvcc_flags = [] + extra_compile_args["nvcc"] = nvcc_flags +- elif torch.backends.mps.is_available() or force_mps: +- sources += source_mps + + if sys.platform == "win32": + define_macros += [("torchvision_EXPORTS", None)] +@@ -221,9 +213,6 @@ + extra_compile_args["nvcc"] = [f for f in nvcc_flags if not ("-O" in f or "-g" in f)] + extra_compile_args["nvcc"].append("-O0") + extra_compile_args["nvcc"].append("-g") +- else: +- print("Compiling with debug mode OFF") +- extra_compile_args["cxx"].append("-g0") + + sources = [os.path.join(extensions_dir, s) for s in sources] + +@@ -254,7 +243,7 @@ + image_link_flags = [] # Locating libPNG - libpng = shutil.which("libpng-config") @@ -43,7 +64,7 @@ pngfix = shutil.which("pngfix") png_found = libpng is not None or pngfix is not None -@@ -308,11 +302,7 @@ +@@ -313,11 +302,7 @@ # Locating nvjpeg # Should be included in CUDA_HOME for CUDA >= 10.1, which is the minimum version we have in the CI @@ -56,8 +77,8 @@ use_nvjpeg = use_nvjpeg and nvjpeg_found if use_nvjpeg: -@@ -343,7 +333,7 @@ - ) +@@ -354,7 +339,7 @@ + ) # Locating ffmpeg - ffmpeg_exe = shutil.which("ffmpeg") @@ -65,7 +86,7 @@ has_ffmpeg = ffmpeg_exe is not None ffmpeg_version = None # FIXME: Building torchvision with ffmpeg on MacOS or with Python 3.9 -@@ -352,7 +342,7 @@ +@@ -363,7 +348,7 @@ # FIXME: https://github.com/pytorch/vision/issues/3367 if sys.platform != "linux" or (sys.version_info.major == 3 and sys.version_info.minor == 9): has_ffmpeg = False @@ -74,7 +95,7 @@ try: # This is to check if ffmpeg is installed properly. ffmpeg_version = subprocess.check_output(["ffmpeg", "-version"]) -@@ -444,13 +434,7 @@ +@@ -455,13 +440,7 @@ # CUDA_HOME should be set to the cuda root directory. # TORCHVISION_INCLUDE and TORCHVISION_LIBRARY should include the location to # video codec header files and libraries respectively. @@ -89,7 +110,7 @@ use_video_codec = use_video_codec and video_codec_found if ( -@@ -547,7 +531,6 @@ +@@ -560,7 +539,6 @@ ext_modules=get_extensions(), python_requires=">=3.8", cmdclass={ From db9bf7d02ce36b528dc251032967cda70d78242d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 4 Oct 2024 19:16:58 +0000 Subject: [PATCH 133/453] bump(x11/cherrytree): 1.2.0 * Remove fmt-11.patch file which was added in upstream. https://github.com/giuspen/cherrytree/commit/fc1d7499067b9db9841175b5a2d6934dc65e4522 https://github.com/giuspen/cherrytree/commit/ccc2d101f24a409efddb2f29e8c14002c9836a85 * Replace gtksourceview3 with gtksourceview4. --- x11-packages/cherrytree/build.sh | 7 +- x11-packages/cherrytree/fmt-11.patch | 985 --------------------------- 2 files changed, 3 insertions(+), 989 deletions(-) delete mode 100644 x11-packages/cherrytree/fmt-11.patch diff --git a/x11-packages/cherrytree/build.sh b/x11-packages/cherrytree/build.sh index d51cac426887f2..6552cde6717c0f 100644 --- a/x11-packages/cherrytree/build.sh +++ b/x11-packages/cherrytree/build.sh @@ -2,12 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://www.giuspen.net/cherrytree/ TERMUX_PKG_DESCRIPTION="A hierarchical note taking application" TERMUX_PKG_LICENSE="GPL-3.0, LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.1.4" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="1.2.0" TERMUX_PKG_SRCURL=https://github.com/giuspen/cherrytree/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=4440dd39fdd637b82cf3abac82389fe30f4da81a79f5d61ffcdd64748b24465b +TERMUX_PKG_SHA256=8d4e66b3c16e2362a4e98146e0bfe788803d9d54282392d44a917a3c74e9d32e TERMUX_PKG_AUTO_UPDATE=true -TERMUX_PKG_DEPENDS="fmt, fribidi, glib, gspell, gtk3, gtkmm3, gtksourceview3, libatkmm-1.6, libc++, libcairo, libcairomm-1.0, libcurl, libglibmm-2.4, libgtksourceviewmm-3.0, libpangomm-1.4, libsigc++-2.0, libsqlite, libuchardet, libvte, libxml++-2.6, libxml2, pango" +TERMUX_PKG_DEPENDS="fmt, fribidi, glib, gspell, gtk3, gtkmm3, gtksourceview4, libatkmm-1.6, libc++, libcairo, libcairomm-1.0, libcurl, libglibmm-2.4, libpangomm-1.4, libsigc++-2.0, libsqlite, libuchardet, libvte, libxml++-2.6, libxml2, pango" TERMUX_PKG_BUILD_DEPENDS="libspdlog" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DBUILD_TESTING=OFF diff --git a/x11-packages/cherrytree/fmt-11.patch b/x11-packages/cherrytree/fmt-11.patch deleted file mode 100644 index 059278f37ce229..00000000000000 --- a/x11-packages/cherrytree/fmt-11.patch +++ /dev/null @@ -1,985 +0,0 @@ -From ccc2d101f24a409efddb2f29e8c14002c9836a85 Mon Sep 17 00:00:00 2001 -From: Giuseppe Penone -Date: Wed, 21 Aug 2024 18:19:40 +0100 -Subject: [PATCH] removed fmt custom formatter for Glib::ustring (#2548) - ---- - src/ct/ct_actions_edit.cc | 6 +++--- - src/ct/ct_actions_find.cc | 4 ++-- - src/ct/ct_actions_others.cc | 2 +- - src/ct/ct_clipboard.cc | 10 +++++----- - src/ct/ct_config.cc | 2 +- - src/ct/ct_dialogs_find.cc | 2 +- - src/ct/ct_export2html.cc | 10 +++++----- - src/ct/ct_export2pdf.cc | 10 +++++----- - src/ct/ct_export2txt.cc | 2 +- - src/ct/ct_filesystem.cc | 2 +- - src/ct/ct_image.cc | 2 +- - src/ct/ct_imports.cc | 4 ++-- - src/ct/ct_logging.h | 13 +------------ - src/ct/ct_main_win_buffer.cc | 4 ++-- - src/ct/ct_main_win_events.cc | 2 +- - src/ct/ct_misc_utils.cc | 4 ++-- - src/ct/ct_misc_utils.h | 2 +- - src/ct/ct_storage_control.cc | 6 +++--- - src/ct/ct_storage_multifile.cc | 2 +- - src/ct/ct_storage_sqlite.cc | 4 ++-- - src/ct/ct_storage_sqlite.h | 4 ++-- - src/ct/ct_storage_xml.cc | 2 +- - src/ct/ct_treestore.cc | 6 +++--- - tests/tests_encoding.cpp | 4 ++-- - 24 files changed, 49 insertions(+), 60 deletions(-) - -diff --git a/src/ct/ct_actions_edit.cc b/src/ct/ct_actions_edit.cc -index 972838431..155d935ff 100644 ---- a/src/ct/ct_actions_edit.cc -+++ b/src/ct/ct_actions_edit.cc -@@ -93,7 +93,7 @@ void CtActions::image_insert() - rPixbuf = Gdk::Pixbuf::create_from_file(filename); - } - catch (Glib::Error& error) { -- spdlog::error("{} {}", __FUNCTION__, error.what()); -+ spdlog::error("{} {}", __FUNCTION__, error.what().raw()); - } - if (rPixbuf) - _image_edit_dialog(rPixbuf, _curr_buffer()->get_insert()->get_iter(), nullptr/*pIterBound*/); -@@ -303,7 +303,7 @@ TocEntry find_toc_entries(CtActions& actions, CtTreeIter& node, unsigned depth) - std::unordered_map encountered_headers; - Glib::RefPtr rTextBuffer = node.get_node_text_buffer(); - if (not rTextBuffer) { -- throw std::runtime_error(str::format(_("Failed to retrieve the content of the node '%s'"), node.get_node_name())); -+ throw std::runtime_error(str::format(_("Failed to retrieve the content of the node '%s'"), node.get_node_name().raw())); - } - Gtk::TextIter text_iter = rTextBuffer->begin(); - -@@ -354,7 +354,7 @@ TocEntry find_toc_entries(CtActions& actions, CtTreeIter& node, unsigned depth) - entry.children.emplace_back(fmt::format("node {} {}", node_id, anchor_txt), false/*is_node*/, txt, depth + 1, h_lvl); - } - catch(std::invalid_argument&) { -- spdlog::error("Could not convert [{}] to an integer", h_level_str); -+ spdlog::error("Could not convert [{}] to an integer", h_level_str.raw()); - } - } - -diff --git a/src/ct/ct_actions_find.cc b/src/ct/ct_actions_find.cc -index 47a708873..d0b8cabad 100644 ---- a/src/ct/ct_actions_find.cc -+++ b/src/ct/ct_actions_find.cc -@@ -218,7 +218,7 @@ void CtActions::find_in_multiple_nodes_ok_clicked() - if (_s_options.node_content) { - Glib::RefPtr rTextBuffer = ct_node_iter.get_node_text_buffer(); - if (not rTextBuffer) { -- CtDialogs::error_dialog(str::format(_("Failed to retrieve the content of the node '%s'"), ct_node_iter.get_node_name()), *_pCtMainWin); -+ CtDialogs::error_dialog(str::format(_("Failed to retrieve the content of the node '%s'"), ct_node_iter.get_node_name().raw()), *_pCtMainWin); - break; - } - } -@@ -440,7 +440,7 @@ CtMatchType CtActions::_parse_given_node_content(CtTreeIter node_iter, - if (_s_options.node_content) { - Glib::RefPtr rTextBuffer = ct_node_iter.get_node_text_buffer(); - if (not rTextBuffer) { -- CtDialogs::error_dialog(str::format(_("Failed to retrieve the content of the node '%s'"), ct_node_iter.get_node_name()), *_pCtMainWin); -+ CtDialogs::error_dialog(str::format(_("Failed to retrieve the content of the node '%s'"), ct_node_iter.get_node_name().raw()), *_pCtMainWin); - break; - } - } -diff --git a/src/ct/ct_actions_others.cc b/src/ct/ct_actions_others.cc -index a7c6746eb..91ff638e4 100644 ---- a/src/ct/ct_actions_others.cc -+++ b/src/ct/ct_actions_others.cc -@@ -575,7 +575,7 @@ void CtActions::_exec_code(const bool is_all) - } - else { - const int retVal = std::system(terminal_cmd.c_str()); -- if (retVal != 0) spdlog::error("system({}) returned {}", terminal_cmd, retVal); -+ if (retVal != 0) spdlog::error("system({}) returned {}", terminal_cmd.raw(), retVal); - } - } - -diff --git a/src/ct/ct_clipboard.cc b/src/ct/ct_clipboard.cc -index 9c9bc3ca7..8ca0b080f 100644 ---- a/src/ct/ct_clipboard.cc -+++ b/src/ct/ct_clipboard.cc -@@ -246,7 +246,7 @@ void CtClipboard::anchor_link_to_clipboard(CtTreeIter node, const Glib::ustring& - CtClipboardData* clip_data = new CtClipboardData{}; - std::string tml = R"XML({})XML"; - clip_data->rich_text = fmt::format(tml, node.get_node_id(), str::xml_escape(anchor_name), str::xml_escape(anchor_name)); -- clip_data->plain_text = fmt::format("{} - {} - {}", node.get_cherrytree_filepath(), CtMiscUtil::get_node_hierarchical_name(node, " / ", false/*for_filename*/).c_str(), anchor_name); -+ clip_data->plain_text = fmt::format("{} - {} - {}", node.get_cherrytree_filepath(), CtMiscUtil::get_node_hierarchical_name(node, " / ", false/*for_filename*/).c_str(), anchor_name.raw()); - - _set_clipboard_data({CtConst::TARGET_CTD_RICH_TEXT, CtConst::TARGET_CTD_PLAIN_TEXT}, clip_data); - } -@@ -756,7 +756,7 @@ void CtClipboard::on_received_to_uri_list(const Gtk::SelectionData& selection_da - property_value = "webs " + element; - } - else if (str::startswith(element, "file://")) { -- Glib::ustring file_path = element.substr(7); -+ std::string file_path = element.substr(7); - file_path = str::replace(file_path, "%20", CtConst::CHAR_SPACE); - g_autofree gchar* mimetype = g_content_type_guess(file_path.c_str(), nullptr, 0, nullptr); - if (mimetype and str::startswith(mimetype, "image/") and Glib::file_test(file_path, Glib::FILE_TEST_IS_REGULAR)) { -@@ -794,7 +794,7 @@ void CtClipboard::on_received_to_uri_list(const Gtk::SelectionData& selection_da - _pCtMainWin->get_ct_actions()->embfile_insert_path(element); - } - else { -- spdlog::debug("'{}' not dir or file", element); -+ spdlog::debug("'{}' not dir or file", element.raw()); - } - } - if (not property_value.empty()) { -@@ -883,10 +883,10 @@ void CtClipboard::_yaml_to_codebox(const Glib::ustring& yaml_text, Gtk::TextView - _xml_to_codebox(xml_doc.write_to_string(), pTextView); - } - catch (std::exception& e) { -- spdlog::error("_yaml_to_codebox exception: {}\n{}", e.what(), yaml_text); -+ spdlog::error("_yaml_to_codebox exception: {}\n{}", e.what(), yaml_text.raw()); - } - catch (...) { -- spdlog::error("_yaml_to_codebox unknown exception\n{}", yaml_text); -+ spdlog::error("_yaml_to_codebox unknown exception\n{}", yaml_text.raw()); - } - } - -diff --git a/src/ct/ct_config.cc b/src/ct/ct_config.cc -index 2470ab82f..3ebb54512 100644 ---- a/src/ct/ct_config.cc -+++ b/src/ct/ct_config.cc -@@ -92,7 +92,7 @@ bool CtConfig::_load_from_file() - _uKeyFile->load_from_file(_configFilepath.string()); - } - catch (Glib::Error& error) { -- spdlog::error("CtConfig {}: {}", _configFilepath, error.what()); -+ spdlog::error("CtConfig {}: {}", _configFilepath, error.what().raw()); - return false; - } - _populate_data_from_keyfile(); -diff --git a/src/ct/ct_dialogs_find.cc b/src/ct/ct_dialogs_find.cc -index a4e8c4e4b..78ef6dc31 100644 ---- a/src/ct/ct_dialogs_find.cc -+++ b/src/ct/ct_dialogs_find.cc -@@ -526,7 +526,7 @@ void CtDialogs::match_dialog(const std::string& str_find, - pButtonNext->set_image_position(Gtk::PositionType::POS_RIGHT); - CtMenuAction* pAction = pCtMainWin->get_ct_menu().find_action("toggle_show_allmatches_dlg"); - Glib::ustring label = CtStrUtil::get_accelerator_label(pAction->get_shortcut(pCtMainWin->get_ct_config())); -- Gtk::Button* pButtonHide = pMatchesDialog->add_button(str::format(_("Hide (Restore with '%s')"), label), Gtk::RESPONSE_CLOSE); -+ Gtk::Button* pButtonHide = pMatchesDialog->add_button(str::format(_("Hide (Restore with '%s')"), label.raw()), Gtk::RESPONSE_CLOSE); - pButtonHide->set_image_from_icon_name("ct_close", Gtk::ICON_SIZE_BUTTON); - - rModel->load_current_page(); -diff --git a/src/ct/ct_export2html.cc b/src/ct/ct_export2html.cc -index ea2acce2c..2e777548a 100644 ---- a/src/ct/ct_export2html.cc -+++ b/src/ct/ct_export2html.cc -@@ -1,7 +1,7 @@ - /* - * ct_export2html.cc - * -- * Copyright 2009-2023 -+ * Copyright 2009-2024 - * Giuseppe Penone - * Evgenii Gurianov - * -@@ -83,9 +83,9 @@ void CtExport2Html::node_export_to_html(CtTreeIter tree_iter, const CtExportOpti - { - Glib::RefPtr rTextBuffer = tree_iter.get_node_text_buffer(); - if (not rTextBuffer) { -- throw std::runtime_error(str::format(_("Failed to retrieve the content of the node '%s'"), tree_iter.get_node_name())); -+ throw std::runtime_error(str::format(_("Failed to retrieve the content of the node '%s'"), tree_iter.get_node_name().raw())); - } -- Glib::ustring html_text = str::format(HTML_HEADER, tree_iter.get_node_name()); -+ Glib::ustring html_text = str::format(HTML_HEADER, tree_iter.get_node_name().raw()); - if (not index.empty() and options.index_in_page) { - auto script = R"HTML( -