Re: Clojure versioning

2010-09-01 Thread Peter Collingbourne
On Tue, Aug 24, 2010 at 06:07:29PM +0100, Peter Collingbourne wrote: > One idea is to have a > .mk file in /usr/share/cdbs/1/class which defines a clojure.version > environment variable in DEB_MAVEN_ARGS and declares a substvar, say > clojure:Depends. The individual package w

Re: Clojure versioning

2010-08-24 Thread Peter Collingbourne
Hi Matthew, On Sun, Aug 22, 2010 at 10:02:04AM +0100, Matthew Johnson wrote: > There's probably also a third: python has a version-dependent compiled format, > which is created when you install the library (I think) and (presumably) > rebuilt when you upgrade python. We could do something like tha

Re: Clojure versioning

2010-08-24 Thread Peter Collingbourne
On Mon, Aug 23, 2010 at 03:19:47PM +0100, Peter Collingbourne wrote: > If a library/app B needs AOT and depends on a library A which is not > AOT compiled, what does the linkage look like from B to A? Is it a > direct call? IOW, what happens if B is called using a gen-class'd >

Re: Clojure versioning

2010-08-23 Thread Peter Collingbourne
On Sun, Aug 22, 2010 at 10:23:58PM +0530, Ramakrishnan Muthukrishnan wrote: > On Sun, Aug 22, 2010 at 3:04 AM, Peter Collingbourne wrote: > > Hi, > > > > I am in the process of packaging Clojure 1.2 for Debian.  While > > doing so, I noticed that Clojure 1.1 AOT

Clojure versioning

2010-08-21 Thread Peter Collingbourne
Hi, I am in the process of packaging Clojure 1.2 for Debian. While doing so, I noticed that Clojure 1.1 AOT compiled packages, such as clojure-contrib, won't work with 1.2. This led me to discover that AOT compiled packages are in general not guaranteed to work between Clojure versions. The way

Advice on packaging a Maven plugin

2010-03-07 Thread Peter Collingbourne
Hello, We (I and Ramakrishnan Muthukrishnan) are packaging a Maven plugin for the Clojure language (clojure-maven-plugin). Our preliminary packaging is available at git://git.debian.org/pkg-java/clojure-maven-plugin.git Our question relates to how to package those packages which depend on clojur