Commit Graph

41 Commits

Author SHA1 Message Date
Jan Beich 27f51d17e1 audio/alsa-plugins: disable BUFSZ_P2 after r545611
$ aplay foo.wav
Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Assertion failed: (err >= 0), function set_params, file aplay.c, line 1353.
Aborted by signal Abort trap...

$ veloren
[...]
Panic Payload: "build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: \"ALSA function \\\'snd_pcm_hw_params_set_period_time_near\\\' failed with error \\\'EINVAL: Invalid argument\\\'\" } }"
PanicInfo: panicked at 'build_output_stream failed with all supported formats: BackendSpecific { err: BackendSpecificError { description: "ALSA function \'snd_pcm_hw_params_set_period_time_near\' failed with error \'EINVAL: Invalid argument\'" } }', cargo-crates/rodio-0.13.0/src/stream.rs:202:22
Game version: v0.8.0 [2020-11-28]
2020-11-29 04:54:21 +00:00
Jan Beich b88defae3a audio/alsa-*: drop maintainership
No time to engage upstream or keep up with updates.
2020-02-23 18:47:40 +00:00
Jan Beich 325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +00:00
Jan Beich edced9b58c audio/alsa-plugins: drop unnecessary newline after r505839
- Wasn't approved i.e., explicitly requested to not add it
- portlint style frequently changes and isn't mandatory to follow
- Newline here is dubious compared to putting USE/USES at the top
  of the section for better visibility
2019-07-31 02:37:35 +00:00
Hans Petter Selasky 38b2315add Fix issues with ALSA OSS backend for firefox and chrome.
1) When read() or write() fails due to EAGAIN because no buffer is available or
   buffer is full, return 0 instead of failure. Else clients may simply close
   the device and re-open it instantly chopping the audio.
2) Implement OSS delay function to fix an issue with negative delays.
3) Use at least 16ms of HW buffer by default to avoid jitter.

Approved by:	pi, jbeich
2019-07-04 15:46:15 +00:00
Jan Beich 0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Jan Beich c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00
Jan Beich 84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00
Jan Beich 0c612c4aa3 multimedia/ffmpeg: update to 3.2.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
2016-12-11 15:22:47 +00:00
Jan Beich e68ffdaff6 bsd.sites.mk: with last mirror dead retire MASTER_SITE_ALSA
$ fetch -v http://alsa.cybermirror.org/lib/alsa-lib-1.1.0.tar.bz2
[...]
404 Not Found

Not Found
The requested URL /lib/alsa-lib-1.1.0.tar.bz2 was not found on this server.
2016-04-01 20:45:03 +00:00
Jan Beich 49190875e4 audio/alsa-*: update to 1.1.1
Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1
ABI:		https://people.freebsd.org/~jbeich/compat_reports/alsa-lib/1.1.0_to_1.1.1/compat_report.html
2016-04-01 20:44:23 +00:00
Jan Beich f7731c8be8 Drop default directory from _DEPENDS in my ports
https://lists.freebsd.org/pipermail/freebsd-ports/2015-October/100794.html
2016-03-16 12:58:16 +00:00
Jan Beich a61fabb110 audio/alsa-plugins: partially revert r380063
Restore BUFSZ_P2=on by default as a temporarily fix for excessive CPU usage
in Firefox. r378529 wasn't enough to make BUFSZ_P2=off transition smooth.

PR:		203732
Reported by:	Henry Hu, Arto Pekkanen, many more indirectly
MFH:		2015Q1
2016-03-02 22:48:44 +00:00
Dmitry Marakasov b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00
Jan Beich 55e2d7a835 audio/alsa-*: update to 1.1.0
Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/alsa-lib/1.0.29_to_1.1.0/compat_report.html
2015-11-10 22:21:08 +00:00
Jan Beich 00d4634211 Convert my ports to USES=localbase 2015-09-26 20:26:21 +00:00
Jan Beich 0d988c09e1 audio/alsa-plugins: back out r394862, already applied by r394778
It is a remnant from |git rebase| not ignoring line order by default
when detecting already merged changes.

Reported by:	kwm
2015-08-20 13:34:47 +00:00
Jan Beich c00f1ac2dc audio/alsa-plugins: convert to CHANGES@20150818 syntax 2015-08-20 13:03:14 +00:00
Mathieu Arnold bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
John Marino e456b4fad8 audio/alias-plugins: Resolve DF audio issues with USES=alias
Reported by:	ivadasz on DF IRC
Approved by:	non-invasive DF support
2015-06-22 18:58:01 +00:00
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Jan Beich 76519644a7 - Update to 1.0.29
- alsa-plugins-oss: Disable BUFSZ_P2 by default after r378529 [1]
- No PORTREVISION bumps because binary compatible

Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29
ACC report:	http://upstream-tracker.org/compat_reports/alsa/1.0.28_to_1.0.29/abi_compat_report.html
PR:		196051 [1]
Suggested by:	mi [1]
2015-02-27 06:32:02 +00:00
Jan Beich 3e90806aee Per convention change my address to @FreeBSD.org
Differential Revision:	https://reviews.freebsd.org/D1565
Approved by:		bapt (mentor)
2015-01-20 22:03:55 +00:00
Tijl Coosemans 60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
John Marino 3d3d60b1eb audio/alsa-*: drop USES=alias
Jan says alias is no longer needed on alsa since verion 1.0.28.

PR:		194502
2014-10-20 21:31:06 +00:00
John Marino badd7a1eba Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 08:12:20 +00:00
John Marino 46b7762a82 audio/alsa-(lib|plugins|utils): Upgrade version 1.0.27.2 => 1.0.28
Also switch maintainership to submitter with blessing of former
maintainer.  Other changes include:

  * fix for bug 191190
  * Use new options syntax
  * Proper detection of PYTHON and FFMPEG
  * fix leftovers
  * strip libraries to satisfy stage-qa
  * conf: alias surround stuff to pcm.default
  * lib: split patches and refactor
  * utils: rename XMLTO to MANPAGES

PR:		191524
Submitted by:	Jan Beich
Approved by:	former maintainer (Aragon Gouveia)
2014-08-09 15:20:35 +00:00
Dmitry Marakasov b01c49470c - Switch to USES=libtool
Approved by:	portmgr blanket
2014-08-05 18:23:48 +00:00
Olli Hauer 886a9071a1 - USE_(BZIP2|XZ) -> USES= tar:(bzip2|xz) 2014-06-01 13:03:14 +00:00
Florian Smeets 50cfc58f27 - ALSA now supports playing HTML5 audio with 32-bit sample format [1]
after being converted from float as passed by firefox/libcubeb [2]
- Restore behavior from r296140 while adding alignment options in case
  of issues. This should make things slightly less broken and add more
  sample formats. [1]
- Some apps (e.g. linux-firefox with ports/169896) don't check with ALSA
  which sample formats are supported and just feed whatever they like,
  assuming the underlying device supports it.
  While here also fix mixer device for OSS plugin. It should be /dev/dsp
  according to 4Front OSS wiki. The only works with ARIFF_OSS enabled
  but the volume is reset on close(). audio/oss doesn't work either way:
  the new (OSSv4) way to control mixer is via SNDCTL_MIX_* ioctls. [2]

PR:		ports/183861 [1]
PR:		ports/184006 [2]
Submitted by:	Jan Beich <jbeich@tormail.org>
Approved by:	maintainer timeout
2013-12-14 14:41:17 +00:00
William Grzybowski 98bfd02249 audio/alsa-plugins: fix build with newer ffmpeg
- Fix build with newer ffmpeg

Reported by:	Kevin Oberman <rkoberman gmail.com>
Approved by:	portmgr (bapt, implicit)
2013-10-23 00:30:15 +00:00
Florian Smeets 4e23b4863e - update to 1.0.27.2 [1]
-- add PYTHON option to alsa-lib
 -- drop unresponsive mirrors and those that rarely catch up
 -- drop --disable-aload from alsa-lib, builds fine without
 -- drop USE_LDCONFIG from alsa-plugins, useless for dlopen'd plugins
 -- convert to new LIB_DEPENDS syntax and Makefile header
 -- convert PLIST_SUB to OPTIONS_SUB
 -- don't link alsa-utils against librt for clock_gettime(2)
 -- pass paths to configure relative to --prefix value
 -- install udev config(s) under PREFIX (for reference)
 -- cleanup /var/lib as it's not in default MTREE_FILE
 -- remove OSVERSION check for EOL releases
- allow staging

PR:		ports/182245 [1]
Submitted by:	Jan Beich <jbeich@tormail.org> [1]
Approved by:	maintainer timeout
2013-10-03 16:34:28 +00:00
Baptiste Daroussin 183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Baptiste Daroussin 49ac0257b5 Eliminate USE_GNOME=pkgconfig from audio
While here:
- trim headers
- convert USE_GMAKE -> USES=gmake
- convert USE_GNOME=gnomehack -> USES=pathfix
- convert USE_PERL5 -> USES=perl5
2013-09-02 10:06:03 +00:00
Florian Smeets d3c505e600 - update to 1.0.26 [1]
- use newly added alphasort() instead of LGPLv2.1+ patch
- fix async handler [2]
- fix implicit declarations of calloc/free [3]
- disable ARIFF_OSS option by default, except 7.x [4]
- add 3 more mirrors from alsa wiki + gentoo as a backup
- move alsa mirrors to bsd.sites.mk

Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.0.25_v1.0.26
PR:		ports/171601 [1]
PR:		ports/169770 [2]
PR:		ports/170457 [3]
PR:		ports/170473 [4]
Obtained from:	PkgSrc [2]
Submitted by:	Jan Beich <jbeich@tormail.org>
Approved by:	maintainer
2012-10-04 17:04:44 +00:00
Sunpoet Po-Chuan Hsieh a28a1142b4 - Update to 1.0.25
- Convert to new options framework
- alsa-plugins:
  - Add option: ARIFF_OSS for FreeBSD-specific patch
  - Revert ports/165247 per regression in ports/169767
  - Unbreak arcam-av and usb_stream plugins
- While I'm here, pet portlint by removing ABI version number from LIB_DEPENDS

Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.0.24_v1.0.25
		http://www.alsa-project.org/main/index.php/Changes_v1.0.23_v1.0.24
PR:		ports/169841
Submitted by:	Jan Beich <jbeich@tormail.org> (maintainer)
2012-07-20 03:03:56 +00:00
Chris Rees 59632ff58f Since r221388 and its MFCs SNDCTL_DSP_GETIPTR should work correctly
on FreeBSD and should not require any quirks/workarounds.
In fact they seem to be harmful now and result in sound outages.

PR:		ports/165247
Submitted by:	avg
Submitted by:	Aragon Gouveia <aragon@phat.za.net> (maintainer)
2012-05-07 15:23:52 +00:00
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Matuska c86cd8cae2 Bump due to ffmpeg update to 0.7.1 2011-06-24 22:39:03 +00:00
Martin Matuska ab5c533c96 - Update ffmpeg to 0.6 2010-07-24 16:38:20 +00:00
Dima Panov 4070922aac - New port: audio/alsa-plugins Compatibility layer for ALSA support
PR:		145965
Submitted by:	Aragon Gouveia <aragon AT phat.za.net>
2010-06-05 12:46:16 +00:00