Skip to content

Commit 16a5e68

Browse files
authored
global packages update (#330)
apache2 bash-completion boost box64 box86 doxygen e2fsprogs gettext libaom libcurl libdrm libedit libelf libflac libgnutls libice libicu liblzma libnettle libnghttp2 libpam libpixman libpng libsecret libsm libsqlite libtool libtpms libuv libwayland-protocols libx11 libxau libxkbcommon libxml2 libxrender libxshmfence libxt libxxf86vm openssl pcre2 python zstd python-pip docbook-xsl-glibc binutils-libs
1 parent 7b6c8c4 commit 16a5e68

File tree

55 files changed

+285
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+285
-290
lines changed

gpkg/apache2/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://httpd.apache.org
22
TERMUX_PKG_DESCRIPTION="Apache Web Server"
33
TERMUX_PKG_LICENSE="Apache-2.0"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION=2.4.62
5+
TERMUX_PKG_VERSION=2.4.63
66
TERMUX_PKG_SRCURL=https://www.apache.org/dist/httpd/httpd-${TERMUX_PKG_VERSION}.tar.bz2
7-
TERMUX_PKG_SHA256=674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec
7+
TERMUX_PKG_SHA256=88fc236ab99b2864b248de7d49a008ec2afd7551e64dce8b95f58f32f94c46ab
88
TERMUX_PKG_DEPENDS="zlib-glibc, apr-util-glibc, pcre2-glibc, libnghttp2-glibc, openssl-glibc, libxcrypt-glibc"
99
TERMUX_PKG_BUILD_DEPENDS="libcurl-glibc, libjansson-glibc, brotli-glibc, libdb-glibc"
1010
TERMUX_PKG_CONFFILES="

gpkg/bash-completion/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
22
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
33
TERMUX_PKG_LICENSE="GPL-2.0"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION=2.14.0
5+
TERMUX_PKG_VERSION=2.16.0
66
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
7-
TERMUX_PKG_SHA256=5c7494f968280832d6adb5aa19f745a56f1a79df311e59338c5efa6f7285e168
7+
TERMUX_PKG_SHA256=3369bd5e418a75fb990863925aed5b420398acebb320ec4c0306b3eae23f107a
88
TERMUX_PKG_DEPENDS="bash-glibc"
99
TERMUX_PKG_PLATFORM_INDEPENDENT=true
1010
TERMUX_PKG_RM_AFTER_INSTALL="
1111
glibc/share/bash-completion/completions/makepkg
12+
glibc/share/bash-completion/completions/secret-tool
1213
"

gpkg/binutils-libs/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/
22
TERMUX_PKG_DESCRIPTION="GNU Binutils libraries"
33
TERMUX_PKG_LICENSE="GPL-3.0"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION=2.43.1
5+
TERMUX_PKG_VERSION=2.44
66
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/binutils/binutils-$TERMUX_PKG_VERSION.tar.xz
7-
TERMUX_PKG_SHA256=13f74202a3c4c51118b797a39ea4200d3f6cfbe224da6d1d95bb938480132dfd
7+
TERMUX_PKG_SHA256=ce2017e059d63e67ddb9240e9d4ec49c2893605035cd60e92ad53177f4377237
88
TERMUX_PKG_DEPENDS="glibc, libjansson-glibc, libelf-glibc, zlib-glibc, zstd-glibc"
99
TERMUX_PKG_CONFFILES="glibc/etc/gprofng.rc"
1010
TERMUX_PKG_NO_STATICSPLIT=true

gpkg/binutils-libs/gold-warn-unsupported.patch

Lines changed: 0 additions & 66 deletions
This file was deleted.

gpkg/boost/boost-process-detail-posix-shell_path.hpp.patch

Lines changed: 0 additions & 19 deletions
This file was deleted.

gpkg/boost/build.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://boost.org
22
TERMUX_PKG_DESCRIPTION="Free peer-reviewed portable C++ source libraries"
33
TERMUX_PKG_LICENSE="BSL-1.0"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION="1.83.0"
6-
TERMUX_PKG_SRCURL=https://boostorg.jfrog.io/artifactory/main/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
7-
TERMUX_PKG_SHA256=6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e
5+
TERMUX_PKG_VERSION="1.87.0"
6+
TERMUX_PKG_SRCURL=https://archives.boost.io/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
7+
TERMUX_PKG_SHA256=af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89
88
TERMUX_PKG_DEPENDS="libbz2-glibc, zlib-glibc, libicu-glibc, zstd-glibc"
99
TERMUX_PKG_BUILD_DEPENDS="python-glibc"
1010
TERMUX_PKG_BUILD_IN_SRC=true
@@ -26,6 +26,11 @@ termux_step_make_install() {
2626
local BOOSTAM=32
2727
fi
2828

29+
local ML_FLAG=""
30+
if [ "$TERMUX_ARCH" = i686 ]; then
31+
ML_FLAG="-DBOOST_STACKTRACE_LIBCXX_RUNTIME_MAY_CAUSE_MEMORY_LEAK"
32+
fi
33+
2934
./bootstrap.sh --with-toolset=gcc --with-icu --with-python=$TERMUX_PREFIX/bin/python3
3035
./b2 install \
3136
variant=release \
@@ -35,8 +40,8 @@ termux_step_make_install() {
3540
link=shared,static \
3641
toolset=gcc \
3742
python=$python_version \
38-
cflags="$CPPFLAGS $CFLAGS -fPIC -O3 -ffat-lto-objects" \
39-
cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3 -ffat-lto-objects" \
43+
cflags="$CPPFLAGS $CFLAGS $ML_FLAG -fPIC -O3 -ffat-lto-objects" \
44+
cxxflags="$CPPFLAGS $CXXFLAGS $ML_FLAG -fPIC -O3 -ffat-lto-objects" \
4045
linkflags="$LDFLAGS" \
4146
--layout=system \
4247
--prefix=$TERMUX_PREFIX \
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From e7433ba54596da97cb7859455cd37ca140305a9c Mon Sep 17 00:00:00 2001
2+
From: Peter Dimov <pdimov@gmail.com>
3+
Date: Mon, 13 Jan 2025 16:13:04 +0200
4+
Subject: [PATCH] Fix operator<< for shared_ptr and intrusive_ptr. Fixes #115.
5+
--- a/boost/smart_ptr/intrusive_ptr.hpp
6+
+++ b/boost/smart_ptr/intrusive_ptr.hpp
7+
@@ -285,7 +285,7 @@ template<class T, class U> intrusive_ptr<T> dynamic_pointer_cast( intrusive_ptr<
8+
9+
// operator<<
10+
11+
-template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y> const & p)
12+
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, intrusive_ptr<Y> const & p)
13+
{
14+
os << p.get();
15+
return os;
16+
--- a/boost/smart_ptr/shared_ptr.hpp
17+
+++ b/boost/smart_ptr/shared_ptr.hpp
18+
@@ -775,7 +775,7 @@ template<class T> inline typename shared_ptr<T>::element_type * get_pointer(shar
19+
20+
// operator<<
21+
22+
-template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
23+
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
24+
{
25+
os << p.get();
26+
return os;

gpkg/boost/shell_path.hpp.patch

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- src/boost/process/v1/detail/posix/shell_path.hpp 2024-12-05 03:53:35.000000000 +0300
2+
+++ src/boost/process/v1/detail/posix/shell_path.hpp.patch 2025-03-05 14:02:47.847495863 +0300
3+
@@ -18,13 +18,13 @@
4+
5+
inline boost::process::v1::filesystem::path shell_path()
6+
{
7+
- return "/bin/sh";
8+
+ return "@TERMUX_PREFIX@/bin/sh";
9+
}
10+
11+
inline boost::process::v1::filesystem::path shell_path(std::error_code &ec)
12+
{
13+
ec.clear();
14+
- return "/bin/sh";
15+
+ return "@TERMUX_PREFIX@/bin/sh";
16+
}
17+
18+
}}}}}

gpkg/box64/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://github.com/ptitSeb/box64
22
TERMUX_PKG_DESCRIPTION="Linux Userspace x86_64 Emulator with a twist"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION=0.3.0
5+
TERMUX_PKG_VERSION=0.3.2
66
TERMUX_PKG_SRCURL=https://github.com/ptitSeb/box64/archive/v${TERMUX_PKG_VERSION}.tar.gz
7-
TERMUX_PKG_SHA256=e334e793638f375a28829c01b089c6ba27d8c3f6094fcbc9360b56ad9c09d0b5
7+
TERMUX_PKG_SHA256=8658b2c3840ae830ebb2b2673047d30a748139ec3afe178ca74a71adeddba63e
88
TERMUX_PKG_DEPENDS="gcc-libs-glibc"
99
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
1010
TERMUX_CMAKE_BUILD="Unix Makefiles"
11-
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo"
11+
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo -DBOX32=ON -DBOX32_BINFMT=ON"
1212
TERMUX_PKG_RM_AFTER_INSTALL="glibc/etc/binfmt.d"
1313

1414
termux_step_pre_configure() {

gpkg/box64/setdirs.patch

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 7f9e5d6..a0fd4b4 100644
2+
index 95e7b0c..ce59937 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -944,15 +944,15 @@ if(NOT _x86 AND NOT _x86_64)
5+
@@ -1159,11 +1159,11 @@ if(NOT _x86 AND NOT _x86_64)
66
if(NOT NO_CONF_INSTALL)
77
configure_file(system/box64.conf.cmake system/box64.conf)
88
if(NOT TERMUX)
9-
- install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION /etc/binfmt.d/)
10-
- install(FILES ${CMAKE_SOURCE_DIR}/system/box64.box64rc DESTINATION /etc/)
11-
+ install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION @TERMUX_PREFIX@/etc/binfmt.d/)
12-
+ install(FILES ${CMAKE_SOURCE_DIR}/system/box64.box64rc DESTINATION @TERMUX_PREFIX@/etc/)
13-
else()
14-
install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION ${TERMUX_PATH}/usr/etc/binfmt.d/)
15-
install(FILES ${CMAKE_SOURCE_DIR}/system/box64.box64rc DESTINATION ${TERMUX_PATH}/usr/etc/)
9+
- install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION /etc/binfmt.d/)
10+
- install(FILES ${CMAKE_SOURCE_DIR}/system/box64.box64rc DESTINATION /etc/)
11+
+ install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION @TERMUX_PREFIX@/etc/binfmt.d/)
12+
+ install(FILES ${CMAKE_SOURCE_DIR}/system/box64.box64rc DESTINATION @TERMUX_PREFIX@/etc/)
13+
if(BOX32_BINFMT)
14+
configure_file(system/box32.conf.cmake system/box32.conf)
15+
- install(FILES ${CMAKE_BINARY_DIR}/system/box32.conf DESTINATION /etc/binfmt.d/)
16+
+ install(FILES ${CMAKE_BINARY_DIR}/system/box32.conf DESTINATION @TERMUX_PREFIX@/etc/binfmt.d/)
17+
endif()
18+
else()
19+
install(FILES ${CMAKE_BINARY_DIR}/system/box64.conf DESTINATION ${TERMUX_PATH}/usr/etc/binfmt.d/)
20+
@@ -1175,7 +1175,7 @@ if(NOT _x86 AND NOT _x86_64)
1621
endif()
1722

1823
endif()
19-
- set(INSTALL_PATH "/usr/lib/x86_64-linux-gnu/")
20-
+ set(INSTALL_PATH "@TERMUX_PREFIX@/lib/x86_64-linux-gnu/")
24+
- set(INSTALL_PATH "/usr/lib/box64-x86_64-linux-gnu/")
25+
+ set(INSTALL_PATH "@TERMUX_PREFIX@/lib/box64-x86_64-linux-gnu/")
2126
if(NOT NO_LIB_INSTALL)
22-
if(NOT TERMUX)
23-
install(FILES ${CMAKE_SOURCE_DIR}/x64lib/libstdc++.so.5 DESTINATION ${INSTALL_PATH})
27+
if(NOT TERMUX AND NOT ANDROID)
28+
install(FILES ${CMAKE_SOURCE_DIR}/x64lib/libstdc++.so.5 DESTINATION ${INSTALL_PATH})
29+
@@ -1214,7 +1214,7 @@ if(NOT _x86 AND NOT _x86_64)
30+
endif()
31+
endif()
32+
if(BOX32)
33+
- set(INSTALL_PATH "/usr/lib/box64-i386-linux-gnu/")
34+
+ set(INSTALL_PATH "@TERMUX_PREFIX@/lib/box64-i386-linux-gnu/")
35+
if(NOT NO_LIB_INSTALL)
36+
if(NOT TERMUX AND NOT ANDROID)
37+
install(FILES ${CMAKE_SOURCE_DIR}/x86lib/libstdc++.so.5 DESTINATION ${INSTALL_PATH})
2438
diff --git a/src/core.c b/src/core.c
25-
index b1a552b..b9d924a 100644
39+
index c43fd05..ab850b0 100644
2640
--- a/src/core.c
2741
+++ b/src/core.c
28-
@@ -1658,7 +1658,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
42+
@@ -1904,7 +1904,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
2943
printf("See 'box64 --help' for more information.\n");
3044
exit(0);
3145
}
@@ -35,26 +49,26 @@ index b1a552b..b9d924a 100644
3549
// uname -m is redirected to box64 -m
3650
if(argc==2 && (!strcmp(argv[1], "-m") || !strcmp(argv[1], "-p") || !strcmp(argv[1], "-i")))
3751
diff --git a/src/steam.c b/src/steam.c
38-
index 52461a3..0e14ad7 100644
52+
index 710fb84..24e1f53 100644
3953
--- a/src/steam.c
4054
+++ b/src/steam.c
4155
@@ -39,13 +39,13 @@ void pressure_vessel(int argc, const char** argv, int nextarg, const char* prog)
4256
if(is_usr) {
4357
// transform RESSURE_VESSEL_APP_LD_LIBRARY_PATH to BOX86_ / BOX64_ LD_LIBRARY_PATH
4458
char tmp[strlen(argv[nextarg])+150];
45-
- strcpy(tmp, "BOX86_LD_LIBRARY_PATH=/lib/box86:/usr/lib/box86:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/i686-pc-linux-gnu:/usr/lib32:");
46-
+ strcpy(tmp, "BOX86_LD_LIBRARY_PATH=@TERMUX_PREFIX@/lib/box86:@TERMUX_PREFIX@/lib/i386-linux-gnu:@TERMUX_PREFIX@/lib/i686-pc-linux-gnu:@TERMUX_PREFIX@/lib32:");
59+
- strcpy(tmp, "BOX86_LD_LIBRARY_PATH=/lib/box86:/usr/lib/box86:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/box86-i386-linux-gnu:/usr/lib/box64-i386-linux-gnu:/usr/lib/i686-pc-linux-gnu:/usr/lib32:");
60+
+ strcpy(tmp, "BOX86_LD_LIBRARY_PATH=@TERMUX_PREFIX@/lib/box86:@TERMUX_PREFIX@/lib/i386-linux-gnu:@TERMUX_PREFIX@/lib/box86-i386-linux-gnu:@TERMUX_PREFIX@/lib/box64-i386-linux-gnu:@TERMUX_PREFIX@/lib/i686-pc-linux-gnu:@TERMUX_PREFIX@/lib32:");
4761
strcat(tmp, argv[nextarg]+strlen("--env-if-host=STEAM_RUNTIME_LIBRARY_PATH="));
4862
char *p = strchr(tmp, '=');
4963
*p ='\0'; ++p;
5064
setenv(tmp, p, 1);
5165
printf_log(LOG_DEBUG, "setenv(%s, %s, 1)\n", tmp, p);
52-
- strcpy(tmp, "BOX64_LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:");
53-
+ strcpy(tmp, "BOX64_LD_LIBRARY_PATH=@TERMUX_PREFIX@/lib/x86_64-linux-gnu:");
66+
- strcpy(tmp, "BOX64_LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/box64-x86_64-linux-gnu:/usr/lib/box64-i386-linux-gnu:");
67+
+ strcpy(tmp, "BOX64_LD_LIBRARY_PATH=@TERMUX_PREFIX@/lib/x86_64-linux-gnu:@TERMUX_PREFIX@/lib/box64-x86_64-linux-gnu:@TERMUX_PREFIX@/lib/box64-i386-linux-gnu:");
5468
strcat(tmp, argv[nextarg]+strlen("--env-if-host=STEAM_RUNTIME_LIBRARY_PATH="));
5569
p = strchr(tmp, '=');
5670
*p ='\0'; ++p;
57-
@@ -81,14 +81,8 @@ void pressure_vessel(int argc, const char** argv, int nextarg, const char* prog)
71+
@@ -93,14 +93,8 @@ void pressure_vessel(int argc, const char** argv, int nextarg, const char* prog)
5872
strcat(sniper, "/files"); // this is the sniper root
5973
// do LD_LIBRARY_PATH
6074
{
@@ -70,7 +84,7 @@ index 52461a3..0e14ad7 100644
7084
// prepare folders, using ldconfig
7185
snprintf(tmp, sizeof(tmp), "%s -i -n %s/lib/x86_64-linux-gnu", ldcmd, sniper);
7286
diff --git a/src/tools/fileutils.c b/src/tools/fileutils.c
73-
index 327f798..79d22c8 100644
87+
index 11dc690..8e2a625 100644
7488
--- a/src/tools/fileutils.c
7589
+++ b/src/tools/fileutils.c
7690
@@ -17,9 +17,9 @@
@@ -100,10 +114,10 @@ index de962ee..67a786f 100644
100114
typedef void* (*pFp_t)(void*);
101115

102116
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c
103-
index 2725285..fd94673 100644
117+
index d8b73b3..d886411 100644
104118
--- a/src/wrapped/wrappedlibdl.c
105119
+++ b/src/wrapped/wrappedlibdl.c
106-
@@ -101,7 +101,7 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag)
120+
@@ -141,7 +141,7 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag)
107121
if(sys)
108122
return sys;
109123
}

gpkg/box86/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/ptitSeb/box86
22
TERMUX_PKG_DESCRIPTION="Linux Userspace x86 Emulator with a twist"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux-pacman"
5-
TERMUX_PKG_VERSION=0.3.6
5+
TERMUX_PKG_VERSION=0.3.8
66
TERMUX_PKG_SRCURL=https://github.com/ptitSeb/box86/archive/v${TERMUX_PKG_VERSION}.tar.gz
7-
TERMUX_PKG_SHA256=bba944fc21f07afc4b9f3de694826819024dd2f391085f11de0e63a210e937ff
7+
TERMUX_PKG_SHA256=454e5f7c57f7c7c4530d4f453bf6afd07b00bd93c92fe16a4305bacae0b6a93d
88
TERMUX_PKG_DEPENDS="gcc-libs-glibc"
99
TERMUX_PKG_BLACKLISTED_ARCHES="aarch64, x86_64, i686"
1010
TERMUX_CMAKE_BUILD="Unix Makefiles"

0 commit comments

Comments
 (0)