Control: tags -1 pending

Hello Brian,

Thanks for the bug report.

On Mon, 20 Jun 2022 10:25:33 -0500 Brian Blood <br...@networkjack.info> wrote:
> Package: libbatik-java
> Version: 1.12-4
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
>
> Been using this kind of call against a Jessie install of this package for years:
>
> java -jar /usr/share/java/batik-rasterizer.jar -m image/png -scriptSecurityOff -w 1920 /tmp/ramdisk/svgproc-b83e35c457f48904da8a39a01d230d48.svg
>
>
> After upgrading system to bullseye, the same call produces this error:
>
> Error: Could not find or load main class org.apache.batik.apps.rasterizer.Main > Caused by: java.lang.ClassNotFoundException: org.apache.batik.apps.rasterizer.Main
>

We have two things here:
- The org.apache.batik.apps.rasterizer.Main class has been moved to another jar: /usr/share/java/batik-svgrasterizer.jar; - Some Class-Path and Main-Class indications are missing in the jars we ship in libbatik-java.

I believe your call would be OK right now if you tried
rasterizer -m image/png -scriptSecurityOff -w 1920 /tmp/ramdisk/svgproc-b83e35c457f48904da8a39a01d230d48.svg

rasterizer is a script lying in /usr/bin that we ship in libbatik-java.

If you have to use a
        java -jar /usr/share/java/svgrasterizer.jar ...
syntax, then it will be possible starting from version 1.14-2 that I am about to upload to unstable, and which will end up in bookworm soon.

Please tell me if you need it in bullseye or if calling
        rasterizer ...
is OK for you.

Best regards,

--
Pierre

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to