First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 163764
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tony Vroon <chainsaw@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jozsef Daniel <simius@mail.tvnet.hu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
audacious-plugins-1.3.0_alpha2-r2.ebuild audacious-plugins-1.3.0_alpha2-r2.ebuild text/plain Jozsef Daniel 2007-01-25 15:08 0000 3.00 KB Details
audacious-plugins-1.3.0_alpha2-r2.ebuild audacious-plugins-1.3.0_alpha2-r2.ebuild (fixed) text/plain Jozsef Daniel 2007-01-25 16:30 0000 3.15 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 163764 depends on: Show dependency tree
Show dependency graph
Bug 163764 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-25 15:07 0000
I think if an ebuild links to a library, then it should be included as a
dependency - unlisted dependencies can lead to chaos.

There is a projectM plugin included in
media-plugins/audacious-plugins-1.3.0_alpha2, which is compiled if
libprojectm-0.99 is present.

I added libprojectm as a conditional dependency: If the opengl USE flag is set,
audacious-plugins-1.3.0_alpha2-r1 will depend on libprojectm.

------- Comment #1 From Jozsef Daniel 2007-01-25 15:08:28 0000 -------
Created an attachment (id=108130) [edit]
audacious-plugins-1.3.0_alpha2-r2.ebuild

------- Comment #2 From Jakub Moc 2007-01-25 16:04:56 0000 -------
It can't be conditional if there's no way to disable the feature in configure;
you can't just add a flag and do nothing with it but adding dependencies.

http://www.gentoo.org/proj/en/qa/automagic.xml

------- Comment #3 From Tony Vroon 2007-01-25 16:12:45 0000 -------
-alpha2 is no longer current, any development will happen on the -alpha3
ebuild. I will see whenever projectm can be controlled conditionally. If not,
I'll add it upstream. In that case, you'll have to wait until alpha4 or the
final version comes out before this bug can be resolved.

I will not apply patches to developer releases as they are too short-lived in
nature.

------- Comment #4 From Jozsef Daniel 2007-01-25 16:30:33 0000 -------
Created an attachment (id=108136) [edit]
audacious-plugins-1.3.0_alpha2-r2.ebuild (fixed)

Thanks for the correction, the projectm plugin CAN be disabled in configure, so
I added a few lines to disable it in case of building with USE="-opengl". This
way it's a real conditional dependency.

------- Comment #5 From Tony Vroon 2007-02-05 20:25:01 0000 -------
This is in the alpha4 ebuild. Please note that I have used use_enable instead
of the old-style if-statement. Although functionally equivalent, I hope you
agree that this is much more readable.
Thank you for your bug report :)

First Last Prev Next    No search results available      Search page      Enter new bug