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

Re: josm and libsvgsalamander-java



Sebastiaan Couwenberg <sebastic@xs4all.nl> writes:

hello Sebastian,

> On 07/29/2016 11:52 AM, Felix Natter wrote:
>> Sebastiaan Couwenberg <sebastic@xs4all.nl> writes:
>>> On 07/26/2016 08:45 PM, Felix Natter wrote:
>> I think you use /usr/share/java/svgSalamander[-tiny].jar directly
>> instead of using /usr/share/maven-repo? The current Debian version
>> installs the maven artifact with version=1.0.8, which is wrong (it was
>> 0.1.x) --> I need to change this to 1.0.0 (back in time ;-)).
>
> Yes, the JOSM build uses ant, and the build.xml is patched to use the
> full paths to the jar under /usr/share/java, see:
>
>  https://anonscm.debian.org/cgit/pkg-grass/josm.git/tree/debian/patches/00-build.patch#n26
>
> I don't think the incorrect version affects the JOSM build, but I
> haven't verified that.

It shouldn't, thanks.

>> Is there a way to build more than once without VCS?  (I downloaded the
>> source via apt-get source, but of course I could use the VCS ;-))
>
> Using pdebuild with the --twice option should work, e.g something like:
>
>  DEB_BUILD_OPTIONS="parallel=<N>" pdebuild --pbuilder cowbuilder -- \
>      --basepath /var/cache/pbuilder/base-sid.cow --twice

Thanks for the script. I was thinking more of a trial-and-error loop,
i.e. (change sth, rebuild)+. I tried "debian/rules clean", but it didn't
help.

Cheers and Best Regards,
-- 
Felix Natter


Reply to: