To bugfix some issues I'm trying to build jive from source. I cloned the squeezeplay repository from github and checked out public/7.7 where the commit statement hints that this should be the version that runs on my squeezebox hardware. The sources appear to be pretty messed up though and I had to solve various C language errors to create a valid binary.
So the first thing I noticed is that the resulting binary does not link to the same libraries as the one in the original software. It turns out that most of the missing libraries are linked statically on various levels and for some obscure reason the sources default to link to portaudio which is what you would need on Windows but not on squeezeos. Another thing I noticed is that support for spotify is stripped. Not a big issue for me as I don't use that, but I suppose this is also true for the community version?
Last thing: when I run the self-built jive on Radio the screen is rotated 90 degrees. There appears to be a configure key to fix that, but why would it prefer to run on a vertical screen where every commercially sold Squeezebox has a horizontal oriented screen?
Results 1 to 10 of 14
Thread: Building jive from source
-
2021-03-20, 13:19 #1
- Join Date
- Dec 2020
- Posts
- 256
Building jive from source
-
2021-03-20, 22:57 #2
Building jive from source
Unfortunately I won't really be able to help you... You should try to
get ralphy over here.
> Another thing I noticed is that support for spotify is stripped. Not a
> big issue for me as I don't use that, but I suppose this is also true
> for the community version?
Native Spotify support for the Radio and the Touch has been dropped by
Spotify several years ago. Thus no need to keep it around.
> Last thing: when I run the self-built jive on Radio the screen is
> rotated 90 degrees. There appears to be a configure key to fix that, but
> why would it prefer to run on a vertical screen where every commercially
> sold Squeezebox has a horizontal oriented screen?
Some archeology here: the first device to feature Squeezeplay was
neither Radio, nor Touch, but the SB Controller - project name "jive".
And it obviously had a portrait mode display.
-
2021-03-20, 23:19 #3
- Join Date
- May 2008
- Location
- Canada
- Posts
- 7,879
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2021-03-21, 02:31 #4
- Join Date
- Dec 2020
- Posts
- 256
I see.
That doesn't explain though why the branch in which the last commit equals the version of the last official firmware for Radio builds a completely different binary and as stated does not contain the source for a feature that was supposedly dropped some time later (because ldd shows that it is present in the original binary).
-
2021-03-21, 04:48 #5
Building jive from source
> That doesn't explain though why the branch in which the last commit
Well, I told you I wasn't of help :-).
> equals the version of the last official firmware for Radio builds a
> completely different binary and as stated does not contain the source
> for a feature that was supposedly dropped some time later (because ldd
> shows that it is present in the original binary).
The original Squeezeplay public repository never was "complete": there
are components, like eg. the Spotify libraries, some codecs etc., which
can't be made available publicly for legal reasons. These are hosted in
a separate repository. Therefore you'll never be able to build an
identical firmware.
Ralphy did all of this already. He figured out the process required to
build working firmwares.
-
2021-03-21, 05:26 #6
I've summarized the missing source code and what I did to work around them as part of the changelog for the community firmware (CF). Start at the end and read up.
You'll also find URLs to the two git repositories that I use to build the CF at the bottom of the changelog.
The radio jive rotation is done in the squeezeplay svn bitbake recipe here.
To build squeezeplay/jive for desktop usage and testing, take a look at my squeezeplay repository.Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.
-
2021-03-21, 09:57 #7
- Join Date
- Dec 2020
- Posts
- 256
Aha! Had not tried that yet but the screen is correct on Touch which turns out to run armv5 code as well (I thought I'd need an armv6 dev environment for that).
So I'm guessing that the community version leaves all the existing libraries on the player obsolete as well?
-
2021-03-21, 14:16 #8
- Join Date
- Dec 2020
- Posts
- 256
Oh... This is weird...
With the self-built the Touch does not show the album image in the default view when it is (also) encapsulated in the audio file (at least not with flac).
-
2021-03-22, 05:43 #9
Last edited by ralphy; 2021-03-22 at 05:50.
Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.
-
2021-03-22, 05:49 #10Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.