Re: [SailfishDevel] Flatpak for Sailfish

2020-03-23 Thread Tone Kastlunger
Obvious things first: timers are whako?

On Sat, Feb 22, 2020 at 5:11 PM rinigus  wrote:

> Hi,
>
> I would like to ask for help regarding animation rendering  from hybris/qt
> gurus. In Flatpak apps, when running QT animation, such as spinning busy
> indicator, I am getting general slow down of the applications. Slowdown can
> be felt by trying to pull drawers, slower web pages download, and other
> similar effects. This can be remedied by setting QSG_RENDER_LOOP=basic .
>
> When I asked for help at KDE, originally just suspecting something odd in
> BusyIndicator, I was pointed to possibly wrong vsync. According to
> QSG_INFO=1, its set to 16.67 ms - 60Hz, as expected for embedded device.
> Corresponding data dump is below.
>
> I haven't noticed any difference between QSG_INFO as reported by SFOS app
> or app running from Flatpak. Same slowdown is for Qt 5.12 and 5.14. Any
> ideas on how to fix it instead of using QSG_RENDER_LOOP=basic?
>
> Feel free to suggest fixes ask questions on #sfos-devel - I just thought
> its better to write up the issue here than to paste it on IRC.
>
> Cheers,
>
> Rinigus
>
>
>
> [D] unknown:0 - threaded render loop
> [D] unknown:0 - Using sg animation driver
> [D] unknown:0 - Animation Driver: using vsync: 16.67 ms
> [D] unknown:0 - opengl texture atlas dimensions: 2048x4096
> [D] unknown:0 - R/G/B/A Buffers:   5 6 5 0
> [D] unknown:0 - Depth Buffer:  24
> [D] unknown:0 - Stencil Buffer:8
> [D] unknown:0 - Samples:   0
> [D] unknown:0 - GL_VENDOR: Qualcomm
> [D] unknown:0 - GL_RENDERER:   Adreno (TM) 630
> [D] unknown:0 - GL_VERSION:OpenGL ES 2.0 (OpenGL ES 3.2 V@324.0
> (GIT@f4471f2, I3387004788)
> [D] unknown:0 - GL_EXTENSIONS: GL_AMD_compressed_ATC_texture
> GL_ANDROID_extension_pack_es31a
> GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_EGL_image_array
> GL_EXT_EGL_image_storage GL_EXT_YUV_target GL_EXT_blend_func_extended
> GL_EXT_blit_framebuffer_params GL_EXT_buffer_storage GL_EXT_clip_control
> GL_EXT_clip_cull_distance GL_EXT_color_buffer_float
> GL_EXT_color_buffer_half_float GL_EXT_copy_image GL_EXT_debug_label
> GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query
> GL_EXT_draw_buffers_indexed GL_EXT_external_buffer GL_EXT_geometry_shader
> GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
> GL_EXT_multisampled_render_to_texture
> GL_EXT_multisampled_render_to_texture2 GL_EXT_primitive_bounding_box
> GL_EXT_protected_textures GL_EXT_robustness GL_EXT_sRGB
> GL_EXT_sRGB_write_control GL_EXT_shader_framebuffer_fetch
> GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers
> GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
> GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
> GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA
> GL_EXT_texture_format_sRGB_override GL_EXT_texture_norm16
> GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode
> GL_EXT_texture_type_2_10_10_10_REV GL_KHR_blend_equation_advanced
> GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_no_error
> GL_KHR_robust_buffer_access_behavior GL_KHR_texture_compression_astc_hdr
> GL_KHR_texture_compression_astc_ldr
> GL_NV_shader_noperspective_interpolation GL_OES_EGL_image
> GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
> GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture
> GL_OES_depth_texture_cube_map GL_OES_element_index_uint
> GL_OES_framebuffer_object GL_OES_get_program_binary
> GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading
> GL_OES_sample_variables GL_OES_shader_image_atomic
> GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives
> GL_OES_surfaceless_context GL_OES_texture_3D
> GL_OES_texture_compression_astc GL_OES_texture_float
> GL_OES_texture_float_linear GL_OES_texture_half_float
> GL_OES_texture_half_float_linear GL_OES_texture_npot
> GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array
> GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview
> GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture
> GL_QCOM_alpha_test GL_QCOM_shader_framebuffer_fetch_noncoherent
> GL_QCOM_texture_foveated GL_QCOM_tiled_rendering
> [D] unknown:0 - Max Texture Size: 16384
>
>> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] "Floating" object

2019-11-27 Thread Tone Kastlunger
The only aspect of risk is the fact that abusing notification windows means
peeking under the hoods;
i.e. one day jolla might wake up and decide that "we want notification
windows done differently" and the app goes bust.

On Sun, Nov 17, 2019 at 11:28 AM Андрей Кожевников 
wrote:

> IMO this shoud not be a problem
>
> вс, 17 нояб. 2019 г. в 01:33, E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> Would picture-in-picture that shows on other screens even make it through
>> Jolla QA?
>>
>> Op za 16 nov. 2019 om 21:37 schreef Андрей Кожевников <
>> coderusin...@gmail.com>:
>>
>>> if same app then just put it inside applicationwindow and increase z if
>>> needed
>>>
>>> сб, 16 нояб. 2019 г. в 20:43, E.S. Rosenberg <
>>> es.rosenberg+sailfishos@gmail.com>:
>>>
>>>>
>>>>
>>>> Op za 16 nov. 2019 om 00:26 schreef Tone Kastlunger <
>>>> users.giulie...@gmail.com>:
>>>>
>>>>> Hmm to have video in a notification window sounds daring..
>>>>>
>>>> That goes too far I think I just want a video area with the video
>>>> showing while the user is in the program but on a different page.
>>>> When they are not in the program the cover can show the video, I don't
>>>> think picture-in-picture should affect other programs...
>>>> (Though I do think that exists on Android and maybe that can also be
>>>> done here but great care would be needed implementing such a thing)
>>>>
>>>>>
>>>>> On Thu, Nov 14, 2019 at 11:27 PM Андрей Кожевников <
>>>>> coderusin...@gmail.com> wrote:
>>>>>
>>>>>> overlay? check screentapshot.
>>>>>>
>>>>>> пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
>>>>>> es.rosenberg+sailfishos@gmail.com>:
>>>>>>
>>>>>>> Hi all,
>>>>>>> Has anyone ever implemented a "floating" object in QML, specifically
>>>>>>> I am interested in implementing a VideoOutput area that "floats" like 
>>>>>>> the
>>>>>>> picture-in-picture youtube in whatsapp on Android.
>>>>>>> Thanks!
>>>>>>> Eli
>>>>>>> ___
>>>>>>> SailfishOS.org Devel mailing list
>>>>>>> To unsubscribe, please send a mail to
>>>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>>>
>>>>>> ___
>>>>>> SailfishOS.org Devel mailing list
>>>>>> To unsubscribe, please send a mail to
>>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>>
>>>>> ___
>>>>> SailfishOS.org Devel mailing list
>>>>> To unsubscribe, please send a mail to
>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML: Can not edit calendar events created on the PC

2019-08-10 Thread Tone Kastlunger
Thee searchet, thee shall find:

https://github.com/ivanshchitov/sailfish-calendar-example/blob/master/privileges/calendar-example.privileges

On Sat, Aug 10, 2019 at 8:08 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Sounds more like a permission issue to me?
> > Could be the user of the SyncML (server?) is not authorized to modify but
> > just to add entries?
> >
>
> I don't know where to look at. This is why I am asking.
> At the end it is stored in a sqlite DB. How am I supposed to understand
> where these permissions are set.
>
> I found one article describing calendar in Sailfis
> https://weekly-geekly.github.io/articles/329692/index.html
>
> But still not clear where this is set. I hope someone here can give me a
> hint.
>
> BTW: I am using the sync on daily bases already, like I did with N9.
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML: Can not edit calendar events created on the PC

2019-08-10 Thread Tone Kastlunger
Sounds more like a permission issue to me?
Could be the user of the SyncML (server?) is not authorized to modify but
just to add entries?

Best,
tk

On Wed, Aug 7, 2019 at 6:30 PM deloptes  wrote:

> Hi,
> again in the context of SyncML I just now noticed that events created on
> the
> PC can not be modified in Sailfish X.
>
> Where is this configured/set? Does someone know why the calendar items is
> not editable?
>
> Events created in Sailfish X can be synchronized to PC, modified there and
> synchronized back to X, where they are editable again. Why the difference
> and how to change this? Which makes me think it depends on the ID, but
> could be anything else like vcal/ical format or something.
>
> Does someone have more information or where I could look at?
>
> thanks
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML Plugin Server question

2019-08-07 Thread Tone Kastlunger
>In many cases, what you want is actually a simple "import" from another
device - but sharing the .vcf or .ics via Bluetooth sharing and then
manually importing that via Settings->Apps->People->Import vCard is
probably the >better option.

I was amazed at the easyness of the import from N9 to the TOH device - it
was a breeze!

I believe a simple use case is Jolla->Jolla sync; for instance, if I want
to switch from Xperia X to XA2; i have to
a) export the contacts to vcard
b) install a file editor (from openrepos?) to transfer the file in question
over bluetooth to the XA2
c) find the file first
d) import the file on the xa2.

this is quite cumbersome, not to mention error-prone; a well-defined
process with a pretty UI will rock anybody's
socks off, even if we are always talking how SFOS is a nerd platform, where
bells and whistles are not necessary;
but if it wants to grow out of this box, having it's own (non-cloud based!)
sync mechanism would definitely help.

So im a strong supporter for this syncml!
Just my 2 cents here :)

On Wed, Aug 7, 2019 at 11:45 AM Chris Adams  wrote:

> Hi,
>
> Thanks for doing that work!
>
> I suspect that you are correct regarding the client-initiated syncs (in
> this use-mode, each Sailfish OS device assumes that it is both a SyncML
> server and a SyncML client, insofar as any change to its database might
> trigger a sync with another device (i.e. this device acts as a client) and
> any change to the other device's database might trigger it to sync with
> this device (i.e. this device acts as a server)).
>
> This was the fundamental reason why the original calendar sync PR wasn't
> able to be merged: the semantics of such "round trip, multiple device"
> synchronisation cycles weren't well defined, and instead the sync acted
> more as an "import" than a true "sync" (potentially resulting in data
> duplication).
>
> (For example: what happens if you sync contacts 5 times between the
> devices?  If you get 5x the whole addressbook, resulting in 5 constituent
> contacts being linked into a single aggregate contact, then that is clearly
> suboptimal / should be fixed before we merge.)
>
> In many cases, what you want is actually a simple "import" from another
> device - but sharing the .vcf or .ics via Bluetooth sharing and then
> manually importing that via Settings->Apps->People->Import vCard is
> probably the better option.
>
> Best regards,
> Chris.
>
>
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of deloptes [
> delop...@gmail.com]
> Sent: Wednesday, August 07, 2019 12:34 AM
> To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] SyncML Plugin Server question
>
> deloptes wrote:
>
> > To dig into it is out of scope for this project, but I wanted to have
> > honest opinion. I agree with Sateesh, but then not sure why ref is added
> > only on sync session, which makes server die each time you disable
> > bluetooth. There is not much one could do from the plugin to prevent
> this.
> > The logic is in buteo-syncfw. It should be applying to all plugins.
>
> Hi Chris, all reading this,
>
> the "digging" has become unnecessary as it came to light what was going on
> behind the scene.
>
> I did a move after testing different scenarios on the test device to put
> the
> software on my "production" daily/business phone yesterday.
>
> It took a while to settle all differences mostly in the contacts, which
> accumulated over the past two years, but finally the work was done.
>
> After a successful sync, as we already know from the previous post, the
> reference is not removed and the server keeps running.
>
> The next time the schedule runs to check/retrieve/sync the profiles, it
> sees
> the bluetooth profile and the server running and that the profile is
> enabled. Consequently it tries to start the sync from the phone as a
> client - here comes BTConnection from clientplugins/syncmlclient in the
> game, but of course on the other side no syncml server is running and it
> fails - after which the server is stopped.
>
> What was the purpose of this? Possible use case is Device A get close to
> Device B and Device B asks for a sync.
> I can hardly test this, because I would need a second buteo device - AFAIK
> Syncevolution does not support this or at least I have never used this
> feature.
>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived (further down the rabbit hole)

2019-08-05 Thread Tone Kastlunger
>These might be useful for another applications that may be using dbus, but
>not for the syncml code that relies solely on filedescriptors outside dbus.

Strictly speaking, I don't see any problem with this - from a syncml client
/ server
perspective; was the socket owned by the bluetooth manager also for bluez4
as well?
If so,  in this regard, there should be no change in responsibility for the
syncmlclient/server.

About the KF5BluezQt, I totally agree - hoarding abstractions won't make
problems disappear;
I believe the extent of changes should be the driving force for the final
choice (i.e. the least complex
solution which requires the least changes). Less is more ;)

Just my 2 cents.


On Sun, Aug 4, 2019 at 11:31 PM deloptes  wrote:

> Chris Adams wrote:
>
> > Hi,
> >
> > (Sorry for top posting, OWA doesn't quote properly...)
> >
> > That old PR is actually mine, if you're referring to
> > https://git.merproject.org/mer-core/buteo-sync-plugins/merge_requests/1
> >
> > I think it had some issues (e.g. didn't do UUID matching properly between
> > client and server, so it was more of an "import" rather than a true
> "sync"
> > IIRC), which is why it wasn't merged.  Subsequent syncs might cause
> > duplication, or changes might not be propagated properly, in one
> direction
> > or the other.  I don't recall precisely.
> >
> > Going forward: my personal opinion is that if you can make the required
> > changes to the stack to get everything working, we'd definitely like to
> > integrate those changes, as it would ensure that we have more parts of
> our
> > stack up-to-date, and less dead-code.
> >
> > That said, at this stage I don't believe that it's high priority
> > internally, so not sure how much time/effort sailors will be able to
> spend
> > helping with this effort, unfortunately.  Definitely can review and test,
> > but may not be able to help with active development day to day.  But am
> > always happy to discuss etc (ping chriadam on freenode IRC in .au
> > timezone, or perhaps flypig or pvuorela in .fi timezone).
> >
> > Best regards,
> > Chris.
> >
>
>
> Hi, so I finished updating and testing, but I feel miserable, because
> KF5BluezQt was looking very promissing in the beginning and at the end it
> turned out to be of no big advantage to pure Qt5 DBus.
> I am not sure if I should not remove KF5BluezQt and write everything only
> with Qt5 - despite @blam advocating how good KF5BluezQt is.
>
> The biggest advantage perhaps is that it initializes when the adapter setup
> is completed, but - there seems to be always a but and here come the
> disadvantages.
> The first disadvantage is that in the background bluetooth is going through
> all known devices and registering services that are known to have been
> supported to each device.
> So at the time I can access the adapter I still do not know if I have to
> register the service or not. So if I restart msyncd while BT is on it
> crashes like "BUG: scheduling while atomic: kworker/0:1/12981/0x0002".
> There is no issue, when msyncd is restarted if BT is off, because the
> application is down - nothing on DBus.
>
> The second big disadvantage of KF5BluezQt is the profile handling. It does
> support many profiles, but not the syncml server and client and creating
> own profile turned to be very hard, because the profile should handle a
> socket/file descriptor, which turns out problematic because of using
> QDBusUnixFileDescriptor and QSharedPointer in combination.
> These might be useful for another applications that may be using dbus, but
> not for the syncml code that relies solely on filedescriptors outside dbus.
>
> For the moment the solution works fine, but in the area of the above I see
> it as a work around over KF5BluezQt limitations.
> It might be also me misinterpreting documentation or limited skills.
>
> The fact is I don't know what to do now. The time window I had for working
> on this closes. The results are not bad - I can sync two most important -
> contacts and calendar+todo like I was doing on the N9, but I wish I would
> have the time to try Qt Bluetooth or go it directly via DBus.
>
> The question is to push or not to push :)
>
> Sorry for the long message, but I am not sure what to do next. I'll update
> the PoC with what I have on the PC now.
>
> Ideas?
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived (further down the rabbit hole)

2019-07-26 Thread Tone Kastlunger
>May be it is better using QDbus and not linking against kf5bluezqt and thus
>making buteo-syncfw depend on this library for couple of operations
>required to handle the sync profile.

I think it'd be important to add it next to bluez4 dbus stuff (and hence
straightforward perhaps).

I mean, adding bluez5 next to bluez4 support *might* just be easier (i.e.
less changes) than moving to Y.A.L.

Just my 2 cents.

best,
tk

On Fri, Jul 26, 2019 at 7:54 PM deloptes  wrote:

> Damien Caliste wrote:
>
> > What about buteo-syncfw ?
>
> May be it is better using QDbus and not linking against kf5bluezqt and thus
> making buteo-syncfw depend on this library for couple of operations
> required to handle the sync profile.
>
> I am still thinking about it and I'm not sure.
>
> Let me know what you think.
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK versioning

2019-07-26 Thread Tone Kastlunger
Who's talking about older sdks?

On Thu, Jul 25, 2019 at 9:43 PM Андрей Кожевников 
wrote:

> Why you need older sdk with bugs, when you can use latest sdk with
> multiple targets for older sfos versions?
>
> чт, 25 июл. 2019 г., 20:39 Tone Kastlunger :
>
>> +1 to this;
>> I had the same issue. It's confusing if you have to reinstall from
>> scratch for instance.
>>
>> On Thu, Jul 25, 2019 at 7:44 PM E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com> wrote:
>>
>>> Hi all,
>>> TL;DR - if we're doing version numbers for the SDK can they at least be
>>> the same as the SFOS to which they correspond?
>>>
>>> I assume this may have come up already in the past but I still want to
>>> ask this again.
>>> I noticed when recently redownloading the SDK that the versioning scheme
>>> had switched twice from numbers to dates and then back to numbers.
>>>
>>> As a rule I am a proponent of the dates versioning system since it
>>> allows me the user to easily know just how far behind I am.
>>> That being said in this case I am actually a proponent of version
>>> numbers with the caveat that the SDK version and the SFOS version number
>>> should be the same.
>>> When I was downloading the SDK I actually ended up cancelling the
>>> download and double checking the file listsing to see whether I was indeed
>>> downloading the most recent version because 2.x was also a SFOS version
>>> once upon a time.
>>> Regards,
>>> Eli
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK versioning

2019-07-25 Thread Tone Kastlunger
+1 to this;
I had the same issue. It's confusing if you have to reinstall from scratch
for instance.

On Thu, Jul 25, 2019 at 7:44 PM E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com> wrote:

> Hi all,
> TL;DR - if we're doing version numbers for the SDK can they at least be
> the same as the SFOS to which they correspond?
>
> I assume this may have come up already in the past but I still want to ask
> this again.
> I noticed when recently redownloading the SDK that the versioning scheme
> had switched twice from numbers to dates and then back to numbers.
>
> As a rule I am a proponent of the dates versioning system since it allows
> me the user to easily know just how far behind I am.
> That being said in this case I am actually a proponent of version numbers
> with the caveat that the SDK version and the SFOS version number should be
> the same.
> When I was downloading the SDK I actually ended up cancelling the download
> and double checking the file listsing to see whether I was indeed
> downloading the most recent version because 2.x was also a SFOS version
> once upon a time.
> Regards,
> Eli
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived (further down the rabbit hole)

2019-07-20 Thread Tone Kastlunger
Theres a dangling mr pending for over a year (for calendar sync) in the
buteo-sync-plugin tho,
so I suppose expectations for a more extensive changeset to be merged
upstream should be kept low?

On Saturday, July 20, 2019, Damien Caliste  wrote:
> Hello,
>
> Le Samedi 20 juillet 2019, deloptes a écrit :
>> 5. 1.7 uses cmake and thus building does not work
> You can build cmake projects in SDK also. Sailfish-office is one example,
Calligra another one, while the latter is a bit complicated due to KF5
dependencies.
>
> In a nutshell, ssh into SDK,
> - go to ~/share/... the project directory,
> - create a tmp directory and enter it,
> - enter target emulation with 'sb2 -t Sailfishos-xxx' (use TAB to
complement),
> - issue 'cmake ..',
> - issue make.
>
> You can automate this in a spec file to create RPMs of course.
>
>> To me it looks like the whole stack is left unmaintained and I am not
sure
>> how the following components are going to be brought to a working state
>> without a proper support. I mean even if community can do the work, how
big
>> are the chances that all the changes in following packages get merged
into
>> mainstream???
> I'm coming back from vacations next week, and I can help you building
everything or modernize what is required. I'm sure Chris Adams or Pekka
Vuorela will review any patch and be happy to merge everything making the
stack up to date, when patches look good.
>
> Have a nice day,
>
> Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
Errata : that'd be to thr main UI ofc :)

On Wednesday, July 17, 2019, Tone Kastlunger 
wrote:
> Yes so, it appears that the buteo-sync-plugin relies on bluez4 heavily
too.
> About the ui, it is possible, although it remains to be seen how, as the
contribution flow to the main uk is a bit unclear (and silica is not fully
open).
>
>
>
> On Tuesday, July 16, 2019, deloptes  wrote:
>> Tone Kastlunger wrote:
>>
>>> PS found this one :
>>>
>>> https://wiki.merproject.org/wiki/Sync_plugins
>>>
>>
>> Yes I read this. It is history and it is outdated as of "Sync with
>> libsyncml". Libsyncml does not exist anymore (it died may be 6-7y ago),
but
>> it has good information. This is why I use syncevolution, which uses
>> libsynthesis.
>>
>> You can also read and follow the links here:
>> https://wiki.merproject.org/wiki/Buteo
>>
>>> On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger
>>>  wrote:
>>>
>>>> About the syncmlserver;
>>>> which command line options have you used?
>>
>> syncmlserver is started from msyncd as the server is a plugin.
>> As mentioned before there is branch with calendar, but the server/client
are
>> written for bluez4.
>>
>> In Nokia N9 there is "Sync & Backup". If you select "Sync", you can set
up
>> profile synchronization over BT to another device. Have you seen this?
>> Unfortunately in Sailfish it is only "Backup". The synchronization
>> interface (two-way conflict resolution etc.) in the accounts, I am
>> wondering where one would put the interface for bluetooth based sync
>> initiated from the phone. Are you interested in looking into that?
>> It is in clientplugins/syncmlclient/xml/ I think. The thing is that for
my
>> use case I need the server side, but if you want to do a sync from the
>> phone you would use the client plugin - at least this is my understanding
>> for now. So there would be a second part in this project to start a sync
>> from this phone to another acting as client. This would be interesting.
>>
>> regards
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
Yes so, it appears that the buteo-sync-plugin relies on bluez4 heavily too.
About the ui, it is possible, although it remains to be seen how, as the
contribution flow to the main uk is a bit unclear (and silica is not fully
open).



On Tuesday, July 16, 2019, deloptes  wrote:
> Tone Kastlunger wrote:
>
>> PS found this one :
>>
>> https://wiki.merproject.org/wiki/Sync_plugins
>>
>
> Yes I read this. It is history and it is outdated as of "Sync with
> libsyncml". Libsyncml does not exist anymore (it died may be 6-7y ago),
but
> it has good information. This is why I use syncevolution, which uses
> libsynthesis.
>
> You can also read and follow the links here:
> https://wiki.merproject.org/wiki/Buteo
>
>> On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger
>>  wrote:
>>
>>> About the syncmlserver;
>>> which command line options have you used?
>
> syncmlserver is started from msyncd as the server is a plugin.
> As mentioned before there is branch with calendar, but the server/client
are
> written for bluez4.
>
> In Nokia N9 there is "Sync & Backup". If you select "Sync", you can set up
> profile synchronization over BT to another device. Have you seen this?
> Unfortunately in Sailfish it is only "Backup". The synchronization
> interface (two-way conflict resolution etc.) in the accounts, I am
> wondering where one would put the interface for bluetooth based sync
> initiated from the phone. Are you interested in looking into that?
> It is in clientplugins/syncmlclient/xml/ I think. The thing is that for my
> use case I need the server side, but if you want to do a sync from the
> phone you would use the client plugin - at least this is my understanding
> for now. So there would be a second part in this project to start a sync
> from this phone to another acting as client. This would be interesting.
>
> regards
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
PS found this one :

https://wiki.merproject.org/wiki/Sync_plugins

On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger 
wrote:

> About the syncmlserver;
> which command line options have you used?
>
> On Tue, Jul 16, 2019 at 8:24 PM deloptes  wrote:
>
>> Tone Kastlunger wrote:
>>
>> > So so far I have a patch for buteo-syncfw;
>> > and you mentioned you had to change something in buteo-sync-plugins too;
>> > is there a patch available for that too?
>>
>> Not yet, I'll need more time. It is still very rough and not working at
>> all.
>>
>> But w.r.t buteo-syncfw, you see in the journal logs that it now reacts on
>> BT
>> interaction :). The SyncML funcitonality comes from buteo-syncml and
>> buteo-sync-plugins contains the actual plugin implementation. The plugins
>> seem to have been written to provide connectivity based on bluez4 and it
>> looks like only the skeleton or perhaps parts of it will remain at the
>> end.
>> It needs a total rework, from what I see. I added two classes for sdp
>> profiles (syncml client and server) and as shown I can connect to the
>> server profile. Next step is to (find a way how to) handle the
>> communication between the two (pc and phone) via buteo-syncml.
>> This server/client is very confusing BTW :)
>>
>> regards
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
About the syncmlserver;
which command line options have you used?

On Tue, Jul 16, 2019 at 8:24 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > So so far I have a patch for buteo-syncfw;
> > and you mentioned you had to change something in buteo-sync-plugins too;
> > is there a patch available for that too?
>
> Not yet, I'll need more time. It is still very rough and not working at
> all.
>
> But w.r.t buteo-syncfw, you see in the journal logs that it now reacts on
> BT
> interaction :). The SyncML funcitonality comes from buteo-syncml and
> buteo-sync-plugins contains the actual plugin implementation. The plugins
> seem to have been written to provide connectivity based on bluez4 and it
> looks like only the skeleton or perhaps parts of it will remain at the end.
> It needs a total rework, from what I see. I added two classes for sdp
> profiles (syncml client and server) and as shown I can connect to the
> server profile. Next step is to (find a way how to) handle the
> communication between the two (pc and phone) via buteo-syncml.
> This server/client is very confusing BTW :)
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
>I do not have the time to work much on this (unfortunately, because of
>priorities). I have 1-2h a day and my goal for now is to understand the
>system and what exactly needs to be corrected.

That's totally ok :)
and I think what has been done so far is great!

So so far I have a patch for buteo-syncfw;
and you mentioned you had to change something in buteo-sync-plugins too;
is there a patch available for that too?

Best
tk

On Tue, Jul 16, 2019 at 10:20 AM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Yes, so to clarify:
> > I have rebuilt openobex, buteo-syncfw and buteo-syncml (against bluez5)
> > and installed all the rpm's on my  xperia;
> > I have then reloaded the systemd config, and started msyncd ;
> >
> > at this point, sdptool browse from my laptop over to the paired xperia
> > still seems
> > to not see any SYNCML profiles.
> >
> > I guess im missing something?
>
> I do not have the time to work much on this (unfortunately, because of
> priorities). I have 1-2h a day and my goal for now is to understand the
> system and what exactly needs to be corrected.
>
> I found out that the old way of establishing connection does not work. The
> changes I did as a PoC are in buteo-sync-plugins. So I did some progress
> and I was able to initiate a successful connection from the PC to the
> syncml profile (see below) and I will look forward to understand how things
> need to be done right for bluez5 (I think I have an idea already).
> Part of the problem is the client-server concept and what is to be seen as
> a
> client and as a server depending on which side you are.
>
> If you can help somehow there would be great but the access to
> git.sailfish.org is still not working and I have no idea how we can
> cooperate. Perhaps patience is the way forward.
>
> regards
>
>
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: src/service.c:change_state()
> 0x7c04f0: device 00:11:22:33:44:55 profile SyncML Client state changed:
> connecting -> connected (0)
> Jul 16 01:07:58 Sailfish bluetoothd[4540]:
> src/device.c:device_profile_connected() SyncML Client Success (0)
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/profile.c:ext_confirm() incoming connect from 00:11:22:33:44:55
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/device.c:btd_device_add_uuid() device fujitsu, uuid
> 0002--1000-8000-0002ee02
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/service.c:btd_service_ref() 0x7c04f0: ref=2
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/profile.c:ext_confirm() SyncML Client authorizing connection from
> 00:11:22:33:44:55
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/profile.c:ext_auth() 00:11:22:33:44:55 authorized to connect to SyncML
> Client
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/profile.c:ext_connect() SyncML Client connected to 00:11:22:33:44:55
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile
> SyncML Client state changed: disconnected -> connecting (0)
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile
> SyncML Client state changed: connecting -> connected (0)
> Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]:
> src/device.c:device_profile_connected() SyncML Client Success (0)
> Jul 16 01:07:58 Sailfish syncml-server[9715]: [D] unknown:0 - Read:
> 14 "\x80\x00\x15\x10\x00\x7F\xFF""F\x00\x0ESYNCML-SYNC"
> Jul 16 01:07:59 Sailfish syncml-server[9715]: [D] unknown:0 - Writing 14
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
Yes, so to clarify:
I have rebuilt openobex, buteo-syncfw and buteo-syncml (against bluez5)
and installed all the rpm's on my  xperia;
I have then reloaded the systemd config, and started msyncd ;

at this point, sdptool browse from my laptop over to the paired xperia
still seems
to not see any SYNCML profiles.

I guess im missing something?



On Mon, Jul 15, 2019 at 9:28 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Correction; found it.
> > Apologies for the spamming.
>
> OK, but this is exactly the part of the exercise. Much of this is still
> written to work with bluez4. Since Xperia X is using bluez5 this does not
> work out of the box.
>
> So this patch makes the syncfw work with bluez5. However most of the work
> is
> done by buteo-sync-plugins which uses the buteo-syncml framework.
> It looks like  buteo-syncml does not need changing.
> In the buteo-sync-plugins repository there is a branch with calendar
> extention that is not merged. I created a new branch based on this and
> cleaned up all bluez4.
> For some reason for example (after compiling the experimental part in
> bluez5) OBEX FTP plugin is not loading.
> So now I'm stuck at connecting with some specific profiles from PC to phone
> and it does not work. From phone to PC it works. This is very strange. It
> needs more investigation.
>
> regards
>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
Correction; found it.
Apologies for the spamming.

On Mon, Jul 15, 2019 at 8:22 PM Tone Kastlunger 
wrote:

> So after building openobex from the mer repo (10 years old :) ),
> it seems syncml client is also not available (and not present on the mer
> repos).
> deloptes, where did you get the sources from?
>
> Best,
> tk
>
> On Mon, Jul 15, 2019 at 7:37 PM Tone Kastlunger 
> wrote:
>
>> Hello;
>> so some progress; I installed the built rpm (with the patch deloptes
>> provided) succesfully;
>> however, sdptool didnt find anything related to SYNCML.
>>
>> Upon further checks, it appears the syncml client wasnt installed on my
>> xperia, so I attempted to install it, however:
>>
>> [root@Sailfish nemo]# zypper search buteo
>> Building repository 'store' cache
>> ...[done]
>> Loading repository data...
>> Reading installed packages...
>>
>> S | Name  | Summary
>>   | Type
>>
>> --+---+-+---
>> i | buteo-mtp-qt5 | MTP library
>>   | package
>>   | buteo-mtp-qt5 | MTP library
>>   | srcpackage
>>   | buteo-mtp-qt5-debuginfo   | Debug information for
>> package buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-debugsource | Debug sources for package
>> buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-devel   | Development files for
>> buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-sample-vendor-configuration | Vendor configuration
>> example for MTP| package
>>   | buteo-mtp-qt5-sync-plugin | MTP plugin for buteo-sync
>>   | package
>>   | buteo-mtp-qt5-tests   | Tests for buteo-mtp-qt5
>>   | package
>>   | buteo-service-memotoo | Memotoo service
>> description for Buteo SyncML| package
>> i | buteo-sync-plugin-caldav  | Syncs calendar data from
>> CalDAV services| package
>>   | buteo-sync-plugin-caldav  | Syncs calendar data from
>> CalDAV services| srcpackage
>>   | buteo-sync-plugin-caldav-debuginfo| Debug information for
>> package buteo-sync-plugin-caldav  | package
>>   | buteo-sync-plugin-caldav-debugsource  | Debug sources for package
>> buteo-sync-plugin-caldav  | package
>>   | buteo-sync-plugin-caldav-tests| Unit tests for
>> buteo-sync-plugin-caldav | package
>> i | buteo-sync-plugin-carddav | Syncs contact data from
>> CardDAV services| package
>>   | buteo-sync-plugin-carddav | Syncs contact data from
>> CardDAV services| srcpackage
>>   | buteo-sync-plugin-carddav-debuginfo   | Debug information for
>> package buteo-sync-plugin-carddav | package
>>   | buteo-sync-plugin-carddav-debugsource | Debug sources for package
>> buteo-sync-plugin-carddav | package
>>   | buteo-sync-plugin-carddav-tests   | Unit tests for
>> buteo-sync-plugin-carddav| package
>> i | buteo-sync-plugins-email  | Syncs email accounts
>>| package
>>   | buteo-sync-plugins-email  | Syncs email accounts
>>| srcpackage
>>   | buteo-sync-plugins-email-debuginfo| Debug information for
>> package buteo-sync-plugins-email  | package
>>   | buteo-sync-plugins-email-debugsource  | Debug sources for package
>> buteo-sync-plugins-email  | package
>>   | buteo-sync-plugins-qt5| Synchronization plugins
>>   | package
>>   | buteo-sync-plugins-qt5| Synchronization plugins
>>   | srcpackage
>>   | buteo-sync-plugins-qt5-debuginfo  | Debug information for
>> package buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-debugsource| Debug sources for package
>> buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-devel  | Development files for
>> buteo-sync-plugins-qt5| package
>>   | buteo-sync-

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
So after building openobex from the mer repo (10 years old :) ),
it seems syncml client is also not available (and not present on the mer
repos).
deloptes, where did you get the sources from?

Best,
tk

On Mon, Jul 15, 2019 at 7:37 PM Tone Kastlunger 
wrote:

> Hello;
> so some progress; I installed the built rpm (with the patch deloptes
> provided) succesfully;
> however, sdptool didnt find anything related to SYNCML.
>
> Upon further checks, it appears the syncml client wasnt installed on my
> xperia, so I attempted to install it, however:
>
> [root@Sailfish nemo]# zypper search buteo
> Building repository 'store' cache
> ...[done]
> Loading repository data...
> Reading installed packages...
>
> S | Name  | Summary
>   | Type
>
> --+---+-+---
> i | buteo-mtp-qt5 | MTP library
>   | package
>   | buteo-mtp-qt5 | MTP library
>   | srcpackage
>   | buteo-mtp-qt5-debuginfo   | Debug information for
> package buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-debugsource | Debug sources for package
> buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-devel   | Development files for
> buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-sample-vendor-configuration | Vendor configuration
> example for MTP| package
>   | buteo-mtp-qt5-sync-plugin | MTP plugin for buteo-sync
>   | package
>   | buteo-mtp-qt5-tests   | Tests for buteo-mtp-qt5
>   | package
>   | buteo-service-memotoo | Memotoo service
> description for Buteo SyncML| package
> i | buteo-sync-plugin-caldav  | Syncs calendar data from
> CalDAV services| package
>   | buteo-sync-plugin-caldav  | Syncs calendar data from
> CalDAV services| srcpackage
>   | buteo-sync-plugin-caldav-debuginfo| Debug information for
> package buteo-sync-plugin-caldav  | package
>   | buteo-sync-plugin-caldav-debugsource  | Debug sources for package
> buteo-sync-plugin-caldav  | package
>   | buteo-sync-plugin-caldav-tests| Unit tests for
> buteo-sync-plugin-caldav | package
> i | buteo-sync-plugin-carddav | Syncs contact data from
> CardDAV services| package
>   | buteo-sync-plugin-carddav | Syncs contact data from
> CardDAV services| srcpackage
>   | buteo-sync-plugin-carddav-debuginfo   | Debug information for
> package buteo-sync-plugin-carddav | package
>   | buteo-sync-plugin-carddav-debugsource | Debug sources for package
> buteo-sync-plugin-carddav | package
>   | buteo-sync-plugin-carddav-tests   | Unit tests for
> buteo-sync-plugin-carddav| package
> i | buteo-sync-plugins-email  | Syncs email accounts
>  | package
>   | buteo-sync-plugins-email  | Syncs email accounts
>  | srcpackage
>   | buteo-sync-plugins-email-debuginfo| Debug information for
> package buteo-sync-plugins-email  | package
>   | buteo-sync-plugins-email-debugsource  | Debug sources for package
> buteo-sync-plugins-email  | package
>   | buteo-sync-plugins-qt5| Synchronization plugins
>   | package
>   | buteo-sync-plugins-qt5| Synchronization plugins
>   | srcpackage
>   | buteo-sync-plugins-qt5-debuginfo  | Debug information for
> package buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-debugsource| Debug sources for package
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-devel  | Development files for
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-doc| Documentation for
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-tests  | Tests for
> buteo-sync-plugins-qt5| package
> i | buteo-sync-plugins-sailfisheas| Buteo plugins for Exchange
> ActiveSync   | package
> i | buteo-syncfw-qt5  | Synchronization backend
>   

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
  | buteo-syncfw-qt5-tests| Tests for buteo-syncfw-qt5
 | package
  | buteo-syncml-qt5  | SyncML library for MeeGo
sync   | package
  | buteo-syncml-qt5  | SyncML library for MeeGo
sync   | srcpackage
  | buteo-syncml-qt5-debuginfo| Debug information for
package buteo-syncml-qt5  | package
  | buteo-syncml-qt5-debugsource  | Debug sources for package
buteo-syncml-qt5  | package
  | buteo-syncml-qt5-devel| Development files for
buteo-syncml-qt5  | package
  | buteo-syncml-qt5-tests| Development files for
buteo-syncml-qt5  | package
[root@Sailfish nemo]# zypper install buteo-syncml-qt5
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  buteo-syncml-qt5 openobex

2 new packages to install.
Overall download size: 343.8 KiB. Already cached: 0 B. After the operation,
additional 950.3 KiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package openobex-0.1.4-1.1.11.jolla.armv7hl
   (1/2),  32.3 KiB ( 68.0 KiB unpacked)
Retrieving: openobex-0.1.4-1.1.11.jolla.armv7hl.rpm
..[not found
(154 B/s)]
File './mw/armv7hl/openobex-0.1.4-1.1.11.jolla.armv7hl.rpm' not found on
medium 'https://releases.jolla.com/releases/3.0.3.10/jolla/armv7hl/'

On Mon, Jul 15, 2019 at 2:44 PM Tone Kastlunger 
wrote:

> Yep;
> missed that one thanks!
> Noticed spec file doesnt mention this; can I get the rpmbuilder to choose
> the "replace" option by default?
>
> On Mon, Jul 15, 2019 at 2:20 PM deloptes  wrote:
>
>> Tone Kastlunger wrote:
>>
>> > [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
>> > ../rpm/buteo-syncfw-qt5.spec build
>>
>>
>> when you try to build from within a build directory, you have to specify
>> the
>> root directory with -d flag
>>
>> I use following
>>
>> mb2 -t SailfishOS-3.0.2.8-armv7hl -s ../rpm/buteo-syncfw-qt5.spec \
>>  build -j4 -d ../
>> HERE ->^^
>>
>> regards
>>
>> PS: also you do not need the bluez4, but bluez5
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
Yep;
missed that one thanks!
Noticed spec file doesnt mention this; can I get the rpmbuilder to choose
the "replace" option by default?

On Mon, Jul 15, 2019 at 2:20 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
> > ../rpm/buteo-syncfw-qt5.spec build
>
>
> when you try to build from within a build directory, you have to specify
> the
> root directory with -d flag
>
> I use following
>
> mb2 -t SailfishOS-3.0.2.8-armv7hl -s ../rpm/buteo-syncfw-qt5.spec \
>  build -j4 -d ../
> HERE ->^^
>
> regards
>
> PS: also you do not need the bluez4, but bluez5
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
tent property
  -unset   Unset persistent property
  -query   Query persistent property. Show all if  is empty.
  -cache fileUse file as cache   [makefile mode only]
  -spec spec Use spec as QMAKESPEC   [makefile mode only]
  -nocache   Don't use a cache file  [makefile mode only]
  -nodepend  Don't generate dependencies [makefile mode only]
  -nomoc Don't generate moc targets  [makefile mode only]
  -nopwd Don't look for files in pwd [project mode only]
error: Bad exit status from /var/tmp/rpm-tmp.l1AJwn (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.l1AJwn (%build)




On Sat, Jul 13, 2019 at 1:11 AM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > qmcebatterystatus.h
>
>
> /srv/mer/targets/SailfishOS-3.0.2.8-armv7hl/usr/include/mce-qt5/qmcebatterystatus.h
>
> is in libmce-qt5-devel
>
> Strange because I did not install it manually
>
> regards
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
PS : oh and this is against the latest buteo repo version :)

On Sat, Jul 13, 2019 at 12:30 AM Tone Kastlunger 
wrote:

> Btw, your patch is not building on my sdk:
> Where does the #include  come from?
> As you can see, I should have everything installed in the target for it to
> build;
> but the file in question does not show up (see find command below).
>
> Logs:
> --
>
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ zypper search libmce
> Loading repository data...
> Reading installed packages...
>
> S  | Name| Summary   |
> Type
>
> ---+-+---+---
> i  | libmce-glib | MCE client library|
> package
>| libmce-glib | MCE client library|
> srcpackage
>| libmce-glib-debuginfo   | Debug information for package libmce-glib |
> package
>| libmce-glib-debugsource | Debug sources for package libmce-glib |
> package
> i+ | libmce-glib-devel   | Development library for libmce-glib   |
> package
> i+ | libmce-qt5  | A library of Qt bindings for mce  |
> package
>| libmce-qt5  | A library of Qt bindings for mce  |
> srcpackage
>| libmce-qt5-debuginfo| Debug information for package libmce-qt5  |
> package
>| libmce-qt5-debugsource  | Debug sources for package libmce-qt5  |
> package
> i+ | libmce-qt5-declarative  | Declarative plugin for libmce-qt5 |
> package
> i+ | libmce-qt5-devel| Development files for libmce-qt5  |
> package
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ fakeroot zypper install libmce-glib
> Loading repository data...
> Reading installed packages...
> 'libmce-glib' is already installed.
> No update candidate for 'libmce-glib-1.0.5-1.1.7.jolla.armv7hl'. The
> highest available version is already installed.
> Resolving package dependencies...
>
> Nothing to do.
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ find /usr -iname qmce*
> /usr/include/mce-qt5/qmcedisplay.h
> /usr/include/mce-qt5/qmcetypes.h
> /usr/include/mce-qt5/qmcetklock.h
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ exit
> exit
> [mersdk@SailfishSDK buteo-syncfw]$ mb2 -t SailfishOS-3.0.0.8-armv7hl -s
> rpm/buteo-syncfw-qt5.spec -p $PWD build
>
> Building target platforms: armv7hl-meego-linux
> Building for target armv7hl-meego-linux
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QuzSFJ
> + umask 022
> + cd /home/mersdk/share/checkouts/git/buteo-syncfw
> + LANG=C
> + export LANG
> + unset DISPLAY
> + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi'
> + export CFLAGS
> + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi'
> + export CXXFLAGS
> + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi -I/usr/lib/gfortran/modules'
> + export FFLAGS
> + LD_AS_NEEDED=1
> + export LD_AS_NEEDED
> + export QT_SELECT=5
> + QT_SELECT=5
> + qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
> -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
> 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
> -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
> 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard
> -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
.cpp
synchronizer.cpp:45:31: fatal error: qmcebatterystatus.h: No such file or
directory
 #include 
   ^
compilation terminated.
make[2]: *** [synchronizer.o] Error 1
make[2]: Leaving directory
`/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd'
make[1]: *** [sub-msyncd-lib-pro-make_first-ordered] Error 2
make[1]: Leaving directory
`/home/mersdk/share/checkouts/git/buteo-syncfw/msyncd'
make: *** [sub-msyncd-make_first] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.QuzSFJ (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.QuzSFJ (%build)



On Fri, Jul 12, 2019 at 11:59 PM Tone Kastlunger 
wrote:

> Yes,
> for an example, the pcsuite (as mentioned in the previous mail) is not
> included in the (original) build configuration
> of bluez5, as the configure is missing the --enable-experimental.
> Now before we go all heroish and open pandora's box, i'd say we could try
> to track down the source pack of the
> bluez on n9, and see the configure scripts from there. Is that possible? I
> don't know.
>
> Best,
> tk
>
> On Fri, Jul 12, 2019 at 10:06 PM deloptes  wrote:
>
>> Tone Kastlunger wrote:
>>
>> >> IMO it is missing OBEX File Transfer Profile.
>> > Is this profile supposed to be used for non-file data (i.e. contacts)
>>  as
>> > well?
>> > There seems to be some file-related test cases in the repo of bluez5
>> >
>> >
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>>
>> Looks like there are all pieces around and someone has to put them
>> together.
>>
>> For example in
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/client/sync.c
>>
>> #define OBEX_SYNC_UUID "IRMC-SYNC" <<<<<<<<< this here means OBEX SYNC
>> #define OBEX_SYNC_UUID_LEN 9
>>
>> #define SYNC_INTERFACE "org.bluez.obex.Synchronization1"
>> #define ERROR_INF SYNC_INTERFACE ".Error"
>> #define SYNC_UUID "1104--1000-8000-00805f9b34fb"
>>
>> Also in
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h
>> #define
>> <https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h#define>
>> OBEX_SYNC_UUID  "1104--1000-8000-00805f9b34fb"
>>
>> and here
>>
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/bluetooth.c
>>
>> case OBEX_PCSUITE:
>> return "5005--1000-8000-0002ee01";
>> case OBEX_SYNCEVOLUTION:
>> return "0002--1000-8000-0002ee02";
>>
>> and in
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/syncevolution.c
>>
>> is the SYNCML-SYNC (Server). From what we learned this is if you want to
>> initiate sync from the device - at least how I understood the document.
>>
>> It looks like a good starting point. Thanks for pointing to the bluez5 mer
>> link.
>>
>> regards
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
Yes,
for an example, the pcsuite (as mentioned in the previous mail) is not
included in the (original) build configuration
of bluez5, as the configure is missing the --enable-experimental.
Now before we go all heroish and open pandora's box, i'd say we could try
to track down the source pack of the
bluez on n9, and see the configure scripts from there. Is that possible? I
don't know.

Best,
tk

On Fri, Jul 12, 2019 at 10:06 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> >> IMO it is missing OBEX File Transfer Profile.
> > Is this profile supposed to be used for non-file data (i.e. contacts)  as
> > well?
> > There seems to be some file-related test cases in the repo of bluez5
> >
> > https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>
> Looks like there are all pieces around and someone has to put them
> together.
>
> For example in
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/client/sync.c
>
> #define OBEX_SYNC_UUID "IRMC-SYNC" <<<<<<<<< this here means OBEX SYNC
> #define OBEX_SYNC_UUID_LEN 9
>
> #define SYNC_INTERFACE "org.bluez.obex.Synchronization1"
> #define ERROR_INF SYNC_INTERFACE ".Error"
> #define SYNC_UUID "1104--1000-8000-00805f9b34fb"
>
> Also in
> https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h
> #define
> <https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h#define>
> OBEX_SYNC_UUID  "1104--1000-8000-00805f9b34fb"
>
> and here
>
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/bluetooth.c
>
> case OBEX_PCSUITE:
> return "5005--1000-8000-0002ee01";
> case OBEX_SYNCEVOLUTION:
> return "0002--1000-8000-0002ee02";
>
> and in
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/syncevolution.c
>
> is the SYNCML-SYNC (Server). From what we learned this is if you want to
> initiate sync from the device - at least how I understood the document.
>
> It looks like a good starting point. Thanks for pointing to the bluez5 mer
> link.
>
> regards
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
Thanks for the links!
As said, im really not familiar with
the syncml stack!

One thing i noticed from them:

>set the username and password for synchronization on your phone to be empty

hows this implemented on the sfos side?

On Friday, July 12, 2019, deloptes  wrote:
> forgot to paste this
>
> https://wiki.merproject.org/wiki/Buteo/SyncML
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-11 Thread Tone Kastlunger
and me again;
it appears the PC Suite plugin is marked as EXPERIMENTAL on the make files;
needless to say, this EXPERIMENTAL option is not enabled by the configure
of the bluez5 project.



On Fri, Jul 12, 2019 at 12:00 AM Tone Kastlunger 
wrote:

> ..and more stuff can be found from the obexd/plugins folder:
>
> https://git.sailfishos.org/mer-core/bluez5/tree/master/obexd/plugins
>
>
> On Thu, Jul 11, 2019 at 11:42 PM Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> PS from here:
>>
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
>> it seems you can get some obex capabilities (although I have yet to be
>> able to do so);
>>
>> also, have a look at  /usr/libexec/obexd-wrapper (shell script); it
>> allows for tracing of obexd activity apparently.
>>
>>
>>
>> On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger <
>> users.giulie...@gmail.com> wrote:
>>
>>> > IMO it is missing OBEX File Transfer Profile.
>>> Is this profile supposed to be used for non-file data (i.e. contacts)
>>> as well?
>>> There seems to be some file-related test cases in the repo of bluez5
>>>
>>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>>>
>>> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>>>
>>>> Tone Kastlunger wrote:
>>>>
>>>> > It seems obexd might have some issues with bluez5 yes (as it's
>>>> labeled as
>>>> > conflicting):
>>>> >
>>>> >
>>>>
>>>> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
>>>> >
>>>> > Now Im in no way an expert on obex / obexd. So if someone has more
>>>> intel,
>>>> > please share!
>>>>
>>>> Please distinguish obex for bluez4 from obex for bluez5. At the moment
>>>> on a
>>>> test device I have installed:
>>>>
>>>> # pkcon --filter installed get-packages  | grep bluez
>>>> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>>> (installed)
>>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>>> (installed)
>>>> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
>>>> (installed)
>>>> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
>>>> (installed)
>>>> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
>>>> (installed)
>>>> Installed
>>>> kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
>>>> (installed)
>>>> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl
>>>> (installed)
>>>>
>>>> # pkcon --filter installed get-packages  | grep obex
>>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>>> (installed)
>>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>>> (installed)
>>>> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
>>>> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl
>>>> (installed)
>>>> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
>>>> (installed)
>>>> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
>>>> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
>>>> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>>>>
>>>>
>>>> IMO it is missing OBEX File Transfer Profile. I see it is supported in
>>>> kf5bluezqt, but I do not see anything providing this or similar. Same
>>>> for
>>>> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>>>>
>>>> OBEX is used to provide session management for the transfer of files.
>>>> But it is not likely that I will be able to look into this by Monday.
>>>>
>>>> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>>>>
>>>> regards
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-11 Thread Tone Kastlunger
..and more stuff can be found from the obexd/plugins folder:

https://git.sailfishos.org/mer-core/bluez5/tree/master/obexd/plugins


On Thu, Jul 11, 2019 at 11:42 PM Tone Kastlunger 
wrote:

> PS from here:
>
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
> it seems you can get some obex capabilities (although I have yet to be
> able to do so);
>
> also, have a look at  /usr/libexec/obexd-wrapper (shell script); it allows
> for tracing of obexd activity apparently.
>
>
>
> On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> > IMO it is missing OBEX File Transfer Profile.
>> Is this profile supposed to be used for non-file data (i.e. contacts)  as
>> well?
>> There seems to be some file-related test cases in the repo of bluez5
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>>
>> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>>
>>> Tone Kastlunger wrote:
>>>
>>> > It seems obexd might have some issues with bluez5 yes (as it's labeled
>>> as
>>> > conflicting):
>>> >
>>> >
>>>
>>> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
>>> >
>>> > Now Im in no way an expert on obex / obexd. So if someone has more
>>> intel,
>>> > please share!
>>>
>>> Please distinguish obex for bluez4 from obex for bluez5. At the moment
>>> on a
>>> test device I have installed:
>>>
>>> # pkcon --filter installed get-packages  | grep bluez
>>> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
>>> (installed)
>>> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
>>> (installed)
>>> Installed
>>> kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl
>>> (installed)
>>>
>>> # pkcon --filter installed get-packages  | grep obex
>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
>>> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
>>> (installed)
>>> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
>>> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
>>> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>>>
>>>
>>> IMO it is missing OBEX File Transfer Profile. I see it is supported in
>>> kf5bluezqt, but I do not see anything providing this or similar. Same for
>>> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>>>
>>> OBEX is used to provide session management for the transfer of files.
>>> But it is not likely that I will be able to look into this by Monday.
>>>
>>> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>>>
>>> regards
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-11 Thread Tone Kastlunger
PS from here:

https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
it seems you can get some obex capabilities (although I have yet to be able
to do so);

also, have a look at  /usr/libexec/obexd-wrapper (shell script); it allows
for tracing of obexd activity apparently.



On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger 
wrote:

> > IMO it is missing OBEX File Transfer Profile.
> Is this profile supposed to be used for non-file data (i.e. contacts)  as
> well?
> There seems to be some file-related test cases in the repo of bluez5
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>
> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>
>> Tone Kastlunger wrote:
>>
>> > It seems obexd might have some issues with bluez5 yes (as it's labeled
>> as
>> > conflicting):
>> >
>> >
>>
>> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
>> >
>> > Now Im in no way an expert on obex / obexd. So if someone has more
>> intel,
>> > please share!
>>
>> Please distinguish obex for bluez4 from obex for bluez5. At the moment on
>> a
>> test device I have installed:
>>
>> # pkcon --filter installed get-packages  | grep bluez
>> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>> (installed)
>> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
>> (installed)
>> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
>> (installed)
>> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
>> (installed)
>> Installed
>> kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
>> (installed)
>> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl (installed)
>>
>> # pkcon --filter installed get-packages  | grep obex
>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>> (installed)
>> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
>> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl (installed)
>> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
>> (installed)
>> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
>> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
>> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>>
>>
>> IMO it is missing OBEX File Transfer Profile. I see it is supported in
>> kf5bluezqt, but I do not see anything providing this or similar. Same for
>> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>>
>> OBEX is used to provide session management for the transfer of files.
>> But it is not likely that I will be able to look into this by Monday.
>>
>> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>>
>> regards
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-11 Thread Tone Kastlunger
> IMO it is missing OBEX File Transfer Profile.
Is this profile supposed to be used for non-file data (i.e. contacts)  as
well?
There seems to be some file-related test cases in the repo of bluez5

https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders

On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > It seems obexd might have some issues with bluez5 yes (as it's labeled as
> > conflicting):
> >
> >
>
> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
> >
> > Now Im in no way an expert on obex / obexd. So if someone has more intel,
> > please share!
>
> Please distinguish obex for bluez4 from obex for bluez5. At the moment on a
> test device I have installed:
>
> # pkcon --filter installed get-packages  | grep bluez
> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
> (installed)
> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
> (installed)
> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl (installed)
> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl (installed)
> Installedkf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
> (installed)
> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl (installed)
>
> # pkcon --filter installed get-packages  | grep obex
> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
> (installed)
> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl (installed)
> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
> (installed)
> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>
>
> IMO it is missing OBEX File Transfer Profile. I see it is supported in
> kf5bluezqt, but I do not see anything providing this or similar. Same for
> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>
> OBEX is used to provide session management for the transfer of files.
> But it is not likely that I will be able to look into this by Monday.
>
> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-11 Thread Tone Kastlunger
It seems obexd might have some issues with bluez5 yes (as it's labeled as
conflicting):

https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b

Now Im in no way an expert on obex / obexd. So if someone has more intel,
please share!

Best,
tk

On Thu, Jul 11, 2019 at 12:29 AM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > I have always been suspecting Jolla using the missing BT export as
> > a lock-in technique; but even switching between sfos phones (jolla 1 ->
> > jolla c -> xperia x for me,
> > probably a xa2 coming up soon) is impossible as it is now, so that
> > (luckily) kills the theory.
> >
> > I'd be glad to be able to help, a (somewhat) working sync mechanism for
> > contacts & notes would
> > be extremely helpful already!
>
> I do not know about the background. I heard syncml is dead as no one of the
> companies involved in establishing the protocol are interested in this
> anymore. This, however, leaves us with one option less to express our
> freedom of choice and even worse there is no possible way to synchronize
> locally. I heard somehow that Windows/Android supposed to offer something
> for local synchronization, but I have no way to test this.
> My drama is that I was using N9 for 7y and it worked perfectly well ... now
> I am constantly out of sync :|
>
> From what I see is that a lot of stuff is missing in Sailfish X that was
> present in N9. From the services this is PC Suite, Obex File Transfer,
> SyncML Server/Client etc.
> I do not know if this is limitation by the kernel. I do not recall what was
> the status of bluez5 and obex in 3.9. I do not know how obexd was compiled.
>
> I see in the syncevolution logs following and I think something in the
> background is missing - perhaps outside of buteo
>
> >>> N9 <<<
>
> [2019-07-10 21:41:17.880] ready to sync
> [2019-07-10 21:41:17.880] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
> nonce SyncEvolution session 1 server PC Suite
> [2019-07-10 21:41:17.881] SAN datastore addressbook uri Contacts type 7
> mode
> 206
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(no reply)
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
> ...
> [2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:20.777] Connecting Bluetooth device with address
> 40:98:4E:90:56:E3 and channel 25
> [2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
> [2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:21.432] OBEX_EV_REQDONE
> [2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
> response with value SYNCML-SYNC
> [2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
> [2019-07-10 21:41:21.432] Server sending SAN
> ...
> [2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:20.777] Connecting Bluetooth device with address
> 66:55:44:33:22:11 and channel 25
> [2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
> [2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:21.432] OBEX_EV_REQDONE
> [2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
> response with value SYNCML-SYNC
> [2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
> [2019-07-10 21:41:21.432] Server sending SAN
>
> >>> Xperia X <<<
>
> [2019-07-09 23:25:31.041] ready to sync
> [2019-07-09 23:25:31.041] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
> nonce SyncEvolution session 1 server PC Suite
> [2019-07-09 23:25:31.041] SAN datastore addressbook uri Contacts type 7
> mode
> 206
> [2019-07-09 23:25:31.041] ObexTransportAgent::wait(no reply)
> [2019-07-09 23:25:31.041] ObexTransportAgent::wait(): iteration
> ...
> [2019-07-09 23:25:35.497] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:35.497] Connecting Bluetooth device with address
> 11:22:33:44:55:66 and channel 25
> [2019-07-09 23:25:35.655] OBEX_EV_PROGRESS
> [2019-07-09 23:25:35.655] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:35.660] OBEX_EV_LINKERR
> [2019-07-09 23:25:35.660] ObexTransportAgent::shutdown()
> [2019-07-09 23:25:35.660] ObexTransportAgent::wait(no reply)
> [2019-07-09 23:25:35.660] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:53.765] ObexTransport: exception thrown in
> obex_fd_source_cb_impl
>
> You can try the attached patch against buteo-syncfw (master before commit
> 081a511) and tell me what you think.
> I will look forward to clean up the buteo-sync-plugins changes and
> hopefully
> source out the access to git soon. I am afraid I got the wrong access to
> bugzill

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-10 Thread Tone Kastlunger
I have always been suspecting Jolla using the missing BT export as
a lock-in technique; but even switching between sfos phones (jolla 1 ->
jolla c -> xperia x for me,
probably a xa2 coming up soon) is impossible as it is now, so that (luckily)
kills the theory.

I'd be glad to be able to help, a (somewhat) working sync mechanism for
contacts & notes would
be extremely helpful already!

best

On Wed, Jul 10, 2019 at 8:55 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Perhaps the exposed bt profile of the syncml client matches first?
>
> I don't know exactly. What I see is, there was a different syncml server
> probably from Nokia with different UUID. I would be glad if someone can
> provide history on that.
>
> I also need to understand how this is supposed to the lower level - will
> take time. If you would like to share effort, I 'll appreciate it (see my
> next reply)
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-10 Thread Tone Kastlunger
btw, deloptes, any luck with the mer/sfos git account?
I'd love to test the changes you made on the bt stack on my xperia x!

On Wed, Jul 10, 2019 at 11:28 AM Tone Kastlunger
 wrote:
>
> Perhaps the exposed bt profile of the syncml client matches first?
>
> On Tue, Jul 9, 2019 at 11:51 PM deloptes  wrote:
> >
> > Tone Kastlunger wrote:
> >
> > > If syncevolution works fine with n9, sfos should be working fine with it
> > > too?
> > >
> >
> > In theory yes. The problem is that many things changed since N9 on the
> > mobile side. We have bluez5 and bluez5-obex and openobex. Bluez5 changed
> > dramatically from bluez4 and code must be rewritten on many places, but the
> > SyncML protocol itself did not change, so if you can make the two devices
> > talk to each other, syncml should work as on N9.
> >
> > My question was related to the UUIDs used by Nokia and what is defined in
> > the bueto-sync-plugins code. I went through some documents on the UUIDs and
> > it requires more reading to understands how it all fits together, but from
> > what I understand is that the vendor specific UUIDs are build on top of a
> > generic base UUID defining the service.
> >
> > I've moved to working on the plugin side since yesterday and got so far that
> > both "SyncML Server" and "SyncML Client" register and can be seen on the
> > other side with sdptool browse:
> >
> > Service Name: SyncML Client
> > Service RecHandle: 0x1000b
> > Service Class ID List:
> >   UUID 128: 0002--1000-8000-0002ee02
> > Protocol Descriptor List:
> >   "L2CAP" (0x0100)
> >   "RFCOMM" (0x0003)
> > Channel: 25
> >   "OBEX" (0x0008)
> > Profile Descriptor List:
> >   "" (0x0002--1000-8000-0002ee02)
> > Version: 0x0100
> >
> > Service Name: SyncML Server
> > Service RecHandle: 0x1000c
> > Service Class ID List:
> >   UUID 128: 0001--1000-8000-0002ee01
> > Protocol Descriptor List:
> >   "L2CAP" (0x0100)
> >   "RFCOMM" (0x0003)
> > Channel: 26
> >   "OBEX" (0x0008)
> > Profile Descriptor List:
> >   "" (0x0001--1000-8000-0002ee01)
> > Version: 0x0100
> >
> > But it needs more work to understand few things, because I wonder now why it
> > is trying to connect to "SyncML Client" and not to the server as expected
> > and then it says "org.bluez.Profile1.Canceled, Canceled".
> >
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> > incoming connect from 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> > src/device.c:btd_device_add_uuid() device fujitsu, uuid
> > 0002--1000-8000-0002ee02
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_ref()
> > 0x1fa120: ref=2
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> > SyncML Client authorizing connection from 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_auth()
> > 00:11:22:33:44:55 authorized to connect to SyncML Client
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_connect()
> > SyncML Client connected to 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> > 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> > disconnected -> connecting (0)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: SyncML Client replied with an
> > error: org.bluez.Profile1.Canceled, Canceled
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> > 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> > connecting -> disconnected (-111)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> > src/device.c:device_profile_connected() SyncML Client Connection refused
> > (111)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_unref()
> > 0x1fa120: ref=1
> >
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-10 Thread Tone Kastlunger
Perhaps the exposed bt profile of the syncml client matches first?

On Tue, Jul 9, 2019 at 11:51 PM deloptes  wrote:
>
> Tone Kastlunger wrote:
>
> > If syncevolution works fine with n9, sfos should be working fine with it
> > too?
> >
>
> In theory yes. The problem is that many things changed since N9 on the
> mobile side. We have bluez5 and bluez5-obex and openobex. Bluez5 changed
> dramatically from bluez4 and code must be rewritten on many places, but the
> SyncML protocol itself did not change, so if you can make the two devices
> talk to each other, syncml should work as on N9.
>
> My question was related to the UUIDs used by Nokia and what is defined in
> the bueto-sync-plugins code. I went through some documents on the UUIDs and
> it requires more reading to understands how it all fits together, but from
> what I understand is that the vendor specific UUIDs are build on top of a
> generic base UUID defining the service.
>
> I've moved to working on the plugin side since yesterday and got so far that
> both "SyncML Server" and "SyncML Client" register and can be seen on the
> other side with sdptool browse:
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000b
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> Service Name: SyncML Server
> Service RecHandle: 0x1000c
> Service Class ID List:
>   UUID 128: 0001--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 26
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0001--1000-8000-0002ee01)
> Version: 0x0100
>
> But it needs more work to understand few things, because I wonder now why it
> is trying to connect to "SyncML Client" and not to the server as expected
> and then it says "org.bluez.Profile1.Canceled, Canceled".
>
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> incoming connect from 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> src/device.c:btd_device_add_uuid() device fujitsu, uuid
> 0002--1000-8000-0002ee02
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_ref()
> 0x1fa120: ref=2
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> SyncML Client authorizing connection from 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_auth()
> 00:11:22:33:44:55 authorized to connect to SyncML Client
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_connect()
> SyncML Client connected to 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> disconnected -> connecting (0)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: SyncML Client replied with an
> error: org.bluez.Profile1.Canceled, Canceled
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> connecting -> disconnected (-111)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> src/device.c:device_profile_connected() SyncML Client Connection refused
> (111)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_unref()
> 0x1fa120: ref=1
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-09 Thread Tone Kastlunger
If syncevolution works fine with n9, sfos should be working fine with it too?

Best,
tk

On Sun, Jul 7, 2019 at 12:22 AM deloptes  wrote:
>
> Hi,
>
> I was wondering if someone knows what exactly is hidden behind Nokia
> specific SyncML profiles. When I run
> sdptool browse 
>
>
> Service Name: Nokia SyncML Server
> Service RecHandle: 0x1000c
> Service Class ID List:
>   UUID 128: 5601--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 26
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x5601--1000-8000-0002ee01)
> Version: 0x0100
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000b
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> Service Name: Nokia OBEX PC Suite Services
> Service RecHandle: 0x10008
> Service Class ID List:
>   UUID 128: 5005--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 24
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x5005--1000-8000-0002ee01)
> Version: 0x0100
>
>
> When I run
> sdptool browse 
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000a
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> and probably the server with UUID 0001--1000-8000-0002ee01 on
> Channel 26
>
> I'm not sure which exactly Syncevolution is using but it has been working
> perfectly well with the N9 in the past 8y. I think it might have been using
> the OBEX thing as well.
>
> Does someone know what was behind those Nokia specific services
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived

2019-06-23 Thread Tone Kastlunger
It's been Juhannus weekend in Finland (mid-summer), there's no way you
will find anyone active on the
irc :)

Try again tomorrow or send a pm I'd say.

On Sun, Jun 23, 2019 at 2:34 AM deloptes  wrote:
>
> Slava Monich wrote:
>
> > AFAIK old merproject.org credentials should work at sailfishos.org. At
> > least mine did.
>
> I don't have any :) - looked yesterday and found the info - looked at IRC -
> silence - went to bed. (I actually pinged sage and lbt but no one
> answered.)
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived

2019-06-22 Thread Tone Kastlunger
> Looks like merproject is closed.

Hmm? Havent heard of this; it's available at git.sailfishos.org ;
You will have to ping lbt on irc to get an accoutn tho (as per
instructions on the
website "In the meantime, to get an account please contact lbt or sage
on #sailfishos on freenode IRC." )



On Sat, Jun 22, 2019 at 6:14 PM deloptes  wrote:
>
> Tone Kastlunger wrote:
>
> > Any source / patch available?
> > would be awesome to test it, have some contacts lingering in my Jolla
> > phone..
>
> Hi,
> as mentioned only fist part is kind of done. Second part is still to be
> done, but will take time as I have only ~1-2h/day free time.
>
> So far as mentioned the buteo-syncfw was patched. It seems buteo-syncml did
> not need any modifications, but I was looking since yesterday in
> buteo-sync-plugins and it looks like more work will be required there. In
> worst case couple of (complex) things need to be rewritten. An advice or
> discussion would be good.
> I would also enjoy sharing the code (and hopefully the work), but I do not
> know where to upload. Looks like merproject is closed.
> I was going to ask this anyway, so thank you in advance for the response.
> Also establishing a communication channel on the subject is good idea IMO.
> There are things I do not understand fully.
>
> regards
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived

2019-06-22 Thread Tone Kastlunger
Any source / patch available?
would be awesome to test it, have some contacts lingering in my Jolla phone..

On Fri, Jun 21, 2019 at 12:58 PM deloptes  wrote:
>
> Tone Kastlunger wrote:
>
> > Finally we might get contacts sync via BT \o/
> >
> > Good luck warrior!
> >
> > tortoisedoc
>
> God heard your prayers
>
> [14646]: [D] unknown:0 - BT adapter state powered:  true
> [14646]: [D] unknown:0 - Starting server plug-in: "syncml"
> [14646]: [D] unknown:0 - Starting oop plugin  "syncml"
> [14646]: [D] unknown:0 - Starting
> process  "/usr/lib/buteo-plugins-qt5//oopp/syncml-server"  with plugin
> name  "syncml"  and profile name  "syncml"
> syncml-server[16368]: [D] unknown:0 - BT manager init started
> syncml-server[16368]: [D] unknown:0 - New network state: true  New
> type:  "WLAN" ( 2 )
> syncml-server[16368]: [D] unknown:0 - Network status:
> syncml-server[16368]: [D] unknown:0 -  Online:: true
> syncml-server[16368]: [D] unknown:0 -  Connection:: 2
> syncml-server[16368]: [D] unknown:0 - attempting to register dbus
> service: "com.buteo.msyncd.plugin.syncml"
> syncml-server[16368]: [D] unknown:0 - Plugin  "syncml"  with
> profile  "syncml"  registered at dbus  "com.buteo.msyncd.plugin.syncml"
> and path  /
> syncml-server[16368]: [D] unknown:0 - BT default adapter
> path:  "/org/bluez/hci0"
> syncml-server[16368]: [D] unknown:0 - BT default adapter name:  "Xperia X"
> syncml-server[16368]: [D] unknown:0 - BT manager init done
>
> this is after going through buteo-syncfw and buteo-syncml. The latter did
> not need any changes, but I recompiled it just to be on the safe side.
>
> There will be some work with the actual plugins, but hopefully not much.
>
> regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SyncML topic revived

2019-06-08 Thread Tone Kastlunger
Finally we might get contacts sync via BT \o/

Good luck warrior!

tortoisedoc

On Sat, Jun 8, 2019 at 5:55 PM deloptes  wrote:
>
> Hi Slava,
>
>
> Slava Monich wrote:
>
> > Hi,
> >
> >> Hi,
> >> thank you for answering. I see both available in the SDK (I still have
> >> 3.0.2.28)
> >>
> >> kf5bluezqt-bluez5-5.24.0+git15-1.3.2.jolla.i486
> >> libbluez-qt5-0.1.26-1.3.2.jolla.i486
> >>
> >> but I can not find source for libbluez-qt5 on mer. I find a note in
> >> Changelog for SFOS 2.2.1
> >>
> >> Can someone point to the repo used?
> >
> >
> > https://git.merproject.org/mer-core/libbluez-qt
> >
> >
>
> thank you very much! I now see this is a library for bluez4. Thanks again!
>
>
> >> When I clone the source bluez-qt5 from KDE, I see that the the version is
> >> more mature than what is being used in kf5bluezqt-bluez5-5.24.0, but it
> >> also states dependency on Qt-5.10.
> >
> >
> > This could be a reasonable first step - to find out whether the latest
> > stuff really depends on Qt 5.10 or somebody was like "oh, I've just
> > switched to Qt 5.10, let's bump the dependency". I find it hard to
> > imagine that anything Qt 5.10 specific would be actually required by a
> > simple D-Bus wrapper.
> >
> >
>
> Hmm, yes indeed using the KDEs bluez-qt than what is in mer
> kf5bluezqt/bluez-qt seems to be of advantage. Perhaps kf5bluezqt/bluez-qt
> need to be lifted to KDEs bluez-qt one. It looks like they dropped support
> for bluez4 and added more features from bluez5.
> As it is coming from KDE, it might be that 5.10 is the version of Qt they
> are using. But indeed investigation is needed if it would work. This adds
> on top of what was originally intended :). However now at least the path is
> more or less clear kf5bluezqt/bluez-qt -> buteosyncfw ->
> buteo-sync-plugins. Wish me joy!
>
> >> Can you please comment on when new Qt version is expected? On the road
> >> map it says 5.9 will expire LST next year and we are stuck at 5.6. I know
> >> there was discussion in the past, but can't recall the details.
> >
> >
> > I don't know much about that either, just that it's a licensing/legal
> > issue. It's not technical.
> >
>
> Yes, indeed I recall reading the same, but was interested in what is planned
> for the future.
>
> Thanks and regards
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] qt upgrade

2019-02-10 Thread Tone Kastlunger
How about focussing on the 5.9 -> 5.12 transition instead?
if you start from the work of jolla, you will speed up the process.

tortoisedoc

On Sun, Feb 10, 2019 at 11:17 AM Alexander Akulich <
akulichalexan...@gmail.com> wrote:

> Hi,
>
> I experimented with a build in prefix in March 2018. I changed MER Qt
> build configuration to make it trivial to install an arbitrary number
> of versions simultaneously. I'll make PRs on git.merproject.org once
> Qt-5.9 support will be merged to master.
> There are two issues — wayland and virtual keyboard. I posted
> instruction in Sailfish OS Fan Club group in Telegram, here it is:
>
> >// Qt 5.9 for Sailfish OS (installed to /usr/lib/qt5.9 simultaneously to
> the system Qt)
> >// To install (root or privileged):
> >ssu ar qt-prefix-5.9
> http://repo.merproject.org/obs/home:/Kaffeine:/qt:/prefix:/5.9/latest_armv7hl
> >zypper ref qt-prefix-5.9
> >zypper in qt5.9-qtquickcontrols2-examples qt5.9-qtwayland
> >
> >// To remove (root or privileged):
> >zypper rm qt5.9*
> >
> >// To try out (nemo):
> >QT_SCALE_FACTOR=2 LD_LIBRARY_PATH=/usr/lib/qt5.9/lib
> /usr/lib/qt5.9/examples/quickcontrols2/gallery/gallery
> >
> >This is a very first success build, please do not expect much :).
> >
> >P.S.: Select Material style in the settings at the right top corner to
> make the demo a bit nicer.
>
> I also mostly built Qt-5.11, but it is not an LTS and IMO not as big
> step forward as 5.9, so I didn't evolve it.
>
> On Sat, Feb 9, 2019 at 8:44 PM rinigus  wrote:
> >
> > Hi,
> >
> > sounds like there are porting and licensing issues on the way of getting
> qt 5.9 for SFOS (see logs from the last #mer-meeting). Its all
> understandable, but it would be great to get a way forward. Not sure
> whether it has been considered by others and I wonder whether we can make a
> separate Qt 5.12 packages for /opt/qt512?
> >
> > From a quick test, it is possible to run non-silica applications as well
> (tested with qmlscene and QML with plain Window). In that test, even
> keyboard worked as expected. Look was non-native, but let it be for now.
> >
> > So, I wonder, whether its possible to get Qt 5.12 compiled with
> /opt/qt512 prefix and then use it for development using the latest libs
> (new web browser?) and collaborate with other mobile Linux'es out there. As
> far as I remember, Wayland was rather old and, maybe, it will preclude Qt
> 5.12 compilation. @mal, though, had a newer version around and it may serve
> a purpose for such project. Is there anything else that should be
> considered?
> >
> > Cheers,
> >
> > Rinigus
> >
> > PS: Please consider it as request-for-comment and not as any kind of
> statement nor call-for-action :)
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SFOS 3 public roadmap

2018-12-05 Thread Tone Kastlunger
> Yes, it's pre-community
s/Yes, it's pre-community/Yes, it's gecko / pre-quantum.

The main issue with servo is the wayland support currently:

https://github.com/servo/servo/issues/9558

Best,
tk
On Thu, Dec 6, 2018 at 7:19 AM Tone Kastlunger 
wrote:

> Yes, its pre-community.
> I strongly believe the need for a browser is extremely relevant.
> Compiling rust is not easy, currently blocked at 1.27, still a way to go
> to get to latest levels (see
>
> https://build.merproject.org/package/live_build_log/home:tortoisedoc:branches:home:sfietkonstantin:sailfish:rust/rust-1.27.2/
> )
>
> there's some llvm issue there, currently.
> It's not easy, but it seems to be possible, at least.
>
> Best,
> tk
>
> On Sat, Dec 1, 2018 at 9:18 PM E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com> wrote:
>
>> On which version of the mozilla engine is the browser currently based
>> (it's pre-quantum that much I remember)?
>> Wasn't there a community/mer project to update the browser?
>>
>> Op za 1 dec. 2018 om 17:21 schreef Trolli Schmittlauch <
>> t.schmittlauch...@orlives.de>:
>>
>>> Hi,
>>>
>>> > Anyway, when can I expect public roadmap to be published?
>>>
>>> I briefly asked this in the last community meeting [1], that was the
>>> answer:
>>>
>>> > 09:34:55  schmittlauch[m]: That is being worked on actually.
>>> There will be a roadmap pretty soon on the blog
>>>
>>> So it might be Jolla-soonish, but at least there are some concrete plans
>>> being worked on.
>>>
>>> > In particular I'm very interested in better browser
>>>
>>> But as others mentioned as well, I'm a bit skeptical whether we can see
>>> definitive plans for the browser on there. So let's see what the rest of
>>> this year brings.
>>>
>>> Best,
>>> schmittlauch
>>>
>>> [1] log:
>>> http://merproject.org/meetings/mer-meeting/2018/mer-meeting.2018-11-29-09.00.log.html
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SFOS 3 public roadmap

2018-12-05 Thread Tone Kastlunger
Yes, its pre-community.
I strongly believe the need for a browser is extremely relevant.
Compiling rust is not easy, currently blocked at 1.27, still a way to go to
get to latest levels (see
https://build.merproject.org/package/live_build_log/home:tortoisedoc:branches:home:sfietkonstantin:sailfish:rust/rust-1.27.2/
)

there's some llvm issue there, currently.
It's not easy, but it seems to be possible, at least.

Best,
tk

On Sat, Dec 1, 2018 at 9:18 PM E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com> wrote:

> On which version of the mozilla engine is the browser currently based
> (it's pre-quantum that much I remember)?
> Wasn't there a community/mer project to update the browser?
>
> Op za 1 dec. 2018 om 17:21 schreef Trolli Schmittlauch <
> t.schmittlauch...@orlives.de>:
>
>> Hi,
>>
>> > Anyway, when can I expect public roadmap to be published?
>>
>> I briefly asked this in the last community meeting [1], that was the
>> answer:
>>
>> > 09:34:55  schmittlauch[m]: That is being worked on actually.
>> There will be a roadmap pretty soon on the blog
>>
>> So it might be Jolla-soonish, but at least there are some concrete plans
>> being worked on.
>>
>> > In particular I'm very interested in better browser
>>
>> But as others mentioned as well, I'm a bit skeptical whether we can see
>> definitive plans for the browser on there. So let's see what the rest of
>> this year brings.
>>
>> Best,
>> schmittlauch
>>
>> [1] log:
>> http://merproject.org/meetings/mer-meeting/2018/mer-meeting.2018-11-29-09.00.log.html
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] is there any existing webapp framework?

2018-10-22 Thread Tone Kastlunger
Ah but but :
https://protonmail.com/bridge/install
They have a  linux beta.

On Mon, Oct 22, 2018 at 2:57 PM Tone Kastlunger 
wrote:

> Given they provide it for paying customers,
> it probably makes them believe  not to fit their business model.
>
> https://protonmail.com/bridge/
>
> I think this is just a 90's mentality towards software.
> *OR* they do not have infrastructure to support all the (eventual) clients.
>
> On Mon, Oct 22, 2018 at 9:05 AM juice via Devel <
> devel@lists.sailfishos.org> wrote:
>
>> dep kirjoitti lauantaina 20. lokakuuta 2018:
>> > said Tone Kastlunger:
>> >
>> > | I don't understand.
>> > | You say there's a x86 and a Mac version. Is code available?
>> >
>> > Nope. Only binaries. I've asked -- begged, actually -- for them to
>> > compile it for ARM, but no joy.
>> >
>>
>> I have no experience of Protonmail, in fact I had never heard of it
>> before and until I just now checked it out and I had no idea what is it
>> supposed to be good for; however it seems to be legit.
>>
>> The thing that smells bad here is their reluctance to release the imap
>> bridge as open source! Could it be that their encryption is not as
>> secure as it should be and they are ashamed of showing up the source?
>>
>> I'd stay away from that kind of provider.
>>
>>- juice -
>>
>> --
>> Sent from my Jollaphone
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] is there any existing webapp framework?

2018-10-22 Thread Tone Kastlunger
Given they provide it for paying customers,
it probably makes them believe  not to fit their business model.

https://protonmail.com/bridge/

I think this is just a 90's mentality towards software.
*OR* they do not have infrastructure to support all the (eventual) clients.

On Mon, Oct 22, 2018 at 9:05 AM juice via Devel 
wrote:

> dep kirjoitti lauantaina 20. lokakuuta 2018:
> > said Tone Kastlunger:
> >
> > | I don't understand.
> > | You say there's a x86 and a Mac version. Is code available?
> >
> > Nope. Only binaries. I've asked -- begged, actually -- for them to
> > compile it for ARM, but no joy.
> >
>
> I have no experience of Protonmail, in fact I had never heard of it
> before and until I just now checked it out and I had no idea what is it
> supposed to be good for; however it seems to be legit.
>
> The thing that smells bad here is their reluctance to release the imap
> bridge as open source! Could it be that their encryption is not as
> secure as it should be and they are ashamed of showing up the source?
>
> I'd stay away from that kind of provider.
>
>- juice -
>
> --
> Sent from my Jollaphone
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] is there any existing webapp framework?

2018-10-20 Thread Tone Kastlunger
I don't understand.
You say there's a x86 and a Mac version. Is code available?


On Sat, Oct 20, 2018 at 5:15 PM dep  wrote:

> Good question. The ProtonMail Bridge is middleware, handling encryption
> and decryption. The user merely tells the client to use IMAP and particular
> nonstandard ports. So it ought to work with most anything. Except that
> there are only x86 and Mac versions. I think that the Linux version, if
> compiled for arm7, would work with SFOS, but there isn't one of those, so
> we're left with variations on webmail.
>
> Hence my hope of cooking up an app, webmail with notifications. The
> Android app sort of works -- I'm using it to write this -- but despite the
> usual hacks and kludges notifications don't work. And things like
> attachments, both ways, are kind of flaky. And I need to have a whole
> Android support system, just for ProtonMail, which kinda sucks.
>
> dep
>
> ProtonMail+Sailfish X+Sony Xperia X
> =Freedom from Googledroid evil
>
>
>
> ---- Original Message 
> On Oct 20, 2018, 9:58 AM, Tone Kastlunger < users.giulie...@gmail.com>
> wrote:
>
>
> One'd wonder if the current email client app would support plugins for
> mail provider-specific protocols?
>
> tortoisedoc
>
> On Sat, Oct 20, 2018 at 2:50 AM depscribe 
> wrote:
>
>> greetings. i've poked around in the archives a bit and haven't seen this,
>> so i thought i'd ask.
>>
>> it being unlikely that there will ever be a SFOS native app for
>> protonmail,
>> i hope -- despite a lack of skills: i don't know much and most of what i
>> know is wrong -- to cook up a webapp for it. there's an android app for
>> protonmail that runs under aliendalvik, but --
>>
>> -- it's an android app, and
>>
>> -- beyond that, it kind of sucks, and
>>
>> -- even with /usr/share/lipstick/androidnotificationpriorities hacked to
>> enable notifications, there are no notifications.
>>
>> protonmail is being really closed with such things as their bridge for
>> linux (which is in beta and which, mostly, works with standard email
>> clients; if they'd compile it for arm7 i suspect it would bring
>> protonmail
>> to the standard SFOS email app, but i think we'll never know). so a
>> webapp
>> seems the only way to bring a native app.
>>
>> rather than start from scratch, i'm hoping that there's already a
>> framework
>> that can be modified to make what amounts to a one-site browser with
>> notifications and downloads of attachments to ~/Downloads.
>>
>> does such a framework exist and, if so, where might i find it?
>>
>> thanks in advance.
>> --
>> dep
>>
>> Sent with ProtonMail Secure Email. Because privacy matters.
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] is there any existing webapp framework?

2018-10-20 Thread Tone Kastlunger
One'd wonder if the current email client app would support plugins for mail
provider-specific protocols?

tortoisedoc

On Sat, Oct 20, 2018 at 2:50 AM depscribe  wrote:

> greetings. i've poked around in the archives a bit and haven't seen this,
> so i thought i'd ask.
>
> it being unlikely that there will ever be a SFOS native app for
> protonmail,
> i hope -- despite a lack of skills: i don't know much and most of what i
> know is wrong -- to cook up a webapp for it. there's an android app for
> protonmail that runs under aliendalvik, but --
>
> -- it's an android app, and
>
> -- beyond that, it kind of sucks, and
>
> -- even with /usr/share/lipstick/androidnotificationpriorities hacked to
> enable notifications, there are no notifications.
>
> protonmail is being really closed with such things as their bridge for
> linux (which is in beta and which, mostly, works with standard email
> clients; if they'd compile it for arm7 i suspect it would bring protonmail
> to the standard SFOS email app, but i think we'll never know). so a webapp
> seems the only way to bring a native app.
>
> rather than start from scratch, i'm hoping that there's already a
> framework
> that can be modified to make what amounts to a one-site browser with
> notifications and downloads of attachments to ~/Downloads.
>
> does such a framework exist and, if so, where might i find it?
>
> thanks in advance.
> --
> dep
>
> Sent with ProtonMail Secure Email. Because privacy matters.
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Prompt from daemon

2018-02-24 Thread Tone Kastlunger
There's the "Kill this app?"  (dont remember the exact question) popup
question;
perhaps you could dig in the lipstick sources for it and see if you can
fish it out of Silica?

Best,
tortoisedoc

On Fri, Feb 23, 2018 at 12:15 PM, Adam Pigg  wrote:

> Hi
>
> Im looking for options to get a yes/no prompt from a daemon process,
> something like the BT pair popup ideally.
>
> So far, the only option i can think of is to use nemo notifications.
> After much trying, I finally managed to get a preview popup, and guess I
> should be able to change that to a timeout popup.  The only problem is that
> there can only be a single reply, so i'll have to have a click as a yes,
> and otherwise assume no.  It would be good if lipstick could support the
> desktop notification standard more fully with additional replies, as this
> is hinted at in the example docs (2 reply actions) but with a note
> underneath that lipstick only supports the 'default' reply.
>
> Another way, which im not sure is possible is to somehow invoke the system
> BT popup, is that possible?
>
> Then, there is how calendar notifications work, they have swipe up/down,
> how are they invoked?
>
> Finally, I could have a helper app invoked by the popup, but I think i'd
> rather go with a timeout in that case.
>
> Any other options?
>
> Adam
>
> ___
> 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] Compile without Scratchbox2 environment

2018-01-01 Thread Tone Kastlunger
You might want to look into OBS then rather than SB2.

Best,
tortoisedoc


On Sun, Dec 31, 2017 at 1:21 AM, Yuvraaj Kelkar <yuvr...@gmail.com> wrote:

> The plan is to package up each Sailfish target into a Docker image to be
> used in a CI system.
> For my purposes, Docker is a easy-to-use chroot that's also easy to share
> and deploy as compared to a virtual machine with a toolchain in sb2.
>
> I do know that sb2 is more than just a chroot with bind mounts, but thats
> all I really need: a pre-populated chroot with bind mounts. Docker fits
> that bill quite nicely.
>
> No, I don't want multiple targets in the same image.
> No, I don't need the management of multiple build targets within the same
> Docker image.
> I don't want any of the other sb2 features: I dont need Xephyr, I don't
> need to automagically run the compiled binary under qemu, etc.
>
> Necessity is the mother of this re-invention.
> Can you help?
>
> Thanks,
> -Yuvraaj
>
> On Sat, Dec 30, 2017 at 2:23 PM, Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> I have personally nothing against docker.
>> I think however what you are trying to do is a bit unusual, to say the
>> least.
>> Intending to use (at least as I understood it) docker as a substitute for
>> SB2 is "wrong" (if you pass me the word).
>> sb2 is more than "just" a virtualization layer bind-mounting directories.
>> It manages build targets, for one, which docker does not know about,
>> and never will. Yes, of course you can have a single docker image for a
>> single build target, with all the replica which comes with it;
>> or you can have one docker image with multiple toolchains / target envs;
>> but then you have rolled your own sb2.
>>
>> I cant but recall the words : those who do not understand Unix, are
>> doomed to reinvent it, poorly.
>>
>> Best,
>> tortoisedoc
>>
>> On Fri, Dec 22, 2017 at 10:09 AM, Yuvraaj Kelkar <yuvr...@gmail.com>
>> wrote:
>>
>>> 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 <
>>> users.giulie...@gmail.com> wrote:
>>>
>>>> Out of curiosity, what's blocking you from using scratchbox?
>>>>
>>>> On Fri, Dec 22, 2017 at 7:53 AM, Yuvraaj Kelkar <yuvr...@gmail.com>
>>>> 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.sailfi
>>>> shos.org
>>>>
>>>
>>>
>>> ___
>>> 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.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] Compile without Scratchbox2 environment

2017-12-30 Thread Tone Kastlunger
I have personally nothing against docker.
I think however what you are trying to do is a bit unusual, to say the
least.
Intending to use (at least as I understood it) docker as a substitute for
SB2 is "wrong" (if you pass me the word).
sb2 is more than "just" a virtualization layer bind-mounting directories.
It manages build targets, for one, which docker does not know about,
and never will. Yes, of course you can have a single docker image for a
single build target, with all the replica which comes with it;
or you can have one docker image with multiple toolchains / target envs;
but then you have rolled your own sb2.

I cant but recall the words : those who do not understand Unix, are doomed
to reinvent it, poorly.

Best,
tortoisedoc

On Fri, Dec 22, 2017 at 10:09 AM, Yuvraaj Kelkar <yuvr...@gmail.com> wrote:

> 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 <
> users.giulie...@gmail.com> wrote:
>
>> Out of curiosity, what's blocking you from using scratchbox?
>>
>> On Fri, Dec 22, 2017 at 7:53 AM, Yuvraaj Kelkar <yuvr...@gmail.com>
>> 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.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 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

Re: [SailfishDevel] Compile without Scratchbox2 environment

2017-12-21 Thread Tone Kastlunger
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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2017-12-21 Thread Tone Kastlunger
 I think the script in question (mb2 iirc ) you can patch; unfortunately,
then every vm upgrade you will loose the changes.

On Wed, Dec 20, 2017 at 11:38 AM, Dylan Van Assche via Devel <
devel@lists.sailfishos.org> wrote:

> Hi,
>
> Is it possible to increase the build speed of C++ apps in the Application
> SDK?
> I can asign more CPUs and RAM in the VM manager but it seems that the
> Application SDK builds applications with the -j1 MAKE flag (max 1 job).
>
> Is there anything I can do to increase the build speed? Big C++ apps like
> the browser take a lot of time.
>
> Kind regards,
> Dylan Van Assche
>
>
>
>
> ___
> 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] Playing audio on Sailfish (from qrc)

2017-09-25 Thread Tone Kastlunger
Have you tried against vanilla 5.6 qt?

On Mon, Sep 25, 2017 at 6:38 PM, Zoltán Lutor 
wrote:

> HI,
>
> I'm porting our game
> 
> from Android to Sailfish and faced one issue: game audio does not play.
>
> [W] unknown:0 - defaultServiceProvider::requestService(): no service
> found for - "org.qt-project.qt.mediaplayer"
>
> Solution was OK on Android with Qt 5.9: http://doc.qt.io/qt-5/qml-
> qtmultimedia-audio.html
> Any suggestion/working example?
>
> Br,
>
> Zoltan@FORFICTIONmobile
>
>
>
> ___
> 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] exclude requires from rpm: libstdc++

2017-09-18 Thread Tone Kastlunger
It seems you have 5 different std lib's.
Find out what is linking them (my guess is different components/libraries),
change all to one and compile.
If that is not possible, specify all the libs one by one with full names in
the spec file.

That's my 2cents

On Mon, Sep 18, 2017 at 12:10 PM, rinigus  wrote:

> Bump. Any takers (see below)? Would really help me out with mess induced
> by https://build.merproject.org/package/show/home:rinigus:
> maps/mapbox-demo-sfos at the corresponding repo.
>
> Rinigus
>
> On Sat, Sep 16, 2017 at 10:17 AM, rinigus  wrote:
>
>> Hi,
>>
>> I have a trouble with excluding libstdc++ requirements from RPM. In my
>> case, I compile the code with gcc-6.4 and include libstdc++ as an
>> app-shipped library through /usr/share/appname/lib . Maybe someone could
>> help to construct exclude define - I didn't managed to cure the
>> requirements in spec using macro section
>>
>>
>> %define __provides_exclude_from ^%{_datadir}/.*$
>>
>> %define __requires_exclude ^libstdc*$
>>
>>
>> Not sure what I am doing wrong in this case. It would really speed me up
>> if I can get over this bump. RPM checker errors are:
>>
>>
>> ERROR [libstdc++.so.6(CXXABI_1.3.8)] Cannot require shared library:
>> 'libstdc++.so.6(CXXABI_1.3.8)'
>>
>> ERROR [libstdc++.so.6(CXXABI_1.3.9)] Cannot require shared library:
>> 'libstdc++.so.6(CXXABI_1.3.9)'
>>
>> ERROR [libstdc++.so.6(GLIBCXX_3.4.20)] Cannot require shared library:
>> 'libstdc++.so.6(GLIBCXX_3.4.20)'
>>
>> ERROR [libstdc++.so.6(GLIBCXX_3.4.21)] Cannot require shared library:
>> 'libstdc++.so.6(GLIBCXX_3.4.21)'
>>
>> ERROR [libstdc++.so.6(GLIBCXX_3.4.22)] Cannot require shared library:
>> 'libstdc++.so.6(GLIBCXX_3.4.22)'
>>
>>
>> Please note that, at this stage, I would prefer to ship libstdc++ lib
>> version with the application.
>>
>>
>> Cheers,
>>
>>
>> Rinigus
>>
>
>
> ___
> 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] QtLocation | Qt 5.6

2017-08-23 Thread Tone Kastlunger
@rinigus, drop it as a topic in the meeting thread

https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

On Wed, Aug 23, 2017 at 9:56 AM, rinigus <rinigus@gmail.com> wrote:

> Hi,
>
> it would be great to get update on the state of QtLocation 5.6. As
> suggested by Chris, *"veskuh would be the best person to describe our
> intent going forward, and possible roadmap for updating"*. In particular,
> for people working on map and navigation apps, would be good to know
>
> * Has Jolla decided whether they want to work on QtLocation/5.6?
>
> * If its decided that its impossible to include QtLocation due to
> licensing issues, can the community help to provide the QtLocation via our
> packages?
>
> * If you just haven't had time for working on QtLocation 5.6, how can we
> help and where should we start?
>
> One of the questions posted earlier (Jul 7) on whether Jolla started
> working on it was already replied by Chris (No).
>
> Best wishes,
>
> Rinigus
>
>
> On Thu, Aug 3, 2017 at 8:39 AM, rinigus <rinigus@gmail.com> wrote:
>
>> Morning,
>>
>> this is to bump the thread with the hope of getting a reply regarding
>> QtLocation status and plans.
>>
>> Cheers,
>>
>> Rinigus
>>
>> On Thu, Jul 13, 2017 at 9:08 AM, rinigus <rinigus@gmail.com> wrote:
>>
>>> Hi Chris,
>>>
>>> thank you very much for an update. Looking forward for veskuh's reply
>>> and, hopefully, we can move forward with this API as well.
>>>
>>> Cheers,
>>>
>>> Rinigus
>>>
>>> On Thu, Jul 13, 2017 at 3:40 AM, Chris Adams <chris.ad...@jolla.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I think veskuh will be the best to answer these questions.
>>>>
>>>> Currently, I don't think any work has gone toward upgrading QtLocation
>>>> to version 5.6 yet, as we're busy with other projects.  Originally the
>>>> decision to not take QtLocation 5.6 into use along with the rest of the Qt
>>>> 5.6 libs was, I believe, because of the different licensing of QtLocation.
>>>> I think veskuh would be the best person to describe our intent going
>>>> forward, and possible roadmap for updating.
>>>>
>>>> Best regards,
>>>> Chris.
>>>>
>>>>
>>>> --
>>>> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of
>>>> rinigus [rinigus@gmail.com]
>>>> *Sent:* Friday, July 07, 2017 6:04 PM
>>>> *To:* Sailfish OS Developers
>>>> *Subject:* Re: [SailfishDevel] QtLocation | Qt 5.6
>>>>
>>>> Hi,
>>>>
>>>> it has been rather quiet regarding QtLocation 5.6 during the "first
>>>> quarter of 2017" (see earlier emails in this thread). I would like to
>>>> continue my work on navigation/mapping solutions for SFOS and the
>>>> uncertainty regarding QtLocation is just slowing everything down and lead
>>>> to major inefficiency in the development of this important aspect of SFOS.
>>>>
>>>> I would like to know what is the state of QtLocation and its future in
>>>> SFOS. From the activity in https://git.merproject.org/mer
>>>> -core/qtlocation/activity
>>>> <http://redir.aspx?REF=zWm_Sf04kBkJblyUyNjvCqS4mOnF1wFPhx6A68AtZy0LC5Moh8nUCAFodHRwczovL2dpdC5tZXJwcm9qZWN0Lm9yZy9tZXItY29yZS9xdGxvY2F0aW9uL2FjdGl2aXR5>
>>>> I conclude that the developers working on it are @chriadam, @pvuorela,
>>>> @xfade, Slava Monich, and @msmirnov. Maybe some of you can take time and
>>>> reply. In particular:
>>>>
>>>> * Has any work started on upgrading QtLocation to 5.6?
>>>>
>>>> * Has Jolla decided whether they want to work on QtLocation/5.6?
>>>>
>>>> * If its decided that its impossible to include QtLocation due to
>>>> licensing issues, can the community help to provide the QtLocation via our
>>>> packages?
>>>>
>>>> * If you just haven't had time for working on QtLocation 5.6, how can
>>>> we help and where should we start?
>>>>
>>>> It looks to me that QtLocation is the component that is pushed for map
>>>> applications development. I presume that it would be wise to use it as well
>>>> and not waste time to re-invent something similar. Or is there anything
>>>> considerably better and we should w

Re: [SailfishDevel] OBS questions

2017-08-02 Thread Tone Kastlunger
Out of curiosity, are you running mapnik server on SFOS? :P

On Sat, Jul 29, 2017 at 6:58 PM, rinigus  wrote:

> Looks like I found the solution for rpmlint errors using RpmLintIgnore.
> Sorry for the noise and enjoy the weekend,
>
> Rinigus
>
> On Sat, Jul 29, 2017 at 4:43 PM, rinigus  wrote:
>
>> Sorry, the corresponding error was
>>
>> harbour-osmscout-server-module-route.i486: E: 
>> arch-dependent-file-in-usr-share (Badness: 590) 
>> /usr/share/harbour-osmscout-server-module-route/lib/libicuuc.so.52
>>
>>
>> Rinigus
>>
>> On Sat, Jul 29, 2017 at 3:00 PM, rinigus  wrote:
>>
>>> Hi,
>>>
>>> looks like Mapnik issue is induced by a bug in tar_git script and I hope
>>> it will be resolved.
>>>
>>> I have a next issue while compiling one of the programs. Namely, to
>>> comply with Jolla Store rules, I include all required "non-standard"
>>> libraries into /usr/share of the program. This seems to upset rpmlint a
>>> great deal, as in
>>>
>>> harbour-osmscout-server-module-route.i486: E: 
>>> library-without-ldconfig-postun (Badness: 300) 
>>> /usr/share/harbour-osmscout-server-module-route/lib/libicuuc.so.52
>>>
>>> Any idea how to get rpmlint skip those "errors" and publish the package?
>>>
>>> Best wishes,
>>>
>>> Rinigus
>>>
>>> On Thu, Jul 27, 2017 at 11:57 PM, rinigus  wrote:
>>>
 Hi,

 I have been able to follow your advice and all worked quite nicely.
 However, one particular package - mapnik - has issues with fetching the
 sources. The _service is configured to fetch package using tar_git from
 https://github.com/rinigus/pkg-mapnik . I presume its due to the size
 of the submoduled repo (160MB). Anyway, I am getting *Sources could
 not be expanded: service daemon error: rpc timeout *from the friendly
 OBS builders. Do I hit some preconfigured OBS limits? Would love to avoid
 dumping Mapnik code in particular version to some additional repo for
 avoiding the limits (as well as uploading mapnik separately in tar.gz).

 Maybe someone next to OBS tuning knobs can help me out?

 Additional question, what's max RAM consumption on compiling nodes?
 Mapnik has required me to increase SDK virtual machine RAM allocation
 significantly.

 Best  wishes,

 Rinigus

 On Wed, Jul 26, 2017 at 10:54 AM, rinigus 
 wrote:

> Андрей and Andrew,
>
> thank you for the tips! I think I can manage now (or will be back with
> the questions).
>
> Cheers,
>
> Rinigus
>
> On Wed, Jul 26, 2017 at 10:36 AM, Andrew Branson <
> andrew.bran...@jollamobile.com> wrote:
>
>> Hi,
>>
>> On 26/07/17 09:24, rinigus wrote:
>> > Hi,
>> >
>> > I am working on getting ported packages to OBS and facing few
>> problems,
>> > as probably most of the beginners do. Maybe someone here can help
>> me out?
>> >
>> > Problem 1: I have a bunch of packages that have external source and
>> rpm
>> > spec written in a small separate project. Let's take rrdtool as an
>> > example with my github repo https://github.com/rinigus/pkg-rrdtool
>> . Its
>> > spec contains source as a full URL. Now, I would like to download it
>> > from that URL by OBS either during building or as a part of its
>> > _service. Unfortunately, unlike in several other CI servers, network
>> > seems to be disabled. So, the snippet in RPM as
>> >
>> > %setup -q -n %{name}-%{version}
>> > curl -O %{REMSOURCE0}
>> > tar zxvf rrdtool-1.5.6.tar.gz --strip-components=1
>> >
>> > doesn't work (ifconfig returns only loopback device). We also don't
>> have
>> > download_files among allowed _service APIs, as returned by osc api
>> > /service. Maybe this can be enabled on OBS? As far as I understand,
>> it
>> > should download all sources specified in the spec file. Personally,
>> I
>> > find it rather disturbing putting .tar.gz into github project and
>> would
>> > prefer getting the upstream package from the upstream source.
>>
>> We reference external sources as git submodules. The 'tar_git'
>> service will clone those along with your main repo. Our basic pattern is
>> this plus patch files in the rpm folder to apply any specific changes we
>> need.
>>
>> Here's an example: https://git.merproject.org/mer-core/augeas
>> And the _service file:
>> https://build.merproject.org/package/show/mer-core:devel/augeas
>>
>> > Problem 2: When creating package from github source (like for
>> proj.4 in
>> > my case), I get as a version of packaged RPM the version that I
>> > specified together with (what looks like) git's latest commit
>> signature
>> > together with the corresponding branch name leading to package names
>> > like
>> > 

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-05 Thread Tone Kastlunger
Okay;
there has been a rewrite for bearer plugin, has that helped in any way?

On Wed, May 3, 2017 at 2:46 AM, Lorn Potter  wrote:

>
>
> On 01/05/17 19:16, Slava Monich wrote:
> > Basically, QNetworkAccessManager is sometimes stuck in NotAccessible
> > state after switching from mobile data to wifi.
>
> > My theory was that
> > configurationChanged, onlineStateChanged and networkSessionStateChanged
> > (queued) signals from the past were getting mixed with the current state
> > (which was checked directly) in such a way that
> > QNetworkAccessManagerPrivate online state remained false even though
> > connman service was getting successfully connected.
>
> This is all from memory, but...
>
> The cell network 'disconnected' can come in after wifi has been
> established, but before all wifi settings are available so QNAM
> configuration cannot be 'active'. connman manager can send a 'services
> updated' signal before the service object has actually been updated
> internally. so the bearer plugin goes to check it and the properties of
> that service are not yet updated.
>
> and then, wpa/connman can also 'remove' an AP when it really is around,
> even in the middle of connecting.
>
> As well, connman's 'ready' and 'online' are both equivalent to
> QNAMConfiguration::Active. 'ready' does not guarantee that internet can
> be reached, and 'online' check can easily fail.
>
>
> I am sure there are other intricacies I am forgetting, but the
> interactions are quite complicated, so it's not an easy bug to fix.
> Even if you remove the whole 'manually setting NetworkAccessible' to
> notAccessible.
> ___
> 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] Qt Network: "Network access is disabled" after network change

2017-05-01 Thread Tone Kastlunger
Thanks for the quick reply;
I was actually hoping to collect some more background intel on this issue.


On Sun, Apr 30, 2017 at 10:56 PM, Slava Monich 
wrote:

> Unfortunately, no, it's an internal bug. If you would like to be notified
> via email about a potential fix, you could watch qtbase pull requests -
> those are quite rare, it shouldn't be too much of a spam.
>
> Cheers,
> -Slava
>
>
>
> Hi Slava;
> is there a MER bug for this?
>
> tortoisedoc
>
> On Sun, Apr 23, 2017 at 11:33 AM, Slava Monich 
> wrote:
>
>> Network status detection in Qt 5.6 is unreliable when the system is
>> switching between wifi and mobile data. That results in
>> QNetworkAccessManager sometimes thinking that network access is disabled
>> when in fact the device is online. At some point I attempted to fix it (
>> https://git.merproject.org/mer-core/qtbase/commit/8122f32a) however that
>> only eliminated one particular scenario of failure and reduced the
>> probability. But it's still happening. As I understood it's a random thing
>> (race condition) triggered by two connman services changing their status
>> more or less simultaneously.
>>
>> Jolla's Weather app also uses XmlListModel and suffers from the same
>> issue.
>>
>> Nobody at Jolla is actively working on it at the moment, our resources
>> are limited these days. If somebody has an idea how to fix it, feel free to
>> submit a pull request against mer-5.6 branch (
>> https://git.merproject.org/mer-core/qtbase/commits/mer-5.6).
>>
>> Best regards,
>> -Slava
>>
>>
>> Hi,
>>>
>>> The same happens in my Rush hour app available in OpenRepos. My only
>>> connection to network is via QtQuick.XmlListModel 2.0. I am using Jolla C
>>> and the latest Iijoki 2.1.0.11
>>>
>>> https://github.com/Rikujolla/trafficviewer/issues/2
>>>
>>> Best regards, Riku
>>>
>>> Sebastian Wolf kirjoitti sunnuntai 23. huhtikuuta 2017:
>>>
 Hi colleagues,
   some users of my application Piepmatz are reporting network issues
 when their
 device network connection changes from WiFi to Cellular and vice versa.
 I
 couldn't reproduce it so far with my FP2 on 2.0.5. As I'm only using
 standard Qt
 Network classes to access the internet and no own network detection and
 especially that not only my application is affected, it could possibly
 be
 something in 2.1 itself. For some details see GitHub issue
 https://github.com/Wunderfitz/harbour-piepmatz/issues/11
   Didn't find anything with a quick search on together.jolla.com, so
 does somebody
 of you know something about such an issue?
   Thanks for any hints and best regards, Sebastia

>>>
>> ___
>> 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-unsubscr...@lists.sailfishos.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] Qt Network: "Network access is disabled" after network change

2017-04-30 Thread Tone Kastlunger
Hi Slava;
is there a MER bug for this?

tortoisedoc

On Sun, Apr 23, 2017 at 11:33 AM, Slava Monich 
wrote:

> Network status detection in Qt 5.6 is unreliable when the system is
> switching between wifi and mobile data. That results in
> QNetworkAccessManager sometimes thinking that network access is disabled
> when in fact the device is online. At some point I attempted to fix it (
> https://git.merproject.org/mer-core/qtbase/commit/8122f32a) however that
> only eliminated one particular scenario of failure and reduced the
> probability. But it's still happening. As I understood it's a random thing
> (race condition) triggered by two connman services changing their status
> more or less simultaneously.
>
> Jolla's Weather app also uses XmlListModel and suffers from the same issue.
>
> Nobody at Jolla is actively working on it at the moment, our resources are
> limited these days. If somebody has an idea how to fix it, feel free to
> submit a pull request against mer-5.6 branch (
> https://git.merproject.org/mer-core/qtbase/commits/mer-5.6).
>
> Best regards,
> -Slava
>
>
> Hi,
>>
>> The same happens in my Rush hour app available in OpenRepos. My only
>> connection to network is via QtQuick.XmlListModel 2.0. I am using Jolla C
>> and the latest Iijoki 2.1.0.11
>>
>> https://github.com/Rikujolla/trafficviewer/issues/2
>>
>> Best regards, Riku
>>
>> Sebastian Wolf kirjoitti sunnuntai 23. huhtikuuta 2017:
>>
>>> Hi colleagues,
>>>   some users of my application Piepmatz are reporting network issues
>>> when their
>>> device network connection changes from WiFi to Cellular and vice versa. I
>>> couldn't reproduce it so far with my FP2 on 2.0.5. As I'm only using
>>> standard Qt
>>> Network classes to access the internet and no own network detection and
>>> especially that not only my application is affected, it could possibly be
>>> something in 2.1 itself. For some details see GitHub issue
>>> https://github.com/Wunderfitz/harbour-piepmatz/issues/11
>>>   Didn't find anything with a quick search on together.jolla.com, so
>>> does somebody
>>> of you know something about such an issue?
>>>   Thanks for any hints and best regards, Sebastia
>>>
>>
> ___
> 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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Project Halium : collaboration on common android base

2017-04-18 Thread Tone Kastlunger
Hi Bhushan;
what is wrong with using MER?

Best,
tortoisedoc

On Sun, Apr 16, 2017 at 7:03 AM, Bhushan Shah  wrote:

> Hello everyone,
>
> To introduce, I am Bhushan Shah from KDE, Plasma Mobile maintainer and in
> CC:
> Marius Gripsgård, is founder and maintainer of project UBports, Toxip is
> part of
> Sailfish OS Fan Club group on telegram.
>
> Earlier it was suggested to our projects that we should collaborate with
> other
> communities working on making GNU/Linux available to android phones, and
> that
> idea made lot of sense to us. Below is some details about the current
> situation
> and how this idea aims to solve it.
>
> Currently Ubuntu Touch, SailfishOS/Mer, Plasma Mobile and others have
> different
> android source trees and methods on how our stacks are built. There is lot
> of
> fragmentation on the following areas,
>
> - Android source tree
> - How android init is started (droid-hal-init vs lxc container vs chroot
> etc..)
> - How images are flashed to device, (flash cm first v/s flash system
> directly)
> - ...
>
> But ideally these parts wouldn’t need to be separate, because we all have
> the
> same goal in the end. Each OS make use of android binary drivers using
> projects
> like libhybris, ofono, libcamera, audioflinger glue etc.
>
> Instead of being fragmented and everyone having to do the same job in a
> different way we have come up with idea to have a common base for all the
> OSs.
> The common base would include Linux kernel + Android HAL + libhybris shared
> between all the OSs. Less fragmentation would mean more common resources
> and
> would be a huge boon for porting efforts. This kind of approach would have
> the
> following benefits,
>
> - Shared porting effort, port once and use everywhere
> - More streamlined HAL
> - Makes it easier for other distributions to run on mobile devices
> - Common ground for communication between the different projects
>
> Currently this project idea is codenamed Halium. Overall idea for the
> project is
> drafted at the https://tinyurl.com/halium, and our communication channels
> are at
> matrix channel #halium:disroot.org or at IRC channel #halium@freenode or
> at
> telegram group https://t.me/halium. (All of these communication channels
> are
> bridged together, so you can choose whatever suits the best for you).
>
> If you’re interested in this kind of collaboration or have any comments or
> questions, please join one of our communications channels or reply to this
> message. We will be happy to answer to any kind of questions.
>
> We are looking forward to your feedback and collaboration.
> The Halium team
>
> --
> Bhushan Shah
> http://blog.bshah.in
> IRC Nick : bshah on Freenode
> GPG key fingerprint : 0AAC 775B B643 7A8D 9AF7 A3AC FE07 8411 7FBC E11D
>
> ___
> 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] QtLocation | Qt 5.6

2017-01-10 Thread Tone Kastlunger
I'd support this, not enough has been coming through at the meeting IMO to
have a clear yes/no answer.

Best,
tortoisedoc

On Mon, Jan 9, 2017 at 11:32 PM, Adam Pigg  wrote:

> I guess we need to wait for the internal review that was mentioned in the
> meeting, however it would be interesting to understand the issues jolla
> have with particular licenses for software included in sfos.
>
> On Mon, 9 Jan 2017 at 21:29 Osmo Salomaa  wrote:
>
>> On 09.01.2017 13:01, rinigus wrote:
>> > from reading the meeting transcript it seems that we still don't have
>> > straight answer regarding QtLocation 5.6 ("checking at the moment").
>>
>> They were not wordy, but my interpretation is that nothing has changed
>> regarding QtLocation being allowed in store apps once it's upgraded to a
>> stable release, i.e. >= 5.6. "Aiming to have solution for it in the first
>> quarter of 2017" doesn't sound too bad, I was worried we were at a dead end.
>>
>> > However, I don't see the changes in the source code indicating exclusive
>> > role of LGPLv3 among LGPL licenses. The LGPLv2.1 license is still there
>> for
>> > QtLocation module (see https://github.com/qt/qtlocation).
>>
>> Indeed. There's a license change commit in the source 2016-01-20, but
>> that's saying it would be from 5.7 onwards. And that commit is not in the
>> 5.6 branch.
>>
>> https://github.com/qt/qtlocation/commit/71dabb5dc330a47d91ee917ca60c87
>> 1a88e8a42a
>>
>> Reading various other unclear sources, I see 5.5, 5.6 and 5.7 all
>> mentioned for the change -- maybe it was pushed back a few times? I have
>> found no web page that would actually list the licenses under which Qt
>> modules are available. Can anyone from Jolla comment? Do you have better
>> information?
>>
>> --
>> Osmo Salomaa 
>> ___
>> 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-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Reminder] Sailfish OS Open Source Community Collaboration Meeting 9th of January 2017

2017-01-08 Thread Tone Kastlunger
I believe all that Qt says is already stated in the licensing acceptance
forms of the sdk (GLP3/LGPL3);
As I see it, LGPL3 is Cool with LGPLv2.1 (see FSF's tables); unless im
missing something.
Im no lawyer myself, tho, so my word counts only so much.


On Sun, Jan 8, 2017 at 10:24 PM, Adam Pigg  wrote:

> I wonder if its possible to get some input to that from the qt
> company/digia/kdab to prevent any possible confusion ?
>
> On Sun, 8 Jan 2017 at 20:14 Osmo Salomaa  wrote:
>
>> On 08.01.2017 16:57, James Noori wrote:
>> > So far there is only 1 topic announced and that usually means we are
>> going to postpone the meeting, but I am going to send this reminder out
>> instead and wait for more topics to get announced.
>>
>> I added "QtLocation and Qt 5.6 licensing in general".
>>
>> --
>> Osmo Salomaa 
>> ___
>> 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-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-03 Thread Tone Kastlunger
The writer probably intented "to use a library" as "to copy code from a
library";
Duh.

On Tue, Jan 3, 2017 at 2:08 PM, Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> Ah! Slava, the article you pointed at is wrong;
>
> Quoting :
>
> "The same incompatibility issue exists with LGPLv2.1 projects that want to
> use an LGPLv3 library. They *must* be upgraded to LGPLv3. "
> This statement is not true for LGPLv3, but for GPLv3 (according to FSF's
> compatibility matrix at least); I guess someone needs to do his home work :)
>
>
> On Tue, Jan 3, 2017 at 1:36 PM, Tone Kastlunger <users.giulie...@gmail.com
> > wrote:
>
>> Doesnt Qt Provide the choice for GPLv3 / LGPLv3?
>>
>> From the FSF compatibility matrix
>>
>> http://gplv3.fsf.org/dd3-faq
>>
>> it appears that only using GPLv3 library code in LGPLv2 and LGPLV2.1 is
>> cause for trouble (=forced upgrade to GPLv3);
>> but LGPLv3 seems ok.
>>
>> That said, this has been viewed with eyes of a non-lawyer :)
>>
>> tortoisedoc
>>
>>
>> On Tue, Jan 3, 2017 at 12:53 PM, Slava Monich <slava.mon...@jolla.com>
>> wrote:
>>
>>> I'm not a lawyer but apparently something is fundamentally wrong with
>>> LGPLv3. This sounds similar to what I heard about it:
>>> http://nmav.gnutls.org/2013/03/the-perils-of-lgplv3.html
>>>
>>> -Slava
>>>
>>>
>>>
>>> Even more detailed view : <http://www.ics.com/blog/changes-qt-licensing>
>>> http://www.ics.com/blog/changes-qt-licensing
>>>
>>> On Tue, Jan 3, 2017 at 11:58 AM, Tone Kastlunger <
>>> users.giulie...@gmail.com> wrote:
>>>
>>>> Weird,
>>>> http://doc.qt.io/qt-5/licensing.html from here only MIT / BSD-Style
>>>> licenses are mentioned.
>>>> Where's the issue there?
>>>>
>>>> tortoisedoc
>>>>
>>>> On Tue, Jan 3, 2017 at 11:46 AM, Rinigus < <rinigus@gmail.com>
>>>> rinigus@gmail.com> wrote:
>>>>
>>>>> Morning,
>>>>>
>>>>> Slava, would you mind to check out which licensing terms prevent
>>>>> QtLocation specifically? Or maybe someone else knows specifics? Is there
>>>>> any hope that the situation would change in future?
>>>>>
>>>>> I wonder whether all platforms are hit by it or whether Ubuntu Touch
>>>>> complies with the new terms and, as a result, has an advantage when
>>>>> compared to SFOS in this case.
>>>>>
>>>>> Best wishes,
>>>>>
>>>>> Rinigus
>>>>>
>>>>> On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
>>>>> > As far as I understand, QtLocation license terms have changed and
>>>>> that
>>>>> > prevents it from being upgraded to 5.6 which is its first stable
>>>>> > release. That's why it's not allowed and won't be allowed even after
>>>>> the
>>>>> > rest of Qt is upgraded to 5.6.
>>>>> >
>>>>> > Qt 5.6 is coming with the next update. Those modules that can't be
>>>>> > upgraded due to licensing restrictions will stay at 5.2.
>>>>> >
>>>>> > Cheers,
>>>>> > -Slava
>>>>> >
>>>>> >
>>>>> > > Hello Sailors!
>>>>> > >
>>>>> > > As I already told you, I am working on the Berlin Vegan guide for
>>>>> SailfishOS:
>>>>> > >
>>>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/tree/deve
>>>>> lopment>
>>>>> > >  <https://openrepos.net/content/micuintus/berlin-vegan>
>>>>> > >
>>>>> > > Recently, I added a map feature to the app:
>>>>> > >
>>>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/issues/41>
>>>>> > >
>>>>> > > But to my astonishment, I realized that using QtLocation is
>>>>> currently rejected
>>>>> > > by the Harbour RPM validator:
>>>>> > >
>>>>> > >> Requires
>>>>> > >> 
>>>>> > >> ERROR [libQt5Location.so.5] Cannot require shared library:
>>>>> > >> 'libQt5Location.so.5' ERROR [qt5-

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-03 Thread Tone Kastlunger
Ah! Slava, the article you pointed at is wrong;

Quoting :

"The same incompatibility issue exists with LGPLv2.1 projects that want to
use an LGPLv3 library. They *must* be upgraded to LGPLv3. "
This statement is not true for LGPLv3, but for GPLv3 (according to FSF's
compatibility matrix at least); I guess someone needs to do his home work :)


On Tue, Jan 3, 2017 at 1:36 PM, Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> Doesnt Qt Provide the choice for GPLv3 / LGPLv3?
>
> From the FSF compatibility matrix
>
> http://gplv3.fsf.org/dd3-faq
>
> it appears that only using GPLv3 library code in LGPLv2 and LGPLV2.1 is
> cause for trouble (=forced upgrade to GPLv3);
> but LGPLv3 seems ok.
>
> That said, this has been viewed with eyes of a non-lawyer :)
>
> tortoisedoc
>
>
> On Tue, Jan 3, 2017 at 12:53 PM, Slava Monich <slava.mon...@jolla.com>
> wrote:
>
>> I'm not a lawyer but apparently something is fundamentally wrong with
>> LGPLv3. This sounds similar to what I heard about it:
>> http://nmav.gnutls.org/2013/03/the-perils-of-lgplv3.html
>>
>> -Slava
>>
>>
>>
>> Even more detailed view : <http://www.ics.com/blog/changes-qt-licensing>
>> http://www.ics.com/blog/changes-qt-licensing
>>
>> On Tue, Jan 3, 2017 at 11:58 AM, Tone Kastlunger <
>> users.giulie...@gmail.com> wrote:
>>
>>> Weird,
>>> http://doc.qt.io/qt-5/licensing.html from here only MIT / BSD-Style
>>> licenses are mentioned.
>>> Where's the issue there?
>>>
>>> tortoisedoc
>>>
>>> On Tue, Jan 3, 2017 at 11:46 AM, Rinigus < <rinigus@gmail.com>
>>> rinigus@gmail.com> wrote:
>>>
>>>> Morning,
>>>>
>>>> Slava, would you mind to check out which licensing terms prevent
>>>> QtLocation specifically? Or maybe someone else knows specifics? Is there
>>>> any hope that the situation would change in future?
>>>>
>>>> I wonder whether all platforms are hit by it or whether Ubuntu Touch
>>>> complies with the new terms and, as a result, has an advantage when
>>>> compared to SFOS in this case.
>>>>
>>>> Best wishes,
>>>>
>>>> Rinigus
>>>>
>>>> On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
>>>> > As far as I understand, QtLocation license terms have changed and that
>>>> > prevents it from being upgraded to 5.6 which is its first stable
>>>> > release. That's why it's not allowed and won't be allowed even after
>>>> the
>>>> > rest of Qt is upgraded to 5.6.
>>>> >
>>>> > Qt 5.6 is coming with the next update. Those modules that can't be
>>>> > upgraded due to licensing restrictions will stay at 5.2.
>>>> >
>>>> > Cheers,
>>>> > -Slava
>>>> >
>>>> >
>>>> > > Hello Sailors!
>>>> > >
>>>> > > As I already told you, I am working on the Berlin Vegan guide for
>>>> SailfishOS:
>>>> > >
>>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/tree/deve
>>>> lopment>
>>>> > >  <https://openrepos.net/content/micuintus/berlin-vegan>
>>>> > >
>>>> > > Recently, I added a map feature to the app:
>>>> > >
>>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/issues/41>
>>>> > >
>>>> > > But to my astonishment, I realized that using QtLocation is
>>>> currently rejected
>>>> > > by the Harbour RPM validator:
>>>> > >
>>>> > >> Requires
>>>> > >> 
>>>> > >> ERROR [libQt5Location.so.5] Cannot require shared library:
>>>> > >> 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm]
>>>> Dependency not
>>>> > >> allowed
>>>> > >> ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
>>>> > >> ERROR [qt5-qtlocation] Dependency not allowed
>>>> > > Can you tell me why?
>>>> > >
>>>> > > QtLocation is listed to be available here
>>>> > >
>>>> > >  <https://sailfishos.org/wiki/Qt>
>>>> > >
>>>> > > and, apart from that, AFAIK Jolla was one of the main contributors
>>>> to

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-03 Thread Tone Kastlunger
Doesnt Qt Provide the choice for GPLv3 / LGPLv3?

>From the FSF compatibility matrix

http://gplv3.fsf.org/dd3-faq

it appears that only using GPLv3 library code in LGPLv2 and LGPLV2.1 is
cause for trouble (=forced upgrade to GPLv3);
but LGPLv3 seems ok.

That said, this has been viewed with eyes of a non-lawyer :)

tortoisedoc


On Tue, Jan 3, 2017 at 12:53 PM, Slava Monich <slava.mon...@jolla.com>
wrote:

> I'm not a lawyer but apparently something is fundamentally wrong with
> LGPLv3. This sounds similar to what I heard about it:
> http://nmav.gnutls.org/2013/03/the-perils-of-lgplv3.html
>
> -Slava
>
>
>
> Even more detailed view : <http://www.ics.com/blog/changes-qt-licensing>
> http://www.ics.com/blog/changes-qt-licensing
>
> On Tue, Jan 3, 2017 at 11:58 AM, Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> Weird,
>> http://doc.qt.io/qt-5/licensing.html from here only MIT / BSD-Style
>> licenses are mentioned.
>> Where's the issue there?
>>
>> tortoisedoc
>>
>> On Tue, Jan 3, 2017 at 11:46 AM, Rinigus < <rinigus@gmail.com>
>> rinigus@gmail.com> wrote:
>>
>>> Morning,
>>>
>>> Slava, would you mind to check out which licensing terms prevent
>>> QtLocation specifically? Or maybe someone else knows specifics? Is there
>>> any hope that the situation would change in future?
>>>
>>> I wonder whether all platforms are hit by it or whether Ubuntu Touch
>>> complies with the new terms and, as a result, has an advantage when
>>> compared to SFOS in this case.
>>>
>>> Best wishes,
>>>
>>> Rinigus
>>>
>>> On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
>>> > As far as I understand, QtLocation license terms have changed and that
>>> > prevents it from being upgraded to 5.6 which is its first stable
>>> > release. That's why it's not allowed and won't be allowed even after
>>> the
>>> > rest of Qt is upgraded to 5.6.
>>> >
>>> > Qt 5.6 is coming with the next update. Those modules that can't be
>>> > upgraded due to licensing restrictions will stay at 5.2.
>>> >
>>> > Cheers,
>>> > -Slava
>>> >
>>> >
>>> > > Hello Sailors!
>>> > >
>>> > > As I already told you, I am working on the Berlin Vegan guide for
>>> SailfishOS:
>>> > >
>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/tree/deve
>>> lopment>
>>> > >  <https://openrepos.net/content/micuintus/berlin-vegan>
>>> > >
>>> > > Recently, I added a map feature to the app:
>>> > >
>>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/issues/41>
>>> > >
>>> > > But to my astonishment, I realized that using QtLocation is
>>> currently rejected
>>> > > by the Harbour RPM validator:
>>> > >
>>> > >> Requires
>>> > >> 
>>> > >> ERROR [libQt5Location.so.5] Cannot require shared library:
>>> > >> 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm] Dependency
>>> not
>>> > >> allowed
>>> > >> ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
>>> > >> ERROR [qt5-qtlocation] Dependency not allowed
>>> > > Can you tell me why?
>>> > >
>>> > > QtLocation is listed to be available here
>>> > >
>>> > >  <https://sailfishos.org/wiki/Qt>
>>> > >
>>> > > and, apart from that, AFAIK Jolla was one of the main contributors
>>> to the
>>> > > QtLocation module.
>>> > >
>>> > >
>>> > >
>>> > > Furthermore, I noticed that some features of the QML Map object seem
>>> to be
>>> > > broken or missing at the moment:
>>> > >
>>> > >  * fitViewportToMapItems() does not have an effect
>>> > >  * 'preventStealing' is not available
>>> > >  * etc.
>>> > >
>>> > > Will these features be available and work once Qt is updated to 5.6?
>>> > > Will QtLocation be allowed for harbour store apps
>>> > > once Qt 5.6 is (officially) available for Sailfish?
>>> > >
>>> > > And when can I expect Qt 5.6 to be released for SailfishOS? ;)
>>> > >
>>> > > Cheers,
>>> > > micu
>>> > >
>>> > > PS: Happy new year to everyone!
>>> >
>>> > ___
>>> > SailfishOS.org Devel mailing list
>>> > To unsubscribe, please send a mail to <devel-unsubscribe@lists.sailfi>
>>> devel-unsubscr...@lists.sailfishos.or
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to <devel-unsubscribe@lists.sailfi>
>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.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] QtLocation | Qt 5.6

2017-01-03 Thread Tone Kastlunger
Even more detailed view : http://www.ics.com/blog/changes-qt-licensing

On Tue, Jan 3, 2017 at 11:58 AM, Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> Weird,
> http://doc.qt.io/qt-5/licensing.html from here only MIT / BSD-Style
> licenses are mentioned.
> Where's the issue there?
>
> tortoisedoc
>
> On Tue, Jan 3, 2017 at 11:46 AM, Rinigus <rinigus@gmail.com> wrote:
>
>> Morning,
>>
>> Slava, would you mind to check out which licensing terms prevent
>> QtLocation specifically? Or maybe someone else knows specifics? Is there
>> any hope that the situation would change in future?
>>
>> I wonder whether all platforms are hit by it or whether Ubuntu Touch
>> complies with the new terms and, as a result, has an advantage when
>> compared to SFOS in this case.
>>
>> Best wishes,
>>
>> Rinigus
>>
>> On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
>> > As far as I understand, QtLocation license terms have changed and that
>> > prevents it from being upgraded to 5.6 which is its first stable
>> > release. That's why it's not allowed and won't be allowed even after the
>> > rest of Qt is upgraded to 5.6.
>> >
>> > Qt 5.6 is coming with the next update. Those modules that can't be
>> > upgraded due to licensing restrictions will stay at 5.2.
>> >
>> > Cheers,
>> > -Slava
>> >
>> >
>> > > Hello Sailors!
>> > >
>> > > As I already told you, I am working on the Berlin Vegan guide for
>> SailfishOS:
>> > >
>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/tree/deve
>> lopment>
>> > >  <https://openrepos.net/content/micuintus/berlin-vegan>
>> > >
>> > > Recently, I added a map feature to the app:
>> > >
>> > >  <https://github.com/micuintus/harbour-Berlin-Vegan/issues/41>
>> > >
>> > > But to my astonishment, I realized that using QtLocation is currently
>> rejected
>> > > by the Harbour RPM validator:
>> > >
>> > >> Requires
>> > >> 
>> > >> ERROR [libQt5Location.so.5] Cannot require shared library:
>> > >> 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm] Dependency
>> not
>> > >> allowed
>> > >> ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
>> > >> ERROR [qt5-qtlocation] Dependency not allowed
>> > > Can you tell me why?
>> > >
>> > > QtLocation is listed to be available here
>> > >
>> > >  <https://sailfishos.org/wiki/Qt>
>> > >
>> > > and, apart from that, AFAIK Jolla was one of the main contributors to
>> the
>> > > QtLocation module.
>> > >
>> > >
>> > >
>> > > Furthermore, I noticed that some features of the QML Map object seem
>> to be
>> > > broken or missing at the moment:
>> > >
>> > >  * fitViewportToMapItems() does not have an effect
>> > >  * 'preventStealing' is not available
>> > >  * etc.
>> > >
>> > > Will these features be available and work once Qt is updated to 5.6?
>> > > Will QtLocation be allowed for harbour store apps
>> > > once Qt 5.6 is (officially) available for Sailfish?
>> > >
>> > > And when can I expect Qt 5.6 to be released for SailfishOS? ;)
>> > >
>> > > Cheers,
>> > > micu
>> > >
>> > > PS: Happy new year to everyone!
>> >
>> > ___
>> > SailfishOS.org Devel mailing list
>> > To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.or
>> ___
>> 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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-03 Thread Tone Kastlunger
Weird,
http://doc.qt.io/qt-5/licensing.html from here only MIT / BSD-Style
licenses are mentioned.
Where's the issue there?

tortoisedoc

On Tue, Jan 3, 2017 at 11:46 AM, Rinigus  wrote:

> Morning,
>
> Slava, would you mind to check out which licensing terms prevent
> QtLocation specifically? Or maybe someone else knows specifics? Is there
> any hope that the situation would change in future?
>
> I wonder whether all platforms are hit by it or whether Ubuntu Touch
> complies with the new terms and, as a result, has an advantage when
> compared to SFOS in this case.
>
> Best wishes,
>
> Rinigus
>
> On Tue Jan 3 10:20:55 2017 GMT+0100, Slava Monich wrote:
> > As far as I understand, QtLocation license terms have changed and that
> > prevents it from being upgraded to 5.6 which is its first stable
> > release. That's why it's not allowed and won't be allowed even after the
> > rest of Qt is upgraded to 5.6.
> >
> > Qt 5.6 is coming with the next update. Those modules that can't be
> > upgraded due to licensing restrictions will stay at 5.2.
> >
> > Cheers,
> > -Slava
> >
> >
> > > Hello Sailors!
> > >
> > > As I already told you, I am working on the Berlin Vegan guide for
> SailfishOS:
> > >
> > >   development>
> > >  
> > >
> > > Recently, I added a map feature to the app:
> > >
> > >  
> > >
> > > But to my astonishment, I realized that using QtLocation is currently
> rejected
> > > by the Harbour RPM validator:
> > >
> > >> Requires
> > >> 
> > >> ERROR [libQt5Location.so.5] Cannot require shared library:
> > >> 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm] Dependency
> not
> > >> allowed
> > >> ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
> > >> ERROR [qt5-qtlocation] Dependency not allowed
> > > Can you tell me why?
> > >
> > > QtLocation is listed to be available here
> > >
> > >  
> > >
> > > and, apart from that, AFAIK Jolla was one of the main contributors to
> the
> > > QtLocation module.
> > >
> > >
> > >
> > > Furthermore, I noticed that some features of the QML Map object seem
> to be
> > > broken or missing at the moment:
> > >
> > >  * fitViewportToMapItems() does not have an effect
> > >  * 'preventStealing' is not available
> > >  * etc.
> > >
> > > Will these features be available and work once Qt is updated to 5.6?
> > > Will QtLocation be allowed for harbour store apps
> > > once Qt 5.6 is (officially) available for Sailfish?
> > >
> > > And when can I expect Qt 5.6 to be released for SailfishOS? ;)
> > >
> > > Cheers,
> > > micu
> > >
> > > PS: Happy new year to everyone!
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.or
> ___
> 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] QtLocation | Qt 5.6

2017-01-02 Thread Tone Kastlunger
There goes android then. No SFOS. Kinda defyes the point IMO :/.

On Mon, Jan 2, 2017 at 11:18 AM, Kaj-Michael Lang  wrote:

> On Mon, 2017-01-02 at 09:05 +, Peter Pykäläinen wrote:
> > That is an option yes, but a bit of a cheat :)
>
> Or even more of a filthy and dirty cheat, build it instead as a QtQuick
> Component 2 Android app and you can use the latest version Qt (My
> Android app built on 5.7.0 runs nicely).
>
> But yeah, Jolla should really open up the allowed libraries asap.
>
> --
> Kaj-Michael Lang 
>
> ___
> 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] QtLocation | Qt 5.6

2017-01-02 Thread Tone Kastlunger
Well I do not know if you can call it "cheat" when Jolla itself suggests
for it :P

On Mon, Jan 2, 2017 at 11:05 AM, Peter Pykäläinen <
peter.pykalai...@gmail.com> wrote:

> That is an option yes, but a bit of a cheat :)
>
> Tone Kastlunger kirjoitti maanantai 2. tammikuuta 2017:
> > Bundle it as a private dependency?
> >
> > On Mon, Jan 2, 2017 at 10:50 AM, Peter Pykäläinen <
> > peter.pykalai...@gmail.com> wrote:
> >
> > > In my opinion we've waited long enough already. Jolla should really
> > > consider to allow more modules if they want better apps.
> > >
> > > // Pete
> > >
> > > helicalgear . kirjoitti maanantai 2. tammikuuta 2017:
> > > > Hi,
> > > >
> > > > Qt5.2 itself provided the "QtLocation" as you see.
> > > > But, unfortunately, QtLocation is not allowed to use for 3rd party
> apps
> > > > officially, right now.
> > > >
> > > > Please see "Sailfish FAQ"
> > > > https://harbour.jolla.com/faq#QML_API
> > > > And the list of modules which can be used by 3rd party apps.
> > > > https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/
> > > blob/master/allowed_qmlimports.conf
> > > >
> > > > The number of listed modules is increasing time by time.
> > > > I think we have no choice but to wait for that the QtLocation add to
> the
> > > > list if you want to release your app officially (by Jolla Store).
> > > > Or, I think that you can try to release your app by other way like
> > > > OpenRepos ( https://openrepos.net/ ).
> > > >
> > > > Best regards,
> > > >
> > > >
> > > > 2017年1月2日(月) 3:32 micu <micuin...@gmx.de>:
> > > >
> > > > > Hello Sailors!
> > > > >
> > > > > As I already told you, I am working on the Berlin Vegan guide for
> > > > > SailfishOS:
> > > > >
> > > > > <https://github.com/micuintus/harbour-Berlin-Vegan/tree/
> > > development>
> > > > > <https://openrepos.net/content/micuintus/berlin-vegan>
> > > > >
> > > > > Recently, I added a map feature to the app:
> > > > >
> > > > > <https://github.com/micuintus/harbour-Berlin-Vegan/issues/41>
> > > > >
> > > > > But to my astonishment, I realized that using QtLocation is
> currently
> > > > > rejected
> > > > > by the Harbour RPM validator:
> > > > >
> > > > > > Requires
> > > > > > 
> > > > > > ERROR [libQt5Location.so.5] Cannot require shared library:
> > > > > > 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm]
> Dependency
> > > not
> > > > > > allowed
> > > > > > ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
> > > > > > ERROR [qt5-qtlocation] Dependency not allowed
> > > > >
> > > > > Can you tell me why?
> > > > >
> > > > > QtLocation is listed to be available here
> > > > >
> > > > > <https://sailfishos.org/wiki/Qt>
> > > > >
> > > > > and, apart from that, AFAIK Jolla was one of the main contributors
> to
> > > the
> > > > > QtLocation module.
> > > > >
> > > > >
> > > > >
> > > > > Furthermore, I noticed that some features of the QML Map object
> seem
> > > to be
> > > > > broken or missing at the moment:
> > > > >
> > > > > * fitViewportToMapItems() does not have an effect
> > > > > * 'preventStealing' is not available
> > > > > * etc.
> > > > >
> > > > > Will these features be available and work once Qt is updated to
> 5.6?
> > > > > Will QtLocation be allowed for harbour store apps
> > > > > once Qt 5.6 is (officially) available for Sailfish?
> > > > >
> > > > > And when can I expect Qt 5.6 to be released for SailfishOS? ;)
> > > > >
> > > > > Cheers,
> > > > > micu
> > > > >
> > > > > PS: Happy new year to everyone!
> > > > > --
> > > > > OpenPGP / GnuPG:0xE4CB4E80
> > > > > Fingerprint:1A15 A480 1F8B 07F6 9D12 3426 CEFE 7455
> E4CB
> > > 4E80
> > > > >
> > > > > <<>
> > > > >
> > > > > http://www.micuintus.de
> > > > > ___
> > > > > SailfishOS.org Devel mailing list
> > > > > To unsubscribe, please send a mail to
> > > > > devel-unsubscr...@lists.sailfishos.org
> > > >
> > > > --
> > > > R.Kake!
> > > >
> > >
> > > --
> > > // Peter Pykäläinen
> > > Lähetetty Jolla C:stä
> > > ___
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to devel-unsubscribe@lists.
> > > sailfishos.org
> > >
> >
>
> --
> // Peter Pykäläinen
> Lähetetty Jolla C:stä
> ___
> 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] QtLocation | Qt 5.6

2017-01-02 Thread Tone Kastlunger
Bundle it as a private dependency?

On Mon, Jan 2, 2017 at 10:50 AM, Peter Pykäläinen <
peter.pykalai...@gmail.com> wrote:

> In my opinion we've waited long enough already. Jolla should really
> consider to allow more modules if they want better apps.
>
> // Pete
>
> helicalgear . kirjoitti maanantai 2. tammikuuta 2017:
> > Hi,
> >
> > Qt5.2 itself provided the "QtLocation" as you see.
> > But, unfortunately, QtLocation is not allowed to use for 3rd party apps
> > officially, right now.
> >
> > Please see "Sailfish FAQ"
> > https://harbour.jolla.com/faq#QML_API
> > And the list of modules which can be used by 3rd party apps.
> > https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/
> blob/master/allowed_qmlimports.conf
> >
> > The number of listed modules is increasing time by time.
> > I think we have no choice but to wait for that the QtLocation add to the
> > list if you want to release your app officially (by Jolla Store).
> > Or, I think that you can try to release your app by other way like
> > OpenRepos ( https://openrepos.net/ ).
> >
> > Best regards,
> >
> >
> > 2017年1月2日(月) 3:32 micu :
> >
> > > Hello Sailors!
> > >
> > > As I already told you, I am working on the Berlin Vegan guide for
> > > SailfishOS:
> > >
> > >  development>
> > > 
> > >
> > > Recently, I added a map feature to the app:
> > >
> > > 
> > >
> > > But to my astonishment, I realized that using QtLocation is currently
> > > rejected
> > > by the Harbour RPM validator:
> > >
> > > > Requires
> > > > 
> > > > ERROR [libQt5Location.so.5] Cannot require shared library:
> > > > 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-osm] Dependency
> not
> > > > allowed
> > > > ERROR [qt5-qtdeclarative-import-location] Dependency not allowed
> > > > ERROR [qt5-qtlocation] Dependency not allowed
> > >
> > > Can you tell me why?
> > >
> > > QtLocation is listed to be available here
> > >
> > > 
> > >
> > > and, apart from that, AFAIK Jolla was one of the main contributors to
> the
> > > QtLocation module.
> > >
> > >
> > >
> > > Furthermore, I noticed that some features of the QML Map object seem
> to be
> > > broken or missing at the moment:
> > >
> > > * fitViewportToMapItems() does not have an effect
> > > * 'preventStealing' is not available
> > > * etc.
> > >
> > > Will these features be available and work once Qt is updated to 5.6?
> > > Will QtLocation be allowed for harbour store apps
> > > once Qt 5.6 is (officially) available for Sailfish?
> > >
> > > And when can I expect Qt 5.6 to be released for SailfishOS? ;)
> > >
> > > Cheers,
> > > micu
> > >
> > > PS: Happy new year to everyone!
> > > --
> > > OpenPGP / GnuPG:0xE4CB4E80
> > > Fingerprint:1A15 A480 1F8B 07F6 9D12 3426 CEFE 7455 E4CB
> 4E80
> > >
> > > <<>
> > >
> > > http://www.micuintus.de
> > > ___
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscr...@lists.sailfishos.org
> >
> > --
> > R.Kake!
> >
>
> --
> // Peter Pykäläinen
> Lähetetty Jolla C:stä
> ___
> 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] Static build

2016-11-25 Thread Tone Kastlunger
Hm you mean static libs?

On Wed, Nov 23, 2016 at 12:20 PM, Georg <scooterschors...@gmail.com> wrote:

> That did the trick. Didn't kown that one can use -fPIC vor archives. I
> always used it for shared librarys in the past.
>
> Am Di. Nov. 22 21:51:41 2016 GMT+0100 schrieb Tone Kastlunger:
> > Recompile the mentioned library with the -fPIC
> >
> > On Tue, Nov 22, 2016 at 10:50 PM, george b <scooterschors...@gmail.com>
> > wrote:
> >
> > > This was may assumption.
> > > But when I try to combine the static library (libSwiften) within my qt
> > > app, I got the following error during linking:
> > >
> > > g++ -Wl,-O1 -Wl,-rpath,/usr/share/kaidan/lib -o kaidan main.o Kaidan.o
> > > RosterContoller.o RosterItem.o Persistence.o MessageController.o
> Database.o
> > > qrc_qml.o moc_Kaidan.o moc_RosterContoller.o moc_RosterItem.o
> > > moc_Persistence.o moc_MessageController.o moc_Database.o
> > > -L../swift-3.0/Swiften -L../../swift-3.0/3rdParty/Boost -lSwiften
> > > -lSwiften_Boost -lrt -lz -lssl -lcrypto -lxml2 -lresolv -ldl -lm -lc
> > > -lstdc++ -pie -rdynamic -L/usr/lib/ -lsailfishapp -lmdeclarativecache5
> > > -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Core -lGLESv2
> > > -lpthread
> > > /opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: ../swift-3.0/Swiften/
> libSwiften.a(CoreClient.o):
> > > relocation R_ARM_THM_MOVW_ABS_NC against `_
> ZN5Swift10CoreClient21handleMe
> > > ssageReceivedEN5boost10shared_ptrINS_7MessageEEE' can not be used when
> > > making a shared object; recompile with -fPIC
> > > ../swift-3.0/Swiften/libSwiften.a: error adding symbols: Bad value
> > >
> > > Any suggestions what went wrong?
> > >
> > >
> > >
> > > 2016-11-22 21:18 GMT+01:00 Andrey Kozhevnikov <coderusin...@gmail.com
> >:
> > >
> > >> of course you can static compile selected libraries only.
> > >>
> > >> -- Исходное сообщение --
> > >> От: "george b" <scooterschors...@gmail.com>
> > >> Кому: "Sailfish OS Developers" <devel@lists.sailfishos.org>
> > >> Отправлено: 22.11.2016 23:05:17
> > >> Тема: [SailfishDevel] Static build
> > >>
> > >> Hi
> > >>
> > >> I try to develop a xmpp client [1], based on libSwiften. A console
> > >> example compiled against a static Swiften lib works well. No I
> compiled
> > >> Swiften as a shared object, to combine it in a sailfish app. This way
> I got
> > >> a sasl error on runtime. Similar posts in different forums pointed
> out that
> > >> the error message results from a bug in a sasl library. I can work
> around
> > >> this problem using the static version of Swiften.
> > >>
> > >> Are there packages for static versions of qt and libsailfishapp
> > >> available, to be installed in the sdk? Or is there a possibility to
> combine
> > >> a static libraray archive with a sailfish application which uses
> shared
> > >> librarys?
> > >>
> > >> Regards
> > >> Georg
> > >>
> > >> [1] https://github.com/KaidanIM/Kaidan
> > >>
> > >>
> > >> ___
> > >> 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-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] App doenst launch in intex aqua fish

2016-11-20 Thread Tone Kastlunger
Hey!
A shot in the dark,
did you corretly package your qml files?

Best,
tortoisedoc

On Sun, Nov 20, 2016 at 1:19 AM, joao morgado 
wrote:

> I have removed the app and sailfish ide and reinstalled it again. No app
> on the phone and now I have a messed up arm kit that doenst work, not sure
> how I make it work the first time. I also have tried on windows, also
> doenst work I have this error
>
> https://s13.postimg.org/x2mnwo3uv/qtcreator_kit_error.png
>
> Any ideias how to fix the kit ?
>
>
> Em Sábado, 12 de Novembro de 2016 9:30, Chris Walker <
> cdw_noki...@the-walker-household.co.uk> escreveu:
>
>
> On Sat, 12 Nov 2016 08:03:41 + (UTC)
>
> joao morgado  wrote:
>
> > Hi sailors
> > My intex aqua fish arrived  few days a go, so it's coding time :)
> > I activated the developer mode, installed latest Sailfish sdk,
> > sucessfully connected the device by wifi / ssh and deployed a
> > template QtCreator Sailfish OS Qtquick application. The template app
> > runs fine on the emulator, but on the intex it faills at launch
> > without any error, I only get an "Application finished with exit code
> > 0." in qtcreator output window. I didnt change any code yet, so its
> > not a bug related with code. When tapping the app icon on the device,
> > the app tries to load during a few seconds, but then it fails. I also
> > experienced some computer crashs during build. I'm runing a core i7
> > laptop with nvidia 840m, with latest mint cinamon 64bits. So I stuck
> > at the very begginig, any suggestions on what to do ?
>
>
> As you can SSH into the device, can you not start the application from
> the command line and see what the app returns by way of failure mode?
>
>
> ___
> 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] Setting up environment for compiling Rust code

2016-10-24 Thread Tone Kastlunger
strace it?

On Sat, Oct 22, 2016 at 3:16 PM, Krzysztof Lesiak <wave@hotmail.com>
wrote:

> On the platform SDK.
>
> On Do. Okt. 20 10:48:48 2016 GMT+0200, Tone Kastlunger wrote:
> > Are you building on the Platform SDK or on the Mer VM?
> >
> >
> >
> > On Mon, Oct 17, 2016 at 10:26 PM, Krzysztof Lesiak <wave@hotmail.com>
> wrote:
> >
> > Hi all,
> >
> >
> > I'd like to be able to build applications in Rust to run on Sailfish OS;
> I've installed the Platform SDK, entered the chroot and ran the Rust
> toolchain installer. Building a simple hello world within the chroot works
> fine, but for actual applications I need external libraries, which are
> provided by the targets, i.e. in sb2. However, when I launch sb2 and try to
> run rustc --version (Rust compiler) or cargo --version (Rust package
> manager) it doesn't do anything. There's no output, it just hangs until I
> kill it with Ctrl+C. It happens with both, armv7hl and i486 targets.
> >
> > Can somebody tell me what's causing this? I couldn't find much
> documentation about sb2 on the web.
> >
> >
> > Best Regards,
> > Krzysztof
> >
> >
> > ___
> > 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-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Setting up environment for compiling Rust code

2016-10-20 Thread Tone Kastlunger
Are you building on the Platform SDK or on the Mer VM?

On Mon, Oct 17, 2016 at 10:26 PM, Krzysztof Lesiak 
wrote:

> Hi all,
>
>
> I'd like to be able to build applications in Rust to run on Sailfish OS;
> I've installed the Platform SDK, entered the chroot and ran the Rust
> toolchain installer . Building a simple hello world
> within the chroot works fine, but for actual applications I need external
> libraries, which are provided by the targets, i.e. in sb2. However, when I
> launch sb2 and try to run rustc --version (Rust compiler) or cargo
> --version (Rust package manager) it doesn't do anything. There's no output,
> it just hangs until I kill it with Ctrl+C. It happens with both, armv7hl
> and i486 targets.
>
> Can somebody tell me what's causing this? I couldn't find much
> documentation about sb2 on the web.
>
>
> Best Regards,
>
> Krzysztof
>
> ___
> 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] SDK version 1609 (2.0.4) is released to Early Access

2016-10-07 Thread Tone Kastlunger
A pity you cant push to harbour tho.

tortoisedoc

On Fri, Oct 7, 2016 at 12:18 PM, Coley  wrote:

> Thanks for this - nice to have EA SDK in line with phone!
>
> -Coley.
>
> On 6 October 2016 at 18:20, Jarkko Lehtoranta  > wrote:
>
>> Hello,
>>
>> Today (Oct 6th) at 17:00 UTC we have published new installers and
>> repositories of the Sailfish OS SDK. This SDK release is called 1609 and it
>> matches Jolla Release 2.0.4.
>>
>> From now on the SDK releases will be in sync with the early access
>> releases of Sailfish OS. It means, that developers can now choose between
>> the SDK update intervals. By switching to the Early Access SDK developers
>> will get SDK updates in sync with the Sailfish OS early access releases.
>> Otherwise, as before, they will get the SDK updates in sync with the
>> official public Sailfish OS releases.
>>
>> Please, read the following notes about the Early Access SDK:
>> - By using the Early Access SDK developers can test their Sailfish OS
>> apps approximately a week before the Sailfish OS release is made public
>> - During the early access time the Early Access SDK should not be used
>> for submitting apps to the Jolla Harbour
>> - The installers for this release of the SDK are available at
>> http://sailfishos.org/wiki/Application_SDK_Early_Access#Late
>> st_Early_Access_SDK_Release
>> - Instructions for adding the early access repository into the SDK can be
>> found from http://sailfishos.org/wiki/Application_SDK_Early_Access#Rece
>> iving_Early_Access_SDK_Updates_Automatically
>>
>> If you add the early access repository into your SDK and have an older
>> beta release of the SDK, you should see an update notification in the
>> Sailfish OS IDE. Otherwise, you will see an update notification in the
>> Sailfish OS IDE, when the Jolla Release 2.0.4 is publicly available to all
>> users.
>>
>> SDK content matches Jolla Release 2.0.4.13 (Fiskarsinjoki). Please see
>> below for detailed information of the changes.
>>
>> A couple of things you should be aware of:
>> - As before, in this update the build engine, emulator and targets are
>> reinstalled so you will lose all changes you may have made in those -
>> However, if your application packaging is done correctly, rebuilding your
>> projects should reinstall the packages you have been using.
>> - Any customization done to SDK (adding new package repositories, adding
>> custom targets, additional source paths) will be removed during the
>> installation process so make your own backup of those before starting the
>> update.
>> - If you import existing projects made with a previous version of the
>> Sailfish OS SDK, make sure to select the correct kit in the project
>> configuration step. Both ARM and i486 kits are available.
>> - Package repository contents have been updated and consequently using a
>> previous SDK version with these package repositories is not supported.
>> - For more information, please see the SDK Beta-Qt5 known issues list.
>>
>>
>> Release Content
>>
>> SDK IDE (Qt Creator)
>> - Qt Creator updated to version 4.0.1
>> - Official Turing Phone support
>> - Updates to Emulator mode switching
>> - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt
>> Creator to Jolla release 2.0.4.13 level
>> SDK Build engine
>> - Build targets refreshed to Jolla release 2.0.4.13 level
>> - Harbour RPM validator updated
>> Emulator
>> - Emulator packages refreshed to Jolla release 2.0.4.13 level
>> - Fixes to matching Emulator UI assets with the corresponding device UI
>> assets
>>
>> If you have any questions, feel free to either send an email to this
>> mailing list: devel at lists.sailfishos.org, write it up in
>> http://together.jolla.com and tag your issue with 'sdk' or send an
>> e-mail to developer-care at jolla.com.
>>
>> Happy hacking,
>> Jolla SDK Team
>> ___
>> 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] [Minutes] Sailfish OS Open Source Community Collaboration Meeting, 5th of September 2016

2016-09-08 Thread Tone Kastlunger
s/project/process heh

On Thu, Sep 8, 2016 at 9:23 AM, Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> QML plugins in a separate project - something is amiss here; but anyways.
> It is fairly easy to evaluate a technology for a certain use in my
> opinion; especially if that technology is not new and has been used
> (SELinux has),
> and ESPECIALLY if it has been used in the same context already (i.e.
> Android).
> Slava, you mention about ABI compatibility; how does Android solve this?
> Is this a problem for Android as well?
> Applications on android request access on install already; i.e. they
> provide a manifest to do so, not during runtime.
> It is a plus for SELinux, that having it would remove some entries from
> the porting from android task list (potentially).
>
> Think about this from different angles;
>
> what do developers want?
> what do developers *need*?
> what consequences will the choice that is made have? how will they
> influence development?
> how will this tech be used? By whom?
>
>
>
>
>
>
> On Wed, Sep 7, 2016 at 4:47 PM, Andrew Penkrat <penkr...@gmail.com> wrote:
>
>> On Wednesday, September 7, 2016 4:20:04 PM MSK, Slava Monich <
>> slava.mon...@jolla.com> wrote:
>>
>>> Hi Andrew,
>>>
>>> To make matters worse, the plugin requirements may change over time,
>>>>> meaning that a system upgrade may break the app because the app didn't
>>>>> request access to some features required by the updated plugins.
>>>>>
>>>>
>>>> Application shouldn't know/care about how does plugin work. Plugins are
>>>> parts of the system and shouldn't be sandboxed.
>>>>
>>>
>>>
>>> How to you sandbox a native app without affecting plugins? They all live
>>> within the same process, the same virtual address space. I don't think it's
>>> possible to reliably track a system call back to the executable/shared
>>> library it originated from, even with DEP (data execution prevention)
>>> enabled. Without DEP it's plain impossible.
>>>
>>> With the interpreted code like Java it's certainly doable. With the
>>> native code, I very much doubt it.
>>>
>>> Cheers,
>>> Slava
>>>
>>>
>>>
>> That's why I wrote this:
>>
>>>
>>>> I don't know much about implementation, but Ubuntu Touch somehow
>>>> achieves this with AppArmor.
>>>>
>>>>
>> AFAIK, at least for QML plugins it runs them in separate processes and
>> application communicates with them via DBus. All seamlessly for developer.
>>
>> Regards,
>> Andrew
>>
>>
>>
>> --
>> Sent using Dekko from my Ubuntu device
>> ___
>> 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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Minutes] Sailfish OS Open Source Community Collaboration Meeting, 5th of September 2016

2016-09-08 Thread Tone Kastlunger
QML plugins in a separate project - something is amiss here; but anyways.
It is fairly easy to evaluate a technology for a certain use in my opinion;
especially if that technology is not new and has been used (SELinux has),
and ESPECIALLY if it has been used in the same context already (i.e.
Android).
Slava, you mention about ABI compatibility; how does Android solve this? Is
this a problem for Android as well?
Applications on android request access on install already; i.e. they
provide a manifest to do so, not during runtime.
It is a plus for SELinux, that having it would remove some entries from the
porting from android task list (potentially).

Think about this from different angles;

what do developers want?
what do developers *need*?
what consequences will the choice that is made have? how will they
influence development?
how will this tech be used? By whom?






On Wed, Sep 7, 2016 at 4:47 PM, Andrew Penkrat  wrote:

> On Wednesday, September 7, 2016 4:20:04 PM MSK, Slava Monich <
> slava.mon...@jolla.com> wrote:
>
>> Hi Andrew,
>>
>> To make matters worse, the plugin requirements may change over time,
 meaning that a system upgrade may break the app because the app didn't
 request access to some features required by the updated plugins.

>>>
>>> Application shouldn't know/care about how does plugin work. Plugins are
>>> parts of the system and shouldn't be sandboxed.
>>>
>>
>>
>> How to you sandbox a native app without affecting plugins? They all live
>> within the same process, the same virtual address space. I don't think it's
>> possible to reliably track a system call back to the executable/shared
>> library it originated from, even with DEP (data execution prevention)
>> enabled. Without DEP it's plain impossible.
>>
>> With the interpreted code like Java it's certainly doable. With the
>> native code, I very much doubt it.
>>
>> Cheers,
>> Slava
>>
>>
>>
> That's why I wrote this:
>
>>
>>> I don't know much about implementation, but Ubuntu Touch somehow
>>> achieves this with AppArmor.
>>>
>>>
> AFAIK, at least for QML plugins it runs them in separate processes and
> application communicates with them via DBus. All seamlessly for developer.
>
> Regards,
> Andrew
>
>
>
> --
> Sent using Dekko from my Ubuntu device
> ___
> 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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Minutes] Sailfish OS Open Source Community Collaboration Meeting, 5th of September 2016

2016-09-07 Thread Tone Kastlunger
Yeah, the main issue of SELinux for me is the necessity of compiliing the
policy in the first place;
in turn for doing that, you need to pull in all the SELinux toolkit (which
is huuge).

On Wed, Sep 7, 2016 at 9:50 AM, Michal Hrusecky  wrote:

> James Noori - 12:21  5.09.16 wrote:
> > Hi everyone!
> >
> > Thank you for attending today's meeting.
> >
> > Meeting minutes can be found here in variety of formats:
> >
> > Minutes: http://merproject.org/meetings/mer-meeting/2016/mer-
> meeting.2016-09-05-09.00.html
> > Minutes (text): http://merproject.org/meetings/mer-meeting/2016/mer-
> meeting.2016-09-05-09.00.txt
> > Log: http://merproject.org/meetings/mer-meeting/2016/mer-
> meeting.2016-09-05-09.00.log.html
> >
>
> Hi, just read a minutes, SELinux was mention and that it would be hard to
> get
> profiles and support work correctly. What about using Apparmor instead?
> Much
> simpler and easier to create profiles for and can be probably hacked
> together
> quite fast. And applications could probably come with profile inside rpm
> specifying what do they need.
> ___
> 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] Alternative to QAbstractVideoFilter ?

2016-07-06 Thread Tone Kastlunger
Backport?

On Friday, July 1, 2016, Kaj-Michael Lang  wrote:

> I'm working on a project that uses QAbstractVideoFilter and would like
> to make a sfos version too but the problem is that it is available only
> since Qt 5.5.
>
> Is there some other alternative (QVideoProbe seems to only on android
> afaik..) that I could use to inspect video frames ?
>
> Or just wait for sfos to move to Qt 5.6/7/8 ?
>
> --
> Kaj-Michael Lang >
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org 
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] graphDB (gnome - tracker) on sailfish

2016-06-07 Thread Tone Kastlunger
Hi all;
even assuming tracker would rely on SQLLite (or whatever RDBMS) to store
data;
I do not see why it could not be extended to other data storages (for
instance NoSQL ones, but in a embedded fashion).
Plus; tracker is currently used on Jolla by default; being able to provide
something which is compatible with it
means being compatible out of day one without big changes to the system /
adding another (possibly redundant) RDFQuery system.

On Tue, Jun 7, 2016 at 9:46 AM, Peter Kovacs  wrote:

> I see we are not on the same page.
>
> Lucene:
>
> Apache LuceneTM is a high-performance, full-featured text search engine
> library written entirely in Java. It is a technology suitable for nearly
> any application that requires full-text search, especially cross-platform.
>
> I am not sure how that benefits us for better user experience in contacts.
> This is good for document indexing, maybe in combinations with MongoDB.
> (Check Polarion out)
>
>
> @ Tracker and SQL Lite:
> I cannot verify that tracker is using SQL Lite as RDF implementation. Can
> you please point to the document source?
> Tracker has a SQL Lite crawler to be able to build Indexes on SQL data, I
> think. At east thats what google search seem to point me at.
>
> I have not looked to deeply into the tracker Architecture since I am first
> want to design a concept. If tracker turns to be inefficient technically,
> it is still possible to improve.
> That is for a later step in the design process. So imho you are still into
> to much detiails for my taste.
>
> Let me write a first draft on the concept. Then you will see.
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfish OS Open Source Community Collaboration Meeting 2nd of June 2016

2016-06-02 Thread Tone Kastlunger
In a distributed fashion it may make sense;
speaking of which, doesn't tracker implement a graph db?

On Thu, Jun 2, 2016 at 3:40 PM, Andrew Branson <sfdevl...@andrewbranson.net>
wrote:

> I'm missing how your contacts can be linked as a graph on your phone. I
> assumed it was about which of your friends know each other, but that isn't
> relevant information on the client side. I don't think it's even easily
> available in the main social networks.
>
> Andy
>
> On 02/06/2016 2:34pm, Tone Kastlunger wrote:
>
>> On the RDBMS vs Graph DB's discussion, the point Peter is making is a
>> very solid one;
>> the purpouse of the contacts app is to mange contacts; hence how they
>> are connected;
>> if relying on a Graph DB provides a simpler implementation (in terms of
>> raw lines of code I mean) in upper implementation levels,
>> whilst helping in keeping data consistency in a flawless and hassle-free
>> way (which SQL can help with only up to a certain extent),
>> well it definitely sounds too good to be true (at least from what I
>> understood):
>> I'd agree with Neo4J on a phone being somewhat of an overkill (same as
>> having Postgres for instance); I'd wonder if there are embedded versions
>> of it?
>> I'd say especially within Jolla's Social/Address book/mail/calendar
>> contacts management peculiarities, plus the dual SFOS/Android world, it
>> requires a
>> rock-solid contact management system, I'd assume.
>>
>> tk
>>
>>
>> On Thu, Jun 2, 2016 at 3:22 PM, Andrew Branson
>> <sfdevl...@andrewbranson.net <mailto:sfdevl...@andrewbranson.net>> wrote:
>>
>> Hi!
>>
>> RDBMSes are not very good at graphs, or trees, or any other data
>> structure that requires variable traversal steps in queries. I don't
>> think we have that here though. Those social networks only have
>> graphs when they're integrating your data with other people's, but
>> personally you just have your own address book and your own
>> calendars. Both of those consist of many instances of the same data
>> structures which need to be indexed, which is a good use of
>> relational databases.
>>
>> Your point about SQL being used out of habit is always pertinent
>> though. It's important to keep on top of the NoSQL options, as SQL
>> is definitely overused. I always find it very irritating when SQL is
>> used only for config storage, using tables with single rows and many
>> columns. Berkeley DB would be a good alternative for that. I don't
>> know if the graph DBs are ready yet though - Neo4J is very
>> interesting, but I would never run a Java server in a phone.
>>
>> While we're on the subject, I think the Nemo thumbnail DB is a
>> really good candidate for a NoSQL database. It's currently a huge
>> collection of tiny files that seems to take up way too much BTRFS
>> allocation, and I don't think as a collection of binary files it
>> would be a good match for SQLite.
>>
>> Andy
>>
>>
>> On 02/06/2016 1:42pm, Peter Kovacs wrote:
>>
>> Well SQL is in my opinion good for grouping or conduct
>> calculations on
>> transactional data.
>> Updating, or adding / sorting is not is best discipline. It is
>> medicore
>> in my opinion.
>> On small sets of data as used in phones medicore performance is
>> still
>> quick. Phones are quite powerfull today.
>>
>> However the feature the DB should excel should be, in my eyes
>> social,
>> stuff. It is a phone after all, intended to maintain my social
>> life, or?
>>
>> And Facebook, amazon, google+ does not use relational databases.
>> They
>> use graph databases. So I wonder why this is not used on phones.
>> Neo4j
>> claims to outperform relational databases by a factor of 1000
>> when it
>> comes to relationships.
>>
>> I admit these softwares are very latest technology. And maybe not
>> as
>> robust as sqllite.
>> However I would love to have a contact app which knows that Mary
>> and Joe
>> are married live in the same place. And when I search for one of
>> the 2 I
>> get the shared information. And when I update one end the app
>> knows to
>> update the other one too.
>> Or it can store company hierarchies would help m

Re: [SailfishDevel] Sailfish OS Open Source Community Collaboration Meeting 2nd of June 2016

2016-06-02 Thread Tone Kastlunger
On the RDBMS vs Graph DB's discussion, the point Peter is making is a very
solid one;
the purpouse of the contacts app is to mange contacts; hence how they are
connected;
if relying on a Graph DB provides a simpler implementation (in terms of raw
lines of code I mean) in upper implementation levels,
whilst helping in keeping data consistency in a flawless and hassle-free
way (which SQL can help with only up to a certain extent),
well it definitely sounds too good to be true (at least from what I
understood):
I'd agree with Neo4J on a phone being somewhat of an overkill (same as
having Postgres for instance); I'd wonder if there are embedded versions of
it?
I'd say especially within Jolla's Social/Address book/mail/calendar
contacts management peculiarities, plus the dual SFOS/Android world, it
requires a
rock-solid contact management system, I'd assume.

tk


On Thu, Jun 2, 2016 at 3:22 PM, Andrew Branson <sfdevl...@andrewbranson.net>
wrote:

> Hi!
>
> RDBMSes are not very good at graphs, or trees, or any other data structure
> that requires variable traversal steps in queries. I don't think we have
> that here though. Those social networks only have graphs when they're
> integrating your data with other people's, but personally you just have
> your own address book and your own calendars. Both of those consist of many
> instances of the same data structures which need to be indexed, which is a
> good use of relational databases.
>
> Your point about SQL being used out of habit is always pertinent though.
> It's important to keep on top of the NoSQL options, as SQL is definitely
> overused. I always find it very irritating when SQL is used only for config
> storage, using tables with single rows and many columns. Berkeley DB would
> be a good alternative for that. I don't know if the graph DBs are ready yet
> though - Neo4J is very interesting, but I would never run a Java server in
> a phone.
>
> While we're on the subject, I think the Nemo thumbnail DB is a really good
> candidate for a NoSQL database. It's currently a huge collection of tiny
> files that seems to take up way too much BTRFS allocation, and I don't
> think as a collection of binary files it would be a good match for SQLite.
>
> Andy
>
>
> On 02/06/2016 1:42pm, Peter Kovacs wrote:
>
>> Well SQL is in my opinion good for grouping or conduct  calculations on
>> transactional data.
>> Updating, or adding / sorting is not is best discipline. It is medicore
>> in my opinion.
>> On small sets of data as used in phones medicore performance is still
>> quick. Phones are quite powerfull today.
>>
>> However the feature the DB should excel should be, in my eyes social,
>> stuff. It is a phone after all, intended to maintain my social life, or?
>>
>> And Facebook, amazon, google+ does not use relational databases. They
>> use graph databases. So I wonder why this is not used on phones. Neo4j
>> claims to outperform relational databases by a factor of 1000 when it
>> comes to relationships.
>>
>> I admit these softwares are very latest technology. And maybe not as
>> robust as sqllite.
>> However I would love to have a contact app which knows that Mary and Joe
>> are married live in the same place. And when I search for one of the 2 I
>> get the shared information. And when I update one end the app knows to
>> update the other one too.
>> Or it can store company hierarchies would help me in my business life. I
>> am not good at memo these.
>>
>> Yes you can do that with sql. But I think it is easier more naturally
>> done in a graph db.
>> No problem if any one does not agree. I plan to build this anyhow.
>>
>> I am quite unhappy with Google in that because they are not doing this
>> for me ;)
>>
>> Btw Object DB is good at storing objects as the name suggests. It is
>> even more far away from the requirements on a phone then relational db
>> in my eyes.
>>
>> All the Best
>> Peter
>>
>>
>> Tone Kastlunger <users.giulie...@gmail.com
>> <mailto:users.giulie...@gmail.com>> schrieb am Do., 2. Juni 2016, 11:13:
>>
>> Peter;
>> I'm curious, what brings you to the conclusion SQL (as in relational
>> dbs) is not ideal for transactional functionality?
>>
>> On Thu, Jun 2, 2016 at 10:41 AM, Peter Kovacs <legi...@gmail.com
>> <mailto:legi...@gmail.com>> wrote:
>>
>> I would actually like to know why SQL stuff.
>> Datastructure types I am think of on the Phone are relationships
>> (Facebook style) or transactional.
>> And both are not ideal to solve with relational dbs.
&

Re: [SailfishDevel] Sailfish OS Open Source Community Collaboration Meeting 2nd of June 2016

2016-06-02 Thread Tone Kastlunger
Peter;
I'm curious, what brings you to the conclusion SQL (as in relational dbs)
is not ideal for transactional functionality?

On Thu, Jun 2, 2016 at 10:41 AM, Peter Kovacs <legi...@gmail.com> wrote:

> I would actually like to know why SQL stuff.
> Datastructure types I am think of on the Phone are relationships (Facebook
> style) or transactional.
> And both are not ideal to solve with relational dbs.
>
> I guess the Answer is because every one does it. But that is not really
> satisfactory.  Would there be an interest to use something else?
>
> Tone Kastlunger <users.giulie...@gmail.com> schrieb am Do., 2. Juni 2016,
> 09:33:
>
>> Hi Chris;
>>
>>
>> >2) API to access Calendar data.  Correct, currently we don't provide
>> access to calendar API in Harbour.  The reason is that we want to use
>> QtOrganizer as the public API, but to do that we need to write a
>> QtOrganizer engine backend >for mkcal (note that one already existed in
>> QtMobility days, which is open source, so we can potentially adapt that one
>> with relatively little effort.  Help with that effort would be greatly
>> appreciated).  Eventually, I'd like to develop a >QtOrganizer backend
>> directly in sqlite, for performance and maintainability reasons (mkcal has
>> several design and implementation problems, in my opinion), at which point
>> QtOrganizer can become the platform API (not just the 3rd >party API).
>>
>>
>> I guess the worload to push it all the way to QtOrganizer requires
>> scratching the existing backend / rewriting a big part of the cal app?
>>
>> On Thu, Jun 2, 2016 at 5:06 AM, Chris Adams <chris.ad...@jolla.com>
>> wrote:
>>
>>> Hi everyone,
>>>
>>> I will try to be at the meeting tonight, but I cannot promise (it's held
>>> at 11:30 pm in my timezone).
>>>
>>> A couple of the questions relate to areas I am involved with, so I'll
>>> try to provide some information in case I don't make it to the meeting.  If
>>> you have any follow up questions or discussion, feel free to contact me
>>> directly via email or on Freenode IRC (chriadam is my nick).
>>>
>>> 1) Contact Note details.  This is tracked internally by JB#14734.  As
>>> you mentioned, it's supported in the backend, but not in the People app
>>> UI.  It was on going to be part of the apps overhaul which was planned
>>> prior to the financial difficulties last year, and since then this has
>>> fallen off the radar.  It requires design input, because you can have
>>> multiple Note details in a single contact.  I've just pinged our lead
>>> designer in the bug report again, in case he can fit it in sometime soon.
>>>
>>> 2) API to access Calendar data.  Correct, currently we don't provide
>>> access to calendar API in Harbour.  The reason is that we want to use
>>> QtOrganizer as the public API, but to do that we need to write a
>>> QtOrganizer engine backend for mkcal (note that one already existed in
>>> QtMobility days, which is open source, so we can potentially adapt that one
>>> with relatively little effort.  Help with that effort would be greatly
>>> appreciated).  Eventually, I'd like to develop a QtOrganizer backend
>>> directly in sqlite, for performance and maintainability reasons (mkcal has
>>> several design and implementation problems, in my opinion), at which point
>>> QtOrganizer can become the platform API (not just the 3rd party API).
>>>
>>> 3) Email app development.  Yes, you're absolutely right that the Email
>>> application hasn't received much development effort since Valerio
>>> unfortunately left.  Yes, I would personally like to see it (along with
>>> other apps like Clock, Notes, and Calendar) opensourced.  No, I don't know
>>> what the status of the opensourcing discussions with the Board Of Directors
>>> is, so I cannot give a roadmap for that possibility.  However, the "engine"
>>> of the email application is already open source (except for the
>>> Exchange/ActiveSync plugin) - we use QMF (Qt Messaging Framework) for email
>>> handling.  See https://git.merproject.org/mer-core/qmf and
>>> https://git.merproject.org/mer-core/messagingframework etc for that
>>> stuff.  Speak to Matt Vogt (mvogt on Freenode IRC) for code reviews etc.
>>>
>>> In general, the Sailfish OS wiki has been updated with a lot of
>>> information about the various software components which make up the
>>> Sailfish OS stack (including links to the open-source repositories)

Re: [SailfishDevel] Sailfish OS Open Source Community Collaboration Meeting 2nd of June 2016

2016-06-02 Thread Tone Kastlunger
Hi Chris;

>2) API to access Calendar data.  Correct, currently we don't provide
access to calendar API in Harbour.  The reason is that we want to use
QtOrganizer as the public API, but to do that we need to write a
QtOrganizer engine backend >for mkcal (note that one already existed in
QtMobility days, which is open source, so we can potentially adapt that one
with relatively little effort.  Help with that effort would be greatly
appreciated).  Eventually, I'd like to develop a >QtOrganizer backend
directly in sqlite, for performance and maintainability reasons (mkcal has
several design and implementation problems, in my opinion), at which point
QtOrganizer can become the platform API (not just the 3rd >party API).


I guess the worload to push it all the way to QtOrganizer requires
scratching the existing backend / rewriting a big part of the cal app?

On Thu, Jun 2, 2016 at 5:06 AM, Chris Adams  wrote:

> Hi everyone,
>
> I will try to be at the meeting tonight, but I cannot promise (it's held
> at 11:30 pm in my timezone).
>
> A couple of the questions relate to areas I am involved with, so I'll try
> to provide some information in case I don't make it to the meeting.  If you
> have any follow up questions or discussion, feel free to contact me
> directly via email or on Freenode IRC (chriadam is my nick).
>
> 1) Contact Note details.  This is tracked internally by JB#14734.  As you
> mentioned, it's supported in the backend, but not in the People app UI.  It
> was on going to be part of the apps overhaul which was planned prior to the
> financial difficulties last year, and since then this has fallen off the
> radar.  It requires design input, because you can have multiple Note
> details in a single contact.  I've just pinged our lead designer in the bug
> report again, in case he can fit it in sometime soon.
>
> 2) API to access Calendar data.  Correct, currently we don't provide
> access to calendar API in Harbour.  The reason is that we want to use
> QtOrganizer as the public API, but to do that we need to write a
> QtOrganizer engine backend for mkcal (note that one already existed in
> QtMobility days, which is open source, so we can potentially adapt that one
> with relatively little effort.  Help with that effort would be greatly
> appreciated).  Eventually, I'd like to develop a QtOrganizer backend
> directly in sqlite, for performance and maintainability reasons (mkcal has
> several design and implementation problems, in my opinion), at which point
> QtOrganizer can become the platform API (not just the 3rd party API).
>
> 3) Email app development.  Yes, you're absolutely right that the Email
> application hasn't received much development effort since Valerio
> unfortunately left.  Yes, I would personally like to see it (along with
> other apps like Clock, Notes, and Calendar) opensourced.  No, I don't know
> what the status of the opensourcing discussions with the Board Of Directors
> is, so I cannot give a roadmap for that possibility.  However, the "engine"
> of the email application is already open source (except for the
> Exchange/ActiveSync plugin) - we use QMF (Qt Messaging Framework) for email
> handling.  See https://git.merproject.org/mer-core/qmf and
> https://git.merproject.org/mer-core/messagingframework etc for that
> stuff.  Speak to Matt Vogt (mvogt on Freenode IRC) for code reviews etc.
>
> In general, the Sailfish OS wiki has been updated with a lot of
> information about the various software components which make up the
> Sailfish OS stack (including links to the open-source repositories), so you
> should be able to find most of the information you need to help develop
> these components, from reading
> https://sailfishos.org/wiki/Core_Areas_and_APIs and the drill-down links
> from that page.
>
> Finally, I don't know much about Bluetooth, but I know that we're looking
> at updating to Bluez 5 right now (development is currently ongoing to port
> the Qt stack across, possibly by using the KDE bluez-qt wrappers), so it's
> possible that the tethering issue will be addressed as part of that, with
> the new stack - but again, that's not my area so I might be incorrect.
>
> Cheers,
> Chris.
>
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of James Noori [
> james.no...@jolla.com]
> *Sent:* Wednesday, June 01, 2016 11:15 PM
> *To:* devel@lists.sailfishos.org
> *Subject:* [SailfishDevel] Sailfish OS Open Source Community
> Collaboration Meeting 2nd of June 2016
>
> Hi everyone!
>
>
>
> Following up last week’s postponed Community collaboration meeting on IRC,
> this week’s meeting is going to be held at the agreed time and date,
> 2/6/2016 at 13:30 UTC.
>
> Please see this link for your local time (Redirects to timeanddate.com) :
> http://bit.ly/247PwwT
> 
>
> 

Re: [SailfishDevel] Open source in-app ad API helper for QML - please, join

2016-05-31 Thread Tone Kastlunger
@ZLutor actually, it would be very interesting to have IAp based on Paypal
/ Flattr / Bitcoin / younameit!

On Tue, May 31, 2016 at 11:51 AM, Zoltán Lutor <zoltan.lu...@gmail.com>
wrote:

> @Tone: "with my app where I had included ads" - what ad library do you
> use on Sailfish?
> I was not aware of anything available there. Especially nothing for
> Qt/QML...
>
> 2016-05-31 8:58 GMT+02:00 Tone Kastlunger <users.giulie...@gmail.com>:
>
>> This is an excellent discussion point; I believe this is a very clear
>> aspect of the key problem of SFOS at the moment - the whole point of SFOS
>> is to DIFFERENTIATE itself from android.
>>
>> Note : I love coding for SFOS, it's inspiring and motivating. Sure, it
>> has it's limitations and quirks, but still, its a great experience IMHO.
>>
>> The facts are that, if you ask someone the question: "Would you mind ads
>> in app XX?" they will reply "Hell NO".
>> But nevertheless, if app XX gets published with ads, and the app is good,
>> nobody will care about the ads, and use it anyways.
>>
>> So, this can mean that:
>>
>> 1) nobody wants ads
>> 2) nobody cares if they are there, tho
>>
>> My experience has been a harsh rejection of ads by the jolla community,
>> with my app where I had included ads.
>> In the timeframe the app had ads included, I noticed two trends :
>> a) people who stopped using the app completely due to the adds
>> b) people who kept on using it (hence rule 2) applies).
>>
>> I'd wonder if codign a SFOS app with ads and publish it as an Android app
>> on the jolla store will actually fix things?
>>
>>
>> On Tue, May 31, 2016 at 8:20 AM, <zoltan.lu...@gmail.com> wrote:
>>
>>> Yes, that is how it is. Paid model does not work for masses - maybe iOS
>>> is exception to some extent...
>>>
>>>
>>> I fully understand those who are fed up with annoying ads - just like
>>> me, too.
>>>
>>>
>>> But it does not imply ads are evil as such. Just they have to be placed
>>> carefully and accordingly...
>>>
>>>
>>> Anyway, I just wanted to invite other developers for helping me
>>> finishing this 'sdk'...
>>>
>>>
>>> Zoltán
>>>
>>> Andrew Penkrat írta ekkor: 2016.05.30. 23:46
>>> I want to add my experience from the developer's point of view. I have
>>> an Android app with about 1000 installations (and 100 active users). This
>>> app has ads as well as an option to disable them for a $2 donation.
>>>
>>> Nobody ever activated this option. So most probably I won't be able to
>>> get any revenue from the app without ads.
>>>
>>> 2016-05-30 23:22 GMT+03:00 Martin Kolman <martin.kol...@gmail.com>:
>>>
>>>> Mon, 30 May 2016 19:32:54 + Alexey Andreyev:
>>>>
>>>>
>>>> Hello, Zoltán! :)
>>>> Feel free to criticize me, but... ads in our jolla? No, thanks! :)
>>>>
>>>> I subscribe to this - while I understand developers are looking for
>>>> revenue streams I really like
>>>> how current native Sailfish OS apps are pretty much add free (for one
>>>> reason or another).
>>>> Just take a look how reckless add usage ruins application usability on
>>>> Android.
>>>> I'm fine with donations, paid/premium versions, etc. but please no
>>>> adds! :)
>>>>
>>>> I guess if you are a developer it make sence to ask for donations /
>>>> create non-free apps, but please, no ads at all.
>>>> (Espesially with additional web engine module loaded eating my
>>>> resources)
>>>>
>>>> Again, this is just my opinion. I understand it opens new possibilities
>>>> for some projects, etc, etc.
>>>>
>>>> пн, 30 мая 2016 г. в 21:48, Zoltán Lutor < <zoltan.lu...@gmail.com>
>>>> zoltan.lu...@gmail.com>:
>>>>
>>>>> I've progressed with implementing an open source wrapper for Vserv
>>>>> RESTful advertisement API in QML. Quote from API description:
>>>>>
>>>>> Vserv provides a simple HTTP based API to publishers/developers and
>>>>> other ad networks, etc. to fetch ads for mobile sites or mobile
>>>>> applications. The mobile device / server makes a HTTP request to Vserv
>>>>> Marketplace server with the required parameters and in response receives
>>>>> the ad in JSON forma

Re: [SailfishDevel] Open source in-app ad API helper for QML - please, join

2016-05-31 Thread Tone Kastlunger
 >A better approach would be a toolkit for unlocking extra/full
functionality through easy donations/micropayments. There was already a
suggestion in a community meeting to implement the Qt Purchasing API for
this, as an alternative >to paid store apps (which I also disagree with
because of the DRM baggage it will inevitably bring). This approach is the
most respectful on both the developer and the user sides.

For that we'd need a payment backend; as for now it only relies on AppStore
/ Google Play.

On Tue, May 31, 2016 at 10:27 AM, Andrew Branson <
sfdevl...@andrewbranson.net> wrote:

> I don't think ad experiences on Android is be relevant elsewhere. Android
> is an ad-saturated platform - it's become so easy to put ads in Android
> apps that its users have either become desensitized to them, or they've
> taken steps to disable them. They breed contempt in the developer for their
> users, and in the users towards the developers, and the only winner is the
> ad platform provider. I expect that if a framework like this appears on
> Sailfish, a blocker for it will swiftly follow.
>
> A better approach would be a toolkit for unlocking extra/full
> functionality through easy donations/micropayments. There was already a
> suggestion in a community meeting to implement the Qt Purchasing API for
> this, as an alternative to paid store apps (which I also disagree with
> because of the DRM baggage it will inevitably bring). This approach is the
> most respectful on both the developer and the user sides.
>
> Cheers,
>
> Andy
>
>
> On 30/05/2016 11:46 pm, Andrew Penkrat wrote:
>
>> I want to add my experience from the developer's point of view. I have an
>> Android app with about 1000 installations (and 100 active users). This app
>> has ads as well as an option to disable them for a $2 donation.
>>
>> Nobody ever activated this option. So most probably I won't be able to
>> get any revenue from the app without ads.
>>
>> 2016-05-30 23:22 GMT+03:00 Martin Kolman > >:
>>
>> Mon, 30 May 2016 19:32:54 + Alexey Andreyev:
>>
>>>
>>> Hello, Zoltán! :)
>>> Feel free to criticize me, but... ads in our jolla? No, thanks! :)
>>>
>> I subscribe to this - while I understand developers are looking for
>> revenue streams I really like
>> how current native Sailfish OS apps are pretty much add free (for one
>> reason or another).
>> Just take a look how reckless add usage ruins application usability
>> on Android.
>> I'm fine with donations, paid/premium versions, etc. but please no
>> adds! :)
>>
>>> I guess if you are a developer it make sence to ask for donations /
>>> create non-free apps, but please, no ads at all.
>>> (Espesially with additional web engine module loaded eating my
>>> resources)
>>>
>>> Again, this is just my opinion. I understand it opens new
>>> possibilities for some projects, etc, etc.
>>>
>>> пн, 30 мая 2016 г. в 21:48, Zoltán Lutor <>> zoltan.lu...@gmail.com>zoltan.lu...@gmail.com >> zoltan.lu...@gmail.com>>:
>>>
>>> I've progressed with implementing an open source wrapper for
>>> Vserv RESTful advertisement API in QML. Quote from API description:
>>>
>>> Vserv provides a simple HTTP based API to
>>> publishers/developers and other ad networks, etc. to fetch ads for mobile
>>> sites or mobile applications. The mobile device / server makes a HTTP
>>> request to Vserv Marketplace server with the required parameters and in
>>> response receives the ad in JSON format. This single API integration gives
>>> you the flexibility to fetch banner/ full screen / rich media ads.
>>>
>>> Available implementation is in pre-beta phase - quite majority
>>> of functionality works but there is still room for improvement.
>>>
>>> Since I'm not so experienced in this area of sw development -
>>> and especially newbie in Sailfish native development - */I would like to
>>> ask some help from the community in finishing it/*.
>>>
>>> It would be a general purpose QML wrapper around the API with
>>> necessary tailoring is needed for Sailfish - e.g. Webkit vs. WebView, etc.
>>> Maybe separate git branches are needed for different implementation(?) -
>>> I'm open for any reasonable proposal.
>>>
>>> Is there anybody willing to join? Reviewing, commenting - and of
>>> course, coding is more than welcome. [This is my first open source project,
>>> so comment from this aspect is welcome, too.]
>>>
>>> API descrption is here <
>>> https://docs.google.com/document/d/139TRSTV33tLxKxbew4yPTPF4uc8PZJPiRkxyo9GymIE/edit>,
>>> code repository is in BitBucket <
>>> https://bitbucket.org/zlutor/qml-wrapper-for-vserv-http-ad-api>
>>>
>>> Br,
>>>
>>> Zoltan
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org>
>>> 

Re: [SailfishDevel] Open source in-app ad API helper for QML - please, join

2016-05-31 Thread Tone Kastlunger
This is an excellent discussion point; I believe this is a very clear
aspect of the key problem of SFOS at the moment - the whole point of SFOS
is to DIFFERENTIATE itself from android.

Note : I love coding for SFOS, it's inspiring and motivating. Sure, it has
it's limitations and quirks, but still, its a great experience IMHO.

The facts are that, if you ask someone the question: "Would you mind ads in
app XX?" they will reply "Hell NO".
But nevertheless, if app XX gets published with ads, and the app is good,
nobody will care about the ads, and use it anyways.

So, this can mean that:

1) nobody wants ads
2) nobody cares if they are there, tho

My experience has been a harsh rejection of ads by the jolla community,
with my app where I had included ads.
In the timeframe the app had ads included, I noticed two trends :
a) people who stopped using the app completely due to the adds
b) people who kept on using it (hence rule 2) applies).

I'd wonder if codign a SFOS app with ads and publish it as an Android app
on the jolla store will actually fix things?


On Tue, May 31, 2016 at 8:20 AM,  wrote:

> Yes, that is how it is. Paid model does not work for masses - maybe iOS is
> exception to some extent...
>
>
> I fully understand those who are fed up with annoying ads - just like me,
> too.
>
>
> But it does not imply ads are evil as such. Just they have to be placed
> carefully and accordingly...
>
>
> Anyway, I just wanted to invite other developers for helping me finishing
> this 'sdk'...
>
>
> Zoltán
>
> Andrew Penkrat írta ekkor: 2016.05.30. 23:46
> I want to add my experience from the developer's point of view. I have an
> Android app with about 1000 installations (and 100 active users). This app
> has ads as well as an option to disable them for a $2 donation.
>
> Nobody ever activated this option. So most probably I won't be able to get
> any revenue from the app without ads.
>
> 2016-05-30 23:22 GMT+03:00 Martin Kolman :
>
>> Mon, 30 May 2016 19:32:54 + Alexey Andreyev:
>>
>>
>> Hello, Zoltán! :)
>> Feel free to criticize me, but... ads in our jolla? No, thanks! :)
>>
>> I subscribe to this - while I understand developers are looking for
>> revenue streams I really like
>> how current native Sailfish OS apps are pretty much add free (for one
>> reason or another).
>> Just take a look how reckless add usage ruins application usability on
>> Android.
>> I'm fine with donations, paid/premium versions, etc. but please no adds!
>> :)
>>
>> I guess if you are a developer it make sence to ask for donations /
>> create non-free apps, but please, no ads at all.
>> (Espesially with additional web engine module loaded eating my resources)
>>
>> Again, this is just my opinion. I understand it opens new possibilities
>> for some projects, etc, etc.
>>
>> пн, 30 мая 2016 г. в 21:48, Zoltán Lutor < 
>> zoltan.lu...@gmail.com>:
>>
>>> I've progressed with implementing an open source wrapper for Vserv
>>> RESTful advertisement API in QML. Quote from API description:
>>>
>>> Vserv provides a simple HTTP based API to publishers/developers and
>>> other ad networks, etc. to fetch ads for mobile sites or mobile
>>> applications. The mobile device / server makes a HTTP request to Vserv
>>> Marketplace server with the required parameters and in response receives
>>> the ad in JSON format. This single API integration gives you the
>>> flexibility to fetch banner/ full screen / rich media ads.
>>>
>>> Available implementation is in pre-beta phase - quite majority of
>>> functionality works but there is still room for improvement.
>>>
>>> Since I'm not so experienced in this area of sw development - and
>>> especially newbie in Sailfish native development - *I would like to ask
>>> some help from the community in finishing it*.
>>>
>>> It would be a general purpose QML wrapper around the API with necessary
>>> tailoring is needed for Sailfish - e.g. Webkit vs. WebView, etc. Maybe
>>> separate git branches are needed for different implementation(?) - I'm open
>>> for any reasonable proposal.
>>>
>>> Is there anybody willing to join? Reviewing, commenting - and of course,
>>> coding is more than welcome. [This is my first open source project, so
>>> comment from this aspect is welcome, too.]
>>>
>>> API descrption is here
>>> ,
>>> code repository is in BitBucket
>>> 
>>>
>>> Br,
>>>
>>> Zoltan
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> 
>>> devel-unsubscr...@lists.sailfishos.org
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>>
>>
>>
>>
>>
>> 

Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!

2016-05-31 Thread Tone Kastlunger
How do you combine upside-down with hw keyboard in portrait mode?

On Tue, May 31, 2016 at 12:48 AM, Ruediger Schiller  wrote:

> On Mon, May 30, 2016 at 09:32:32PM +0300, E.S. Rosenberg wrote:
> > Talking about the size, if Jolla has any influence on the size of 3rd
> party
> > vendors can you please influence them to shrink a bit?
> > Even the size of the Jolla 1 is too large for proper single handed use,
> > swiping from the opposite side of the thumb holding the device is almost
> > impossible which kind of defeats the purpose of gesture based
> > interaction
>
> Sorry for hijacking this thread but this needs to be commented as it is so
> frustrating that I consider buying another phone.
>
> How about merging the good things from the 1.0UI back into 2.0 and make
> pages
> work upside down (important things in bottom half?!). The 2.0 UI only
> works on
> the Tablet as you use that mostly two-handed. The phone with buttons to
> reach on
> top like the settings-shortcuts in eventsview was also horrible in 1.0ui
> settings... The whole thing needs to be reworked, eventsview settings
> pulled
> from bottom and events history upside down (for example).
>
> Just from reviving my N900 two weeks ago and booting my Jolla with 1.0UI
> made me
> wish for a merged 1.0+2.0-upside-down UI and a device with proper h/w
> keyboard.
> We should get BB to use SFOS on BB Passport!
>
> > 2016-05-30 21:03 GMT+03:00 Michal Hrusecky :
> >
> > > Erik Lundin - 19:57 30.05.16 wrote:
> > > > Den 2016-05-30 kl. 19:53, skrev Michal Hrusecky:
> > > > > one more question, are dimensions known? Would like to start
> looking
> > > for some
> > > > > case :-)
> > > >
> > > > Height: 142 mm
> > > > Width: 72 mm
> > > > Thickness: 9.6 mm
> > > >
> > > > Shamelessly copied from https://jolla.com/jollac/ (expand "View full
> > > specs")
> > > > :)
> > >
> > > Thanks! :-)
> > > ___
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscr...@lists.sailfishos.org
> > >
>
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
>
> so long and thanks for all the fish
>
>
> Rüdiger Schiller
> ++
> | +** *Chem|st * **+ |
> | ++ |
> | ++ |
> ++
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] New Sailfish Community Program is launching soon - heads up!

2016-05-25 Thread Tone Kastlunger
Let's talk about what can be known,
rather than loosing time in speculations of when it will happen (and trust
our ComMan on it to happen).
James you mentioned there is a limited nr of seats; can you give an
estimation on how many?

Best,
tk


On Wed, May 25, 2016 at 11:58 AM, Sepehr James Noori <
james.no...@jollamobile.com> wrote:

> Oops,
>
> Yes sorry about that! It's my bad. Although my original plan was "not to
> give any dates/promises yet" but it went down like that as we were
> confident about it. But for some undisclosed reasons we had to push it back
> yesterday again. I'm probably never gonna promise anything!
>
> And now we're holding back since we want everything to be absolutely ready
> before saying anything!
>
> Anyway, thanks for the enthusiasm, I will be more careful :)
>
> Meanwhile, back to work!
>
> Cheers all!
>
> James Noori
> Community Manager
>
>
>
> On Wed, May 25, 2016 at 1:52 AM -0700, "Sylvain B." 
> wrote:
>
> Yes Michael, that's what I was referring to. When you say on Friday "check
> your email on Monday", it's the next business day to me.
> @Luciano: Unfortunately he did: "check your emails on Monday and Tuesday
> *next week* "
>
> James your enthusiasm is awesome, but you are the official voice of Jolla
> now so you need to choose your words and carefully review what you write :)
>
> Anyway, good to know that it's on track! Those who are still following
> Jolla have learned to be patient, my point was just: don't tease us for
> nothing! ;)
>
> 
> > Date: Wed, 25 May 2016 10:26:34 +0200
> > From: mikel...@gmail.com
> > To: devel@lists.sailfishos.org
> > Subject: Re: [SailfishDevel] New Sailfish Community Program is launching
> soon - heads up!
> >
> > On Wed, May 25, 2016 at 10:07 AM, Neufing, Michael 
> wrote:
> >
> >> you wrote we should check our mailboxes on Monday and Tuesday.
> >> I think there comes "the next business day" from :)
> >
> > Well, James did not specify the week... Maybe we should check our
> > mailbox *next* Monday/Tuesday... ;)
> >
> > --
> > Luciano Montanaro
> >
> > Anyone who is capable of getting themselves made President should on
> > no account be allowed to do the job. -- Douglas Adams
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A way to contact QA?

2016-05-24 Thread Tone Kastlunger
Check #sailfishos irc channel (see community page on sfos dev site)

On Tue, May 24, 2016 at 3:16 PM, Dylan Van Assche <
dylan.van.ass...@protonmail.com> wrote:

> Hi Sailfish developers,
>
> Is there a way to contact Lauri Johansson from the QA?
>
> He reported a bug through the QA channel but I would like to know more
> specifics about it but through Jolla Harbour there's not an option to
> reply.
>
> *"However there is an issue on receiving messages when match is created.
> Jolla Phone does not receive any message when sender sent it from official
> tinder app to Jolla. But sending messages to others works fine.*
>
> *Best Regards*
> *Lauri"*
>
> If Lauri reads this too:
>
>- Did you send the message by clicking on the Send message button or
>by navigating with the pulley menu to 'Matches' -> Match?
>- If you restart Sailfinder does it work then?
>
> Best Regards,
> Dylan Van Assche
>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Push Service for Sailfish OS

2016-02-02 Thread Tone Kastlunger
AFAIK, someone had putted together a concept-proof push service.

On Mon, Feb 1, 2016 at 9:14 PM, Erik Lundin  wrote:

> Den 2016-02-01 kl. 19:58, skrev george b:
>
>> The only missing thing is a working push service to get a real user
>> experience with a messaging application.
>>
>> Does anyone know something about that? I didn't find any good resources
>> about this topic on the internet.
>>
>
> There exists a question about that at TJC [1]. One idea, described at [2],
> seems to be to use an MQTT based service. Not much seems to have happened
> the last years though.
>
> I'm not involved in any of this myself but thought I could share what I
> have seen, since I also think it would be nice with some push service for
> SFOS.
>
> /Erik
>
> [1] https://together.jolla.com/question/9724/push-notifications/
> [2] https://wiki.merproject.org/wiki/Middleware/PushNotifications
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] monitor systemd unit from qml

2016-01-28 Thread Tone Kastlunger
OFC one option is to get your service to send a DBus signal once it's up.
But that makes systemd irrelevant.

dbus-monitor is your friend; put it to run and start the service, grep the
output to understand what's going on (which signals are emitted in
particular).

Then once you are sure the signal is emitted, make sure you have the
correct parameters to connect to it.

This should do it.

On Thu, Jan 28, 2016 at 1:09 PM, Michael Fuchs  wrote:

> No, didn't help either.
>
> https://gist.github.com/fuchsmich/354af082fbc4577a4bf5
>
> But thanks anyway.
>
>
> Am 27.01.2016 um 22:07 schrieb Ove Kåven:
>
>> Den 27. jan. 2016 17:03, skrev Michael Fuchs:
>>
>>> There is a signal "PropertiesChanged" defined but it doesn't get
>>> emitted, when I start or stop the service.
>>>
>>
>> http://www.freedesktop.org/wiki/Software/systemd/dbus/
>>
>> You could see whether calling "Subscribe()" enables these signals for you.
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Query about tablet USB

2015-11-17 Thread Tone Kastlunger
Do you plan to do something? If you end up with an rpm, consider dropping
it on OpenRepos :)

Best,
tortoisedoc

On Mon, Nov 16, 2015 at 10:19 AM, Kaj-Michael Lang  wrote:

> On ma, 2015-11-16 at 10:07 +0200, Philippe De Swert wrote:
> > Printers might probably be recognized but the kernel USB printer
> > driver
> > is disabled atm I think, so that would have to be added. However
> > there
> > are no specific usb printer drivers in the kernel as there are none
> > there. Printers use userspace drivers. You would need to add cups and
>
> A writable /dev/usb/lp0 is enough for what I have in mind. Could the
> usblp module perhaps be added in the future ?
>
>
> --
> Kaj-Michael Lang 
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Help,,,SDK don't love my jolla phone

2015-11-10 Thread Tone Kastlunger
Funny; i've been on 1510 for a month now, no issues with 2.0.0.10?

On Wed, Nov 11, 2015 at 8:25 AM, Martin Kampas 
wrote:

> Hello yinweijianyinweijian,
>
> If your SailfishOS version is 2.0.0 and your SDK is 1510 then this is most
> probably due to SSH incompatibility after dropping support for the unsafe
> aes128-cbc cipher from the phone.
>
> Upgrading to SDK-1511 (released yesterday November 10th) should fix this
> for you.
>
> BR,
> Martin
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of yinweijianyinweijian [
> iamyinweij...@outlook.com]
> *Sent:* Wednesday, November 11, 2015 2:36 AM
> *To:* devel@lists.sailfishos.org
> *Subject:* [SailfishDevel] Help,,,SDK don't love my jolla phone
>
> Hello ,Recently,I can't connect my jolla with the latest SDK,something
> happened just like Pictures.
> I set anything well,like "open developer model ","set password or auto get
> password","recover jolla","reset SDK"... but nothing happend.
> A long time ago it can work.,but now,it "sleep".My computer system is
> WIN7&64bit,can you help me?Thanks[image: Emoji]
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] any way to edit jolla-email app?

2015-11-08 Thread Tone Kastlunger
Coderus: a generic sample on how to redirect plugin resource loading would
be ok I guess?

On Sat, Nov 7, 2015 at 6:38 PM, Andrey Kozhevnikov 
wrote:

> because reversing closed source application :)
>
> -- Исходное сообщение --
> От: "Alexander Ladygin" 
> Кому: "Andrey Kozhevnikov" ; "Sailfish OS
> Developers" 
> Отправлено: 07.11.2015 21:38:03
> Тема: Re: [SailfishDevel] any way to edit jolla-email app?
>
>
> в чем проблема публично об этом написать?)
>
> On Sat, Nov 7, 2015 at 7:21 PM, Andrey Kozhevnikov  > wrote:
>
>> well, i doubt i can give you guidelines for that here, but you can write
>> me privately.
>>
>> -- Исходное сообщение --
>> От: "Alexander Ladygin" 
>> Кому: "Sailfish OS Developers" 
>> Отправлено: 07.11.2015 20:27:00
>> Тема: Re: [SailfishDevel] any way to edit jolla-email app?
>>
>>
>> any specific guidelines on how to do it?=)
>>
>> On Sat, Nov 7, 2015 at 6:00 PM, Андрей Кожевников > > wrote:
>>
>>> You can always unpack qml resources stored in binary and patch binary to
>>> load main qml file from disk instead of resources.
>>> 07.11.2015 17:07 пользователь "Alexander Ladygin" 
>>> написал:
>>>
 Hey!

 Probably stupid question but are there any ways to edit
 /usr/lib/jolla-email binary? QML parts as they are stored as clear text.

 Alex.

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

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

Re: [SailfishDevel] Contacts db issue

2015-10-27 Thread Tone Kastlunger
Okay! After doing it from the sqlite3 shell another time, the
integrity_check succeeded on the new file.

Thanks!


On Tue, Oct 27, 2015 at 9:10 AM, Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> Hey Matthew;
> thanks for the fast reply!
>
> Here's what I get from the new DB (after having run sqlite3
> qtcontacts-sqlite/contacts.db "pragma integrity_check;" on the newly
> created db):
>
> [nemo@Jolla Contacts]$ sqlite3 qtcontacts-sqlite/contacts.db "pragma
> integrity_check;"
> *** in database main ***
> On tree page 3275 cell 0: invalid page number 11395
> On tree page 3275 cell 0: Rowid 271735 out of order (min less than parent
> min of 524637)
> On tree page 2 cell 1: Child page depth differs
> and a bunch of the following:
> Page xx is never used
>
> Needless to say, after reboot, contact app shows no contacts at all (of
> course :) ).
>
> Best,
> tk
>
> On Tue, Oct 27, 2015 at 12:30 AM, Matthew Vogt <matthew.v...@jolla.com>
> wrote:
>
>> Hi Tone.
>> Yes, it sounds like you have a corrupted contacts database.  Any idea how
>> that might have happened?
>>
>> In any case, you can try to recreate the database to fix the issue.  You
>> need to do something along the lines of the following (but please
>> sanity-check these instructions before running them, I'm typing them into
>> email, not having tested them on device!):
>>
>> You will need to have a privileged user session:
>> $ devel-su -p
>>
>> Then stop everything that might be writing to the contacts database:
>> $ systemctl --user stop lipstick
>> $ systemctl --user stop msyncd
>> $ systemctl --user stop contactsd
>> $ systemctl --user stop as-daemon
>>
>> Change to the directory where the database resides:
>> $ cd ~/.local/share/system/privileged/Contacts
>>
>> Check that DB is actually corrupted; this will say 'ok' if there are no
>> problems, or report a bunch of error messages:
>> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma integrity_check;"
>>
>> If there are problems, continue:
>>
>> Make a backup copy of the broken DB just in case we lose something:
>> $ mkdir bkp
>> $ cp -R qtcontacts-sqlite bkp/
>>
>> Dump the DB contents:
>> $ mkdir temp
>> $ sqlite3 qtcontacts-sqlite/contacts.db .dump > temp/dump.sql
>>
>> Record the current schema version of the DB, which is reported by the
>> following command (it is probably 15 or 16 or something similar):
>> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma user_version;"
>>
>> Recreate the database from the dump:
>> $ mkdir new-db
>> $ sqlite3 new-db/contacts.db < temp/dump.sql
>>
>> Set the schema version in the new database, where VER is the number
>> reported above:
>> $ sqlite3 new-db/contacts.db "pragma user_version = ;"
>>
>> Move the new database to be the device database:
>> $ mv qtcontacts-sqlite old-db
>> $ mv new-db qtcontacts-sqlite
>>
>> Then reboot, and the device will restart using the new version of the DB.
>>
>> You can then remove the bkp, temp and old-db directories, assuming things
>> went well.  If things did not go well, you can restore the old-db directory
>> to the 'qtcontacts-sqlite' location (after stopping everything as we did
>> earlier) and contact me directly.
>>
>> Thanks,
>> Matt
>>
>> --
>> *From:* devel-boun...@lists.sailfishos.org [
>> devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [
>> users.giulie...@gmail.com]
>> *Sent:* Tuesday, October 27, 2015 5:47 AM
>> *To:* devel@lists.sailfishos.org
>> *Subject:* [SailfishDevel] Contacts db issue
>>
>> Hey;
>> looking through the logs (for something else) on my Jolla I happened to
>> find the
>> following error; it appears to be realated to the contacts db. Any way to
>> fix it?
>>
>>
>>  "Failed to prepare query for joined details:
>>   database disk image is malformed Unable to
>> fetch row
>>   Query:
>>   SELECT
>> Details.detailId,Details.contactId,Details.detail,Details.detailUri,Details.linkedDetailUris,Details.contexts,Details.accessConstraints,Details.provenance,COALESCE(Details.modifiable,
>> 0),COALESCE(Details.nonexportable,
>> 0),Addresses.*,Anniversaries.*,Avatars.*,Birthdays.*,EmailAddresses.*,Families.*,GeoLocations.*,Guids.*,Hobbies.*,Nicknames.*,Notes.*,OnlineAccounts.*,Organizations.*,PhoneNumbers.*,Presences.*,Ringtones.*,

Re: [SailfishDevel] Contacts db issue

2015-10-27 Thread Tone Kastlunger
Hey Matthew;
thanks for the fast reply!

Here's what I get from the new DB (after having run sqlite3
qtcontacts-sqlite/contacts.db "pragma integrity_check;" on the newly
created db):

[nemo@Jolla Contacts]$ sqlite3 qtcontacts-sqlite/contacts.db "pragma
integrity_check;"
*** in database main ***
On tree page 3275 cell 0: invalid page number 11395
On tree page 3275 cell 0: Rowid 271735 out of order (min less than parent
min of 524637)
On tree page 2 cell 1: Child page depth differs
and a bunch of the following:
Page xx is never used

Needless to say, after reboot, contact app shows no contacts at all (of
course :) ).

Best,
tk

On Tue, Oct 27, 2015 at 12:30 AM, Matthew Vogt <matthew.v...@jolla.com>
wrote:

> Hi Tone.
> Yes, it sounds like you have a corrupted contacts database.  Any idea how
> that might have happened?
>
> In any case, you can try to recreate the database to fix the issue.  You
> need to do something along the lines of the following (but please
> sanity-check these instructions before running them, I'm typing them into
> email, not having tested them on device!):
>
> You will need to have a privileged user session:
> $ devel-su -p
>
> Then stop everything that might be writing to the contacts database:
> $ systemctl --user stop lipstick
> $ systemctl --user stop msyncd
> $ systemctl --user stop contactsd
> $ systemctl --user stop as-daemon
>
> Change to the directory where the database resides:
> $ cd ~/.local/share/system/privileged/Contacts
>
> Check that DB is actually corrupted; this will say 'ok' if there are no
> problems, or report a bunch of error messages:
> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma integrity_check;"
>
> If there are problems, continue:
>
> Make a backup copy of the broken DB just in case we lose something:
> $ mkdir bkp
> $ cp -R qtcontacts-sqlite bkp/
>
> Dump the DB contents:
> $ mkdir temp
> $ sqlite3 qtcontacts-sqlite/contacts.db .dump > temp/dump.sql
>
> Record the current schema version of the DB, which is reported by the
> following command (it is probably 15 or 16 or something similar):
> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma user_version;"
>
> Recreate the database from the dump:
> $ mkdir new-db
> $ sqlite3 new-db/contacts.db < temp/dump.sql
>
> Set the schema version in the new database, where VER is the number
> reported above:
> $ sqlite3 new-db/contacts.db "pragma user_version = ;"
>
> Move the new database to be the device database:
> $ mv qtcontacts-sqlite old-db
> $ mv new-db qtcontacts-sqlite
>
> Then reboot, and the device will restart using the new version of the DB.
>
> You can then remove the bkp, temp and old-db directories, assuming things
> went well.  If things did not go well, you can restore the old-db directory
> to the 'qtcontacts-sqlite' location (after stopping everything as we did
> earlier) and contact me directly.
>
> Thanks,
> Matt
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [
> users.giulie...@gmail.com]
> *Sent:* Tuesday, October 27, 2015 5:47 AM
> *To:* devel@lists.sailfishos.org
> *Subject:* [SailfishDevel] Contacts db issue
>
> Hey;
> looking through the logs (for something else) on my Jolla I happened to
> find the
> following error; it appears to be realated to the contacts db. Any way to
> fix it?
>
>
>  "Failed to prepare query for joined details:
>   database disk image is malformed Unable to
> fetch row
>   Query:
>   SELECT
> Details.detailId,Details.contactId,Details.detail,Details.detailUri,Details.linkedDetailUris,Details.contexts,Details.accessConstraints,Details.provenance,COALESCE(Details.modifiable,
> 0),COALESCE(Details.nonexportable,
> 0),Addresses.*,Anniversaries.*,Avatars.*,Birthdays.*,EmailAddresses.*,Families.*,GeoLocations.*,Guids.*,Hobbies.*,Nicknames.*,Notes.*,OnlineAccounts.*,Organizations.*,PhoneNumbers.*,Presences.*,Ringtones.*,Tags.*,Urls.*,OriginMetadata.*,GlobalPresences.*,ExtendedDetails.*
> FROM temp.RegenerateAggregate CROSS JOIN Details ON Details.contactId =
> temp.RegenerateAggregate.contactId LEFT JOIN Addresses ON
> Addresses.detailId = Details.detailId LEFT JOIN Anniversaries ON
> Anniversaries.detailId = Details.detailId LEFT JOIN Avatars ON
> Avatars.detailId = Details.detailId LEFT JOIN Birthdays ON
> Birthdays.detailId = Details.detailId LEFT JOIN EmailAddresses ON
> EmailAddresses.detailId = Details.detailId LEFT JOIN Families ON
> Families.detailId = Details.detailId LEFT JOIN GeoLocations ON
> GeoLocations.detailId

Re: [SailfishDevel] Contacts db issue

2015-10-27 Thread Tone Kastlunger
Here's what I did:
a) I followed your instructions, this gave me a new database (with imported
contacts) and the integrity errors as per the mail above;
b) I did a
  mv contacts.db broken.db;
  sqlite3 contacts.db
  .read ../temp/dump.sql
c) i did NOT run this : sqlite3 new-db/contacts.db "pragma user_version =
;" (btw my VER was 15)


d) rebooted
e) "pragma integrity_check" returned OK on this latest db file.


On Tue, Oct 27, 2015 at 9:24 AM, Matthew Vogt <matthew.v...@jolla.com>
wrote:

> Hi Tone.
>
> Are you saying that you created a new database by using sqlite3 to import
> the dump you previously, and then you ran "pragma integrity_check;" on that
> new database, and found errors?  That should be unpossible...
>
> You have no contacts in the people app?  Can you try using contacts-tool
> as well (from a privileged shell):
> $ contacts-tool list
>
> Thanks,
> Matt
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [
> users.giulie...@gmail.com]
> *Sent:* Tuesday, October 27, 2015 5:10 PM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] Contacts db issue
>
> Hey Matthew;
> thanks for the fast reply!
>
> Here's what I get from the new DB (after having run sqlite3
> qtcontacts-sqlite/contacts.db "pragma integrity_check;" on the newly
> created db):
>
> [nemo@Jolla Contacts]$ sqlite3 qtcontacts-sqlite/contacts.db "pragma
> integrity_check;"
> *** in database main ***
> On tree page 3275 cell 0: invalid page number 11395
> On tree page 3275 cell 0: Rowid 271735 out of order (min less than parent
> min of 524637)
> On tree page 2 cell 1: Child page depth differs
> and a bunch of the following:
> Page xx is never used
>
> Needless to say, after reboot, contact app shows no contacts at all (of
> course :) ).
>
> Best,
> tk
>
> On Tue, Oct 27, 2015 at 12:30 AM, Matthew Vogt <matthew.v...@jolla.com>
> wrote:
>
>> Hi Tone.
>> Yes, it sounds like you have a corrupted contacts database.  Any idea how
>> that might have happened?
>>
>> In any case, you can try to recreate the database to fix the issue.  You
>> need to do something along the lines of the following (but please
>> sanity-check these instructions before running them, I'm typing them into
>> email, not having tested them on device!):
>>
>> You will need to have a privileged user session:
>> $ devel-su -p
>>
>> Then stop everything that might be writing to the contacts database:
>> $ systemctl --user stop lipstick
>> $ systemctl --user stop msyncd
>> $ systemctl --user stop contactsd
>> $ systemctl --user stop as-daemon
>>
>> Change to the directory where the database resides:
>> $ cd ~/.local/share/system/privileged/Contacts
>>
>> Check that DB is actually corrupted; this will say 'ok' if there are no
>> problems, or report a bunch of error messages:
>> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma integrity_check;"
>>
>> If there are problems, continue:
>>
>> Make a backup copy of the broken DB just in case we lose something:
>> $ mkdir bkp
>> $ cp -R qtcontacts-sqlite bkp/
>>
>> Dump the DB contents:
>> $ mkdir temp
>> $ sqlite3 qtcontacts-sqlite/contacts.db .dump > temp/dump.sql
>>
>> Record the current schema version of the DB, which is reported by the
>> following command (it is probably 15 or 16 or something similar):
>> $ sqlite3 qtcontacts-sqlite/contacts.db "pragma user_version;"
>>
>> Recreate the database from the dump:
>> $ mkdir new-db
>> $ sqlite3 new-db/contacts.db < temp/dump.sql
>>
>> Set the schema version in the new database, where VER is the number
>> reported above:
>> $ sqlite3 new-db/contacts.db "pragma user_version = ;"
>>
>> Move the new database to be the device database:
>> $ mv qtcontacts-sqlite old-db
>> $ mv new-db qtcontacts-sqlite
>>
>> Then reboot, and the device will restart using the new version of the DB.
>>
>> You can then remove the bkp, temp and old-db directories, assuming things
>> went well.  If things did not go well, you can restore the old-db directory
>> to the 'qtcontacts-sqlite' location (after stopping everything as we did
>> earlier) and contact me directly.
>>
>> Thanks,
>> Matt
>>
>> --
>> *From:* devel-boun...@lists.sailfishos.org [
>> devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [
>> users.giulie...@gmail.com]
>&

[SailfishDevel] Contacts db issue

2015-10-26 Thread Tone Kastlunger
Hey;
looking through the logs (for something else) on my Jolla I happened to
find the
following error; it appears to be realated to the contacts db. Any way to
fix it?


 "Failed to prepare query for joined details:
  database disk image is malformed Unable to
fetch row
  Query:
  SELECT
Details.detailId,Details.contactId,Details.detail,Details.detailUri,Details.linkedDetailUris,Details.contexts,Details.accessConstraints,Details.provenance,COALESCE(Details.modifiable,
0),COALESCE(Details.nonexportable,
0),Addresses.*,Anniversaries.*,Avatars.*,Birthdays.*,EmailAddresses.*,Families.*,GeoLocations.*,Guids.*,Hobbies.*,Nicknames.*,Notes.*,OnlineAccounts.*,Organizations.*,PhoneNumbers.*,Presences.*,Ringtones.*,Tags.*,Urls.*,OriginMetadata.*,GlobalPresences.*,ExtendedDetails.*
FROM temp.RegenerateAggregate CROSS JOIN Details ON Details.contactId =
temp.RegenerateAggregate.contactId LEFT JOIN Addresses ON
Addresses.detailId = Details.detailId LEFT JOIN Anniversaries ON
Anniversaries.detailId = Details.detailId LEFT JOIN Avatars ON
Avatars.detailId = Details.detailId LEFT JOIN Birthdays ON
Birthdays.detailId = Details.detailId LEFT JOIN EmailAddresses ON
EmailAddresses.detailId = Details.detailId LEFT JOIN Families ON
Families.detailId = Details.detailId LEFT JOIN GeoLocations ON
GeoLocations.detailId = Details.detailId LEFT JOIN Guids ON Guids.detailId
= Details.detailId LEFT JOIN Hobbies ON Hobbies.detailId = Details.detailId
LEFT JOIN Nicknames ON Nicknames.detailId = Details.detailId LEFT JOIN
Notes ON Notes.detailId = Details.detailId LEFT JOIN OnlineAccounts ON
OnlineAccounts.detailId = Details.detailId LEFT JOIN Organizations ON
Organizations.detailId = Details.detailId LEFT JOIN PhoneNumbers ON
PhoneNumbers.detailId = Details.detailId LEFT JOIN Presences ON
Presences.detailId = Details.detailId LEFT JOIN Ringtones ON
Ringtones.detailId = Details.detailId LEFT JOIN Tags ON Tags.detailId =
Details.detailId LEFT JOIN Urls ON Urls.detailId = Details.detailId LEFT
JOIN OriginMetadata ON OriginMetadata.detailId = Details.detailId LEFT JOIN
GlobalPresences ON GlobalPresences.detailId = Details.detailId LEFT JOIN
ExtendedDetails ON ExtendedDetails.detailI
Oct 26 21:38:30 Jolla [1156]: [W] ContactWriter::regenerateAggregates:3652
- "Failed to read constituent contacts for aggregate 8487 during regenerate"
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Lipstick and xdg-open

2015-10-22 Thread Tone Kastlunger
It depends if your app is configured (via .desktop file) to be running as
single instance or not;
and that is related to the launcher  (which is enforced on SFOS btw);
see "How can I disable single-instance launching?" under
https://harbour.jolla.com/faq).


If the application is already open, lipstick will just raise the previously
opened window.
It is a good question about what the app does with the arguments...

Best,
tortoisedoc


On Fri, Oct 23, 2015 at 12:09 AM, r0kk3rz  wrote:

> Hi Developers,
>
> How does Lipstick handle xdg-open in cases when the app is already running?
>
> When the app isn't running, I can currently open a file through xdg-open,
> which opens the app and passes in the file url as a command line parameter.
>
> I expected that upon subsequent xdg-open calls, it would also call the
> program with command line parameter, which I could use to check for an open
> instance on dbus, fire off a method call, and close again. Sounds easy, but
> this doesn't seem to be the case.
>
> If the app is already open, it comes into focus, and presumably needs some
> kind of an interface to get the open args?
>
>
> Watching dbus-monitor, i can see the following happen as i am trying to
> open a file
>
> method call sender=:1.394 -> dest=org.freedesktop.DBus serial=1
> path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
> signal sender=:1.394 -> dest=(null destination) serial=2
> path=/org/gtk/gio/DesktopAppInfo; interface=org.gtk.gio.DesktopAppInfo;
> member=Launched
>
> which has a parameter with my file url that i'm trying to open. And then
> lipstick brings my app into focus with this straight after
>
> method call sender=:1.390 -> dest=org.nemomobile.lipstick serial=3
> path=/WindowModel; interface=local.Lipstick.WindowModel;
> member=launchProcess
>string "/usr/bin/harbour-sirensong"
>
> Any information about how this is supposed to work?
>
> Regards,
>
> Lewis Rockliffe
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Delays in Harbour QA

2015-10-20 Thread Tone Kastlunger
Is this change permanent or temporary?

tortoisedoc

On Tue, Oct 20, 2015 at 12:23 PM, Developer Care 
wrote:

> We are sending this e-mail to update our developer community about the
> upcoming changes in the process of their applications on Harbour.
>
> Due to urgent need of all QA engineers on software release testing, we
> will have shortage of resources on Harbour QA side; therefore, we expect to
> have delays in processing our 3rd-party applications.
>
>
>
> We go through the queue in order of priority and will do our best to test
> the applications as soon as possible. Meanwhile, we thank you for your
> patience and consideration.
>
>
>
> Best Regards,
>
> Harbour QA team
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

  1   2   >