Permalink
Browse files

removing work-in-progress logitechmediaserver-7.7.1 (-bin approach is…

… better.)
  • Loading branch information...
1 parent af9d9c0 commit 68c0e1afb012ff0d70ac551dfbd7fe2f23832d23 @danielrobbins danielrobbins committed Nov 24, 2012
@@ -1 +0,0 @@
-DIST logitechmediaserver-7.7.1-noCPAN.tgz 19795541 RMD160 1997bfe1585d3dc5bfbe4a72cd80c6451c4930d2 SHA1 86ad18cbb9630562af56d97b8879c852fab0429f SHA256 c978295f6cc1e592d187e388fd972c79403cc82000f7ba5dd0ae0b724f4e23a0
@@ -1,3 +0,0 @@
----- squeezeboxserver-7.5.0
-
-Updated for Squeezebox Server 7.5.0 (Gentoo bug#314073)
@@ -1,25 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeboxserver/files/Gentoo-plugins-README.txt,v 1.3 2010/04/25 22:26:28 lavajoe Exp $
-
-The standard Squeezebox Server package is installed differently on Gentoo in
-order that the installation complies with Gentoo's filesystem layout. These
-notes are provided to give guidance for installing plugins within this
-modified layout.
-
-INSTALLING PLUGINS
-
-The installation instructions of plugins should be followed but with the
-following Gentoo specifics:
-
-* Plugins should be installed into the directory:
- /var/lib/squeezeboxserver/Plugins
-* Extension binaries (which sometimes accompany plugins) should be installed
- into the directory:
- /usr/lib/squeezeboxserver/Bin
-
-BACKGROUND
-
-Those interested can refer to the following for details of Gentoo's filesystem
-standard:
-http://devmanual.gentoo.org/general-concepts/filesystem/index.html
@@ -1,65 +0,0 @@
-#!/bin/bash
-#
-# $Id: build-modules-7.5.5.sh,v 1.1 2011/08/10 23:58:34 lavajoe Exp $
-#
-# This script builds all binary Perl modules required by Squeezebox Server.
-
-DISTDIR="$1"; shift
-D="$1"; shift
-
-# Build dir
-BUILD=$PWD
-
-# Require modules to pass tests
-RUN_TESTS=1
-
-FLAGS=""
-
-# $1 = module to build
-# $2 = Makefile.PL arg(s)
-function build_module {
- tar zxvf $DISTDIR/SqueezeboxServer-$1.tar.gz || exit 1
- cd $1
-
- perl Makefile.PL PREFIX=$D $2
- if [ $RUN_TESTS -eq 1 ]; then
- make test
- else
- make
- fi
- if [ $? != 0 ]; then
- if [ $RUN_TESTS -eq 1 ]; then
- echo "make test failed, aborting"
- else
- echo "make failed, aborting"
- fi
- exit $?
- fi
- make install || exit 1
- make clean || exit 1
-
- cd ..
- rm -rf $1
-}
-
-function build_all {
- export PERL_MM_USE_DEFAULT=1
- RUN_TESTS=0
- build_module EV-3.8
- RUN_TESTS=1
- export PERL_MM_USE_DEFAULT=
-}
-
-# Build a single module if requested, or all
-if [ $1 ]; then
- build $1
-else
- build_all
-fi
-
-# Reset PERL5LIB
-export PERL5LIB=
-
-# clean out useless .bs/.packlist files, etc
-find $BUILD -name '*.bs' -exec rm -f {} \;
-find $BUILD -name '*.packlist' -exec rm -f {} \;
@@ -1,6 +0,0 @@
-CREATE DATABASE __DATABASE__;
-
-GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
- ON *.*
- TO '__DBUSER__'@'localhost'
- IDENTIFIED BY '__DBPASSWORD__'
@@ -1,2 +0,0 @@
-DROP DATABASE __DATABASE__;
-DROP USER '__DBUSER__'@'localhost';
@@ -1,119 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains a custom OS package to provide information on the
-# installation structure on Gentoo. It is based on the Debian OS equivalent
-# that is built into Logitech Media Server.
-
-package Slim::Utils::OS::Custom;
-
-use strict;
-use File::Spec::Functions qw(:ALL);
-use FindBin qw($Bin);
-use Config;
-
-use base qw(Slim::Utils::OS::Linux);
-
-sub initDetails {
- my $class = shift;
-
- $class->{osDetails} = $class->SUPER::initDetails();
-
- $class->{osDetails}->{isGentoo} = 1 ;
-
- # Make sure we can find any CPAN modules packaged with Squeezebox Server.
- unshift @INC, '/usr/share/logitechmediaserver/CPAN';
-
- # Make sure plugin files are found.
- push @INC, '/var/lib/logitechmediaserver';
-
- return $class->{osDetails};
-}
-
-=head2 dirsFor( $dir )
-
-Return OS Specific directories.
-
-Argument $dir is a string to indicate which of the Squeezebox Server directories we
-need information for.
-
-=cut
-
-sub dirsFor {
- my ($class, $dir) = @_;
-
- my @dirs = ();
-
- if ($dir =~ /^(?:oldprefs|updates)$/) {
-
- push @dirs, $class->SUPER::dirsFor($dir);
-
- } elsif ($dir =~ /^(?:Firmware|Graphics|HTML|IR|MySQL|SQL|lib|Bin)$/) {
-
- push @dirs, "/usr/share/logitechmediaserver/$dir";
-
- } elsif ($dir eq 'Plugins') {
-
- push @dirs, $class->SUPER::dirsFor($dir);
- push @dirs, "/var/lib/logitechmediaserver/Plugins", "/usr/lib/" . $Config{'package'} . "/vendor_perl/" . $Config{'version'} . "/Slim/Plugin";
-
- } elsif ($dir =~ /^(?:strings|revision)$/) {
-
- push @dirs, "/usr/share/logitechmediaserver";
-
- } elsif ($dir eq 'libpath') {
-
- push @dirs, "/usr/lib/logitechmediaserver";
-
- # Because we use the system MySQL, we need to point to the right
- # directory for the errmsg. files. Default to english.
- } elsif ($dir eq 'mysql-language') {
-
- push @dirs, "/usr/share/mysql/english";
-
- } elsif ($dir =~ /^(?:types|convert)$/) {
-
- push @dirs, "/etc/logitechmediaserver";
-
- } elsif ($dir =~ /^(?:prefs)$/) {
-
- push @dirs, $::prefsdir || "/var/lib/logitechmediaserver/prefs";
-
- } elsif ($dir eq 'log') {
-
- push @dirs, $::logdir || "/var/log/logitechmediaserver";
-
- } elsif ($dir eq 'cache') {
-
- push @dirs, $::cachedir || "/var/lib/logitechmediaserver/cache";
-
- } elsif ($dir =~ /^(?:music|playlists)$/) {
-
- push @dirs, '';
-
- } else {
-
- warn "dirsFor: Didn't find a match request: [$dir]\n";
- }
-
- return wantarray() ? @dirs : $dirs[0];
-}
-
-# Bug 9488, always decode on Ubuntu/Debian
-sub decodeExternalHelperPath {
- return Slim::Utils::Unicode::utf8decode_locale($_[1]);
-}
-
-sub scanner {
- return '/usr/sbin/logitechmediaserver-scanner';
-}
-
-
-1;
-
-
-
-
-1;
-
-__END__
@@ -1,31 +0,0 @@
-diff -urN logitechmediaserver-7.7.1-33735-noCPAN.orig/Slim/bootstrap.pm logitechmediaserver-7.7.1-33735-noCPAN/Slim/bootstrap.pm
---- logitechmediaserver-7.7.1-33735-noCPAN.orig/Slim/bootstrap.pm 2011-10-11 01:33:55.000000000 +0000
-+++ logitechmediaserver-7.7.1-33735-noCPAN/Slim/bootstrap.pm 2012-01-22 22:20:49.405777915 +0000
-@@ -194,27 +194,6 @@
- print "To run from source on Windows, please install ActivePerl 5.14.1. ActivePerl 5.10.0 is no longer supported.\n";
- print "http://downloads.activestate.com/ActivePerl/releases/5.14.1.1401/ActivePerl-5.14.1.1401-MSWin32-x86-294969.msi\n\n";
- }
-- else {
-- print qq{
--*******
--
--NOTE:
--
--If you're running some unsupported Linux/Unix platform, please use the buildme.sh
--script located here:
--
--http://svn.slimdevices.com/repos/slim/7.6/trunk/vendor/CPAN/
--
--If 7.6 is outdated by the time you read this, Replace "7.6" with the major version
--You should never need to do this if you're on Windows or Mac OSX. If the installers
--don't work for you, ask for help and/or report a bug.
--
--of Logitech Media Server you are running.
--
--*******
--
-- \n};
-- }
-
- print "Exiting..\n";
-
@@ -1,15 +0,0 @@
-diff -urN logitechmediaserver-7.7.1-33735-noCPAN.orig/slimserver.pl logitechmediaserver-7.7.1-33735-noCPAN/slimserver.pl
---- logitechmediaserver-7.7.1-33735-noCPAN.orig/slimserver.pl 2011-11-28 23:43:24.000000000 +0000
-+++ logitechmediaserver-7.7.1-33735-noCPAN/slimserver.pl 2012-01-22 22:26:50.365777949 +0000
-@@ -440,8 +440,9 @@
-
- # Generate a UUID for this SC instance on first-run
- if ( !$prefs->get('server_uuid') ) {
-- require UUID::Tiny;
-- $prefs->set( server_uuid => UUID::Tiny::create_UUID_as_string( UUID::Tiny::UUID_V4() ) );
-+ require Data:UUID;
-+ my $ug = new Data::UUID;
-+ $prefs->set( server_uuid => lc $ug->create_str() );
- }
-
- main::INFOLOG && $log->info("Server binary search path init...");
@@ -1,26 +0,0 @@
-# /etc/conf.d/logitechmediaserver
-
-# Niceness level for the Logitech Media Server process. If not specified then the
-# default is to run at standard priority. Uncomment the following to run at a
-# high priority (in order to try to minimise drop-outs due to audio starvation
-# of the players). Note that this requires "OpenRC", which will become the
-# standard init system for Gentoo at some point. If you are not using OpenRC
-# yet, this setting will have no effect:
-#
-# LMS_NICENESS=-10
-
-# Default path of your music library and playlists. You can leave these
-# undefined and configure them through the web interface instead.
-
-LMS_DIR=/mnt/media/Music
-LMS_PLAYLISTS_DIR=/mnt/media/Playlists
-
-# The following contains any other options you want to specify, such as default
-# logging options. The example below will prevent the discovery and display of
-# UPnP devices within your players.
-#
-# See "logitechmediaserver --help" for a full list of possible options,
-# but note that many of them are supplied by /etc/init.d/logitechmediaserver
-# and so don't need to be present here.
-#LMS_OPTS="--d_startup"
-LMS_OPTS=""
@@ -1,48 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# These fit the Logitech Media Server ebuild and so shouldn't need to be changed;
-# user-servicable parts go in /etc/conf.d/logitechmediaserver.
-pidfile=/var/run/logitechmediaserver/logitechmediaserver.pid
-logdir=/var/log/logitechmediaserver
-varlibdir=/var/lib/logitechmediaserver
-cachedir=${varlibdir}/cache
-prefsdir=/etc/logitechmediaserver/prefs
-prefsfile=/etc/logitechmediaserver/logitechmediaserver.prefs
-scuser=logitechmediaserver
-scname=logitechmediaserver
-
-depend() {
- need net
- use mysql
-}
-
-start() {
- ebegin "Starting Logitech Media Server"
-
- cd /
- start-stop-daemon \
- --start --exec /usr/sbin/${scname} \
- --pidfile ${pidfile} \
- --user ${scuser} \
- --background \
- -- \
- --quiet \
- --pidfile=${pidfile} \
- --cachedir=${cachedir} \
- --prefsfile=${prefsfile} \
- --prefsdir=${prefsdir} \
- --logdir=${logdir} \
- --audiodir=${LMS_MUSIC_DIR} \
- --playlistdir=${LMS_PLAYLISTS_DIR} \
- ${LMS_OPTS}
-
- eend $? "Failed to start Logitech Media Server"
-}
-
-stop() {
- ebegin "Stopping Logitech Media Server"
- start-stop-daemon --retry 10 --stop --pidfile ${pidfile}
- eend $? "Failed to stop Logitech Media Server"
-}
@@ -1,12 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.logrotate.d,v 1.4 2011/11/07 21:41:50 lavajoe Exp $
-
-/var/log/squeezeboxserver/scanner.log /var/log/squeezeboxserver/server.log /var/log/squeezeboxserver/perfmon.log {
- missingok
- notifempty
- copytruncate
- rotate 5
- size 100k
- su squeezeboxserver squeezeboxserver
-}
@@ -1,3 +0,0 @@
-dbusername: squeezeboxserver
-dbpassword: TBA
-dbsource: dbi:mysql:database=squeezeboxserver;mysql_socket=/var/run/mysqld/mysqld.sock
Oops, something went wrong.

0 comments on commit 68c0e1a

Please sign in to comment.