upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-03 22:33:20 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-03 22:33:20 +0000
commitb810d86752ddb2674118f737582c924bb9eb74c1 (patch)
tree1ceadf421609a2e58da81103165a2fb7085387de /Makefile
parentdb44eac5d347c229539946e8d61f1ff0d1f68001 (diff)
parent5ef59833756da6f47274cb990eb874fb0ed99019 (diff)
merge: upstream 1.2.20 into deploy/all-2026-08-24
# Conflicts: # Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ace07d8..342ec07 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,10 @@
11ROOT := $(shell pwd) 11ROOT := $(shell pwd)
12NPROC := $(shell nproc 2>/dev/null || echo 2) 12NPROC := $(shell nproc 2>/dev/null || echo 2)
13SUDO := $(shell [ "$$(id -u)" = "0" ] && echo "" || echo "sudo") 13SUDO := $(shell [ "$$(id -u)" = "0" ] && echo "" || echo "sudo")
14# Not "1.2.19". This tree is upstream v1.2.19 plus our own hardening commits and 14# Not "1.2.20". This tree is upstream v1.2.20 plus our own hardening commits and
15# a hand-merged payout ledger, so a binary built here must not be mistakable for 15# a hand-merged payout ledger, so a binary built here must not be mistakable for
16# the upstream release of that number -- it names every release artifact. 16# the upstream release of that number -- it names every release artifact.
17VERSION := 1.2.19+sec 17VERSION := 1.2.20+sec
18 18
19# ---- Pinned third-party sources ------------------------------------------- 19# ---- Pinned third-party sources -------------------------------------------
20# 20#
@@ -127,10 +127,11 @@ deps-apt:
127 echo " warning: apt-get update failed, using the package lists on disk"; \ 127 echo " warning: apt-get update failed, using the package lists on disk"; \
128 $(SUDO) apt-get install -y build-essential cmake git pkg-config autoconf \ 128 $(SUDO) apt-get install -y build-essential cmake git pkg-config autoconf \
129 libtool libssl-dev libdb5.3++-dev libsodium-dev nlohmann-json3-dev \ 129 libtool libssl-dev libdb5.3++-dev libsodium-dev nlohmann-json3-dev \
130 libboost-dev libglfw3-dev libgl-dev python3-pil clang; \ 130 libboost-dev libglfw3-dev libgl-dev libsqlite3-dev \
131 python3-pil clang; \
131 else \ 132 else \
132 echo "Not an apt system — install: g++ cmake git autoconf libtool"; \ 133 echo "Not an apt system — install: g++ cmake git autoconf libtool"; \
133 echo " libssl libdb++ libsodium nlohmann-json boost glfw3 opengl python3-pil"; \ 134 echo " libssl libdb++ libsodium nlohmann-json boost glfw3 opengl sqlite3 python3-pil"; \
134 fi 135 fi
135 136
136deps-secp256k1: 137deps-secp256k1:
@@ -232,7 +233,7 @@ img = ico.convert('RGBA'); \
232img.save(d + '/bitflash.png'); \ 233img.save(d + '/bitflash.png'); \
233import shutil; shutil.copy(d + '/bitflash.png', \ 234import shutil; shutil.copy(d + '/bitflash.png', \
234d + '/usr/share/icons/hicolor/256x256/apps/bitflash.png')" 235d + '/usr/share/icons/hicolor/256x256/apps/bitflash.png')"
235 @for lib in libsodium.so.23 libdb_cxx-5.3.so libglfw.so.3; do \ 236 @for lib in libsodium.so.23 libdb_cxx-5.3.so libsqlite3.so.0 libglfw.so.3; do \
236 path=$$(ldconfig -p | grep " $$lib " | awk '{print $$NF}' | head -1); \ 237 path=$$(ldconfig -p | grep " $$lib " | awk '{print $$NF}' | head -1); \
237 [ -z "$$path" ] && path=$$(find /usr/lib /lib -name "$$lib" 2>/dev/null | head -1); \ 238 [ -z "$$path" ] && path=$$(find /usr/lib /lib -name "$$lib" 2>/dev/null | head -1); \
238 [ -n "$$path" ] && cp -L "$$path" $(APPDIR)/usr/lib/ && echo " bundled $$lib" || echo " missing $$lib"; \ 239 [ -n "$$path" ] && cp -L "$$path" $(APPDIR)/usr/lib/ && echo " bundled $$lib" || echo " missing $$lib"; \
@@ -259,6 +260,7 @@ deps-windows:
259 mingw-w64-ucrt-x86_64-glfw \ 260 mingw-w64-ucrt-x86_64-glfw \
260 mingw-w64-ucrt-x86_64-openssl \ 261 mingw-w64-ucrt-x86_64-openssl \
261 mingw-w64-ucrt-x86_64-db \ 262 mingw-w64-ucrt-x86_64-db \
263 mingw-w64-ucrt-x86_64-sqlite3 \
262 mingw-w64-ucrt-x86_64-libsodium \ 264 mingw-w64-ucrt-x86_64-libsodium \
263 mingw-w64-ucrt-x86_64-nlohmann-json \ 265 mingw-w64-ucrt-x86_64-nlohmann-json \
264 mingw-w64-ucrt-x86_64-boost \ 266 mingw-w64-ucrt-x86_64-boost \