On May 27, 7:35 am, Wolodja Wentland <babi...@gmail.com> wrote: > On Thu, May 26, 2011 at 16:36 -0700, Phil Hagelberg wrote: > > No, I am working on a Leiningen package and want an up-to-date .deb on > > which to depend. > > That is great! The ITP for leiningen [3] is currently owned by Ramakrishnan > Muthukrishnan and I am not sure how far he got with his packaging so far. What > are the major problems you face right now and how far have you come?
Well, I've already got a package generated using the lein-deb plugin. I read a few tutorials on Debian packaging, but they were totally indecipherable to me as they assumed familiarity with GNU Make and autotools, but Travis Vachon set up a "debian" branch in the Leiningen repository: https://github.com/technomancy/leiningen/tree/debian There are three known problems with it: * As mentioned, Clojure and Contrib are too old in Debian, so the jars are included in Leiningen itself. * The libmaven-ant-tasks-java package in Debian seems to be broken; it doesn't declare any of its dependencies. Again, I was able to bundle the jar and its dependencies in the Leiningen .deb. * Leiningen 1.6 is not finished! =) I went ahead and generated a .deb of a recent snapshot anyway: http://p.hagelb.org/leiningen_1.6.0.20110525_all.deb It seems to work fine, but as it was generated by the lein-deb plugin I have no idea if it follows the necessary policies. If you could give it a review that would be great. > Leiningen is a slightly more complicated package and it would probably be a > good idea to build several distinct binary packages from the source package. > (such as leiningen-bin, libclojure-leiningen, leiningen-el (emacs), ...) I'm not sure what you mean by this. Leiningen is an application, not a library, so I'm not sure why a libclojure-leiningen package is relevant. The elisp that ships with Leiningen is pretty trivial; it's just a completion library for eshell. There is also a bash completion mechanism which may be nice to package, but those could be done later. thanks, Phil -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en