[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GNU/Linux Java Policy and Packaging



Petteri Räty wrote:
>> I don't know how Gentoo works, but it's not enough for us to know which
>> ABI version of a particular dependency we need, we also need the mapping
>> of that ABI to Debian packages to avoid upgrade problems.
> 
> So you install to /usr/share/<pkg> as you need to have the ABI in the
> package name when you don't have something like slots.

No, we can have a combination of the two. If the ABI is indicated by "slots"
(jar name, location, symlink etc) then the package name can usually stay
the same.

> I thought you can't have two versions of a package installed at the same
> time in Debian?

Correct.

> If the ABI changes between 1.0 and 2.0, they would be 
> two different packages.

Not necessarily. You can either choose to keep the package name, replacing
the old version (because it's not needed), or you change the package name
so that both can be installed in parallel.

The library packaging guide [1] is useful reading, it describes many of the
issues that apply here.

Regards,

Marcus

[1] http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html




Reply to: