Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/assimp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library to import various well-known 3D model formats in
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="6.0.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/assimp/assimp/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=d1822d9a19c9205d6e8bc533bf897174ddb360ce504680f294170cc1d6319751
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
11 changes: 11 additions & 0 deletions packages/assimp/fix-unused-return-value-werr.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/contrib/Open3DGC/o3dgcArithmeticCodec.cpp
+++ b/contrib/Open3DGC/o3dgcArithmeticCodec.cpp
@@ -98,7 +98,7 @@ namespace o3dgc
fprintf(stderr, "\n\n -> Arithmetic coding error: ");
fputs(msg, stderr);
fputs("\n Execution terminated!\n", stderr);
- getchar();
+ (void)getchar();
exit(1);
}

2 changes: 1 addition & 1 deletion packages/bastet/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tetris clone with 'bastard' block-choosing AI"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.43.2
TERMUX_PKG_REVISION=11
TERMUX_PKG_REVISION=12
TERMUX_PKG_SRCURL=https://github.com/fph/bastet/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f219510afc1d83e4651fbffd5921b1e0b926d5311da4f8fa7df103dc7f2c403f
TERMUX_PKG_DEPENDS="libc++, ncurses"
Expand Down
1 change: 1 addition & 0 deletions packages/bitcoin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Bitcoin Core"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="29.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/bitcoin/bitcoin/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e2347dcca0ce657c85fcd81d793d8d84502c85f673686579e8cf8a4c9c412ba2
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
20 changes: 20 additions & 0 deletions packages/boost/add-missing-add_const-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Sun, 30 Mar 2025 21:45:49 -0400
Subject: [PATCH] Add include for add_const

Signed-off-by: Michael Cho <michael@michaelcho.dev>
---
include/boost/range/detail/any_iterator_interface.hpp | 1 +
1 file changed, 1 insertion(+)

--- a/boost/range/detail/any_iterator_interface.hpp
+++ b/boost/range/detail/any_iterator_interface.hpp
@@ -15,6 +15,7 @@
#include <boost/iterator/iterator_categories.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/is_reference.hpp>
+#include <boost/type_traits/add_const.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>

5 changes: 2 additions & 3 deletions packages/boost/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="@termux"
# Never forget to always bump revision of reverse dependencies and rebuild them
# when bumping version.
TERMUX_PKG_VERSION="1:1.87.0"
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION="1:1.89.0"
_VERSION="${TERMUX_PKG_VERSION:2}"
TERMUX_PKG_SRCURL="https://archives.boost.io/release/${_VERSION}/source/boost_${_VERSION//./_}.tar.bz2"
TERMUX_PKG_SHA256=af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89
TERMUX_PKG_SHA256=85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_DEPENDS="libc++, libbz2, libiconv, liblzma, zlib, libandroid-wordexp"
TERMUX_PKG_BUILD_DEPENDS="python"
Expand Down
55 changes: 0 additions & 55 deletions packages/boost/fix-arm-inline-asm-error.patch

This file was deleted.

2 changes: 1 addition & 1 deletion packages/botan3/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
# This specific package is for libbotan-3.
TERMUX_PKG_VERSION="3.7.1"
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://botan.randombit.net/releases/Botan-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b
TERMUX_PKG_DEPENDS="libbz2, libc++, liblzma, libsqlite, zlib"
Expand Down
2 changes: 1 addition & 1 deletion packages/enblend/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
_VERSION=4.2.0_p20161007
TERMUX_PKG_VERSION=${_VERSION//_/}
TERMUX_PKG_REVISION=6
TERMUX_PKG_REVISION=7
TERMUX_PKG_SRCURL=https://dev.gentoo.org/~soap/distfiles/enblend-${_VERSION}.tar.xz
TERMUX_PKG_SHA256=4fe05af3d697bd6b2797facc8ba5aeabdc91e233156552301f1c7686232ff4c3
TERMUX_PKG_DEPENDS="gsl, libandroid-glob, libc++, libtiff, libvigra, littlecms"
Expand Down
22 changes: 22 additions & 0 deletions packages/i2pd/boost-1.89-CMakeLists.txt.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Like boost-1.89.patch, but implemented for CMakeLists.txt also

--- a/build/CMakeLists.txt
+++ b/build/CMakeLists.txt
@@ -256,14 +256,14 @@ else()
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
- add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK)
+ add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK)
if(WIN32)
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_STATIC_RUNTIME OFF)
endif()
endif()

-find_package(Boost REQUIRED COMPONENTS system filesystem program_options)
+find_package(Boost REQUIRED COMPONENTS filesystem program_options)
if(NOT DEFINED Boost_FOUND)
message(SEND_ERROR "Boost is not found, or your boost version was below 1.46. Please download Boost!")
endif()

70 changes: 70 additions & 0 deletions packages/i2pd/boost-1.89.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
From 27f2c5285da9bec537caeba9f7df6920b9f21c87 Mon Sep 17 00:00:00 2001
From: orignal <i2porignal@yandex.ru>
Date: Thu, 14 Aug 2025 18:51:54 -0400
Subject: [PATCH] support boost 1.89

---
Makefile.bsd | 2 +-
Makefile.homebrew | 2 +-
Makefile.osx | 2 +-
libi2pd/Timestamp.h | 3 ++-
4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile.bsd b/Makefile.bsd
index 1c9118028a0..9c6de7f0d87 100644
--- a/Makefile.bsd
+++ b/Makefile.bsd
@@ -3,7 +3,7 @@ CXXFLAGS ?= ${CXX_DEBUG} -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-misl
DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1
INCFLAGS = -I/usr/include/ -I/usr/local/include/
LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-LDLIBS = -lssl -lcrypto -lz -lpthread -lboost_system -lboost_program_options
+LDLIBS = -lssl -lcrypto -lz -lpthread -lboost_program_options

## NOTE: NEEDED_CXXFLAGS is here so that custom CXXFLAGS can be specified at build time
## **without** overwriting the CXXFLAGS which we need in order to build.
diff --git a/Makefile.homebrew b/Makefile.homebrew
index 706f981110c..9d8d17cdb52 100644
--- a/Makefile.homebrew
+++ b/Makefile.homebrew
@@ -18,7 +18,7 @@ endif
LDLIBS += -lpthread -ldl
else
LDFLAGS += -L${SSLROOT}/lib -L${BOOSTROOT}/lib
- LDLIBS = -lz -lssl -lcrypto -lboost_system -lboost_filesystem -lboost_program_options -lpthread
+ LDLIBS = -lz -lssl -lcrypto -lboost_program_options -lpthread
ifeq ($(USE_UPNP),yes)
LDFLAGS += -L${UPNPROOT}/lib
LDLIBS += -lminiupnpc
diff --git a/Makefile.osx b/Makefile.osx
index 52282307fa0..a2ad515efd8 100644
--- a/Makefile.osx
+++ b/Makefile.osx
@@ -9,7 +9,7 @@ LDFLAGS += -Wl,-dead_strip_dylibs
ifeq ($(USE_STATIC),yes)
LDLIBS = -lz /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a /usr/local/lib/libboost_system.a /usr/local/lib/libboost_filesystem.a /usr/local/lib/libboost_program_options.a -lpthread
else
- LDLIBS = -lz -lssl -lcrypto -lboost_system -lboost_filesystem -lboost_program_options -lpthread
+ LDLIBS = -lz -lssl -lcrypto -lboost_program_options -lpthread
endif

ifeq ($(USE_UPNP),yes)
diff --git a/libi2pd/Timestamp.h b/libi2pd/Timestamp.h
index 00c60433251..6b22468566e 100644
--- a/libi2pd/Timestamp.h
+++ b/libi2pd/Timestamp.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2013-2024, The PurpleI2P Project
+* Copyright (c) 2013-2025, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
@@ -14,6 +14,7 @@
#include <vector>
#include <string>
#include <boost/asio.hpp>
+#include <boost/asio/deadline_timer.hpp> // for boost 1.89

namespace i2p
{
1 change: 1 addition & 0 deletions packages/i2pd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_LICENSE_FILE="../LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.57.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/PurpleI2P/i2pd/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=e2327f816d92a369eaaf9fd1661bc8b350495199e2f2cb4bfd4680107cd1d4b4
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
33 changes: 33 additions & 0 deletions packages/innoextract/boost-1.89.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
From 882796e0e9b134b02deeaae4bbfe92920adb6fe2 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Mon, 11 Aug 2025 12:06:17 -0400
Subject: [PATCH] CMake: Fix build with Boost 1.89.0

---
CMakeLists.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69956105..dbbe0d34 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,13 +173,17 @@ else()
set(INNOEXTRACT_HAVE_LZMA 0)
endif()

-find_package(Boost REQUIRED COMPONENTS
+set(BOOST_REQUIRED_COMPONENTS
iostreams
filesystem
date_time
- system
program_options
)
+find_package(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
+if(Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 69)
+ list(APPEND BOOST_REQUIRED_COMPONENTS system)
+ find_package(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
+endif()
list(APPEND LIBRARIES ${Boost_LIBRARIES})
link_directories(${Boost_LIBRARY_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIR})
2 changes: 1 addition & 1 deletion packages/innoextract/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A tool to unpack installers created by Inno Setup"
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.9
TERMUX_PKG_REVISION=8
TERMUX_PKG_REVISION=9
TERMUX_PKG_SRCURL=https://constexpr.org/innoextract/files/innoextract-${TERMUX_PKG_VERSION}/innoextract-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aba6cf88126
TERMUX_PKG_DEPENDS="libc++, boost, liblzma, libiconv"
Expand Down
11 changes: 11 additions & 0 deletions packages/innoextract/cmake4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/cmake/VersionScript.cmake
+++ b/cmake/VersionScript.cmake
@@ -17,7 +17,7 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.

-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...3.15)

# CMake script that reads a VERSION file and the current git history and the calls configure_file().
# This is used by version_file() in VersionString.cmake
20 changes: 20 additions & 0 deletions packages/ledger/boost-1.89.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From 8d858deba503689567459200aa0539c2eb3cf397 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Sun, 10 Aug 2025 23:22:26 -0400
Subject: [PATCH 1/2] Fix build with Boost 1.89.0

---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,7 +90,7 @@ endif()

# Set BOOST_ROOT to help CMake to find the right Boost version
find_package(Boost 1.49.0
- REQUIRED date_time filesystem system iostreams regex unit_test_framework
+ REQUIRED date_time filesystem iostreams regex unit_test_framework
${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide)

# enable Boost::nowide library (for UTF8 command line args on Windows)
5 changes: 2 additions & 3 deletions packages/ledger/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ TERMUX_PKG_DESCRIPTION="Powerful, double-entry accounting system"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.3.2"
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/ledger/ledger/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=555296ee1e870ff04e2356676977dcf55ebab5ad79126667bc56464cb1142035
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="boost, libc++, libedit, libmpfr, libgmp, python"
TERMUX_PKG_BUILD_DEPENDS="boost-headers, utf8cpp"
TERMUX_PKG_BREAKS="ledger-dev"
TERMUX_PKG_REPLACES="ledger-dev"
# See https://gitlab.kitware.com/cmake/cmake/issues/18865:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBoost_NO_BOOST_CMAKE=ON
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DUSE_PYTHON=ON
-DUTFCPP_PATH=$TERMUX_PREFIX/include/utf8cpp
"
Expand Down
28 changes: 28 additions & 0 deletions packages/lgogdownloader/boost-1.89.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 7ba719a7a53d6025cd82f8b1c86e765285ed802b Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Sun, 10 Aug 2025 23:50:21 -0400
Subject: [PATCH] CMake: Fix build with Boost 1.89.0

---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index de4779f..6c7f0d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,12 +13,13 @@ endif(USE_QT_GUI)
find_package(Boost
CONFIG
REQUIRED
- system
filesystem
regex
program_options
date_time
iostreams
+ OPTIONAL_COMPONENTS
+ system
)
find_package(CURL 7.55.0 REQUIRED)
find_package(Jsoncpp REQUIRED)
2 changes: 1 addition & 1 deletion packages/lgogdownloader/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open source downloader to GOG.com for Linux users using
TERMUX_PKG_LICENSE="WTFPL"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.17"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/Sude-/lgogdownloader/releases/download/v${TERMUX_PKG_VERSION}/lgogdownloader-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fefda26206ebb1e2a6d734b76f6f07977da150064141f29ed1f90450daf4e69e
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
1 change: 1 addition & 0 deletions packages/libarrow-cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="C++ libraries for Apache Arrow"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="21.0.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/apache/arrow/archive/refs/tags/apache-arrow-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e92401790fdba33bfb4b8aa522626d800ea7fda4b6f036aaf39849927d2cf88d
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
2 changes: 1 addition & 1 deletion packages/libasio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Cross-platform C++ library for network and low-level I/O
TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.24.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/asio/asio/${TERMUX_PKG_VERSION}%20%28Stable%29/asio-${TERMUX_PKG_VERSION}.zip
TERMUX_PKG_SHA256=b628291471aee837ff951ea38c8a3a0b00ff99fd2a1ff3b7c7d3d993c0030b73
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers, openssl"
Expand Down
Loading