Bug 158510 - graphics/ffmpeg + OpenCV fails (needs graphics/opencv)
Summary: graphics/ffmpeg + OpenCV fails (needs graphics/opencv)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 21:40 UTC by Adam Weinberger
Modified: 2011-06-29 21:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger freebsd_committer freebsd_triage 2011-06-29 21:40:08 UTC
ffmpeg needs headers from graphics/opencv to build.

===>  Building for ffmpeg-0.7.1_3,1
LD	libavformat/libavformat.so.1
CC	libavfilter/vf_libopencv.o
CC	libswscale/yuv2rgb.o
AR	libavformat/libavformat.a
libavfilter/vf_libopencv.c:28:23: warning: opencv/cv.h: No such file or directory
libavfilter/vf_libopencv.c:29:27: warning: opencv/cxcore.h: No such file or directory

Fix: 

Add:
LIB_DEPENDS+=	libopencv_gpu.2:${PORTSDIR}/graphics/opencv
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-29 21:40:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-29 21:46:44 UTC
mm          2011-06-29 20:46:36 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/ffmpeg    Makefile 
  Added files:
    multimedia/ffmpeg/files patch-libavfilter-vf_libopencv.c 
  Log:
  Add missing OpenCV patch
  
  PR:             ports/158510
  
  Revision  Changes    Path
  1.133     +1 -1      ports/multimedia/ffmpeg/Makefile
  1.1       +12 -0     ports/multimedia/ffmpeg/files/patch-libavfilter-vf_libopencv.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2011-06-29 21:48:09 UTC
I forgot to add the opencv patch, looks like I am doing too much stuff
lately.
Portversion bumped, patch added. It depends only on opencv-core.

-- 
Martin Matuska
FreeBSD committer
http://blog.vx.sk
Comment 4 Martin Matuska freebsd_committer freebsd_triage 2011-06-29 21:54:37 UTC
State Changed
From-To: open->closed

Resolved. Thanks!