Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9988 > unrolled thread

libbatik-java: Changed artifacts?

Started byFelix Natter <fnatter@gmx.net>
First post2017-09-09 15:00 +0200
Last post2017-09-10 08:00 +0200
Articles 9 — 5 participants

Back to article view | Back to linux.debian.maint.java


Contents

  libbatik-java: Changed artifacts? Felix Natter <fnatter@gmx.net> - 2017-09-09 15:00 +0200
    Re: libbatik-java: Changed artifacts? Christopher Hoskin <mans0954@debian.org> - 2017-09-09 16:30 +0200
      Re: libbatik-java: Changed artifacts? Christopher Hoskin <mans0954@debian.org> - 2017-09-09 18:30 +0200
        Re: libbatik-java: Changed artifacts? Felix Natter <fnatter@gmx.net> - 2017-09-09 19:50 +0200
          Re: libbatik-java: Changed artifacts? Christopher Hoskin <mans0954@debian.org> - 2017-09-09 20:30 +0200
            Re: libbatik-java: Changed artifacts? Markus Koschany <apo@debian.org> - 2017-09-09 20:40 +0200
              Re: libbatik-java: Changed artifacts? Christopher Hoskin <christopher.hoskin@gmail.com> - 2017-09-10 09:10 +0200
                Re: libbatik-java: Changed artifacts? Markus Koschany <apo@debian.org> - 2017-10-22 20:30 +0200
            Re: libbatik-java: Changed artifacts? Eugene Zhukov <eugene@debian.org> - 2017-09-10 08:00 +0200

#9988 — libbatik-java: Changed artifacts?

FromFelix Natter <fnatter@gmx.net>
Date2017-09-09 15:00 +0200
Subjectlibbatik-java: Changed artifacts?
Message-ID<unNwB-5vc-7@gated-at.bofh.it>
hello Debian-java,
hello Christopher,

freeplane depends on several batik artifacts:

   compile 'org.apache.xmlgraphics:batik-anim:1.7',
            'org.apache.xmlgraphics:batik-awt-util:1.7',
            'org.apache.xmlgraphics:batik-bridge:1.7',
            'org.apache.xmlgraphics:batik-codec:1.7',
            'org.apache.xmlgraphics:batik-css:1.7',
            'org.apache.xmlgraphics:batik-dom:1.7',
            'org.apache.xmlgraphics:batik-extension:1.7',
            'org.apache.xmlgraphics:batik-ext:1.7',
            'org.apache.xmlgraphics:batik-gui-util:1.7',
            'org.apache.xmlgraphics:batik-gvt:1.7',
            'org.apache.xmlgraphics:batik-parser:1.7',
            'org.apache.xmlgraphics:batik-script:1.7',
            'org.apache.xmlgraphics:batik-svg-dom:1.7',
            'org.apache.xmlgraphics:batik-svggen:1.7',
            'org.apache.xmlgraphics:batik-swing:1.7',
            'org.apache.xmlgraphics:batik-transcoder:1.7',
            'org.apache.xmlgraphics:batik-util:1.7',
            'org.apache.xmlgraphics:batik-xml:1.7',

This worked fine for years, but now (even with the older libbatik-1.8-4)
I get compilation errors:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.

I don't think adding jython to (build) depends will get me far, because
batik-i18n and batik-constants are missing.

So I tried with removed batik-util and batik-script dependencies:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-swing:debian > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.

with only batik-all dependency:

:freeplane_plugin_svg:compileJava (Thread[main,5,main]) completed. Took 0.646 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-rasterizer-ext:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
   > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-squiggle-ext:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
   > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-svgbrowser:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-squiggle:debian
   > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-svgrasterizer:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-rasterizer:debian
   > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.

I tried oonly batik-swing:

 problem occurred evaluating project ':freeplane_plugin_svg'.
> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:runtime'.
   > Could not resolve org.apache.xmlgraphics:swing:1.7.
     Required by:
         project :freeplane_plugin_svg
      > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
      > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.

I have looked at osmium and figtree (r-deps) to see how they depend on
batik jars, but that didn't help. Is there an r-dep that depends on
batik for swing/SVG rendering, preferrably with a gradle build system,
that I could copy/learn from?

Thanks and Best Regards,
-- 
Felix Natter
debian/rules!

[toc] | [next] | [standalone]


#9989

FromChristopher Hoskin <mans0954@debian.org>
Date2017-09-09 16:30 +0200
Message-ID<unOVI-6zR-21@gated-at.bofh.it>
In reply to#9988
Dear Felix,

One of the changes between batik 1.7 and 1.9 is that upstream now
provides pom files, although I'm still doing the build with ant.

batik-i18n gets included in the batic-util.jar, but the pom file for
batic-util includes:

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>batik-constants</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>batik-i18n</artifactId>
      <version>${project.version}</version>
    </dependency>

So my first thought is that this is a problem with the upstream pom files.

If I comment out these dependencies and add jython to the build
dependencies for freeplane, then the freeplane package builds okay.

If it makes sense, I can make this change in the batik package and
upload a new version.

Christopher




On 9 September 2017 at 13:58, Felix Natter <fnatter@gmx.net> wrote:
> hello Debian-java,
> hello Christopher,
>
> freeplane depends on several batik artifacts:
>
>    compile 'org.apache.xmlgraphics:batik-anim:1.7',
>             'org.apache.xmlgraphics:batik-awt-util:1.7',
>             'org.apache.xmlgraphics:batik-bridge:1.7',
>             'org.apache.xmlgraphics:batik-codec:1.7',
>             'org.apache.xmlgraphics:batik-css:1.7',
>             'org.apache.xmlgraphics:batik-dom:1.7',
>             'org.apache.xmlgraphics:batik-extension:1.7',
>             'org.apache.xmlgraphics:batik-ext:1.7',
>             'org.apache.xmlgraphics:batik-gui-util:1.7',
>             'org.apache.xmlgraphics:batik-gvt:1.7',
>             'org.apache.xmlgraphics:batik-parser:1.7',
>             'org.apache.xmlgraphics:batik-script:1.7',
>             'org.apache.xmlgraphics:batik-svg-dom:1.7',
>             'org.apache.xmlgraphics:batik-svggen:1.7',
>             'org.apache.xmlgraphics:batik-swing:1.7',
>             'org.apache.xmlgraphics:batik-transcoder:1.7',
>             'org.apache.xmlgraphics:batik-util:1.7',
>             'org.apache.xmlgraphics:batik-xml:1.7',
>
> This worked fine for years, but now (even with the older libbatik-1.8-4)
> I get compilation errors:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>> Could not resolve org.python:jython:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-script:debian
>    > No cached version of org.python:jython:debian available for offline mode.
>    > No cached version of org.python:jython:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>
> I don't think adding jython to (build) depends will get me far, because
> batik-i18n and batik-constants are missing.
>
> So I tried with removed batik-util and batik-script dependencies:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>> Could not resolve org.python:jython:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-swing:debian > org.apache.xmlgraphics:batik-script:debian
>    > No cached version of org.python:jython:debian available for offline mode.
>    > No cached version of org.python:jython:debian available for offline mode.
>
> with only batik-all dependency:
>
> :freeplane_plugin_svg:compileJava (Thread[main,5,main]) completed. Took 0.646 secs.
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-rasterizer-ext:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>    > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-squiggle-ext:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>    > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-svgbrowser:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-squiggle:debian
>    > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
>> Could not resolve org.apache.xmlgraphics:batik-svgrasterizer:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-rasterizer:debian
>    > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
>    > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
>> Could not resolve org.python:jython:debian.
>   Required by:
>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-script:debian
>    > No cached version of org.python:jython:debian available for offline mode.
>    > No cached version of org.python:jython:debian available for offline mode.
>
> I tried oonly batik-swing:
>
>  problem occurred evaluating project ':freeplane_plugin_svg'.
>> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:runtime'.
>    > Could not resolve org.apache.xmlgraphics:swing:1.7.
>      Required by:
>          project :freeplane_plugin_svg
>       > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
>       > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
>
> I have looked at osmium and figtree (r-deps) to see how they depend on
> batik jars, but that didn't help. Is there an r-dep that depends on
> batik for swing/SVG rendering, preferrably with a gradle build system,
> that I could copy/learn from?
>
> Thanks and Best Regards,
> --
> Felix Natter
> debian/rules!

[toc] | [prev] | [next] | [standalone]


#9990

FromChristopher Hoskin <mans0954@debian.org>
Date2017-09-09 18:30 +0200
Message-ID<unQNQ-7Xa-11@gated-at.bofh.it>
In reply to#9989
Dear Felix,

Another option would be for me to switch to using maven to build
batik. I've had a go at this here:

https://anonscm.debian.org/cgit/pkg-java/batik.git/?h=maven-build

In this case, batik-i18n and batik-constants are created as jars in
their own right under /usr/share/java rather than being bundled into
other jars. Upstream supports building with maven, although I presume
they are still using ant for their own binaries as they don't have
batik-i18n and batik-constants jars?

I haven't uploaded the maven build as I don't know if this approach
might have a negative impact on other reverse dependencies expecting
the ant layout build?

Christopher


On 9 September 2017 at 15:22, Christopher Hoskin <mans0954@debian.org> wrote:
> Dear Felix,
>
> One of the changes between batik 1.7 and 1.9 is that upstream now
> provides pom files, although I'm still doing the build with ant.
>
> batik-i18n gets included in the batic-util.jar, but the pom file for
> batic-util includes:
>
>     <dependency>
>       <groupId>${project.groupId}</groupId>
>       <artifactId>batik-constants</artifactId>
>       <version>${project.version}</version>
>     </dependency>
>     <dependency>
>       <groupId>${project.groupId}</groupId>
>       <artifactId>batik-i18n</artifactId>
>       <version>${project.version}</version>
>     </dependency>
>
> So my first thought is that this is a problem with the upstream pom files.
>
> If I comment out these dependencies and add jython to the build
> dependencies for freeplane, then the freeplane package builds okay.
>
> If it makes sense, I can make this change in the batik package and
> upload a new version.
>
> Christopher
>
>
>
>
> On 9 September 2017 at 13:58, Felix Natter <fnatter@gmx.net> wrote:
>> hello Debian-java,
>> hello Christopher,
>>
>> freeplane depends on several batik artifacts:
>>
>>    compile 'org.apache.xmlgraphics:batik-anim:1.7',
>>             'org.apache.xmlgraphics:batik-awt-util:1.7',
>>             'org.apache.xmlgraphics:batik-bridge:1.7',
>>             'org.apache.xmlgraphics:batik-codec:1.7',
>>             'org.apache.xmlgraphics:batik-css:1.7',
>>             'org.apache.xmlgraphics:batik-dom:1.7',
>>             'org.apache.xmlgraphics:batik-extension:1.7',
>>             'org.apache.xmlgraphics:batik-ext:1.7',
>>             'org.apache.xmlgraphics:batik-gui-util:1.7',
>>             'org.apache.xmlgraphics:batik-gvt:1.7',
>>             'org.apache.xmlgraphics:batik-parser:1.7',
>>             'org.apache.xmlgraphics:batik-script:1.7',
>>             'org.apache.xmlgraphics:batik-svg-dom:1.7',
>>             'org.apache.xmlgraphics:batik-svggen:1.7',
>>             'org.apache.xmlgraphics:batik-swing:1.7',
>>             'org.apache.xmlgraphics:batik-transcoder:1.7',
>>             'org.apache.xmlgraphics:batik-util:1.7',
>>             'org.apache.xmlgraphics:batik-xml:1.7',
>>
>> This worked fine for years, but now (even with the older libbatik-1.8-4)
>> I get compilation errors:
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>>> Could not resolve org.python:jython:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-script:debian
>>    > No cached version of org.python:jython:debian available for offline mode.
>>    > No cached version of org.python:jython:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>
>> I don't think adding jython to (build) depends will get me far, because
>> batik-i18n and batik-constants are missing.
>>
>> So I tried with removed batik-util and batik-script dependencies:
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>> Could not resolve org.python:jython:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-swing:debian > org.apache.xmlgraphics:batik-script:debian
>>    > No cached version of org.python:jython:debian available for offline mode.
>>    > No cached version of org.python:jython:debian available for offline mode.
>>
>> with only batik-all dependency:
>>
>> :freeplane_plugin_svg:compileJava (Thread[main,5,main]) completed. Took 0.646 secs.
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
>>> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-rasterizer-ext:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>    > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-squiggle-ext:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>    > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-svgbrowser:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-squiggle:debian
>>    > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
>>> Could not resolve org.apache.xmlgraphics:batik-svgrasterizer:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-rasterizer:debian
>>    > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
>>    > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
>>> Could not resolve org.python:jython:debian.
>>   Required by:
>>       project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-script:debian
>>    > No cached version of org.python:jython:debian available for offline mode.
>>    > No cached version of org.python:jython:debian available for offline mode.
>>
>> I tried oonly batik-swing:
>>
>>  problem occurred evaluating project ':freeplane_plugin_svg'.
>>> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:runtime'.
>>    > Could not resolve org.apache.xmlgraphics:swing:1.7.
>>      Required by:
>>          project :freeplane_plugin_svg
>>       > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
>>       > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
>>
>> I have looked at osmium and figtree (r-deps) to see how they depend on
>> batik jars, but that didn't help. Is there an r-dep that depends on
>> batik for swing/SVG rendering, preferrably with a gradle build system,
>> that I could copy/learn from?
>>
>> Thanks and Best Regards,
>> --
>> Felix Natter
>> debian/rules!

[toc] | [prev] | [next] | [standalone]


#9991

FromFelix Natter <fnatter@gmx.net>
Date2017-09-09 19:50 +0200
Message-ID<unS3f-fN-11@gated-at.bofh.it>
In reply to#9990
Christopher Hoskin <mans0954@debian.org> writes:

> Dear Felix,

hello Christopher,

> Another option would be for me to switch to using maven to build
> batik. I've had a go at this here:
>
> https://anonscm.debian.org/cgit/pkg-java/batik.git/?h=maven-build
>
> In this case, batik-i18n and batik-constants are created as jars in
> their own right under /usr/share/java rather than being bundled into
> other jars. Upstream supports building with maven, although I presume
> they are still using ant for their own binaries as they don't have
> batik-i18n and batik-constants jars?

Thank you for analyzing and fixing the issue with freeplane.
I will fix this in the new release which is already in the pipeline.

> I haven't uploaded the maven build as I don't know if this approach
> might have a negative impact on other reverse dependencies expecting
> the ant layout build?

I would stick with the old (ant) build system, as this means much less
work fixing the r-deps. But whatever you choose is ok for me.
We still should test-build all r-deps to see whether they build though.

>> batik-i18n gets included in the batic-util.jar, but the pom file for
>> batic-util includes:
>>
>>     <dependency>
>>       <groupId>${project.groupId}</groupId>
>>       <artifactId>batik-constants</artifactId>
>>       <version>${project.version}</version>
>>     </dependency>
>>     <dependency>
>>       <groupId>${project.groupId}</groupId>
>>       <artifactId>batik-i18n</artifactId>
>>       <version>${project.version}</version>
>>     </dependency>
>>
>> So my first thought is that this is a problem with the upstream pom files.
>>
>> If I comment out these dependencies and add jython to the build
>> dependencies for freeplane, then the freeplane package builds okay.

Do the people on d-java agree that this is a good solution?
It seems good to me.

One suggestion: If you update a library, it would be good to test
whether any r-dep fails to build. There are not many for the case of
batik.

Cheers and Best Regards,
-- 
Felix Natter
debian/rules!

[toc] | [prev] | [next] | [standalone]


#9992

FromChristopher Hoskin <mans0954@debian.org>
Date2017-09-09 20:30 +0200
Message-ID<unSFY-IW-5@gated-at.bofh.it>
In reply to#9991
>
> One suggestion: If you update a library, it would be good to test
> whether any r-dep fails to build. There are not many for the case of
> batik.
>

Is there an automated way to rebuild all of the reverse dependencies
of a package and see a summary of the outcome? libbatik-java has 25
immediate reverse dependencies which would take a while. It would be
good to leave it running in the background whilst I do something else.

(Yes I could write a script, but as developers must be updating
libraries all the time, I suspect a well-polished one should already
exist.)

Christopher

[toc] | [prev] | [next] | [standalone]


#9993

FromMarkus Koschany <apo@debian.org>
Date2017-09-09 20:40 +0200
Message-ID<unSPE-Nx-1@gated-at.bofh.it>
In reply to#9992

[Multipart message — attachments visible in raw view] — view raw

Am 09.09.2017 um 20:22 schrieb Christopher Hoskin:
>>
>> One suggestion: If you update a library, it would be good to test
>> whether any r-dep fails to build. There are not many for the case of
>> batik.
>>
> 
> Is there an automated way to rebuild all of the reverse dependencies
> of a package and see a summary of the outcome? libbatik-java has 25
> immediate reverse dependencies which would take a while. It would be
> good to leave it running in the background whilst I do something else.
> 
> (Yes I could write a script, but as developers must be updating
> libraries all the time, I suspect a well-polished one should already
> exist.)
> 
> Christopher

There is for instance ratt [1] or debomatic [2].

[1] https://tracker.debian.org/pkg/ratt
[2] https://tracker.debian.org/pkg/debomatic

We probably should collect all this information including your AWS
mass-rebuild setup at wiki.debian.org. I'll give it a try soon.

Markus

[toc] | [prev] | [next] | [standalone]


#9995

FromChristopher Hoskin <christopher.hoskin@gmail.com>
Date2017-09-10 09:10 +0200
Message-ID<uo4xr-gP-3@gated-at.bofh.it>
In reply to#9993
Dear Markus,

Thanks - that's useful to know.

ratt -dry_run batik_1.9-1_source.changes 2> >(wc -l)
554

Hmm, this could take a while... I guess it must be looking for
recursive reverse build dependencies?

Christopher



On 9 September 2017 at 19:31, Markus Koschany <apo@debian.org> wrote:
> Am 09.09.2017 um 20:22 schrieb Christopher Hoskin:
>>>
>>> One suggestion: If you update a library, it would be good to test
>>> whether any r-dep fails to build. There are not many for the case of
>>> batik.
>>>
>>
>> Is there an automated way to rebuild all of the reverse dependencies
>> of a package and see a summary of the outcome? libbatik-java has 25
>> immediate reverse dependencies which would take a while. It would be
>> good to leave it running in the background whilst I do something else.
>>
>> (Yes I could write a script, but as developers must be updating
>> libraries all the time, I suspect a well-polished one should already
>> exist.)
>>
>> Christopher
>
> There is for instance ratt [1] or debomatic [2].
>
> [1] https://tracker.debian.org/pkg/ratt
> [2] https://tracker.debian.org/pkg/debomatic
>
> We probably should collect all this information including your AWS
> mass-rebuild setup at wiki.debian.org. I'll give it a try soon.
>
> Markus
>

[toc] | [prev] | [next] | [standalone]


#10107

FromMarkus Koschany <apo@debian.org>
Date2017-10-22 20:30 +0200
Message-ID<uDtax-308-5@gated-at.bofh.it>
In reply to#9995

[Multipart message — attachments visible in raw view] — view raw

Am 10.09.2017 um 09:03 schrieb Christopher Hoskin:
> Dear Markus,
> 
> Thanks - that's useful to know.
> 
> ratt -dry_run batik_1.9-1_source.changes 2> >(wc -l)
> 554
> 
> Hmm, this could take a while... I guess it must be looking for
> recursive reverse build dependencies?
> 
> Christopher

Yes, probably. I thought it was possible to control that but I haven't
used ratt in a while.

I have created a simple page, https://wiki.debian.org/Java/Rebuilds,
with some links and tips for rebuilding packages. If you find the
solution for this issue, just add it to the wiki.

Regards,

Markus

[toc] | [prev] | [next] | [standalone]


#9994

FromEugene Zhukov <eugene@debian.org>
Date2017-09-10 08:00 +0200
Message-ID<uo3rI-7MG-5@gated-at.bofh.it>
In reply to#9992
On Sat, Sep 9, 2017 at 9:22 PM, Christopher Hoskin <mans0954@debian.org> wrote:
>>
>> One suggestion: If you update a library, it would be good to test
>> whether any r-dep fails to build. There are not many for the case of
>> batik.
>>
>
> Is there an automated way to rebuild all of the reverse dependencies
> of a package and see a summary of the outcome? libbatik-java has 25
> immediate reverse dependencies which would take a while. It would be
> good to leave it running in the background whilst I do something else.
>
> (Yes I could write a script, but as developers must be updating
> libraries all the time, I suspect a well-polished one should already
> exist.)
>

In fact there isn't. I wrote some Ansible automation for that:
https://github.com/ezhukov/testvm

Eugene

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web