Commit graph

72 commits

Author SHA1 Message Date
Sergey Matveychuk
a4ee50de55 - Split the port into mplayer and mencoder
- mplayer is now pkg_add'able as it no longer depends on restricted ports
- Remove compatibility tweaks for FreeBSD-4 as it is no longer supported
- A patch to correct handle amd64 in libdha-pci.c

PR:             ports/115170
Submitted by:   maintainer
2007-08-05 21:27:31 +00:00
Martin Wilke
acc95a7d52 - Fix cddb stack overflow
- Bump PORTREVISION

Approved by:	so (simon)
Security:	http://www.vuxml.org/freebsd/3ac80dd2-14df-11dc-bcfc-0016179b2dd5.html
2007-06-07 08:46:02 +00:00
Stefan Walter
9e42911716 Enable joystick support.
PR:		111076
Submitted by:	Teemu Korhonen <venefics@mbnet.fi>
Patch by:	submitter/maintainer
Approved by:	maintainer
2007-04-05 10:05:22 +00:00
Martin Wilke
177e773097 - Fix Buffer overflow vulnerability
- Bump PORTREVISION

Approved by:	simon (secteam)
Obtained from:	mplayer svn
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1246
2007-03-09 15:55:12 +00:00
Ion-Mihai Tetcu
015180ee46 - fix build of mplayer with h264 and polyaudio, when an external reference was
generated to: last_coeff_flag_offset in the polyaudio module, that is static
in the h264.
- security fix provided by the mplayer development team for a possible remote
buffer overflow in rtsp streams
- Correct library dependence and OPTIONS for samba support

PR:		ports/107217
Submitted by:	Sergio Lenzi [1], Thomas E. Zander (maintainer) [2]
Approved by:	maintainer
Security:	http://www.vuxml.org/freebsd/b2ff68b2-9f29-11db-a4e4-0211d87675b7.hml
2007-01-08 16:02:14 +00:00
Rong-En Fan
ce4c8148a4 - Fix build on 4.x
PR:		ports/106990
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
Approved by:	Thomas E. Zander <riggs at rrr.de> (maintainer)
2006-12-22 01:07:53 +00:00
Pav Lucistnik
eef1f22e09 - Update to 1.0rc1, which brings goodies like native WMV9/VC-1 playback, faster
h.264 decoding, ability to switch audio stream during DVD playback and much
  more

Submitted by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
Thanks to:	itetcu
2006-11-20 22:58:17 +00:00
Michael Johnson
3617e76096 Fix x264 2006-11-03 22:10:18 +00:00
Martin Wilke
cce4c384e8 Log from Maintainer:
mplayer does not necessarily these config files to work properly.
They are needed however if one wants to set system-wide defaults
different from mplayer's built-in settings.
Therefore,
o these files have more example character and are now
installed in ${PREFIX}/share/mplayer/examples/etc
o this is mentioned in files/pkg-message.in

Also there are further cleanups:
o The port now recognizes the new skin dir accorting to
ports/103891. Please commit these two diffs together
in order to maintain dependency consistency
o pkg-message in the port root dir should be removed from
the tree as we are using files/pkg-message.in for quite
some time now

PR:		ports/103892
Submitted by:	Denis Eremenko <moonshade@pnhz.kz>
Approved by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2006-10-06 19:48:00 +00:00
Shaun Amott
f8752372db - Maintainer reports: [1]
This is a cumulative update to the mplayer port addressing several
  issues:

  o imake handling for audio-only-mplayer corrected.
  o Adapt mplayer to recent x264 API changes. Reported by David Warren.
    Obtained from official mplayer CVS.
  o Correct internal libtremor handling on amd64 arch, by Aleksey Salow.
  o Correct VIDIX playlists on amd64 arch.
  o Proper handling of the speex codec and the polyp sound server,
    reported by Ion-Mihai Tetcu.

- Fix OPTIONS checking logic - this caused the default package to have
  way too many dependencies (e.g. Linux, and i386-specific ports).

- Fix build on FreeBSD 4.x [2]

PR:		ports/102493 [1], ports/102570 [2]
Submitted by:	Thomas E. Zander <riggs@rrr.de> [1], Ports Fury [2]
Approved by:	Thomas E. Zander <riggs@rrr.de> (maintainer) [2]
2006-09-04 21:47:44 +00:00
Michael Johnson
a032a2b84f - Fix build with x264 2006-08-10 01:07:29 +00:00
Ion-Mihai Tetcu
b008ba91a1 Apply some user-requested changes to the mplayer port:
o Have mga xvidix driver autodetect memory, reported by Andre Albsmeier
o Remove PKGSUFFIX stuff, instead port name is always "mplayer"
o Use win32 real player codecs if the user prohibits linux-realplayer interaction

PR:		ports/101224
Submitted by:	Thomas E. Zander (maintainer)
2006-08-04 18:19:49 +00:00
Ion-Mihai Tetcu
326e416cf0 - Update to the latest mplayer release, 1.0pre8.
- OPTIONify
- Due to some changes in the official developent tree, some of our local
patches became obsolete and where removed.

PR:		ports/99871
Submitted by:	maintainer
2006-07-12 01:53:07 +00:00
Andrey Slusar
82fda83533 When compiling mplayer against x264, configure says it's unavailable
because it does not link the test-program with -pthread.
Remove the static -lx264 and replaces it with the accurate
`pkg-config --libs x264`, so the linker finds all the symbols needed.
After that, mencoder can finally encode x264-movies.

PR:		ports/98914
Submitted by:	Mark Daniel Reidel <ports@mark.reidel.info>
Approved by:	maintainer
2006-06-15 15:48:16 +00:00
Sergey Matveychuk
e529d3fa56 - Fix build on 7.0
Submitted by:	glebius
Approved by:	portmgr (krion)
2006-05-27 15:18:29 +00:00
Marcus Alves Grando
036a038681 - Add security patch
- Bump PORTREVISION

Approved by:	maintainer
Obtained from:	Mplayer CVS
Security:	VuXML c7526a14-c4dc-11da-9699-00123ffe8333
2006-04-08 14:52:21 +00:00
Vasil Dimov
49dfdb8f18 Fix mplayer vulnerability (heap overflow) in the ASF demuxer
Arbitrary remote code execution under the user ID running the player
when streaming an ASF file from a malicious server.

PR:		ports/93767
Submitted by:	"Thomas E. Zander" <riggs@rrr.de> (maintainer)
Approved by:	portmgr (erwin)
Obtained from:	mplayer CVS repo: http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/libmpdemux/demuxer.h.diff?r2=1.90&r1=1.87&f=u
Security:	heap overflow in the ASF demuxer (http://www.mplayerhq.hu/design7/news.html#vuln13, http://bugs.gentoo.org/show_bug.cgi?id=122029)
2006-03-09 08:42:28 +00:00
Pav Lucistnik
3ca3ddda63 - Add support for version 2 audio atoms in QuickTime containers
This fixes a lot of trailers from apple.com, especially HD ones which come
  with 5.1 AAC audio.

Approved by:	maintainer
Obtained from:	mplayer-dev mailing list
		http://www1.mplayerhq.hu/pipermail/mplayer-dev-eng/2005-December/039393.html
2006-01-09 17:17:11 +00:00
Sam Lawrance
8098efcdcd Use BT848SFMT ioctl instead of METEORSFMT (which is incorrect). Allows
setting norm=SECAM which previously did not work.  Bump PORTREVISION.

PR:		ports/90001
Submitted by:	Vladimir Kushnir <vkushnir@i.kiev.ua>
Approved by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2005-12-16 10:39:07 +00:00
Edwin Groothuis
329170e6c0 [fix] multimedia/mplayer: no bsdbt848 driver compiled in
On recent FreeBSD installing multimedia/mplayer port doesn't
	compile-in bsdbt848 driver. Cause for this is in the mplayer's
	'configure' script that uses the following code to autodetect
	the presense of the system bt848 driver:

	if defined(__NetBSD__)
	#include <dev/ic/bt8xx.h>
	#else
	#include <machine/ioctl_bt848.h>
	#endif

	On FreeBSD /usr/include/machine/ioctl_bt848.h is replaced
	with /usr/include/dev/bktr/ioctl_bt848.h, so 'configure'
	script doesn't find it.  Be warned that if you upgraded
	your FreeBSD installation from the older version, you will
	still have /usr/include/machine/ioctl_bt848.h installed on
	your system (make installworld doesn't delete old files)
	and configure script will not need patching to be able to
	find the system bt848 driver.  In the fix section I attached
	a patched 'files/patch-ad' file.

	[...]

	Hi again,

	I've prepared a diff to solve the issue. Besides this,
	PORTREVISION is bumped to reflect the change and distinfo
	contains sha256 sum.  Would you please confirm that it works
	on amd64, go for the commit and close the pr?!

Submitted by:	Simun Mikecin <numisemis@yahoo.com>
Approved by:	"Thomas E. Zander" <riggs@rrr.de>
Reviewed by:	Simun Mikecin <numisemis@yahoo.com>
PR:		ports/87853
2005-11-09 20:17:44 +00:00
Florent Thoumie
7715ef0993 - Correctly detect infrared control interface lirc
(by Daniel O'Connor <doconnor@gsoft.com.au>).
- Remove obsolete "--disable-tremor" from CONFIGURE_ARGS.

PR:		ports/86664
Submitted by:	maintainer
2005-09-28 11:00:10 +00:00
Michael Johnson
5cfacd8d2a - Update detect support for x264 2005-06-13 05:02:25 +00:00
Michael Johnson
271b60d86a - Add support for detecting new version of x264. No need to rebuild
mplayer.
2005-06-03 04:12:37 +00:00
Pav Lucistnik
2668ee90d7 - Fix CPU features detection for amd64 platform
Submitted by:	Michiel Boland <michiel@boland.org>
Approved by:	maintainer
2005-05-23 08:53:53 +00:00
Michael Johnson
effab53e24 - Fix build with new x264
Patch Obtained from:	MPlayer CVS
2005-05-19 12:23:30 +00:00
Pav Lucistnik
52844642b5 - Backout part of bswap changes which completely broke playback
of encrypted DVD discs

PR:		ports/80952, ports/80984
Diagnosed by:	Jose M Rodriguez <josemi@freebsd.jazztel.es>
2005-05-17 18:01:39 +00:00
Pav Lucistnik
e419d051b9 - Back out native bswap commit for FreeBSD 4.x, where it does not compile. 2005-05-10 12:06:45 +00:00
Mario Sergio Fujikawa Ferreira
228b59d4e8 o Add FreeBSD native byteswap support using <sys/endian.h>
o Bump PORTREVISION

Approved by:	maintainer
2005-05-10 00:15:53 +00:00
Pav Lucistnik
cc0a3655d6 - Update to 1.0pre7
PR:		ports/80356
Submitted by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2005-04-26 13:00:35 +00:00
Michael Johnson
2dd88d1be9 - Chase shared lib bump in x264
Patch Update Obtained mostly from mplayer cvs
2005-04-21 13:07:08 +00:00
Pav Lucistnik
74c8703e5e - correct linux real player codecs detection, by Conrad J. Sabatier
<conrads@cox.net>
- introduce new vidix patches to enable -vo xvidix for some accidently
  mistreated radeon and matrox cards, reported by Andre Albsmeier
  <andre@albsmeier.net>
- explicitly forbid -fforce-addr gcc optimization as it reliably breaks all
  ffmpeg descendants, by Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>

PR:		ports/79828
Submitted by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2005-04-12 20:31:23 +00:00
Volker Stolz
e43ea85e8c On FreeBSD-5.3 systems before importing of lrintf into math.h mplayer
can't be linked if WITH_OPTIMIZED_CFLAGS is defined.

PR:		ports/79119
Submitted by:	maintainer
2005-04-11 20:23:45 +00:00
Pav Lucistnik
6481c738bf o Integration of pr 78670, including introduction of
files/patch-libfaad2-common.h
o Remove explicitly disabling real codecs as they can be manually added
  after installation if root really wants to (reported by Scott Lipcon
  <scott@libcon.org>)
o Fix mplayer's x264 lib support is older than the version provided by
  the ports tree as of today. Including new patchfile
  files/patch-libmpcodecs-ve_x264.c
  (by Bruce M. Simpson <bms@spc.org>)

Submitted by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2005-03-14 23:07:15 +00:00
Oliver Lehmann
4d40dc828d update to 0.99.6
PR:		77882
Submitted by:	maintainer
2005-03-06 10:34:16 +00:00
Pav Lucistnik
a35b568f78 - Fix AAC (faad) playback on amd64 [1]
- Enable and support libcaca

PR:		ports/72087 [1]
Submitted by:	Arjan van Leeuwen <avleeuwen@piwebs.com>
Approved by:	maintainer
2004-10-11 23:09:52 +00:00
Volker Stolz
86ec49024e Hopefully fix build on -CURRENT.
PR:		ports/70613
Submitted by:	Eygene A. Ryabinkin
Approved by:	maintainer
2004-08-20 15:50:42 +00:00
Volker Stolz
20affe7fb9 Add forgotten file from previous commit 2004-08-16 09:44:50 +00:00
Kirill Ponomarev
adab6c4ec6 Update to 0.99.5
PR:		ports/69450
Submitted by:	maintainer
2004-07-23 07:28:01 +00:00
Pav Lucistnik
001fdf62d5 - Respect CFLAGS, fix WITHOUT_RUNTIME_CPUDETECTION knob, style
PR:		ports/68431
Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Approved by:	maintainer
2004-07-01 08:27:47 +00:00
Michael Nottebrock
2ac410c8c1 Add a patch that fixes a patch that used to be in the previous version
of the port and which has been bogusly merged into the upstream sources
(but has been corrected now, the next release will be fine, hopefully).

This will fix audioid with tv://
2004-06-18 19:02:00 +00:00
Pav Lucistnik
2741da7c70 - Autodetect fribidi
- Enable OSD
- Disable caca
- Fix build with gtk1

Submitted by:	Thomas E. Zander <riggs@rrr.de>
PR:		67846, 67873, 67875, 67913, 67923
2004-06-14 14:47:12 +00:00
Jeremy Messenger
b5c6156b62 - Update to 0.99.4 (1.0pre4)
- This version now support XviD 1.x, so it should allow the maintainer to
  update XviD.

Submitted by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
2004-06-11 18:08:51 +00:00
Pav Lucistnik
d097db9617 - Fix reopening of audio device after pause under certain circumstances
PR:		ports/67179
Submitted by:	Andriy Gapon <avg@icyb.net.ua>
Approved by:	maintainer
Obtained from:	mplayer CVS
2004-05-28 16:23:47 +00:00
Joe Marcus Clarke
ce7b03f269 Fix build with freetype2-2.1.7.
Approved by:	maintainer
2004-03-17 07:43:41 +00:00
Ernst de Haan
ca123465f9 Log:
[1] Enable DEBUG support
[2] Resolve build problems on bento for non-i386 architectures
[3] Introduce rtc interoperability

PR:		64314
Submitted by:	maintainer
Reported by:	znerd [1]
		kris [2]
		Michael Johnson <ahze@ahze.net> [3]
2004-03-16 11:52:44 +00:00
Kirill Ponomarev
b20ae7c490 This update solves two issues which are important for many
users of mplayer:

o bktr driver working. Thanks to Arjan van Leeuwen
  <avleeuwen@piwebs.com> and Simun Mikecin sime@logos.hr (For me
  it doesn't work at all, but mplayer's tv never did :-) So I
  rely on the reports of the users who are successful.)

o disables support for libdvdnav as it's not compatible with
  the new version. The mplayer developers are informed and
  hunt the problem.

o introduces a patch to fix -vo md5: patch-libvo-vo_md5.c
  Thanks to Christopher Nehren <apeiron@comcast.net>

PR:		ports/63363
Submitted by:	maintainer
2004-02-26 09:18:00 +00:00
Kirill Ponomarev
aae018f327 - Chase libraries for new libvorbis version
- Correctly detect AMD64 machines

PR:		60528
Submitted by:	maintainer
2003-12-23 21:48:51 +00:00
Pav Lucistnik
6e74806bab - Unbreak on 5.2-CURRENT after Bt848 includes change
PR:		ports/60123 (based on)
Submitted by:	Vincent <viny@scientiae.net>
2003-12-16 00:05:25 +00:00
Joe Marcus Clarke
fca0ecf8d1 * Correct use of SDL, update lib dependency of SDL [1]
* Better DVD device handling for FreeBSD [2]

PR:		57475 [1]
		57545
Suggested by:	Thierry Thomas <thierry@pompo.net> [1]
Obtained from:	sf [2]
Submitted by:	maintainer
2003-10-03 17:31:05 +00:00
Joe Marcus Clarke
23bb797eeb * Update to 0.92.
- Important fix of a remote buffer overflow attack via asf streaming
  - Some minor fixes
* Check for the updated KAME ipv6-patch.  Looks okay.
* Change pkg-message, pointing at at a work-in-progress FAQ

PR:		57324
		57296
Submitted by:	Mezz <mezz7@cox.net> (based on)
		maintainer
2003-09-28 17:58:48 +00:00