commit cef09cc1a89e3c0590eec5780e0ec831612f55f1
parent 534cc635a7a2381c5a60349601553a414bf545d6
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 17 Jan 2021 17:24:23 +0100
document my gradle abuse
Diffstat:
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/debian/README b/debian/README
@@ -0,0 +1,19 @@
+This is NOT a 'clean' Debian package.
+
+The DH build process with gradle passes "--offline" to Gradle and thus
+does not work with the libeufin build system.
+
+Invoking the libeufin build system directly without the DH-magic
+results in some failures to create a lock file in /root/ by Gradle.
+
+Java builds are a mess.
+
+
+So to still generate a 'nice' Debian package, you
+must run:
+
+$ ./gradlew dist
+$ dpkg-buildpackage -rfakeroot -b -uc -us
+
+Basically, we take the 'binary' zip file generated by the first
+command as the "source" for dpkg. Yuckkee!
diff --git a/debian/control b/debian/control
@@ -3,9 +3,7 @@ Section: networking
Priority: optional
Maintainer: Taler Systems SA <deb@taler.net>
Uploaders: Christian Grothoff <grothoff@gnu.org>, Florian Dold <dold@taler.net>
-Build-Depends: ant,
- gradle-debian-helper,
- debhelper (>= 10),
+Build-Depends: debhelper (>= 10),
default-jdk-headless | default-jdk
Standards-Version: 4.1.0
Vcs-Git: https://git.taler.net/libeufin.git
@@ -13,7 +11,7 @@ Homepage: https://taler.net/
Package: libeufin
Architecture: all
-Depends: ant, groovy, ${misc:Depends}
-Recommends: libmaven-ant-tasks-java, maven
+Depends: default-jdk-headless | default-jdk, ${misc:Depends}
+Recommends:
Description: Software package to access FinTS/EBICS based
core banking systems.
\ No newline at end of file