diff options
author | mrg <mrg@pkgsrc.org> | 2003-06-23 07:09:32 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2003-06-23 07:09:32 +0000 |
commit | abde2277308908dc4b29c774c3ef95e0e172be83 (patch) | |
tree | 34d1ac2a4e1001446dce408ff286100a0b68a187 | |
parent | 9385ddd149aa16cc2061395ef70305f201e0c8c5 (diff) | |
download | pkgsrc-abde2277308908dc4b29c774c3ef95e0e172be83.tar.gz |
import new package for "transcode":
transcode is a text console video-stream processing tool.
It supports elementary video and audio frame transformations.
Some example modules are included to enable import of MPEG-1/2,
Digital Video, and other formats. It also includes export
modules for writing to AVI files with DivX, OpenDivX, XviD,
Digital Video or other codecs. Direct DVD transcoding is also
supported. A set of tools is available to extract and decode
the sources into raw video/audio streams for import and to
enable post-processing of AVI files.
23 files changed, 865 insertions, 0 deletions
diff --git a/graphics/transcode/DESCR b/graphics/transcode/DESCR new file mode 100644 index 00000000000..0cb3ed1f4d8 --- /dev/null +++ b/graphics/transcode/DESCR @@ -0,0 +1,9 @@ +transcode is a text console video-stream processing tool. +It supports elementary video and audio frame transformations. +Some example modules are included to enable import of MPEG-1/2, +Digital Video, and other formats. It also includes export +modules for writing to AVI files with DivX, OpenDivX, XviD, +Digital Video or other codecs. Direct DVD transcoding is also +supported. A set of tools is available to extract and decode +the sources into raw video/audio streams for import and to +enable post-processing of AVI files. diff --git a/graphics/transcode/Makefile b/graphics/transcode/Makefile new file mode 100644 index 00000000000..d8712c1be03 --- /dev/null +++ b/graphics/transcode/Makefile @@ -0,0 +1,56 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +DISTNAME= transcode-0.6.6 +CATEGORIES= graphics +MASTER_SITES= http://freshmeat.net/redir/transcode/15968/url_tgz/ + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= http://freshmeat.net/projects/transcode/ +COMMENT= transcode is a text console video-stream processing tool + +BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm + +USE_BUILDLINK2= yes +USE_GMAKE= yes + +USE_SHLIBTOOL= yes +SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-qt +CONFIGURE_ARGS+= --without-libmpeg3 +CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} +CONFIGURE_ARGS+= --with-dvdread-includes=${BUILDLINK_PREFIX.libdvdread} + +#post-patch: +# cd ${WRKSRC} && \ +# sed "s|/usr/local|${PREFIX}|g; s|include/libmpeg3|include/mpeg3|g; s| -ldl||g" acinclude.m4 > acinclude.new && \ +# ${MV} acinclude.new acinclude.m4 && \ +# ${ACLOCAL} && \ +# ${AUTOHEADER} && \ +# ${AUTOCONF} +# -cd ${WRKSRC} && ${AUTOMAKE} + +post-install: + ${LN} -s ../libxvidcore.so ${PREFIX}/lib/transcode/libxvidcore.so + +.include "../../archivers/liblzo/buildlink2.mk" +.include "../../audio/liba52/buildlink2.mk" +.include "../../audio/lame/buildlink2.mk" +.include "../../audio/libogg/buildlink2.mk" +.include "../../audio/libvorbis/buildlink2.mk" +.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/libmpeg3/buildlink2.mk" +#.include "../../graphics/avifile/buildlink2.mk" +.include "../../graphics/ImageMagick/buildlink2.mk" +.include "../../graphics/mjpegtools/buildlink2.mk" +.include "../../graphics/xvidcore/buildlink2.mk" +.include "../../graphics/jpeg/buildlink2.mk" +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../misc/libdvdread/buildlink2.mk" +.include "../../textproc/libxml2/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" + +#.include "../../mk/automake.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/transcode/PLIST b/graphics/transcode/PLIST new file mode 100644 index 00000000000..80eb7a722a5 --- /dev/null +++ b/graphics/transcode/PLIST @@ -0,0 +1,357 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ +bin/avifix +bin/avimerge +bin/avisplit +bin/avisync +bin/tccat +bin/tcdecode +bin/tcdemux +bin/tcextract +bin/tcmodinfo +bin/tcmplex +bin/tcprobe +bin/tcscan +bin/tcxmlcheck +bin/transcode +lib/transcode/a52_decore.a +lib/transcode/a52_decore.la +lib/transcode/a52_decore.so +lib/transcode/af6_decore.a +lib/transcode/af6_decore.la +lib/transcode/af6_decore.so +lib/transcode/export_ac3.a +lib/transcode/export_ac3.la +lib/transcode/export_ac3.so +lib/transcode/export_af6.conf +lib/transcode/export_divx4.a +lib/transcode/export_divx4.la +lib/transcode/export_divx4raw.a +lib/transcode/export_divx4raw.la +lib/transcode/export_divx5.a +lib/transcode/export_divx5.la +lib/transcode/export_divx5raw.a +lib/transcode/export_divx5raw.la +lib/transcode/export_ffmpeg.a +lib/transcode/export_ffmpeg.la +lib/transcode/export_im.a +lib/transcode/export_im.la +lib/transcode/export_jpg.a +lib/transcode/export_jpg.la +lib/transcode/export_lame.a +lib/transcode/export_lame.la +lib/transcode/export_lame.so +lib/transcode/export_mjpeg.a +lib/transcode/export_mjpeg.la +lib/transcode/export_mp2enc.a +lib/transcode/export_mp2enc.la +lib/transcode/export_mp2enc.so +lib/transcode/export_mpeg.a +lib/transcode/export_mpeg.la +lib/transcode/export_mpeg2enc.a +lib/transcode/export_mpeg2enc.la +lib/transcode/export_net.a +lib/transcode/export_net.la +lib/transcode/export_net.so +lib/transcode/export_null.a +lib/transcode/export_null.la +lib/transcode/export_null.so +lib/transcode/export_ogg.a +lib/transcode/export_ogg.la +lib/transcode/export_ogg.so +lib/transcode/export_pcm.a +lib/transcode/export_pcm.la +lib/transcode/export_ppm.a +lib/transcode/export_ppm.la +lib/transcode/export_raw.a +lib/transcode/export_raw.la +lib/transcode/export_sampeg.a +lib/transcode/export_sampeg.la +lib/transcode/export_toolame.a +lib/transcode/export_toolame.la +lib/transcode/export_toolame.so +lib/transcode/export_wav.a +lib/transcode/export_wav.la +lib/transcode/export_xvid.a +lib/transcode/export_xvid.la +lib/transcode/export_xvidcvs.a +lib/transcode/export_xvidcvs.la +lib/transcode/export_xvidraw.a +lib/transcode/export_xvidraw.la +lib/transcode/export_yuv4mpeg.a +lib/transcode/export_yuv4mpeg.la +lib/transcode/filter_29to23.a +lib/transcode/filter_29to23.la +lib/transcode/filter_29to23.so +lib/transcode/filter_32detect.a +lib/transcode/filter_32detect.la +lib/transcode/filter_32detect.so +lib/transcode/filter_32drop.a +lib/transcode/filter_32drop.la +lib/transcode/filter_32drop.so +lib/transcode/filter_aclip.a +lib/transcode/filter_aclip.la +lib/transcode/filter_aclip.so +lib/transcode/filter_astat.a +lib/transcode/filter_astat.la +lib/transcode/filter_astat.so +lib/transcode/filter_clone.a +lib/transcode/filter_clone.la +lib/transcode/filter_clone.so +lib/transcode/filter_cpaudio.a +lib/transcode/filter_cpaudio.la +lib/transcode/filter_cpaudio.so +lib/transcode/filter_cshift.a +lib/transcode/filter_cshift.la +lib/transcode/filter_cshift.so +lib/transcode/filter_cut.a +lib/transcode/filter_cut.la +lib/transcode/filter_cut.so +lib/transcode/filter_decimate.a +lib/transcode/filter_decimate.la +lib/transcode/filter_decimate.so +lib/transcode/filter_dilyuvmmx.a +lib/transcode/filter_dilyuvmmx.la +lib/transcode/filter_dilyuvmmx.so +lib/transcode/filter_divxkey.a +lib/transcode/filter_divxkey.la +lib/transcode/filter_divxkey.so +lib/transcode/filter_dnr.a +lib/transcode/filter_dnr.la +lib/transcode/filter_dnr.so +lib/transcode/filter_doublefps.a +lib/transcode/filter_doublefps.la +lib/transcode/filter_doublefps.so +lib/transcode/filter_extsub.a +lib/transcode/filter_extsub.la +lib/transcode/filter_extsub.so +lib/transcode/filter_extsub2.a +lib/transcode/filter_extsub2.la +lib/transcode/filter_extsub2.so +lib/transcode/filter_fields.a +lib/transcode/filter_fields.la +lib/transcode/filter_fields.so +lib/transcode/filter_invert.a +lib/transcode/filter_invert.la +lib/transcode/filter_invert.so +lib/transcode/filter_ivtc.a +lib/transcode/filter_ivtc.la +lib/transcode/filter_ivtc.so +lib/transcode/filter_list.awk +lib/transcode/filter_logo.a +lib/transcode/filter_logo.la +lib/transcode/filter_logoaway.a +lib/transcode/filter_logoaway.la +lib/transcode/filter_logoaway.so +lib/transcode/filter_lowpass.a +lib/transcode/filter_lowpass.la +lib/transcode/filter_lowpass.so +lib/transcode/filter_mask.a +lib/transcode/filter_mask.la +lib/transcode/filter_mask.so +lib/transcode/filter_normalize.a +lib/transcode/filter_normalize.la +lib/transcode/filter_normalize.so +lib/transcode/filter_null.a +lib/transcode/filter_null.la +lib/transcode/filter_null.so +lib/transcode/filter_resample.a +lib/transcode/filter_resample.la +lib/transcode/filter_resample.so +lib/transcode/filter_skip.a +lib/transcode/filter_skip.la +lib/transcode/filter_skip.so +lib/transcode/filter_smartdeinter.a +lib/transcode/filter_smartdeinter.la +lib/transcode/filter_smooth.a +lib/transcode/filter_smooth.la +lib/transcode/filter_smooth.so +lib/transcode/filter_subtitler.a +lib/transcode/filter_subtitler.la +lib/transcode/filter_subtitler.so +lib/transcode/filter_tc_audio.a +lib/transcode/filter_tc_audio.la +lib/transcode/filter_tc_audio.so +lib/transcode/filter_tc_video.a +lib/transcode/filter_tc_video.la +lib/transcode/filter_tc_video.so +lib/transcode/filter_test.a +lib/transcode/filter_test.la +lib/transcode/filter_testframe.a +lib/transcode/filter_testframe.la +lib/transcode/filter_testframe.so +lib/transcode/filter_videocore.a +lib/transcode/filter_videocore.la +lib/transcode/filter_videocore.so +lib/transcode/filter_xsharpen.a +lib/transcode/filter_xsharpen.la +lib/transcode/filter_xsharpen.so +lib/transcode/filter_yuvdenoise.a +lib/transcode/filter_yuvdenoise.la +lib/transcode/filter_yuvmedian.a +lib/transcode/filter_yuvmedian.la +lib/transcode/filter_yuvmedian.so +lib/transcode/filter_yuy2toyv12.a +lib/transcode/filter_yuy2toyv12.la +lib/transcode/filter_yuy2toyv12.so +lib/transcode/import_ac3.a +lib/transcode/import_ac3.la +lib/transcode/import_avi.a +lib/transcode/import_avi.la +lib/transcode/import_divx.a +lib/transcode/import_divx.la +lib/transcode/import_dv.a +lib/transcode/import_dv.la +lib/transcode/import_dv.so +lib/transcode/import_dvd.a +lib/transcode/import_dvd.la +lib/transcode/import_ffmpeg.a +lib/transcode/import_ffmpeg.la +lib/transcode/import_im.a +lib/transcode/import_im.la +lib/transcode/import_im.so +lib/transcode/import_imlist.a +lib/transcode/import_imlist.la +lib/transcode/import_imlist.so +lib/transcode/import_lav.a +lib/transcode/import_lav.la +lib/transcode/import_lav.so +lib/transcode/import_mp3.a +lib/transcode/import_mp3.la +lib/transcode/import_mp3.so +lib/transcode/import_mpeg2.a +lib/transcode/import_mpeg2.la +lib/transcode/import_mpeg2.so +lib/transcode/import_mplayer.a +lib/transcode/import_mplayer.la +lib/transcode/import_mplayer.so +lib/transcode/import_net.a +lib/transcode/import_net.la +lib/transcode/import_net.so +lib/transcode/import_null.a +lib/transcode/import_null.la +lib/transcode/import_null.so +lib/transcode/import_nuv.a +lib/transcode/import_nuv.la +lib/transcode/import_nuv.so +lib/transcode/import_nvrec.a +lib/transcode/import_nvrec.la +lib/transcode/import_nvrec.so +lib/transcode/import_ogg.a +lib/transcode/import_ogg.la +lib/transcode/import_ogg.so +lib/transcode/import_raw.a +lib/transcode/import_raw.la +lib/transcode/import_raw.so +lib/transcode/import_rawlist.a +lib/transcode/import_rawlist.la +lib/transcode/import_rawlist.so +lib/transcode/import_vdrac3.a +lib/transcode/import_vdrac3.la +lib/transcode/import_vob.a +lib/transcode/import_vob.la +lib/transcode/import_xml.a +lib/transcode/import_xml.la +lib/transcode/import_xml.so +lib/transcode/import_xvid.a +lib/transcode/import_xvid.la +lib/transcode/import_yuv.a +lib/transcode/import_yuv.la +lib/transcode/import_yuv.so +lib/transcode/import_yuv4mpeg.a +lib/transcode/import_yuv4mpeg.la +lib/transcode/import_yuv4mpeg.so +lib/transcode/libxvidcore.so +lib/transcode/parse_csv.awk +lib/transcode/xvid.cfg +man/man1/avifix.1 +man/man1/avimerge.1 +man/man1/avisplit.1 +man/man1/avisync.1 +man/man1/tccat.1 +man/man1/tcdecode.1 +man/man1/tcdemux.1 +man/man1/tcextract.1 +man/man1/tcmodinfo.1 +man/man1/tcprobe.1 +man/man1/tcscan.1 +man/man1/transcode.1 +share/doc/transcode/OPTIMIZERS +share/doc/transcode/README.Inverse.Telecine.txt +share/doc/transcode/README.cluster +share/doc/transcode/README.rip +share/doc/transcode/README.sync +share/doc/transcode/README.vcd +share/doc/transcode/clone.txt +share/doc/transcode/export-API.txt +share/doc/transcode/export_ffmpeg.txt +share/doc/transcode/export_mpeg.txt +share/doc/transcode/filter-API.txt +share/doc/transcode/filter-socket.txt +share/doc/transcode/filter_dnr.txt +share/doc/transcode/filter_logo.txt +share/doc/transcode/filter_logoaway.txt +share/doc/transcode/filter_text.txt +share/doc/transcode/filter_yuvdenoise.txt +share/doc/transcode/html/about.html +share/doc/transcode/html/anim.html +share/doc/transcode/html/cluster_guide.txt +share/doc/transcode/html/core.html +share/doc/transcode/html/dv.html +share/doc/transcode/html/dvd.html +share/doc/transcode/html/export_af6.html +share/doc/transcode/html/export_divx.html +share/doc/transcode/html/export_divx4.php +share/doc/transcode/html/export_divx5.php +share/doc/transcode/html/export_fame.php +share/doc/transcode/html/export_iv50.html +share/doc/transcode/html/export_null.html +share/doc/transcode/html/export_ogg.php +share/doc/transcode/html/export_opendivx.php +share/doc/transcode/html/export_raw.html +share/doc/transcode/html/export_xvid.php +share/doc/transcode/html/faq.html +share/doc/transcode/html/filter.html +share/doc/transcode/html/import_ac3.html +share/doc/transcode/html/import_avi.html +share/doc/transcode/html/import_dv.html +share/doc/transcode/html/import_dvd.html +share/doc/transcode/html/import_mp3.html +share/doc/transcode/html/import_mpeg2.html +share/doc/transcode/html/import_mpeg3.html +share/doc/transcode/html/import_null.html +share/doc/transcode/html/import_nuv.html +share/doc/transcode/html/import_ogg.php +share/doc/transcode/html/import_raw.html +share/doc/transcode/html/import_vob.html +share/doc/transcode/html/import_yuv4mpeg.html +share/doc/transcode/html/index.html +share/doc/transcode/html/intro.html +share/doc/transcode/html/mes0-00000.png +share/doc/transcode/html/mes4-00000.png +share/doc/transcode/html/mes5-00000.png +share/doc/transcode/html/mes6-00000.png +share/doc/transcode/html/mes7-00000.png +share/doc/transcode/html/misc.html +share/doc/transcode/html/modules.html +share/doc/transcode/html/mpeg.html +share/doc/transcode/html/new.png +share/doc/transcode/html/options.html +share/doc/transcode/html/other.html +share/doc/transcode/html/post.html +share/doc/transcode/html/pre.html +share/doc/transcode/html/smart.html +share/doc/transcode/html/sorry.html +share/doc/transcode/html/sub0-00000.png +share/doc/transcode/html/sub1-00000.png +share/doc/transcode/html/sub2-00000.png +share/doc/transcode/html/sub3-00000.png +share/doc/transcode/html/subtitles.html +share/doc/transcode/html/table.php +share/doc/transcode/html/tc.png +share/doc/transcode/import-API.txt +share/doc/transcode/import-xml.txt +share/doc/transcode/import_nvrec.txt +share/doc/transcode/template.cfg.txt +@dirrm share/doc/transcode/html +@dirrm share/doc/transcode +@dirrm lib/transcode diff --git a/graphics/transcode/distinfo b/graphics/transcode/distinfo new file mode 100644 index 00000000000..1167ca107be --- /dev/null +++ b/graphics/transcode/distinfo @@ -0,0 +1,23 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +SHA1 (transcode-0.6.6.tar.gz) = b46bf4e924fb2d373153103723fb08297feb878b +Size (transcode-0.6.6.tar.gz) = 2643681 bytes +SHA1 (patch-aa) = 727be281a865a8c3baab8829c574d4224c072000 +SHA1 (patch-ab) = 58f3796b95639aed6fcae1bef23ce9a926c7e6f6 +SHA1 (patch-ac) = d6595c96ad0cebf34d620df9829365ba9c9f88c6 +SHA1 (patch-ad) = dc3777cbfd86eba3d62c0bfa947e9877c6c44fea +SHA1 (patch-ae) = f49a155b84edbeb3c93705e6ab15e80f48adbdb1 +SHA1 (patch-af) = ac2060ee599df32cbbad476ad64926411107732d +SHA1 (patch-ag) = 23fbedeb2db586af0afee74785013a64b9562c4e +SHA1 (patch-ah) = db21f19742abfb6db70b4c77371a8da79cc8c7d0 +SHA1 (patch-ai) = 86f49f23d8af5320be93c8dc475b53b906dff10f +SHA1 (patch-aj) = f62d0e1e23868b290221cffc367c3f0a5cc5cbc6 +SHA1 (patch-ak) = add9a293ddb73e3f82982d2021a6310f742e45f1 +SHA1 (patch-al) = 797bd770565263452d47e2f4d8942974ef153553 +SHA1 (patch-am) = 79975c482d44018cb058bcd0b3c4b1eee0bc9711 +SHA1 (patch-an) = ee416096f1fc6b8ff74f80f93cc5e40d4ad49223 +SHA1 (patch-ao) = 99f2461e286122b2424970a62b0820ca084bcc68 +SHA1 (patch-ap) = 440ff79bba6147e697d5c061e0a374410b6b54fb +SHA1 (patch-aq) = 8b5d88f3bd2b31ae29700558e4ad286cab217ba9 +SHA1 (patch-ar) = 5e0db22952ac508271997c04627c0ec0c30969cd +SHA1 (patch-as) = 6af5824a09484148ee06e46399c5d695593189f9 diff --git a/graphics/transcode/patches/patch-aa b/graphics/transcode/patches/patch-aa new file mode 100644 index 00000000000..ad5b2d8f1b7 --- /dev/null +++ b/graphics/transcode/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp avilib/avidump.c avilib/avidump.c +*** avilib/avidump.c Tue Apr 8 20:50:10 2003 +--- avilib/avidump.c Mon Jun 9 17:45:21 2003 +*************** +*** 36,42 **** + #include <sys/stat.h> + #include <fcntl.h> + +! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__APPLE__) + typedef off_t off64_t; + #define lseek64 lseek + #endif +--- 36,42 ---- + #include <sys/stat.h> + #include <fcntl.h> + +! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + typedef off_t off64_t; + #define lseek64 lseek + #endif diff --git a/graphics/transcode/patches/patch-ab b/graphics/transcode/patches/patch-ab new file mode 100644 index 00000000000..aeec591d07a --- /dev/null +++ b/graphics/transcode/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp export/export_xvid.c export/export_xvid.c +*** export/export_xvid.c Wed May 14 00:30:32 2003 +--- export/export_xvid.c Mon Jun 9 17:48:09 2003 +*************** +*** 48,54 **** + # endif + #endif + +! #if !defined(__FreeBSD__) && !defined(__APPLE__) /* We have malloc() in stdlib.h */ + #include <malloc.h> + #endif + +--- 48,54 ---- + # endif + #endif + +! #if !defined(__FreeBSD__) && !defined(__APPLE__) /* We have malloc() in stdlib.h */|| defined(__NetBSD__) + #include <malloc.h> + #endif + diff --git a/graphics/transcode/patches/patch-ac b/graphics/transcode/patches/patch-ac new file mode 100644 index 00000000000..01fc5032d61 --- /dev/null +++ b/graphics/transcode/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp export/export_xvidcvs.c export/export_xvidcvs.c +*** export/export_xvidcvs.c Fri May 9 16:52:32 2003 +--- export/export_xvidcvs.c Mon Jun 9 17:48:14 2003 +*************** +*** 48,54 **** + # endif + #endif + +! #if !defined(__FreeBSD__) && !defined(__APPLE__) + #include <malloc.h> + #endif + +--- 48,54 ---- + # endif + #endif + +! #if !defined(__FreeBSD__) && !defined(__APPLE__)|| defined(__NetBSD__) + #include <malloc.h> + #endif + diff --git a/graphics/transcode/patches/patch-ad b/graphics/transcode/patches/patch-ad new file mode 100644 index 00000000000..7af690ba392 --- /dev/null +++ b/graphics/transcode/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp filter/yuvdenoise/mjpeg_types.h filter/yuvdenoise/mjpeg_types.h +*** filter/yuvdenoise/mjpeg_types.h Fri Mar 14 22:12:41 2003 +--- filter/yuvdenoise/mjpeg_types.h Mon Jun 9 17:48:25 2003 +*************** typedef u_int64_t uint64_t; +*** 58,64 **** + /* fixme */ + #endif /* HAVE_STDINT_H */ + +! #if defined(__FreeBSD__) + #include <sys/types.h> /* FreeBSD - ssize_t */ + #endif + +--- 58,64 ---- + /* fixme */ + #endif /* HAVE_STDINT_H */ + +! #if defined(__FreeBSD__)|| defined(__NetBSD__) + #include <sys/types.h> /* FreeBSD - ssize_t */ + #endif + diff --git a/graphics/transcode/patches/patch-ae b/graphics/transcode/patches/patch-ae new file mode 100644 index 00000000000..7884b98b7bd --- /dev/null +++ b/graphics/transcode/patches/patch-ae @@ -0,0 +1,22 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp import/import_divx.c import/import_divx.c +*** import/import_divx.c Mon May 12 16:46:50 2003 +--- import/import_divx.c Mon Jun 9 17:46:50 2003 +*************** static unsigned char *bufalloc(size_t si +*** 158,164 **** + } + + static int divx_init(char *path) { +! #ifdef __FreeBSD__ + const + #endif + char *error; +--- 158,164 ---- + } + + static int divx_init(char *path) { +! #if defined(__FreeBSD__) || defined(__NetBSD__) + const + #endif + char *error; diff --git a/graphics/transcode/patches/patch-af b/graphics/transcode/patches/patch-af new file mode 100644 index 00000000000..3cce9549b98 --- /dev/null +++ b/graphics/transcode/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp import/import_xvid.c import/import_xvid.c +*** import/import_xvid.c Fri May 2 16:28:05 2003 +--- import/import_xvid.c Mon Jun 9 17:47:11 2003 +*************** static int x_dim, y_dim; +*** 65,71 **** + #define MODULE1 "libxvidcore.so" + + static int xvid2_init(char *path) { +! #ifdef __FreeBSD__ + const + #endif + char *error; +--- 65,71 ---- + #define MODULE1 "libxvidcore.so" + + static int xvid2_init(char *path) { +! #if defined(__FreeBSD__) || defined(__NetBSD__) + const + #endif + char *error; diff --git a/graphics/transcode/patches/patch-ag b/graphics/transcode/patches/patch-ag new file mode 100644 index 00000000000..27d6cd32c89 --- /dev/null +++ b/graphics/transcode/patches/patch-ag @@ -0,0 +1,22 @@ +$NetBSD: patch-ag,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp import/iodump.c import/iodump.c +*** import/iodump.c Wed Apr 2 19:03:05 2003 +--- import/iodump.c Mon Jun 9 17:47:23 2003 +*************** +*** 37,43 **** + #include "dvd_reader.h" + #endif + +! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__APPLE__) + typedef off_t off64_t; + #define lseek64 lseek + #endif +--- 37,43 ---- + #include "dvd_reader.h" + #endif + +! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + typedef off_t off64_t; + #define lseek64 lseek + #endif diff --git a/graphics/transcode/patches/patch-ah b/graphics/transcode/patches/patch-ah new file mode 100644 index 00000000000..9cc6f063bf0 --- /dev/null +++ b/graphics/transcode/patches/patch-ah @@ -0,0 +1,22 @@ +$NetBSD: patch-ah,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp import/nuv/rtjpeg_aud_plugin.c import/nuv/rtjpeg_aud_plugin.c +*** import/nuv/rtjpeg_aud_plugin.c Tue Apr 8 20:50:11 2003 +--- import/nuv/rtjpeg_aud_plugin.c Mon Jun 9 17:47:33 2003 +*************** int rtjpeg_aud_open(char *tplorg) +*** 108,114 **** + regions[0].end = -1; + } + +! #if defined(__FreeBSD__) || defined(__APPLE__) + rtjpeg_aud_file=open(tplorg, O_RDONLY); + #else + rtjpeg_aud_file=open(tplorg, O_RDONLY|O_LARGEFILE); +--- 108,114 ---- + regions[0].end = -1; + } + +! #if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + rtjpeg_aud_file=open(tplorg, O_RDONLY); + #else + rtjpeg_aud_file=open(tplorg, O_RDONLY|O_LARGEFILE); diff --git a/graphics/transcode/patches/patch-ai b/graphics/transcode/patches/patch-ai new file mode 100644 index 00000000000..984fe91d093 --- /dev/null +++ b/graphics/transcode/patches/patch-ai @@ -0,0 +1,22 @@ +$NetBSD: patch-ai,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp import/nuv/rtjpeg_vid_plugin.c import/nuv/rtjpeg_vid_plugin.c +*** import/nuv/rtjpeg_vid_plugin.c Tue Apr 8 20:50:11 2003 +--- import/nuv/rtjpeg_vid_plugin.c Mon Jun 9 17:47:40 2003 +*************** int rtjpeg_vid_open(char *tplorg) +*** 108,114 **** + regions[0].end = -1; + } + +! #if defined(__FreeBSD__) || defined(__APPLE__) + rtjpeg_vid_file=open(tplorg, O_RDONLY); + #else + rtjpeg_vid_file=open(tplorg, O_RDONLY|O_LARGEFILE); +--- 108,114 ---- + regions[0].end = -1; + } + +! #if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + rtjpeg_vid_file=open(tplorg, O_RDONLY); + #else + rtjpeg_vid_file=open(tplorg, O_RDONLY|O_LARGEFILE); diff --git a/graphics/transcode/patches/patch-aj b/graphics/transcode/patches/patch-aj new file mode 100644 index 00000000000..f15e2566f96 --- /dev/null +++ b/graphics/transcode/patches/patch-aj @@ -0,0 +1,22 @@ +$NetBSD: patch-aj,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp src/dl_loader.c src/dl_loader.c +*** src/dl_loader.c Wed Apr 30 18:14:28 2003 +--- src/dl_loader.c Mon Jun 9 17:45:34 2003 +*************** int tca_import(int opt, void *para1, voi +*** 128,134 **** + + void *load_module(char *mod_name, int mode) + { +! #if defined(__FreeBSD__) || defined (__APPLE__) + const + #endif + char *error; +--- 128,134 ---- + + void *load_module(char *mod_name, int mode) + { +! #if defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__) + const + #endif + char *error; diff --git a/graphics/transcode/patches/patch-ak b/graphics/transcode/patches/patch-ak new file mode 100644 index 00000000000..100752455ef --- /dev/null +++ b/graphics/transcode/patches/patch-ak @@ -0,0 +1,22 @@ +$NetBSD: patch-ak,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp src/filter.c src/filter.c +*** src/filter.c Mon May 12 05:03:00 2003 +--- src/filter.c Mon Jun 9 17:45:39 2003 +*************** int filter_unquote_options(char *options +*** 127,133 **** + } + + int load_plugin(char *path) { +! #if defined(__FreeBSD__) || defined (__APPLE__) + const + #endif + char *error; +--- 127,133 ---- + } + + int load_plugin(char *path) { +! #if defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__) + const + #endif + char *error; diff --git a/graphics/transcode/patches/patch-al b/graphics/transcode/patches/patch-al new file mode 100644 index 00000000000..bc946383d18 --- /dev/null +++ b/graphics/transcode/patches/patch-al @@ -0,0 +1,22 @@ +$NetBSD: patch-al,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp src/iodir.c src/iodir.c +*** src/iodir.c Sun Mar 9 00:42:49 2003 +--- src/iodir.c Mon Jun 9 17:45:31 2003 +*************** +*** 25,31 **** + #include <dirent.h> + #include "ioaux.h" + +! #if defined(__bsdi__) || defined(__FreeBSD__) + typedef off_t off64_t; + #define lseek64 lseek + #endif +--- 25,31 ---- + #include <dirent.h> + #include "ioaux.h" + +! #if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) + typedef off_t off64_t; + #define lseek64 lseek + #endif diff --git a/graphics/transcode/patches/patch-am b/graphics/transcode/patches/patch-am new file mode 100644 index 00000000000..0981a51c832 --- /dev/null +++ b/graphics/transcode/patches/patch-am @@ -0,0 +1,22 @@ +$NetBSD: patch-am,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp src/zoom.c src/zoom.c +*** src/zoom.c Tue Apr 8 20:50:11 2003 +--- src/zoom.c Mon Jun 9 17:45:46 2003 +*************** +*** 95,101 **** + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +! #if !defined(__FreeBSD__) && !defined(__APPLE__) + #include <malloc.h> + #endif + #include <math.h> +--- 95,101 ---- + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +! #if !defined(__FreeBSD__) && !defined(__APPLE__) || defined(__NetBSD__) + #include <malloc.h> + #endif + #include <math.h> diff --git a/graphics/transcode/patches/patch-an b/graphics/transcode/patches/patch-an new file mode 100644 index 00000000000..523f60eb289 --- /dev/null +++ b/graphics/transcode/patches/patch-an @@ -0,0 +1,39 @@ +$NetBSD: patch-an,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +diff -rcp tools/tcmodinfo.c tools/tcmodinfo.c +*** tools/tcmodinfo.c Mon May 12 19:44:12 2003 +--- tools/tcmodinfo.c Mon Jun 9 17:48:49 2003 +*************** void tc_error(char *string) +*** 102,108 **** + + void *load_module(char *mod_name, char *mod_path, int mode) + { +! #if defined(__FreeBSD__) || defined (__APPLE__) + const + #endif + char *error; +--- 102,108 ---- + + void *load_module(char *mod_name, char *mod_path, int mode) + { +! #if defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__) + const + #endif + char *error; +*************** void *load_module(char *mod_name, char * +*** 186,192 **** + + + int load_plugin(char *path, int id) { +! #if defined(__FreeBSD__) || defined(__APPLE__) + const + #endif + char *error; +--- 186,192 ---- + + + int load_plugin(char *path, int id) { +! #if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) + const + #endif + char *error; diff --git a/graphics/transcode/patches/patch-ao b/graphics/transcode/patches/patch-ao new file mode 100644 index 00000000000..4bcdc93faae --- /dev/null +++ b/graphics/transcode/patches/patch-ao @@ -0,0 +1,19 @@ +$NetBSD: patch-ao,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +--- avilib/Makefile.am.orig Wed Feb 20 10:11:17 2002 ++++ avilib/Makefile.am +@@ -3,12 +3,12 @@ + AUTOMAKE_OPTIONS = 1.3 foreign + DEFAULT_INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir) -I. + +-noinst_LIBRARIES = libavi.a ++noinst_LTLIBRARIES = libavi.la + + INCLUDES = -I./ + + CFLAGS=-O3 -funroll-loops -ffast-math -DLINUX -Wall @CFLAGS@ +-libavi_a_SOURCES = avilib.c avidump.c avimisc.c ++libavi_la_SOURCES = avilib.c avidump.c avimisc.c + + EXTRA_DIST = avilib.h README.avilib + diff --git a/graphics/transcode/patches/patch-ap b/graphics/transcode/patches/patch-ap new file mode 100644 index 00000000000..e273d8e2676 --- /dev/null +++ b/graphics/transcode/patches/patch-ap @@ -0,0 +1,16 @@ +$NetBSD: patch-ap,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +--- ffmpeg/libavcodec/Makefile.am.orig 2003-05-19 17:27:45.000000000 +1000 ++++ ffmpeg/libavcodec/Makefile.am 2003-06-20 20:26:24.000000000 +1000 +@@ -29,9 +29,9 @@ + + AM_CFLAGS = -O3 -g -Wall -ffast-math $(ALTIVEC) $(X86) $(MMX) -DHAVE_AV_CONFIG_H -D_GNU_SOURCE --include=../av_config.h + +-noinst_LIBRARIES = libtcavcodec.a ++noinst_LTLIBRARIES = libtcavcodec.la + +-libtcavcodec_a_SOURCES = \ ++libtcavcodec_la_SOURCES = \ + common.c utils.c mem.c allcodecs.c \ + mpegvideo.c jrevdct.c jfdctfst.c jfdctint.c\ + mpegaudio.c ac3enc.c mjpeg.c resample.c dsputil.c \ diff --git a/graphics/transcode/patches/patch-aq b/graphics/transcode/patches/patch-aq new file mode 100644 index 00000000000..156f35c860f --- /dev/null +++ b/graphics/transcode/patches/patch-aq @@ -0,0 +1,16 @@ +$NetBSD: patch-aq,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +--- libac3/Makefile.am.orig Wed Feb 20 10:10:29 2002 ++++ libac3/Makefile.am +@@ -4,9 +4,9 @@ DEFAULT_INCLUDES = -I$(top_srcdir) -I$(s + + CFLAGS = -O3 -funroll-loops -ffast-math -DLINUX @CFLAGS@ + +-noinst_LIBRARIES = libac3_tc.a ++noinst_LTLIBRARIES = libac3_tc.la + +-libac3_tc_a_SOURCES = bitstream.c decode.c imdct.c coeff.c exponent.c stats.c\ ++libac3_tc_la_SOURCES = bitstream.c decode.c imdct.c coeff.c exponent.c stats.c\ + bit_allocate.c parse.c crc.c debug.c rematrix.c downmix.c dither.c \ + sanity_check.c + diff --git a/graphics/transcode/patches/patch-ar b/graphics/transcode/patches/patch-ar new file mode 100644 index 00000000000..c75718aa005 --- /dev/null +++ b/graphics/transcode/patches/patch-ar @@ -0,0 +1,16 @@ +$NetBSD: patch-ar,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +--- libvo/Makefile.am.orig Wed Feb 20 10:10:29 2002 ++++ libvo/Makefile.am +@@ -3,9 +3,9 @@ AUTOMAKE_OPTIONS = 1.3 foreign + DEFAULT_INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir) -I. + + CFLAGS = -Wall @CFLAGS@ -I../libmpeg2 -I$(srcdir)/../libmpeg2 +-noinst_LIBRARIES = libvout.a ++noinst_LTLIBRARIES = libvout.la + +-libvout_a_SOURCES = video_out.c video_out_ppm.c video_out_yuv.c yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c cpu_accel.c rgb2yuv.c ++libvout_la_SOURCES = video_out.c video_out_ppm.c video_out_yuv.c yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c cpu_accel.c rgb2yuv.c + + noinst_HEADERS = yuv2rgb.h video_out_internal.h video_out.h rgb2yuv.h mmx.h mm_accel.h + EXTRA_DIST = COPYING AUTHORS README diff --git a/graphics/transcode/patches/patch-as b/graphics/transcode/patches/patch-as new file mode 100644 index 00000000000..c5b2930a509 --- /dev/null +++ b/graphics/transcode/patches/patch-as @@ -0,0 +1,28 @@ +$NetBSD: patch-as,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ + +--- libvo/cpu_accel.c.orig 2003-03-09 06:13:27.000000000 +1100 ++++ libvo/cpu_accel.c 2003-06-21 03:24:18.000000000 +1000 +@@ -33,9 +33,12 @@ static uint32_t arch_accel (void) + uint32_t caps; + + #define cpuid(op,eax,ebx,ecx,edx) \ +- asm ("cpuid" \ ++ asm ("pushl %%ebx\n" \ ++ "cpuid\n" \ ++ "movl %%ebx, %1\n" \ ++ "popl %%ebx\n" \ + : "=a" (eax), \ +- "=b" (ebx), \ ++ "=r" (ebx), \ + "=c" (ecx), \ + "=d" (edx) \ + : "a" (op) \ +@@ -50,7 +53,7 @@ static uint32_t arch_accel (void) + "pushfl\n\t" + "popl %0" + : "=a" (eax), +- "=b" (ebx) ++ "=r" (ebx) + : + : "cc"); + |