pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/alsa-lib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 22 14:48:09 UTC 2017

Modified Files:
        pkgsrc/audio/alsa-lib: Makefile PLIST distinfo
        pkgsrc/audio/alsa-lib/patches: patch-include_sound_asound.h
Added Files:
        pkgsrc/audio/alsa-lib/patches: patch-include_type__compat.h

Log Message:
Updated alsa-lib to 1.1.3.

Changelog between 1.1.2 and 1.1.3 releases

alsa-lib

Core

    Release v1.1.3
    conf/ucm: skylake: add skylake-rt286 conf files
    conf: bxtrt298: Add topology conf file for bxt
    conf: sklrt286: Remove tool to generate private data blobs
    ucm: Add ucm files for DB410c board.

Control API

    ctl: correct documentation about TLV feature
    ctl: improve documentation about TLV-related APIs
    ctl: improve API documentation for TLV operation

Mixer API

    mixer: Fix rounding mode documentation

PCM API

    pcm: fix get_stop_threshold alsa-lib 0.9 alias
    pcm: file: update linked hw_ptr and appl_ptr
    pcm_rate: Do not discard slave reported delay in status result.
    pcm: fix wrong document references to PCM APIs which perform direct memory access with frame copying
    pcm: dmix: Do not discard slave reported delay in status result
    pcm: Add the PCM state checks to plugins
    Revert "pcm: file: Add htimestamp operation in plugin file"
    pcm: file: Add htimestamp operation in plugin file
    pcm: dshare: Fix endless playback of buffer
    pcm: direct: Protect from freeing semaphore when already in use
    pcm_dshare: Do not discard slave reported delay in status result.
    pcm_plug: Clear plugins on all error conditions
    pcm: Better understandable locking code
    pcm: Fix shm initialization race-condition

Topology API

    topology: fix unused-variable warnings introduced to build_link()
    topology: Store number of strings of a text section
    topology: Merge private data before embedded controls of a widget
    topology: Revise document and comments for ABI v5
    topology: Export physical DAIs to the binary for kernel
    topology: Support configuring physical DAIs by C API
    topology: Parse physical DAIs in text conf file
    topology: Remove BE or CC in comments of physical links C API template
    topology: Parse name and stream name of physical DAI links
    topology: Parse and build private data of physical links
    topology: Parse link flags of physical DAI links
    topology: Parse HW configurations of physical DAI links in text conf file
    topology: Parse HW configurations of physical DAI links defined by C API
    topology: Define new type and section name to configure physical links
    topology: Rename varaibles for add physical links by C API
    topology: Define a function to build a single physical DAI link
    topology: Merge an element's be & cc pointer to one link pointer
    topology: Use snd_config_get_bool to simplify boolean flag parsing
    topology: tplg_elem_lookup() checks parameter before searching
    topology: Parse and build private data for PCM
    topology: Define a function to build a single PCM element
    topology: Parse flags for PCM
    topology: Parse sig_bits of stream caps
    topology: Add doc for including other files in the text conf file
    topology: Fix missing stream name of widgets in text conf file

Use Case Manager API

    ucm: Execute sequence of component devices
    ucm: Parse sequence of component devices
    ucm: Skip component directories when scanning sound card configuration files
    ucm: docs: typeset lists of identifiers explicitly
    ucm: fix crash when calling snd_use_case_geti() with no device or modifier

Configuration

    conf: don't install smixer.conf when python is not available
    topology: Update physical link configurations in Broadwell text conf file
    conf: Search included files under user specified configuration directories
    conf/ucm: skylake: add skylake-rt286 conf files
    conf: bxtrt298: Add topology conf file for bxt
    conf: sklrt286: Remove tool to generate private data blobs
    conf: sklrt286: define module private data through tuples in skylake
    ucm: Add ucm files for DB410c board.

Kernel Headers

    topology: ABI - Add voice wake up flag for DAI links
    topology: ABI - Define new types for physical DAI
    topology: ABI - Update manifest and pump ABI version to 5
    topology: ABI - Update physical DAI link configurations to ABI v5
    topology: ABI - Define DAI physical PCM data formats
    topology: ABI - Update stream caps and PCM objects to ABI v5
    Update include/sound/tlv.h from 4.9-pre kernel uapi

Simple Abstraction Mixer Modules

    mixer: Don't install smixer modules unless python is enabled

Test/Example code

    test: use actual information for TLV operation

Changelog between 1.1.1 and 1.1.2 releases

alsa-lib

Core

    Release v1.1.2
    pcm: Remove home brew atomic operations
    pcm: Add thread-safety to PCM API
    conf/ucm: chtrt5645: Add UCM config for chtrt5645
    conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S
    conf/ucm: ROCKCHIP-I2S: add Rockchip I2S UCM config.
    conf: topology: Generate Private data binary blobs
    conf: topology: Add Skylake i2s conf

Config API

    conf: Add thread-safe global tree reference

Control API

    ctl: use condition statements instead of assert() for new APIs to add an element set
    ctl: rename APIs to add an element set so that their names are appropriate
    ctl: add compatibility information for snd_ctl_elem_info_set_dimension()
    hctl: remove assertion from element event handler because removal event overwrites all of queued events
    ctl: improve documentation of APIs to add an element set
    ctl: add dimension validator
    ctl: add an API to set dimension levels to element information
    ctl: support extra information to user-defined element set
    ctl: use consistent name for second argument of snd_ctl_elem_read/write
    ctl: use automatic variable instead of call of alloca(3)
    ctl: fix returning zero for dimension level 4
    ctl: improve API documentation for threshold level operations
    ctl: add explanation about threshold level feature
    ctl: change former APIs as wrapper functions of element set APIs
    ctl: improve comments for API to add an element of IEC958 type
    ctl: add functions to add an element set
    ctl: improve comments for handling element data
    ctl: add an overview for design of ALSA control interface
    conf: Add thread-safe global tree reference
    namehint: Don't enumerate as duplex if only a single direction is defined

HWDEP API

    conf: Add thread-safe global tree reference

Mixer API

    mixer: remove alloca() from simple_event_add()
    mixer: change code formatting for simple_event_add()
    mixer: remove alloca() from simple_add1()
    mixer: change code formatting for simple_add1()
    mixer: remove alloca() from set_enum_item_ops()
    mixer: remove alloca() from get_enum_item_ops()
    mixer: remove alloca() from enum_item_name_ops()
    mixer: remove alloca() from init_db_range()
    mixer: change code formatting for init_db_range()
    mixer: remove alloca() from selem_write_main()
    mixer: change code formatting for selem_write_main()
    mixer: remove alloca() from elem_write_route()
    mixer: change code formatting for elem_write_route()
    mixer: remove alloca() from elem_write_enum()
    mixer: change code formatting for elem_write_enum()
    mixer: remove alloca() from elem_write_switch_constant()
    mixer: remove alloca() from elem_write_switch()
    mixer: change code formatting for elem_write_switch()
    mixer: remove alloca() from elem_write_volume()
    mixer: change code formatting for elem_write_volume()
    mixer: remove alloca() from selem_read()
    mixer: change code formatting for selem_read()
    mixer: remove alloca() from elem_read_enum()
    mixer: change code formatting for elem_read_enum()
    mixer: remove alloca() from elem_read_route()
    mixer: change code formatting for elem_read_route()
    mixer: remove alloca() from elem_read_volume()
    mixer: change code formatting for elem_read_volume()
    mixer: include library local header to find layout of structures

PCM API

    ctl: rename APIs to add an element set so that their names are appropriate
    pcm: remove alloca() from _snd_pcm_softvol_open()
    pcm: change code formatting for _snd_pcm_softvol_open()
    pcm: remove alloca() from softvol_load_control()
    pcm: change code formatting for softvol_load_control()
    pcm: remove alloca() from snd_spcm_init_duplex()
    pcm: remove alloca() from snd_spcm_init()
    pcm: remove alloca() from snd_pcm_hw_set_chmap()
    pcm: remove alloca() from snd_pcm_hw_get_chmap()
    pcm: remove alloca() from snd_pcm_query_chmaps_from_hw()
    pcm: remove alloca() from snd_pcm_hw_change_timer()
    pcm: change code formatting for snd_pcm_hw_change_timer()
    pcm: remove alloca() from _snd_pcm_hook_ctl_elems_install()
    pcm: remove alloca() from snd_pcm_direct_set_timer_params
    pcm: change code formatting for snd_pcm_direct_set_timer_params()
    pcm: remove alloca() from snd_pcm_direct_initialize_poll_fd()
    pcm: change code formatting for snd_pcm_direct_initialize_poll_fd()
    pcm: remove alloca() from snd_pcm_direct_initialize_slave
    pcm: change code formatting for snd_pcm_direct_initialize_slave()
    pcm: remove alloca() from snd_pcm_get_params
    pcm: change code formatting for snd_pcm_get_params()
    pcm: remove alloca() from snd_pcm_set_params()
    pcm: change code formatting for snd_pcm_set_params()
    pcm: fix return value of snd_pcm_ioplug_sw_params()
    pcm: fix missing return value of snd_pcm_status()
    pcm: Add LIBASOUND_THREAD_SAFE env variable check
    pcm: Remove home brew atomic operations
    pcm: Add thread-safety to PCM API
    pcm: add 'default' case for switch statement
    pcm: set error code at failure path
    pcm: Remove superfluous rmb() from PCM meter plugin
    ctl: support extra information to user-defined element set
    pcm: use new APIs to add a control element set for softvol plugin
    pcm: dmix: Return error when slave is in OPEN or DISCONNECTED
    pcm: dmix: Prepare slave when it's in SETUP, too
    pcm: dmix: resume workaround for buggy driver
    pcm: Fix secondary retry in dsnoop and dshare
    pcm: Remove resume support from dmix & co
    conf: Add thread-safe global tree reference
    pcm: dmix: Fix doubly resume of slave PCM
    pcm: Fix suspend/resume regression with dmix & co
    pcm: softvol: fix conversion of TLVs min_db and max_dB value
    pcm: Fallback open as the first instance for dmix & co
    pcm: Clean up error paths in snd_pcm_plugin_*() helpers
    pcm_plugin: fix appl pointer not correct when mmap_commit() return error

RawMidi API

    conf: Add thread-safe global tree reference

Topology API

    topology: Fix the missing referenced elem ptr when merging private data
    topology: Fix inaccurate message on failure to find a widgets's reference
    topology: Check address and length before string copy
    topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler warning
    topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER
    topology: Tuple type can have an extenstion
    topology: Parse vendor private data for manifest
    topology: Change uuid value to 16 separate characters in text conf file
    topology: Merge lookup for data reference into tplg_copy_data()
    topology: An element can refer to multipe data sections in text conf file
    topology: initialize variable for error output
    topology: apply the same type to compared two variables
    topology: remove unused variable in get_tokens()
    topology: remove unused variable in tplg_parse_fe_dai()
    topology: Parse front-end DAI name and ID for the PCM
    topology: Fix pcm ID & name parsing
    topology: Use generic pointer to realloc buffer for private data
    topology: Refactor functions to parse and build streams
    topology: Set manifest size for ABI
    topology: Build data objects with tuples
    topology: Add support for parsing vendor tuples
    topology: Add support for vendor tokens
    topology: Add doc for vendor tuples
    topology: Define a free handler for the element
    topology: Use the generic pointer to free an element's object

Use Case Manager API

    ucm: add cset-tlv

/include/Makefile.am

    pcm: Remove home brew atomic operations

ALSA Lisp

    alisp: remove alloca() from FA_pcm_info()
    alisp: remove alloca() from FA_hctl_elem_write()
    alisp: remo: remove alloca() from FA_card_info()

Async helpers

    async: Handle previously installed signal handler

Configuration

    Makefile: fix sklrt286 dist files
    conf: remove alloca() from snd_func_private_pcm_subdevice()
    conf: remove alloca()y_class()
    conf: remove alloca() from snd_func_pcm_id()
    conf: remove alloca() from snd_func_card_name()
    conf: remove alloca() from snd_func_card_id()
    conf: remove alloca() from snd_determine_driver()
    conf/ucm: chtrt5645: Add UCM cote PCM configurations in Broadwell text conf file
    conf: topology: Generate Private data binary blobs
    conf: topology: Add Skylake i2s conf

Documentation

    pcm: Add thread-safety to PCM API
    doxygen: Suppress timestamp
    INSTALL: updat
    topology: ABI - Define types for vendor tuples

Simple Abstraction Mixer Modules

    mixer: remove assignment to unused variable

Test/Example code

    ctl: rename APIs to add an element set so that their names are appropriate
    test: add linkpport dimension test for user-defined element set
    ctl: optimize a test for user-defined element set to changes of APIs
    ctl: optimize a test for user-defined element set to older kernels
    ctl: add test program for control element set


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/audio/alsa-lib/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/alsa-lib/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/audio/alsa-lib/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/alsa-lib/patches/patch-include_type__compat.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/alsa-lib/Makefile
diff -u pkgsrc/audio/alsa-lib/Makefile:1.19 pkgsrc/audio/alsa-lib/Makefile:1.20
--- pkgsrc/audio/alsa-lib/Makefile:1.19 Fri Jun  3 15:45:43 2016
+++ pkgsrc/audio/alsa-lib/Makefile      Wed Feb 22 14:48:08 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2016/06/03 15:45:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.20 2017/02/22 14:48:08 wiz Exp $
 
-DISTNAME=      alsa-lib-1.1.1
+DISTNAME=      alsa-lib-1.1.3
 CATEGORIES=    audio
 MASTER_SITES=  ftp://ftp.alsa-project.org/pub/lib/
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/audio/alsa-lib/PLIST
diff -u pkgsrc/audio/alsa-lib/PLIST:1.5 pkgsrc/audio/alsa-lib/PLIST:1.6
--- pkgsrc/audio/alsa-lib/PLIST:1.5     Thu Feb 18 15:15:57 2016
+++ pkgsrc/audio/alsa-lib/PLIST Wed Feb 22 14:48:08 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/02/18 15:15:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/02/22 14:48:08 wiz Exp $
 bin/aserver
 include/alsa/alisp.h
 include/alsa/asoundef.h
@@ -9,7 +9,6 @@ include/alsa/control_external.h
 include/alsa/error.h
 include/alsa/global.h
 include/alsa/hwdep.h
-include/alsa/iatomic.h
 include/alsa/input.h
 include/alsa/mixer.h
 include/alsa/mixer_abst.h
@@ -40,9 +39,6 @@ include/alsa/topology.h
 include/alsa/use-case.h
 include/alsa/version.h
 include/sys/asoundlib.h
-lib/alsa-lib/smixer/smixer-ac97.la
-lib/alsa-lib/smixer/smixer-hda.la
-lib/alsa-lib/smixer/smixer-sbase.la
 lib/libasound.la
 lib/pkgconfig/alsa.pc
 share/aclocal/alsa.m4
@@ -124,11 +120,15 @@ share/alsa/pcm/surround41.conf
 share/alsa/pcm/surround50.conf
 share/alsa/pcm/surround51.conf
 share/alsa/pcm/surround71.conf
-share/alsa/smixer.conf
 share/alsa/sndo-mixer.alisp
 share/alsa/topology/broadwell/broadwell.conf
+share/alsa/topology/bxtrt298/bxt_i2s.conf
+share/alsa/topology/sklrt286/skl_i2s.conf
 share/alsa/ucm/DAISY-I2S/DAISY-I2S.conf
 share/alsa/ucm/DAISY-I2S/HiFi.conf
+share/alsa/ucm/DB410c/DB410c.conf
+share/alsa/ucm/DB410c/HDMI
+share/alsa/ucm/DB410c/HiFi
 share/alsa/ucm/GoogleNyan/GoogleNyan.conf
 share/alsa/ucm/GoogleNyan/HiFi.conf
 share/alsa/ucm/PAZ00/HiFi.conf
@@ -155,6 +155,14 @@ share/alsa/ucm/SDP4430/hifiLP
 share/alsa/ucm/SDP4430/record
 share/alsa/ucm/SDP4430/voice
 share/alsa/ucm/SDP4430/voiceCall
+share/alsa/ucm/VEYRON-I2S/HiFi.conf
+share/alsa/ucm/VEYRON-I2S/VEYRON-I2S.conf
 share/alsa/ucm/broadwell-rt286/HiFi
 share/alsa/ucm/broadwell-rt286/broadwell-rt286.conf
+share/alsa/ucm/chtrt5645/HiFi.conf
+share/alsa/ucm/chtrt5645/chtrt5645.conf
+share/alsa/ucm/skylake-rt286/Hdmi1
+share/alsa/ucm/skylake-rt286/Hdmi2
+share/alsa/ucm/skylake-rt286/HiFi
+share/alsa/ucm/skylake-rt286/skylake-rt286.conf
 share/alsa/ucm/tegraalc5632/tegraalc5632.conf

Index: pkgsrc/audio/alsa-lib/distinfo
diff -u pkgsrc/audio/alsa-lib/distinfo:1.23 pkgsrc/audio/alsa-lib/distinfo:1.24
--- pkgsrc/audio/alsa-lib/distinfo:1.23 Tue Jan 17 15:21:05 2017
+++ pkgsrc/audio/alsa-lib/distinfo      Wed Feb 22 14:48:08 2017
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.23 2017/01/17 15:21:05 wiz Exp $
+$NetBSD: distinfo,v 1.24 2017/02/22 14:48:08 wiz Exp $
 
-SHA1 (alsa-lib-1.1.1.tar.bz2) = 09f7e9b2d88287e04a4bb0d56e0cbc9018e524ec
-RMD160 (alsa-lib-1.1.1.tar.bz2) = 619a6c224cb52b9013e59c2f167e4375651ae03e
-SHA512 (alsa-lib-1.1.1.tar.bz2) = dacd0a74adc682ac0034cbeba2de3d1a141e0ac2e564c9e04dae202ffaf87ef3a1e01307afc2fd2d9cfe679e5b101c379f9b6ea5f7ccceeed14a427bd5232bc7
-Size (alsa-lib-1.1.1.tar.bz2) = 932105 bytes
+SHA1 (alsa-lib-1.1.3.tar.bz2) = 8ef0b9725296ac8f24e06f20196f5b2b62ab27a9
+RMD160 (alsa-lib-1.1.3.tar.bz2) = 36fb2c889411e23be1084a432d200d40fb70e920
+SHA512 (alsa-lib-1.1.3.tar.bz2) = f5dbe2375a8c66af14378314a5238284d4ed63dfc86a750c0c6e8f6cdb6b1ea2d8ef26f870b5d152dc0b77d9b40821cab523f6734902b91583beb08e28c66850
+Size (alsa-lib-1.1.3.tar.bz2) = 962001 bytes
 SHA1 (patch-ad) = 79a0f048751899247ec12990cd02332b977af248
 SHA1 (patch-ae) = 7ad3a3c3ee4be2c80fa6b0a2ea28563efd399a60
 SHA1 (patch-af) = 257b06f10616c04c2724e30777b027e5e7e443f9
@@ -14,8 +14,8 @@ SHA1 (patch-bi) = 7e74ebe53cc2ab273f5235
 SHA1 (patch-bj) = 5b7a36747e57e41eddb05cd1b1d9771a36b0c4f7
 SHA1 (patch-bk) = 55754e4d0ac947c2e7e59b604a21fb5798ae5b39
 SHA1 (patch-configure.ac) = 1c407e8a9d9ea745ab1b79175f6fc0ec6d475acc
-SHA1 (patch-include_iatomic.h) = 7096f31a6b38c10b2e11a907f8431d33d98cce94
-SHA1 (patch-include_sound_asound.h) = 92d4299b5d3babf012c2464393525cd32968a854
+SHA1 (patch-include_sound_asound.h) = 04e80f66542473b3b858427972046f2de320f871
+SHA1 (patch-include_type__compat.h) = 3cb245d8ea171f987859e1b5a89b0908c2037492
 SHA1 (patch-src_conf.c) = 432e04179798c54a76f5ce072dd9c0b79221df85
 SHA1 (patch-src_control_control__hw.c) = 07cfe3abe586b32f6b989403cd162599da07e865
 SHA1 (patch-src_pcm_pcm__mmap.c) = 2d0f05aa53b30cef1ec083aa4f5d559d0a679058

Index: pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h
diff -u pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h:1.4 pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h:1.5
--- pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h:1.4      Tue Jan 17 15:21:05 2017
+++ pkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h  Wed Feb 22 14:48:09 2017
@@ -1,8 +1,8 @@
-$NetBSD: patch-include_sound_asound.h,v 1.4 2017/01/17 15:21:05 wiz Exp $
+$NetBSD: patch-include_sound_asound.h,v 1.5 2017/02/22 14:48:09 wiz Exp $
 
 Include sys/time.h for struct timespec.
 
---- include/sound/asound.h.orig        2016-03-31 13:10:39.000000000 +0000
+--- include/sound/asound.h.orig        2016-12-20 14:43:20.000000000 +0000
 +++ include/sound/asound.h
 @@ -27,6 +27,7 @@
  #include <linux/types.h>

Added files:

Index: pkgsrc/audio/alsa-lib/patches/patch-include_type__compat.h
diff -u /dev/null pkgsrc/audio/alsa-lib/patches/patch-include_type__compat.h:1.1
--- /dev/null   Wed Feb 22 14:48:09 2017
+++ pkgsrc/audio/alsa-lib/patches/patch-include_type__compat.h  Wed Feb 22 14:48:09 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_type__compat.h,v 1.1 2017/02/22 14:48:09 wiz Exp $
+
+--- include/type_compat.h.orig 2016-12-20 14:43:20.000000000 +0000
++++ include/type_compat.h
+@@ -29,6 +29,9 @@
+ #define ESTRPIPE EPIPE
+ #endif
+ 
++#ifndef __u8
++#define __u8  uint8_t
++#endif
+ #ifndef __u16
+ #define __u16 uint16_t
+ #endif



Home | Main Index | Thread Index | Old Index