Commit graph

278 commits

Author SHA1 Message Date
drochner
d3ba1f078f add patch from ffmpeg to fix an integer signedness error in CAVS codec
which can cause crashes or possibly allow code execution
(CVE-2011-3362)
bump PKGREV
2011-11-02 16:35:14 +00:00
sbd
e93e5d65e3 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:11:52 +00:00
jmcneill
b218fe1951 If AUDIO_GETBUFINFO is available, use it whenever possible in preference
to AUDIO_GETINFO. This should reduce playback CPU usage.
2011-10-24 13:06:05 +00:00
drochner
23f5b8d34a add patch from upstream to fix possible buffer overflow in "sami"
subtitle reader
bump PKGREV
2011-10-18 16:04:35 +00:00
obache
c5d8a2a356 Recursive bump from gdbm shlib bump. 2011-08-23 13:06:45 +00:00
jmcneill
fc706f41c7 add support for dvb capture on netbsd 2011-07-09 15:51:51 +00:00
wiz
bb9a64d04d Remove gcc restriction added in 2004.
Let's see if it's still requiring gcc-only in 2011.

Addresses PR 44981.
2011-05-18 08:28:39 +00:00
obache
9ea3b36c23 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
drochner
205d9a9128 libungif/buildlink3.mk -> mk/giflib.buildlink3.mk 2011-03-09 16:34:02 +00:00
wiz
56d4c849e9 Fix build with png-1.5. 2011-01-14 10:44:27 +00:00
wiz
4a85d9393e png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:53:23 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
shattered
6066d9ef25 PR/37694: add optional support for libcaca. Tested on 4.0/i386. 2010-12-17 19:05:35 +00:00
tsutsui
1709b19b81 Make mplayer build on NetBSD/sh3el.
Build tested on NetBSD/landisk 5.1 and player tested on NetBSD/dreamcast 5.1.
(though some more packages need hacks/fixes for XFree86 and SH3)
2010-12-05 16:42:16 +00:00
tron
34ce035ceb Add fix for the vulnerability reported in CVE-2010-3429 taken from
MPlayer's GIT repository.
2010-11-23 12:31:29 +00:00
ahoka
fa6e5e2410 drop maintainership 2010-10-24 21:56:51 +00:00
wiz
17c8d7c079 Update to 20100913, provided by Aleksey Cheusov via wip.
One year of changes.
Ok ahoka@
2010-09-16 18:56:11 +00:00
wiz
794a966e6d Remove unused variable pointing to non-existent dir.
pkglint is now much happier.
2010-09-05 23:01:48 +00:00
wiz
c9c8a67927 Fix build on Solaris, from Aleksey Cheusov in PR 43841. 2010-09-05 23:00:55 +00:00
wiz
e5bae12684 Add vdpau option, on the platforms where it is supported.
From Aleksey Cheusov in PR 43658.
2010-09-01 20:55:56 +00:00
tsutsui
058b897908 Fix build failure and make mplayer work properly on NetBSD/arm:
- workaround name conflict with system header <arm/bswap.h> in libavutils
   by subst.mk replacement
 - explicitly disable armv5te, armv6, and armv6t2 options that are enabled
   by autodetect code in configure but cause illegal instruction errors
   on StrongARM and XScale machines

Tested on NetBSD/hpcarm (WS011SH) and NetBSD/shark (Funai's DNARD) 5.99.38.
2010-08-12 15:28:46 +00:00
ahoka
7bde7111c9 Add an sf.net mirror. 2010-01-03 23:42:44 +00:00
tnn
f7fdee6c9a mirrored the distfile due to unavailability 2010-01-01 17:54:38 +00:00
hasso
951f97d078 Fix build on DragonFly. 2009-11-07 18:43:36 +00:00
pooka
f1a8e7b3a4 fix option names 2009-11-04 16:00:54 +00:00
tnn
ae422b8e45 Fix build with dts option:
# The configure handling for --enable-libdca is broken.
# However, it works if you omit the argument and let
# configure autodetect support.
2009-10-20 09:53:28 +00:00
ahoka
0017ba3d86 Take 2 on trying to make this work on OSX. 2009-10-19 00:13:07 +00:00
ahoka
eb62daeb5c Upgrade to the SVN snapshot as of 2009-10-17.
The builtin libavcodec now uses yasm to assemble hand written
h264 code. The older x264 we currently have in pkgsrc is not supported
by mplayer, so I had to do some hand tweaking to make it work.
It may contain bugs because of this, so report any fallouts with h264.
2009-10-18 22:22:10 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
wiz
6843b73577 Note which other packages use this Makefile fragment. 2009-08-09 19:25:50 +00:00
wiz
abe1cb8415 Add RCS Id and comment. 2009-08-09 19:20:49 +00:00
kefren
9aaa49e196 add fix for SA26157. Bump PKGREVISION 2009-08-09 12:56:11 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
c889b640e8 Allow faad options for mencoder as well.
From Hiroyuki Bessho in PR 41403.
2009-05-11 08:24:58 +00:00
jmcneill
78d901ed40 Configure script misdetects endianness on NetBSD/sgimips, so pass
--enable-big-endian for OPSYS=NetBSD and MACHINE_ARCH=mipseb
2009-03-06 01:54:14 +00:00
jmcneill
c876c652bf Map mipsel/mipseb -> mips in the configure script. 2009-03-06 01:33:12 +00:00
drochner
497cc0cdd9 -add a patch from upstream to fix CVE-2008-3162
(stack-based buffer overflow in the str_read_packet function in
   libavformat/psxstr.c)
-add (a modified version of) the ffmpeg 4xm patch which fixes
 possible memory corruption
bump PKGREVISION
2009-02-02 19:20:48 +00:00
shattered
2fc690d1ac Unbreak build with pulseaudio support (configure check failed because
of missing glib2 dependency).
2009-01-03 15:18:18 +00:00
jmcneill
86cc8e0b1a Backport PulseAudio driver from MPlayer SVN. 2008-12-20 00:43:47 +00:00
bjs
93fc3964fc Revision bump for x264-devel. 2008-12-18 17:46:53 +00:00
bjs
2517bc1e7c Add patch for new x264. 2008-12-18 16:44:27 +00:00
bjs
a1216a3df2 PKGREVISION bump for packages using mplayer-share due to x264 update. 2008-12-18 16:40:57 +00:00
tron
b44f83d476 Add security patch from MPlayer SVN repository to fix a buffer overflow
in the TwinVQ media file decoder.
2008-12-15 15:37:58 +00:00
wiz
1f47c55f9b Add a patch for better VCD support from Sergey Svishchev.
Fixes PR 20549.
2008-10-20 07:40:00 +00:00
tron
ae280acc04 Apply patch from MPlayer subversion repository to fix CVE-2008-3827.
Bump package revisions of "mplayer", "gmplayer" and "mencoder" packages.
2008-10-02 12:32:41 +00:00
jmcneill
7802e5d74a Fix corrupt patch-vb 2008-09-09 12:13:13 +00:00
jmcneill
8ec6886932 regen 2008-09-09 12:07:58 +00:00
jmcneill
aba6b5e838 Add $NetBSD$ 2008-09-09 12:07:45 +00:00
jmcneill
ebc89222de Enable tv-v4l2 support on NetBSD. 2008-09-09 01:11:53 +00:00
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
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