Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 946236

Summary: media-sound/snapcast-0.29.0: Version bump
Product: Gentoo Linux Reporter: Will Lepofsky <wilscarlet>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: gem, wilscarlet
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: snapcast-0.29.0.ebuild
snapcast-0.29.0-resampler.patch

Description Will Lepofsky 2024-12-11 02:27:42 UTC
Looking to get media-sound/snapcast bumped to version 0.29.0.

Reproducible: Always




The new version of snapcast was release on 8/25/24, so it would be nice to have the updated version.  The new version supports GCC 14 out of the box so the GCC 13 patch is no longer necessary and it now supports JACK.

I found that just using the default ebuild minus the patch wouldn't build, but I found the solution and created a patch for it.  It's  working for me.
Comment 1 Will Lepofsky 2024-12-11 02:33:08 UTC
Created attachment 913782 [details]
snapcast-0.29.0.ebuild

Modified current ebuild for new patch along with adding JACK support.
Comment 2 Will Lepofsky 2024-12-11 02:35:53 UTC
Created attachment 913783 [details, diff]
snapcast-0.29.0-resampler.patch

Error that occurs when compiling without patch:

FAILED: common/CMakeFiles/common.dir/resampler.cpp.o
 4    64 |         throw SnapException("Resampling requested, but not supported");
 5       |               ^~~~~~~~~~~~~

And this is where I found the answer:

https://www.linuxquestions.org/questions/slackware-14/building-snapcast-fails-4175743846-print/
Comment 3 Gary E. Miller 2024-12-17 21:16:44 UTC
p.27 no longer builds.  The simple fix is to get this version bump done.
Comment 4 Larry the Git Cow gentoo-dev 2024-12-26 07:09:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c40880d91fb64e933819d028872048ba353ba8

commit 34c40880d91fb64e933819d028872048ba353ba8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-26 07:07:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-26 07:08:57 +0000

    media-sound/snapcast: add 0.29.0
    
    * Include post-tag patches for Boost 1.87 compat
    * Add USE=jack
    
    Closes: https://bugs.gentoo.org/946236
    Closes: https://bugs.gentoo.org/946459
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/snapcast/Manifest                      |  1 +
 ...snapcast-0.29.0-boost-1.87.0-make_address.patch | 96 ++++++++++++++++++++++
 .../files/snapcast-0.29.0-boost-1.87.0.patch       | 51 ++++++++++++
 .../files/snapcast-0.29.0-resampler-include.patch  | 25 ++++++
 media-sound/snapcast/snapcast-0.29.0.ebuild        | 77 +++++++++++++++++
 5 files changed, 250 insertions(+)
Comment 5 Gary E. Miller 2024-12-26 21:09:38 UTC
A nice holiday present for us.  Thank you Sam!