Server software for Slim Devices Slimp3 music device www.slimdevices.com
Created attachment 18981 [details] slimp3 ebuild Ebuild file - uses configuration and rc file
Created attachment 18982 [details] configuration sample file Sample configuration file for /etc/conf.d/ directory
Created attachment 18983 [details] Sample rc file Sample rc file /etc/init.d/ directory
Created attachment 23769 [details] New version of the ebuild, conf and rc file Made a version that matches the new name and made some modifications.
Christian Savard's modifications tested fine with new version 5.1 of the SlimServer software. Suggest description is altered to improve search: DESCRIPTION="Slim Devices SlimServer software. For Slimp3 and Squeezebox" Perhaps the server should be setuid 'slimdev' or similar? SlimServer does not require root privileges.
I was trying out 5.1.1, and the server crashed with the following error: Can't locate object method "offset" via package "Audio::Wav::Read" at /usr/share/slimserver/Slim/Formats/Wav.pm line 53. Looks like there's a bug in how it handles wavs... Can you verify that another version is working?
buggy upstream... no response from submitter... WONTFIX
Created attachment 30057 [details] Updated Ebuild for SlimServer 5.1.5 Here is the diff of the previously posted slimserver-5.0.1.ebuild and my update slimserver-5.1.5.ebuild. --- slimserver-5.0.1.ebuild 2004-01-13 17:13:29.000000000 -0800 +++ /usr/local/portage/net-misc/slimserver/slimserver-5.1.5.ebuild 2004-04-25 22:40:02.202606584 -0700 @@ -2,16 +2,15 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -DESCRIPTION="Slim Devices Slimp3 server software" +DESCRIPTION="Slim Devices SlimServer software for SLIMP3 and Squeezebox." HOMEPAGE="http://www.slimdevices.com/" MY_PN="SlimServer" MY_P="${MY_PN}_v${PV}" SRC_URI="http://www.slimdevices.com/downloads/${MY_P}/${MY_P}.tar.gz" -HOMEPAGE="www.slimdevices.com" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~ppc ~x86 ~*" RESTRICT=nostrip IUSE="" @@ -20,7 +19,7 @@ src_install() { dodir /usr/share/slimserver - cp -R ${S}/* ${D}/usr/share/slimserver + cp -R ${S}/* ${D}/usr/share/slimserver insinto /etc/conf.d && newins "${FILESDIR}/slimserver.conf.d" slimserver exeinto /etc/init.d && newexe "${FILESDIR}/slimserver.init.d" slimserver
Chris, you're lucky I noticed this... please either reopen a bug or create a new one if you need to add information. Also, ~* is not a valid KEYWORD. does this version fix the bug I mentioned?
Hi Jeremy. I am able to play wavs on my squeezebox, so if your bug was that you couldn't play wavs then it may be fixed. You need a squeezebox to play PCM audio. To play wavs or aifs on a slimp3 (or to stream to a computer) you need lame to encode the audio as mp3s on the fly. I am not sure what your situation was/is. I would like to do whatever is needed to get this package accepted into portage. I thought I had seen ~* used before. Since the server is written in perl it seems unnecessary to list every platform it may work on. Should I start a new bug to focus on producing an acceptable ebuild? The ebuild could use some work such ase use flags to make sure flac, libvorbis, lame, etc. are available if the user intends to use them. Thanks.
no, i reopened this bug, so it's fine to kee it here... even if you think it will work on all platforms, it may not... I'll try to take a look at this soon, but the next 3 weeks are going to be hell for me... so if more critical things come up, it may take the back burner... please try to verify that all the deps are included and optional components brought in with USE flags. Having that done will be a big help, thanks.
(10:13:54 Thu Apr 29 2004 root@eradicator) /usr/local/download/portage-cvs/media-sound/slimserver $ /usr/share/slimserver/slimserver.pl Can't locate object method "offset" via package "Audio::Wav::Read" at /usr/share/slimserver/Slim/Formats/Wav.pm line 53. sill happens with 5.1.5. This is just starting the package. I don't "do" anything.
Re: Comment #12: The offending line is a call to retrieve the "offset" parameter of a WAV file as part of a get_tags function. I commented out the line on my box, and everything seems to work fine.
I don't really like that "fix"... I'd prefer to find the chunk of code that is supposed to be called...
Please reopen when this is fixed upstream