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

Bug 152568

Summary: media-video/mjpegtools-1.8.0-r1 has various asm-related issues
Product: Gentoo Linux Reporter: Simon Stelling (RETIRED) <blubb>
Component: New packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED FIXED    
Severity: normal CC: media-video, rhill
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch

Description Simon Stelling (RETIRED) gentoo-dev 2006-10-23 08:55:14 UTC
media-video/mjpegtools-1.8.0-r1 has a bunch of mistakes in it:

* Enables a nonexisting cmov option depending on CHOST
* Enables SIMD (which turns out to be nothing but MMX) depending on ANY OF mmx,sse,3dnow.
* x86? in DEPEND
* Tries to enable SIMD on amd64 when it in fact doesn't
* Tests for CHOST containing x86_64 in a 'if use x86' block

The ebuild can be simplified quite a bit, see attached patch. If you don't object within 5 days, I am going to commit the patch.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-10-23 08:55:38 UTC
Created attachment 100292 [details, diff]
patch
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2006-11-19 09:17:53 UTC
be sure to update this patch now that jpeg-mmx is being removed from the tree.
Comment 3 Matthias Schwarzott gentoo-dev 2006-11-19 09:24:19 UTC
Applied fixes to mjpegtools-1.8.0-r2.