public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: cp0613 <cp0613@linux.alibaba.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH V2] flac: upgrade 1.4.0 -> 1.4.2
Date: Tue, 27 Jun 2023 20:45:07 +0100	[thread overview]
Message-ID: <9d5051857d8c97d7118296bcb7056efd23a0d0d0.camel@linuxfoundation.org> (raw)
In-Reply-To: <b08ae6a31bca73e15a176c7965e25125f6d18b5b.camel@linuxfoundation.org>

On Tue, 2023-06-27 at 20:43 +0100, Richard Purdie wrote:
> On Tue, 2022-11-22 at 09:54 +0800, cp0613 wrote:
> > From: Chen Pei <cp0613@linux.alibaba.com>
> > 
> > This small version release only has a few changes, but fixes several bugs.
> > 
> > License-Update:
> > 	File removed
> > 	License URL updated
> > 
> > FLAC 1.4.2 released 2022-10-22
> > Like the last release, this release only has a few changes. A problem with FLAC playback in GStreamer (and possibly other libFLAC users) was the reason for the short time since the last release.
> > Changes:
> > 	Remove xmms plugin
> > 	Remove all pure assembler, removing build dependency on nasm
> > 	Made console output more uniform across different platforms and CPUs
> > 	Improve ability to tune compile for a certain system (for example with -march=native) when combining with --disable-asm-optimizations: plain C functions can now be better optimized
> > 	Default CFLAGS are now prepended instead of dropped when user CFLAGS are set
> > 	-msse2 is no longer added by default (was only applicable to x86)
> > 	Fix cross-compiling and out-of-tree building when pandoc and doxygen are not available
> > 	Fix issue with Clang not compiling functions with intrinsics
> > 	Fix detection of bswap intrinsics
> > 	Improve search for libssp on MinGW
> > 	Fix issue when the libFLAC user seeks in a file instead of libFLAC itself
> > 
> > FLAC 1.4.1 released 2022-09-22
> > This release fixes the release tarball (which was missing man pages and api documentation in FLAC 1.4.0) and some build problems that were found with FLAC 1.4.0.
> > Changes:
> > 	CMake fixes
> > 	Add checks that man pages and api docs end up in tarball
> > 	Enable installation of prebuilt man pages and api docs
> > 	Fix compiler warnings
> > 	Fix format specifier
> > 	Enable building on Universal Windows Platform
> > 	Fix versioning from git
> > 
> > Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
> > ---
> >  .../flac/{flac_1.4.0.bb => flac_1.4.2.bb}                | 9 +++------
> >  1 file changed, 3 insertions(+), 6 deletions(-)
> >  rename meta/recipes-multimedia/flac/{flac_1.4.0.bb => flac_1.4.2.bb} (80%)
> > 
> > diff --git a/meta/recipes-multimedia/flac/flac_1.4.0.bb b/meta/recipes-multimedia/flac/flac_1.4.2.bb
> > similarity index 80%
> > rename from meta/recipes-multimedia/flac/flac_1.4.0.bb
> > rename to meta/recipes-multimedia/flac/flac_1.4.2.bb
> > index 360396380d..32383927a2 100644
> > --- a/meta/recipes-multimedia/flac/flac_1.4.0.bb
> > +++ b/meta/recipes-multimedia/flac/flac_1.4.2.bb
> > @@ -9,29 +9,25 @@ LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \
> >                      file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> >                      file://src/flac/main.c;beginline=1;endline=18;md5=893456854ce6bf14a1a7ea77266eebab \
> >                      file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \
> > -                    file://src/plugin_common/all.h;beginline=1;endline=18;md5=73c74192ce89ee6238d15a171e00c971 \
> >                      file://COPYING.Xiph;md5=3d6da238b5b57a0965d6730291119f65 \
> > -                    file://include/FLAC/all.h;beginline=65;endline=70;md5=64474f2b22e9e77b28d8b8b25c983a48"
> > +                    file://include/FLAC/all.h;beginline=65;endline=70;md5=39aaf5e03c7364363884c8b8ddda8eea"
> >  
> >  SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz"
> > -SRC_URI[sha256sum] = "af41c0733c93c237c3e52f64dd87e3b0d9af38259f1c7d11e8cbf583c48c2506"
> > +SRC_URI[sha256sum] = "e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4"
> >  
> >  CVE_PRODUCT = "libflac flac"
> >  
> >  inherit autotools gettext
> >  
> >  EXTRA_OECONF = "--disable-oggtest \
> > -                --disable-xmms-plugin \
> >                  --without-libiconv-prefix \
> >                  ac_cv_prog_NASM="" \
> >                  "
> >  
> >  PACKAGECONFIG ??= " \
> >      ${@bb.utils.filter("TUNE_FEATURES", "altivec vsx", d)} \
> > -    ${@bb.utils.contains_any("TUNE_FEATURES", "core2 corei7", "sse", "", d)} \
> >      ogg \
> >  "
> > -PACKAGECONFIG[sse] = "--enable-sse,--disable-sse"
> >  PACKAGECONFIG[altivec] = "--enable-altivec,--disable-altivec"
> >  PACKAGECONFIG[vsx] = "--enable-vsx,--disable-vsx"
> >  PACKAGECONFIG[avx] = "--enable-avx,--disable-avx"
> > @@ -41,3 +37,4 @@ PACKAGES += "libflac libflac++"
> >  FILES:${PN} = "${bindir}/*"
> >  FILES:libflac = "${libdir}/libFLAC.so.*"
> >  FILES:libflac++ = "${libdir}/libFLAC++.so.*"
> > +
> 
> On qemuppc this is showing:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/4775/steps/12/logs/warnings
> 
> WARNING: flac-1.4.3-r0 do_configure: QA Issue: flac: invalid PACKAGECONFIG: altivec [invalid-packageconfig]
> 
> so I suspect there is another tweak needed there?

Sorry, wrong patch. This is against the 1.4.3 upgrade so I've replied
to that.

Cheers,

Richard


      reply	other threads:[~2023-06-27 19:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21 13:25 [OE-core] [PATCH] flac: upgrade 1.4.0 -> 1.4.2 cp0613
2022-11-21 13:35 ` Alexander Kanavin
2022-11-22  1:25   ` cp0613
2022-11-22  1:54 ` [OE-core] [PATCH V2] " cp0613
2023-06-27 19:43   ` Richard Purdie
2023-06-27 19:45     ` Richard Purdie [this message]

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=9d5051857d8c97d7118296bcb7056efd23a0d0d0.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=cp0613@linux.alibaba.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox