pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpeg_encode Move mpeg_encode from the graph...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/152a55dd7315
branches:  trunk
changeset: 469514:152a55dd7315
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Feb 24 21:47:17 2004 +0000

description:
Move mpeg_encode from the graphics to the multimedia category.
This is version 1.5bnb1.

diffstat:

 multimedia/mpeg_encode/DESCR            |   14 ++
 multimedia/mpeg_encode/Makefile         |   39 +++++++
 multimedia/mpeg_encode/PLIST            |  168 ++++++++++++++++++++++++++++++++
 multimedia/mpeg_encode/distinfo         |    9 +
 multimedia/mpeg_encode/patches/patch-aa |   35 ++++++
 multimedia/mpeg_encode/patches/patch-ab |   13 ++
 multimedia/mpeg_encode/patches/patch-ac |   25 ++++
 multimedia/mpeg_encode/patches/patch-ad |   13 ++
 multimedia/mpeg_encode/patches/patch-ae |   19 +++
 9 files changed, 335 insertions(+), 0 deletions(-)

diffs (truncated from 371 to 300 lines):

diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/DESCR      Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,14 @@
+The primary focus of MPEG encoding algorithms is 1) To create fast
+and efficient motion vector search techniques and 2) To find "good"
+encoding parameters that provide a balance of encoding speed,
+compression and quality.
+
+The Berkeley encoder accelerates the process by parallelizing in
+the temporal direction. The overall organization of the encoder is
+shown in Figure 2. The Master server is the overall coordinator.
+It allocates groups of frames to the Slave servers for encoding.
+The sharing of the files is achieved best, if the directories
+containing the video files are NFS mounted and accessible uniformly
+to all processors (alternatively they can be sent out though sockets
+by the Master). The various activities are managed by inter process
+communication through sockets.
diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/Makefile   Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 21:47:17 jmmv Exp $
+#
+
+DISTNAME=      mpeg_encode-1.5b-src
+PKGNAME=       ${DISTNAME:S/-src//}
+PKGREVISION=   1
+CATEGORIES=    multimedia net
+MASTER_SITES=  ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/
+
+MAINTAINER=    hubertf%NetBSD.org@localhost
+HOMEPAGE=      http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html
+COMMENT=       The Parallel Berkeley MPEG Encoder
+
+WRKSRC=                        ${WRKDIR}/mpeg_encode
+USE_BUILDLINK2=                YES
+USE_GNU_TOOLS+=                make
+
+post-build:
+       @cd ${WRKSRC}/convert && \
+               ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${LOCALBASE}/bin
+.for i in eyuvtojpeg jmovie2jpeg mpeg_demux
+       ${INSTALL_PROGRAM} ${WRKSRC}/convert/${i} ${LOCALBASE}/bin
+.endfor
+       ${INSTALL_DATA_DIR}  ${LOCALBASE}/share/doc/mpeg_encode
+.for i in EXTENSIONS INPUT.FORMAT mpeg_encode.1 parallel.param param-summary \
+               template.param users-guide.fm users-guide.mif users-guide.ps
+       ${INSTALL_DATA}  ${WRKSRC}/docs/${i} ${LOCALBASE}/share/doc/mpeg_encode
+.endfor
+       ${INSTALL_DATA_DIR}  ${LOCALBASE}/share/examples/mpeg_encode
+       cd ${WRKSRC}/examples ; for i in * ; do \
+               ${INSTALL_DATA} $$i ${LOCALBASE}/share/examples/mpeg_encode; \
+       done
+       ${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${LOCALBASE}/man/man1
+
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/PLIST      Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,168 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $
+bin/eyuvtojpeg
+bin/jmovie2jpeg
+bin/mpeg_demux
+bin/mpeg_encode
+man/man1/mpeg_encode.1
+share/doc/mpeg_encode/EXTENSIONS
+share/doc/mpeg_encode/INPUT.FORMAT
+share/doc/mpeg_encode/mpeg_encode.1
+share/doc/mpeg_encode/parallel.param
+share/doc/mpeg_encode/param-summary
+share/doc/mpeg_encode/template.param
+share/doc/mpeg_encode/users-guide.fm
+share/doc/mpeg_encode/users-guide.mif
+share/doc/mpeg_encode/users-guide.ps
+share/examples/mpeg_encode/basicspeed.param
+share/examples/mpeg_encode/decoded.test
+share/examples/mpeg_encode/decoded2.test
+share/examples/mpeg_encode/decorig.param
+share/examples/mpeg_encode/default.param
+share/examples/mpeg_encode/fastspeed.param
+share/examples/mpeg_encode/foobar.param
+share/examples/mpeg_encode/frame.test
+share/examples/mpeg_encode/gop.combine
+share/examples/mpeg_encode/gop.test
+share/examples/mpeg_encode/gop1.param
+share/examples/mpeg_encode/hello.param
+share/examples/mpeg_encode/i.test
+share/examples/mpeg_encode/ispeed.jpeg.param
+share/examples/mpeg_encode/ispeed.param
+share/examples/mpeg_encode/jpeg.test
+share/examples/mpeg_encode/jpeg19.param
+share/examples/mpeg_encode/jpegout19.param
+share/examples/mpeg_encode/localdisk.param
+share/examples/mpeg_encode/localremote.test
+share/examples/mpeg_encode/luxo.param
+share/examples/mpeg_encode/luxo18.param
+share/examples/mpeg_encode/luxo19.5.param
+share/examples/mpeg_encode/luxo19.param
+share/examples/mpeg_encode/luxo2.param
+share/examples/mpeg_encode/luxo48.param
+share/examples/mpeg_encode/luxo49.param
+share/examples/mpeg_encode/luxo50.param
+share/examples/mpeg_encode/luxo52.5.param
+share/examples/mpeg_encode/luxo52.param
+share/examples/mpeg_encode/luxo53.param
+share/examples/mpeg_encode/luxobug.param
+share/examples/mpeg_encode/luxoskip.param
+share/examples/mpeg_encode/med.param
+share/examples/mpeg_encode/med18.param
+share/examples/mpeg_encode/medspeed.param
+share/examples/mpeg_encode/nametest.param
+share/examples/mpeg_encode/nosearch.param
+share/examples/mpeg_encode/par3.param
+share/examples/mpeg_encode/par4.param
+share/examples/mpeg_encode/par5.param
+share/examples/mpeg_encode/parallel.2
+share/examples/mpeg_encode/parallel.param
+share/examples/mpeg_encode/parallel.test
+share/examples/mpeg_encode/param.template
+share/examples/mpeg_encode/payam.param
+share/examples/mpeg_encode/payam18.param
+share/examples/mpeg_encode/pnm.param
+share/examples/mpeg_encode/ppm.param
+share/examples/mpeg_encode/prof.b.param
+share/examples/mpeg_encode/prof.bhalf.param
+share/examples/mpeg_encode/prof.param
+share/examples/mpeg_encode/prof.ss.param
+share/examples/mpeg_encode/prof2.param
+share/examples/mpeg_encode/prof3.param
+share/examples/mpeg_encode/prof4.param
+share/examples/mpeg_encode/remote.test
+share/examples/mpeg_encode/search1.param
+share/examples/mpeg_encode/search10.param
+share/examples/mpeg_encode/search11.param
+share/examples/mpeg_encode/search12.param
+share/examples/mpeg_encode/search13.param
+share/examples/mpeg_encode/search14.param
+share/examples/mpeg_encode/search15.param
+share/examples/mpeg_encode/search16.param
+share/examples/mpeg_encode/search17.param
+share/examples/mpeg_encode/search18.param
+share/examples/mpeg_encode/search19.5.param
+share/examples/mpeg_encode/search19.param
+share/examples/mpeg_encode/search2.param
+share/examples/mpeg_encode/search20.param
+share/examples/mpeg_encode/search21.param
+share/examples/mpeg_encode/search22.param
+share/examples/mpeg_encode/search23.param
+share/examples/mpeg_encode/search24.param
+share/examples/mpeg_encode/search25.param
+share/examples/mpeg_encode/search26.param
+share/examples/mpeg_encode/search27.param
+share/examples/mpeg_encode/search28.param
+share/examples/mpeg_encode/search29.param
+share/examples/mpeg_encode/search3.param
+share/examples/mpeg_encode/search30.param
+share/examples/mpeg_encode/search31.param
+share/examples/mpeg_encode/search32.param
+share/examples/mpeg_encode/search33.param
+share/examples/mpeg_encode/search34.param
+share/examples/mpeg_encode/search35.param
+share/examples/mpeg_encode/search36.param
+share/examples/mpeg_encode/search37.param
+share/examples/mpeg_encode/search38.param
+share/examples/mpeg_encode/search39.param
+share/examples/mpeg_encode/search4.param
+share/examples/mpeg_encode/search40.param
+share/examples/mpeg_encode/search41.param
+share/examples/mpeg_encode/search42.param
+share/examples/mpeg_encode/search43.param
+share/examples/mpeg_encode/search44.param
+share/examples/mpeg_encode/search45.param
+share/examples/mpeg_encode/search46.param
+share/examples/mpeg_encode/search47.param
+share/examples/mpeg_encode/search48.param
+share/examples/mpeg_encode/search49.param
+share/examples/mpeg_encode/search5.param
+share/examples/mpeg_encode/search50.param
+share/examples/mpeg_encode/search51.param
+share/examples/mpeg_encode/search52.5.param
+share/examples/mpeg_encode/search52.param
+share/examples/mpeg_encode/search53.param
+share/examples/mpeg_encode/search6.param
+share/examples/mpeg_encode/search7.param
+share/examples/mpeg_encode/search8.param
+share/examples/mpeg_encode/search9.param
+share/examples/mpeg_encode/seq.param
+share/examples/mpeg_encode/sequoia.param
+share/examples/mpeg_encode/sequoia19.param
+share/examples/mpeg_encode/sequoia2.param
+share/examples/mpeg_encode/slice.param
+share/examples/mpeg_encode/slimed.param
+share/examples/mpeg_encode/slowspeed.param
+share/examples/mpeg_encode/stanford.param
+share/examples/mpeg_encode/subtest.param
+share/examples/mpeg_encode/temp.param
+share/examples/mpeg_encode/template.param
+share/examples/mpeg_encode/tennis.param
+share/examples/mpeg_encode/tennis18.param
+share/examples/mpeg_encode/tennis19.5.param
+share/examples/mpeg_encode/tennis19.param
+share/examples/mpeg_encode/tennis48.param
+share/examples/mpeg_encode/tennis49.param
+share/examples/mpeg_encode/tennis50.param
+share/examples/mpeg_encode/tennis52.5.param
+share/examples/mpeg_encode/tennis52.param
+share/examples/mpeg_encode/tennis53.param
+share/examples/mpeg_encode/tennisbug.param
+share/examples/mpeg_encode/testp.param
+share/examples/mpeg_encode/walk.param
+share/examples/mpeg_encode/walk1.param
+share/examples/mpeg_encode/walk18.param
+share/examples/mpeg_encode/walk19.5.param
+share/examples/mpeg_encode/walk19.param
+share/examples/mpeg_encode/walk2.param
+share/examples/mpeg_encode/walk3.param
+share/examples/mpeg_encode/walk4.param
+share/examples/mpeg_encode/walk48.param
+share/examples/mpeg_encode/walk49.param
+share/examples/mpeg_encode/walk5.param
+share/examples/mpeg_encode/walk50.param
+share/examples/mpeg_encode/walk52.5.param
+share/examples/mpeg_encode/walk52.param
+share/examples/mpeg_encode/walk53.param
+share/examples/mpeg_encode/walk93.param
+@dirrm share/examples/mpeg_encode
+@dirrm share/doc/mpeg_encode
diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/distinfo   Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $
+
+SHA1 (mpeg_encode-1.5b-src.tar.gz) = 853cd175f73b8064ce28deb256e4b81159a684ed
+Size (mpeg_encode-1.5b-src.tar.gz) = 2028724 bytes
+SHA1 (patch-aa) = 04221eb3d4cf85b206d27a2f425719ed7c4a5ec1
+SHA1 (patch-ab) = f2cdf02d49b726b4fb7fb210074e7ba53b9b380b
+SHA1 (patch-ac) = 8f89257bd93584cd028b659bb8c3379d713339da
+SHA1 (patch-ad) = 670a244680d09cb9f558a8777ec8f189145342f8
+SHA1 (patch-ae) = e591c1399d51175295731b2c8947c03c19ede486
diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/patches/patch-aa   Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $
+
+--- Makefile.orig      Thu Aug 17 00:16:56 1995
++++ Makefile
+@@ -36,9 +36,9 @@
+ ##############
+ # JPEG STUFF #
+ ##############
+-JPEG_LIB = jpeg/libjpeg.a
+-JPEG_DIR = -Ijpeg
+-JPEG_LIB_DIR = -Ljpeg
++JPEG_LIB = -ljpeg
++JPEG_DIR = 
++JPEG_LIB_DIR = 
+ MP_JPEG_OBJS = jpeg.o
+ MP_JPEG_SRCS = jpeg.c
+ 
+@@ -57,7 +57,7 @@
+ #################
+ # INCLUDE FILES # 
+ #################
+-INCLUDEDIR = -Iheaders -I/usr/include $(JPEG_DIR)
++INCLUDEDIR = -Iheaders $(JPEG_DIR)
+ 
+ ############################################################################
+ # LIBRARIES # specify library directories; need jpg lib and maybe pbm    #
+@@ -203,7 +203,7 @@
+ ############
+ 
+ mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB)
+-      $(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
++      $(PURIFY) $(CC) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
+       strip mpeg_encode
+ 
+ profile: $(MP_ALL_OBJS)
diff -r a072beba934b -r 152a55dd7315 multimedia/mpeg_encode/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg_encode/patches/patch-ab   Tue Feb 24 21:47:17 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 21:47:25 jmmv Exp $
+
+--- jpeg.c.orig        Sat Aug  5 01:35:07 1995
++++ jpeg.c
+@@ -77,7 +77,7 @@
+ 
+ /* make it happier.... */
+ #undef DCTSIZE2
+-#include "jpeg/jpeglib.h"
++#include "jpeglib.h"  /* Use system header! */
+ 



Home | Main Index | Thread Index | Old Index