Jump to content


Photo

A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins)


  • Please log in to reply
195 replies to this topic

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #101 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 2 October 2011 - 11:08

Hm, so how do you design a screen to work on both SD and HD skins?


I stopped to support SD skins form long time.
If you want to mantain relarive position the only solution i see is to prepare a page of the project where to explain perequisites like
gitpkgv.bbclass and e2 skin relative position patch providing files to download and instructions to add class and patch.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #102 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 2 October 2011 - 15:45

I think we have to be compatible with official e2 repos.


Why? All we need to do is just agree on what we all support... One could even include a patch to add support for it.
Real musicians never die - they just decompose

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #103 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 2 October 2011 - 18:32

Because there are hundred of users with many teams images that are not compatible with your plugins including all the users of the teams here (Bh, Vti, Sif).
We can patch our e2 version to be compatible with your skin par syntax but i don't think that all other teams will do and the users with current or older images version will be always not compatible.

But there is not problem for me. We can do as you want. Use a patch or add a package-patch and include dependency.... The solution you prefer is ok for me.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #104 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 7 October 2011 - 11:38

good idea ,

babsy98 from AAF DEV TEAM

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #105 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 9 October 2011 - 13:24

Hi guys,
last weekend i started to move my main project crossepg from google code to our new repo on github.

When i checked e2openplugins repo i saw all .bb examples but i've a some concerns:
- No SRCREV is provided in any package. It compile the last GIT commit at the time of compilation
- If i recompile my image one week later bitbake doesn't understand what it need to recompile
- The version with the "git commit id" is useful if you need to check the source in the git repo.. but it doesn't permit to understand how many old is the plugin and comparing two version you can't understand what is the newer (you can do it only checking the history on git repo)

Obviously they are only examples.. so i can change it manually as I prefer... but every time i need to update SRCREV and version manually and i'm REALLY REALLY LAZY :)
In addiction to that many people could find complicate use and maintain that in their images. There is many people who maintain slightly enhanced svn images and not a real customized image.

To solve this i made a python script (attached to the post).
The tar.gz contain:
- e2openplugins-example -> a set of .bb fixed to be used with that script
- e2openplugins.patch -> a patch to fix actual .bb format to the new one
- task-openplugins.bb -> a task to compile all plugins in one shot
- README -> the instructions
- e2openplugins-update.py -> the script

Simply run the script as
python e2openplugins-update.py /output/path/
it download the .bb files from e2openplugins repo.. discover all modules.. download the repo for every module and it check the last commit date, the commit id and the version number (if a file VERSION is provided). After that with some replace add that information inside the .bb files creating a set of .bb with an exact SRCREV SRCDATE SRCVER.

When the plugin will be compiled it look like that: enigma2-plugin-extensions-antilogo_1.0-20110923+git9cdd68-r0_mipsel.ipk
As you can see there is a version and a date.. the git commit id is truncated to only 6 chars. I did that because i retain the file name is more readable. And in association with the date is sufficient to understand the exact source version inside the repo.

What do you think? If it's ok i'll commit that on github. For the script i thought to create a separate repo e2openplugins-script

Attached Files



Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #106 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 9 October 2011 - 13:39

About the "skins problem" i'm seeing pieterg posted about 1 our ago the file "0001-skin-add-support-for-relative-coordinates.patch" .. thanks for that :)
I've no problem to apply that to sifteam image but i'm also thinking about the people who want use e2openplugins with a dmm svn image.
Do you think there is the possibility to propose this patch directly to dmm so they apply directly on the official enigma2 trunk?

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #107 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 October 2011 - 13:41

- No SRCREV is provided in any package. It compile the last GIT commit at the time of compilation


I stumbled upon that as well, yesterday I added a default SRCREV in the inc file to fix that.

- If i recompile my image one week later bitbake doesn't understand what it need to recompile


Depends on which SRCREV you use, if you use AUTOREV, it will recompile if the HEAD has changed.
If you use a fixed git hash, it'll stick to that.

- The version with the "git commit id" is useful if you need to check the source in the git repo.. but it doesn't permit to understand how many old is the plugin and comparing two version you can't understand what is the newer (you can do it only checking the history on git repo)


True, that's why we do not use the git commit id, but GITPKGV, which is a combination of commit hash and sequential number.

I think you should have a look at what nice features more recent bitbake versions have to offer, especially for building from git SRC_URI's.
It's really been improved over the last few years.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #108 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 October 2011 - 13:47

About the "skins problem" i'm seeing pieterg posted about 1 our ago the file "0001-skin-add-support-for-relative-coordinates.patch" .. thanks for that :)
I've no problem to apply that to sifteam image but i'm also thinking about the people who want use e2openplugins with a dmm svn image.
Do you think there is the possibility to propose this patch directly to dmm so they apply directly on the official enigma2 trunk?


I've offered it to them several years ago, but they were not interested.
And nowadays I feel a bit reluctant to offer GPL stuff to them, because strictly speaking that means I remove the GPL license from that piece of code, allowing it to be placed under a custom license, which is incompatibel with GPL.
And although I could do that for something which is my own creation, I cannot do that with code which belongs to a project with a group of people who contributed under the current license.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #109 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 October 2011 - 13:59

And nowadays I feel a bit reluctant to offer GPL stuff to them, because strictly speaking that means I remove the GPL license from that piece of code, allowing it to be placed under a custom license, which is incompatibel with GPL.


And of course my reluctance has gotten a lot bigger lately, when we got a demonstration of what happens when you allow stuff to be published under such weird licenses.
At first the license allowed non-commercial use without limitation, however, it turns out even the PLi team, a group of hobbyists without any commercial interests, has been explicitly denied the right to use certain plugins.

This might not have been the intention of DMM, so I do not directly blame them for what happened, but they did make all this possible with their custom license.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #110 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 9 October 2011 - 14:08

I think you should have a look at what nice features more recent bitbake versions have to offer, especially for building from git SRC_URI's.
It's really been improved over the last few years.


Yeah.. you're right
enigma2-plugin-extensions-antilogo_1.0+git3+9cdd68f-r1_mipsel.ipk
I suppose "git3" mean the third commit inside the git repo
So if i compile it again the next week it auto discover the updates checking from the git HEAD? good to know :)

I sill also interested to add at least the task and some instructions inside the README

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #111 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 9 October 2011 - 14:48

I added crossepg recipe inside the repo... for now crossepg doesn't use auto tools but it use an "home made" makefile. Someday i'll change it to use autotools
I also added the example task and the README

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #112 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 October 2011 - 14:55


I think you should have a look at what nice features more recent bitbake versions have to offer, especially for building from git SRC_URI's.
It's really been improved over the last few years.


Yeah.. you're right
enigma2-plugin-extensions-antilogo_1.0+git3+9cdd68f-r1_mipsel.ipk
I suppose "git3" mean the third commit inside the git repo
So if i compile it again the next week it auto discover the updates checking from the git HEAD? good to know :)


Indeed, that's how it works.
And it also works when you pin the git rev down to an id, the sequential id will remain the same.

I sill also interested to add at least the task and some instructions inside the README


Yeah, good idea.
You intend to add the meta task to the recipes repository I guess?

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #113 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 9 October 2011 - 15:00

Yeah, good idea.
You intend to add the meta task to the recipes repository I guess?


Yes.. this https://github.com/E...-openplugins.bb
I left only enigma2-plugin-extensions-snmpagent commented because it require a dependency doesn't provided by dmm

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #114 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 11 November 2011 - 23:05

Hi guys.

http://openpli.org/f...ive-mounted-rw/ I've made a simple extension plugin to fast umount mass storage device.
I'm happy if you can include in your GitHub repo but ... I'm a bit confused.

I'm only an hobbyist (not an ICT professional) and a newbie in git: I'm starting some days ago to learn it (I've setup my GitHub repo, my GitHub username is 'ambrosa') and I've read ALL posts in this thread.

I've found 2 repo:
https://github.com/OpenPLi/E2-OpenPlugins
and
https://github.com/E2OpenPlugins/

Can someone kindly explain to me how organize my job ?
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #115 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 12 November 2011 - 07:41

I've found 2 repo:

https://github.com/OpenPLi/E2-OpenPlugins
and
https://github.com/E2OpenPlugins/


I think the second one is the correct one.

 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #116 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 12 November 2011 - 08:02

Ok. But I'm waiting instructions....
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #117 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 12 November 2011 - 15:53

Ok. But I'm waiting instructions....

http://openpli.org/f...post__p__230044

 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #118 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 12 November 2011 - 19:57

I found an Enigma2-Plugins Git repository from Michel Hartmann
A nice source of forks from a lot of plugins

https://github.com/M...enigma2-plugins

 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #119 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 12 November 2011 - 21:22

but the fork is rather old, and only adds two commits

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #120 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 13 November 2011 - 12:56

Ok. But I'm waiting instructions....


If you want to join e2openplugins developers to add plugins you can ask to sjaaky to be included in the organization team.

Ps. i have setup a dedicate forum @ vuplus-community for e2OpenPlugins where all the commits are automatically posted via rss agent: HERE
Ps2 i have setup too a mailing list reported commits for OpenWebIf git.

Edited by bacicciosat, 13 November 2011 - 13:01.



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users