Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Senior Member
    Join Date
    Dec 2020
    Posts
    192

    Building jive from source

    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?

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,631

    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.

  3. #3
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,645
    Quote Originally Posted by mherger View Post
    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.
    And the controller was amazingly ahead of its time in term of UX.
    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

  4. #4
    Senior Member
    Join Date
    Dec 2020
    Posts
    192
    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).

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,631

    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.

  6. #6
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,941
    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.

  7. #7
    Senior Member
    Join Date
    Dec 2020
    Posts
    192
    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?

  8. #8
    Senior Member
    Join Date
    Dec 2020
    Posts
    192
    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).

  9. #9
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,941
    Quote Originally Posted by gordonb3 View Post
    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?
    No, the community firmware is a complete replacement and provides a full linux OS as well as jive.
    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.

  10. #10
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,941
    Quote Originally Posted by gordonb3 View Post
    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).
    I have encountered that before with the desktop linux squeezeplay and can be caused by using png library versions newer than 1.2.x.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •