aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-25 12:25:13 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-25 12:25:13 +0100
commit143e003991a0274287455e0577c27d6ce3e9ea18 (patch)
treefb5fcaee4faa12c8e8085614fed7095195f71585
parentd8698159e1119d1cee50728e3d7022edf7169f94 (diff)
downloadwallet-core-143e003991a0274287455e0577c27d6ce3e9ea18.tar.xz
draft for taler-harness Debian package
-rw-r--r--packages/taler-harness/debian/README8
-rw-r--r--packages/taler-harness/debian/changelog9
-rw-r--r--packages/taler-harness/debian/control16
-rwxr-xr-xpackages/taler-harness/debian/rules36
-rw-r--r--packages/taler-wallet-cli/debian/README7
-rw-r--r--packages/taler-wallet-cli/debian/control2
6 files changed, 74 insertions, 4 deletions
diff --git a/packages/taler-harness/debian/README b/packages/taler-harness/debian/README
new file mode 100644
index 000000000..fb451a71d
--- /dev/null
+++ 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
new file mode 100644
index 000000000..1edf97a14
--- /dev/null
+++ 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
new file mode 100644
index 000000000..c57b01202
--- /dev/null
+++ 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
new file mode 100755
index 000000000..fb345d96c
--- /dev/null
+++ 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
index 2b4f83aa2..d221c6e37 100644
--- 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
index d44a2e3ee..41b507480 100644
--- 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.