← Back to team overview

ubuntu-phone team mailing list archive

Re: shared library packages and dependencies on mobile

 

We expect that applications that need sophisticated dependency schemes
will include those dependencies in their own packages.  There will be a
base image that everyone can depend on, but beyond that, you'll need to
BYOD (bring your own dependency).

There'll be a difference between packages that are part of core Ubuntu
(the archives) and those that are distributed via the Software Center.
Applications in the archive will continue to have the rich dependencies.

All of this is under the title of "Click Packages" and is being
discussed at vUDS in a few hours:
http://summit.ubuntu.com/uds-1305/meeting/21760/foundations-1305-click-package/ 

Ted

On Tue, 2013-05-14 at 08:45 -0400, Jeremy Bell wrote:
> I tried asking this question on the forums and the IRC channel, but
> haven't been able to find someone with the right answer.
> 
> I am researching whether it would be possible to distribute a shared
> library/runtime package on the Ubuntu software center for distribution
> on the phone and tablet versions of ubuntu. And additionally, whether
> mobile apps distributed through the software center can take
> dependencies on these shared library/runtime packages, such that they
> are automatically installed when the user installs the app.
> 
> I assumed so, as desktop apps can do this, and it appeared to be the
> intent to share the same ecosystem with the desktop app center.
> 
> For example, this would allow distribution of apps using alternate
> languages and runtimes, such as ruby, python, or Mono/.net with
> platform bindings. In my case, I am interested in using Mono, which is
> licensed under LGPL, and so the shared library approach would be the
> only way to distribute my app without it falling under the category of
> "derivative work" in the license. Note that in the case of Mono, the
> mono executable may be needed in addition to the shared libraries to
> run the app.
> 
> So this boils down to three questions:
> 1) can developers distribute shared library/runtime packages as is
> done on the desktop, e.g. the mono package on the desktop.
> 2) can apps take dependencies on these packages and have them auto
> installed?
> 3) once installed, can users overwrite shared libraries installed on
> their device with their own versions? It's ok I think if they have to
> unlock their phones first or tether them to a pc, etc... This is
> required for compliance with the gpl/lgpl.
> 
> Thanks!
> Jeremy
> 


Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References