Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Moode 8: Add bluetooth codec support for AAC, aptX & aptX-HD to bluez-alsa package
#31
Quick update: I checked if the guide still works with the Moode 9 series (tested with version 9.0.3). In principle the build process still works, yet I encountered two problems:
  • Step 1: Installing the build dependencies with apt repeatedly caused a crash on both a Pi Zero 2W and a Pi 3 A+, probably due to insufficient memory (both have 512 MB). This issue should be solved in the upcoming Moode version 9.0.4 where swap file support has been activated.
  • Step 2: The bluez-alsa source package is currently still missing in the moodeaudio package repository for bookworm. In order to get the package source, I had to temporarily add the source repository meant for the previous Rapsberry Pi OS version (bullseye) to the file /etc/apt/sources.list.d/moodeaudio-m8y.list :
Code:
deb-src [signed-by=/usr/share/keyrings/moodeaudio-m8y-archive-keyring.gpg] https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye main


Best regards
Jens
Reply
#32
It looks like that package was never built for Bookworm and uploaded to the CS repo.
It contains the codecs, correct?

ETA: I just built bluez-alsa from our pkgbuild repo and it creates the following "blue-alsa-utils" package which is already in our CS repo.

Code:
bluez-alsa-utils_4.1.0-2moode2_arm64.deb

I don't see where a "bluez-alsa" package gets created.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#33
(07-01-2024, 10:59 AM)Tim Curtis Wrote: It looks like that package was never built for Bookworm and uploaded to the CS repo.
It contains the codecs, correct?

ETA: I just built bluez-alsa from our pkgbuild repo and it creates the following "blue-alsa-utils" package which is already in our CS repo.

Code:
bluez-alsa-utils_4.1.0-2moode2_arm64.deb

I don't see where a "bluez-alsa" package gets created.

Some step must have gotten missed in setting up the CS Bookworm repo.


On a moOde 8.3.9 player I get this


Code:
rho@puce:~ $ apt source  bluez-alsa
Reading package lists... Done
NOTICE: 'bluez-alsa' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/bluetooth-team/bluez-alsa.git
Please use:
git clone https://salsa.debian.org/bluetooth-team/bluez-alsa.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 289 kB of source archives.
Get:1 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye/main bluez-alsa 4.1.0-2moode2 (dsc) [2,140 B]
Get:2 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye/main bluez-alsa 4.1.0-2moode2 (tar) [284 kB]
Get:3 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye/main bluez-alsa 4.1.0-2moode2 (diff) [3,252 B]
Fetched 289 kB in 2s (152 kB/s)        
dpkg-source: info: extracting bluez-alsa in bluez-alsa-4.1.0
dpkg-source: info: unpacking bluez-alsa_4.1.0.orig.tar.gz
dpkg-source: info: unpacking bluez-alsa_4.1.0-2moode2.debian.tar.xz

while on a moOde 9.0.3 player I get
Code:
rho@blue:~ $ apt source bluez-alsa
Reading package lists... Done
E: Unable to find a source package for bluez-alsa

Sorry. I don't have time to look for the missing step ATM.
Regards,
Kent
Reply
#34
I think I figured it out. I had to put on my CS hat and then I noticed that the bluez-alsa package in the repo is a source (dsc) package and not a binary deb. And yes bluez-alsa_4.1.0-2moode2.dsc was never uploaded to the repo.

There is a new version 4.2.0 bluez-alsa so I'll prolly build that and then upload deb and dsc.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#35
Perfect, thanks Tim! :-)

I guess, it's still not possible to distribute a binary version which also has built-in AAC support (on top of aptX & LDAC)? In that case I could write an updated guide for those who are interested in building a package with added AAC support for Moode 9.

Regards
Jens
Reply
#36
Correct. libfdk-aac is still marked as Non-Free.
https://packages.debian.org/search?keywo...dk-aac-dev
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#37
@jenzd just an FYI that the source package for bluez-alsa 4.1.0 is available in the CS repo.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: