Text2skin-plugin: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
skins may be themeable (you can create your own color-theme) and translateable
skins may be themeable (you can create your own color-theme) and translateable
as the author of the skin wishes.
as the author of the skin wishes.
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Skins==
==Skins==
Line 32: Line 19:


After the skin is done, one should consider publishing it at [http://www.vdrskins.org/vdrskins].
After the skin is done, one should consider publishing it at [http://www.vdrskins.org/vdrskins].
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Hardware requirements==
==Hardware requirements==
Line 52: Line 26:
* "1mb" for OSD of modded full featured cards
* "1mb" for OSD of modded full featured cards


If a skin with too many colors for the OSD memory is used, one can end up in a non-readable or even not displayed OSD.
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.
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]

==Software requirements==
==Software requirements==
* nothing '': only XPM images with no transparency/alpha channel''
* nothing '': only XPM images with no transparency/alpha channel''
Line 72: Line 32:
* Imlib2 '': many different image formats (see problems)''
* Imlib2 '': many different image formats (see problems)''
Both can be used together, but it's of no use.
Both can be used together, but it's of no use.
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Installation==
==Installation==
Line 113: Line 60:


and recompile VDR.
and recompile VDR.
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Configuration==
==Configuration==
Line 134: Line 68:
cp /path/to/skin-package.tgz ./
cp /path/to/skin-package.tgz ./
tar xvzf skin-package.tgz
tar xvzf skin-package.tgz
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Problems==
==Problems==
* Use of the imlib2 library together with the [[graphtft-plugin]] can lead to crashes.
* Use of the imlib2 library together with the [[graphtft-plugin]] can lead to crashes.
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]


==Links==
==Links==
Line 187: Line 95:
<!-- Link to german wiki page -->
<!-- Link to german wiki page -->
[[de:Text2skin-plugin]]
[[de:Text2skin-plugin]]
[http://www.town-china.cn 中央吸尘][http://www.town-china.cn 新风系统]
[http://www.town-china.cn 杭州通诚投资公司][http://www.021boy.com 成人用品]
[http://www.91yg.com 成人用品][http://www.air520.com 杭州婚庆][http://www.anteyi.cn 屏蔽器]
[http://www.atetech.com.cn 手机信号屏蔽器][http://www.51wisdom.com 网站建设] [http://www.51wisdom.com 杭州网络公司]
[http://www.56918.com/web.htm 网站建设][http://www.56918.com 虚拟主机][http://www.56918.com 域名注册]
[http://www.56918.com/promote.htm 网站推广][http://www.56918.com/email.htm 企业邮箱][http://www.56918.com/domain.htm 域名申请]
[http://www.56156.com 物流][http://www.dzsc.com 电子][http://www.ic37.com IC]
[http://www.51wisdom.com/jianshe_1.htm 网站建设] [http://www.51wisdom.com/jz.htm 虚拟主机]
[http://www.51wisdom.com/yinyong_1.asp 域名注册] [http://www.51wisdom.com/tuiguang.asp 网站推广]
[http://www.51wisdom.com/youju.asp 企业邮局][http://www.zhkaw.com 癌症] [http://www.51wisdom.com.cn/vi.htm vi设计] [http://www.51wisdom.com.cn/wangye 网页设计] [http://www.air520.com 杭州婚庆]
[http://www.air520.com 杭州婚庆司仪][http://www.air520.com 杭州婚庆主持]
[http://www.ywxjm.com 腰带] [http://www.51wisdom.com.cn/pingmian.htm 平面设计]
[http://www.51wisdom.net/biaozhi.htm 标志设计] [http://www.anteyi.cn 手机信号屏蔽器] [http://www.anteyi.cn 屏蔽器]

Revision as of 08:35, 17 September 2005

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.

Skins

New Skins are copied to the configuration directory of the plugin

mkdir -p /etc/vdr/plugins/text2skin
tar -zxvf /path/to/demo.tgz -C /etc/vdr/plugins/text2skin

For Skin Developers

For all those who which to develop a new skin, or want to alter an existent one, there is documentation in the plugin package and here

After the skin is done, one should consider publishing it at [1].

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