Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259652 - media-sound/sox incompatible with sys-apps/file-5.00
Summary: media-sound/sox incompatible with sys-apps/file-5.00
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 22:51 UTC by Radoslaw Szkodzinski
Modified: 2009-03-10 21:18 UTC (History)
3 users (show)

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


Attachments
patch sox for file version >=5.0 (sox-14.2.0-file-5.0.patch,566 bytes, patch)
2009-02-25 11:28 UTC, genuesslichselbstsichererorangutan
Details | Diff
revised patch for all versions of file (sox-14.2.0-file-5.0.patch,580 bytes, patch)
2009-03-02 03:35 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Szkodzinski 2009-02-19 22:51:05 UTC
Sox cannot use new mime data sent by the new version of file utility, charset=binary indication to be exact.

Results in errors like:
play formats: no handler for detected file type `audio/mpeg; charset=binary'

Works correctly with sys-apps/file-4.26
Comment 1 genuesslichselbstsichererorangutan 2009-02-25 11:28:02 UTC
Created attachment 183127 [details, diff]
patch sox for file version >=5.0

Hi, this patch should resolve the Problem.
Copy /usr/portage/media-sound/sox/ to you local overlay.
Save the patch in the file folder.
Add the line: epatch "${FILESDIR}/${P}-file-5.0.patch"
to sox-14.2.0.ebuild under the line: epatch "${FILESDIR}/${P}-distro.patch".
Run ebuild sox-14.2.0.ebuild digest.
reemerge sox and now it should detect mp3 files correct.
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2009-03-02 03:35:43 UTC
Created attachment 183646 [details, diff]
revised patch for all versions of file

This is a revised version of the previous patch, which works for <sys-apps/file-5.00 as well as >=sys-apps/file-5.00
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2009-03-10 21:18:14 UTC
(In reply to comment #2)
> Created an attachment (id=183646) [edit]
> revised patch for all versions of file
> 
> This is a revised version of the previous patch, which works for
> <sys-apps/file-5.00 as well as >=sys-apps/file-5.00
> 

Awesome, thanks.

Added in sox-14.2.0-r1.ebuild