Hello Guys.
just an idea from me if anybody wants to help us building addons for the dbf image.
so here is a short description of our xml addon installer ;-)
This is an example install.xml file
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
<addon type="emu"/>
<dir permissions="755" make="/var/tuxbox/Installer/emu_dccamd" />
<cpfile permissions="755" from="/var/tmp/Installer/dccamd" to="/var/bin/dccamd" />
<cpfile permissions="755" from="/var/tmp/Installer/install.xml" to="/var/tuxbox/Installer/emu_dccamd/install.xml" />
<cpfile permissions="755" from="/var/tmp/Installer/emulist.xml" to="/var/tuxbox/Installer/emu_dccamd/emulist.xml" />
</install>
it must be named install.xml !
The files you want to install must be located in a folder "Installer"
which needs to get packed into the addon.tar.gz
now copy it as addon.tar.gz to /var/tmp/ and use the manual installer ;-)
what does it ?
was macht es ?
creates the folder emu_dccamd fo the uninstaller.
copies the install.xml and emulist.xml into the uninstall folder . Important !
else it wont get uninstalled.stall !
copies the dccamd to var/bin
after this the emulist.xml gets integrated into the one inside var/tuxbox/config and updates the entry.
you see. its easy to make addons ;-)
one more example ?
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
<addon type="locale"/>
<dir permissions="755" make="/var/tuxbox/Installer/locales_tr" />
<dir permissions="755" make="/var/share/locale/tr" />
<dir permissions="755" make="/var/share/locale/tr/LC_MESSAGES" />
<cpfile permissions="755" from="/var/tmp/Installer/tuxbox-enigma.mo" to="/var/share/locale/tr/LC_MESSAGES/tuxbox-enigma.mo" />
<cpfile permissions="755" from="/var/tmp/Installer/install.xml" to="/var/tuxbox/Installer/locales_tr/install.xml" />
<add language="Turkish tr_TR" />
</install>
This one adds the turkish locale entry to the locale.alias
Code:
<start auto="/hdd/nfs/nfs.sh start" />
this one append the string in auto to the /var/etc/init
Possible Addon types are:
emu, key, plugin, locale, fun, skin
more will come if needed.
Some more intresting points.
when installing addons of the type emu or keys.
the emudaemon switches back to Common Interface and after the installation back to your last active emu.
so its possible to update the running emu and keys without restart.
Some Points to the Addon remover.
this one uses the the on beginnig copied install.xml and emulist.xml and reverts this.
IMPORTANT: dont create Folders that already exist like /var/bin
you get the point ? ;-)
thats for now..
It will be a pleasure for me adding your builded addons to our online List.
Greetz
Spacy