Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260803 - dev-java/qtjambi-4.4.3 +phonon AND +examples does not work
Summary: dev-java/qtjambi-4.4.3 +phonon AND +examples does not work
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 258983 260774
  Show dependency tree
 
Reported: 2009-03-01 23:10 UTC by Fabian Köster
Modified: 2010-01-06 22:42 UTC (History)
1 user (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 Fabian Köster 2009-03-01 23:10:09 UTC
The dev-java/qtjambi ebuild fails with a compile error when the 'phonon' and 'examples' use-flag are enabled.

Reproducible: Always

Steps to Reproduce:
1. Enable 'phonon' and 'examples' use-flag for dev-java/qtjambi
2. Emerge dev-java/qtjambi-4.4.3

Actual Results:  
The build fails when trying to build the (Java-)examples for phonon:

 [javac] /var/tmp/portage/dev-java/qtjambi-4.4.3-r1/work/qtjambi-src-gpl-4.4.3_01/com/trolltech/demos/phonon/MediaPlayer.java:50: package com.trolltech.qt.phonon does not exist

Expected Results:  
The use-flags should be freely en- and disableable, all possible combinations should lead to a working installation.
Comment 1 Fabian Köster 2009-03-01 23:22:53 UTC
I will work on this bug.

I would like to assign this bug to me, how do I get permission to do that?
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-03-02 04:49:34 UTC
(In reply to comment #0)
> Expected Results:  
> The use-flags should be freely en- and disableable, all possible combinations
> should lead to a working installation.
> 

I don't think we should have such a restriction, some USE flags might require others being enabled as well. But in this case "example" USE flag in scope of Java ebuild shoudn't compile the examples but should install the source of the examples (with java-pkg_doexamples)
Comment 3 Fabian Köster 2009-03-02 10:25:51 UTC
> I don't think we should have such a restriction, some USE flags might require
> others being enabled as well. But in this case "example" USE flag in scope of
> Java ebuild shoudn't compile the examples but should install the source of the
> examples (with java-pkg_doexamples)

OK. My restriction does not apply to all ebuilds, but in this case there is no reason why one should not be able to enable examples and enable phonon.

I was unaware that java-pkg_doexamples installs only the sourcecode. I will change that.

I propose to add a new use-flag 'demo' for installing the "jambi"-demo application.

Comment 4 Denilson Sá Maia 2009-04-09 15:37:49 UTC
(In reply to comment #3)
> I propose to add a new use-flag 'demo' for installing the "jambi"-demo
> application.

I personally think the 'demo' use flag has another meaning. It means to install the demo/shareware version (as opposed to full version) for many game ebuilds.

I still think examples seem to be the correct use flag choice for this.
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2009-04-09 21:50:52 UTC
(In reply to comment #3)
> 
> I propose to add a new use-flag 'demo' for installing the "jambi"-demo
> application.
> 

Just install the demo app along with the example sources.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2009-05-13 16:05:37 UTC
Fabian, do you have x11-libs/qt-phonon or media-sound/phonon installed? I have a strong feeling that qtjambi is *not* compatible with media-sound/phonon.
Comment 7 Dror Levin (RETIRED) gentoo-dev 2010-01-06 22:42:07 UTC
qtjambi-4.4.3 is no longer in the tree. Please reopen if this still applies to newer versions.