Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45
  1. #1
    Senior Member hickinbottoms's Avatar
    Join Date
    Apr 2005
    Location
    Wokingham, UK
    Posts
    544

    Gentoo Logitech Media Server ebuild moving to an overlay

    Hello, just quick service announcement about the Logitech Media Server and Gentoo.

    I've been maintaining the ebuilds for LMS (and before that Squeezebox Server, and before that SlimServer...) for a few years and I'm now moving the ebuild from the main Portage tree to a new overlay called 'squeezebox' that I maintain. This has little real effect on users of the ebuild (it's currently exactly the same ebuild as the one in the main Portage tree), but mitigates some of the problems I had with that ebuild being in the main tree due to the number of libraries it bundles.

    If you currently use the ebuild then you'll see no difference but you should enable the 'squeezebox' overlay to ensure you pick up newer versions as they'll now only be made available via the overlay. The ebuild will also shortly be removed from the main Portage tree and so it will only be available via the overlay.

    If you don't yet use the ebuild on Gentoo but want to, then you can emerge it ('logitechmediaserver-bin'), once you've enabled the 'squeezebox' overlay.

    If you're unfamiliar with overlays in Gentoo then they're pretty easy and clear instructions are available here:
    http://www.gentoo.org/proj/en/overlays/userguide.xml

    In summary, if you don't yet use Layman (the tool to manage overlays) then you can install it as follows (add "dev-vcs/git" to the end if you don't yet have git installed because this is used to manage the overlay):
    emerge -a app-portage/layman

    Once you've got Layman installed you can add the overlay as follows:
    layman -a squeezebox

    The current version of the ebuild is identical to one currently in Portage (7.7.2-r2); I'm hoping to include an update to pull in the latest stable 7.8 development version soon (this has been quite stable for me).

    I'm also going to work up an ebuild for Triode's Squeezelite -- this will initially be available in this overlay but as I'm currently working towards becoming an official Gentoo developer I'm hoping to move that into the main tree soon.

    Stuart
    "Never put off until tomorrow what you can put off until the day after - with Lazy Searching!"

  2. #2
    Junior Member
    Join Date
    Oct 2012
    Posts
    12
    Thank for all your work in providing us support for LMS under gentoo !!!

    Does the revision 7.8 works with perl 5.16.1 ?
    That would be great as I miss LMS on my gentoo.

  3. #3
    Senior Member hickinbottoms's Avatar
    Join Date
    Apr 2005
    Location
    Wokingham, UK
    Posts
    544

    Gentoo Logitech Media Server ebuild movingto an overlay

    Unfortunately it doesn't work work 5.16 yet, and given Logitech's
    current focus I'm not sure they'll be adding it either...

    I've seen some progress in other threads re running it with Perl 5.16 on
    SuSE, so I plan on reading through that so see if there's any
    possibility of doing the same under Gentoo.

    Let me know if you have any trouble with the overlay in the future.

    Stuart


    On Sat 15 Dec 2012 11:17:41 PM GMT, Gregoire wrote:
    >
    >
    > Thank for all your work in providing us support for LMS under gentoo
    > !!!
    >
    > Does the revision 7.8 works with perl 5.16.1 ?
    > That would be great as I miss LMS on my gentoo.
    >
    >
    > ------------------------------------------------------------------------
    > Gregoire's Profile: http://forums.slimdevices.com/member.php?userid=57718
    > View this thread: http://forums.slimdevices.com/showthread.php?t=97562
    >
    >

  4. #4
    Junior Member
    Join Date
    Oct 2012
    Posts
    12
    Thank you very much.

    If perl 5.16 isn't an option for now, maybe you could include in the overlay ebuild to have squeezed or ScrawnyServer?

    That's could help people going into hacking (without uptodate compatibility LMS is not an option for everyone) those two less complex program (they don't support all boxes sofar).

  5. #5
    Senior Member hickinbottoms's Avatar
    Join Date
    Apr 2005
    Location
    Wokingham, UK
    Posts
    544

    Gentoo Logitech Media Server ebuild movingto an overlay

    Thanks -- I'll look into both of those.

    Stuart


    On Sun 16 Dec 2012 04:51:41 PM GMT, Gregoire wrote:
    >
    >
    > Thank you very much.
    >
    > If perl 5.16 isn't an option for now, maybe you could include in the
    > overlay ebuild to have 'squeezed' (https://code.google.com/p/squeezed/)
    > or 'ScrawnyServer' (https://sourceforge.net/projects/scrawnyserver/)?
    >
    > That's could help people going into hacking (without uptodate
    > compatibility LMS is not an option for everyone) those two less complex
    > program (they don't support all boxes sofar).
    >
    >
    > ------------------------------------------------------------------------
    > Gregoire's Profile: http://forums.slimdevices.com/member.php?userid=57718
    > View this thread: http://forums.slimdevices.com/showthread.php?t=97562
    >
    >

  6. #6
    Junior Member
    Join Date
    Aug 2007
    Location
    Edinburgh, UK
    Posts
    27
    Stuart, thanks for posting this, I'm an infrequent updater so goodness knows when I would have learned of this otherwise.

    Little sad to see this move happen (it sorta feels like a stripping away of some of the package's "legitimacy" in the Gentoo ecosystem, much though I tell myself this is not really accurate) but I know it is for good reasons and it has obviously been a hell of a package to curate in-tree (I've seen many of the bugs).

    Just a small question: does the move to an overlay improve the scope for reanimating the old ("unbundled") source ebuild? I do remember that many of the old bugs seemed to trace back to incompatibilities between the bundled modules and the in-tree versions, so I guess that kind of issue has not gone away and I dare say this is not an avenue you personally care to go down again, but if others were to attempt this, (a) would a source ebuild be welcome in this overlay and (b) would you have any advice on the subject?

    I'm not throwing my hat in the ring (no speaky Perl) but if/when LMS eventually gets totally orphaned, it would be good if a project were already well underway to keep the codebase buildable against newer systems. What do you think?

  7. #7
    Senior Member hickinbottoms's Avatar
    Join Date
    Apr 2005
    Location
    Wokingham, UK
    Posts
    544

    Gentoo Logitech Media Server ebuild movingto an overlay

    Hello, thanks for the reply.

    On the positive side there's no reason why a source-only ebuild couldn't
    be added back to this overlay. I've still got the previous working
    version so that's available as a starting point if it would help anyone.

    The problem is the same as it's always been, though, that the Perl
    module versions in Gentoo have moved on (in some cases quite
    considerably) from those that LMS was designed to work with. This makes
    it quite difficult to find all the problems and introduce patches to the
    CPAN modules and/or LMS in order to get them to work together. This
    might have been practical with a handful of dependencies but from memory
    I think I had to wrangle about 70-80 CPAN module dependencies the last
    time. That really wasn't a fun experience and I was never very convinced
    there weren't problems introduced due to differences in the dependency
    versions that I couldn't get to the bottom of.

    One way around it might be to include older CPAN modules in the overlay
    but this is really no better than keeping the 'bundled' modules with the
    server -- it would provoke the same arguments that old CPAN dependencies
    might be somehow 'insecure'.

    I don't think the 'bundled' version of the ebuild is any less likely to
    be supportable than an unbundled one going forward, and it's certainly
    lower effort for the maintainer. Although the ebuild is called '...-bin'
    it's not really binary and all the Perl source is in there to be patched
    as necessary. I'm rather hoping to get it working with Perl 5.16 at some
    point when I have some time to try as that's the major reason why it
    might not be runnable in the near-term, and I can include those patches
    in the -bin ebuild just as easily.

    Stuart




    On 12/19/2012 03:44 PM, Havin_it wrote:
    > Stuart, thanks for posting this, I'm an infrequent updater so goodness
    > knows when I would have learned of this otherwise.
    >
    > Little sad to see this move happen (it sorta feels like a stripping away
    > of some of the package's "legitimacy" in the Gentoo ecosystem, much
    > though I tell myself this is not really accurate) but I know it is for
    > good reasons and it has obviously been a hell of a package to curate
    > in-tree (I've seen many of the bugs).
    >
    > Just a small question: does the move to an overlay improve the scope for
    > reanimating the old ("unbundled") source ebuild? I do remember that
    > many of the old bugs seemed to trace back to incompatibilities between
    > the bundled modules and the in-tree versions, so I guess that kind of
    > issue has not gone away and I dare say this is not an avenue you
    > personally care to go down again, but if others were to attempt this,
    > (a) would a source ebuild be welcome in this overlay and (b) would you
    > have any advice on the subject?
    >
    > I'm not throwing my hat in the ring (no speaky Perl) but if/when LMS
    > eventually gets totally orphaned, it would be good if a project were
    > already well underway to keep the codebase buildable against newer
    > systems. What do you think?
    >
    >
    > ------------------------------------------------------------------------
    > Havin_it's Profile: http://forums.slimdevices.com/member.php?userid=12661
    > View this thread: http://forums.slimdevices.com/showthread.php?t=97562
    >
    >

  8. #8
    Junior Member
    Join Date
    Aug 2007
    Location
    Edinburgh, UK
    Posts
    27
    Hi Stuart, thanks for the insight

    I see your point about filling the overlay with outdated Perl modules; I dunno about others but one of the main things that turn me off an overlay is when it comes with a raft of low-level packages to support the "main" package/s of the overlay (the Xgl overlay some years back was a prime example of this: I badly wanted to experiment with the new shiny, but it just wasn't worth it to overhaul so much of my core system for). And I can certainly understand the bar-to-entry that would be presented by having 70-80 different upstreams to deal with O.o

    I do get the feeling that that work would become necessary eventually, as I imagine LMS's supported Perl version will slip further and further behind distros (it's already happening with Gentoo obviously - hope you do have success with 5.16 compatibility).

    In your experience, what is the character of the CPAN modules you've had to deal with? Are any/many of them orphaned projects themselves, only being kept alive by Logitech's involvement? Do they have good governance, e.g. do they communicate well, are they receptive to bugs/enhancements, do they publicise their API changes well and so on? Are they aware of their place in the SB ecosystem, and do they care? (I know it's bad to generalise, but you might rather do that than name names and point fingers.)

    Just trying to get a sense for how great the long-term challenge will be of keeping LMS alive/healthy without Logitech.

  9. #9
    Senior Member Julf's Avatar
    Join Date
    Dec 2010
    Posts
    864
    Quote Originally Posted by Havin_it View Post
    Just trying to get a sense for how great the long-term challenge will be of keeping LMS alive/healthy without Logitech.
    Some of us are dreaming of rewriting LMS in a modern, non-scripting language (such as go).

  10. #10
    Junior Member
    Join Date
    Mar 2010
    Location
    Sweden
    Posts
    19
    I have now moved to the squeezebox overlay, I can play music from it (with iPeng), but I have trouble accessing the web interface. Nothing shows up and looking in the logs after trying to access, I can see this:

    tail /var/log/logitechmediaserver/server.log
    [13-01-01 13:23:05.5437] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/homeplayer_list.html: not found
    [13-01-01 13:23:05.5446] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/homeplayer_list.html: not found
    [13-01-01 13:23:05.5496] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/select_option.html: not found
    [13-01-01 13:23:05.5506] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/select_option.html: not found
    [13-01-01 13:23:05.5521] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/Default/index.html: not found
    [13-01-01 13:23:55.4364] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/homeplayer_list.html: not found
    [13-01-01 13:23:55.4381] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/homeplayer_list.html: not found
    [13-01-01 13:23:55.4432] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/select_option.html: not found
    [13-01-01 13:23:55.4441] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/EN/select_option.html: not found
    [13-01-01 13:23:55.4453] Slim::Web::Template::SkinManager::_fillTemplate (323) Error: file error - /opt/logitechmediaserver/HTML/Default/index.html: not found

    Do you have any idea of what has gone wrong?

Posting Permissions

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