Commit graph

97 commits

Author SHA1 Message Date
Tobias C. Berner
8b6e8c0c67 multimedia/libxine: Update to 1.2.11, Add ImageMagick7 support
Changelog: https://sourceforge.net/p/xine/xine-lib-1.2/ci/default/tree/ChangeLog:
xine-lib (1.2.11) 2020-12-06
  * Add gopher input plugin.
  * Add user settings for IPv6.
  * Split a52 spdif output to separate decoder.
  * Code cleanup.
  * More engine optimization.
  * Small optimizations (opengl2, dvb subtitles, png, mpeg-ts).
  * Better A/V sync.
  * Fix a few crashes.
  * Fix bluray playback.
  * Fix VAAPI picture jitter and green flashes.
  * Fix Opus and EAC3 audio playback.
  * Fix text subtitles.
  * Fix mpeg-ts (hdmv mode, detection of cut TV recordings).
  * Fix mpeg layer 1-4 audio timing.
  * Fix some VDR issues.
  * Fix HLS VOD mode.
  * Many small fixes.
  * Build fixes.
  * BSD fixes.
  * Update german translation.
  * Update internal libdca to upstream 0.0.7.

xine-lib (1.2.10) 2019-12-13
  * Add first Android support.
  * Add (xcb)xv yuy2 emulation.
  * Add libavcodec v58 compatibility.
  * Add avio seek support.
  * Make libpostproc optional.
  * Add libdav1d, libaom and lavc AV1 video decoders.
  * Add libvpx multithreading.
  * Add libpng decoder.
  * Add a52 double and fixed point modes.
  * Add Opus audio support to ogg demuxer.
  * Add AV1 video support to matroska demuxer.
  * Add ivf demuxer.
  * Add mpeg-ts split payload support.
  * Add TLS support using gnutls or OpenSSL.
  * Add ftp input plugin (ftp://) with TLS support (ftpes://)
  * Add tls:// input plugin (raw TLS over TCP).
  * Add libnfs NFS input plugin.
  * Add ftp/http seek support.
  * Add scp forward seek support.
  * Add mp4 http streaming support (plain and fragment modes).
  * Add HLS streaming support.
  * Add HTTP 1.1 support.
  * Add OpenGL EGL and Wayland support.
  * Add generic bitrate estimation.
  * Add side stream feature.
  * Optimize demux_qt.
  * Optimize OSD.
  * Optimize output layers.
  * Optimize decoder threads.
  * Optimize event handling.
  * Optimize stream info.
  * Optimize TCP/TLS/HTTP network input.
  * Optimize network buffering control.
  * Alsa/oss startup optimization.
  * Optimize input_stdin_fifo.
  * Optimize internal liba52.
  * Optimize user seek.
  * Build optimizations.
  * Simply user config.
  * Better support for audio out drivers that cannot resume after pause.
  * Better support for mpeg pts jumps.
  * Better bluray seek.
  * XML parser fixes.
  * Fix midstream audio mode switch.
  * Fix FLAC audio playback via ffmpeg.
  * Fix ffmpeg mpeg1/2 video.
  * Fix C++ build.
  * Fix build on clang only systems.
  * Fix/optimize mpeg, mpeg-ts, qt, flv, matroska, real and asf demuxers.
  * Fix network seek.
  * Fix/optimize audio CD.
  * Fix DVD (occasional crashes, damaged video after a DVD had been played).
  * Fix opengl2 freeze after X server failure.
  * Fix tvtime deinterlacer crash.
  * Fix/optimize overlay.
  * Fix/optimize old VDR plugin.
  * Fix xine-ui freeze when opening a playlist while paused.
  * Security fixes.
  * Build fixes (C99 mode, vaapi, ImageMagick, libmvec, less warnings).
  * Many small fixes.
  * More error handling instead of aborting.
  * Update german translation.

PR:		252338
Submitted by:	VVD <vvd@unislabs.com>
2021-01-12 12:34:41 +00:00
Tobias Kortkamp
4ee3a387ce multimedia/libxine: Update to 1.2.9
- Cleanup options
- Enable IMAGEMAGICK by default
- Make DVB support optional but leave it enabled by default
- Add SNDIO option
- Properly order pkg-plist
- Unbreak on aarch64
- Bump revision of dependent ports [1]

Changes:	https://sourceforge.net/projects/xine/files/xine-lib/1.2.9/README.txt/view
ABI:		https://abi-laboratory.pro/tracker/timeline/xine-lib/ [1]
PR:		219921
Reported by:	emorrasg@yahoo.es
Submitted by:	w.schwarzenfeld@utanet.at (initial version), Nathan <ndowens@yahoo.com>
Reviewed by:	mat, tobik
Differential Revision:	https://reviews.freebsd.org/D16840
2018-08-31 08:16:18 +00:00
Jan Beich
7ae4d7db82 multimedia/libxine: unbreak with ffmpeg 4.0
video_out_vaapi.c:3122:83: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
      frame->vo_frame.base[0] = av_mallocz (frame->vo_frame.pitches[0] * height + FF_INPUT_BUFFER_PADDING_SIZE);
                                                                                  ^

PR:		227726
Obtained from:	upstream (xine-lib 1.2.8)
2018-04-27 13:32:11 +00:00
Jan Beich
cf809db90e multimedia/libxine: unbreak build with ffmpeg 3.0
ff_audio_decoder.c:593:22: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    this->av_frame = avcodec_alloc_frame ();
                     ^
ff_audio_decoder.c:1074:5: error: implicit declaration of function 'avcodec_free_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    avcodec_free_frame (&this->av_frame);
    ^

PR:		208817
Reported by:	antoine (via exp-run)
Submitted by:	Ben Woods <woodsb02@gmail.com>
Obtained from:	Arch Linux
MFH:		2016Q2 (just-in-case "fix it" blanket)
2016-04-15 16:46:24 +00:00
Juergen Lock
ddb6d1d6f7 - Update libxine to 1.2.6 - changelog is here:
http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/file/9aef7a72d009/ChangeLog

- Remove an inline from include/xine/xineutils.h for the benefit
  of using libxine with base gcc 4.2 .

- Bump PORTREVISIONs for ports depending on libxine. (now also non-default
  rdeps as per the new rule)
2014-10-18 21:10:39 +00:00
Tijl Coosemans
b03107f88d multimedia/libdvdcss:
- USES=gmake libtool pathfix tar:bzip2.
- INSTALL_TARGET=install-strip.
- Use options.
- Staging.
- Simplify post-patch commands.
- This update changes the library version but this allows removing
  libdvdcss related patches from dependent ports.

multimedia/libxine: [1]
- Add USES=libtool:keepla and remove libtool related patches and post-patch
  commands.
- Move bsd.port.pre.mk include down and remove WANT_GNOME.
- Remove USE_XORG=sm.  libxine doesn't link to it.
- Remove CONFIGURE_ENV.  Not needed.
- Clean up CPPFLAGS and CFLAGS.
- Rename the GTK2 option PIXBUF and depend on gdkpixbuf2 instead of gtk20.
- Remove PATCH_DIST_ARGS.  Leftover from when there were external patches.
- Remove -fno-force-addr clang hack.  Modern gcc does not support the flag
  either and it was only added in case the user has -fforce-addr in CFLAGS
  in make.conf.
- Fix IMAGEMAGICK option.
- Merge pre-configure with post-patch and remove most commands because they
  don't do anything.

multimedia/libdvdread:
- USES=libtool:oldver pathfix.
- INSTALL_TARGET=install-strip.

multimedia/handbrake:
- Add build dependency on devel/libtool because configure script expects
  to find existing libtool program.
- Turn dependency on libdvdcss into library dependency such that headers
  are available during build.
- Add USES=libtool to patch libtool scripts in contrib code.
- Remove run-autotools-aclocal target and replace USE_AUTOTOOLS=aclocal
  with "autoconf:env automake:env" to indicate only build dependencies
  are needed and the tools don't have to be run.

Approved by:	nox [1]
2014-05-15 10:41:21 +00:00
Juergen Lock
5a07305282 - Sync goom emms clang patch with the one from
multimedia/gstreamer-plugins-good, removing #ifdef __clang__.
- No PORTREVISION bump as there should be no functional change.

Submitted by:	dim
Obtained from:	multimedia/gstreamer-plugins-good/files/patch-gst_goom_mmx.h
2013-11-28 17:18:14 +00:00
Juergen Lock
a268657341 - Fix LIBBLURAY and VAAPI knobs so they actually do something.
- No PORTREVISION bump as these are non-default options.
- Remove unused patchfiles.
2013-11-23 19:20:55 +00:00
Juergen Lock
ffbe907dea (Attempt to) fix build on i386 by readding equivalent patch from
ports/181786 that was lost in the update to 1.2.4 .

PR:		ports/183248 [1], ports/181786 (related to)
Submitted by:	Milan Obuch <bsd@dino.sk> [1]
2013-10-23 21:33:06 +00:00
William Grzybowski
3624ddf181 multimedia/ffmpeg: update to 2.0.1
- Update main ffmpeg port to 2.0.1
- Bump and update dependent ports when necessary (API change)

Approved by:	portmgr (bapt)
2013-10-19 16:43:32 +00:00
Juergen Lock
738b7edbd5 (Attempt to) Fix build with clang+libc++.
Submitted by:	pb2 via bapt
2013-09-06 21:45:37 +00:00
Juergen Lock
6b1e05e1c5 - Convert to USES=gmake perl5.
- Fix register allocation problems with clang on i386:
  * Remove the q modifier from inline asm such that clang no longer
    uses a 64 bit register. Instead cast the operand to register_t
    which is 32 bit on i386 and 64 bit on amd64.
  * Add -fomit-frame-pointer to CFLAGS to free up an extra register.
- Fix the issue with WITH_DEBUG by adding --disable-real-codecs
  which apparently never really worked anyway.
- Patch configure so it no longer adds -mtune=i386 to CFLAGS.
- Bump PORTREVISION.

PR:		ports/181786
Submitted by:	tijl
2013-09-04 16:45:13 +00:00
Juergen Lock
f8d3d122df Fix build on non-x86.
Submitted by:	jhibbits
Obtained from:	http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/rev/b0df4b6003ad
2012-08-29 17:10:15 +00:00
Juergen Lock
c21090625e (Attempt to) fix build with clang by assuming clang doesn't need a
clobber list with __asm__ __volatile__ ("emms").

PR:		ports/171119
Submitted by:	Dan McGregor <dan.mcgregor@usask.ca>
2012-08-27 22:18:55 +00:00
Juergen Lock
32bf1b3aac - Update multimedia/libxine to 1.2.2 .
- Bump PORTREVISION for ports depending on it by default.
2012-06-23 13:21:04 +00:00
Juergen Lock
07ff3cd47c Fix build with lang/gcc.
Reported by:	Gautam Mani <gautam@execve.net> (via private email)
Feature safe:	yes
2012-03-19 20:10:47 +00:00
Juergen Lock
d613b75b1d - Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support.  (which still is broken for tuners using
  hardware pid filtering, like when running webcamd with
  "-m dvb-usb-init.force_pid_filter_usage=1".)

- Add patches to fix build of ports depending on libxine to:
  audio/amarok,
  graphics/gimageview [1], graphics/pornview [1],
  graphics/osg [2], graphics/osg-devel [2],
  multimedia/emotion,
  x11/kdelibs4 [3],
  multimedia/kmplayer,
  multimedia/konverter,
  multimedia/qdvdauthor [4],
  multimedia/vdr-plugin-xineliboutput,
  multimedia/xfce4-media [5],
  multimedia/xine_artsplugin,
  multimedia/k9copy-kde4 [6]

- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]

- Mark multimedia/phonon-xine BROKEN which refuses to build with
  libxine 1.2.x and is deprecated upstream. [3]

- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]

- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
  but it only shows a green window at least with mp4 or ts files.
  (avi files and audio still work.)  It seems the kaffeine developers
  have found this too and are now switching away from libxine in
  their git repo - so I guess we'll have a broken kaffeine at least
  until they release a new version.

- Bump PORTREVISIONs for ports depending on libxine by default.

- Add optional libbluray support to multimedia/libxine and
  multimedia/vdr-plugin-xineliboutput.

PR:		ports/165057 [6]
Submitted by:	nox (self) [6], rakuco [3]
Approved by:	dinoex (maintainer, via irc) [1],
		amdmi3 (maintainer, via private email) [2],
		kde@ (rakuco, via irc) [3],
		Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
		xfce@ (rene, via irc) [5],
		Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
		lme (maintainer, via irc) [7]
Thanx to:	Darren Salt (upstream libxine maintainer) for a few
		hints on irc to help with patching ports depending
		on deprecated libxine features
2012-02-26 15:22:37 +00:00
Juergen Lock
3b609fb15e Fix build with xorg-dev repo.
Submitted by:	avg
Obtained from:	debian -
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610635
2011-10-11 18:29:09 +00:00
Juergen Lock
9936d03edc Fix build when multimedia/ffmpeg-devel is used in place of multimedia/ffmpeg.
Submitted by:	Phil Oleson <oz@nixil.net> (via private email)
Obtained from:	debian
2011-09-25 15:48:00 +00:00
Juergen Lock
e0308c2146 - Replace typeof by __typeof__ in the multimedia/libxine clang fixes for
the benefit of clients including xine headers in extern "C".
- Unmark BROKEN multimedia/phonon-xine that this fixes.
2011-07-03 19:53:19 +00:00
Juergen Lock
23dd509bef Fix build with clang.
Submitted by:	Andrius Morkunas, dim
2011-06-22 22:49:45 +00:00
Juergen Lock
b63f412766 - Add patch to improve vdpau stability (backported from [1].)
- Add (optional) patch for VAAPI/libva support ([2], with a crude
  check added by me to improve fallback when hardware/driver support
  is missing.)
- Take maintainership. [3]
- Bump PORTREVISION.

PR:		ports/155871
Submitted by:	nox (self)
Obtained from:	http://hg.debian.org/hg/xine-lib/xine-lib-1.2/rev/c655ca7b6bce [1],
		http://test.oppserver.net/xine/ffmpeg-vaapi_xine-lib-1.1.19.diff [2]
Approved by:	makc (previous maintainer, via private email) [3]
2011-03-25 20:30:31 +00:00
Max Brazhnikov
51b522017b Add VDPAU support.
Submitted by:	nox via irc
Feature safe:	yes
2011-01-15 22:46:39 +00:00
Max Brazhnikov
1a03c3ac67 Update to 1.1.18.1
Build with external ffmpeg by default
Mark MAKE_JOBS_SAFE

Feature safe:	yes
2010-06-19 11:06:36 +00:00
MANTANI Nobutaka
bb99b8106c Add WITH_FFMPEG knob to use external ffmpeg.
PR:		ports/137792
Submitted by:	"Dima Panov" <fluffy@fluffy.khv.ru>
Feature safe:	yes
2009-09-23 14:37:46 +00:00
MANTANI Nobutaka
a5347c4678 Remove old patch that should be removed in previous commit.
Reported by:	 QAT, Juergen Lock <nox@jelal.kn-bremen.de>
2009-05-10 13:56:08 +00:00
MANTANI Nobutaka
6ac144cb80 - Update to 1.1.16.3.
- Fix hardcoded libdvdcss shared library version. [*]

PR:		ports/134153 [*]
Submitted by:	Joseph S. Atkinson <jsa@wickedmachine.net> [*], jpaetzel [*]
2009-05-10 05:51:11 +00:00
MANTANI Nobutaka
61e7541eea Fix DivX/XviD support breakage. 2009-03-01 04:36:56 +00:00
MANTANI Nobutaka
7894cd958b - Update to 1.1.16.2.
- Add FAAD option for external libfaad support. [*]

PR:		ports/131955 [*]
Submitted by:	Jan Henrik Sylvester <me@janh.de>
2009-02-22 14:34:56 +00:00
MANTANI Nobutaka
ceb4251265 Unbreak build of KDE4.
PR:		ports/128336
Submitted by:	tabthorpe
2008-10-25 12:13:51 +00:00
MANTANI Nobutaka
de748f6d67 - Update to 1.1.14. [1]
- Enable XCB support by default. [2]

PR:		ports/125089 [1], ports/125331 [2]
Submitted by:	"Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com> [1],
	  	Max Brazhnikov <makc@issp.ac.ru> [2]
2008-07-12 12:17:30 +00:00
MANTANI Nobutaka
23541ee8dc Update to 1.1.12.
PR:		ports/122835
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Security:	CVE-2008-1686
2008-04-22 14:33:54 +00:00
MANTANI Nobutaka
6b40f65d21 Update to 1.1.11. 2008-03-23 09:49:51 +00:00
MANTANI Nobutaka
9ffae80bb3 - Fix libxine.pc to fix configure error of ports that depends on libxine.
- Bump PORTREVISION.

Reported by:	pav, erwin
2008-02-03 14:10:47 +00:00
MANTANI Nobutaka
0f1dde377d Update to 1.1.9.1.
PR:		ports/119686
Submitted by:	"Pietro Cerutti" <gahr@gahr.ch>
Security:	http://www.vuxml.org/freebsd/02eedd3c-c6b5-11dc-93b6-000e35248ad7.html
2008-01-19 18:07:55 +00:00
MANTANI Nobutaka
14905f1b01 Update to 1.1.7.
Use OPTIONS.
2007-07-15 15:21:33 +00:00
MANTANI Nobutaka
4799d7acc7 Fix internal compiler error on amd64 and remove the workaround.
Submitted by:	ariff
2007-02-18 16:07:49 +00:00
MANTANI Nobutaka
2194c9c64b - Update to 1.1.3. This version fixes heap overflow vulnerability in libmms
and buffer overflow vulnerability in Real Media input plugin. [1]
- Fix 'pkg-config --libs libxine' output. [2]
- Replace WITH_POLYPAUDIO knob with WITH_PULSEAUDIO knob since polypaudio audio
  output plugin is replaced with pulseaudio audio output plugin.

Notified by:	miwi [1]
PR:		ports/106282 [2]
Submitted by:	thierry [2]
2006-12-07 17:13:41 +00:00
Oliver Lehmann
c5b30f3654 make buildable on FreeBSD 4
PR:		ports/103769
Approved by:	maintainer timeout (62 days)
2006-11-29 20:38:21 +00:00
MANTANI Nobutaka
e09eea6bf2 - Fix build error with CFLAGS="-O -pipe". [1]
- Remove message about obsolete WITH_THERORA knob. [2]

PR:		ports/101051 [1]
Submitted by:	Bo Briggs <rcbdyndns@bellsouth.net> [1]
Reported by:	Randy Pratt <bsd-unix@earthlink.net> [1], bland [1] [2]
2006-08-01 17:18:59 +00:00
MANTANI Nobutaka
a003205819 - Update to 1.1.2.
- Enable Theora codec support by default and remove WITH_THEORA knob.
2006-07-29 18:00:05 +00:00
MANTANI Nobutaka
0931ab52f4 Fix the buffer overflow vulnerability in the HTTP input plugin.
Submitted by:	Tijl Coosemans <tijl@ulyssis.org>
Security: 	http://secunia.com/advisories/20369
Security:	CVE-2006-2802
2006-06-11 12:49:42 +00:00
MANTANI Nobutaka
2ee54b4b35 Fix build error on 7-current.
Reported by:	netchild
2006-05-28 14:27:17 +00:00
MANTANI Nobutaka
98d6e8cbc1 - Remove USE_REINPLACE. [1]
- Use DATADIR macro. [1]
- Make WITHOUT knobs actually disable features with configure. [1]
- Fix build error for the case when libtool15 is not installed. [2]
- Correct pkg-plist. [2]
- Modify files/patch-configure to disable libtheora support properly for WITHOUT_THEORA knob.

PR:		ports/95639 [1], ports/96140 [2]
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com> [1], oliver [2]
2006-04-30 17:26:43 +00:00
MANTANI Nobutaka
5cbb211e74 Fix ioctl errors on amd64.
PR:		ports/91728
Submitted by:	Dan Ponte <dcp1990@neptune.atopia.net>
2006-02-05 17:23:15 +00:00
MANTANI Nobutaka
73e520aabf Fix build error on 5-stable.
PR:		ports/90329
Submitted by:	Heino Tiedemann <rotkaps_spam_trap@gmx.de>
2005-12-15 17:19:47 +00:00
MANTANI Nobutaka
2f41aaaa5e Fix build error.
Reported by:	Nix bat <nixbat@gmail.com>, Jason Harmening <jason.harmening@gmail.com>
2005-12-13 14:08:53 +00:00
MANTANI Nobutaka
1a1d7f44be Update to 1.1.1. 2005-12-10 21:05:06 +00:00
MANTANI Nobutaka
919cd4efa8 Fix format string vulnerability.
Security:	http://www.vuxml.org/freebsd/3bc5691e-38dd-11da-92f5-020039488e34.html
2005-10-09 16:21:10 +00:00
MANTANI Nobutaka
ed140258dc Backout the removal of patch-src:video_out:video_out_xv.c and
patch-src:xine-engine:xine_internal.h to fix build error on 4-stable.

PR:		ports/86527
Submitted by:	Tod McQuillin <devin@spamcop.net>
2005-10-01 18:20:02 +00:00