Text2skin-plugin

From VDR Wiki

(Difference between revisions)
Jump to: navigation, search
(Installation)
m
Line 23: Line 23:
==Installation==
==Installation==
To install ImageMagick
To install ImageMagick
-
<pre>
+
cd $SOURCEDIR
-
cd $SOURCEDIR
+
tar jxvf ImageMagick-<VERSION>.tar.bz2
-
tar jxvf ImageMagick-<VERSION>.tar.bz2
+
cd ImageMagick-<VERSION>
-
cd ImageMagick-<VERSION>
+
./configure --prefix=/usr/local \
-
./configure --prefix=/usr/local \
+
            --without-perl \
-
            --without-perl \
+
            --without-dps \
-
            --without-dps \
+
            --without-fpx \
-
            --without-fpx \
+
            --without-gslib \
-
            --without-gslib \
+
            --without-jbig \
-
            --without-jbig \
+
            --without-jp2 \
-
            --without-jp2 \
+
            --without-lcms \
-
            --without-lcms \
+
            --without-tiff \
-
            --without-tiff \
+
            --without-xml \
-
            --without-xml \
+
            --without-x
-
            --without-x
+
make
-
make
+
make install
-
make install
+
ldconfig
-
ldconfig
+
-
</pre>
+
See [[plugin installation]]
See [[plugin installation]]
Line 47: Line 45:
===Patches===
===Patches===
For DVB cards which are extended to 4MB memory '''$SOURCEDIR/VDR/dvbosd.c''' has to be altered to use the advanced [[OSD]] feature (more colors, bigger windows)
For DVB cards which are extended to 4MB memory '''$SOURCEDIR/VDR/dvbosd.c''' has to be altered to use the advanced [[OSD]] feature (more colors, bigger windows)
-
<pre>
+
#define MAXOSDMEMORY 1000000
-
#define MAXOSDMEMORY 1000000
+
 
-
</pre>
+
and recompile VDR.
and recompile VDR.
==Configuration==
==Configuration==
The skins are placed in the plugins configuration directiory
The skins are placed in the plugins configuration directiory
-
<pre>
+
cd /etc/vdr/plugins
-
cd /etc/vdr/plugins
+
mkdir text2skin
-
mkdir text2skin
+
cd text2skin
-
cd text2skin
+
cp /path/to/skin-package.tgz ./
-
cp /path/to/skin-package.tgz ./
+
tar xvzf skin-package.tgz
-
tar xvzf skin-package.tgz
+
-
</pre>
+
==Problems==
==Problems==

Revision as of 22:58, 30 November 2004

Contents

Description

Screenshot

The text2skin plugin is designed to load and interpret a set of files describing the layout of the On Screen Display and to make this "Skin" available to VDR via Setup -> OSD in the main menu. Of course it is possible to load more than one text-based skin this way and to choose between them while running VDR. All skins may be themeable (you can create your own color-theme) and translateable as the author of the skin wishes.

Hardware requirements

There are two versions of skins for the text2skin plugin

  • "90kb" for standard OSD
  • "1mb" for OSD of modded full featured cards

If a skin with two many colors for the OSD memory is used, one can end up in a non-readable or even not displayed OSD.

Software requirements

  • nothing : only XPM images with no transparency/alpha channel
  • ImageMagick : many different image formats (slower than imlib2)
  • Imlib2 : many different image formats (see problems)

Both can be used together, but it's of no use.

Installation

To install ImageMagick

cd $SOURCEDIR
tar jxvf ImageMagick-<VERSION>.tar.bz2
cd ImageMagick-<VERSION>
./configure --prefix=/usr/local \
            --without-perl \
            --without-dps \
            --without-fpx \
            --without-gslib \
            --without-jbig \
            --without-jp2 \
            --without-lcms \
            --without-tiff \
            --without-xml \
            --without-x
make
make install
ldconfig

See plugin installation

Patches

For DVB cards which are extended to 4MB memory $SOURCEDIR/VDR/dvbosd.c has to be altered to use the advanced OSD feature (more colors, bigger windows)

#define MAXOSDMEMORY 1000000

and recompile VDR.

Configuration

The skins are placed in the plugins configuration directiory

cd /etc/vdr/plugins
mkdir text2skin
cd text2skin
cp /path/to/skin-package.tgz ./
tar xvzf skin-package.tgz

Problems

  • Use of the imlib2 library together with the graphtft-plugin can lead to crashes.

Links

[1] http://www.magoa.net/linux/index.php?view=text2skin Plugin homepage
[2] http://www.enlightenment.org/pages/imlib2.html Imlib2 Homepage
[3] http://www.imagemagick.org imagemagick Homepage
[4] http://www.vdrskins.org/vdrskins Skins for the text2skin plugin
Personal tools
Participate
In other languages