Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30721 - Slimp3-4.2.6 (New Package)
Summary: Slimp3-4.2.6 (New Package)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-10-08 20:06 UTC by Scott Seekamp
Modified: 2004-06-29 07:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
slimp3 ebuild (slimp3-4.2.6.ebuild,882 bytes, text/plain)
2003-10-08 20:08 UTC, Scott Seekamp
Details
configuration sample file (conf,2.10 KB, text/plain)
2003-10-08 20:09 UTC, Scott Seekamp
Details
Sample rc file (init,438 bytes, text/plain)
2003-10-08 20:09 UTC, Scott Seekamp
Details
New version of the ebuild, conf and rc file (slimserver.tar.gz,1.58 KB, application/gzip)
2004-01-13 17:22 UTC, Christian Savard
Details
Updated Ebuild for SlimServer 5.1.5 (slimserver-5.1.5.ebuild,1.06 KB, text/plain)
2004-04-25 22:51 UTC, Christopher Sachs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Seekamp 2003-10-08 20:06:48 UTC
Server software for Slim Devices Slimp3 music device
www.slimdevices.com
Comment 1 Scott Seekamp 2003-10-08 20:08:12 UTC
Created attachment 18981 [details]
slimp3 ebuild

Ebuild file - uses configuration and rc file
Comment 2 Scott Seekamp 2003-10-08 20:09:10 UTC
Created attachment 18982 [details]
configuration sample file

Sample configuration file for /etc/conf.d/ directory
Comment 3 Scott Seekamp 2003-10-08 20:09:47 UTC
Created attachment 18983 [details]
Sample rc file

Sample rc file /etc/init.d/ directory
Comment 4 Christian Savard 2004-01-13 17:22:36 UTC
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.
Comment 5 Gordon Johnston 2004-02-08 18:22:03 UTC
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.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-24 14:19:20 UTC
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?
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-30 17:28:39 UTC
buggy upstream... no response from submitter... WONTFIX
Comment 8 Christopher Sachs 2004-04-25 22:51:35 UTC
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
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-25 23:46:48 UTC
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?
Comment 10 Christopher Sachs 2004-04-26 00:24:10 UTC
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.
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-26 00:39:40 UTC
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.
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-29 10:15:09 UTC
(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.
Comment 13 Adam Compton 2004-04-30 15:07:19 UTC
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.
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-04 23:29:59 UTC
I don't really like that "fix"... I'd prefer to find the chunk of code that is supposed to be called...
Comment 15 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-30 23:53:50 UTC
Please reopen when this is fixed upstream