develop and build enigma2 plugin
dudule22 12 Aug 2020
Hi,
I need some informations to develop and build enigma2 plugin.
I understand that the langage is python.
My computer is on Windows 10 Pro
What is the software to edit and build an ipk file ?
If there is a topic to explain how proceed, it would be very nice.
Thanks
WanWizard 12 Aug 2020
ipk's are created by the build process, by bitbake, based on a bitbake build recipe.
You can construct it manually, for which you need "ar" to pack and unpack it (no idea if a Windows compatible version exists), and "tar" / "gzip" to work with the archives inside the ipk.
Any source editor will do, as long as it can save files in UTF-8 with linux line-ends (LF instead of CR-LF).
dudule22 12 Aug 2020
Bitbake seems to work only on linux and I have VirtualBox and Ubuntu installed.
Ok for that : files in UTF-8 with linux line-ends (LF instead of CR-LF).
Thanks
WanWizard 12 Aug 2020
Ubuntu is fine.
You will have to install our OE repo, add your recipe to meta-local, after which you can use bitbake to build that specific recipe (without having to build an entire image).
You can find what you need to install in Ubuntu in our wiki: https://wiki.openpli..._for_Developers
Dimitrij 12 Aug 2020
Use linux your receiver.
/usr/bin/ipk-maker make_dir /tmp/IPK-BUILD
chown -Rh root:root /tmp/IPK-BUILD /usr/bin/ipk-maker build /tmp/IPK-BUILD
Edited by Dimitrij, 12 August 2020 - 17:36.
betacentauri 12 Aug 2020
I hope you are already a developer.
You can write the plugin on the box or with a normal editor (well for python you need one which shows white spaces). You don’t need Linux for that.
dudule22 13 Aug 2020
@Dimitrij,@betacentauri : thanks
I take a look on others pulgins.
I am a Visual Studio developper (VB.net). With this developpement environnement is very simple (debug mode is excellent).
I know that now, i have to use Notepad++ on DUO4K
WanWizard 13 Aug 2020
Because you develop on the platform your app has to run.
If you want a comparable IDE for Python, I can recommend JetBrains' PyCharm.
Persian Prince 13 Aug 2020
For ipk you can try https://forums.openp...d-generator-10/
And for python examples you could check github for .py sources