diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-25 09:34:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-25 09:34:52 +0000 |
commit | ccc6dd2bde978b609fff968999250b74e7e06cd3 (patch) | |
tree | 4681ec977e78c97dad12db28cb755b27b64a93e8 | |
parent | Mask <media-video/kmplayer-0.11.1a (diff) | |
download | gentoo-2-ccc6dd2bde978b609fff968999250b74e7e06cd3.tar.gz gentoo-2-ccc6dd2bde978b609fff968999250b74e7e06cd3.tar.bz2 gentoo-2-ccc6dd2bde978b609fff968999250b74e7e06cd3.zip |
old
(Portage version: 2.2_rc46/cvs/Linux x86_64)
12 files changed, 0 insertions, 1019 deletions
diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index e083c8ca5c5e..5a0c72ebf9a5 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -1,17 +1,5 @@ -AUX opencv-1.0.0-addoptionalsamples.patch 1070 RMD160 6e2bb79f18bab6cb2beeb2aac5428434e049891c SHA1 1d0e51a26fd4d50d1bff4f2da44beca844946586 SHA256 e25e1236188e943a8e707f852ff25fc97d646f698bf6805e2cd8a2a8628bb540 -AUX opencv-1.0.0-automagicdependencies.patch 19265 RMD160 7d9685568f47b8efd494e1b5a08ea1efe791f9a0 SHA1 e92d613747707f7701bb5ba0b9b484b7315e1748 SHA256 862596926e8cd25ff019a5e232fc03522be0103ff084dbfbd36340bfab99d547 -AUX opencv-1.0.0-cvcapffmpegundefinedsymbols.patch 2762 RMD160 cd6d3624205ecc69e5513d0e7424d85c3ea4d932 SHA1 c31d0fe278e1e7f005c668255214ec204a1d70d8 SHA256 90fc7035d3084f71319eea5a33f8440522e93dd5ec090a89fdd36a4bd84cb8ee -AUX opencv-1.0.0-enableuseflags.patch 5107 RMD160 fb23cfe9ff83be4196f85448d462409e29797bf3 SHA1 9ad3158e2e5b0f84b13269bf9944b3753baab1c9 SHA256 af59706ebe8a4529366cfb335e4d8a2e17f9ab07127455a624df54876130e153 -AUX opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch 3076 RMD160 321211a9bfbe98875ced91c79f1744c7d9dd76d8 SHA1 9672cc37ba5bd6de0fcfc2b24e58d3d9347d1437 SHA256 844fd579d2379dc57b0e9d7ce97a36c6a6efafbae4e146c2a6d44c88b7e76222 -AUX opencv-1.0.0-fix-swig.patch 346 RMD160 fad8dd51c06b4d83573ea1837d94d9ae086b758a SHA1 996e61969f32f66450dd1fe7886b7d79dfb9e660 SHA256 48bf6512b91d634886e64c41b93aae35b85c40e67387cb92b356e153b297e8a8 -AUX opencv-1.0.0-fixpythonmultilib.patch 423 RMD160 a3cdb0c1a25b4f8ab8447ac6e4776ade2daad458 SHA1 f3d43b10b5cdfd77ce50cfea7cf9c1431479c5de SHA256 317750f75417b5e2434c09f8244d347c7340eebe721579c7f39639b526af61fb -AUX opencv-1.0.0-gcc44.patch 380 RMD160 b28e09f2ea758b36b4d958d3d0785569ff738e48 SHA1 cd99d62ce623589c6ca12ca97b4fc0cb305f73a4 SHA256 80301e4854400dfe007432ff8b323222327a26b07dbedf4689c2db9b61bd0a3c -AUX opencv-1.0.0-havepngexrdefs.patch 1869 RMD160 477e487f34c9ebdc8e7666d2d6c7369a44bde7ed SHA1 9c7df4269887a5d5d3e2a4b17840f168098224f2 SHA256 5b077c9958d1699ec8b1d1c952f90d2830d4a4f9b0fe7a01a21747a6280f12d6 -AUX opencv-1.0.0-swiginvalidlinkingoptions.patch 1366 RMD160 7e8c981b2e68fb7d44e40f635ea5c9f0819a313b SHA1 c813390e053a8aced97958303319dd245692ed6a SHA256 7a0754ea8cfb4f1a7efafc3799fed4885a2c0fe7bf31cd3e007e64f7c411956c AUX opencv-2.0.0-multilib.patch 5569 RMD160 f519c1276600d6d22bce7415a0fd1411fc4bd5aa SHA1 1727a3d8d5673d647b128f627e24ec22584fea40 SHA256 594cdaf2b49253b6ab1e1d7c6b55c99e4f0a9924d743e5bf0947846459099777 DIST OpenCV-2.0.0.tar.bz2 12779856 RMD160 f46b993ded3d579dc52175131e5485476ac1f569 SHA1 2090c2aaff77c3b0cc669c2ee81bea389db0a366 SHA256 c17db9974d87290aefc12bf7987a9f417946bc313823985de4df48ae3e1e0022 -DIST opencv-1.0.0.tar.gz 11146334 RMD160 f041798ea63101b90e945957e0d0ad3f7497dcd4 SHA1 c7dd500703b0060cedfa049fcb33de0846e631fb SHA256 3a6ee888e4dd4ab7f2bc80d046688c099c6a95d1267af554b7c8f1543b66f21e -EBUILD opencv-1.0.0-r1.ebuild 2715 RMD160 8881a811e7d31ac46a1c1cc3532c6ef552ab2f66 SHA1 ef296d43b443be885a820538bec8ec1dba3c6457 SHA256 bbdd605f79685ac999da1773917376f3b96effcbfc05a6d37afea32d25d53e16 EBUILD opencv-2.0.0.ebuild 2272 RMD160 b2328f6808aa15fe22794215896d3be7983914c0 SHA1 e1db891631e345723e0c55acb73cad5d37e7cda5 SHA256 ef2d65df39617533794563c39c01529fdfe217e01d2ae8040137102e539fd49e MISC ChangeLog 2962 RMD160 795c4c757f7649ee3a58a2d18db63d9aa1627b2d SHA1 eeb5b94ff058490cc9b7eae93d68d837ce9e22ad SHA256 e65ab3fb5e4123bd9a85131617ad8d82624412f09f257dce6c871993cf018da8 MISC metadata.xml 1043 RMD160 1e9a90346132c2fb356ce9ab85b7ca2c6aa1e75d SHA1 2b2f912eb2a5ae8f1d5d1c05c55baa55d2c7c25b SHA256 836a4c10bdde91a4e46a755c244778582b92e05f3f7e1e16b089687190f719e6 diff --git a/media-libs/opencv/files/opencv-1.0.0-addoptionalsamples.patch b/media-libs/opencv/files/opencv-1.0.0-addoptionalsamples.patch deleted file mode 100644 index 012aa7051797..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-addoptionalsamples.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -aur opencv-1.0.0-orig/samples/c/Makefile.am opencv-1.0.0/samples/c/Makefile.am ---- opencv-1.0.0-orig/samples/c/Makefile.am 2006-10-18 10:27:23.000000000 -0400 -+++ opencv-1.0.0/samples/c/Makefile.am 2008-06-09 11:58:36.000000000 -0400 -@@ -1,3 +1,5 @@ -+if INSTALL_SAMPLES -+ - csamplesdir=$(pkgdatadir)/samples/c - - dist_csamples_DATA = airplane.jpg baboon.jpg lena.jpg fruits.jpg stuff.jpg \ -@@ -10,4 +12,5 @@ - inpaint.cpp laplace.c letter_recog.cpp lkdemo.c minarea.c morphology.c motempl.c \ - mushroom.cpp pyramid_segmentation.c squares.c watershed.cpp - -+endif - -diff -aur opencv-1.0.0-orig/samples/python/Makefile.am opencv-1.0.0/samples/python/Makefile.am ---- opencv-1.0.0-orig/samples/python/Makefile.am 2006-10-04 04:02:12.000000000 -0400 -+++ opencv-1.0.0/samples/python/Makefile.am 2008-06-09 12:00:25.000000000 -0400 -@@ -1,3 +1,5 @@ -+if INSTALL_SAMPLES -+if WITH_PYTHON - csamplesdir=$(pkgdatadir)/samples/python - - dist_csamples_SCRIPTS = \ -@@ -29,3 +31,6 @@ - pyramid_segmentation.py \ - squares.py \ - watershed.py -+ -+endif -+endif diff --git a/media-libs/opencv/files/opencv-1.0.0-automagicdependencies.patch b/media-libs/opencv/files/opencv-1.0.0-automagicdependencies.patch deleted file mode 100644 index 6f9605d66709..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-automagicdependencies.patch +++ /dev/null @@ -1,483 +0,0 @@ ---- opencv-1.0.0-orig/configure.in 2006-11-03 10:54:33.000000000 -0500 -+++ opencv-1.0.0/configure.in 2008-06-12 14:25:31.000000000 -0400 -@@ -20,7 +20,6 @@ - AC_INIT([opencv],[opencv_version],[opencvlibrary-devel@lists.sourceforge.net]) - AC_CONFIG_SRCDIR([opencv.pc.in]) - AC_CONFIG_AUX_DIR([autotools]) --AC_CONFIG_MACRO_DIR([autotools/aclocal]) - - # put CVS revision of this configure.in into the resulting configure script - AC_REVISION($Revision: 1.1 $) -@@ -81,15 +80,22 @@ - AC_ARG_ENABLE([debug], - [AS_HELP_STRING([--enable-debug],[build debug version without optimization])], - [debug=$enableval], -- [debug=no]) -+ [debug="no"]) -+AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = x"yes"]) - - # does the user want to build demo applications? - AC_ARG_ENABLE([apps], - [AS_HELP_STRING([--enable-apps],[build demo applications])], - [enable_apps=$enableval], -- [enable_apps="yes"]) -+ [enable_apps="no"]) - AM_CONDITIONAL([BUILD_APPS], [test x"$enable_apps" = x"yes"]) - -+AC_ARG_ENABLE([samples], -+ [AS_HELP_STRING([--enable-samples],[install sample source code])], -+ [enable_samples=$enableval], -+ [enable_samples="no"]) -+AM_CONDITIONAL([INSTALL_SAMPLES], [test x"$enable_samples" = x"yes"]) -+ - - # the following checks reflect the dependencies of OpenCV on other - # libraries that do the actual work for video I/O or windowing -@@ -101,55 +107,64 @@ - AC_ARG_WITH([swig], - [AS_HELP_STRING([--with-swig],[use swig wrapper generator])], - [with_swig=$withval], -- [with_swig=no]) -+ [with_swig="no"]) -+AM_CONDITIONAL([WITH_SWIG], [test x"$with_swig" = x"yes"]) - - # does the user want to compile python modules as well? - AC_ARG_WITH([python], - [AS_HELP_STRING([--with-python],[use python for wrapping])], - [with_python=$withval], -- [with_python=yes]) -+ [with_python="no"]) -+AM_CONDITIONAL([WITH_PYTHON], [test x"$with_python" = x"yes"]) - - # does the user want OpenCV to use xine video libraries? - AC_ARG_WITH([xine], - [AS_HELP_STRING([--with-xine],[use xine libraries (see LICENSE)])], - [with_xine=$withval], -- [with_xine=no]) -+ [with_xine="no"]) -+AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) - - # does the user want OpenCV to use ffmpeg video libraries? - AC_ARG_WITH([ffmpeg], - [AS_HELP_STRING([--with-ffmpeg],[use ffmpeg libraries (see LICENSE)])], - [with_ffmpeg=$withval], -- [with_ffmpeg=auto]) -+ [with_ffmpeg="no"]) -+AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) - - # does the user want OpenCV to use libraw1394/libdc1394 for video input? - AC_ARG_WITH([1394libs], - [AS_HELP_STRING([--with-1394libs],[use libraw1394/libdc1394])], - [with_1394libs=$withval], -- [with_1394libs=auto]) -+ [with_1394libs="no"]) -+AM_CONDITIONAL([WITH_1394LIBS], [test x"$with_1394libs" = x"yes"]) - - # does the user want OpenCV to use the video4linux kernel module? - AC_ARG_WITH([v4l], - [AS_HELP_STRING([--with-v4l],[use video4linux])], - [with_v4l=$withval], -- [with_v4l=auto]) -+ [with_v4l="no"]) -+AM_CONDITIONAL([WITH_V4L], [test x"$with_v4l" = x"yes"]) - - # does the user want OpenCV to use QuickTime video libraries? - AC_ARG_WITH([quicktime], - [AS_HELP_STRING([--with-quicktime],[use QuickTime libraries])], - [with_quicktime=$withval], -- [with_quicktime=yes]) -+ [with_quicktime="no"]) -+AM_CONDITIONAL([WITH_QUICKTIME], [test x"$with_quicktime" = x"yes"]) - - # does the user want OpenCV to use the Carbon GUI of Mac OS X? - AC_ARG_WITH([carbon], - [AS_HELP_STRING([--with-carbon],[use Carbon windows])], - [with_carbon=$withval], -- [with_carbon=yes]) -+ [with_carbon="no"]) -+AM_CONDITIONAL([WITH_CARBON], [test x"$with_carbon" = x"yes"]) - - # does the user want OpenCV to use GTK+ 2.0 for the GUI? - AC_ARG_WITH([gtk], - [AS_HELP_STRING([--with-gtk],[use gtk+ 2.0 windows])], - [with_gtk=$withval], -- [with_gtk=auto]) -+ [with_gtk="no"]) -+AM_CONDITIONAL([WITH_GTK], [test x"$with_gtk" = x"yes"]) - - - ###################################################################### -@@ -340,7 +355,7 @@ - - # if QuickTime is present, it will override everything else, - # (unless '--without-quicktime' was given) --if test x"$with_quicktime" = "xyes"; then -+if test x"$with_quicktime" = x"yes"; then - - # check other ./configure flags - if test x"$with_ffmpeg" = "xyes"; then -@@ -423,129 +438,62 @@ - AC_SUBST(XINE_LIBS) - AM_CONDITIONAL([BUILD_XINE], [test x"$have_xine" = "xyes"]) - --# unfortunately, xine does not feature video writing, --# so we have to resort to FFMPEG here --if test x"$with_ffmpeg" = "xno"; then -- have_ffmpeg=no -- # FFMPEGLIBS="" --else -- -- # check if ./configure arguments are valid -- if test x"$with_ffmpeg" = "xauto"; then -- with_ffmpeg=yes -- fi -- if test x"$with_ffmpeg" = "xyes"; then -- AC_CHECK_HEADER(ffmpeg/avcodec.h, -- AC_CHECK_LIB(avcodec, avcodec_decode_video, -- [ -- AC_CHECK_LIB(avformat, av_open_input_file, -- [ -- have_ffmpeg=yes -- AC_DEFINE(HAVE_FFMPEG,,[FFMpeg video library]) -- FFMPEGLIBS="-lavcodec -lavformat" -- ], -- [ have_ffmpeg=no ], -- [-lavcodec]) -- ], -- [ have_ffmpeg=no ]), -- [ have_ffmpeg=no ]) -- else -- # if we get here then --with-ffmpeg was not called with 'yes','no' or 'auto' -- AC_MSG_WARN([unexpected arguments for option --with-ffmpeg, continuing assuming 'no']) -- have_ffmpeg=no -- fi -+if test x"$with_ffmpeg" = x"yes"; then -+ AC_CHECK_HEADER(ffmpeg/avcodec.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/avcodec.h not found])]) -+ AC_CHECK_HEADER(ffmpeg/swscale.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/swscale.h not found])]) -+ AC_CHECK_LIB(avcodec, avcodec_decode_video,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) -+ AC_CHECK_LIB(avformat, av_open_input_file,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) -+ AC_CHECK_LIB(swscale, sws_getContext,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) -+ AC_DEFINE(HAVE_FFMPEG,,[FFMpeg video library]) -+ FFMPEGLIBS="-lavcodec -lavformat -lswscale" -+ have_ffmpeg=yes - fi - AC_SUBST(FFMPEGLIBS) - AM_CONDITIONAL([BUILD_FFMPEG], [test x"$have_ffmpeg" = "xyes"]) - - # IEEE1394 / FireWire video video i/o with libdc1394, libraw1394 - # (can be managed by QuickTime as well) --if test x"$with_1394libs" = "xno"; then -+if test x"$with_1394libs" = x"no"; then - have_raw1394=no - have_dc1394=no - # IEEE1394LIBS="" --else -+fi -+if test x"$with_1394libs" = x"yes"; then - -- # check if ./configure arguments are valid -- if test x"$with_1394libs" = "xauto"; then -- with_1394libs=yes -- fi -- if test x"$with_1394libs" = "xyes"; then -- -- SAVELIBS="$LIBS" -- have_raw1394=no -- have_dc1394=no -- -- AC_CHECK_HEADER(libraw1394/raw1394.h, -- AC_CHECK_LIB(raw1394, raw1394_new_handle, -- [ -- have_raw1394=yes -- LIBS="-lm -lraw1394 $LIBS" -- ])) -- -- if test x"$have_raw1394" = "xyes"; then -- AC_CHECK_HEADER(libdc1394/dc1394_control.h, -- AC_CHECK_LIB(dc1394_control, dc1394_camera_on, -- [ -- have_dc1394=yes -- AC_DEFINE(HAVE_DC1394,,[IEEE1394 capturing support]) -- AC_EGREP_HEADER(do_extra_buffering, libdc1394/dc1394_control.h, -- [AC_DEFINE(HAVE_DC1394_095,,[libdc1394 0.9.4 or 0.9.5])]) -- IEEE1394LIBS="-lm -lraw1394 -ldc1394_control" -- ])) -- fi -- -- LIBS="$SAVELIBS" -- else -- # if we get here then --with-1394libs was not called with 'yes','no' or 'auto' -- AC_MSG_WARN([unexpected arguments for option --with-1394libs, continuing assuming 'no']) -- have_dc1394=no -- fi -+ AC_CHECK_HEADER(libraw1394/raw1394.h,, [AC_MSG_ERROR([1394 requested but header file libraw1394/raw1394.h not found])]) -+ AC_CHECK_LIB(raw1394, raw1394_new_handle,, [AC_MSG_ERROR([1394 requested but 1394 libraries not found])]) -+ AC_CHECK_HEADER(libdc1394/dc1394_control.h,, [AC_MSG_ERROR([1394 requested but header file libdc1394/dc1394_control.h not found])]) -+ AC_CHECK_LIB(dc1394_control, dc1394_camera_on,, [AC_MSG_ERROR([1394 requested but 1394 raw libraries not found])]) -+ AC_DEFINE(HAVE_DC1394,, [IEEE1394 capturing support]) -+ have_raw1394=yes -+ have_dc1394=yes -+ LIBS="-lm -lraw1394 $LIBS" -+ IEEE1394LIBS="-lm -lraw1394 -ldc1394_control" -+ SAVELIBS="$LIBS" -+ LIBS="$SAVELIBS" - fi - AC_SUBST(IEEE1394LIBS) --AM_CONDITIONAL([BUILD_DC1394], [test x"$have_dc1394" = "xyes"]) -+AM_CONDITIONAL([BUILD_DC1394], [test x"$have_dc1394" = x"yes"]) - - # Video for Linux (V4L) - # we support version 1 and 2 currently --if test x"$with_v4l" = "xno"; then -- have_v4l=no -- have_v4l2=no -- have_v4l1or2=no --else -- # check if ./configure arguments are valid -- if test x"$with_v4l" = "xauto"; then -- with_v4l=yes -- fi -- if test x"$with_v4l" = "xyes"; then -- AC_CHECK_HEADER([linux/videodev.h], -- [ -- AC_DEFINE(HAVE_CAMV4L,,[V4L capturing support]) -- have_v4l=yes -- have_v4l1or2=yes -- ], -- [ -- have_v4l=no -- have_v4l1or2=no -- ]) -- AC_CHECK_HEADER([linux/videodev2.h], -- [ -- AC_DEFINE(HAVE_CAMV4L2,,[V4L2 capturing support]) -- have_v4l2=yes -- have_v4l1or2=yes -- ], -- [ have_v4l2=no ], -- [[ -- #include <asm/types.h> -- #include <sys/time.h> -- ]]) -- else -- # if we get here then --with-v4l was not called with 'yes','no' or 'auto' -- AC_MSG_WARN([unexpected arguments for option --with-v4l, continuing assuming 'no']) -- have_v4l=no -- have_v4l2=no -- have_v4l1or2=no -- fi -+have_v4l=no -+have_v4l2=no -+have_v4l1or2=no -+if test x"$with_v4l" = x"yes"; then -+ AC_CHECK_HEADER(linux/videodev.h,, [AC_MSG_ERROR([Video4linux requested but header file linux/videodev.h not found])]) -+ AC_DEFINE(HAVE_CAMV4L,,[V4L capturing support]) -+ have_v4l=yes -+fi -+ -+if test x"$with_v4l2" = x"yes"; then -+ AC_CHECK_HEADER(linux/videodev2.h,, [AC_MSG_ERROR([Video4linux2 requested but header file linux/videodev.h not found])]) -+ AC_DEFINE(HAVE_CAMV4L2,, [V4L2 capturing support]) -+ have_v4l2=yes -+fi - -+if test x"$with_v4l" = x"yes" && test x"$with_v4l2" = x"yes"; then -+ have_v4l1or2=yes - fi - AM_CONDITIONAL([BUILD_V4L], [test x"$have_v4l1or2" = "xyes"]) - -@@ -558,78 +506,86 @@ - - AC_SUBST(IMAGELIBS) - --have_jpeg=no --AC_CHECK_HEADER(jpeglib.h, -- AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, -- [ -- have_jpeg=yes -- AC_DEFINE(HAVE_JPEG,,[IJG JPEG codec]) -- IMAGELIBS="$IMAGELIBS -ljpeg" -- ])) -- --have_zlib=no --AC_CHECK_HEADER(zlib.h, -- AC_CHECK_LIB(z, gzopen, -- [ -- have_zlib=yes -- AC_DEFINE(HAVE_ZLIB,,[LZ77 compression/decompression library (used for PNG)]) -- IMAGELIBS="$IMAGELIBS -lz -lm" -- LIBS="$LIBS -lz -lm" -- ])) -- --have_png=no --AC_CHECK_HEADER(png.h, -- [ -- AC_DEFINE(HAVE_PNG_H,,[png.h needs to be included]) -- have_png=yes -- ]) --AC_CHECK_HEADER([libpng/png.h], -- [ -- AC_DEFINE(HAVE_LIBPNG_PNG_H,,[libpng/png.h needs to be included]) -- have_png=yes -- ]) --if test x"$have_png" = "xyes"; then -- AC_CHECK_LIB(png12, png_read_image, -- [ -- have_png=yes -- AC_DEFINE(HAVE_PNG,,[PNG codec]) -- IMAGELIBS="-lpng12 $IMAGELIBS" -- LIBS="-lpng12 $LIBS" -- AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha) -- ], -- [ have_png=no ]) --fi -- --have_tiff=no --AC_CHECK_HEADER(tiff.h, -- AC_CHECK_LIB(tiff, TIFFReadRGBAStrip, -- [ -- have_tiff=yes -- AC_DEFINE(HAVE_TIFF,,[TIFF codec]) -- IMAGELIBS="$IMAGELIBS -ltiff" -- LIBS="$LIBS -ltiff" -- ])) -- --have_jasper=no --AC_CHECK_HEADER(jasper/jasper.h, -- AC_CHECK_LIB(jasper, jas_image_readcmpt, -- [ -- have_jasper=yes -- AC_DEFINE(HAVE_JASPER,,[JPEG-2000 codec]) -- IMAGELIBS="$IMAGELIBS -ljasper" -- LIBS="$LIBS -ljasper" -- ])) -- --have_ilmimf=no --AC_CHECK_HEADER(ImfCRgbaFile.h, -- AC_CHECK_LIB(IlmImf, ImfInputReadPixels, -- [ -- have_ilmimf=yes -- AC_DEFINE(HAVE_ILMIMF,,[OpenEXR codec]) -- IMAGELIBS="$IMAGELIBS -lIlmImf -lIex -lHalf" -- LIBS="$LIBS -lIlmImf -lIex -lHalf" -- ],, -- [ -lIex -lHalf ])) -+AC_ARG_ENABLE(jpeg, -+ [AS_HELP_STRING([--enable-jpeg], [Enable JPEG Image I/O])], -+ [enable_jpeg=$enableval], -+ [enable_jpeg=no]) -+ -+if test x"$enable_jpeg" = x"yes"; then -+ AC_CHECK_HEADER(jpeglib.h,, [AC_MSG_ERROR([Jpeg library requested but header jpeglib.h not found])]) -+ AC_CHECK_LIB(jpeg, jpeg_destroy_compress,, [AC_MSG_ERROR([Jpeg library requested but libraries not found])]) -+ IMAGELIBS="$IMAGELIBS -ljpeg" -+ AC_DEFINE(HAVE_JPEG,,[IJG JPEG codec]) -+fi -+ -+AC_ARG_ENABLE(zlib, -+ [AS_HELP_STRING([--enable-zlib], [Enable Zlib compression])], -+ [enable_zlib=$enableval], -+ [enable_zlib=no]) -+ -+if test x"$enable_zlib" = x"yes"; then -+ AC_CHECK_HEADER(zlib.h,, [AC_MSG_ERROR([Zlib library requested but header zlib.h not found])]) -+ AC_CHECK_LIB(z,gzopen,, [AC_MSG_ERROR([Zlib library requested but libraries not found])]) -+ AC_DEFINE(HAVE_ZLIB,,[lZ77 compression/decompression library (used for PNG)]) -+ IMAGELIBS="$IMAGELIBS -lz -lm" -+ LIBS="$LIBS -lz -lm" -+fi -+ -+AC_ARG_ENABLE(png, -+ [AS_HELP_STRING([--enable-png], [Enable PNG Image I/O])], -+ [enable_png=$enableval], -+ [enable_png=no]) -+ -+if test x"$enable_png" = x"yes"; then -+ AC_CHECK_HEADER(png.h,, [AC_MSG_ERROR([PNG requested but headers not found])]) -+ AC_CHECK_LIB(png12, png_read_image,, [AC_MSG_ERROR([PNG requested but libraries not found])]) -+ AC_DEFINE(HAVE_PNG,, [PNG codec]) -+ AC_DEFINE(HAVE_PNG_H,, [PNG header]) -+ IMAGELIBS="`libpng-config --ldflags` $IMAGELIBS" -+ LIBS="`libpng-config --ldflags` $IMAGELIBS" -+ AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha) -+fi -+AM_CONDITIONAL([HAVE_PNG], [test x"$enable_png" = x"yes"]) -+ -+AC_ARG_ENABLE(tiff, -+ [AS_HELP_STRING([--enable-tiff], [Enable TIFF Image I/O])], -+ [enable_tiff=$enableval], -+ [enable_tiff=no]) -+ -+if test x"$enable_tiff" = x"yes"; then -+ AC_CHECK_HEADER(tiff.h,, [AC_MSG_ERROR([Tiff requested but header file not found])]) -+ AC_CHECK_LIB(tiff, TIFFReadRGBAStrip,, [AC_MSG_ERROR([Tiff requested but libraries not found])]) -+ AC_DEFINE(HAVE_TIFF,,[TIFF codec]) -+ IMAGELIBS="$IMAGELIBS -ltiff" -+ LIBS="$LIBS -ltiff" -+fi -+ -+AC_ARG_ENABLE(jasper, -+ [AS_HELP_STRING([--enable-jasper], [Enable Jasper])], -+ [enable_jasper=$enableval], -+ [enable_jasper=no]) -+ -+if test x"$enable_jasper" = x"yes"; then -+ AC_CHECK_HEADER(jasper/jasper.h,, [AC_MSG_ERROR([Jasper requested but header filejasper/jasper.h not found])]) -+ AC_CHECK_LIB(jasper, jas_image_readcmpt,, [AC_MSG_ERROR([Jasper requested but libraries not found])]) -+ AC_DEFINE(HAVE_JASPER,, [JPEG-2000 codec]) -+ IMAGELIBS="$IMAGELIBS -ljasper" -+ LIBS="$LIBS -ljasper" -+fi -+ -+ -+AC_ARG_ENABLE(openexr, -+ [AS_HELP_STRING([--enable-openexr], [Enable Openexr support])], -+ [enable_openexr=$enableval], -+ [enable_openexr=no]) -+ -+if test x"$enable_openexr" = x"yes"; then -+ AC_CHECK_HEADER(OpenEXR/ImfCRgbaFile.h,, [AC_MSG_ERROR([Openexr requested but header file ImfCrgbaFile.h not found])]) -+ AC_CHECK_LIB(IlmImf, ImfInputReadPixels,, [AC_MSG_ERROR([Openexr requested but libraries not found])]) -+ AC_DEFINE(HAVE_ILMIMF,, [OpenExr codec]) -+ IMAGELIBS="$IMAGELIBS -lIlmImf -lIex -lHalf" -+ LIBS="$LIBS -lIlmImf -lIex -lHalf" -+fi - - # Restore original LIBS settings... - LIBS="$SAVELIBS" -@@ -690,7 +646,7 @@ - AM_CONDITIONAL([BUILD_PYTHON_WRAPPERS], [test x"$have_python" = "xyes"]) - - # check for swig itself --SWIG="" -+SWIG="no" - if test x"$with_swig" = "xyes"; then - AC_MSG_NOTICE([Checking for SWIG]) - -@@ -807,12 +763,12 @@ - Use gthread: ${have_gthread} - - Image I/O --------------------- -- Use libjpeg: ${have_jpeg} -- Use zlib: ${have_zlib} -- Use libpng: ${have_png} -- Use libtiff: ${have_tiff} -- Use libjasper: ${have_jasper} -- Use libIlmImf: ${have_ilmimf} -+ Use libjpeg: ${enable_jpeg} -+ Use zlib: ${enable_zlib} -+ Use libpng: ${enable_png} -+ Use libtiff: ${enable_tiff} -+ Use libjasper: ${enable_jasper} -+ Use libIlmImf: ${enable_openexr} - - Video I/O --------------------- - Use QuickTime / Mac OS X: ${have_quicktime} -@@ -828,6 +784,7 @@ - - Additional build settings ============================================ - Build demo apps ${enable_apps} -+ Install source snippets ${enable_samples} - - Now run make ... - ]) diff --git a/media-libs/opencv/files/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch b/media-libs/opencv/files/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch deleted file mode 100644 index 4f5cbf66586f..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- otherlibs/highgui/cvcap_ffmpeg.cpp 2006-07-24 18:27:39.000000000 -0400 -+++ otherlibs/highgui/cvcap_ffmpeg.cpp 2008-06-12 12:25:42.000000000 -0400 -@@ -41,9 +41,14 @@ - - #include "_highgui.h" - -+#define __STDC_CONSTANT_MACROS - - extern "C" { - #include <ffmpeg/avformat.h> -+#include <ffmpeg/avcodec.h> -+#include <ffmpeg/swscale.h> -+#include <sys/types.h> /* size_t */ -+#include <sys/errno.h> - } - - #ifdef NDEBUG -@@ -52,6 +57,8 @@ - #define CV_WARN(message) fprintf(stderr, "warning: %s (%s:%d)\n", message, __FILE__, __LINE__) - #endif - -+static struct SwsContext *img_convert_ctx; -+ - typedef struct CvCaptureAVI_FFMPEG - { - CvCaptureVTable * vtable; -@@ -214,19 +221,21 @@ - { - if( !capture || !capture->video_st || !capture->picture->data[0] ) - return 0; --#if LIBAVFORMAT_BUILD > 4628 -- img_convert( (AVPicture*)&capture->rgb_picture, PIX_FMT_BGR24, -- (AVPicture*)capture->picture, -- capture->video_st->codec->pix_fmt, -- capture->video_st->codec->width, -- capture->video_st->codec->height ); --#else -- img_convert( (AVPicture*)&capture->rgb_picture, PIX_FMT_BGR24, -- (AVPicture*)capture->picture, -- capture->video_st->codec.pix_fmt, -- capture->video_st->codec.width, -- capture->video_st->codec.height ); --#endif -+ -+ img_convert_ctx = sws_getContext(capture->video_st->codec->width, -+ capture->video_st->codec->height, -+ capture->video_st->codec->pix_fmt, -+ capture->video_st->codec->width, -+ capture->video_st->codec->height, -+ PIX_FMT_BGR24, -+ SWS_BICUBIC, -+ NULL, NULL, NULL); -+ -+ sws_scale(img_convert_ctx, capture->picture->data, -+ capture->picture->linesize, 0, -+ capture->video_st->codec->height, -+ capture->rgb_picture.data, capture->rgb_picture.linesize); -+ - return &capture->frame; - } - -@@ -713,9 +722,20 @@ - PIX_FMT_BGR24, image->width, image->height); - - // convert to the color format needed by the codec -- if( img_convert((AVPicture *)mywriter->picture, c->pix_fmt, -- (AVPicture *)mywriter->rgb_picture, PIX_FMT_BGR24, -- image->width, image->height) < 0){ -+ img_convert_ctx = sws_getContext(image->width, -+ image->height, -+ PIX_FMT_BGR24, -+ c->width, -+ c->height, -+ c->pix_fmt, -+ SWS_BICUBIC, -+ NULL, NULL, NULL); -+ -+ if ( sws_scale(img_convert_ctx, mywriter->rgb_picture->data, -+ mywriter->rgb_picture->linesize, 0, -+ image->height, -+ mywriter->picture->data, mywriter->picture->linesize) < 0 ) -+ { - CV_ERROR(CV_StsUnsupportedFormat, "FFMPEG::img_convert pixel format conversion from BGR24 not handled"); - } - } diff --git a/media-libs/opencv/files/opencv-1.0.0-enableuseflags.patch b/media-libs/opencv/files/opencv-1.0.0-enableuseflags.patch deleted file mode 100644 index 046e6320e884..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-enableuseflags.patch +++ /dev/null @@ -1,137 +0,0 @@ ---- ../configure.in 2006-11-26 19:03:36.000000000 +0100 -+++ configure.in 2006-11-26 19:13:23.000000000 +0100 -@@ -81,13 +81,14 @@ - AC_ARG_ENABLE([debug], - [AS_HELP_STRING([--enable-debug],[build debug version without optimization])], - [debug=$enableval], -- [debug=no]) -+ [debug="no"]) -+AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = x"yes"]) - - # does the user want to build demo applications? - AC_ARG_ENABLE([apps], - [AS_HELP_STRING([--enable-apps],[build demo applications])], - [enable_apps=$enableval], -- [enable_apps="yes"]) -+ [enable_apps="no"]) - AM_CONDITIONAL([BUILD_APPS], [test x"$enable_apps" = x"yes"]) - - -@@ -101,55 +102,64 @@ - AC_ARG_WITH([swig], - [AS_HELP_STRING([--with-swig],[use swig wrapper generator])], - [with_swig=$withval], -- [with_swig=no]) -+ [with_swig="no"]) -+AM_CONDITIONAL([WITH_SWIG], [test x"$with_swig" = x"yes"]) - - # does the user want to compile python modules as well? - AC_ARG_WITH([python], - [AS_HELP_STRING([--with-python],[use python for wrapping])], - [with_python=$withval], -- [with_python=yes]) -+ [with_python="no"]) -+AM_CONDITIONAL([WITH_PYTHON], [test x"$with_python" = x"yes"]) - - # does the user want OpenCV to use xine video libraries? - AC_ARG_WITH([xine], - [AS_HELP_STRING([--with-xine],[use xine libraries (see LICENSE)])], - [with_xine=$withval], -- [with_xine=no]) -+ [with_xine=i"no"]) -+AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) - - # does the user want OpenCV to use ffmpeg video libraries? - AC_ARG_WITH([ffmpeg], - [AS_HELP_STRING([--with-ffmpeg],[use ffmpeg libraries (see LICENSE)])], - [with_ffmpeg=$withval], - [with_ffmpeg=auto]) -+AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) - - # does the user want OpenCV to use libraw1394/libdc1394 for video input? - AC_ARG_WITH([1394libs], - [AS_HELP_STRING([--with-1394libs],[use libraw1394/libdc1394])], - [with_1394libs=$withval], -- [with_1394libs=auto]) -+ [with_1394libs="no"]) -+AM_CONDITIONAL([WITH_1394LIBS], [test x"$with_1394libs" = x"yes"]) - - # does the user want OpenCV to use the video4linux kernel module? - AC_ARG_WITH([v4l], - [AS_HELP_STRING([--with-v4l],[use video4linux])], - [with_v4l=$withval], -- [with_v4l=auto]) -+ [with_v4l="no"]) -+AM_CONDITIONAL([WITH_V4L], [test x"$with_v4l" = x"yes"]) - - # does the user want OpenCV to use QuickTime video libraries? - AC_ARG_WITH([quicktime], - [AS_HELP_STRING([--with-quicktime],[use QuickTime libraries])], - [with_quicktime=$withval], -- [with_quicktime=yes]) -+ [with_quicktime="no"]) -+AM_CONDITIONAL([WITH_QUICKTIME], [test x"$with_quicktime" = x"yes"]) - - # does the user want OpenCV to use the Carbon GUI of Mac OS X? - AC_ARG_WITH([carbon], - [AS_HELP_STRING([--with-carbon],[use Carbon windows])], - [with_carbon=$withval], -- [with_carbon=yes]) -+ [with_carbon="no"]) -+AM_CONDITIONAL([WITH_CARBON], [test x"$with_carbon" = x"yes"]) - - # does the user want OpenCV to use GTK+ 2.0 for the GUI? - AC_ARG_WITH([gtk], - [AS_HELP_STRING([--with-gtk],[use gtk+ 2.0 windows])], - [with_gtk=$withval], -- [with_gtk=auto]) -+ [with_gtk="no"]) -+AM_CONDITIONAL([WITH_GTK], [test x"$with_gtk" = x"yes"]) - - - ###################################################################### -@@ -187,7 +197,7 @@ - AC_MSG_RESULT([yes]) - if test x"$ac_cv_c_compiler_gnu" = "xyes"; then - CPPFLAGS="-DDEBUG -D_DEBUG $CPPFLAGS" -- CXXFLAGS="-ggdb -O0 $CXXFLAGS" -+ CXXFLAGS="-ggdb -O0 -g $CXXFLAGS" - fi - else - AC_MSG_RESULT([no]) -@@ -202,7 +212,7 @@ - i686-*-*) - if test x"$ac_cv_c_compiler_gnu" = "xyes"; then - # default to i686/pentiumpro -- people can override this -- CXXFLAGS="-g -march=i686 -ffast-math -fomit-frame-pointer $CXXFLAGS" -+ CXXFLAGS="-march=i686 -ffast-math -fomit-frame-pointer $CXXFLAGS" - fi - ;; - powerpc-*-*) -@@ -340,7 +350,7 @@ - - # if QuickTime is present, it will override everything else, - # (unless '--without-quicktime' was given) --if test x"$with_quicktime" = "xyes"; then -+if test x"$with_quicktime" = x"yes"; then - - # check other ./configure flags - if test x"$with_ffmpeg" = "xyes"; then -@@ -690,7 +700,7 @@ - AM_CONDITIONAL([BUILD_PYTHON_WRAPPERS], [test x"$have_python" = "xyes"]) - - # check for swig itself --SWIG="" -+SWIG="no" - if test x"$with_swig" = "xyes"; then - AC_MSG_NOTICE([Checking for SWIG]) - -@@ -821,6 +831,7 @@ - Use dc1394 & raw1394: ${have_dc1394} - Use v4l: ${have_v4l} - Use v4l2: ${have_v4l2} -+ Use gtk: ${have_gtk} - - Wrappers for other languages ========================================= - SWIG ${SWIG} - diff --git a/media-libs/opencv/files/opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch b/media-libs/opencv/files/opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch deleted file mode 100644 index 25882614de79..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- opencv-1.0.0/configure.in.orig 2008-06-28 09:58:49.000000000 +0300 -+++ opencv-1.0.0/configure.in 2008-06-28 10:10:23.000000000 +0300 -@@ -439,8 +439,8 @@ - AM_CONDITIONAL([BUILD_XINE], [test x"$have_xine" = "xyes"]) - - if test x"$with_ffmpeg" = x"yes"; then -- AC_CHECK_HEADER(ffmpeg/avcodec.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/avcodec.h not found])]) -- AC_CHECK_HEADER(ffmpeg/swscale.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/swscale.h not found])]) -+ AC_CHECK_HEADER(libavcodec/avcodec.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/avcodec.h not found])]) -+ AC_CHECK_HEADER(libswscale/swscale.h,, [AC_MSG_ERROR([FFmpeg requested but header file ffmpeg/swscale.h not found])]) - AC_CHECK_LIB(avcodec, avcodec_decode_video,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) - AC_CHECK_LIB(avformat, av_open_input_file,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) - AC_CHECK_LIB(swscale, sws_getContext,, [AC_MSG_ERROR([FFmpeg requested but ffmpeg libraries not found])]) ---- opencv-1.0.0/otherlibs/highgui/cvcap_ffmpeg.cpp.orig 2008-06-28 09:58:50.000000000 +0300 -+++ opencv-1.0.0/otherlibs/highgui/cvcap_ffmpeg.cpp 2008-06-28 10:11:16.000000000 +0300 -@@ -44,9 +44,9 @@ - #define __STDC_CONSTANT_MACROS - - extern "C" { --#include <ffmpeg/avformat.h> --#include <ffmpeg/avcodec.h> --#include <ffmpeg/swscale.h> -+#include <libavformat/avformat.h> -+#include <libavcodec/avcodec.h> -+#include <libswscale/swscale.h> - #include <sys/types.h> /* size_t */ - #include <sys/errno.h> - } ---- opencv-1.0.0/otherlibs/highgui/cvcap_ffmpeg.cpp.orig 2008-06-28 10:14:35.000000000 +0300 -+++ opencv-1.0.0/otherlibs/highgui/cvcap_ffmpeg.cpp 2008-06-28 10:24:45.000000000 +0300 -@@ -105,7 +105,8 @@ - - static int icvOpenAVI_FFMPEG( CvCaptureAVI_FFMPEG* capture, const char* filename ) - { -- int err, valid = 0, video_index = -1, i; -+ unsigned int i; -+ int err, valid = 0, video_index = -1; - AVFormatContext *ic; - - capture->ic = NULL; -@@ -753,7 +754,7 @@ - /// close video output stream and free associated memory - CV_IMPL void cvReleaseVideoWriter( CvVideoWriter ** writer ) - { -- int i; -+ unsigned int i; - - // nothing to do if already released - if ( !(*writer) ) -@@ -801,7 +802,7 @@ - - if (!(mywriter->fmt->flags & AVFMT_NOFILE)) { - /* close the output file */ -- url_fclose(&mywriter->oc->pb); -+ url_fclose(mywriter->oc->pb); - } - - /* free the stream */ ---- opencv-1.0.0/otherlibs/highgui/cvcap_xine.cpp.orig 2006-05-04 18:55:20.000000000 +0300 -+++ opencv-1.0.0/otherlibs/highgui/cvcap_xine.cpp 2008-06-28 10:19:47.000000000 +0300 -@@ -598,7 +598,7 @@ - // TODO: FIX IT, DOESN'T WORK PROPERLY, YET...! - int pos_t, pos_l, length; - xine_get_pos_length( capture->stream, &pos_l, &pos_t, &length ); -- fprintf( stderr, "ratio on GetProperty(): %n\n", pos_l ); -+ fprintf( stderr, "ratio on GetProperty(): %d\n", pos_l ); - - /// use xinelib's seek functionality - if ( xine_play( capture->stream, (int)(ratio*(float)length), 0 ) ) diff --git a/media-libs/opencv/files/opencv-1.0.0-fix-swig.patch b/media-libs/opencv/files/opencv-1.0.0-fix-swig.patch deleted file mode 100644 index 205edf3439b6..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-fix-swig.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- interfaces/swig/python/pyhelpers.i.orig 2009-02-11 22:24:10.000000000 +0000 -+++ interfaces/swig/python/pyhelpers.i 2009-02-11 22:22:15.000000000 +0000 -@@ -1,4 +1,6 @@ - /* These functions need the SWIG_* functions defined in the wrapper */ -+%include "pyname_compat.i" -+ - %{ - - static CvArr * PyObject_to_CvArr(PyObject * obj, bool * freearg); diff --git a/media-libs/opencv/files/opencv-1.0.0-fixpythonmultilib.patch b/media-libs/opencv/files/opencv-1.0.0-fixpythonmultilib.patch deleted file mode 100644 index 6dfa67e120de..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-fixpythonmultilib.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- opencv-1.0.0-orig/interfaces/swig/python/Makefile.am 2006-08-10 09:29:20.000000000 -0400 -+++ opencv-1.0.0/interfaces/swig/python/Makefile.am 2008-06-07 07:43:34.000000000 -0400 -@@ -92,9 +92,9 @@ - - if BUILD_PYTHON_WRAPPERS - --pkgpython_LTLIBRARIES = _cv.la _highgui.la -+pkgpyexec_LTLIBRARIES = _cv.la _highgui.la - --pkgpython_PYTHON = \ -+pkgpyexec_PYTHON = \ - __init__.py \ - cv.py \ - adaptors.py \ diff --git a/media-libs/opencv/files/opencv-1.0.0-gcc44.patch b/media-libs/opencv/files/opencv-1.0.0-gcc44.patch deleted file mode 100644 index be7e67916b65..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-gcc44.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur opencv-1.0.0.orig/cxcore/include/cxmisc.h opencv-1.0.0/cxcore/include/cxmisc.h ---- opencv-1.0.0.orig/cxcore/include/cxmisc.h 2006-05-04 18:55:17.000000000 +0300 -+++ opencv-1.0.0/cxcore/include/cxmisc.h 2009-07-25 23:13:51.000000000 +0300 -@@ -130,7 +130,7 @@ - #include <alloca.h> - #elif defined HAVE_ALLOCA - #include <stdlib.h> --#elif -+#else - #error - #endif - diff --git a/media-libs/opencv/files/opencv-1.0.0-havepngexrdefs.patch b/media-libs/opencv/files/opencv-1.0.0-havepngexrdefs.patch deleted file mode 100644 index f2e19b64440f..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-havepngexrdefs.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -aur opencv-1.0.0-orig/otherlibs/highgui/Makefile.am opencv-1.0.0/otherlibs/highgui/Makefile.am ---- opencv-1.0.0-orig/otherlibs/highgui/Makefile.am 2006-10-31 10:49:51.000000000 -0500 -+++ opencv-1.0.0/otherlibs/highgui/Makefile.am 2008-06-07 10:15:18.000000000 -0400 -@@ -4,8 +4,8 @@ - cvcap_v4l.cpp cvcap_xine.cpp \ - window_carbon.cpp window_gtk.cpp window_w32.cpp - --INCLUDES = -I. -I$(top_srcdir)/cxcore/include \ -- -I$(top_srcdir)/cv/include @GTHREAD_CFLAGS@ @GTK_CFLAGS@ \ -+INCLUDES = -I. -I$(top_srcdir)/cxcore/include -I$(top_srcdir) \ -+ -I$(top_srcdir)/cv/include -I/usr/include/OpenEXR @GTHREAD_CFLAGS@ @GTK_CFLAGS@ \ - @QUICKTIME_CFLAGS@ @CARBON_CFLAGS@ - - noinst_HEADERS = \ -diff -aur opencv-1.0.0-orig/otherlibs/highgui/grfmt_exr.cpp opencv-1.0.0/otherlibs/highgui/grfmt_exr.cpp ---- opencv-1.0.0-orig/otherlibs/highgui/grfmt_exr.cpp 2006-10-17 07:58:55.000000000 -0400 -+++ opencv-1.0.0/otherlibs/highgui/grfmt_exr.cpp 2008-06-07 10:12:42.000000000 -0400 -@@ -40,6 +40,7 @@ - //M*/ - - #include "_highgui.h" -+#include "cvconfig.h" - - #ifdef HAVE_ILMIMF - -diff -aur opencv-1.0.0-orig/otherlibs/highgui/grfmt_png.cpp opencv-1.0.0/otherlibs/highgui/grfmt_png.cpp ---- opencv-1.0.0-orig/otherlibs/highgui/grfmt_png.cpp 2006-10-11 12:51:43.000000000 -0400 -+++ opencv-1.0.0/otherlibs/highgui/grfmt_png.cpp 2008-06-07 09:56:54.000000000 -0400 -@@ -40,6 +40,7 @@ - //M*/ - - #include "_highgui.h" -+#include "cvconfig.h" - - #ifdef HAVE_PNG - -@@ -50,10 +51,10 @@ - and png2bmp sample from libpng distribution (Copyright (C) 1999-2001 MIYASAKA Masaru) - \****************************************************************************************/ - --#if defined WIN32 || defined HAVE_PNG_H -+#ifdef HAVE_PNG_H - #include <png.h> - #else --#include <libpng/png.h> -+#include <libpng12/png.h> - #endif - #include "grfmt_png.h" - diff --git a/media-libs/opencv/files/opencv-1.0.0-swiginvalidlinkingoptions.patch b/media-libs/opencv/files/opencv-1.0.0-swiginvalidlinkingoptions.patch deleted file mode 100644 index 02e100a4a0fa..000000000000 --- a/media-libs/opencv/files/opencv-1.0.0-swiginvalidlinkingoptions.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- opencv-1.0.0-orig/autotools/aclocal/swig_complete.m4 2006-07-18 07:45:24.000000000 +0000 -+++ opencv-1.0.0/autotools/aclocal/swig_complete.m4 2008-09-13 17:57:48.000000000 +0000 -@@ -163,7 +163,7 @@ - if test x"$ac_version_at_least" = "xyes"; then - SWIG_PYTHON_LIBS="" - else -- SWIG_PYTHON_LIBS="$SWIG_RUNTIME_LIBS_DIR -lswigpy" -+ SWIG_PYTHON_LIBS="-L$SWIG_RUNTIME_LIBS_DIR -lswigpy" - fi - else - AC_MSG_ERROR([SWIG version number unknown - cannot set python libs]) ---- opencv-1.0.0-orig/interfaces/swig/python/Makefile.am 2006-08-10 13:29:20.000000000 +0000 -+++ opencv-1.0.0/interfaces/swig/python/Makefile.am 2008-09-13 17:59:46.000000000 +0000 -@@ -107,13 +107,13 @@ - _cv_la_CXXFLAGS = $(PYTHON_CSPEC) - _cv_la_LIBADD = $(top_builddir)/cv/src/libcv.la - _cv_la_LDFLAGS = -module -avoid-version -no-undefined $(PYTHON_LSPEC) \ -- -L$(SWIG_PYTHON_LIBS) -+ $(SWIG_PYTHON_LIBS) - - _highgui_la_SOURCES = _highgui.cpp pyhelpers.cpp pyhelpers.h \ - highgui.i - _highgui_la_CXXFLAGS = $(PYTHON_CSPEC) - _highgui_la_LIBADD = $(top_builddir)/otherlibs/highgui/libhighgui.la - _highgui_la_LDFLAGS = -module -avoid-version -no-undefined $(PYTHON_LSPEC) \ -- -L$(SWIG_PYTHON_LIBS) -+ $(SWIG_PYTHON_LIBS) - - endif diff --git a/media-libs/opencv/opencv-1.0.0-r1.ebuild b/media-libs/opencv/opencv-1.0.0-r1.ebuild deleted file mode 100644 index 903601809dd5..000000000000 --- a/media-libs/opencv/opencv-1.0.0-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-1.0.0-r1.ebuild,v 1.8 2009/07/25 20:16:33 ssuominen Exp $ - -EAPI="1" -inherit eutils flag-o-matic autotools - -DESCRIPTION="A collection of algorithms and sample code for various computer vision problems." -HOMEPAGE="http://opencv.willowgarage.com/wiki/" -SRC_URI="mirror://sourceforge/${PN}library/${P}.tar.gz" - -##If video for linux is enabled, add GPL-2, since it will need to use GPL-2 -##stuff, same for v4l -LICENSE="v4l? ( GPL-2 ) xine? ( GPL-2 ) Intel" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug demos examples ffmpeg gtk ieee1394 jpeg jpeg2k openexr png python tiff xine v4l zlib" - -COMMON_DEPEND="ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 ) - gtk? ( x11-libs/gtk+:2 ) - ieee1394? ( >=sys-libs/libraw1394-1.2.0 media-libs/libdc1394:1 ) - jpeg? ( media-libs/jpeg ) - jpeg2k? ( media-libs/jasper ) - openexr? ( media-libs/openexr ) - png? ( media-libs/libpng:1.2 ) - python? ( >=dev-lang/python-2.3 >=dev-lang/swig-1.3.38 ) - tiff? ( media-libs/tiff ) - xine? ( media-libs/xine-lib ) - zlib? ( sys-libs/zlib )" - -DEPEND="${COMMON_DEPEND} - gtk? ( dev-util/pkgconfig )" -RDEPEND="${COMMON_DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc44.patch - - # remove the install-hook that runs ldconfig. - sed -i '/install-hook:/,/^$/d' Makefile.am - - epatch "${FILESDIR}"/${P}-fixpythonmultilib.patch - epatch "${FILESDIR}"/${P}-automagicdependencies.patch - epatch "${FILESDIR}"/${P}-havepngexrdefs.patch - epatch "${FILESDIR}"/${P}-addoptionalsamples.patch - epatch "${FILESDIR}"/${P}-cvcapffmpegundefinedsymbols.patch - epatch "${FILESDIR}"/${P}-ffmpeg-0.4.9_p20080326.patch - epatch "${FILESDIR}"/${P}-swiginvalidlinkingoptions.patch - epatch "${FILESDIR}"/${P}-fix-swig.patch - eautoreconf || die "eautoreconf failed" -} - -src_compile() { - use debug && filter-ldflags -O1 -Wl --enable-new-dtags -s - - local myconf="--without-quicktime" - use python && myconf="${myconf} --with-swig --with-python" - - econf \ - ${myconf} \ - $(use_with gtk) \ - $(use_with xine) \ - $(use_with ffmpeg) \ - $(use_with ieee1394 1394libs) \ - $(use_with v4l) \ - $(use_with v4l v4l2) \ - $(use_enable examples samples) \ - $(use_enable debug) \ - $(use_enable demos apps) \ - $(use_enable zlib) \ - $(use_enable jpeg) \ - $(use_enable png) \ - $(use_enable openexr) \ - $(use_enable tiff) \ - $(use_enable jpeg2k jasper) - emake || die "Emake failed" -} - -src_test() { - emake check || die "Tests failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - dodoc AUTHORS ChangeLog README NEWS TODO - insinto /usr/share/doc/${P} - doins -r docs/ -} |