| Summary: | [java-overlay] dev-java/icedtea-3.1.0 configure: error: Infinality support requires infinality support in FreeType. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | José Romildo Malaquias <jrmalaq> |
| Component: | Overlays | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ave |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | dev-java:icedtea-3.1.0:20160730-101518.log | ||
|
Description
José Romildo Malaquias
2016-07-30 10:35:31 UTC
This is already known although I hadn't tried it myself and thought it wasn't a fatal error. Keep in mind that this is still isn't in the main tree yet, just Java overlay. This works with FreeType 2.6.3 but not later versions. A new rendering engine has been added to FreeType, which I gather is supposed to supersede Infinality but it's not clear what future Infinality has. I have spoken to IcedTea upstream and a Gentoo FreeType maintainer and no one can make any sense of it. Maybe it could still work but the full Infinality patch set has not been updated for 2.6.4 (or 2.6.5) and the guy who works on it usually takes a while. Perhaps it will never happen because of the upstream changes. My advice is to try the new cleartype_hinting USE FreeType flag (while disabling infinality) and report back whether you are happy with it as a replacement. One of the main advantages is that it's very much faster. It will become the default in 2.7.0. If you are satisfied then that will give us a clearer idea of where we're going. I will probably pin back the version requirement for infinality to ~media-libs/freetype-2.6.3 for as long as that version is around. If FreeType isn't providing infinality any more, it should drop the USE flag. IcedTea depends on that USE flag so that would solve the issue without having to change IcedTea to depend on a particular version. (In reply to Andrew John Hughes from comment #2) > If FreeType isn't providing infinality any more, it should drop the USE > flag. IcedTea depends on that USE flag so that would solve the issue without > having to change IcedTea to depend on a particular version. That's true except that the flag is still there on 2.6.5 because it does still do something despite lacking the patch set. It's not clear what the current situation is. The upstream announcement said that Infinality is still there but in a reduced form, which is confusing because I was under the impression that it was never merged upstream to begin with. I therefore don't know what the "full patch set" was actually needed for. It seems like Infinality is still working on 2.6.5 for these users, despite the lack of an updated patch set. Either a different detection mechanism is needed, though I grepped libfreetype for "infinality" and got nothing, or IcedTea doesn't need to do anything special now and it'll just work anyway. I think we should just look towards the new renderer now though. I've changed the dependency to <media-libs/freetype-2.6.4:2=[infinality] on 3.1.0, which should fix the error. Andrew, I guess I should do the same on 7.2.x? Just as a sidenote, I encountered this same problem with =icedtea-7.2.6.6[infinality] and =icedtea-7.2.6.7[infinality] against freetype-2.6.5[infinality]. I have applied the fix in all applicable versions now. |