Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2047 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1221 Removed #163940

  • Guest

0

Posted 27 November 2017 - 16:23

OK, thanks. I guess "PC" is not a officially supported target.

 

I was able to continue building with "https://github.com/nobody9/openpliPC" a little bit. Somehow "-x" now worked (earlier, it then complained about missing xine), which got me around xine not compiling.

 

Next problem was with netlink, which I was able to solve with "sudo ln -s /usr/include/libnl3/netlink /usr/include/netlink".

 

But then I got this:

picload.cpp: In function ‘void gif_load(Cfilepara*)’:
picload.cpp:534:39: error: too few arguments to function ‘GifFileType* DGifOpenFileName(const char*, int*)’
 
 
Since I could not find a solution to that error, I then tried building with "https://github.com/Raider05/enigma2pc", which failed with:
/home/thomas/enigma2pc/enigma2/dvbsoftwareca/ca_netlink.c:16:8: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function)
  .id = GENL_ID_GENERATE,
[...]
 
 
Anyone knows the solution to either problem?

 

Is it OK to build with multiple threads (-p4)?


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1222 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 27 November 2017 - 19:51

This means that somehow you're using a very old version of enigma!


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1223 Removed #163940

  • Guest

0

Posted 27 November 2017 - 22:33

Yes, that could be the case, when I use the 2 mentioned repositories.

 

But the main repository does not offer PC as a build target, as far as I can see.

 

I need an Enigma version running on a PC, because I do not want to do plugin development on the box itself.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1224 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 28 November 2017 - 20:06

Then you would have to define a "machine" in a "meta-bsp" submodule that defines the traits of your "pc".


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1225 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 4 December 2017 - 16:21

From now RC6 for PC (Ubuntu 14.04, 16.04) also uses g++-6 which will install automatically.
The current original version uses new features which require -std=g++0x with older compilers. But with -std=g++0x xineLib.cpp not compiling. g++-6 understands the source code without its rework and is used only for compilation e2pc.
Dont worry, it does not interfere with the system.

If you already have RC6 installed, then simply run scripts 1 and 4.


Edited by 1455, 4 December 2017 - 16:23.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1226 Removed #163940

  • Guest

0

Posted 5 December 2017 - 11:44

@1455:

I install it on Ubuntu 16.04.3 running in VirtualBox. Only problem was missing packages while running 2_build_libxine.sh:

dpkg-checkbuilddeps: error: Unmet build dependencies: libxcb-shape0-dev libxinerama-dev libxt-dev libasound2-dev libcaca-dev libpulse-dev libvorbis-dev libgtk2.0-dev libsdl1.2-dev

 

I installed them and then installation went through.

 

Questions:

1. It runs full screen. Can I run it in a window?

2. Can I enable normal keyboard usage for text input fields?

 

Thanks!



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1227 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 5 December 2017 - 12:51

 

sidamos, the installation is designed for Ubuntu distributions in which these packages usually exists. Of course, I will add these packages to check for availability.
To enter and exit full screen use F11 and it can be set in the menu.
The text in the window for the PC-version can be entered only by digits by the remote. Support lirc is built-in.

 
 
 

 

 

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1228 Removed #163940

  • Guest

0

Posted 5 December 2017 - 15:28

Thanks! I do not have a remote connected, so I have to use the PC keyboard. How can I delete characters in text fields? The cursor keys only move the cursor.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1229 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 5 December 2017 - 17:07

You just can create, find and edit the needed files in the e2pc folder. I should note that if you want to develop video plugins in e2pc, it will not work in the receiver because there is different environments. For example, xine doesnt understand files m3u8. But some plugins will working.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1230 gezgin

  • Member
  • 5 posts

0
Neutral

Posted 11 December 2017 - 11:02

Hi,

i am use ubuntu 16.04.03 in my pc. 

running enigma2pc_2015 my pc,

but there is some problem for http streaming.

if link *.http very good running iptv

but link is *.m3u8 iptv (userbouquet) not running.

how to fix ?

 

sory my engilish :- 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1231 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 11 December 2017 - 13:26

In e2pc all video streams go through xine. Seems xine doesnt understand the source *.m3u8. Оnly address and port.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1232 gezgin

  • Member
  • 5 posts

0
Neutral

Posted 14 December 2017 - 11:46

thanks for answer,

i want to install any plugins,

i copied manualy, plugins directory to

/usr/local/e2/lib/enigma2/python/Plugins/Extensions

but its no running, e2 give message: Extensions/plugin-name (No module named plugin)

 

how can i do ? thanks.


Edited by gezgin, 14 December 2017 - 11:47.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1233 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 14 December 2017 - 18:16

What is the name of this plugin? Usually, this is a mismatch environment. There are no required tokens in OpenPLi or in the system. Maybe it can be fixed for e2pc. I dont know.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1234 gezgin

  • Member
  • 5 posts

0
Neutral

Posted 15 December 2017 - 18:46

hi,

there is new problem my e2pc (enigma2-RC6 / ubuntu 16.04.03)

i want to stream channel, but give error:

Gstreamer error: No URI handler implemented for http.(12) from uridecodebin0

how to fix?



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1235 gezgin

  • Member
  • 5 posts

0
Neutral

Posted 15 December 2017 - 19:06

sory, previous question :

 

What is the name of this plugin?

 

this plugin: turkvod 8.0



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1236 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 17 December 2017 - 12:04

About the plugin turkvod 8.0. It is packed in binary files and is intended for openATV. I can only decompile two files .pyo for you.
I wrote above that some plugins will not work in e2pc. To understand this you need to download and explore https://github.com/O...openpli-oe-core. There even Python and Gstreamer is patched. We can not patch the whole distributive for one program. :)


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1237 gezgin

  • Member
  • 5 posts

0
Neutral

Posted 17 December 2017 - 13:37

thanks to give answers my questions.

I'm looking at  https://github.com/O...openpli-oe-core...



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1238 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 21 December 2017 - 19:48

Added open plugin IPTVPlayer in script 5. In general, it is workable.
The checking required packages is disabled. It's set by the script 5 automatically.
Temporarily removed "youtube".
Rewind doesnt work.
If playback does not start (16.04) press key 1.
To exit the plugin use KEY_STOP or your key for online TV.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1239 topol9

  • Member
  • 17 posts

0
Neutral

Posted 13 January 2018 - 21:15

Здравствуйте ! Обновил имидж последними обновлениями дуо 2, и теперь девайс не загружается. Ч О ДЕЛАТЬ

 

 

Hello ! Updated the image of the latest updates duo 2, and now the device does not boot. H O DONE


Edited by WanWizard, 14 January 2018 - 12:36.
English please ! And Wrong topic !


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1240 1455

  • Senior Member
  • 404 posts

+10
Neutral

Posted 18 January 2018 - 14:04

I know that there are true programmers here and I looking for mistake solution.

From xineLib.cpp:

RESULT of cXineLib :: getPTS (pts_t & pts)
{
pts_t* last_pts_l = (pts_t*)vo_port->get_property(vo_port, VO_PROP_LAST_PTS);
pts = *last_pts_l; /* <= crash on *last_pts_l */

if (pts != 0)
    return 0;

return -1;
}

It successfully works on Ubuntu 14.04 ... 16.04 but on 17.04 always leads to crash on jump to * last_pts_l. If I run through "valgrind" with any tools, it doesnt see any problems in this place and e2pc doesnt fall.

Temporaly for 17.04:

...
pts_t* last_pts_l = (pts_t*)vo_port->get_property(vo_port, VO_PROP_LAST_PTS);

if (last_pts_l > 0)
        return -1;
...

Of course, there is no information about the initial point and no mention of pts, but you can pause in the right place with a double click cycle "pause".
Can I write this function differently?


Edited by 1455, 18 January 2018 - 14:05.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users