commit 143e003991a0274287455e0577c27d6ce3e9ea18
parent d8698159e1119d1cee50728e3d7022edf7169f94
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 25 Feb 2023 12:25:13 +0100
draft for taler-harness Debian package
Diffstat:
6 files changed, 74 insertions(+), 4 deletions(-)
diff --git a/packages/taler-harness/debian/README b/packages/taler-harness/debian/README
@@ -0,0 +1,8 @@
+For the moment, building the Debian package needs
+a preliminary manual step to install the taler-harness
+Node.JS package. In the future, this will either be invoked
+by DH, or added as packaging instructions to Debian.
+
+$ ./configure --prefix=/usr
+$ make install
+$ dpkg-buildpackage -rfakeroot -b -uc -us
diff --git a/packages/taler-harness/debian/changelog b/packages/taler-harness/debian/changelog
@@ -0,0 +1,9 @@
+taler-harness (0.9.2) unstable; urgency=low
+
+ * Official 0.9.2 release.
+
+ -- Christian Grothoff <grothoff@gnu.org> Sat, 25 Feb 2023 12:47:15 -0300
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/packages/taler-harness/debian/control b/packages/taler-harness/debian/control
@@ -0,0 +1,16 @@
+Source: taler-harness
+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/wallet-core.git
+Homepage: https://taler.net/
+
+Package: taler-harness
+Architecture: all
+Depends: nodejs,
+ ${misc:Depends}
+Recommends:
+Description: Software package to test Taler installations.
diff --git a/packages/taler-harness/debian/rules b/packages/taler-harness/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/default.mk
+
+TALER_HARNESS_HOME = /usr/share/taler-harness
+
+build: build-arch build-indep
+build-arch:
+ true
+build-indep:
+ true
+override_dh_auto_install:
+ dh_install bin/taler-harness.mjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin
+ dh_install dist/taler-harness-bundled.mjs $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
+ dh_install dist/taler-harness-bundled.mjs.map $(TALER_HARNESS_HOME)/node_modules/taler-harness/dist
+ dh_link $(TALER_HARNESS_HOME)/node_modules/taler-harness/bin/taler-wallet-cli.mjs /usr/bin/taler-harness
+
+override_dh_builddeb:
+ dh_builddeb -- -Zgzip
+
+binary:
+ dh $@
+binary-arch:
+ dh $@
+binary-indep:
+ dh $@
+
+clean:
+ true
+
+# 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
diff --git a/packages/taler-wallet-cli/debian/README b/packages/taler-wallet-cli/debian/README
@@ -1,7 +1,8 @@
-For the moment, building the debian package needs
-a preliminary manual step to compile the taler-wallet-cli
+For the moment, building the Debian package needs
+a preliminary manual step to install the taler-wallet-cli
Node.JS package. In the future, this will either be invoked
by DH, or added as packaging instructions to Debian.
-$ pnpm run compile
+$ ./configure --prefix=/usr
+$ make install
$ dpkg-buildpackage -rfakeroot -b -uc -us
diff --git a/packages/taler-wallet-cli/debian/control b/packages/taler-wallet-cli/debian/control
@@ -13,4 +13,4 @@ Architecture: all
Depends: nodejs,
${misc:Depends}
Recommends:
-Description: Software package to test Taler installations.
+Description: This is a command-line interface version of the GNU Taler wallet.