All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] alsa recipe updates
@ 2019-02-21 13:26 Tanu Kaskinen
  2019-02-21 13:26 ` [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8 Tanu Kaskinen
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 13:26 UTC (permalink / raw)
  To: openembedded-core

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%)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
  2019-02-21 13:26 [PATCH 0/3] alsa recipe updates Tanu Kaskinen
@ 2019-02-21 13:26 ` Tanu Kaskinen
  2019-02-21 18:43   ` Khem Raj
  2019-02-21 13:26 ` [PATCH 2/3] alsa-plugins: " Tanu Kaskinen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 13:26 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
---
 .../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%)

diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
similarity index 88%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
index 25e7a3c6b7..bb22acdd33 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
@@ -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
 
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
index 7ede8be98a..ee06191ea9 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
@@ -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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/3] alsa-plugins: 1.1.6 -> 1.1.8
  2019-02-21 13:26 [PATCH 0/3] alsa recipe updates Tanu Kaskinen
  2019-02-21 13:26 ` [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8 Tanu Kaskinen
@ 2019-02-21 13:26 ` Tanu Kaskinen
  2019-02-21 13:26 ` [PATCH 3/3] alsa-utils: " Tanu Kaskinen
  2019-02-21 14:56 ` [PATCH 0/3] alsa recipe updates Alexander Kanavin
  3 siblings, 0 replies; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 13:26 UTC (permalink / raw)
  To: openembedded-core

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

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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
---
 ...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%)

diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.8.bb
similarity index 54%
rename from meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
rename to meta/recipes-multimedia/alsa/alsa-plugins_1.1.8.bb
index ee06191ea9..3da2634e94 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.8.bb
@@ -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"
 
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
index 0506e11c4b..749b3d0dd8 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
@@ -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)}"
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/3] alsa-utils: 1.1.6 -> 1.1.8
  2019-02-21 13:26 [PATCH 0/3] alsa recipe updates Tanu Kaskinen
  2019-02-21 13:26 ` [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8 Tanu Kaskinen
  2019-02-21 13:26 ` [PATCH 2/3] alsa-plugins: " Tanu Kaskinen
@ 2019-02-21 13:26 ` Tanu Kaskinen
  2019-02-21 14:56 ` [PATCH 0/3] alsa recipe updates Alexander Kanavin
  3 siblings, 0 replies; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 13:26 UTC (permalink / raw)
  To: openembedded-core

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

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.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
---
 ...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%)

diff --git a/meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.8.bb
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.6.bb
rename to meta/recipes-multimedia/alsa/alsa-utils-scripts_1.1.8.bb
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.1.8.bb
similarity index 92%
rename from meta/recipes-multimedia/alsa/alsa-utils_1.1.6.bb
rename to meta/recipes-multimedia/alsa/alsa-utils_1.1.8.bb
index b8ba0cb22a..ab02169ac6 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.1.6.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.1.8.bb
@@ -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"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 13:26 [PATCH 0/3] alsa recipe updates Tanu Kaskinen
                   ` (2 preceding siblings ...)
  2019-02-21 13:26 ` [PATCH 3/3] alsa-utils: " Tanu Kaskinen
@ 2019-02-21 14:56 ` Alexander Kanavin
  2019-02-21 14:57   ` Alexander Kanavin
  3 siblings, 1 reply; 14+ messages in thread
From: Alexander Kanavin @ 2019-02-21 14:56 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: OE-core

Thanks! Will you be also sending an update to alsa-tools?

Alex

On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
>
> 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%)
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 14:56 ` [PATCH 0/3] alsa recipe updates Alexander Kanavin
@ 2019-02-21 14:57   ` Alexander Kanavin
  2019-02-21 16:41     ` Tanu Kaskinen
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kanavin @ 2019-02-21 14:57 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: OE-core

(Also sbc needs an update, I think)

Alex


On Thu, 21 Feb 2019 at 15:56, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
>
> Thanks! Will you be also sending an update to alsa-tools?
>
> Alex
>
> On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
> >
> > 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%)
> >
> > --
> > 2.20.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 14:57   ` Alexander Kanavin
@ 2019-02-21 16:41     ` Tanu Kaskinen
  2019-02-21 18:09       ` Alexander Kanavin
  0 siblings, 1 reply; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 16:41 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-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

On Thu, 2019-02-21 at 15:57 +0100, Alexander Kanavin wrote:
> (Also sbc needs an update, I think)
> 
> Alex
> 
> 
> On Thu, 21 Feb 2019 at 15:56, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> > Thanks! Will you be also sending an update to alsa-tools?
> > 
> > Alex
> > 
> > On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
> > > 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%)
> > > 
> > > --
> > > 2.20.1
> > > 
> > > --
> > > _______________________________________________
> > > Openembedded-core mailing list
> > > Openembedded-core@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 16:41     ` Tanu Kaskinen
@ 2019-02-21 18:09       ` Alexander Kanavin
  2019-02-21 18:33         ` Alexander Kanavin
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kanavin @ 2019-02-21 18:09 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: OE-core

Bah, and I often point out to people that they should read *my* cover letters :)
Thanks!

Alex

On Thu, 21 Feb 2019 at 17:41, Tanu Kaskinen <tanuk@iki.fi> wrote:
>
> 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
>
> On Thu, 2019-02-21 at 15:57 +0100, Alexander Kanavin wrote:
> > (Also sbc needs an update, I think)
> >
> > Alex
> >
> >
> > On Thu, 21 Feb 2019 at 15:56, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> > > Thanks! Will you be also sending an update to alsa-tools?
> > >
> > > Alex
> > >
> > > On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
> > > > 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%)
> > > >
> > > > --
> > > > 2.20.1
> > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-core mailing list
> > > > Openembedded-core@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> Tanu
>
> https://www.patreon.com/tanuk
> https://liberapay.com/tanuk
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 18:09       ` Alexander Kanavin
@ 2019-02-21 18:33         ` Alexander Kanavin
  2019-02-22 15:01           ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kanavin @ 2019-02-21 18:33 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: OE-core

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

On Thu, 21 Feb 2019 at 19:09, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
>
> Bah, and I often point out to people that they should read *my* cover letters :)
> Thanks!
>
> Alex
>
> On Thu, 21 Feb 2019 at 17:41, Tanu Kaskinen <tanuk@iki.fi> wrote:
> >
> > 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
> >
> > On Thu, 2019-02-21 at 15:57 +0100, Alexander Kanavin wrote:
> > > (Also sbc needs an update, I think)
> > >
> > > Alex
> > >
> > >
> > > On Thu, 21 Feb 2019 at 15:56, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> > > > Thanks! Will you be also sending an update to alsa-tools?
> > > >
> > > > Alex
> > > >
> > > > On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
> > > > > 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%)
> > > > >
> > > > > --
> > > > > 2.20.1
> > > > >
> > > > > --
> > > > > _______________________________________________
> > > > > Openembedded-core mailing list
> > > > > Openembedded-core@lists.openembedded.org
> > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > --
> > Tanu
> >
> > https://www.patreon.com/tanuk
> > https://liberapay.com/tanuk
> >


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
  2019-02-21 13:26 ` [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8 Tanu Kaskinen
@ 2019-02-21 18:43   ` Khem Raj
  2019-02-21 19:38     ` Tanu Kaskinen
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2019-02-21 18:43 UTC (permalink / raw)
  To: Tanu Kaskinen; +Cc: Patches and discussions about the oe-core layer

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

On Thu, Feb 21, 2019 at 5:34 AM Tanu Kaskinen <tanuk@iki.fi> wrote:
>
> 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.
>
> Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
> ---
>  .../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%)
>
> diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
> similarity index 88%
> rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb
> rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
> index 25e7a3c6b7..bb22acdd33 100644
> --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb
> +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb
> @@ -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
>
> diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
> index 7ede8be98a..ee06191ea9 100644
> --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
> +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb
> @@ -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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
  2019-02-21 18:43   ` Khem Raj
@ 2019-02-21 19:38     ` Tanu Kaskinen
  2019-02-21 19:42       ` Tanu Kaskinen
  0 siblings, 1 reply; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 19:38 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Thu, 2019-02-21 at 10:43 -0800, Khem Raj wrote:
> 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

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.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8
  2019-02-21 19:38     ` Tanu Kaskinen
@ 2019-02-21 19:42       ` Tanu Kaskinen
  0 siblings, 0 replies; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-21 19:42 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Thu, 2019-02-21 at 21:38 +0200, Tanu Kaskinen wrote:
> On Thu, 2019-02-21 at 10:43 -0800, Khem Raj wrote:
> > 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
> 
> 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.

Never mind, I didn't notice that Alex already provided a good source.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-21 18:33         ` Alexander Kanavin
@ 2019-02-22 15:01           ` Khem Raj
  2019-02-22 15:44             ` Tanu Kaskinen
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2019-02-22 15:01 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Tanu Kaskinen, OE-core

On Thu, Feb 21, 2019 at 10:33 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> 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

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.


>
> On Thu, 21 Feb 2019 at 19:09, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> >
> > Bah, and I often point out to people that they should read *my* cover letters :)
> > Thanks!
> >
> > Alex
> >
> > On Thu, 21 Feb 2019 at 17:41, Tanu Kaskinen <tanuk@iki.fi> wrote:
> > >
> > > 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
> > >
> > > On Thu, 2019-02-21 at 15:57 +0100, Alexander Kanavin wrote:
> > > > (Also sbc needs an update, I think)
> > > >
> > > > Alex
> > > >
> > > >
> > > > On Thu, 21 Feb 2019 at 15:56, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> > > > > Thanks! Will you be also sending an update to alsa-tools?
> > > > >
> > > > > Alex
> > > > >
> > > > > On Thu, 21 Feb 2019 at 14:34, Tanu Kaskinen <tanuk@iki.fi> wrote:
> > > > > > 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%)
> > > > > >
> > > > > > --
> > > > > > 2.20.1
> > > > > >
> > > > > > --
> > > > > > _______________________________________________
> > > > > > Openembedded-core mailing list
> > > > > > Openembedded-core@lists.openembedded.org
> > > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > > --
> > > Tanu
> > >
> > > https://www.patreon.com/tanuk
> > > https://liberapay.com/tanuk
> > >
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/3] alsa recipe updates
  2019-02-22 15:01           ` Khem Raj
@ 2019-02-22 15:44             ` Tanu Kaskinen
  0 siblings, 0 replies; 14+ messages in thread
From: Tanu Kaskinen @ 2019-02-22 15:44 UTC (permalink / raw)
  To: Khem Raj, Alexander Kanavin; +Cc: OE-core

On Fri, 2019-02-22 at 07:01 -0800, Khem Raj wrote:
> On Thu, Feb 21, 2019 at 10:33 AM Alexander Kanavin
> <alex.kanavin@gmail.com> wrote:
> > 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
> 
> 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

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-02-22 15:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21 13:26 [PATCH 0/3] alsa recipe updates Tanu Kaskinen
2019-02-21 13:26 ` [PATCH 1/3] alsa-lib: 1.1.6 -> 1.1.8 Tanu Kaskinen
2019-02-21 18:43   ` Khem Raj
2019-02-21 19:38     ` Tanu Kaskinen
2019-02-21 19:42       ` Tanu Kaskinen
2019-02-21 13:26 ` [PATCH 2/3] alsa-plugins: " Tanu Kaskinen
2019-02-21 13:26 ` [PATCH 3/3] alsa-utils: " Tanu Kaskinen
2019-02-21 14:56 ` [PATCH 0/3] alsa recipe updates Alexander Kanavin
2019-02-21 14:57   ` Alexander Kanavin
2019-02-21 16:41     ` Tanu Kaskinen
2019-02-21 18:09       ` Alexander Kanavin
2019-02-21 18:33         ` Alexander Kanavin
2019-02-22 15:01           ` Khem Raj
2019-02-22 15:44             ` Tanu Kaskinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.