RFS: robert-hooke

Wolodja Wentland debian at babilen5.org
Thu May 23 15:34:55 UTC 2013

On Thu, May 16, 2013 at 12:04 +0100, Wolodja Wentland wrote:
> Hi all,
> I'd need a sponsor for robert-hooke that spent way too much time on
> mentors.debian.org already. Please give it a meticulous review too as I
> wouldn't want to get used to a horrible packaging style.
> You can find it on:
>     http://mentors.debian.net/package/robert-hooke
> and you can get it with
>     dget -x http://mentors.debian.net/debian/pool/main/r/robert-hooke/robert-hooke_1.3.0-1.dsc

Okay, I worked on robert-hooke a bit more and managed to get it to install the
jar into the local maven repository. Unfortunately maven-repo-helper is buggy
(#709446) which causes this to fail if you build the package with the current
version in unstable, but this bug should be fixed (very) soon.

Using maven-repo-helper to install the jar into /usr/share/maven-repo/
actually turned out to be pretty easy. What we need though is a canonical .pom
for the jar in question and we have to make sure that our jar follow
upstream's naming conventions. The latter caused me to rename robert-hooke.jar
to hooke.jar...

Either way, once you got hold of a .pom (e.g. by running "lein pom" or by
looking in ~/.m2/repository/ or ...) for the jar in question you simply have

1. Save the pom as debian/pom.xml
2. Add "--with jh_maven_repo_helper" in debian/rules
3. Add a $package.poms with "debian/pom.xml
   --usj-name=$name-of-the-jar-without-extension" as content.

And that should be all that is needed. Note that this doesn't work *right now*
due to the aforementioned bug.

Either way, please review robert-hooke and feel free to upload it if you deem
it ready. Maybe it is possible to grant me upload rights for robert-hooke too.
Wolodja <debian at babilen5.org>

081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-clojure-maintainers/attachments/20130523/042f2768/attachment.pgp>

More information about the Pkg-clojure-maintainers mailing list