Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229621 - media-libs/opencv-1.0.0-r1 configure error with media-video/ffmpeg-0.4.9_p20080326
Summary: media-libs/opencv-1.0.0-r1 configure error with media-video/ffmpeg-0.4.9_p200...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Josh Glover (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 214740
  Show dependency tree
 
Reported: 2008-06-26 15:09 UTC by Account removed
Modified: 2008-06-29 14:41 UTC (History)
0 users

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


Attachments
patch for new ffmpeg (opencv-1.0.0-ffmpeg0.4.9.patch,1.58 KB, patch)
2008-06-28 07:17 UTC, Nikolay Orlyuk
Details | Diff
patch for new ffmpeg with API changes (opencv-1.0.0-ffmpeg0.4.9.patch,3.00 KB, patch)
2008-06-28 07:33 UTC, Nikolay Orlyuk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Account removed 2008-06-26 15:09:12 UTC
configure stops with folowing error:

checking for ffmpeg/avcodec.h... no
configure: error: FFmpeg requested but header file ffmpeg/avcodec.h not found


the header of media-video/ffmpeg-0.4.9_p20080326 
is in libavcodec/avcodec.h
though
Comment 1 Nikolay Orlyuk 2008-06-28 07:17:34 UTC
Created attachment 158725 [details, diff]
patch for new ffmpeg

opencv-1.0.0 relay on old include folders scheme
this patch should fix that

P.S.: name should be reconsidered to reflect actual version of ffmpeg since which libavcodec, libavformat, libswscale was introduced
Comment 2 Nikolay Orlyuk 2008-06-28 07:33:41 UTC
Created attachment 158727 [details, diff]
patch for new ffmpeg with API changes

now it builds better

P.S. so much warnings...
Comment 3 Account removed 2008-06-28 07:45:45 UTC
Thank you very much!
Your 2nd patch works very good :)
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-29 14:41:56 UTC
+  29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch, opencv-1.0.0-r1.ebuild:
+  Add patch for ffmpeg-0.4.9_p20080326 compatibility. Depends for ffmpeg
+  raised to >=ffmpeg-0.4.9_p20080326. Bug #229621 and bug #229405.
+