Sponsored links


Go Back   Sat Industry Forums > iTGate Official Forums > DS Team Forum
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-25-2006
dsteam's Avatar
Registered User
 
Join Date: Nov 2005
Posts: 100
Thanks: 0
Thanked 2 Times in 1 Post
dsteam is on a distinguished road
How to build Addons for DS image???

Small faq for DS Team images - Building Addons

At first of all you must create folder called - addon
Then put files which you want include in addon to this folder.

Create xml file called - install.xml ( it must be named install.xml ! )

example install.xml for

plugin

Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="plugin" />
    <cpfile permission="755" from="/tmp/addon/pip.so" to="/var/tuxbox/plugins/" />
    <cpfile permission="644" from="/tmp/addon/pip.cfg" to="/var/tuxbox/plugins/" />
    <cpfile permission="644" from="/tmp/addon/pip.conf" to="/var/tuxbox/config/" />
    <dir permission="755" make="/var/uninstall/pip/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/pip/" />
</install>
<addon type="plugin" /> - this type of addon (possiable: plugin, locale, emu )

<cpfile permission="755" from="/tmp/addon/pip.so" to="/var/tuxbox/plugins/" />

cpfile permission="755" - permission copied file
from="/tmp/addon/pip.so" -from where it must be copied ( always is /tmp/addon/ )
to="/var/tuxbox/plugins/" - location where file must be copy
<dir permission="755" make="/var/uninstall/pip/" /> - create folder to uninstalling addon ( must be always that !! )
<cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/pip/" /> - copy install.xml to created folder befor for uninstall.


locale

Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="locale" language="French fr_FR" />
    <dir permission="755" make="/var/share/locale/fr/" />    
    <cpfile permission="644" from="/tmp/addon/tuxbox-enigma.mo" to="/var/share/locale/fr/"/>
    <dir permission="755" make="/var/uninstall/localefr/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/localefr/" />
</install>
<addon type="locale" language="French fr_FR" /> - language the name of lines which must be written to locale.alias


emu

When we're doing emu addon we must also create file called - emulist.xml and put it also to /addon

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<emulist>
<emu emulator="Camd3 v830" osdname="CAMD3" emuscript="" daemon="camd3"/>
</emulist>
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="emu" />
    <cpfile permission="755" from="/tmp/addon/camd3" to="/var/bin/" />
    <cpfile permission="755" from="/tmp/addon/pcamd" to="/var/bin/" />
    <cpfile permission="644" from="/tmp/addon/camd3.config" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.servers" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.users" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.****" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/destination" to="/var/****/" />
    <dir permission="755" make="/var/uninstall/camd3830/" />
    <cpfile permission="644" from="/var/tmp/addon/emulist.xml" to="/var/uninstall/camd3830/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/camd3830/" />
</install>
<cpfile permission="644" from="/tmp/addon/emulist.xml" to="/var/uninstall/camd3830/" /> - in emu type addons we also must copy emulist.tmp to uninstall folder.

After create install.xml and put all files into /addon folder just pack *.tar.gz

To build GAME, SKIN addons we must use type="plugin" and do everythink like in this faq...


Now,I think everythink will be easier...



Regards..
Reply With Quote
Sponsored links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto build a complete Image for any dreambox! hemertje Dreambox Development 266 09-29-2008 02:42 AM
How to add emu/camd to freshly build CDK image? liamcrayden Dreamulators 5 01-28-2006 04:01 PM
Building Addons for the DBF Image... spacy 2Gether-Images 5 08-20-2005 12:00 PM
Where to download the Flash image build 1.09 tissebleen DB Images 2 02-26-2005 06:10 AM
way to build your own browser for your cdk-image jura Dreambox Development 0 05-19-2004 10:13 PM


All times are GMT +10. The time now is 10:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.18481 seconds with 10 queries