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

Re: josm and libsvgsalamander-java



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.

> 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

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: