Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200851 - dev-java/batik-1.7 version bump
Summary: dev-java/batik-1.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement with 1 vote (vote)
Assignee: Java team
URL: http://xmlgraphics.apache.org/batik/d...
Whiteboard:
Keywords:
: 224971 232655 (view as bug list)
Depends on:
Blocks: 202775
  Show dependency tree
 
Reported: 2007-11-30 17:12 UTC by R Stephan
Modified: 2009-05-20 21:43 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Changes needed for batik-1.7 (batik-1.7.ebuild.patch,1.22 KB, patch)
2008-01-17 17:17 UTC, bware
Details | Diff
Patch that fixes compiling (batik-fixdep.patch,627 bytes, patch)
2008-04-23 22:16 UTC, Philipp Hagemeister
Details | Diff
Patch that fixes compiling and bumps slot to 1.7 (batik-fixdep+newslot.patch,811 bytes, patch)
2008-04-23 22:25 UTC, Philipp Hagemeister
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R Stephan 2007-11-30 17:12:46 UTC
A newer version of batik is available. Please also remove dependency on jdk-1.4.
Comment 1 bware 2008-01-17 17:17:09 UTC
Created attachment 141160 [details, diff]
Changes needed for batik-1.7

It seem to need rhino-1.6 now. 

Removed JDK-1.4 dependency, and added dev-java/xalan which was needed for me (at least on sun-jdk-1.6).

Only tested on AMD64 and with USE=-doc; as my javadoc just runs out of memory.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-04-15 14:37:35 UTC
Added a version of the ebuild to java-experimental.
https://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/batik/

Can't get the batik-1.6 binary to work:
betelgeuse@pena ~/harri/pics $ batik-1.6 circle.svg
java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
        at java.security.AccessController.checkPermission(AccessController.java:427)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at java.net.Authenticator.setDefault(Authenticator.java:110)
        at org.apache.batik.apps.svgbrowser.Main.<init>(Unknown Source)
        at org.apache.batik.apps.svgbrowser.Main.main(Unknown Source)
Comment 3 Philipp Hagemeister 2008-04-23 22:16:59 UTC
Created attachment 150758 [details, diff]
Patch that fixes compiling

The current version does not compile:

* If you don't have JDK-1.4 (needs manual download). This restriction (=1.4*) is superfluous.
* Because the xalan dependency is just missing.

Attached: Patch against rev 6208 of https://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/batik/batik-1.7.ebuild
Comment 4 Philipp Hagemeister 2008-04-23 22:25:07 UTC
Created attachment 150759 [details, diff]
Patch that fixes compiling and bumps slot to 1.7
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2008-06-16 09:39:33 UTC
*** Bug 224971 has been marked as a duplicate of this bug. ***
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-07-22 20:35:04 UTC
*** Bug 232655 has been marked as a duplicate of this bug. ***
Comment 7 Erik Logtenberg 2008-07-23 12:08:05 UTC
I tested the batik-1.7 ebuild on x86, profile 2008.0, 2.6.25-gentoo-r6, sun-jdk-1.6.0.07, and it compiles and installs correctly.
Wether or not it actually works, I can't tell; I don't use Batik directly, just as a depencenty of dev-java/fop. And at least that works fine with batik-1.7.

So as far as I'm concerned version 1.7 is tested okay, please put it in portage if there's nothing else to wait for.
Comment 8 Erik Logtenberg 2008-07-23 12:22:48 UTC
Oh by the way, I was happy a bit too early. In the dev-java/fop ebuild there is still a hard dependency on batik-1.6, which seems to be justified since fop uses all kinds of deprecated stuff (deprecated since batik-1.7). This holds true for both the fop-0.93-r1 ebuild and the currently still masked fop-0.94-r1 ebuild.

This doesn't seem to be so much a batik-1.7 bug but more a apache-fop issue. Nevertheless it means that my "test" of batik-1.7 was actually quite worthless. It still compiled fine, but I don't know if it actually works.
Comment 9 Azamat H. Hackimov 2008-10-01 08:35:06 UTC
(In reply to comment #8)

> This doesn't seem to be so much a batik-1.7 bug but more a apache-fop issue.
> Nevertheless it means that my "test" of batik-1.7 was actually quite worthless.
> It still compiled fine, but I don't know if it actually works.

For batik-1.7 you should use fop-0.95. Unforunally, 0.95 not in portage yet. 

Comment 10 Jiri Tyr 2008-10-01 09:25:48 UTC
Please have a look at this bug report: #202775.
Comment 11 Ryan 2008-12-04 15:16:24 UTC
using sun-jdk-1.6 on x86_64, seems to work. I'm using it through freemind .9 beta
Comment 12 Mike Weissman 2009-01-05 16:50:43 UTC
(In reply to comment #11)
> using sun-jdk-1.6 on x86_64, seems to work. I'm using it through freemind .9
> beta
> 
[java-experimental]

This is working on x86 with sun-jdk-1.6.  I applied the above patches to the ebuilds in [java-experimental] , with 1 change, ant-core is not needed as a dependency as it pulled it with java-ant-2.eclass . 

Thanks,
Mike
Comment 13 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-20 21:43:23 UTC
Sometimes things get even done, thanks for patience.