depends: build fixes + script exec bits

This commit is contained in:
2026-02-24 16:59:17 +00:00
parent b4f1e4161c
commit 36a98abebd
147 changed files with 441053 additions and 19 deletions
+6 -3
View File
@@ -1,13 +1,16 @@
package=boost
$(package)_version=1_64_0
$(package)_download_path=https://dl.bintray.com/boostorg/release/1.64.0/source/
# Bintray was shut down; use the official Boost archives mirror.
# NOTE: download_path should NOT end with a trailing slash because the fetch
# helper appends "/$(file)".
$(package)_download_path=https://archives.boost.io/release/1.64.0/source
$(package)_file_name=$(package)_$($(package)_version).tar.bz2
$(package)_sha256_hash=7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332
define $(package)_set_vars
$(package)_config_opts_release=variant=release
$(package)_config_opts_debug=variant=debug
$(package)_config_opts=--layout=tagged --build-type=complete --user-config=user-config.jam
$(package)_config_opts=--layout=versioned --build-type=complete --user-config=user-config.jam
$(package)_config_opts+=threading=multi link=static -sNO_BZIP2=1 -sNO_ZLIB=1
$(package)_config_opts_linux=threadapi=pthread runtime-link=shared
$(package)_config_opts_darwin=--toolset=darwin-4.2.1 runtime-link=shared
@@ -42,4 +45,4 @@ endef
define $(package)_stage_cmds
./b2 -d0 -j4 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) install
endef
endef
+2 -2
View File
@@ -1,6 +1,6 @@
package=openssl
$(package)_version=1.0.1k
$(package)_download_path=https://www.openssl.org/source
$(package)_download_path=https://openssl-library.org/source/old/1.0.1
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c
@@ -83,4 +83,4 @@ endef
define $(package)_postprocess_cmds
rm -rf share bin etc
endef
endef
+76 -12
View File
@@ -1,21 +1,85 @@
packages:=boost openssl libevent gmp
# Packages manifest for Agrarian depends system
# Derived from Bitcoin Core depends layout, adapted for this codebase.
#
# This file defines:
# - packages: the set of packages built for the target HOST
# - native_packages: build-machine tools needed during the build
# - all_packages: union of both
#
# Feature toggles (override on make command line if needed):
# NO_QT=1 -> disable Qt GUI deps
# USE_WALLET=1 -> enable BerkeleyDB wallet deps
# USE_ZMQ=1 -> enable ZeroMQ deps
# USE_UPNP=1 -> enable miniupnpc deps
qt_native_packages = native_protobuf
qt_packages = qrencode protobuf zlib
# ---- Base packages (always) ----
packages := boost openssl libevent gmp
qt_linux_packages:=qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans
# ---- Feature toggles (defaults) ----
NO_QT ?= 1
USE_WALLET ?= 1
USE_ZMQ ?= 0
USE_UPNP ?= 1
qt_darwin_packages=qt
qt_mingw32_packages=qt
# ---- Group definitions (as you had them) ----
qt_native_packages := native_protobuf
qt_packages := qrencode protobuf zlib
wallet_packages=bdb
qt_linux_packages := qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans
qt_darwin_packages := qt
qt_mingw32_packages := qt
zmq_packages=zeromq
upnp_packages=miniupnpc
darwin_native_packages = native_biplist native_ds_store native_mac_alias
wallet_packages := bdb
zmq_packages := zeromq
upnp_packages := miniupnpc
darwin_native_packages := native_biplist native_ds_store native_mac_alias
ifneq ($(build_os),darwin)
darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus
endif
# ---- Fold optional groups into 'packages' and 'native_packages' ----
native_packages :=
# Qt (and Qt-native tools)
ifeq ($(NO_QT),0)
packages += $(qt_packages)
native_packages += $(qt_native_packages)
# Host OS specific Qt dependency set
ifeq ($(host_os),linux)
packages += $(qt_linux_packages)
endif
ifeq ($(host_os),darwin)
packages += $(qt_darwin_packages)
native_packages += $(darwin_native_packages)
endif
ifeq ($(host_os),mingw32)
packages += $(qt_mingw32_packages)
endif
else
# Even if Qt is off, darwin native tools may still be required for packaging
ifeq ($(host_os),darwin)
native_packages += $(darwin_native_packages)
endif
endif
# Wallet / BerkeleyDB
ifeq ($(USE_WALLET),1)
packages += $(wallet_packages)
endif
# ZeroMQ
ifeq ($(USE_ZMQ),1)
packages += $(zmq_packages)
endif
# UPnP
ifeq ($(USE_UPNP),1)
packages += $(upnp_packages)
endif
# ---- Final sets ----
all_packages := $(sort $(packages) $(native_packages))
packages := $(sort $(packages))
native_packages := $(sort $(native_packages))