I've just created a set of ebuilds for SlimServer for Gentoo. Get them here:
http://dev.gentoo.org/~twp/slimserver/
Hopefully everything should work 'out of the box'.
Please email me (twp at gentoo dot org) if you find bugs or contribute improvements.
Best regards,
Tom Payne
Gentoo Developer
Results 1 to 10 of 20
-
2006-10-07, 14:36 #1Junior Member
- Join Date
- May 2006
- Posts
- 11
New Gentoo ebuilds for SlimServer
-
2006-10-08, 03:59 #2Senior Member
- Join Date
- Apr 2006
- Posts
- 130
Just in time! I rebuild the server after a HD crash. I'll give it a try.
EDIT: all the scripts are in it?
-
2006-10-08, 14:15 #3Junior Member
- Join Date
- May 2006
- Posts
- 11
Hi Havoc,
Yes, the ebuilds include init scripts (/etc/init.d/slimserver). It should 'just work'.
The log file is /var/log/slimserver. There's no log rotation script, but I can add it.
Best regards,
Tom
-
2006-10-09, 12:43 #4Senior Member
- Join Date
- Apr 2006
- Posts
- 130
Just tried it, and it failed after the first command...
Untarred to /usr/portage and that worked better. It is now emerging 55 (?) packages. Which I find excessive! I only installed Gentoo, X, icewm, xfe, opera and perl (and some filesystem related stuff) the first time I put slimserver on this machine. And that worked using the soft found on the slimdevices site and the scripts in the wiki.Code:slim slimserver # tar -xvzf gentoo-slimserver-6.5.tar.gz -C /usr/local/portage tar: /usr/local/portage: Cannot chdir: no such file or directory tar: Error is not recoverable: exiting now
Anyway, I'll let it run till tomorrow and we'll see then (if it has finished by then).
-
2006-10-10, 12:15 #5Senior Member
- Join Date
- Apr 2006
- Posts
- 130
Fails at emerging libvorbis-1.1.2... Think you better limit it to libs really needed and not the whole portage database
-
2006-10-10, 14:45 #6Junior Member
- Join Date
- May 2006
- Posts
- 11
Please post a bug about the failed emerge of libvorbis on http://bugs.gentoo.org/.
The dependencies in the slimserver ebuild are the minimum required: perl and its modules, mysql, media-sound/alac_decoder, media-libs/flac, media-sound/musepack-tools, and media-sound/sox, all of which are required by slimserver.
Regards,
Tom
-
2006-10-11, 00:29 #7
I don't think that's quite true - they're required if you use those formats, yes, but not otherwise. Apart from Perl, I don't believe any of those dependencies are mandatory if you have an architecture supported by the default-packaged mysqld (I've not checked the actual ebuild, just the list in the above quote, however). There would be the few Perl packages that "build-perl-modules.pl" builds, though.
I think there are USE flags for much of those formats (and mysql) that should be used to control what dependencies the package would have (controlled through the IUSE mechanism of the ebuild, I believe).
I'm not criticising the ebuild, but just trying to make suggestions to make it more applicable to more people. I've often wished there were a SS ebuild in Portage, but not been bothered to do anything about it myself.
Stuart"Never put off until tomorrow what you can put off until the day after - with Lazy Searching!"
-
2006-10-11, 01:35 #8Junior Member
- Join Date
- May 2006
- Posts
- 11
Hi Stuart,
This is in fact the case. The dependencies are:
You can see that the alac, flac, and musepack USE flags are already there.Code:DEPEND="sys-apps/findutils" RDEPEND=" >=dev-db/mysql-5.0 >=dev-lang/perl-5.8.3 >=dev-perl/Compress-Zlib-1.41 >=dev-perl/Digest-SHA1-2.11 dev-perl/DBD-mysql dev-perl/GD >=dev-perl/HTML-Parser-3.48 >=virtual/perl-Time-HiRes-1.86 >=dev-perl/XML-Parser-2.34 >=dev-perl/YAML-Syck-0.64 alac? ( media-sound/alac_decoder ) flac? ( media-libs/flac ) musepack? ( media-sound/musepack-tools ) media-sound/sox "
Havoc's problem occured emerging libvorbis, which is a dependency of sox if you have the ogg useflag set.
If you want to see what depends on what then use the '-t' (show tree) option to emerge, for example
The ebuild currently depends on MySQL because this is the default database distributed with SlimServer 6.5. In theory it should be possible to make the ebuild use different databases according to the useflags.Code:emerge -pt slimserver
Regards,
Tom
-
2006-10-11, 01:58 #9"Never put off until tomorrow what you can put off until the day after - with Lazy Searching!"
-
2006-10-11, 12:04 #10Senior Member
- Join Date
- Apr 2006
- Posts
- 130
Are you sure about those dependencies? I installed Slimserver before without all those things. Certainly not sox! Installed were perl and not much else.
My guess this is when you want to transcode, but not if all you want is pure serving of files.
If had been logging bugs since I started re-installing this box, I wouldn't have much else to do!

Reply With Quote


