All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 08/24] alsa-tools: Update to 1.1.6
Date: Mon, 30 Apr 2018 15:37:01 +0200	[thread overview]
Message-ID: <20180430133701.GA2138@jama> (raw)
In-Reply-To: <e7446e8b086e4a6a93533902f580406ca0ebadd8.1525029885.git.raj.khem@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 7666 bytes --]

On Sun, Apr 29, 2018 at 12:35:55PM -0700, Khem Raj wrote:
> License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB
> 
> Fix built with clang along the way
> 
> Package python dependent tools into a separate package
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> 
> xxx

^^^ Insert some pr0n here.

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  ...served-user-defined-literal-warnings.patch | 28 +++++++++++++
>  .../alsa/alsa-tools/autotools.patch           | 42 ++++++++++++-------
>  ...lsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} | 25 ++++++++---
>  3 files changed, 75 insertions(+), 20 deletions(-)
>  create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch
>  rename meta/recipes-multimedia/alsa/{alsa-tools_1.1.5.bb => alsa-tools_1.1.6.bb} (62%)
> 
> diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch
> new file mode 100644
> index 0000000000..2290915eab
> --- /dev/null
> +++ b/meta/recipes-multimedia/alsa/alsa-tools/0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch
> @@ -0,0 +1,28 @@
> +From 2e48e4045e1e951433da0ca4b1e49798eedde14f Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Tue, 24 Apr 2018 12:21:18 -0700
> +Subject: [PATCH] Fix clang -Wreserved-user-defined-literal warnings
> +
> +| us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> +|         printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
> +|                         ^
> +
> +Upstream-Status: Submitted [https://patchwork.kernel.org/patch/10360805/]
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + us428control/us428control.cc | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/us428control/us428control.cc b/us428control/us428control.cc
> +index e839bf4..8cb3c42 100644
> +--- a/us428control/us428control.cc
> ++++ b/us428control/us428control.cc
> +@@ -63,7 +63,7 @@ static void usage(void)
> + {
> + 	printf("Tascam US-428 Control\n");
> + 	printf("version %s\n", VERSION);
> +-	printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
> ++	printf("usage: " PROGNAME " [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
> + 	printf("mode is one of (us224, us428, mixxx)\n");
> + }
> + /*
> diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
> index 2e74963c89..c85834a593 100644
> --- a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
> +++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
> @@ -1,3 +1,8 @@
> +From b9a65bf3ba5628cfe8cfd2d10ce2dcf11a606775 Mon Sep 17 00:00:00 2001
> +From: Dongxiao Xu <dongxiao.xu@intel.com>
> +Date: Thu, 14 Jul 2011 15:40:36 +0800
> +Subject: [PATCH] alsa-tools: Fix recipe build error.
> +
>  Add parameters to autoreconf to support cross compile.
>  Remove some sub-components which needs further recipe support.
>  
> @@ -5,22 +10,17 @@ Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
>  
>  Upstream-Status: Inappropriate [configuration]
>  
> -diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile
> ---- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile	2011-07-06 11:27:40.227665002 +0800
> -+++ alsa-tools-1.0.24.1/ld10k1/gitcompile	2011-07-14 13:26:18.017665004 +0800
> -@@ -1,6 +1,6 @@
> - #!/bin/bash
> - 
> --autoreconf -fi || exit 1
> -+autoreconf $ACLOCAL_FLAGS -fi || exit 1
> - export CFLAGS='-O2 -Wall -pipe -g'
> - echo "CFLAGS=$CFLAGS"
> - echo "./configure $@"
> -diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
> ---- alsa-tools-1.0.24.1-orig//Makefile	2011-07-06 11:27:40.207665000 +0800
> -+++ alsa-tools-1.0.24.1/Makefile	2011-07-14 15:08:08.877665009 +0800
> +---
> + Makefile          | 4 ++--
> + ld10k1/gitcompile | 2 +-
> + 2 files changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index c32bf25..1119372 100644
> +--- a/Makefile
> ++++ b/Makefile
>  @@ -1,8 +1,8 @@
> - VERSION = 1.1.5
> + VERSION = 1.1.6
>   TOP = .
>  -SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
>  +SUBDIRS = as10k1 envy24control \
> @@ -30,3 +30,15 @@ diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
>   	  hwmixvolume hdajackretask hda-verb hdajacksensetest
>   
>   all:
> +diff --git a/ld10k1/gitcompile b/ld10k1/gitcompile
> +index 99429ac..20005d9 100755
> +--- a/ld10k1/gitcompile
> ++++ b/ld10k1/gitcompile
> +@@ -1,6 +1,6 @@
> + #!/bin/bash
> + 
> +-autoreconf -fi || exit 1
> ++autoreconf $ACLOCAL_FLAGS -fi || exit 1
> + export CFLAGS='-O2 -Wall -pipe -g'
> + echo "CFLAGS=$CFLAGS"
> + echo "./configure $@"
> diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb
> similarity index 62%
> rename from meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb
> rename to meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb
> index 1be43aa6e7..e065eec6b8 100644
> --- a/meta/recipes-multimedia/alsa/alsa-tools_1.1.5.bb
> +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb
> @@ -5,17 +5,19 @@ SECTION = "console/utils"
>  LICENSE = "GPLv2 & LGPLv2+"
>  DEPENDS = "alsa-lib ncurses glib-2.0"
>  
> -LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> -                    file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
> +LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> +                    file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \
> +                    "
>  
>  SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \
>             file://autotools.patch \
>             ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \
>             file://gitcompile_hdajacksensetest \
> +           file://0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch \
>             "
>  
> -SRC_URI[md5sum] = "3afb92eb1b4f2edc8691498e57c3ec78"
> -SRC_URI[sha256sum] = "bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534"
> +SRC_URI[md5sum] = "5ca8c9437ae779997cd62fb2815fef19"
> +SRC_URI[sha256sum] = "d69c4dc2fb641a974d9903e9eb78c94cb0c7ac6c45bae664f0c9d6c0a1593227"
>  
>  inherit autotools-brokensep pkgconfig
>  
> @@ -37,4 +39,17 @@ do_compile_prepend () {
>      cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile
>  }
>  
> -FILES_${PN} += "${datadir}/ld10k1"
> +do_install_append() {
> +    sed -i -e "s|/usr/bin/python2|/usr/bin/env python2|g" ${D}${bindir}/hwmixvolume
> +}
> +
> +PACKAGES =+ "${PN}-hwmixvolume"
> +
> +FILES_${PN}-hwmixvolume = "${bindir}/hwmixvolume"
> +
> +FILES_${PN} += "${datadir}/ld10k1 \
> +                ${datadir}/icons/hicolor \
> +               "
> +
> +RDEPENDS_${PN}-hwmixvolume += "python"
> +
> -- 
> 2.17.0
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2018-04-30 13:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-29 19:35 [PATCH 00/24] ssp rework and glibc drop obsolete nsl/rpc Khem Raj
2018-04-29 19:35 ` [PATCH 01/24] libssp-nonshared: Add recipe Khem Raj
2018-04-29 19:35 ` [PATCH 02/24] musl: Depend on libssp-nonshared Khem Raj
2018-04-29 19:35 ` [PATCH 03/24] gcc-runtime: Disable gcc version of libssp Khem Raj
2018-04-29 19:35 ` [PATCH 04/24] libunwind: Drop adding libssp to linker flags Khem Raj
2018-04-29 19:35 ` [PATCH 05/24] musl: Upgrade to latest Khem Raj
2018-04-29 19:35 ` [PATCH 06/24] llvm: Fix [compile-host-path] QA issue Khem Raj
2018-04-29 19:35 ` [PATCH 07/24] pbzip2: Fix C++11 warnings found with clang Khem Raj
2018-04-29 19:35 ` [PATCH 08/24] alsa-tools: Update to 1.1.6 Khem Raj
2018-04-30 13:37   ` Martin Jansa [this message]
2018-04-30 14:17     ` Khem Raj
2018-04-29 19:35 ` [PATCH 09/24] alsa-lib: Upgrade " Khem Raj
2018-04-29 19:35 ` [PATCH 10/24] ruby: Upgrade to 1.5.1 Khem Raj
2018-04-30 13:35   ` Martin Jansa
2018-04-30 14:17     ` Khem Raj
2018-04-29 19:35 ` [PATCH 11/24] glibc: Drop obsolete rpc and libnsl Khem Raj
2018-04-29 19:35 ` [PATCH 12/24] rpcsvc-proto: Add recipe Khem Raj
2018-04-29 19:36 ` [PATCH 13/24] libnss-nis: " Khem Raj
2018-04-29 19:36 ` [PATCH 14/24] libtirpc: Upgrade to 1.0.4-tc1 Khem Raj
2018-04-29 19:36 ` [PATCH 15/24] libnsl: Upgrade to tip beyond 1.2.0 release Khem Raj
2018-04-29 19:36 ` [PATCH 16/24] ltp: Fix build after removing rpc and libnsl in glibc Khem Raj
2018-04-29 19:36 ` [PATCH 17/24] xinetd: Use libtirpc even on glibc Khem Raj
2018-04-29 19:36 ` [PATCH 18/24] tcp-wrapper: Use external libnsl Khem Raj
2018-04-29 19:36 ` [PATCH 19/24] Use libtirpc even on glibc Khem Raj
2018-04-29 19:36 ` [PATCH 20/24] perl: Account for libnsl being dropped from glibc Khem Raj
2018-04-29 19:36 ` [PATCH 21/24] mdadm: Fix build with gcc8 Khem Raj
2018-04-29 19:36 ` [PATCH 22/24] libnsl2: Install into /usr/include and /usr/lib Khem Raj
2018-04-29 19:36 ` [PATCH 23/24] ppp: Install net/ppp_defs.h on musl Khem Raj
2018-04-29 19:36 ` [PATCH 24/24] allarch.bbclass: Exclude package_do_shlibs from do_package signature Khem Raj
2018-04-29 20:04 ` ✗ patchtest: failure for ssp rework and glibc drop obsolete nsl/rpc Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180430133701.GA2138@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.