Re: maven-debian-helper: dependency org.kohsuke github-api not found

Pierre Gruet <[email protected]>
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
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
OpenPGP_signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmZKYhQACgkQYAMWptwn
dHYfFxAAkr9yxP6PYLvAdQpZ5mRtV6lWI4FlrmhvVv3Pv9B0wKtG5L0Bf/R7cJI7
SNL7MHh0ssunCIxmm9N1yKWo2gKxlQwGdpi0bLlYoHSSD7dsIdeHGUfoq9osmBNJ
XbXlOcf8ly6zCULREUVTV8BR2sq03TuFP2tpoY4llcqtU08jaNr9oHD7saa2x6tL
h25D8d81BE55sgoxYFRfd0sDsWlka59Fdtw6Lwo2XTmWFJRBLbP/CcgqPupZeoam
TDWze6G7bOtbzRTE14UmcD9dUGh9DHQIbPkqbEofvsanVeKQqj9GT6F7VEh6dH3j
uCeTdps3ZPtryS7xCnqt35ndPIQ68bnDIBfAp58VAwIi4lKzSBV0f1RfTnZHVi8D
Vzm6bpkMPBSGFTXEISVHoSJYNRyeFFV2ieRM5c0kp1Jc8nnxS6Bq0+zAU13y0Wsg
xVn8UJujKwmroPgzXSJSELSFtUqFFpbfwmBSJtg/ILuRJE0fU9FBO3ljnFAhzYAM
R+HMGPSOoNGH0x+puFmQxjrVeZxAP8GQ/Ai5EALSmKYEM2Ox9hp7PEQRbC+u5uRG
bJypP94+AYbKTik9wjlQtzb8YIjxWJkUg0Ucx4nTTczUHOIbSO5IsgrvkO0OZjVG
BBV2d9ZkiD6qInrVGIakskwbVO0CUp8t8uLvregdKRD/iMkanpI=
=OvJ2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.