Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310147 - >=dev-java/lucene-2.9 merge analyzers addition into lucene[analyzers]
Summary: >=dev-java/lucene-2.9 merge analyzers addition into lucene[analyzers]
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 23:24 UTC by Hanno Zysik (geki)
Modified: 2020-05-04 22:51 UTC (History)
3 users (show)

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


Attachments
add useflag [analyzers] (lucene-analyzers.diff,3.21 KB, patch)
2010-03-19 11:01 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Zysik (geki) 2010-03-18 23:24:53 UTC
I have talked with Caster on IRC. I got an okay. :)
Summary:

- lower slots would cause trouble for reverse dependend packages

- lucene-analyzers package seems to get no attention in the repo

- lucene-analyzers package compiles lucene first and then the analyzers addition; finally merges only its own jar
___
I will make a patch for the slots 2.9 and 3.0. lucene-analyzers package can be purged from repo after, afais, eclipse-sdk and openoffice update their dependency. openoffice can use slot 2.9. eclipse-sdk, well, whenever upstream updates I guess. I hope I did not forget something ...
Comment 1 Hanno Zysik (geki) 2010-03-18 23:32:10 UTC
As expected, it is late again ...

Eclipse 3.7 may use it. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297617
Comment 2 Hanno Zysik (geki) 2010-03-19 11:01:01 UTC
Created attachment 224225 [details, diff]
add useflag [analyzers]

notes:
- does calling dosrc twice work?!
- someone may add test stuff
Comment 3 Hanno Zysik (geki) 2010-03-19 11:02:55 UTC
o, and lucene fails with virtual/jdk-1.4 depend:
( see https://forums.gentoo.org/viewtopic-p-6210373.html#6210373 )

[javac] /var/tmp/portage/work/portage/dev-java/lucene-2.4.1/work/lucene-2.4.1/src/java/org/apache/lucene/queryParser/CharStream.java:30: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Deprecated
[javac] ^
[javac] /var/tmp/portage/work/portage/dev-java/lucene-2.4.1/work/lucene-2.4.1/src/java/org/apache/lucene/queryParser/QueryParser.java:1659: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics) 
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2010-03-19 14:29:46 UTC
(In reply to comment #0)
> - lucene-analyzers package compiles lucene first and then the analyzers
> addition; finally merges only its own jar
I was planning to fix this but never took action

Comment 5 Hanno Zysik (geki) 2010-03-19 15:41:17 UTC
@Serkan: Yes, well, general rule nowadays is to have useflags for packages since there are use depends on packages, afais & afaik. see dbus, poppler and others merging the splitted ebuilds again into one. And I think it is okay for lucene to follow that.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-15 10:41:44 UTC
robbat2: seems you've been left out. Can you comment? Thanks