Hi Tobias, Le 18/05/2024 à 15:28, Tobias Hilbricht a écrit :
Meanwhile I resolved some dependencies of the Zettelkasten app using https://wiki.debian.org/Java/MavenPkgs/Stable but some remain - they are in Maven and I have them here locally, but not in maven-debian: org.jdesktop:swing-worker:jar:1.1 org.jdesktop:appframework:jar:1.0.3 bibtex:javabib:jar:20040801
Admittedly these three ones are really needed by the software you are looking at. Would you consider packaging them?
com.formdev:flatlaf:jar:3.2.5
It is feasible to patch the code to avoid needing this one, as is done by one of the patches of the jalview source package for instance. Other Look-and-Feel systems are handled by the code of Zettelkasten.
I read https://wiki.debian.org/Java/MavenRepoHelper and found mh_installjar and thought I do it like this: root@syke:/home/tobias/zettelkasten# mh_installjar -l -- package=zettelkasten pom.xml /home/tobias/zettelkasten/target/Zettelkasten.app/Contents/Java/classpa th/org/jdesktop/swing-worker/1.1/swing-worker-1.1.jar but it did not work, because I could not install without debian/control, and to get a debian/control I had to ignore the dependencies, and they were no longer in pom.xml.
You really don't have to worry about mh_installjar, instead in debian/control you should build-depend on maven-debian-helper which will do the right things to install the jars provided you fill in the files described at
https://wiki.debian.org/Java/MavenDebianHelper among others the debian/$PACKAGE.poms file.
Help is appreciated, thanks in advance
A quick copyright review lead to no show-stopper, so you can go ahead with packaging.
I think the first thing to do is to package the dependencies org.jdesktop:swing-worker org.jdesktop:appframework bibtex:javabib as they obviously will be needed.
Tobias
Best, -- Pierre
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature