Linux Testing

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ironic_monkey Offline
Posting Freak
Posts: 1,456
Joined: Nov 2013
Reputation: 69
Post: #16
Which version? It will only work for the same ubuntu version.
find quote
MrTarantula Offline
Member
Posts: 73
Joined: Jan 2016
Reputation: 3
Post: #17
14.04 Trusty. I may upgrade to the new LTS when it drops.
find quote
wsnipex Offline
Team-Kodi
Posts: 6,431
Joined: Jun 2011
Reputation: 166
Post: #18
consider using launchpad to provide a PPA for all currently supported ubuntu versions.
find quote
MrTarantula Offline
Member
Posts: 73
Joined: Jan 2016
Reputation: 3
Post: #19
I will look into it, although I can't promise anything. I'm familiar enough with using PPA's but I've never created anything with launchpad. It will be a learning experience.
find quote
wsnipex Offline
Team-Kodi
Posts: 6,431
Joined: Jun 2011
Reputation: 166
Post: #20
fair warning: be prepared for pain Smile
find quote
biggaz Offline
Junior Member
Posts: 23
Joined: Jan 2013
Reputation: 0
Post: #21
Has anyone been reading about these sandboxed apps for Linux?

This bloke is working on one of RetroArch, which this project is based on?

http://www.hadess.net/2016/05/blog-backl...ndles.html

Could this result in a distro agnostic build you just run like an OSX bundle? I think that's the idea, then everyone can play, not just Ubuntu users?
find quote
biggaz Offline
Junior Member
Posts: 23
Joined: Jan 2013
Reputation: 0
Post: #22
Here's how you make them ....

https://blogs.gnome.org/alexl/2016/02/19...pp-part-1/

The developer might even help?
find quote
Serg86 Offline
Junior Member
Posts: 14
Joined: Oct 2014
Reputation: 1
Post: #23
Here's the tutorial for the Ubuntu 16.04+ native format, Snaps.

https://developer.ubuntu.com/en/snappy/b...irst-snap/
find quote
Martijn Offline
Team Kodi
Posts: 17,022
Joined: Jul 2011
Reputation: 312
Location: Dawn of time
Post: #24
(2016-05-10 22:49)Serg86 Wrote:  Here's the tutorial for the Ubuntu 16.04+ native format, Snaps.

https://developer.ubuntu.com/en/snappy/b...irst-snap/

As a warning start reading here before start screaming Wink http://forum.kodi.tv/showthread.php?tid=269812

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
find quote
Serg86 Offline
Junior Member
Posts: 14
Joined: Oct 2014
Reputation: 1
Post: #25
(2016-05-10 22:51)Martijn Wrote:  As a warning start reading here before start screaming Wink http://forum.kodi.tv/showthread.php?tid=269812

That's unfortunate that Snaps don't work, I was under the impression the only difference was that they contain all dependencies and are sandboxed, but I'm not a developer.

I really hope Canonical fixes it. Software delivery in Linux is beyond horrible. I mean if even Linus doesn't package his own software for his own OS, you know things are bad.

Snaps promised to fix that, I hope they can deliver on it soon.
find quote
MrTarantula Offline
Member
Posts: 73
Joined: Jan 2016
Reputation: 3
Post: #26
Has any thought been given to an official docker image? Jess Frazelle, a docker dev, has shown on her blog how to run a GUI application through docker. I haven't tried it yet and have no idea how performance may be affected. This may be the wrong place to talk about Kodi delivery mechanisms, though.
find quote
wsnipex Offline
Team-Kodi
Posts: 6,431
Joined: Jun 2011
Reputation: 166
Post: #27
getting docker to work with all the hardware access we need is at least as tricky as are snaps, likely more difficult.
Snaps would work if snappy devs added back the interfaces we need or re-added a possibility to override security profiles. The latter is most probably not going to happen.
find quote
OmniBlade Offline
Member
Posts: 95
Joined: Jan 2013
Reputation: 0
Post: #28
(2016-05-10 23:21)Serg86 Wrote:  
(2016-05-10 22:51)Martijn Wrote:  As a warning start reading here before start screaming Wink http://forum.kodi.tv/showthread.php?tid=269812

That's unfortunate that Snaps don't work, I was under the impression the only difference was that they contain all dependencies and are sandboxed, but I'm not a developer.

I really hope Canonical fixes it. Software delivery in Linux is beyond horrible. I mean if even Linus doesn't package his own software for his own OS, you know things are bad.

Snaps promised to fix that, I hope they can deliver on it soon.

Software delivery is fine on linux for open source stuff on popular distros, you compile against the distro libs and package it in the distro package format and if you are really on it, set up your own repo to host it. The problems come for proprietary stuff that can't be recompiled against different library versions or software that has jumped to the newest version of a library/compiler features before the mainstream distros have updated the versions of the libraries they ship.

Snaps as far as I understand aren't the best solution for all use cases and fanboys jumping on them as the latest hotness without really understanding them does no one any favours.

Also, Linus doesn't write an OS, he writes a kernel that a lot of people use as the basis for an OS. What would he package it for? Android? Ubuntu?
find quote
Serg86 Offline
Junior Member
Posts: 14
Joined: Oct 2014
Reputation: 1
Post: #29
(2016-05-11 09:45)OmniBlade Wrote:  Software delivery is fine on linux for open source stuff on popular distros, you compile against the distro libs and package it in the distro package format and if you are really on it, set up your own repo to host it. The problems come for proprietary stuff that can't be recompiled against different library versions or software that has jumped to the newest version of a library/compiler features before the mainstream distros have updated the versions of the libraries they ship.

Snaps as far as I understand aren't the best solution for all use cases and fanboys jumping on them as the latest hotness without really understanding them does no one any favours.

Also, Linus doesn't write an OS, he writes a kernel that a lot of people use as the basis for an OS. What would he package it for? Android? Ubuntu?

Linux makes a Kernel, he made git and what I was referring to was Subsurface, which he also makes and couldn't be bothered to package for Linux, which he mentioned numerous times during his Q&A sessions.

Keeping Ubuntu as an example, the only way to get new software post release is a PPA or external deb, if someone makes a deb or someone maintains a PPA. And you said yourself, this only works well for Open Source. Snaps promise to work on every Ubuntu release going forward without the need to be recompiled or repackaged, they promise a clear target for developers without concerning themselves what version the user runs. Snaps can also be pushed to the software store directly by the developer without the need for PPA's or going through a lengthy verification process. Mark Shuttleworth described it as at the speed of github.

Kodis own download page has an installer for Windows and an installer for Mac, there is a "Guide" link to the wiki on how to install Kodi on various Linux distributions, plastered with terminal commands. That doesn't look like an elegant solution to me.

But anyway, keeping things on topic, I'd love 16.04 packages to test retroplayer on Linux. According to the list of cores, some cores currently only work on Linux (and Mac).
find quote
MrTarantula Offline
Member
Posts: 73
Joined: Jan 2016
Reputation: 3
Post: #30
I don't know when I will have the time to upgrade from 14.04 to 16.04, but I will continue to upload builds when I can. Here's a gist of my script, which should allow for compilation on most (if not all) *buntu or Debian systems. Other distros may work too, but I have no way of testing that right now. There are variables for branch, workspace path (for source files), stage path (for compiled code) and log file. You will, of course, need all of the Kodi compilation dependencies installed.

Although there is little chance of this, I take no responsibility for anyone running this script and messing up their system. Read and understand any code before executing it. If you don't understand it, DON'T RUN IT!

Remember to report your bugs!
find quote