Commit graph

278 commits

Author SHA1 Message Date
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
drochner
775b0fecf3 normalize a "struct timeval" before use as timeout in select(2),
suggested by Mihai Chelaru per PM
(affects RTP)
bump PKGREVISIONs
2006-06-14 10:30:06 +00:00
drochner
9ee10a6401 update to 1.0pre8
too many changes to list here, see the ChangeLog
most visible: security patches and DragonFly support were intrgrated
upstream, new gmplayer look&feel (like it or not...)
2006-06-13 17:25:00 +00:00
drochner
229196596e -use the "try2" distfile, it already contains the fix for the PCM decoder
which we had a patch for
-add another patch from the Mplayer site which fixes CVE-2006-0579
 (ASF demuxer overflows)

bump PKGREVISIONS of mplayer, mencoder and gmplayer
2006-04-13 14:05:34 +00:00
taca
2d15ea6c5a Make action line begin from tab character removing two spaces. 2006-03-17 02:53:00 +00:00
reed
b23aff88ca Use PKGMANDIR instead of "man". 2006-03-11 04:20:36 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
e6924da947 Update to 1.0rc7nb2: Adapt for new mplayer-fonts package.
Fix a few pkglint warnings while here.
2006-02-03 00:39:55 +00:00
kristerw
d0074b2d1a Prevent configure from finding compilers that exist outside of what
is handled by the pkgsrc wrappers.
2005-12-31 01:09:56 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
salo
ff0f7770ff Security fix for SA17892:
"A vulnerability in FFmpeg libavcodec can be exploited by malicious people
to cause a DoS (Denial of Service) and potentially to compromise a user's
system."

http://secunia.com/advisories/17892/

Fix from ffmpeg CVS repository, libavcodec/utils.c rev. 1.162:

"default_get_buffer() cleanup
fixes probably exploitable heap overflow
heap overflow found by (Simon Kilvington)"
2005-12-10 23:34:41 +00:00
salo
adaa59ec78 Add DTS support via libdca, not enabled by default. 2005-12-09 17:54:25 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
ben
cd86c568f9 Add mplayer-internal-faad option to use mplayer's internal faad library.
The default is to depend on an external faad library, so bump PKGREVISION.
2005-11-26 01:31:50 +00:00
ben
b9b06da641 Add mplayer option for faad2, which uses faad2 from pkgsrc. 2005-11-24 03:59:12 +00:00
rillig
269cc82817 Reverted the last change. Added a comment to why that changed had broken
things.
2005-11-11 06:47:35 +00:00
rillig
d72a720a6b Replaced an overly complex expression with the roughly equivalent
${PKGBASE}.
2005-11-05 17:21:01 +00:00
minskim
5da1da8799 Call isspace(3) with unsigned char, instead of char, to handle
non-ASCII characters properly.  Based on patches provided by Kevin Kim

Bump PKGREVISION for mplayer and gmplayer.
2005-10-24 19:46:05 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
wiz
2c86cb721d More master sites updates from Leonard Schmidt in PR 31271. 2005-10-02 11:23:08 +00:00
wiz
e97a1d4474 Update MASTER_SITES, from Leonard Schmidt on tech-pkg. 2005-09-15 13:27:34 +00:00
dogcow
cc5659358e Security fix for mplayer as given in
http://www.sven-tantau.de/public_files/mplayer/mplayer_20050824.txt .
bump PKGREVISION of affected pkgs.
2005-08-27 06:59:52 +00:00
wiz
935f34d8d9 Add RCS Id, noted by Matthew Luckie. 2005-08-25 14:42:26 +00:00
wiz
f2689a05ac Add ggi option for mplayer, from Christoph Egger in private mail. 2005-07-21 15:20:47 +00:00
wiz
90597615d6 Fix compilation with aalib option. 2005-07-21 14:24:48 +00:00
wiz
4fc6c1af9c Add an aalib option to mplayer. Patch from Leonard Schmidt on tech-pkg. 2005-07-18 12:07:32 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
dillo
08ec0aae74 Legacy option settings belong to PKG_LEGACY_OPTIONS, not PKG_SUGGESTED_OPTIONS.
Store warnings in PKG_OPTIONS_DEPRECATED_WARNINGS.
2005-06-08 16:18:44 +00:00
dillo
d26beb2a29 - only include supported options in PKG_SUGGESTED_OPTIONS
- don't include deprecated variables in BUILD_DEF
- no need to .undef .for loop variables
2005-06-02 16:08:31 +00:00
dillo
ecb0f25eec convert to options framework, noted by Geert Hendrickx 2005-06-02 16:00:56 +00:00
jlam
b090f15cff Check that PKGNAME is defined before using it. 2005-06-01 20:31:38 +00:00
jmmv
cbe4100202 Convert the mplayer* and mencoder* packages to the options framework.
This means that the MPLAYER_ENABLE_RUNTIME_CPU_DETECTION,
MPLAYER_DISABLE_DRIVERS and MPLAYER_USE_MEDIALIB become deprecated
(although still recognized).

Visible changes in the resulting binary packages should be minimum by
default (everything that was enabled before still is, and the same
dependencies are kept).  A notable addition, though, is the support for
user-defined menus, closing PR pkg/29784.

Also note that (almost) all dependencies have now a corresponding option
to disable them in case you want to get a minimalist mplayer package.
'make show-options' is your friend ;)

With thanks to wiz@ and dillo@ for their comments and help.
2005-06-01 18:45:45 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jmmv
de23c20e9b Apply a set of fixes to improve support of other OSes (specially DragonFly).
All these changes are already in mplayer's repository.
Patches provided by Joerg Sonnenberger in private mail.
2005-05-31 19:15:11 +00:00
wiz
fb2e34612e Recognize 0xf706d as faad codec. Needed e.g. for 21c3 videos.
Bump PKGREVISION.
2005-05-30 12:44:09 +00:00
wiz
d2f75a062f regen with updated line numbers 2005-05-30 12:43:30 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
drochner
74bd544634 update to 1.0pre7
some relevant changes:
-RTSP/MMST security patches now in main distribution
-documentation improvements
-x86_64 support fixes
-integrated Tremor decoder for Ogg/Vorbis
-expose support for 422P and 444P raw formats
-dropped support of old FAAD2 versions (<= 1.1)
-support for 32 bit float and extended WAV files
-support for multichannel WAV files
-ALAC (QuickTime lossless audio) support via lavc
-vqf demuxer
-support for Real multirate files
-more user-friendly info about audio and subtitle tracks in Ogg files
-streaming improvements
-ffmpeg updates
-MEncoder usability improvements
-many fixes and cleanups
2005-04-18 17:49:41 +00:00
drochner
2f23636dfa two security patches: Real RTSP heap overflow, MMST heap overflow
(both patches published on the mplayer website)
bump PKGREVISION of affected pkgs
2005-04-16 17:43:09 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
5ae9517d74 Add RMD160 digests. 2005-02-24 11:24:01 +00:00
drochner
396693cd15 SSE(2) support is always present on amd64 - ifdef out the sysctl 2005-01-06 14:40:45 +00:00
drochner
89267fadd5 update to 1.0pre6
This release updates and enhances documentation and translations, adds full X86-64 support, adds 18
 new codecs, updates various codecs, adds special CPU saving options for low end machines, adds
  better support for MacOS X and Windows, and adds uncountable fixes and enhancements all over the
   place.
2005-01-05 15:39:15 +00:00
tron
8dae087d36 Update "mplayer" packages to version 1.0pre5try2 (as 1.0rc5pl2).
Changes since version 1.0pre5:
- buffer overflow in mp3lib fixed
- heap overflow in Real rtsp streaming code fixed
- stack overflow in mmst streaming code fixed
- unnecessary bmp demuxer removed because of buffer overflows
- heap overflow in pnm streaming code fixed
This fixes the vulnerabilities reported by iDEFENSE recently.
2004-12-17 22:33:13 +00:00
wiz
2a65b48bea Fix faad2 test in configure script on -current;
based on PR 26412 by Tom Spindler.
Bump PKGREVISION on all affected packages.
2004-11-06 00:47:34 +00:00
wiz
69106eb2a0 Add dependency on libtheora; bump PKGREVISION. 2004-08-18 13:35:06 +00:00
wiz
7beb3c424c Unlocking a mutex before destroying it makes libpthread much happier. 2004-07-24 01:19:34 +00:00
salo
03fc6a69a6 Remove external Matroska support from mplayer packages.
The new internal demuxer is the only one supported now, works better
and support for the external one will be removed in next releases.
2004-07-20 22:04:44 +00:00
wiz
2dbc9754fa Update to 1.0pre5:
DOCS

    * small additions, corrections, updates all over the place
    * audio output driver section added to the man page
    * several bug fixes and improvements in the MEncoder documentation
    * DVD ripping guide extended and improved
    * AUTHORS file massively extended
    * German man page partially updated
    * Hungarian XML documentation translation started

Ports

    * encrypted DVD playback on Windows fixed (again)
    * Cygwin and MinGW now accept the same -dvd-device syntax
    * LIVE.COM now works under MinGW
    * foundations for MinGW crosscompilation
    * disabled SSE on MinGW as it caused crashes
    * AC3 passthrough for ao_win32
    * improved vo_quartz (YUV, multiple screens support)
    * vo_quartz made default on Mac OS X
    * ao_macosx fixed and made default again on Mac OS X
    * RealVideo binary codecs support on Mac OS X (still buggy)
    * bigendian fixes in vf.c, vo_tga
    * OpenBSD portability fixes
    * OpenBSD/VAX support
    * AMD64 support

Drivers

    * support for more Radeons (9800 XT among them) in VIDIX
    * Radeon related bug fixes in VIDIX
    * vo_gl2 now supports GUI, fix for flickering borders in fullscreen
    * support 24 and 32 bit PCM files, bigendian fixes
    * ao_sdl now converts unsupported formats instead of quitting
    * ENCA support
    * merged ao_alsa9 and ao_alsa1x drivers into ao_alsa
    * NeoMagic TV-out support through VESA
    * JACK audio output driver
    * vo_sdl fixes (wrong flags and screensaver disabling)
    * vo_directx fixes

Decoders

    * MSZH/ZLIB, FLI, QTRLE, RoQ video and RoQ audio support moved to FFmpeg
    * FFmpeg Cinepak and CYUV decoders preferred
    * audio format 0xff support (is AAC)
    * "raw" audio in MOV supported
    * Indeo audio (iac25) support via binary codec
    * upgrade libfaad2 to the FAAD 2.0 release
    * MPEG2 chroma422/444 support
    * Winnov WINX and WNV1 support via binary codec

Demuxers

    * Ogg subtitle handling and other bug fixes
    * Matroska improvements
    * support seeking in Real files without -idx
    * support seeking in Real files without index with -forceidx

Streaming

    * ASF, MMST streaming fixes
    * URL escaping fixed
    * NSA (Nullsoft audio) streaming support
    * embedded RAM playlist support
    * multibyte URL support
    * rtp:// now supported even with LIVE.COM compiled in
    * miscellaneous bug fixes

Filters

    * vf_softskip: frame skipping filter for MEncoder
    * vf_harddup: frame duplication filter for MEncoder
    * vf_pullup minor fixes and improvements
    * AltiVec-optimized YUV to RGB converter
    * vf_spp memory corruption fix on reallocation

FFmpeg/libavcodec

    * MPEG2 encoding with 8, 9, 10, 11 bit intra DC precision
    * DC clipping fix, intra_dc_precision > 0 support
    * Cinepak fixes and palette support
    * support skipping of MB rows during decoding
    * Vorbis in NUT fixed
    * NUT updated to latest specification
    * segfault and artifact fixes in SVQ3 decoder
    * motion estimation code: overflow and chroma fixes
    * change qscale -> lambda for the motion estimation
    * noise preserving sum of squares comparison function in ME code
    * fixed memory overwrite in truemotion decoder
    * clip input motion vectors, better error tolerance on bad vectors
    * FLAC decoder cleanup (partial demuxer/decoder separation)
    * memalign hack for SSE/SSE2 on that alternative OS :)
    * lots of AltiVec optimizations
    * qscale + qprd fix
    * QTrle4 support
    * H.261 decoder
    * coefficient saturation fix in H.263
    * H.263 MCBPC fix
    * per line lowpass filter in MMX and faster C lowpass filter
    * SVQ1 encoder
    * as usual, lots of bug fixes and optimizations

Others

    * fullscreen fixes for many window managers
    * fix crash on original Pentiums and older
    * dvd://start-end support
    * netstream (mpst://) support fixed
    * support comments in plaintext playlists
    * loader/ dependency removed
    * keepaspect option extended to all video output drivers
    * WMA to Ogg conversion and simple subtitle editing script added to TOOLS
    * support for more lame options
    * new set of GUI icons
    * memory conserving implementation of GUI potmeters
    * X11 code reindented
    * further gcc 3.4 support fixes
    * mixer API written for changing volume through libaf
    * -rtc-device option for specifying the RTC device
    * desktop/menu icon added
    * miscellaneous bug fixes and cleanups
    * multi-threaded encoding with lavc
    * fixed a bug with Real files introduced in pre4
    * -use-stdin renamed to -noconsolecontrols
2004-07-17 19:06:36 +00:00
grant
330662f609 fix ?= typo: we want to add arts to MPLAYER_DISABLE_DRIVERS on Solaris. 2004-07-16 14:40:22 +00:00
drochner
b561128ec8 apply the patch from the mplayer site to fix buffer overflow
vulnerabilities in the GUI
2004-07-02 17:07:21 +00:00
grant
1eb65c0036 bump PKGREVISION in individual pkg Makefiles because there was no
change to mplayer-share.
2004-06-26 18:37:06 +00:00
grant
c3d194ca34 bump PKGREVISION for libdv dependency. 2004-06-26 18:35:27 +00:00
grant
09cda05f19 include support for libdv. 2004-06-26 18:33:31 +00:00
grant
22ef173c4b add a big obvious comment pointing out that gmplayer has its own
distinfo file and that both the gmplayer and mplayer-share distinfo
files must be maintained.

(out of 25 files between them, only 3 were actually shared.. oops)
2004-06-21 09:40:16 +00:00
tron
2cca877332 Add missing checksum for various fonts. 2004-06-21 06:28:56 +00:00
wiz
4f52733a14 Update for currently available skins. Closes PR 25737. 2004-06-18 18:43:23 +00:00
grant
de6d357a36 mplayer really needs gcc to build. 2004-05-16 10:15:49 +00:00
grant
2cc385d76b only bring in xvidcore on i386. 2004-05-16 10:15:21 +00:00
grant
86a77ca152 include cdparanoia support on FreeBSD, too. 2004-05-16 08:59:36 +00:00
grant
de597f2434 conditionally set MPLAYER_DISABLE_DRIVERS for Solaris, don't override
it.
2004-05-16 08:46:43 +00:00
grant
6a3a78689b move gmplayer's distinfo to mplayer-share/. noted by wiz. 2004-05-14 09:36:57 +00:00
grant
513c9dffdf apply patch from Jukka Salmi (thanks!). applies the same option
parsing logic for X libraries as non-X libraries to ensure mplayer is
linked with the right rpath to the X libraries.

fixes my PR pkg/25268.
2004-05-14 09:27:32 +00:00
grant
8a0a29d926 use mplayer-share/distinfo instead of keeping two copies. 2004-05-14 09:22:35 +00:00
wiz
6b7f295bb4 Update to 1.0pre4:
MPlayer 1.0pre4: "YAML Counter"

Security:

    * HTTP parser remote heap overflow vulnerability fixed
	[already fixed in package previously]
    * Real RTSP remote buffer overflow vulnerability fixed
    * buffer overflow in the Matroska demuxer
    * potentially exploitable buffer overflow in CDDB TOC code

DOCS:

    * new Copyright file covers files from other projects and their licenses
    * new DOCS/tech/translations.txt explains how to properly translate MPlayer
    * new Japanese console message translation
    * Polish translation finished
    * Italian man page translation
    * DVD ripping guide
    * telecine/interlacing guide
    * video out driver section added to the man page
    * XML build system rewritten - now supports building individual languages
    * miscellaneous updates all over the place

Ports:

    * better PA-RISC detection
    * support for VAX (tested on VAXstation 4000/VLC) -- really, believe me!
    * optimizing for specific MIPS CPUs under IRIX
    * AMD64 detection under BSDs
    * fbdev driver updated for Linux 2.6
    * support for ELF only OpenBSD
    * optimizing for PPC 970 (aka G5)
    * SDL support fixed on MinGW
    * VIDIX working under Windows XP/2000 (native dhahelper)
    * builds out of the box under GNU Hurd
    * SSE optimizations enabled under MinGW
    * SSE support under OpenBSD
    * AltiVec support under NetBSD
    * GCC 3.4 support (due to changed behaviour in ASM code snippets)

Demuxers:

    * Matroska containing RealVideo works better
    * fixed random segfaults in VIVO
    * endianess fixes in CDDA
    * UYVY support in tvi/v4l2
    * tvi/bsdbt848 now working under FreeBSD 5.2-CURRENT
    * tvi/bsdbt848 audio part working under NetBSD
    * LIVE.COM demuxer updated to conform with latest libraries
    * new, independent, C implementation of the Matroska demuxer
    * fix for rare Real files
    * more robust Real demuxer (can resync after errors)
    * support for AAC inside Real
    * MPEG Aspect code 4 fixed
    * support for selecting subtitle streams with -slang inside Ogg
    * wrapper demuxer for FFMpeg's libavformat (Nut is playable this way)
    * much improved seeking in Ogg
    * Nullsoft streaming video (NSV) demuxer
    * AVI OpenDML read and write support

Streaming:

    * smil playlist parser
    * support for URL redirection
    * support for seeking in HTTP streams
    * updated LIVE.COM streaming code
    * fallback to live.com RTSP after Real RTSP
    * suggests -playlist if normal streaming fails
    * many improvements and bug fixes in the streaming code

Decoders:

    * compilation failure without zlib in vd/lcl fixed
    * removed obsoleted decoders (which were moved to libavcodec), affected: vd/8bps, vd/msrle, vd/msvideo1, vd/rpza, vd/smc
    * workaround for buggy codecs in ad/acm (support for Sharp G.726)
    * fixed chroma-swapping in Hauppauge Macroblock decoder
    * AltiVec optimized resampler in liba52
    * support for VP5 and VP6 DLL decoders
    * support for Alparysoft lossless video codec (through DLLs)
    * support for Lead MCMW wavelet video codec (through DLLs)
    * HE-AAC working through libfaad
    * removed libmpflac in favor of FFmpeg's FLAC implementation
    * liba52 dynamic range compression support

Filters:

    * vf_bmovl bugfixes
    * vf_filmdint now handles 15fps NTSC input
    * huge updates and speedup on vf_pullup
    * big updates to vf_ilpack (proper interpolation and MMX optimizations)
    * vf_zrmjpeg: fast MJPEG encoder using libavcodec for Zoran
    * interlaced scaling support in vf_scale
    * vf_kerndeint: adaptive deinterlacer
    * vf_rgbtest: rgb test pattern generator for developers
    * vf_qp: qp change filter
    * vf_noformat: the same as vf_format but with reversed meaning
    * AltiVec optimized SWScaler
    * vf_phase: phase shift fields
    * vf_divtc: duplicate frame removal from deinterlaced telecined video

Drivers:

    * ao/esd behaves better over network now
    * support for Radeon 9200/9600/9600 Pro/9700 in VIDIX
    * -mixer support for alsa9
    * fixed OSS audio grabber module with hardware not supporting 44khz
    * native ALSA 1.x support (not through 0.9 emulation)
    * better multibuffer support in VIDIX nVidia driver
    * pan & scan support in VIDIX nVidia driver
    * support for more cards in VIDIX nVidia driver
    * vo_libcaca: color ASCII art output driver
    * vo_quartz: native MacOS X/Quartz video output
    * support for VIDIX when ATI FireGLX drivers are used

FFmpeg/libavcodec:

    * H.263 AIC and MQ encoding support
    * fixed low delay decoding
    * fixed H.263+ encoding without UMV
    * lots of CBR improvements
    * MB type and QP visualization
    * lots of code cleanup
    * intra & inter dequantization split -> speedup
    * fixed stereo IMA ADPCM encoding
    * VBV delay setting support (MPEG2 CBR)
    * improved RV20 decoder (most known errors eliminated)
    * interlaced DCT
    * interlaced motion estimation
    * interlaced MPEG2 encoding
    * 4MV encoding fixes
    * initial interlaced MPEG4 encoding
    * improved visual quality in SVQ3 decoder
    * fixed never-before-tested embedded string decoder in SVQ1
    * optimized quantization (including the trellis way)
    * Sierra VMD video decoder
    * MMX and SSE2 optimized H263 denoiser
    * better SVCD compliance (encoder side)
    * MMX and MMX2 optimized interlaced DCT decision
    * various cleanup, memleak and segfault fixes
    * optimized (2x faster) the MPEG layer 3 decoder
    * grayscale coded MJPEG decoding support
    * avimszh and avizlib decoders
    * "packed" XviD decoding
    * fixed some bugs in RV20 B-frames decoding
    * closed GOP encoding
    * SSE2 optimized FDCT
    * support for quantizer noise shaping
    * support for EA ADPCM and SMJPEG IMA ADPCM
    * QT RLE decoder
    * OBMC fixes
    * FLAC decoder
    * better support for DivX5
    * MMX and SSE2 optimized VP3/Theora decoding
    * support for Theora alpha3
    * many H.264 improvements
    * more robust MJPEG startcode search mechanism
    * better WMV8 decoding
    * native Sparc VIS optimizations
    * native G.726 codec

Others:

    * -codecs-file option for specifying alternative codecs.conf file
    * fixed some minor bugs in the GUI
    * prevent sig11 when $HOME is not set
    * fix some command line handling corruptions
    * Swedish and Polish yes/no options in config files
    * support binding F11 and F12 keys
    * TOOLS/divx2svcd updated
    * stricter thread code in Win32 loader (works under NetBSD)
    * PJS subtitle support (was: dunnowhat)
    * TOOLS/avifix: simple tool to fix chunk sizes in AVI files
    * proper extraheader handling when libavcodec is used in MEncoder
    * AVI OpenDML read and write support
    * AVI VPRP (video property) read and write support
    * fixed long standing lame quality option off-by-one bug in MEncoder
    * MPL2 subtitle support
    * less verbosity in Win32 loader and other places
2004-04-28 15:54:46 +00:00
salo
e4dfbea9c0 Make Matroska support optional, enabled by default. Per request by veego@
mencoder:
- ride the cdparanoia-related PKGREVISION++
- remove superfluous --disable-nas, already pulled in from Makefile.common
2004-04-10 12:23:55 +00:00
salo
89b5657325 PKGREVISION++
Fix cdparanoia detection after bl3ification.
2004-04-10 12:16:12 +00:00
salo
2136a8b182 PKGREVISION++
Add Matroska support.
2004-04-07 12:57:58 +00:00
salo
c7a9c23305 Fix CPU family detection on NetBSD with /proc mounted with "-o linux".
For more information see also PR kern/25076
2004-04-06 18:33:10 +00:00
wiz
bf0c4649ed Upgrade mplayer, gmplayer, and mencoder to PKGREVISION 2:
Fix remotely exploitable buffer overflow.
2004-03-31 13:23:27 +00:00
xtraeme
f74184072d Hmm, remove an extra "\" in CONFIGURE_ARGS. 2004-03-06 12:09:53 +00:00
jmmv
d5818b586d bl3ify 2004-02-20 17:23:44 +00:00
xtraeme
2771596b7f Force detection of X11 headers/libraries via -with-x11{inc,lib}dir,
because XFree86 could be installed somewhere (/usr/pkg/X11R6 for
example :-).
2004-02-17 05:28:31 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
recht
24ce0c48df catch up with the move of libdvdcss, libdvdplay and libdvdread from misc
to multimedia category
2004-01-28 14:39:36 +00:00
jmmv
ed1ef377b3 Fix path to xvidcore (moved to the multimedia category). 2004-01-26 12:42:02 +00:00
jmmv
97801837f9 Move mplayer-share to the multimedia category (coming from graphics).
This is version 1.0rc3.
2004-01-26 12:06:40 +00:00