Summary: | Prepare no-herd apps to use newer ffmpeg | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben de Groot (RETIRED) <yngwin> |
Component: | New packages | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, hanno, jrmalaq, patrizio.bassi, tester |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 216978 | ||
Bug Blocks: | 214740 | ||
Attachments: |
cmus-2.2.0.ebuild.patch
cmus-new-ffmpeg.patch Patch to mpeg4ip-1.5.0.1 source to use new ffmpeg header locations Updated version of patch to work with new ffmpeg header locations Patch for mpeg4ip ebuild |
Description
Ben de Groot (RETIRED)
2008-04-17 13:16:39 UTC
media-sound/slimserver builds with this ffmeg, but as a side issue, the new ffmpeg does not build without USE="mmx". If I do not use this USE flag, I get: i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -DBROKEN_RELOCATIONS -fomit-frame-po inter -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -W pointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -f no-math-errno -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg " -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tm p/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavutil -I"/var/tmp/ portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavcodec -I"/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavformat -I"/var/tmp/p ortage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libswscale -I"/var/tmp/po rtage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavdevice -I"/var/tmp/po rtage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavfilter -D_FILE_OFFSET _BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H -DHAVE_AV_CONF IG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/var/tmp/por tage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tmp/portage/media-v ideo/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg- 0.4.9_p20080326/work/ffmpeg"/libavcodec -I"/var/tmp/portage/media-video/ffmpeg-0 .4.9_p20080326/work/ffmpeg"/libavdevice -I"/var/tmp/portage/media-video/ffmpeg-0 .4.9_p20080326/work/ffmpeg"/libavfilter -I"/var/tmp/portage/media-video/ffmpeg-0 .4.9_p20080326/work/ffmpeg"/libavformat -I"/var/tmp/portage/media-video/ffmpeg-0 .4.9_p20080326/work/ffmpeg"/libavutil -I"/var/tmp/portage/media-video/ffmpeg-0.4 .9_p20080326/work/ffmpeg"/libpostproc -I"/var/tmp/portage/media-video/ffmpeg-0.4 .9_p20080326/work/ffmpeg"/libswscale -march=i686 -O2 -pipe -DBROKEN_RELOCATIONS -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled- optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Ww rite-strings -fno-math-errno -c -o yuv2rgb.o yuv2rgb.c yuv2rgb.c: In function 'yuv2rgb_get_func_ptr': yuv2rgb.c:609: error: 'yuv420_rgb32_MMX2' undeclared (first use in this function ) yuv2rgb.c:609: error: (Each undeclared identifier is reported only once yuv2rgb.c:609: error: for each function it appears in.) yuv2rgb.c:610: error: 'yuv420_rgb24_MMX2' undeclared (first use in this function ) yuv2rgb.c:611: error: 'yuv420_rgb16_MMX2' undeclared (first use in this function ) yuv2rgb.c:612: error: 'yuv420_rgb15_MMX2' undeclared (first use in this function ) yuv2rgb.c:617: error: 'yuv420_rgb32_MMX' undeclared (first use in this function) yuv2rgb.c:618: error: 'yuv420_rgb24_MMX' undeclared (first use in this function) yuv2rgb.c:619: error: 'yuv420_rgb16_MMX' undeclared (first use in this function) yuv2rgb.c:620: error: 'yuv420_rgb15_MMX' undeclared (first use in this function) make[1]: *** [yuv2rgb.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/ work/ffmpeg/libswscale' make: *** [lib] Error 2 * * ERROR: media-video/ffmpeg-0.4.9_p20080326 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2395: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9 _p20080326/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpe g-0.4.9_p20080326/temp/environment'. * dev-util/bugle works fine here swfdec upstream will likely drop ffmpeg support in future versions, so I made swfdec-0.6* refuse to use p20080326 and newer cmus is not compatible with newer ffmpeg, I contacted upstream about it. Should I adjust the dependency on cmus 2.2.0? No, we prefer patching, if that's not too complicated. I made a quick patch for cmus, though a more elegant solution may exist. Created attachment 150953 [details, diff]
cmus-2.2.0.ebuild.patch
Created attachment 150954 [details, diff]
cmus-new-ffmpeg.patch
The latest coriander currently doesn't support ffmpeg, making it a non-issue for this package. (In reply to comment #5) > No, we prefer patching, if that's not too complicated. I made a quick patch for > cmus, though a more elegant solution may exist. Not really, upstream also fixed it, so thanks for your patch. Applied, and I am out of here. *** Bug 219941 has been marked as a duplicate of this bug. *** Remaining: media-video/mpeg4ip - tester@gentoo.org net-www/gnash - genstef@gentoo.org Please fix in the next few days, as we plan to unmask ffmpeg-0.4.9_p20080326 next week. *** Bug 228615 has been marked as a duplicate of this bug. *** Created attachment 157851 [details, diff]
Patch to mpeg4ip-1.5.0.1 source to use new ffmpeg header locations
Created attachment 157853 [details, diff]
Updated version of patch to work with new ffmpeg header locations
Created attachment 157855 [details, diff]
Patch for mpeg4ip ebuild
This should get mpeg4ip working again (with the two patches above dropped into the files directory).
Unmasking media-video/mpeg4ip-1.5.0.1-r5, which is patched for new ffmpeg header support. Thanks Andrew Church for supplying these patches! This leaves net-www/gnash to be done. +*gnash-0.8.3 (25 Jun 2008) + + 25 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> metadata.xml, + +gnash-0.8.3.ebuild: + Bump. Fixes bugs 212943, 213167, 218105 and 226099. Added tests, cleaned + up ebuild. |