summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-06-21 01:35:39 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-06-21 01:35:39 +0000
commit71e512b8a8fc2001e199a11f62e321b2ad8b6089 (patch)
tree08cd61a3950c133fc0db1dc21ec3eb07c6000e41 /multimedia
parentupdate to version 1.15 (diff)
[patch] multimedia/mjpegtools - update to 1.9rc1
The current mjpegtools (mpeg2enc for example) is dumping core way too often to be able to do useful media conversions. This version has been running on my system for two weeks now and it works much better. portrevision bump for multimedia/lives multimedia/mjpegtools-yuvfilters multimedia/y4mscaler since they have LIB_DEPENDS on this port. Other ports having RUN_DEPENDS on this port are not bumped. PR: ports/113878 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: Michael Johnson <ahze@ahze.net>
Notes
Notes: svn path=/head/; revision=193983
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/lives/Makefile4
-rw-r--r--multimedia/mjpegtools-yuvfilters/Makefile4
-rw-r--r--multimedia/mjpegtools/Makefile3
-rw-r--r--multimedia/mjpegtools/distinfo6
-rw-r--r--multimedia/mjpegtools/files/patch-gcc4111
-rw-r--r--multimedia/mjpegtools/files/patch-lavtools_lav_io.c18
-rw-r--r--multimedia/mjpegtools/files/patch-mplex_main.cpp50
-rw-r--r--multimedia/mjpegtools/pkg-plist29
-rw-r--r--multimedia/y4mscaler/Makefile4
9 files changed, 54 insertions, 75 deletions
diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile
index 52287734e4f4..5e3043426f3b 100644
--- a/multimedia/lives/Makefile
+++ b/multimedia/lives/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lives
DISTVERSION= 0.9.8.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.xs4all.nl/%7Esalsaman/lives/current/ CENKES
DISTNAME= LiVES-${DISTVERSION}
@@ -25,7 +25,7 @@ LIB_DEPENDS= Magick.10:${PORTSDIR}/graphics/ImageMagick \
dv.4:${PORTSDIR}/multimedia/libdv \
matroska.0:${PORTSDIR}/multimedia/libmatroska \
oil-0.3.1:${PORTSDIR}/devel/liboil \
- mjpegutils-1.8.0:${PORTSDIR}/multimedia/mjpegtools \
+ mjpegutils-1.9.1:${PORTSDIR}/multimedia/mjpegtools \
x264.50:${PORTSDIR}/multimedia/x264
BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
diff --git a/multimedia/mjpegtools-yuvfilters/Makefile b/multimedia/mjpegtools-yuvfilters/Makefile
index d850977e1b85..929b941690de 100644
--- a/multimedia/mjpegtools-yuvfilters/Makefile
+++ b/multimedia/mjpegtools-yuvfilters/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mjpegtools-yuvfilters
PORTVERSION= 1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= http://silicontrip.net/~mark/lavtools/ \
${MASTER_SITE_LOCAL}
@@ -17,7 +17,7 @@ DISTFILES= ${CFILES:S/$/.c/}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Mjpeg-tools YUV video stream processing tools
-LIB_DEPENDS= lavjpeg-1.8.0:${PORTSDIR}/multimedia/mjpegtools
+LIB_DEPENDS= lavjpeg-1.9.1:${PORTSDIR}/multimedia/mjpegtools
CFILES= yuvafps yuvfade yuvwater
PLIST_FILES= ${CFILES:S|^|bin/|}
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 70dbfd0cede5..889de875e56f 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mjpegtools
-DISTVERSION= 1.8.0
-PORTREVISION= 6
+DISTVERSION= 1.9.0rc1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mjpeg
diff --git a/multimedia/mjpegtools/distinfo b/multimedia/mjpegtools/distinfo
index 5600ca62f6bd..6119d54c7c35 100644
--- a/multimedia/mjpegtools/distinfo
+++ b/multimedia/mjpegtools/distinfo
@@ -1,3 +1,3 @@
-MD5 (mjpegtools-1.8.0.tar.gz) = 6fd98362310480bdaf7171e9659f165f
-SHA256 (mjpegtools-1.8.0.tar.gz) = d841575c72cd0e587c1bab703d0906e3d23bf428424000557739cf5d6097209a
-SIZE (mjpegtools-1.8.0.tar.gz) = 1475998
+MD5 (mjpegtools-1.9.0rc1.tar.gz) = 35359d4e0947602f2851e7351f574ac9
+SHA256 (mjpegtools-1.9.0rc1.tar.gz) = 50439edf61e58da8ef7143529bce86ed1f5a4711497bd5ea0f026ec9ec77ee81
+SIZE (mjpegtools-1.9.0rc1.tar.gz) = 2339752
diff --git a/multimedia/mjpegtools/files/patch-gcc41 b/multimedia/mjpegtools/files/patch-gcc41
deleted file mode 100644
index 5e840fc5ec40..000000000000
--- a/multimedia/mjpegtools/files/patch-gcc41
+++ /dev/null
@@ -1,11 +0,0 @@
---- y4mdenoise/Region2D.hh.orig Tue Jan 30 16:27:22 2007
-+++ y4mdenoise/Region2D.hh Tue Jan 30 16:27:36 2007
-@@ -16,7 +16,7 @@
-
- #include "Status_t.h"
- #include <iostream>
--
-+#include <cassert>
-
-
- // The 2-dimensional region class. Parameterized by the numeric type
diff --git a/multimedia/mjpegtools/files/patch-lavtools_lav_io.c b/multimedia/mjpegtools/files/patch-lavtools_lav_io.c
deleted file mode 100644
index ec4c5668eaea..000000000000
--- a/multimedia/mjpegtools/files/patch-lavtools_lav_io.c
+++ /dev/null
@@ -1,18 +0,0 @@
-===================================================================
-RCS file: /cvsroot/mjpeg/mjpeg_play/lavtools/lav_io.c,v
-retrieving revision 1.74
-retrieving revision 1.78
-diff -u -r1.74 -r1.78
---- lavtools/lav_io.c 2005/10/24 03:17:56 1.74
-+++ lavtools/lav_io.c 2005/12/04 19:59:47 1.78
-@@ -1395,8 +1395,8 @@
- break;
- #ifdef HAVE_LIBQUICKTIME
- case 'q':
-- res = fileno(((quicktime_t *)lav_file->qt_fd)->stream);
-- break;
-+ res = lqt_fileno((quicktime_t *)lav_file->qt_fd);
-+ break;
- #endif
- default:
- res = -1;
diff --git a/multimedia/mjpegtools/files/patch-mplex_main.cpp b/multimedia/mjpegtools/files/patch-mplex_main.cpp
index f9444738a3b5..4ac18785ae52 100644
--- a/multimedia/mjpegtools/files/patch-mplex_main.cpp
+++ b/multimedia/mjpegtools/files/patch-mplex_main.cpp
@@ -1,5 +1,5 @@
---- mplex/main.cpp.orig Thu Dec 9 21:13:26 2004
-+++ mplex/main.cpp Mon Jul 18 21:11:07 2005
+--- mplex/main.cpp.orig Wed Jun 20 13:40:39 2007
++++ mplex/main.cpp Wed Jun 20 13:41:49 2007
@@ -38,6 +38,7 @@
#endif
#include <ctype.h>
@@ -8,43 +8,47 @@
#include "cpu_accel.h"
#include "mjpeg_types.h"
#include "mjpeg_logging.h"
-@@ -107,6 +108,13 @@
+@@ -107,6 +108,14 @@
+ {
mjpeg_error_exit1( "Could not open for writing: %s", cur_filename );
}
-
-+ {
-+ int flags;
++ {
++ int flags;
+
-+ (void)fcntl(fileno(strm), F_GETFL, &flags);
-+ (void)fcntl(fileno(strm), F_SETFL, flags & ~O_NONBLOCK);
-+ }
++ (void)fcntl(fileno(strm), F_GETFL, &flags);
++ (void)fcntl(fileno(strm), F_SETFL, flags & ~O_NONBLOCK);
++ }
+
++
+
return 0;
}
-
-@@ -144,6 +152,12 @@
- {
+@@ -143,6 +152,13 @@
mjpeg_error_exit1( "Could not open for writing: %s", cur_filename );
}
-+ {
-+ int flags;
+ segment_len = 0;
++ {
++ int flags;
++
++ (void)fcntl(fileno(strm), F_GETFL, &flags);
++ (void)fcntl(fileno(strm), F_SETFL, flags & ~O_NONBLOCK);
++ }
+
-+ (void)fcntl(fileno(strm), F_GETFL, &flags);
-+ (void)fcntl(fileno(strm), F_SETFL, flags & ~O_NONBLOCK);
-+ }
}
void
-@@ -200,6 +214,14 @@
+@@ -200,6 +216,14 @@
{
mjpeg_error_exit1( "Unable to open file %s for reading.", bs_filename);
}
+
-+ {
-+ int flags;
++ {
++ int flags;
+
-+ (void)fcntl(fileno(fileh), F_GETFL, &flags);
-+ (void)fcntl(fileno(fileh), F_SETFL, flags & ~O_NONBLOCK);
-+ }
++ (void)fcntl(fileno(fileh), F_GETFL, &flags);
++ (void)fcntl(fileno(fileh), F_SETFL, flags & ~O_NONBLOCK);
++ }
+
filename = strcpy( new char[strlen(bs_filename)+1], bs_filename );
+ streamname = filename;
+
diff --git a/multimedia/mjpegtools/pkg-plist b/multimedia/mjpegtools/pkg-plist
index b2378cb8ffbb..58e7ba09b88d 100644
--- a/multimedia/mjpegtools/pkg-plist
+++ b/multimedia/mjpegtools/pkg-plist
@@ -10,6 +10,7 @@ bin/lavinfo
bin/lavpipe
%%SDL:%%bin/lavplay
bin/lavtrans
+bin/lavtc.sh
bin/matteblend.flt
bin/mjpeg_simd_helper
bin/mp2enc
@@ -23,6 +24,7 @@ bin/pnmtoy4m
bin/ppmtoy4m
bin/transist.flt
bin/y4mblack
+bin/y4mivtc
bin/y4mcolorbars
bin/y4mdenoise
bin/y4mhist
@@ -69,6 +71,9 @@ include/mjpegtools/mpeg2enc/mpeg2encoder.hh
include/mjpegtools/mpeg2enc/mpeg2encoptions.hh
include/mjpegtools/mpeg2enc/mpeg2encparams.h
include/mjpegtools/mpeg2enc/mpeg2syntaxcodes.h
+include/mjpegtools/mpeg2enc/ontheflyratectl.hh
+include/mjpegtools/mpeg2enc/pass1ratectl.hh
+include/mjpegtools/mpeg2enc/pass2ratectl.hh
include/mjpegtools/mpeg2enc/picture.hh
include/mjpegtools/mpeg2enc/picturereader.hh
include/mjpegtools/mpeg2enc/predict_ref.h
@@ -97,33 +102,33 @@ include/mjpegtools/mplex/stream_params.hpp
include/mjpegtools/mplex/systems.hpp
include/mjpegtools/mplex/videostrm.hpp
include/mjpegtools/yuv4mpeg.h
-lib/liblavfile-1.8.so
-lib/liblavfile-1.8.so.0
+lib/liblavfile-1.9.so
+lib/liblavfile-1.9.so.1
lib/liblavfile.a
lib/liblavfile.la
lib/liblavfile.so
-lib/liblavjpeg-1.8.so
-lib/liblavjpeg-1.8.so.0
+lib/liblavjpeg-1.9.so
+lib/liblavjpeg-1.9.so.1
lib/liblavjpeg.a
lib/liblavjpeg.la
lib/liblavjpeg.so
-%%SDL:%%lib/liblavplay-1.8.so
-%%SDL:%%lib/liblavplay-1.8.so.0
+%%SDL:%%lib/liblavplay-1.9.so
+%%SDL:%%lib/liblavplay-1.9.so.1
%%SDL:%%lib/liblavplay.a
%%SDL:%%lib/liblavplay.la
%%SDL:%%lib/liblavplay.so
-lib/libmjpegutils-1.8.so
-lib/libmjpegutils-1.8.so.0
+lib/libmjpegutils-1.9.so
+lib/libmjpegutils-1.9.so.1
lib/libmjpegutils.a
lib/libmjpegutils.la
lib/libmjpegutils.so
-lib/libmpeg2encpp-1.8.so
-lib/libmpeg2encpp-1.8.so.0
+lib/libmpeg2encpp-1.9.so
+lib/libmpeg2encpp-1.9.so.1
lib/libmpeg2encpp.a
lib/libmpeg2encpp.la
lib/libmpeg2encpp.so
-lib/libmplex2-1.8.so
-lib/libmplex2-1.8.so.0
+lib/libmplex2-1.9.so
+lib/libmplex2-1.9.so.1
lib/libmplex2.a
lib/libmplex2.la
lib/libmplex2.so
diff --git a/multimedia/y4mscaler/Makefile b/multimedia/y4mscaler/Makefile
index 0bdf463af73b..6705e933471f 100644
--- a/multimedia/y4mscaler/Makefile
+++ b/multimedia/y4mscaler/Makefile
@@ -7,7 +7,7 @@
PORTNAME= y4mscaler
PORTVERSION= 9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.mir.com/DMG/Software/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -16,7 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Y4mscaler scales, crops, and shifts Y'CbCr video
-LIB_DEPENDS= lavjpeg-1.8.0:${PORTSDIR}/multimedia/mjpegtools
+LIB_DEPENDS= lavjpeg-1.9.1:${PORTSDIR}/multimedia/mjpegtools
USE_GMAKE= yes