Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259652

Summary: media-sound/sox incompatible with sys-apps/file-5.00
Product: Gentoo Linux Reporter: Radoslaw Szkodzinski <astralstorm>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: genuesslichselbstsichererorangutan, jcallen, please.no.spam.here
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch sox for file version >=5.0
revised patch for all versions of file

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