Hello community, here is the log from the commit of package sof-firmware for openSUSE:Factory checked in at 2020-07-03 00:02:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sof-firmware (Old) and /work/SRC/openSUSE:Factory/.sof-firmware.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sof-firmware" Fri Jul 3 00:02:33 2020 rev:3 rq:812976 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/sof-firmware/sof-firmware.changes 2020-02-18 10:40:27.180950333 +0100 +++ /work/SRC/openSUSE:Factory/.sof-firmware.new.3060/sof-firmware.changes 2020-07-03 00:04:22.354469377 +0200 @@ -1,0 +2,23 @@ +Tue Jun 9 17:36:56 CEST 2020 - ti...@suse.de + +- Add some comments for avoid misunderstanding about the package +- Add missing symlink for CML firmware +- Avoid symlink for tplg directory that may cause an error at + upgrading from the old package + +------------------------------------------------------------------- +Thu Jun 4 15:00:37 UTC 2020 - Jan Engelhardt <jeng...@inai.de> + +- Trim old specfile constructs. + +------------------------------------------------------------------- +Thu Jun 4 15:13:40 CEST 2020 - ti...@suse.de + +- Update to version 1.5: + tarball created from the official sof-bin git repo, only signed + firmware files are included at this time. + Release notes found at: + https://github.com/thesofproject/sof/releases/tag/v1.5 +- Fixed hda-dsp topology files taken from ftp.alsa-project.org + +------------------------------------------------------------------- Old: ---- sof-firmware-1.4.2.tar.bz2 New: ---- sof-bin-1.5.tar.xz sof-bin-topology-1.5-dmic-20db-fix.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sof-firmware.spec ++++++ --- /var/tmp/diff_new_pack.IvTgrn/_old 2020-07-03 00:04:23.630473602 +0200 +++ /var/tmp/diff_new_pack.IvTgrn/_new 2020-07-03 00:04:23.634473615 +0200 @@ -20,12 +20,18 @@ Summary: Firmware Data Files for SOF Drivers License: BSD-3-Clause Group: Hardware/Other -Version: 1.4.2 +Version: 1.5 Release: 0 -Url: https://www.sofproject.org/ +URL: https://github.com/thesofproject/sof-bin BuildRequires: fdupes -Source: ftp://ftp.alsa-project.org/pub/misc/sof/sof-firmware-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Created via git-archive manually from the git repo above with the tag; +# Unforutnately the upstream repo doesn't contain the releases. +# Note that this doesn't contain sources; the unsigned firmware can be built +# from SOF sources with external toolchains, but we need signed firmware from +# Intel, and hence the repo above collects the resultant binaries. +Source: sof-bin-%{version}.tar.xz +# Temporary fix up for broken tplg files +Source1: ftp://ftp.alsa-project.org/pub/misc/sof/sof-bin-topology-1.5-dmic-20db-fix.tar.gz BuildArch: noarch # Merrifield Supplements: modalias(pci:v00008086d0000119Asv*sd*bc*sc*i*) @@ -55,25 +61,41 @@ Various firmware data files for SOF drivers. %prep -%setup -q -c -# fix up symlinks in 1.4.2 tarball -ln -sf ../signed/sof-apl-signed-intel.ri usr/lib/firmware/intel/sof/gcc/sof-apl.ri -ln -sf ../signed/sof-cnl-signed-intel.ri usr/lib/firmware/intel/sof/gcc/sof-cnl.ri -ln -sf ../signed/sof-icl-signed-intel.ri usr/lib/firmware/intel/sof/gcc/sof-icl.ri +%setup -q -n sof-bin +# drop version number from sof-tplg directory +mv lib/firmware/intel/sof-tplg-v%{version} lib/firmware/intel/sof-tplg +# fix up for broken topology files +tar -C lib/firmware/intel/sof-tplg/ -xf %{SOURCE1} %build %install mkdir -p %{buildroot}/lib/firmware/intel/ -cp -a usr/lib/firmware/intel/* %{buildroot}/lib/firmware/intel/ -rm -f %{buildroot}/lib/firmware/intel/*/LICENCE -mkdir -p %{buildroot}%{_licensedir}/%{name} -install -c -m0644 usr/lib/firmware/intel/sof/LICENCE %{buildroot}%{_licensedir}/%{name} +cp -a lib/firmware/intel/* %{buildroot}/lib/firmware/intel/ +# create symlinks +(cd %{buildroot}/lib/firmware/intel/sof +for i in v%{version}/intel-signed/*.ri v%{version}/*.ri; do + f=${i%%-v%{version}.ri} + f=${f##*/} + ln -s $i $f.ri +done + +# fix up the missing firmware for Commet Lake +test -f sof-cml.ri || ln -s sof-cnl.ri sof-cml.ri + +mkdir -p debug +cd debug +for i in ../v%{version}/*.ldc; do + f=${i%%-v%{version}.ldc} + f=${f##*/} + ln -s $i $f.ldc +done +) %fdupes -s %{buildroot} %files -%defattr(-, root, root) -%license %{_licensedir}/%{name} +%license LICENCE.Intel +%doc README.md README.Intel /lib/firmware/* %changelog