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

Re: Different Java library versions

Hi Markus,

Thanks, I'll do that.


On 28 July 2016 at 16:32, Markus Koschany <apo@debian.org> wrote:
> On 28.07.2016 17:19, George Bateman wrote:
>> Hi Markus,
>> Processing has a rather complex build system, so I've deliberately
>> avoided the packaging helpers and just added tasks to the upstream Ant
>> script, so the debian/rules file is just a simple wrapper around
>> build.xml. So far this has worked fine and I've got a working package;
>> I've been making sure it continues to obey the policies.
>> You say that javahelper would just create the unversioned symlink, so
>> does dpkg automatically handle conflicts between (say)
>> libprocessing3-java and libprocessing4-java if both provide
>> contradictory symlinks called /usr/share/java/processing-core.jar? Or
>> is there any action that I would need to take?
> If both packages provide contradictory symlinks but use the same name
> then you must declare a Breaks or Conflicts relationship [1] to avoid
> that both packages are installed at the same time. I don't know enough
> about Processing but you should avoid this scenario. I would probably
> rename one symlink to /usr/share/java/processing3-core.jar and the other
> one to /usr/share/java/processing4-core.jar to get the distinction
> right. dpkg won't handle this scenario automatically.
> [1] https://www.debian.org/doc/debian-policy/ch-relationships.html

Reply to: