Source code dependencies (compilation for Linux)
Posted: 15 May 2012 06:43 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2012-05-15

It’s very nice to see that Kylo gets open sourced. I really appreciate that. Thanks!

I’m OpenLGTV BCM developer (open source part of firmware for LG TVs) and I would like to port Kylo for my project.
Currently I’m using stock WebKit @ GTK based web browser that doesn’t have any interface and remote control can send just 0-9, arrows + few more key codes, so I need to program remote control using JavaScript code injected to web pages. That’s not the optimal solution and my interface is ugly.

I’ve been pointed that Kylo is now open sourced so I have decided to take a look at it.
I’ve made a quick look at sources and am I missing anything or the sources are incomplete or Kylo is a pack of addons for Mozilla/XUL based web browsers?
Would you describe a bit more how does the compilation work and besides Python and CMAKE what are other dependencies for compiling (and running) it?
What display environment is used to display image on screen?
What’s used to get inputs from mouse?

In TV I have DirectFB as base environment for inputs and display.
Stock web browser uses GTK2 libs linked to DirectFB.
I thought that I could compile Kylo with linking to currently used GTK2 libs to get it to work with DirectFB.

Profile
 
 
Posted: 15 May 2012 10:22 AM   [ Ignore ]   [ # 1 ]
Administrator
RankRankRankRank
Total Posts:  189
Joined  2010-03-09

Thanks for checking out Kylo.

Your comment about Kylo being a pack of addons for Mozilla-based browsers is almost correct. Kylo is based on the XULRunner runtime and Gecko layout engine. Kylo isn’t an add-on, but rather a TV-oriented visual interface to the Gecko browser libraries.

In order to compile Kylo, you’ll need to download the XULRunner runtime. There is a bug with the Mozilla code that affects the Windows version of the Mozilla code (untested on any Linux platforms) that caused us to host a custom compiled version here: code.kylo.tv/xulrunner. You can get official versions through Mozilla.

The Kylo source code includes the windows binaries for Kylo-specific XPCOM components. To compile for different platforms, you’d need the appropriate version of the Gecko SDK.

There’s more information about compiling Kylo on the github wiki (currently applies to mostly the Windows version).

You may want to look into previous efforts to create a gtk/dfb backend for Gecko, but as Kylo requires recent versions of the Gecko engine, you’re likely to run into trouble. The current released version of Kylo is based on Gecko 5.0, and the source code is based on Gecko 10.0.2. A new official release will synchronize with the new source code drop.

Thanks again!

Profile