homepage | forum | wiki | feature requests & bugs

Installation on sarge

From Mms-wiki

Jump to: navigation, search

Contents

[edit] Description

author: Roman Müllenschläder

translation and small changes: Julian Flake

[edit] Binary Packages for MMS 1.1.0 RC1

http://forum.mymediasystem.org/viewtopic.php?t=1033

Attention: Experimental!!

acmelabs 18:46, 24 December 2007 (CET)

[edit] MMS on Debian Sid & Etch

UPDATE: Debian packages for Sid (unstable) and Etch (stable) are available for apt now!

Flavours all compiled with: --enable-lirc --enable-eject-tray

mms-standard

compiled with defaults + --enable-bttv-radio --enable-game --enable-tv
With this package you get all you want and all MMS has to offer

mms-slim

compiled with --enable-gst-audio --disable-epg
Use this on machines with small amount of RAM or if you like gstreamer

mms-mpeg

compiled with --disable-xidle --enable-tv  --disable-sdl --enable-dvb
Use this with Full-featured DVB-cards

[edit] Howto

For Sid add these lines to your /etc/apt/sources.list:

deb http://www.prodeia.de/mms/sid binary/ 
deb-src http://www.prodeia.de/mms source/

For Etch add these lines to your /etc/apt/sources.list:

deb http://www.prodeia.de/mms/etch binary/ 
deb-src http://www.prodeia.de/mms source/

do

apt-get update && apt-get install mms-standard/slim/mpeg

See also this post in forum: This one

It includes a HowTo for to compile "debian-way" with own options!

[edit] Howto do it yourself

I wrote a small tutorial... for those who are interested :-)

This tutorial relates to debian sarge with marillat repository in /etc/apt/sources.list

[edit] Required packages

through dependencies, some more will be needed, than those we are listing here

aptitude install libimlib2-dev libsdl1.2-dev autoconf bzr build-essential libxine-dev mplayer-nogui pkg-config

and

aptitude install w32codecs libtag1-dev libsqlite0-dev libpcre3-dev liblircclient-dev libtool gettext libalsaplayer-dev


Note:

If you get the following error, apt was not able to verify the public gpg key of ftp.nerim.net. To fix this read the little howto on Linux Weblog.

The error message looks like:

"GPG error: ftp://ftp.nerim.net sid Release: The following signatures couldn't be verified because the public key [..] "

[edit] installation of MMS

[edit] preparations

first, create a folder, where the sources will be downloaded, for example:

cd /usr/local/src/
mkdir mms
cd mms

[edit] download sources

we get the latest development version of mms with:

bzr get http://bazaar.launchpad.net/~anders-gnulinux/mms/1.0.9 mms-1.0.9

this may take a while.

change to the latest version with

cd mms-1.0.9

Note: 1.0.9 and 1.0.8.2 are the same atm. (15:56, 9 March 2007 (CET))

[edit] compilation

The parts of mms, which should be enabled at compile time have to be applied to ./configure for example:

./configure --enable-fancy-audio --disable-xidle --enable-xine-audio --enable-fancy-movie --enable-picture-epg --enable-sdl --enable-eject-tray

that means:

fancy-audio 
audio mode with cover display
xidle 
Xidle for fancy audio
xine-audio 
xine as audioplayer
fancy-movie 
movie mode with cover display
picture-epg 
tv listings with pictures
sdl 
compile mms with SDL as additional output device besides DXR3
eject-tray 
enables a menu item with which you can open and close your CD/DVD-drive


If you do not have a dxr3 installed you also have to apply

--disable-dxr3


For all possible options try

./configure --help

finally type:

make

[edit] installation

If everything went fine, and no errors occured, type

make install

as superuser.

[edit] annotations on Debian

The way described above doesn't use debian's excellent packagemanagement. This is necessary, because there is no official debian package available until now (12/05).

To create your own debian package, type:

apt-get install checkinstall

and instead of

make install

just type

checkinstall -D make install

this creates a debian package (.deb), which you can install with

dpkg -i mms.....deb

an uninstall with

aptitude remove mms....

[edit] configuration files

main configuration file is

/etc/mms/config

here you have to set the locations, where your media files are stored.

keyboard bindings can be found in

/etc/mms/input-keyboard

lirc bindings can be found and edited in

/etc/mms/input-keyboard

[edit] runnning

type

mms --help

to see which input and output devices are compiled in your mms then type

 mms -i <input> -o <output>

for output on a desktop and controlling via keyboard, type:

mms -o sdl -i keyboard

for output on framebuffer device, type:

export SDL_NOMOUSE="1"
mms -o sdl -i keyboard

for output on dxr3 just type: (this may change in 1.1.0)

mms

[edit] init Script

#!/bin/sh
#
# /etc/rc.d/mms: start/stop mms
#
if [ "$1" = "start" ]; then
       LANG="de_DE.UTF-8" /usr/local/bin/mms >/dev/null 2>&1 & echo "mms starting ..."
elif [ "$1" = "stop" ]; then
       killall -9 /usr/local/bin/mms
       echo "mms stopped (kill) ..."
else
   echo "usage: $0 {start|stop}"
fi
# End of file

copy to

/etc/init.d/mms

and make executable:

chmod +x /etc/init.d/mms
Personal tools