Revision history for E2PluginsCreate
Additions:
cd $DIRNAME && fakeroot -- dpkg-deb --build ./$BASENAME "$BASENAME.ipk"
Deletions:
Additions:
if [ ! -f $DIRNAME/$BASENAME.ipk ]; then
zenity --error --title "ERROR.: ipkg not created!" --text " Don't creat it.!\n Please check it."
exit 0
zenity --info --title "OK.: ipkg created successfully." --text " ipkg file created successfully..\n File path: $DIRNAME/$BASENAME.ipk"
[[pluginwiki E2 Plugin Wiki]] : [[HomePage Back to the PLi� Wiki]] : [[DM500 DM500]] : [[DM500plus DM500+]] : [[DM56xx DM56xx]] : [[DM600 DM600]] : [[DM7000 DM7000]] : [[DM7020 DM7020]] : [[DM7025 DM7025]] : [[DM800 DM800]] : [[DM8000 DM8000]]
Deletions:
zenity --info --text "Successfully build $DIRNAME/$BASENAME.ipk"
[[pluginwiki E2 Plugin Wiki]] : [[HomePage Back to the PLi® Wiki]] : [[DM500 DM500]] : [[DM500plus DM500+]] : [[DM56xx DM56xx]] : [[DM600 DM600]] : [[DM7000 DM7000]] : [[DM7020 DM7020]] : [[DM7025 DM7025]] : [[DM800 DM800]] : [[DM8000 DM8000]]
Additions:
[[pluginwiki E2 Plugin Wiki]] : [[HomePage Back to the PLi® Wiki]] : [[DM500 DM500]] : [[DM500plus DM500+]] : [[DM56xx DM56xx]] : [[DM600 DM600]] : [[DM7000 DM7000]] : [[DM7020 DM7020]] : [[DM7025 DM7025]] : [[DM800 DM800]] : [[DM8000 DM8000]]
Deletions:
Additions:
1.2 %%opkg install /home/root/enigma2-plugin-extensions-opkg-tools_1.2_mipsel.ipk%%
Deletions:
Additions:
1.0 %%opkg install /home/root/dreambox-opkg-tools-mips_1.0_mipsel.ipk%%
2.1 %%opkg install /home/root/enigma2-plugin-extensions-opkg-tools_1.2_mipsel.ipk%%
2.1 %%opkg install /home/root/enigma2-plugin-extensions-opkg-tools_1.2_mipsel.ipk%%
Deletions:
Additions:
==== Create E2 Plugins / OPKG (IPKG) Packages with Multi OS computer and Enigma2 tuner. ====
Deletions:
Additions:
Requirements: **dpkg**(Debian package management system) and **fakeroot**(Gives a fake root environment).
Install: dreambox-opkg-tools-mips_1.0_mipsel.ipk on your Enigma2 tuner, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] ([[http://www.pli-images.org/getfile.php?type=a&file_id=10893 1.2 version download link]]).and put it on your Enigma2 tuner in the folder:
Install: dreambox-opkg-tools-mips_1.0_mipsel.ipk on your Enigma2 tuner, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] ([[http://www.pli-images.org/getfile.php?type=a&file_id=10893 1.2 version download link]]).and put it on your Enigma2 tuner in the folder:
Deletions:
Install dreambox-opkg-tools-mips_1.0_mipsel.ipk on your Dreambox/VU+ DUO, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] and put it on your Dreambox/VU+ DUO in the folder:
Additions:
==== Create E2 Plugins / OPKG Packages with a Linux PC and Gnome desktop with Nautilus file manager, or KDE desktop with Dolphin file manager. ====
Install dreambox-opkg-tools-mips_1.0_mipsel.ipk on your Dreambox/VU+ DUO, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] and put it on your Dreambox/VU+ DUO in the folder:
%%opkg install /home/root/dreambox-opkg-tools-mips_1.0_mipsel.ipk%%
Now the opkg tools are installed.
%%opkg-build /home/root/SOMENAME%%
%%opkg install /home/root/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
%%opkg install http://www.MYWEBSERVER.com/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
Install dreambox-opkg-tools-mips_1.0_mipsel.ipk on your Dreambox/VU+ DUO, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] and put it on your Dreambox/VU+ DUO in the folder:
%%opkg install /home/root/dreambox-opkg-tools-mips_1.0_mipsel.ipk%%
Now the opkg tools are installed.
%%opkg-build /home/root/SOMENAME%%
%%opkg install /home/root/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
%%opkg install http://www.MYWEBSERVER.com/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
Deletions:
Install dreambox-ipkg-tools-mips_1.0_mipsel.ipk on your Dreambox/VU+ DUO, [[http://www.pli-images.org/getfile.php?type=a&file_id=9389 download the package]] and put it on your Dreambox/VU+ DUO in the folder:
%%ipkg install /home/root/dreambox-ipkg-tools-mips_1.0_mipsel.ipk%%
Now the ipkg tools are installed.
%%ipkg-build /home/root/SOMENAME%%
%%ipkg install /home/root/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
%%ipkg install http://www.MYWEBSERVER.com/enigma2-plugin-picons-MYPACKAGENAME_ 2010-10-29_mipsel.ipk%%
Revision [4068]
Edited on 2010-11-29 12:57:37 by Jeroensky [Added Gnome Nautilus and KDE Dolphin support. (thanks to alpacino)]Additions:
Create a .desktop file on folder %%~/.kde/share/kde4/services/ServiceMenus/%% (for example Build_folder_into_ipk_package.desktop ) with the following contents:
Deletions:
Revision [4066]
Edited on 2010-11-29 12:49:06 by Jeroensky [Added Gnome Nautilus and KDE Dolphin support. (thanks to alpacino)]Additions:
==== Create E2 Plugins / IPKG Packages with a Linux PC and Gnome desktop with Nautilus file manager, or KDE desktop with Dolphin file manager. ====
**3. Create nautilus script (Gnome only!)**
To build the package using Nautilus simply right click on folder enigma2-plugin-extensions-mytestplugin_1.0_mipsel and go to Scripts-> Build_folder_into_ipk_package
**3. Create Dolphin script (KDE only!)**
**3. Create nautilus script (Gnome only!)**
To build the package using Nautilus simply right click on folder enigma2-plugin-extensions-mytestplugin_1.0_mipsel and go to Scripts-> Build_folder_into_ipk_package
**3. Create Dolphin script (KDE only!)**
Deletions:
**3. Create nautilus script**
To build the package using nautilus simply right click on folder enigma2-plugin-extensions-mytestplugin_1.0_mipsel and go to Scripts-> Build_folder_into_ipk_package
==== Do the same with a Linux PC and KDE desktop (Dolphin filemanager) ====
Revision [4065]
Edited on 2010-11-29 12:42:54 by Jeroensky [Added Gnome Nautilus and KDE Dolphin support. (thanks to alpacino)]Additions:
==== Create E2 Plugins / IPKG Packages with a Linux PC and Gnome desktop (Nautilus file manager) ====
Using a Linux PC and Nautilus (Gnome) file manager you can follow this procedure in order to build an ipk package. This guide uses an Enigma2 plugin as example.
==== Do the same with a Linux PC and KDE desktop (Dolphin filemanager) ====
- Create a .desktop file on folder ~/.kde/share/kde4/services/ServiceMenus/ (for example Build_folder_into_ipk_package.desktop ) with the following contents:
%%Build_folder_into_ipk_package.desktop
[Desktop Entry]
Type=Service
Icon=utilities-file-archiver
X-KDE-Icon=utilities-file-archiver
Actions=Build_folder_into_ipk_package
ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked
Terminal=true
[Desktop Action Build_folder_into_ipk_package]
Exec=/bin/sh -c "cd `dirname %U` && fakeroot dpkg-deb --build ./`basename %U` `basename %U`.ipk"
Icon=utilities-file-archiver
X-KDE-Icon=utilities-file-archiver
Name=Build folder into ipk package%%
Using a Linux PC and Nautilus (Gnome) file manager you can follow this procedure in order to build an ipk package. This guide uses an Enigma2 plugin as example.
==== Do the same with a Linux PC and KDE desktop (Dolphin filemanager) ====
- Create a .desktop file on folder ~/.kde/share/kde4/services/ServiceMenus/ (for example Build_folder_into_ipk_package.desktop ) with the following contents:
%%Build_folder_into_ipk_package.desktop
[Desktop Entry]
Type=Service
Icon=utilities-file-archiver
X-KDE-Icon=utilities-file-archiver
Actions=Build_folder_into_ipk_package
ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked
Terminal=true
[Desktop Action Build_folder_into_ipk_package]
Exec=/bin/sh -c "cd `dirname %U` && fakeroot dpkg-deb --build ./`basename %U` `basename %U`.ipk"
Icon=utilities-file-archiver
X-KDE-Icon=utilities-file-archiver
Name=Build folder into ipk package%%
Deletions:
Using a Linux PC and nautilus file manager you can follow this procedure in order to build an ipk package. This guide uses an Enigna2 plugin as example.
Revision [4063]
Edited on 2010-11-27 21:12:54 by alpacino [Added Gnome Nautilus and KDE Dolphin support. (thanks to alpacino)]Additions:
# build an ipk package using selected
cd $DIRNAME && fakeroot dpkg-deb --build ./$BASENAME "$BASENAME.ipk"
cd $DIRNAME && fakeroot dpkg-deb --build ./$BASENAME "$BASENAME.ipk"
Deletions:
cd $DIRNAME && fakeroot dpkg-deb --build ./$BASENAME
Revision [4061]
Edited on 2010-11-21 22:57:42 by Jeroensky [Merge E2PluginsCreate & E2PackageCreate]Additions:
**[[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -PuTTY]]** (windows/Linux-see package manager)
Deletions:
Revision [4060]
Edited on 2010-11-21 22:56:05 by Jeroensky [Merge E2PluginsCreate & E2PackageCreate]Additions:
==== Create E2 Plugins / IPKG Packages with Multi OS computer and Enigma2 tuner. ====
Deletions:
Revision [4059]
Edited on 2010-11-21 22:43:08 by Jeroensky [Merge E2PluginsCreate & E2PackageCreate]Additions:
Requirements: **dpkg**(Debian package management system) and **fakeroot**(Gives a fake root enviironment).
Do check your Linux package manager for installing these software.
Do check your Linux package manager for installing these software.
Deletions:
Revision [4056]
Edited on 2010-11-21 22:33:53 by Jeroensky [Merge E2PluginsCreate & E2PackageCreate]Deletions:
==={{color c="gray" text="This guide will explain how you can create your own IPKG packages."}}===
Additions:
==== Create E2 Plugins / IPKG Packages with a Linux PC ====
=={{color c="gray" text="For creation through your Dreambox/VU+ DUO box see also : "}}== [[E2PluginsCreate E2PluginsCreate]]
Using a Linux PC and nautilus file manager you can follow this procedure in order to build an ipk package. This guide uses an Enigna2 plugin as example.
Requirements: dpkg and fakeroot.
**1. Create Package folders**
Create a directory with the following contents.
%%enigma2-plugin-extensions-mytestplugin_1.0_mipsel/
debian-binary
DEBIAN/
control
postinst
postrm
preinst
usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin/
__init__.py
plugin.py%%
**2. Create Package files**
The debian-binary file contains only '2.0', the plugin directory obviously contains the plugin python source and the DEBIAN folder files must have [like] the following contents :
-----------
control:
-----------
%%Package: enigma2-plugin-extensions-mytestplugin
Version: 1.0
Description: MyTestPlugin plugin does this and that (Enigma2)
Maintainer: me <me@foo.com>
OE:
Homepage: www.vuduo.com
Depends:
Source: www.vuduo.com%%
--------
postinst:
--------
echo "Restarting Enigma2 to load MyTestPlugin Plugin ..."
init 4
killall -9 enigma2 > /dev/null 2>&1
init 3
exit 0%%
--------
postrm:
--------
echo "Removing MyTestPlugin Plugin from the system ..."
rm -r /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin > /dev/null 2>&1
echo "Restarting Enigma2 to get rid of MyTestPlugin Plugin ..."
init 4
killall -9 enigma2 > /dev/null 2>&1
init 3
exit 0%%
--------
preinst:
--------
echo "Checking for an older version of MyTestPlugin in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin ]
then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin > /dev/null 2>&1
echo "An older version of MyTestPlugin was found and removed"
echo "Proceeding to installation..."
else
echo "MyTestPlugin was not found in the system"
echo "Proceeding to installation..."
fi
exit 0%%
--------
**3. Create nautilus script**
In order to build ipk directly from nautilus you need to have a script in %%~/.gnome2/nautilus-scripts/%% like the following (chmod +x Build_folder_into_ipk_package ).
--------
Build_folder_into_ipk_package :
--------
%%#!/bin/bash
# build a deb package using selected
BASENAME=`basename $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`
DIRNAME=`dirname $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`
cd $DIRNAME && fakeroot dpkg-deb --build ./$BASENAME
zenity --info --text "Successfully build $DIRNAME/$BASENAME.ipk"
exit 0%%
--------
To build the package using nautilus simply right click on folder enigma2-plugin-extensions-mytestplugin_1.0_mipsel and go to Scripts-> Build_folder_into_ipk_package
==== Create E2 Plugins / IPKG Packages with Multi OS computer andEnigma2 tuner. ====
=={{color c="gray" text="For creation through your Dreambox/VU+ DUO box see also : "}}== [[E2PluginsCreate E2PluginsCreate]]
Using a Linux PC and nautilus file manager you can follow this procedure in order to build an ipk package. This guide uses an Enigna2 plugin as example.
Requirements: dpkg and fakeroot.
**1. Create Package folders**
Create a directory with the following contents.
%%enigma2-plugin-extensions-mytestplugin_1.0_mipsel/
debian-binary
DEBIAN/
control
postinst
postrm
preinst
usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin/
__init__.py
plugin.py%%
**2. Create Package files**
The debian-binary file contains only '2.0', the plugin directory obviously contains the plugin python source and the DEBIAN folder files must have [like] the following contents :
-----------
control:
-----------
%%Package: enigma2-plugin-extensions-mytestplugin
Version: 1.0
Description: MyTestPlugin plugin does this and that (Enigma2)
Maintainer: me <me@foo.com>
OE:
Homepage: www.vuduo.com
Depends:
Source: www.vuduo.com%%
--------
postinst:
--------
echo "Restarting Enigma2 to load MyTestPlugin Plugin ..."
init 4
killall -9 enigma2 > /dev/null 2>&1
init 3
exit 0%%
--------
postrm:
--------
echo "Removing MyTestPlugin Plugin from the system ..."
rm -r /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin > /dev/null 2>&1
echo "Restarting Enigma2 to get rid of MyTestPlugin Plugin ..."
init 4
killall -9 enigma2 > /dev/null 2>&1
init 3
exit 0%%
--------
preinst:
--------
echo "Checking for an older version of MyTestPlugin in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin ]
then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/MyTestPlugin > /dev/null 2>&1
echo "An older version of MyTestPlugin was found and removed"
echo "Proceeding to installation..."
else
echo "MyTestPlugin was not found in the system"
echo "Proceeding to installation..."
fi
exit 0%%
--------
**3. Create nautilus script**
In order to build ipk directly from nautilus you need to have a script in %%~/.gnome2/nautilus-scripts/%% like the following (chmod +x Build_folder_into_ipk_package ).
--------
Build_folder_into_ipk_package :
--------
%%#!/bin/bash
# build a deb package using selected
BASENAME=`basename $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`
DIRNAME=`dirname $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`
cd $DIRNAME && fakeroot dpkg-deb --build ./$BASENAME
zenity --info --text "Successfully build $DIRNAME/$BASENAME.ipk"
exit 0%%
--------
To build the package using nautilus simply right click on folder enigma2-plugin-extensions-mytestplugin_1.0_mipsel and go to Scripts-> Build_folder_into_ipk_package
==== Create E2 Plugins / IPKG Packages with Multi OS computer andEnigma2 tuner. ====
Deletions:
//This page is created by Ocram.//
Additions:
**[[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -PuTTY]]** (windows)
**[[http://winscp.net -WinSCP]]**(windows)
**-Terminal** (Linux [[http://aplawrence.com/Linux/enable_telnet.html howto]] + OS-X [[http://www.wikihow.com/Use-Telnet-on-Mac-OS-X howto]])
**[[http://winscp.net -WinSCP]]**(windows)
**-Terminal** (Linux [[http://aplawrence.com/Linux/enable_telnet.html howto]] + OS-X [[http://www.wikihow.com/Use-Telnet-on-Mac-OS-X howto]])
Deletions:
**[[http://winscp.net -WinSCP]](windows)**
Or your own (**Linux**/**OS-X**) programs (see package manager of Unix-like OS), and....:
Additions:
Make sure that the line endings are in UNIX style if you're doing the work from a Windows machine, you can use [[http://notepad-plus-plus.org/ NotePad(PlusPlus)]] wich has support for UNIX style line endings.
Deletions:
Additions:
Or your own (**Linux**/**OS-X**) programs (see package manager of Unix-like OS), and....:
Deletions:
Additions:
Make sure that the line endings are in UNIX style if you're doing the work from a Windows machine, you can use NotePad(PlusPlus) wich has support for UNIX style line endings.
In the file **control** put the following text:
%%Package: enigma2-plugin-picons-MYPACKAGENAME
Version: 2010-10-29
Description: Picons
Architecture: mipsel
Section: extra
Priority: optional
Maintainer: xxxx
Homepage: xxxx
Depends: enigma2
Source: xxxx%%
When you look at the package name structure **'enigma2-plugin-'** will always be the same, the word **'picons'** can change according to the style of you package, take a look at your download menu on your Dreambox/VU+ DUO and you'll understand. The **xxxx** can also be changed to something of your liking.
Then we also have the file **postrm**, in our example we will put the following in postrm:
%%#!/bin/sh
rm -rf /picon%%
**postinst** <--Right after the installation
**preinst** <--Right before the installation
**prerm** <--Right before the removal
You can put also some other folders in **/home/root/SOMENAME**, the directory stucture that you create there, will be the final directory structure that is installed on your Dreambox/VU+ DUO.
In the file **control** put the following text:
%%Package: enigma2-plugin-picons-MYPACKAGENAME
Version: 2010-10-29
Description: Picons
Architecture: mipsel
Section: extra
Priority: optional
Maintainer: xxxx
Homepage: xxxx
Depends: enigma2
Source: xxxx%%
When you look at the package name structure **'enigma2-plugin-'** will always be the same, the word **'picons'** can change according to the style of you package, take a look at your download menu on your Dreambox/VU+ DUO and you'll understand. The **xxxx** can also be changed to something of your liking.
Then we also have the file **postrm**, in our example we will put the following in postrm:
%%#!/bin/sh
rm -rf /picon%%
**postinst** <--Right after the installation
**preinst** <--Right before the installation
**prerm** <--Right before the removal
You can put also some other folders in **/home/root/SOMENAME**, the directory stucture that you create there, will be the final directory structure that is installed on your Dreambox/VU+ DUO.
Deletions:
In the file control put the following text:
**Package: enigma2-plugin-picons-MYPACKAGENAME**
**Version: 2010-10-29**
**Description: Picons**
**Architecture: mipsel**
**Section: extra**
**Priority: optional**
**Maintainer: xxxx**
**Homepage: xxxx**
**Depends: enigma2**
**Source: xxxx**
When you look at the package name structure 'enigma2-plugin-' will always be the same, the word picons can change according to the style of you package, take a look at your download menu on your Dreambox/VU+ DUO and you'll understand. The xxxx can also be changed to something of your liking.
Then we also have the file postrm, in our example we will put the following in postrm:
%%#!/bin/sh%%
%%rm -rf /picon%%
** postinst <--Right after the installation **
** preinst <--Right before the installation **
** prerm <--Right before the removal **
You can put also some other folders in /home/root/SOMENAME, the directory stucture that you create there, will be the final directory structure that is installed on your Dreambox/VU+ DUO.
Additions:
**[[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -PuTTY]](windows)**
Deletions:
Additions:
Or your own (Linux/OS-X) programs, and....
Deletions:
Additions:
**[[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -Putty]](windows)**
**[[http://winscp.net -WinSCP]](windows)**
**[[http://winscp.net -WinSCP]](windows)**
Deletions:
**-WinSCP**
Additions:
##Be aware: don't translate the code, keep it English##
Additions:
==== Create E2 Plugins / IPKG Packages. ====
==={{color c="gray" text="This guide will explain how you can create your own IPKG packages."}}===
==={{color c="gray" text="This guide will explain how you can create your own IPKG packages."}}===
Deletions:
==={{color c="gray" text="optional page subtitle"}}===
** This guide will explain how you can create your own IPKG packages. **