commit b946e91782c06f323efd3cb7491fcd427fc9fbae
parent 3e231877d691b125be2e12fadb69c9f5923e0289
Author: Florian Dold <dold@taler.net>
Date: Mon, 24 Aug 2026 01:52:03 +0200
libeufin-bank-webui: add standalone package
Diffstat:
5 files changed, 73 insertions(+), 12 deletions(-)
diff --git a/packages/libeufin-bank-webui/Makefile b/packages/libeufin-bank-webui/Makefile
@@ -16,19 +16,16 @@ $(info prefix is $(prefix))
all:
@echo run \'make install\' to install
-spa_dir=$(DESTDIR)$(prefix)/share/taler/bank-ui
+spa_dir=$(DESTDIR)$(prefix)/share/libeufin-bank-webui
.PHONY: deps
deps:
- pnpm install --frozen-lockfile --filter @gnu-taler/bank-ui...
- pnpm run --filter @gnu-taler/bank-ui... build
- pnpm run check
- pnpm run build
+ pnpm install --frozen-lockfile --filter @gnu-taler/libeufin-bank-webui...
+ pnpm run --filter @gnu-taler/libeufin-bank-webui... build
.PHONY: install-nodeps
install-nodeps:
- install -d $(spa_dir)
- install ./dist/prod/* $(spa_dir)
+ (cd dist/prod && find . -type f -exec install -D "{}" "$(spa_dir)/{}" \;)
.PHONY: install
install:
diff --git a/packages/libeufin-bank-webui/README.md b/packages/libeufin-bank-webui/README.md
@@ -1,12 +1,16 @@
-# Taler Bank UI
+# LibEuFin Bank WebUI
-Web-based user interface for the libeufin bank ui.
+Web-based user interface for LibEuFin Bank.
## CLI Commands
-- `./dev.mjs` development setup. Will listen in :8080 and reload every time a file is save.
-- `./build.mjs` build for production.
-- `./test.mjs` build and run unit test
+- `./dev.mjs` starts the development server on port 8080 and reloads after changes.
+- `./build.mjs` builds the production WebUI.
+- `./test.mjs` builds and runs the unit tests.
+
+Run `./configure --prefix=PREFIX && make install` to build and install the
+WebUI under `PREFIX/share/libeufin-bank-webui`. `DESTDIR` is supported for
+staged installations.
## Testing
diff --git a/packages/libeufin-bank-webui/debian/control b/packages/libeufin-bank-webui/debian/control
@@ -0,0 +1,15 @@
+Source: libeufin-bank-webui
+Section: networking
+Priority: optional
+Maintainer: Taler Systems SA <deb@taler.net>
+Uploaders: Christian Grothoff <grothoff@gnu.org>, Florian Dold <dold@taler.net>
+Build-Depends: debhelper-compat (= 12),
+Standards-Version: 4.1.0
+Vcs-Git: https://git.taler.net/taler-typescript-core.git
+Homepage: https://taler.net/
+
+Package: libeufin-bank-webui
+Architecture: all
+Depends: ${misc:Depends}
+Recommends:
+Description: Web-based user interface for LibEuFin Bank.
diff --git a/packages/libeufin-bank-webui/debian/copyright b/packages/libeufin-bank-webui/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: GNU Taler
+Upstream-Contact: Christian Grothoff <christian@grothoff.org>
+Source: https://taler.net/
+
+Files: *
+Copyright: 2013-2026 Taler Systems SA
+License: AGPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ On Debian systems, the complete text of the GNU Affero General Public
+ License version 3 can be found in "/usr/share/common-licenses/AGPL-3".
+
+Files: debian/*
+Copyright: 2020-2026 Taler Systems SA
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/packages/libeufin-bank-webui/debian/rules b/packages/libeufin-bank-webui/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
+
+# Override because our configure doesn't like extra arguments.
+override_dh_auto_configure:
+ ./configure --prefix=/usr
+
+override_dh_builddeb:
+ dh_builddeb -- -Zgzip
+
+# Override this step because it's very slow and likely
+# unnecessary for us.
+override_dh_strip_nondeterminism:
+ true
+
+get-orig-source:
+ uscan --force-download --rename