Installscript: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
m (→‎Installation protocol: obsolete -> de wiki)
Line 1: Line 1:
==Description==
==Description==
The '''Installsscript''' is a tool that the handles the conventional installation steps with a collection of scripts.
The '''Installsscript''' is a tool that the handles the conventional installation steps with a collection of scripts.

[[Image:installscript-0.png|thumb|none|''lxdialog'']]


==Prerequirements==
==Prerequirements==

Revision as of 07:12, 15 March 2006

Description

The Installsscript is a tool that the handles the conventional installation steps with a collection of scripts.

lxdialog

Prerequirements

  • Development environment

check needed requirements by this command:

bash> sh vdr-install-script-current.run -- --checkreq

On sarge it needs libncurses5-dev & subversion plus others obvious (if you typed in previous command) packages

Manual

Tutorial

First of all

  • Linux knowledge is required
  • It is useful to have experiences in compiling VDR and it's component manually

Scripts customisation

Unpack

bash> sh vdr-install-script-current.run --noexec --target /tmp/vdr bash> cd /tmp/vdr/setup

The following files should be adapted according to your needs

+-- Bild:Folder.png $DISDIR

   +-- Bild:Folder.png setup
       +-- Bild:Folder.png config
           |--+ setup.conf
           |--+ make.conf
           |--+ modules.conf
           |--+ sources.conf
           |--+ marks2pts.conf
           |--+ keymacros.conf
       +-- Bild:Folder.png examples
           +-- Bild:Folder.png plugins
               +-- Bild:Folder.png mailbox
                   |--+ accounts.conf
           +-- Bild:Folder.png vdr
               |--+ vdr.conf

Die meisten Optionen können unabhängig von der setup.conf auf der Komandozeile übergeben werden:

bash> LANG="de_DE@euro" ./setup.sh --help bash> LANG="de_DE@euro" sh vdr-install-script-current.run -- --help


Available modules

To be continued...

Stow(ES)

GNU stow helps to organise the files under /usr/local, by installing every software under his own directory tree under /usr/local/stow. And then, symbol links create the illusion, every software is installed in the same place.

Here are some of the most important commands

  • help
/usr/local/stow/stowES help --prog stow=/usr/local/stow/stow
  • checkstow (cs)
/usr/local/stow/stowES cs --prog stow=/usr/local/stow/stow
Checking packages in /usr/local/stow (78 matches):
I (  772.5) DFB++-0.9.20
I (  1,385) DirectFB-0.9.20
I (19223.5) ImageMagick-6.0.2
I ( 10,085) MPlayer-1.0pre4
....
  • checkin (ci)
/usr/local/stow/stowES ci MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow" to check in package MPlayer-1.0pre4 ...done.
Calling ldconfig
  • ceckout (co)
/usr/local/stow/stowES co MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling ldconfig.
  • remove (rm)
/usr/local/stow/stowES rm MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling "rm -rf" to remove package MPlayer-1.0pre4 ...done.
Calling ldconfig.
  • exchange
/usr/local/stow/stowES exchange MPlayer-1.0pre4 MPlayer-1.0pre5 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling "stow" to check in package MPlayer-1.0pre5 ...done.
Calling ldconfig.

To be continued...

Links

[1] ftp://ftp.cadsoft.de/vdr/Tools VDR FTP
[2] http://linvdr.org/download/vdr/Tools Download mirror
[3] http://savannah.gnu.org/projects/stow GNU Stow project homepage
[4] http://www.inf.tu-dresden.de/~al10/stowES Extensions to Stow
[5] http://linuxwiki.de/Stow Stow Wiki