Commit graph

129 commits

Author SHA1 Message Date
joerg
a5da2db2f6 Set RESTRICTED and derive NO_* from it. 2008-09-08 14:32:42 +00:00
abs
76c83885dc Add faac option (disabled by default 2008-08-21 11:37:53 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
tonnerre
634506bef2 Add a patch for CVE-2008-1558 to mplayer. This fixes a buffer overflow in
the RealRTSP SDP code which can be exploited to execute arbitrary code
remotely.
2008-05-11 03:46:24 +00:00
joerg
f0c5f1f2d9 Add fix for a crash / stack corruption with ASS. Bump revision. 2008-04-14 06:55:47 +00:00
wiz
8bda8c0d57 --enable-x264 confuses the configure script, it's better to avoid
it and let it find out for itself.

Fixes mencoder build.

Reported and fixed by David Sainty.
2008-03-25 15:35:36 +00:00
tnn
3b627b7337 If using the mplayer-ssse3 option, then include override-as.mk from binutils. 2008-03-24 23:44:19 +00:00
wiz
e22cf4bee0 Add x264-devel include, seems to be needed after all. 2008-03-16 21:22:45 +00:00
wiz
6fe43a8439 Add x264 option and default it to on (since it occurs no additional
dependencies). Bump PKGREVISION.
2008-03-16 11:56:48 +00:00
tnn
6e96c58763 Missing include of <errno.h>. PR pkg/38105 2008-02-26 18:14:30 +00:00
jdc
09275ef5bd `xvid' also works on sparc64. Rearrange the options to account for this. 2008-02-24 22:24:34 +00:00
rillig
05796a6912 Added "debug" option. 2008-02-13 00:55:55 +00:00
tnn
e3ff768630 Fix a pbulk scan failure. mplayer is only available with gcc, but
the Makefile.cflags naively checked the value of CC_VERSION which is
unset if we're not using gcc. Found with Solaris x86 and sunpro.
2008-02-08 10:17:26 +00:00
drochner
80ba1e8793 add some patches from upstream which fix CVE-2008-0485, CVE-2008-0486
and two unnamed buffer overflows, bump PKGREVISION of affected pkgs
2008-02-05 17:00:35 +00:00
gdt
c5a59a21ce Fix parallel builds by adding dependencies, and reenable them. 2008-01-03 13:34:36 +00:00
wiz
99d2459102 Add vidix option, only for Linux.
Fixes build on NetBSD/amd64.
2007-12-27 13:19:40 +00:00
drochner
84aa0c81e1 disable ssse3 in the standard case, this makes the pkg build on NetBSD
because ssse3 needs a newer assembler than we have,
add an option to enable it, which pulls in devel/binutils to get a
recent assembler
2007-12-21 17:41:12 +00:00
tron
065bec2404 Fix NetBSD-specific bug in "configure" script which broke the detection
of a lot of X11 libraries. Problem noted by Matthias Drochner in
private e-mail.

Bump package revision because of this fix.
2007-12-21 16:07:48 +00:00
tron
2bb5d9f0da Update "mplayer", "mplayer-share", "mencoder" and "gmplayer" packages
to version 1.0rc2 (as 1.0rc10).
Changes since version 1.0rc1 (known as 1.0rc9 in "pkgsrc"):
- A lot of new audio and video decoders and other improvements
- A large number of bug fixes
- Updated documentation
- Support for Mac OS X Intel

Approved by Thomas Klausner (because it fixes the Darwin-i386 build).
2007-12-21 11:31:11 +00:00
tron
8102d31ba4 Fix inconsistency (using "#pragma pack()" without ever using
"#pragma pack(<n>)". This brings us one step closer to building the
"mplayer" package under Mac OS X Intel.
2007-12-18 22:57:43 +00:00
heinz
b48feeb6d7 The ability to use DESTDIR correctly should be determined package by
package and not in commonly used Makefile fragments.
2007-12-15 15:14:26 +00:00
drochner
3a7069df43 apply a security fix from upstream CVS:
Check wLongsPerEntry before using it.
This fixes a potential crash for some values of it.
As a side effect it works around broken callocs with an integer
overflow vulnerability, but using MPlayer on such systems should
never be assumed to be safe!

This should fix SA26806 (http://secunia.com/advisories/26806/).

bump PKGREVISIONs
2007-09-13 19:16:01 +00:00
abs
3c094d56a2 If the *mplayer* packages are going to default to setting cflags
to target a pentium pro if mplayer-runtime-cpudetection is enabled
then at least put it under an option so it can be turned off:

	mplayer-default-cflags

For example, all of my machines are p3 or better, so I prefer to
use "-march=pentium3 -mfpmath=sse -msse2", but I still want
mplayer-runtime-cpudetection to handle amd64 / Intel core at runtime.
2007-09-06 18:31:00 +00:00
rillig
6e9fe3ec0d Removed the dependency on binutils. It had never been documented why
this is needed at all, and why only on NetBSD. If someone knows, please
re-add the code and _comment_ it properly.
2007-08-15 13:23:27 +00:00
tron
988e8fa521 Enable runtime CPU detection on PowerPC-based platforms, too. This allows
using an "mplayer" binary built on a G5 based Mac OS X system on e.g.
a G4 based Mac OS X system.
2007-07-11 20:39:38 +00:00
wiz
7a6acb4483 Add patch provided by Nathan Arthur in PR 34980 based on a posting by
Glenn Maynard on ffmpeg-devel that should fix the gmplayer compilation
problem on NetBSD-3.x.
2007-07-05 05:18:50 +00:00
tron
a52f45cddb Regenerate the "distinfo" for the "mplayer" package, too. Bump the
package revision again because the patch didn't get applied previously.
Problem pointed out by Geert Hendrickx.
2007-06-08 10:07:17 +00:00
tron
3c013a9fee Add patch from the MPlayer SVN repository to fix an overflow in the
CDDB code reported in CVE-2007-2948. Bump package revision.
2007-06-07 13:19:54 +00:00
drochner
c7b82234aa pull in a patch from mplayer CVS to fix buffer overflow in DMO reader, see
http://lists.grok.org.uk/pipermail/full-disclosure/2007-March/052738.html
bump PKGREVISIONs
2007-03-09 15:14:16 +00:00
drochner
e4740b51b2 normalize timeval for select() timeout in udp stream handler, from
Mihai Chelaru per PR pkg/35444
bump PKGREVISIONs
2007-02-23 19:19:39 +00:00
drochner
4c948e743f add the libdvdnav fixes we have applied to (all?) the other instances
here too, just for consistency. The code is not used, due to a
--disable-mpdvdkit configure option.
2007-01-25 18:31:16 +00:00
drochner
f412506948 add limit check to real parser (identical to CVE-2006-6172)
from mplayer svn

bump PKGREVISIONs
2007-01-09 14:49:33 +00:00
joerg
e7a8697fff Remove the external vorbis dependency as the internal implementation
based on tremor is used by default. In the long term, it might end up
replaced with the ffmpeg version as well. Noticed in PR 31587.
Bump revision.
2006-12-27 21:14:12 +00:00
drochner
a828eb4049 Move fontconfig/buildlink3.mk to a common makefile fragment, so that
mencoder gets it too. Without that, fontconfig vertions from pkg and
X11R6 get mixed which is bad. Bump mencoder's PKGREVISION.
2006-12-07 14:09:02 +00:00
joerg
f489170f57 Move extra X11 includes to Makefile.common and bump revision of mplayer. 2006-11-30 15:00:45 +00:00
abs
239253bc04 Fix path to cdda_interface.h and cdda_paranoia.h in the #ifndef
HAVE_LIBCDIO case
2006-11-30 14:03:13 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +00:00
joerg
43692cdf60 DESTDIR support and convert to mdular buildlinks. 2006-11-06 14:06:17 +00:00
wiz
043872066e Update mplayer-share, mplayer, mencoder, and gmplayer to 1.0rc9 (which
is upstream 1.0rc1, but we already used rc for the previous versions).

With valuable help from drochner, thanks!

ChangeLog:
MPlayer 1.0rc1: "Codename intentionally left blank"

DOCS:

    * German documentation translation finished
    * Russian documentation translation synced and almost finished

Drivers:

    * IVTV hardware MPEG audio/video decoder output
    * ALSA audio output: AC3 passthrough now works even when the device name of the digital output port has been set by the user
    * bicubic OpenGL scaling works with ATI cards
    * md5sum switched to the libavutil MD5 implementation
    * support for libcaca 1.0 via compatibility layer

Decoders:

    * liba52 updated to 0.7.4 (slightly faster)
    * SSE optimizations for mp3lib
    * removed support for obsolete and non-free divx4 libraries

Demuxers:

    * audio stream switching in MPEG-TS/PS, Matroska and streams supported by libavformat
    * audio stream switching between streams with different codecs
    * libavformat demuxer now honors -alang
    * chapter seeking in Matroska files
    * fixed seeking to absolute and percent position for libavformat demuxer
    * NUT demuxer using libnut
    * Matroska SimpleBlock support

Inputs:

    * split of stream layer from libmpdemux to new stream library
    * PVR input for hardware MPEG encoder based cards, such as Hauppauge WinTV PVR-150/250/350/500 AKA IVTV but also pvrusb2 and cx88 (requires Linux >= 2.6.18 kernel, featuring native V4L2 MPEG API)
    * native RTSP input (handles MPEG-TS over RTP) for generic RTSP servers
    * support for seeking to chapters in dvd:// and dvdnav:// streams
    * radio support (radio://)

FFmpeg/libavcodec:

    * VC-1/WMV3/WMV9 video decoder
    * Vorbis decoding speedup, now default Vorbis decoder
    * VMware Video decoder
    * On2 VP50 and VP62 decoder
    * lossless audio decoders: WavPack, TTA, Shorten
    * CAVS decoder
    * GXF muxer/demuxer
    * MXF demuxer
    * much improved FLAC encoder
    * more H.264 decoding speed improvements, plus support for -lavdopts fast
    * Theora decoder fixes
    * preliminary Vorbis encoder
    * MTV demuxer

GUI:

    * Windows version added
    * drag-and-drop ignored last file
    * save and load cache setting correctly
    * working audio stream selection for Ogg and Matroska files
    * executable names like gmplayer_old etc. will now start GUI as well
    * -gui/-nogui options
    * xinerama fixes, now behaves similar to MPlayer without GUI

Filters:

    * MMX-optimizations for -vf yadif
    * MMX-optimizations for -vf zrmjpeg

MEncoder:

    * support of x264 encoding via libavcodec
    * rewrite -x264encopts option parser to use the 264 option parser; likely breaks 3rd party tools as the syntax of some options has changed
    * removed support for obsolete and non-free divx4 libraries

Ports:

    * partial Intel Mac support, --disable-win32 --disable-mp3lib is needed
    * OpenGL can now create windows > screen size under Windows
    * allow filenames starting with \\ for remote paths on Windows

Others:

    * SSA/ASS subtitle renderer
    * -endpos option for MPlayer
    * -correct-pts option
    * UTF-8 used for OSD and subtitles, some bitmap fonts will no longer work correctly and -subcp must be set for all non-UTF-8 subtitles
    * more audio-truncation fixes
    * libavutil mandatory for MPlayer compilation
    * more intuitive -edlout behaviour
    * -nortc is now default since -rtc has disadvantages with recent kernels
2006-10-31 22:33:28 +00:00
rillig
8cca367618 Fixed PKGMANDIR. 2006-10-25 21:00:46 +00:00
wiz
e341dfe73d Only support mplayer-win32 on i386 (for now).
The codecs package is restricted to i386.
From rudolf on pkgsrc-users.
2006-10-13 20:13:14 +00:00
rillig
183a50eb64 Fixed "test ==" and $RANDOM. 2006-10-11 18:32:40 +00:00
grant
8e862b7dd2 turn libsmb support off, instead of relying on autodetect. fixes
problem on Solaris which has libsmbclient but not libgnutls, on which
it depends.
2006-10-10 23:58:49 +00:00
tron
c3d3ff6f22 Don't offer the "oss" option on platforms which don't support OSS.
This fixes the build under Mac OS X. Sounds playback works fine via
the "macosx" audio driver on this platform.
2006-10-03 14:47:40 +00:00
tron
b09bca1c75 Fix a few broken "test ... ==" checks in the configure script found
by "check-portability.mk".
2006-10-03 14:32:24 +00:00
wiz
1f3a4ab1b1 Fix path on ftp5.mplayerhq.hu. 2006-08-23 18:13:19 +00:00
wiz
999dbdb5ab Recognize cpu type on x86_64. Patch from Rhialto in PR 33946. 2006-08-04 21:01:21 +00:00
wiz
f96c7840bb Allow xvid option on x86_64, too.
Suggested by Eye of the Beholder on pkgsrc-users.
2006-08-04 20:48:25 +00:00
wiz
ed0e2a5570 Use -mtune for gcc4, not -mcpu. Should fix PR 33754. 2006-06-27 21:51:21 +00:00
dogcow
62e062517c hack around lvalue casting nonsense; mplayer now compiles with gcc4. 2006-06-15 21:58:55 +00:00