Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170947 - media-tv/tvbrowser-2.5-r1 uses bundled jars
Summary: media-tv/tvbrowser-2.5-r1 uses bundled jars
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 20:48 UTC by Petteri Räty (RETIRED)
Modified: 2007-03-27 21:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-03-14 20:48:50 UTC
>>> Compiling source in /var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5 ...
Rewriting source attributes
Rewriting ./build.xml
Rewriting target attributes
Rewriting ./build.xml
Searching for bundled jars:
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/deployment/win/jsmooth/lib/dtdparser113.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/deployment/win/jsmooth/lib/jsmoothgen.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/deployment/win/jsmooth/lib/jsmoothgen-ant.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/deployment/win/jsmooth/lib/jox116.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/deployment/macosx/jarbundler-1.4.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/tvdatakit/workspace/lib/poi-3.0-alpha2-20060616.jar
/var/tmp/portage/media-tv/tvbrowser-2.5-r1/work/tvbrowser-2.5/tvdatakit/workspace/lib/xercesImpl.jar
 * Disabling system classpath for ant
 * Disabling all optional ANT_TASKS

Add JAVA_PKG_STRICT=1 to make.conf to see this. System installed copies should be used instead. If they are not packaged yet, then new bugs should be filed for them and marked as a dependency of this bug.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-03-14 23:51:35 UTC
Also it seems that tvbrowser.jar absorbs deps' classes. And it installs .so file in /usr/share and doesn't register it in package.env. Instead it adds java.library.path manually via dolauncher --java-args.
Comment 2 Matthias Schwarzott gentoo-dev 2007-03-27 15:45:22 UTC
tvbrowser-2.5.2 commited. It no longer uses delivered jars. And adds the lib correctly (I hope).
What can we do against absorption?
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-03-27 16:59:03 UTC
(In reply to comment #2)
> tvbrowser-2.5.2 commited. It no longer uses delivered jars. And adds the lib
> correctly (I hope).
> What can we do against absorption?
> 

betelgeuse@pena /usr/portage/eclass $ qlist tvbrowser | egrep \.so$
/usr/share/tvbrowser/libDesktopIndicator.so
/usr/lib/tvbrowser/libDesktopIndicator.so

Probably shouldn't be duplicated. Usually build.xml files have a way to specify not having bundled files. Caster: I need to run my bundle detector to see which ones are from dependencies.
Comment 4 Mirko Guenther 2007-03-27 17:16:22 UTC
at my system libDesktopIndicator.so is only installed in /usr/lib/tvbrowser/
and only exists in /usr/lib/tvbrowser

/usr/share/tvbrowser/libDesktopIndicator.so is maybe a hangover from an old ebuild (!?) in your system
Comment 5 Matthias Schwarzott gentoo-dev 2007-03-27 18:09:27 UTC
On my system it is there only once:

gauss # cd /usr/
gauss usr # find -name libDesktopIndicator.so
./lib/tvbrowser/libDesktopIndicator.so
gauss usr # qlist tvbrowser | egrep \.so$
/usr/lib/tvbrowser/libDesktopIndicator.so
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-03-27 21:04:02 UTC
(In reply to comment #5)
> On my system it is there only once:
> 
> gauss # cd /usr/
> gauss usr # find -name libDesktopIndicator.so
> ./lib/tvbrowser/libDesktopIndicator.so
> gauss usr # qlist tvbrowser | egrep \.so$
> /usr/lib/tvbrowser/libDesktopIndicator.so
> 

Yeah. emerge --clean hadn't been run yet. No bundled jars are used any more and I cleaned the ebuild otherwise too so this can be marked as FIXED again.