Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361269 - media-sound/sox-14.3.{0,1,2} depend on media-video/ffmpeg instead of virtual/ffmpeg
Summary: media-sound/sox-14.3.{0,1,2} depend on media-video/ffmpeg instead of virtual/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-virtual
  Show dependency tree
 
Reported: 2011-03-30 11:14 UTC by tbartdev
Modified: 2011-04-03 11:08 UTC (History)
1 user (show)

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


Attachments
Patch to make sox depend on virtual/ffmpeg (sox-14.3.0.ebuild-virtual-ffmpeg.diff,523 bytes, patch)
2011-03-30 11:17 UTC, tbartdev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tbartdev 2011-03-30 11:14:45 UTC
If media-video/libav is installed as virtual/ffmpeg provider, installing sox with USE=ffmpeg results in pulling in media-video/ffmpeg as well (which is unnecessary at least and might clobber as well.. shouldn't the two ffmpeg implementations block each other, btw?)
However, virtual/ffmpeg should do for sox.

Reproducible: Always

Steps to Reproduce:
1. emerge media-video/libav (or virtual/ffmpeg which provides it if media-video/ffmpeg is not installed yet)
2. emerge -pv sox
3. media-video/ffmpeg gets pulled in as well


Expected Results:  
One ffmpeg implementation should be enough for sox

At least for now libav does it as well.

I think we'll have to see whether libav and ffmpeg diverge enough to break API compatibility - that's gonna be big fun for different software depending on either this or that and slotting it ;->
Comment 1 tbartdev 2011-03-30 11:17:11 UTC
Created attachment 267787 [details, diff]
Patch to make sox depend on virtual/ffmpeg

I don't know how to force a minimal version number with virtuals but it just works (TM) with the current versions in the tree.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-03 11:08:05 UTC
Fixed in main tree. Thanks for report.