Re: [SailfishDevel] Compile without Scratchbox2 environment

2017-12-22 Thread Yuvraaj Kelkar
I want to create a Docker image for Sailfish development.
I know it is possible to create a Docker image with sb2 in it; I've done
that for other sb2 toolchains - Maemo and Harmattan.
However, those images can only run as privileged Docker containers because
of sb2 bind mounts (I think).

I'd like to avoid being forced to run privileged Docker containers.
Also, running sb2 inside a Docker container seems like inception.

If it is possible to install the Sailfish toolchain without sb2, it should
be possible to capture that into a non-privileged Docker image. (I hope)

The documentation for anything related to scratchbox is either hard to
google or has broken links to maemo.org or is just non-existant.

As to why Docker and not sb2: "Why not?" and "Better documentation"

Thanks,
-Yuvraaj

On Thu, Dec 21, 2017 at 11:56 PM, Tone Kastlunger  wrote:

> Out of curiosity, what's blocking you from using scratchbox?
>
> On Fri, Dec 22, 2017 at 7:53 AM, Yuvraaj Kelkar  wrote:
>
>> Ha!
>> Any other ideas?
>>
>> Thanks,
>> -Yuvraaj
>>
>> On 12/21/17 8:08 PM, Juice wrote:
>>
>>> Yuvraaj Kelkar kirjoitti torstai 21. joulukuuta 2017:
>>>
 Hi all,

 Is it possible to compile for sailfish without using scratchbox2?

 Thanks,
 -Yuvraaj

 Sure, just compile in the device itself... :)
>>>
>>>- juice -
>>>
>>>
>>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] libicu

2017-12-22 Thread Pekka Vuorela
On Thu, 2017-12-21 at 21:33 +0200, rinigus wrote:
> Hi,
> 
> when using non-Qt libraries, its sometimes required to link to libicu
> with its friends. When distributing applications linking to it, you
> end up with 25MB of library data that is also provided in the system.
> On my device, there are three apps using it (2 mine). With many
> complaining about Sony X root partition size, I wonder how standard
> this library is in SFOS installations. I would expect its always
> there. If it is standard, shouldn't we get it into permitted libs
> list for Jolla Harbour?

Sorry, but not that simple: 
http://userguide.icu-project.org/design#TOC-ICU-Binary-Compatibility:-U
sing-ICU-as-an-Operating-System-Level-Library

I've long hoped for getting icu updated too (which isn't too simple
either). Guess there could be hope in having some day support with the
rules set in above link, we already do build with --disable-renaming.

In the meanwhile, it's also possible to strip away a lot of data from
icu builds: 
http://userguide.icu-project.org/icudata#TOC-Customizing-ICU-s-Data-Lib
rary

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] libicu

2017-12-22 Thread Tone Kastlunger
One would question at this point, whats the benefit of this library if
such  complex scenario needs to be considered
each time you need to use it :)

On Fri, Dec 22, 2017 at 11:11 AM, Pekka Vuorela 
wrote:

> On Thu, 2017-12-21 at 21:33 +0200, rinigus wrote:
> > Hi,
> >
> > when using non-Qt libraries, its sometimes required to link to libicu
> > with its friends. When distributing applications linking to it, you
> > end up with 25MB of library data that is also provided in the system.
> > On my device, there are three apps using it (2 mine). With many
> > complaining about Sony X root partition size, I wonder how standard
> > this library is in SFOS installations. I would expect its always
> > there. If it is standard, shouldn't we get it into permitted libs
> > list for Jolla Harbour?
>
> Sorry, but not that simple:
> http://userguide.icu-project.org/design#TOC-ICU-Binary-Compatibility:-U
> sing-ICU-as-an-Operating-System-Level-Library
>
> I've long hoped for getting icu updated too (which isn't too simple
> either). Guess there could be hope in having some day support with the
> rules set in above link, we already do build with --disable-renaming.
>
> In the meanwhile, it's also possible to strip away a lot of data from
> icu builds:
> http://userguide.icu-project.org/icudata#TOC-Customizing-ICU-s-Data-Lib
> rary
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org