alsa recipe updates
cover alsa recipe updates
The following changes since commit f15ceac287c094abdeda64b03628455d92e0ce74:
libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib tanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updates
The alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8
.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +-
...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++--
...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0
...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +--
.../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +-
5 files changed, 85 insertions(+), 15 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%)
rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%)
rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%)
rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)Signature · 1 line
2.20.1
PATCH 1/3 alsa-lib: 1.1.6 -> 1.1.8
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
One significant change was that the search path of add-on configuration files was changed from /usr/share/alsa/alsa.conf.d to /etc/alsa/conf.d. Packages that install such files should still use the /usr/share location, though. Symlinks need to be created from /etc to /usr/share. The rationale for using /etc is that the system administrator can better control the configuration that way, and the rationale for installing files under /usr/share is that configuration snippets that are installed by packages are not meant to be directly edited by the administrator.
alsa-plugins had to be modified to add symlinks for the configuration snippets that it installs. I also added FILES_${PN} = "", because the alsa-plugins package is supposed to be empty, but also because for some reason that I don't understand the symlinks would otherwise go to the alsa-plugins package rather than alsa-plugins-pulseaudio-conf.
---
.../alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 ++--
meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb | 13 ++++++++++++-
2 files changed, 14 insertions(+), 3 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%)meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb +2 -2
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ " SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" -SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" -SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" +SRC_URI[md5sum] = "0eec0d657a07927795809c8f87fb76ca" +SRC_URI[sha256sum] = "3cdc3a93a6427a26d8efab4ada2152e64dd89140d981f6ffa003e85be707aedf" inherit autotools pkgconfig
meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb +12 -1
@@ -47,14 +47,23 @@ PACKAGES_DYNAMIC = "^libasound-module-.*" # The alsa-plugins package doesn't itself contain anything, it just depends on # all built plugins. +FILES_${PN} = "" ALLOW_EMPTY_${PN} = "1" do_install_append() { rm ${D}${libdir}/alsa-lib/*.la - # We use the example as is, so just drop the .example suffix. if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then + # We use the example as is, so just drop the .example suffix. mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf + + # The conf.d files are installed in datadir, but alsa-lib + # searches for conf.d files only in sysconfdir. Distributions + # are expected to create symlinks in sysconfdir, so that's what + # we do here. + mkdir -p ${D}${sysconfdir}/alsa/conf.d + ln -s ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf ${D}${sysconfdir}/alsa/conf.d/50-pulseaudio.conf + ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf fi }
@@ -94,6 +103,8 @@ INSANE_SKIP_${MLPREFIX}libasound-module-rate-speexrate = "dev-so" FILES_${PN}-pulseaudio-conf += "\ ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf \ ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf \ + ${sysconfdir}/alsa/conf.d/50-pulseaudio.conf \ + ${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf \ " RDEPENDS_${PN}-pulseaudio-conf += "\
Signature · 1 line
2.20.1
Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
WARNING: alsa-lib-native-1.1.8-r0 do_fetch: Failed to fetch URL ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.8.tar.bz2, attempting MIRRORS if available
we might need a better source
Quoted 91 lines · Tanu Kaskinen
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8One significant change was that the search path of add-on configuration files was changed from
/usr/share/alsa/alsa.conf.dto/etc/alsa/conf.d. Packages that install such files should still use the/usr/sharelocation, though. Symlinks need to be created from /etc to/usr/share. The rationale for using /etc is that the system administrator can better control the configuration that way, and the rationale for installing files under/usr/shareis that configuration snippets that are installed by packages are not meant to be directly edited by the administrator.alsa-plugins had to be modified to add symlinks for the configuration snippets that it installs. I also added FILES_${PN} = "", because the alsa-plugins package is supposed to be empty, but also because for some reason that I don't understand the symlinks would otherwise go to the alsa-plugins package rather than alsa-plugins-pulseaudio-conf.
Signed-off-by Tanu Kaskinen <[email protected]>--- .../alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 ++-- meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb | 13 ++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%)meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb +2
-2@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ " SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" -SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" -SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" +SRC_URI[md5sum] = "0eec0d657a07927795809c8f87fb76ca" +SRC_URI[sha256sum] = "3cdc3a93a6427a26d8efab4ada2152e64dd89140d981f6ffa003e85be707aedf" inherit autotools pkgconfigmeta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb +12
-2@@ -47,14 +47,23 @@ PACKAGES_DYNAMIC = "^libasound-module-.*" # The alsa-plugins package doesn't itself contain anything, it just depends on # all built plugins. +FILES_${PN} = "" ALLOW_EMPTY_${PN} = "1" do_install_append() { rm ${D}${libdir}/alsa-lib/*.la - # We use the example as is, so just drop the .example suffix. if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then + # We use the example as is, so just drop the .example suffix. mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf + + # The conf.d files are installed in datadir, but alsa-lib + # searches for conf.d files only in sysconfdir. Distributions + # are expected to create symlinks in sysconfdir, so that's what + # we do here. + mkdir -p ${D}${sysconfdir}/alsa/conf.d + ln -s ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf ${D}${sysconfdir}/alsa/conf.d/50-pulseaudio.conf + ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf fi }@@ -94,6 +103,8 @@ INSANE_SKIP_${MLPREFIX}libasound-module-rate-speexrate = "dev-so" FILES_${PN}-pulseaudio-conf += "\ ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf \ ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf \ + ${sysconfdir}/alsa/conf.d/50-pulseaudio.conf \ + ${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf \ " RDEPENDS_${PN}-pulseaudio-conf += "\ --2.20.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
Quoted 5 lines · Khem Raj
WARNING: alsa-lib-native-1.1.8-r0
do_fetch: Failed to fetch URL ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.8.tar.bz2, attempting MIRRORS if availablewe might need a better source
I don't know what's going on with the alsa infrastructure, it has had various problems since last weekend. Sometimes the ftp server works, sometimes it doesn't. The ftp server is certainly the official source, since that's what was advertised in the release announcement.
In my testing I used Debian's archives, but I suppose it's not cool to cause server load on Debian.
Is github a good source? If I recall correctly, github has had some kind of problems in the past regarding checksum stability, has that improved? I see there are many recipes using github, so I suppose it's ok.
This link seems to work:
https://github.com/alsa-project/alsa-lib/archive/v1.1.8.tar.gz
...but most github SRC_URIs have structure where the the tarball is under archive/download/<version>/ and I wasn't able to figure out a working url for alsa-lib that would have that structure.
Signature · 4 lines
Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk
Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
Quoted 20 lines · Tanu Kaskinen
Quoted 5 lines · Khem Raj
WARNING: alsa-lib-native-1.1.8-r0
do_fetch: Failed to fetch URL ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.8.tar.bz2, attempting MIRRORS if availablewe might need a better source
I don't know what's going on with the alsa infrastructure, it has had various problems since last weekend. Sometimes the ftp server works, sometimes it doesn't. The ftp server is certainly the official source, since that's what was advertised in the release announcement.
In my testing I used Debian's archives, but I suppose it's not cool to cause server load on Debian.
Is github a good source? If I recall correctly, github has had some kind of problems in the past regarding checksum stability, has that improved? I see there are many recipes using github, so I suppose it's ok.
Quoted 5 lines
This link seems to work:
https://github.com/alsa-project/alsa-lib/archive/v1.1.8.tar.gz
...but most githubSRC_URIshave structure where the the tarball is under archive/download/<version>/ and I wasn't able to figure out a working url for alsa-lib that would have that structure.
Never mind, I didn't notice that Alex already provided a good source.
Signature · 4 lines
Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk
PATCH 2/3 alsa-plugins: 1.1.6 -> 1.1.8
In reply to Tanu KaskinenChangelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
The --enable-avcodec configure option was renamed to --enable-libav, and I renamed the respective packageconfig item too.
There's a new pcm plugin: aaf (AVTP Audio Format). I added a packageconfig item for it, but I didn't test it, because libavtp doesn't seem to be currently packaged for OpenEmbedded.
There are now configuration files for most of the plugins. I removed the symlink creation for 50-pulseaudio.conf, because upstream now creates the symlinks for us. 99-pulseaudio-default.conf is an exception, because upstream ships it only as an example, and upstream doesn't install a symlink for it (upstream actually installs it directly under /etc, but I moved it back to /usr/share), so for that file we still have to create the symlink ourselves.
The lavcrate plugin was converted to use libavresample (and renamed to lavrate). Libavresample is provided by ffmpeg, but ffmpeg was by default built with libavresample disabled. This patch now enables libavresample by default in the ffmpeg recipe in order to not cause a regression in alsa-plugins.
---
...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 87 ++++++++++++++++---
.../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +-
2 files changed, 74 insertions(+), 15 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (54%)meta/recipes-multimedia/alsa/alsa-plugins_1.1.8.bb renamed from meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb +73 -14
@@ -21,8 +21,8 @@ LIC_FILES_CHKSUM = "\ " SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2" -SRC_URI[md5sum] = "8387279e99feeb2ecffaac5f293223d7" -SRC_URI[sha256sum] = "6f1d31ebe3b1fa1cc8dade60b7bed1cb2583ac998167002d350dc0a5e3e40c13" +SRC_URI[md5sum] = "d0f87211d1560f2c07c8eae4297bc4f6" +SRC_URI[sha256sum] = "7f77df171685ccec918268477623a39db4d9f32d5dc5e76874ef2467a2405994" DEPENDS += "alsa-lib"
@@ -33,8 +33,9 @@ PACKAGECONFIG ??= "\ speexdsp \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ " -PACKAGECONFIG[avcodec] = "--enable-avcodec,--disable-avcodec,libav" +PACKAGECONFIG[aaf] = "--enable-aaf,--disable-aaf,avtp" PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" +PACKAGECONFIG[libav] = "--enable-libav,--disable-libav,libav" PACKAGECONFIG[maemo-plugin] = "--enable-maemo-plugin,--disable-maemo-plugin" PACKAGECONFIG[maemo-resource-manager] = "--enable-maemo-resource-manager,--disable-maemo-resource-manager,dbus" PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
@@ -54,15 +55,11 @@ do_install_append() { rm ${D}${libdir}/alsa-lib/*.la if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then - # We use the example as is, so just drop the .example suffix. - mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf - - # The conf.d files are installed in datadir, but alsa-lib - # searches for conf.d files only in sysconfdir. Distributions - # are expected to create symlinks in sysconfdir, so that's what - # we do here. - mkdir -p ${D}${sysconfdir}/alsa/conf.d - ln -s ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf ${D}${sysconfdir}/alsa/conf.d/50-pulseaudio.conf + # We use the example as is. Upstream installs the file under + # /etc, but we move it under /usr/share and add a symlink under + # /etc to be consistent with other installed configuration + # files. + mv ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf fi }
@@ -73,6 +70,68 @@ python populate_packages_prepend() { d.setVar("RDEPENDS_alsa-plugins", packages) } +# Many plugins have a configuration file (plus a symlink in /etc) associated +# with them. We put the plugin and it's configuration usually in the same +# package, but that's problematic when the configuration file is related to +# multiple plugins, as is the case with the pulse, oss and maemo plugins. In +# case of the pulse plugins, we have a separate alsa-plugins-pulseaudio-conf +# package that depends on all the pulse plugins, which ensures that all plugins +# that the configuration references are installed. The oss and maemo +# configuration files, on the other hand, are in the respective pcm plugin +# packages. Therefore it's possible to install the configuration file without +# the ctl plugin that the configuration file references. This is unlikely to +# cause big problems, but some kind of improvement to the packaging could +# probably be done here (at least it would be good to handle the different +# plugins in a consistent way). +FILES_${MLPREFIX}libasound-module-ctl-arcam-av += "\ + ${datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf \ + ${sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-a52 += "\ + ${datadir}/alsa/alsa.conf.d/60-a52-encoder.conf \ + ${sysconfdir}/alsa/conf.d/60-a52-encoder.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-alsa-dsp += "\ + ${datadir}/alsa/alsa.conf.d/98-maemo.conf \ + ${sysconfdir}/alsa/conf.d/98-maemo.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-jack += "\ + ${datadir}/alsa/alsa.conf.d/50-jack.conf \ + ${sysconfdir}/alsa/conf.d/50-jack.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-oss += "\ + ${datadir}/alsa/alsa.conf.d/50-oss.conf \ + ${sysconfdir}/alsa/conf.d/50-oss.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-speex += "\ + ${datadir}/alsa/alsa.conf.d/60-speex.conf \ + ${sysconfdir}/alsa/conf.d/60-speex.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-upmix += "\ + ${datadir}/alsa/alsa.conf.d/60-upmix.conf \ + ${sysconfdir}/alsa/conf.d/60-upmix.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-usb-stream += "\ + ${datadir}/alsa/alsa.conf.d/98-usb-stream.conf \ + ${sysconfdir}/alsa/conf.d/98-usb-stream.conf \ +" +FILES_${MLPREFIX}libasound-module-pcm-vdownmix += "\ + ${datadir}/alsa/alsa.conf.d/60-vdownmix.conf \ + ${sysconfdir}/alsa/conf.d/60-vdownmix.conf \ +" +FILES_${MLPREFIX}libasound-module-rate-lavrate += "\ + ${datadir}/alsa/alsa.conf.d/10-rate-lav.conf \ + ${sysconfdir}/alsa/conf.d/10-rate-lav.conf \ +" +FILES_${MLPREFIX}libasound-module-rate-samplerate += "\ + ${datadir}/alsa/alsa.conf.d/10-samplerate.conf \ + ${sysconfdir}/alsa/conf.d/10-samplerate.conf \ +" +FILES_${MLPREFIX}libasound-module-rate-speexrate += "\ + ${datadir}/alsa/alsa.conf.d/10-speexrate.conf \ + ${sysconfdir}/alsa/conf.d/10-speexrate.conf \ +" + # The rate plugins create some symlinks. For example, the samplerate plugin # creates these links to the main plugin file: #
@@ -89,10 +148,10 @@ python populate_packages_prepend() { # The symlinks cause QA errors, because usually it's a bug if a non # -dev/-dbg/-nativesdk package contains links to .so files, but in this case # the errors are false positives, so we disable the QA checks. -FILES_${MLPREFIX}libasound-module-rate-lavcrate += "${libdir}/alsa-lib/*rate_lavcrate_*.so" +FILES_${MLPREFIX}libasound-module-rate-lavrate += "${libdir}/alsa-lib/*rate_lavrate_*.so" FILES_${MLPREFIX}libasound-module-rate-samplerate += "${libdir}/alsa-lib/*rate_samplerate_*.so" FILES_${MLPREFIX}libasound-module-rate-speexrate += "${libdir}/alsa-lib/*rate_speexrate_*.so" -INSANE_SKIP_${MLPREFIX}libasound-module-rate-lavcrate = "dev-so" +INSANE_SKIP_${MLPREFIX}libasound-module-rate-lavrate = "dev-so" INSANE_SKIP_${MLPREFIX}libasound-module-rate-samplerate = "dev-so" INSANE_SKIP_${MLPREFIX}libasound-module-rate-speexrate = "dev-so"
meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb +1 -1
@@ -42,7 +42,7 @@ DEPENDS = "alsa-lib zlib libogg nasm-native" inherit autotools pkgconfig -PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc \ +PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \ bzlib gpl lzma theora x264 \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv', '', d)}"
Signature · 1 line
2.20.1
PATCH 3/3 alsa-utils: 1.1.6 -> 1.1.8
In reply to Tanu KaskinenChangelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
There's a new program, axfer, which is a reimplementation of aplay (and arecord). The purpose of the rewrite is to have code that is easier to maintain. For now both implementations exist, and I decided to put both in the aplay package.
The new 89-alsa-ucm.rules udev file initializes the mixer settings for certain hardware. It's needed for making the hardware usable at boot, in case there's no higher level software (such as PulseAudio) managing the mixer settings. Shipping hardware specific configuration in alsa-utils seems wrong, but I don't know what else to do. I added it to the alsaucm package, because it's kind of tied to the alsaucm utility (the udev rules execute the alsaucm program, and the build system installs the rules file only when alsaucm is enabled). Ideally the UCM configuration in alsa-lib would define the default UCM verb for each hardware, then the udev rules file could just enable the default verb, and there would be no hardware specific configuration in alsa-utils. But that requires upstream development effort.
---
...ls-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0
.../alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +++++-----
2 files changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%)
rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.8.bb renamed from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.6.bb +0 -0
meta/recipes-multimedia/alsa/alsa-utils_1.1.8.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.1.6.bb +5 -5
@@ -22,8 +22,8 @@ PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ " -SRC_URI[md5sum] = "50ae75567459646b843bed78d916b002" -SRC_URI[sha256sum] = "155caecc40b2220f686f34ba3655a53e3bdbc0586adb1056733949feaaf7d36e" +SRC_URI[md5sum] = "54d6f9b483144823d0fc0c26e8cea028" +SRC_URI[sha256sum] = "fd9bf528922b3829a91913b89a1858c58a0b24271a7b5f529923aa9ea12fa4cf" # On build machines with python-docutils (not python3-docutils !!) installed # rst2man (not rst2man.py) is detected and compile fails with
@@ -59,7 +59,7 @@ RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}" FILES_${PN} = "" FILES_alsa-utils-alsabat = "${bindir}/alsabat" FILES_alsa-utils-alsatplg = "${bindir}/alsatplg" -FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" +FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord ${bindir}/axfer" FILES_alsa-utils-amixer = "${bindir}/amixer" FILES_alsa-utils-alsamixer = "${bindir}/alsamixer" FILES_alsa-utils-speakertest = "${bindir}/speaker-test ${datadir}/sounds/alsa/ ${datadir}/alsa/speaker-test/"
@@ -67,10 +67,10 @@ FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bind FILES_alsa-utils-aconnect = "${bindir}/aconnect" FILES_alsa-utils-aseqnet = "${bindir}/aseqnet" FILES_alsa-utils-iecset = "${bindir}/iecset" -FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d */*/udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" +FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d/90-alsa-restore.rules */*/udev/rules.d/90-alsa-restore.rules ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" FILES_alsa-utils-aseqdump = "${bindir}/aseqdump" FILES_alsa-utils-alsaloop = "${bindir}/alsaloop" -FILES_alsa-utils-alsaucm = "${bindir}/alsaucm" +FILES_alsa-utils-alsaucm = "${bindir}/alsaucm */udev/rules.d/89-alsa-ucm.rules */*/udev/rules.d/89-alsa-ucm.rules" SUMMARY_alsa-utils-alsabat = "Command-line sound tester for ALSA sound card driver" SUMMARY_alsa-utils-alsatplg = "Converts topology text files into binary format for kernel"
Signature · 1 line
2.20.1
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 43 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
(Also sbc needs an update, I think)
Alex
Quoted 49 lines · Alexander Kanavin
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 43 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Richard already sent the update for sbc, so I left it out. As for alsa- tools, if you read the cover letter in more detail, you'll find the answer there :) (Spoiler: I'll send it, but it's not ready yet.)
-- Tanu
Quoted 53 lines · Alexander Kanavin
(Also sbc needs an update, I think)
Alex
Quoted 47 lines · Alexander Kanavin
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 42 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 4 lines
Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk
Bah, and I often point out to people that they should read *my* cover letters :) Thanks!
Alex
Quoted 67 lines · Tanu Kaskinen
Richard already sent the update for sbc, so I left it out. As for alsa- tools, if you read the cover letter in more detail, you'll find the answer there :) (Spoiler: I'll send it, but it's not ready yet.)
-- Tanu
Quoted 53 lines · Alexander Kanavin
(Also sbc needs an update, I think)
Alex
Quoted 47 lines · Alexander Kanavin
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 42 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
Tanu
ftp://ftp.alsa.org seems inaccessible or unstable:
https://autobuilder.yoctoproject.org/typhoon/#/builders/70/builds/317/steps/7/logs/step1b
(also can't open it on my local machine)
and generally we prefer http:// sources over ftp, if available.
Alsa does have one: https://www.alsa-project.org/files/
so can you please resend with SRC_URIs changed to use it? (also for alsa-tools and everywhere where the ftp is currently used)
Alex
Quoted 74 lines · Alexander Kanavin
Bah, and I often point out to people that they should read *my* cover letters :) Thanks!
Alex
Quoted 67 lines · Tanu Kaskinen
Richard already sent the update for sbc, so I left it out. As for alsa- tools, if you read the cover letter in more detail, you'll find the answer there :) (Spoiler: I'll send it, but it's not ready yet.)
-- Tanu
Quoted 53 lines · Alexander Kanavin
(Also sbc needs an update, I think)
Alex
Quoted 47 lines · Alexander Kanavin
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 42 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
Tanu
Quoted 7 lines · Alexander Kanavin
ftp://ftp.alsa.org seems inaccessible or unstable:
https://autobuilder.yoctoproject.org/typhoon/#/builders/70/builds/317/steps/7/logs/step1b
(also can't open it on my local machine)
and generally we prefer http:// sources over ftp, if available.
Quoted 6 lines
Alsa does have one: https://www.alsa-project.org/files/
so can you please resend with
SRC_URIschanged to use it? (also for alsa-tools and everywhere where the ftp is currently used)Alex
seeing this fetch issue building alsa-utils-scripts
ERROR: Fetcher failure for URL:
'https://www.alsa-project.org/files/pub/utils/alsa-utils-scripts-1.1.8.tar.bz2'. Unable to fetch URL from any source.
Quoted 81 lines · Alexander Kanavin
Quoted 74 lines
Bah, and I often point out to people that they should read *my* cover letters :) Thanks!
Alex
Quoted 67 lines · Tanu Kaskinen
Richard already sent the update for sbc, so I left it out. As for alsa- tools, if you read the cover letter in more detail, you'll find the answer there :) (Spoiler: I'll send it, but it's not ready yet.)
-- Tanu
Quoted 53 lines · Alexander Kanavin
(Also sbc needs an update, I think)
Alex
Quoted 47 lines · Alexander Kanavin
Thanks! Will you be also sending an update to alsa-tools?
Alex
Quoted 42 lines · Tanu Kaskinen
The following changes since commit
f15ceac287c094abdeda64b03628455d92e0ce74:libdrm: Upgrade 2.4.96 -> 2.4.97 (2019-02-20 21:22:28 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contribtanuk/updates
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=tanuk/updatesThe alsa-tools update is missing, because the recipe upgrade deadline is near and the changes in alsa-tools look like a potential rabbit hole. I'll send the alsa-tools update separately when it's ready. The main change in alsa-tools is that the hwmixvolume program got ported from PyGTK to gobject-introspection, and from GTK2 to GTK3. I doubt anyone actually is using that program, it's not even built by default.
Tanu Kaskinen (3):
alsa-lib: 1.1.6 -> 1.1.8
alsa-plugins: 1.1.6 -> 1.1.8
alsa-utils: 1.1.6 -> 1.1.8.../{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} | 4 +- ...plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} | 84 +++++++++++++++++-- ...s_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} | 0 ...lsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} | 10 +-- .../recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb | 2 +- 5 files changed, 85 insertions(+), 15 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.6.bb => alsa-lib_1.1.8.bb} (88%) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.6.bb => alsa-plugins_1.1.8.bb} (51%) rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.1.6.bb => alsa-utils-scripts_1.1.8.bb} (100%) rename meta/recipes-multimedia/alsa/{alsa-utils_1.1.6.bb => alsa-utils_1.1.8.bb} (92%)--
2.20.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
Tanu--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 13 lines · Khem Raj
Quoted 11 lines · Alexander Kanavin
ftp://ftp.alsa.org seems inaccessible or unstable:
https://autobuilder.yoctoproject.org/typhoon/#/builders/70/builds/317/steps/7/logs/step1b
(also can't open it on my local machine)
and generally we prefer http:// sources over ftp, if available.Alsa does have one: https://www.alsa-project.org/files/
so can you please resend with
SRC_URIschanged to use it? (also for alsa-tools and everywhere where the ftp is currently used)
Quoted 7 lines
Quoted 1 line
Alex
seeing this fetch issue building alsa-utils-scripts
ERROR: Fetcher failure for URL:
'https://www.alsa-project.org/files/pub/utils/alsa-utils-scripts-1.1.8.tar.bz2'. Unable to fetch URL from any source.
Fixed in master-next:
http://cgit.openembedded.org/openembedded-core/commit/?h=master-next&id=865147cdfff8dd2762aa9ccf4672aacec0a8040f
Signature · 4 lines
Tanu https://www.patreon.com/tanuk https://liberapay.com/tanuk