Jump to content


Photo

develop and build enigma2 plugin


  • Please log in to reply
11 replies to this topic

#1 dudule22

  • Senior Member
  • 311 posts

+4
Neutral

Posted 12 August 2020 - 15:47

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



Re: develop and build enigma2 plugin #2 WanWizard

  • PLi® Core member
  • 68,671 posts

+1,740
Excellent

Posted 12 August 2020 - 16:18

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).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop and build enigma2 plugin #3 dudule22

  • Senior Member
  • 311 posts

+4
Neutral

Posted 12 August 2020 - 16:58

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



Re: develop and build enigma2 plugin #4 WanWizard

  • PLi® Core member
  • 68,671 posts

+1,740
Excellent

Posted 12 August 2020 - 17:07

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop and build enigma2 plugin #5 dudule22

  • Senior Member
  • 311 posts

+4
Neutral

Posted 12 August 2020 - 17:28

Thanks



Re: develop and build enigma2 plugin #6 Dimitrij

  • PLi® Core member
  • 10,036 posts

+339
Excellent

Posted 12 August 2020 - 17:28

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.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: develop and build enigma2 plugin #7 WanWizard

  • PLi® Core member
  • 68,671 posts

+1,740
Excellent

Posted 12 August 2020 - 17:47

An arm and a mipsel package for the same box?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop and build enigma2 plugin #8 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 August 2020 - 23:01

Before thinking about how to build an IPK, start with implementing the plugin. That’s much more difficult. At best look at other plugins and try to understand what they do.
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.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: develop and build enigma2 plugin #9 dudule22

  • Senior Member
  • 311 posts

+4
Neutral

Posted 13 August 2020 - 06:58

@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



Re: develop and build enigma2 plugin #10 WanWizard

  • PLi® Core member
  • 68,671 posts

+1,740
Excellent

Posted 13 August 2020 - 12:02

Because you develop on the platform your app has to run.

 

If you want a comparable IDE for Python, I can recommend JetBrains' PyCharm.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: develop and build enigma2 plugin #11 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 13 August 2020 - 12:12

For ipk you can try https://forums.openp...d-generator-10/

 

And for python examples you could check github for .py sources ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: develop and build enigma2 plugin #12 dudule22

  • Senior Member
  • 311 posts

+4
Neutral

Posted 13 August 2020 - 12:33

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users