Re: [SailfishDevel] Lipstick not launching app

2020-04-14 Thread Adam Pigg
I think the qt5 booster is a no-op, but im sure someone with more
knowledge can correct me.  The regular booster will try and load the
app as a shared library so it will need to be compiled a certain way.
Depends how your app is written.  Anything based on the sdk templates
should be fine.

On Tue, 14 Apr 2020 at 12:19, Julien Blanc  wrote:
>
> Le mardi 14 avril 2020 à 11:27 +0100, Adam Pigg a écrit :
> > Have you tried using invoker to launch it?
>
> [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
> invoker: error: Can't send signal 11 to application [24388]: No such
> process
> Segmentation fault
>
> [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
>
> --> app launches correctly.
>
> So that’s indeed a difference, and i can fix the .desktop file
> accordingly. Thanks for the tip.
>
> But what is the difference between silica-qt5 and qt5 ? Why would it
> cause an app crash ?
>
> Regards,
>
> Julien
>
> > On Tue, 14 Apr 2020 at 11:18, Julien Blanc 
> > wrote:
> > > Finally found something relevant in the logs :
> > >
> > > Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
> > > (pid=16324) was terminated due to signal 11
> > >
> > > So apparently, my app segfaults, but only when launched from
> > > applauncherd. This is somewhat good news. I can start to track the
> > > issue adding some debug traces.
> > >
> > > I'm still puzzled as what's the difference between launching from
> > > lipstick and from a terminal.
> > >
> > > Regards,
> > >
> > > Julien
> > >
> > > Le mardi 14 avril 2020 à 07:35 +0200, Julien Blanc a écrit :
> > > > There it is :
> > > >
> > > > [Desktop Entry]
> > > > Type=Application
> > > > X-Nemo-Application-Type=silica-qt5
> > > > Icon=harbour-kontroller
> > > > Exec=harbour-kontroller
> > > > Name=Kontroller
> > > > # translation example:
> > > > # your app name in German locale (de)
> > > > #
> > > > # Remember to comment out the following line, if you do not want
> > > > to
> > > > use
> > > > # a different app name in German locale (de).
> > > > #Name[de]=kontroller
> > > >
> > > >
> > > > The whole source code is available here:
> > > >
> > > > https://github.com/Julien-Blanc-tgcm/kontroller
> > > >
> > > > I changed a lot of things from v0.6, so tracking which particular
> > > > change triggers the problem is not an easy task. I’d rather have
> > > > a
> > > > way
> > > > to get more traces from lipstick than reverting every single
> > > > change i
> > > > made.
> > > >
> > > > THanks for your help,
> > > >
> > > > Regards,
> > > >
> > > > Julien
> > > >
> > > > Le lundi 13 avril 2020 à 19:57 +0300, Андрей Кожевников a écrit :
> > > > > Hello. You're right. Show us your .desktop file to judge
> > > > >
> > > > > пн, 13 апр. 2020 г. в 19:12, Julien Blanc  > > > > >:
> > > > > > Hi,
> > > > > >
> > > > > > I’m running into a pretty annoying issue with lipstick not
> > > > > > launching
> > > > > > the application i develop anymore (occurs with 3.3, but
> > > > > > occurs
> > > > > > after i
> > > > > > made some changes which should not be relevant).
> > > > > >
> > > > > > The application launch fine from a terminal, launch fine from
> > > > > > the
> > > > > > sdk,
> > > > > > but launching it from lipstick, it never gets launched and
> > > > > > the
> > > > > > process
> > > > > > does not show up when running top/ps & co.
> > > > > >
> > > > > > This seems like there could be something wrong with my
> > > > > > .desktop
> > > > > > file,
> > > > > > but it didn't change between version 0.6 which was working
> > > > > > fine
> > > > > > with
> > > > > > 3.3 and the dev version, which is not (i could not test dev
> > > > > > version
> &

Re: [SailfishDevel] Lipstick not launching app

2020-04-14 Thread Adam Pigg
Have you tried using invoker to launch it?

On Tue, 14 Apr 2020 at 11:18, Julien Blanc  wrote:
>
> Finally found something relevant in the logs :
>
> Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
> (pid=16324) was terminated due to signal 11
>
> So apparently, my app segfaults, but only when launched from
> applauncherd. This is somewhat good news. I can start to track the
> issue adding some debug traces.
>
> I'm still puzzled as what's the difference between launching from
> lipstick and from a terminal.
>
> Regards,
>
> Julien
>
> Le mardi 14 avril 2020 à 07:35 +0200, Julien Blanc a écrit :
> > There it is :
> >
> > [Desktop Entry]
> > Type=Application
> > X-Nemo-Application-Type=silica-qt5
> > Icon=harbour-kontroller
> > Exec=harbour-kontroller
> > Name=Kontroller
> > # translation example:
> > # your app name in German locale (de)
> > #
> > # Remember to comment out the following line, if you do not want to
> > use
> > # a different app name in German locale (de).
> > #Name[de]=kontroller
> >
> >
> > The whole source code is available here:
> >
> > https://github.com/Julien-Blanc-tgcm/kontroller
> >
> > I changed a lot of things from v0.6, so tracking which particular
> > change triggers the problem is not an easy task. I’d rather have a
> > way
> > to get more traces from lipstick than reverting every single change i
> > made.
> >
> > THanks for your help,
> >
> > Regards,
> >
> > Julien
> >
> > Le lundi 13 avril 2020 à 19:57 +0300, Андрей Кожевников a écrit :
> > > Hello. You're right. Show us your .desktop file to judge
> > >
> > > пн, 13 апр. 2020 г. в 19:12, Julien Blanc :
> > > > Hi,
> > > >
> > > > I’m running into a pretty annoying issue with lipstick not
> > > > launching
> > > > the application i develop anymore (occurs with 3.3, but occurs
> > > > after i
> > > > made some changes which should not be relevant).
> > > >
> > > > The application launch fine from a terminal, launch fine from the
> > > > sdk,
> > > > but launching it from lipstick, it never gets launched and the
> > > > process
> > > > does not show up when running top/ps & co.
> > > >
> > > > This seems like there could be something wrong with my .desktop
> > > > file,
> > > > but it didn't change between version 0.6 which was working fine
> > > > with
> > > > 3.3 and the dev version, which is not (i could not test dev
> > > > version
> > > > with 3.2 yet).
> > > >
> > > > journalctl does not show anything. There must be something wrong
> > > > with
> > > > my app, since it is the only one showing this behaviour (and it
> > > > didn't
> > > > before), but i'm puzzled as how to debug this. Any pointer would
> > > > be
> > > > greatly appreciated.
> > > >
> > > > Regards,
> > > >
> > > > Julien
> > > >
> > > > ___
> > > > 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] Flatpak for Sailfish

2020-01-03 Thread Adam Pigg
Ill build it on mido and try it out, thanks!

On Fri, 3 Jan 2020 at 22:45, rinigus  wrote:

> Hi,
>
> I have submitted PR to libhybris allowing to use Flatpak on hybris devices
> with the same version serving its main purpose and inside Flatpak sandbox:
> https://github.com/libhybris/libhybris/pull/433.
>
> As soon as your device has such libhybris, you could
>
> - use https://build.merproject.org/project/show/home:rinigus:flatpak to
> install flatpak, flatpak-runner
> - run flatpak-extension-hybris to generate Flatpah hybris extension at
> user nemo's home (run as nemo)
> - install flatpak apps, see instructions at Flathub on how to do it
> - run them using flatpak-runner
>
> Many things don't work, but would be faster to get it fixed together with
> other devs.
>
> Cheers.
>
> Rinigus
>
> On Fri, Jan 3, 2020 at 12:18 AM rinigus  wrote:
>
>> Hi,
>>
>> just finished the first version of a wrapper for 'flatpak run' command as
>> well, available at https://github.com/rinigus/flatpak-runner . Its based
>> on qxcompositor and it opens new Wayland server before running an
>> application, all explained in README. Device rotation is supported and
>> should be followed.
>>
>> So, as it is:
>>
>> - we have to resolve libhybris linker issue to make it possible to
>> distribute.
>> - keyboard is not supported currently. At present, app has to have
>> qtvirtualkeyboard support added as in
>> https://doc.qt.io/qt-5/qtvirtualkeyboard-deployment-guide.html#creating-inputpanel
>> .
>> - only single-window apps are working well, such as QML developed for
>> mobile
>> - no sound so far
>> - probably many other things are missing, haven't bumped into them.
>>
>> Essentially, we will have access to the latest Qt, but would have to
>> write apps for this use. Fortunately, it all goes along SFOS programming
>> and should be simple to convert later to Silica, when/if it catches up with
>> Qt versions.
>>
>> I guess we can get better integration after it will be simple to install
>> on other devices and start using it by others.
>>
>> Cheers,
>>
>> Rinigus
>>
>> On Wed, Jan 1, 2020 at 5:25 PM rinigus  wrote:
>>
>>> Hi,
>>>
>>> wait a bit, I may have a way to simplify setup. Few days ago, after
>>> discussion on IRC, I found a way around disappearance of the window when
>>> wrapped into qxcomposer. So, that blocker is over now. Which means that we
>>> will be able to craft apps using the latest Qt available in Flatpaks.
>>>
>>> Currently, I am looking into
>>>
>>> - how we can use regular hybris
>>> - making a wrapper similar to qxcomposer for Flatpaks.
>>>
>>> Shouldn't take too long for an update on status.
>>>
>>> Cheers,
>>>
>>> Rinigus
>>>
>>> On Wed, Jan 1, 2020 at 4:55 PM  wrote:
>>>
 Could you elaborate on:
 > libhybris compiled with specification of default
 hybris-ld-library-path,
 > content of libexec/droid-hybris added with GL extension.
 Is that libhybris build available (and safe to run on main device, or
 should I dig out my j1)?
 Also not sure what added with GL extension means? Having a browser that
 uses up to date webengine would be awesome.

 Thanks and happy new year!
 szopin

 On Sunday, 29 December 2019, rinigus wrote:
 > Hi,
 >
 > I would have preferred to stay away from discussion on why do we
 need/not
 > need Flatpak on SFOS. But I guess I have to take it as the one
 working on
 > making it possible.
 >
 > Native apps rely on the libs allowed in the Store and bundle the rest
 of
 > them. I presume OSM Scout Server and Pure Maps are exceptions, but
 they are
 > built around almost 20 libs bundled with the application and compiled
 with
 > newer gcc than the one on the platform. If I would have continued to
 > provide OSM Scout Server via the official Store, I'd have to bundle
 > libsystemd as well - something that I found was crossing a line for
 me. So,
 > any security issue in those bundled libs would be propagated the same
 way
 > as with the Flatpak. I admit that its way less libs than distributed
 via
 > Flatpak. However, in the case of Flatpak, apps are provided on the
 top of
 > "runtimes" with the app including everything which is extending the
 runtime
 > to make it work. So, in case of OSM Scout Server and Pure Maps, their
 > Flatpaks do include some libs as well. Those runtimes are updated.
 Now, I
 > am not in position to say whether its security updates are as fast as
 of
 > distros and have no idea how it compares to SFOS.
 >
 > However, I see mainly portability and up-to-date toolbox aspect of
 Flatpak,
 > not that much security in terms of sandbox. These are my preferences
 and
 > they could differ from yours.
 >
 > Looking at the speed of upcoming Qt update, I was considering whether
 to
 > make qt5.12 (or later) in /opt (/home/opt) and use it from there to
 allow

Re: [SailfishDevel] DBus events for incoming call statuses

2018-07-16 Thread Adam Pigg
Hi Sebastian

In Amazfish, I 'borrowed' the code from rockpool for the same thing, see
https://github.com/piggz/harbour-amazfish/blob/master/src/voicecallhandler.cpp

Adam

On Mon, 16 Jul 2018 at 22:11 Sebastian Wolf  wrote:

> Dear fellow developers,
>
> last weekend, I did some additional experiments with my new Gemini PDA and
> was quite happy that I could implement a nice Knight-Rider/K.I.T.T.-like
> LED animation for incoming calls for SFOS. What drove me crazy was that the
> DBus event which I found out for active call changes doesn't fire in all
> cases. Incoming call detection always works, but when the status changes,
> sometimes no event comes in, so I can't disable the LEDs when the call is
> answered/disconnected etc in all cases...
>
> Currently, I use the event statusChanged
> on org.nemomobile.voicecall.VoiceCall with the path /calls/active on the
> session bus - details on:
> https://github.com/Wunderfitz/harbour-funzel/blob/master/src/funzel.cpp#L30
>
>
> I couldn't find any reliable information if another event might be better,
> only some old and most certainly outdated information about MCE... But
> maybe I was just blind. Does anybody know a reliable option for current
> SFOS releases?
>
> Thanks in advance and best regards, Sebastian
> ___
> 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-03-01 Thread Adam Pigg
Sounds ideal.  Atm its working ok with just clicking a notification, but
this sounds like a good future rework.

On Thu, 1 Mar 2018 at 00:59 Chris Adams <chris.ad...@jolla.com> wrote:

> Hi,
>
> It's not in devel yet, and the API will likely change a bit between now
> and when we consider it stable/supported API, but see
> https://github.com/sailfishos/sailfish-secrets/pull/22 for WIP generic
> interaction request, mediated by the system.  The primary use-case is
> passphrase input, but the intention is to allow different input types (e.g.
> confirmation vs PIN vs passphrase vs ...) eventually.
>
> Best regards,
> Chris.
>
> --
> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of Adam Pigg
> [a...@piggz.co.uk]
> *Sent:* Friday, February 23, 2018 8:15 PM
> *To:* Sailfish OS Developers
> *Subject:* [SailfishDevel] Prompt from daemon
>
> 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-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] where to report issues/bugs for Sailfish?

2018-02-25 Thread Adam Pigg
together.jolla.com, and hopefully it will be picked up by a sailor who will
add it to the internal bug tracker.

On Sun, 25 Feb 2018 at 18:02 Zoltán Lutor  wrote:

> Hi,
>
> Where to report suspicious issues/bugs related to Sailfish - to be more
> precise, SailfishX and QML Audio/MediaPlayer components?
>
> I have a small sample project that triggers the behavior...
>
> Br,
>
> Zoltan
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_1168034268973453099_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> 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

[SailfishDevel] Prompt from daemon

2018-02-23 Thread Adam Pigg
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-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-17 Thread Adam Pigg
Hi

You could create a dbus service for the application to talk to.  The gui
application can launch the dbus service if it isnt running, and connect
next time it is opened, leaving it running in the background.

Adam

On Sat, 17 Feb 2018 at 20:58 rinigus  wrote:

> Hi,
>
> from the point of view of portability, having a split GUI and backend
> should be nicely portable. Even focusing on systemd would cover large
> portion of Linux distributions, but you don't have to include any systemd
> dependencies as such. On desktop, it would allow you to move the backend
> into dedicated hardware, if you wish. Also, it would survive X11 crashes as
> a bonus. So, if you plan to run it 24x7, service running on the background
> is a good way of doing it.
>
> But maybe someone has better idea.
>
> Cheers,
>
> Rinigus
>
> On Sat, Feb 17, 2018 at 9:16 PM, Marcin Mielniczuk  > wrote:
>
>> I'm not sure if that's a good choice when trying to achieve portability.
>> Usually on desktop you'd rather have a monolithic application with just
>> minimize to tray.
>>
>> Any other options?
>>
>> On 05.02.2018 10:33, rinigus wrote:
>>
>> Hi,
>>
>> the obvious solution is to run service that is 24/7 on and separate
>> client for GUI. That's what stock messaging is doing. I would recommend it
>> and use some simple messaging API for communicating between them. There are
>> probably many APIs to choose that will allow you to set it up simply.
>>
>> If you can withstand short shutdown of the service then you can combine
>> it into the same application. It would require that application will start
>> in GUI or server mode depending on command line option. If started in GUI
>> mode, you would have to
>>
>> * shut down service via systemd
>> * establish new connections
>>
>> and on GUI exit you would have to
>>
>> * drop all connections
>> * start service via systemd
>>
>> The latter is the way OSM Scout Server works with the adjustment that its
>> using systemd sockets to keep it switched off when user is not accessing
>> it. Note that it was done for historical reasons (signaling between parts
>> was implemented via Qt) and since its mostly used as a service anyway
>> (users don't need to access GUI for weeks).
>>
>> I would still recommend splitting service/GUI parts and use some
>> messaging protocol in between. Myself I would have used zeromq, but you
>> could choose probably many others.
>>
>> Cheers,
>>
>> Rinigus
>>
>> On Mon, Feb 5, 2018 at 11:17 AM, Marcin Mielniczuk <
>> marmistrz...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> When creating SFOS applications which should run 24/7 (e.g. IMs) we
>>> would like to achieve similar behavior as the stock applications, e.g.
>>> the stock e-mail client: the sync (*) runs in the background, even
>>> though the application is closed. A window staying open just to make
>>> sure the sync goes on clutters the open app view and makes it more
>>> difficult to manage the open applications.
>>>
>>> On a desktop DE one would simply minimize the application to tray.
>>> Alternatively, one could create a daemon which the client app would
>>> communicate with using UNIX sockets, but it greatly increases the
>>> complexity of the application and slows down the development.
>>>
>>> What's the easiest way to keep the sync process in the background
>>> without keeping the window open?
>>>
>>> Regards,
>>> Marcin
>>>
>>> (*) when speaking sync, I mean any kind of waiting for a remote event,
>>> no matter if it's done by idle TCP (which is good) or HTTP polling
>>> (which is not good)
>>>
>>>
>>> ___
>>> 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

[SailfishDevel] Yes/no system prompt

2018-02-15 Thread Adam Pigg
Is there any way for a Daemon to pop up a yes/no dialog in the UI...
similar to the BT pair request dialog, and get the reply?

KDE has something similar in the knotification framework.

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

Re: [SailfishDevel] Sailfish X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)

2017-12-04 Thread Adam Pigg
No, i was not suggesting a link in /etc, I was suggesting copying the
bluetoothd.service file there, to allow it to be modified, by adding the
"-P autopair" parameter to disable the autopair plugin. This fix is
specifically for pairing BT <= 2.0 devices where the code is not . It
has nothing to do with the HFP profile problems after that.

On Mon, 4 Dec 2017 at 20:27 deloptes  wrote:

> Harald Schmitt wrote:
>
> > Am 03.12.2017 um 05:59 schrieb deloptes:
> >> Harald Schmitt wrote:
> >>
> >>> That sounds promising. imho the problems  are mainly located in
> >>> pulseaudio.
>
> I tested the patched version of pulseaudio, I compiled and installed
> yesterday. I was able to pair with the Car Audio. It is very cold here, so
> functional testing like auto connecting and calls will follow next.
>
> I just want to mention that I applied partially the change proposed by
> Adam:
> a link to bluetooth.service in /etc/systemd/system
>
> [nemo@Sailfish system]$ ls -al bluetooth.service
> lrwxrwxrwx 1 root root 37 Dec  3 23:56
> bluetooth.service -> /lib/systemd/system/bluetooth.service
>
> And following in /etc/pulse/default.pa (I put it there on 2.Nov, but not
> sure if relevant)
> #
> # https://wiki.archlinux.org/index.php/Bluetooth_headset
> # automatically switch to newly-connected devices
> load-module module-switch-on-connect
>
> Then I used bluetoothctl to pair, as pairing from the interface was not
> possible. This is also something Adam suggested in his post earlier.
>
> bluetoothctl offered a pass key prompt (I would say the old one, where you
> must type the key that was provided to the Car Kit).
>
> Thank you once again and sorry once again for nagging. The success in
> pairing unblocks now the further testing of the device, before it becomes a
> primary one. Without your help it wouldn't be possible!
>
> 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] Sailfish X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)

2017-12-02 Thread Adam Pigg
I enabled only hfp_ag_bluez5, and it sort of works, but isnt perfect.

It seems like after the first call/use ... it no longer works correctly.  A
subsequent call doesnt get any audio, and, more annoyingly, there is
crackling over the car kit, even when no calls are happening.

On Sat, 2 Dec 2017 at 07:02 deloptes  wrote:

> Harald Schmitt wrote:
>
> > yes, hfp_ag_bluez5 is the one that has to be enabled, which actually is
> > in sailfishX release.
> > So from ofono side I would say everything is fine.
>
> Harald,
> I do not see the HFT AG in Sailfish X. I do not think this is the only
> problem.
> If it were enabled, it would be visible, but I wait for the howto, to
> inspect the logs.
>
> 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] Sailfish X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)

2017-12-01 Thread Adam Pigg
So, should any of the ofono plugins be enabled you think?  I started
thinking they shouldnt, and the fix should all be in PA

On Fri, 1 Dec 2017 at 10:43 Harald Schmitt <li...@hschmitt.de> wrote:

> Hi,
>
> am 25.11.2017 um 22:06 schrieb deloptes:
> > Adam Pigg wrote:
> >
> >> You can enable hfp in ofono by editing (make a backup first)
> >> /var/lib/environment/ofono/noplugin.conf
> >> and removing the lines for hfp if hey are present in your device.
> > Hi Adam, all,
> >
> > I am pretty new to Sailfish and mer, though I can deal with code and
> > packages, I need some start assistance, to understand how all this
> project
> > works. On short term I just want to replace the N9 with a Sailfish that
> > meets some criteria and HFT is one of it.
> >
> > In /var/lib/environment/ofono/noplugin.conf  only hfp_bluez5 is present.
> In this configuration file you only specify which ofono plugins are
> disabled. To disable hfp_hf_bluez5 plugin is the correct thing to do
> because this plugin implements the car kit part while hfp_ag_bluez5
> implements the phone part. See
> https://git.merproject.org/mer-core/ofono/tree/master/ofono/plugins
>
> I think the only bug that is currently present is that pulseaudio cannot
> switch between the profile for phoning (HFP/HSP) and the profile for
> playing music/sound (a2dp). At least at my car kit either the one or the
> other work.
> But I hope there is light at the end of the tunnel. I submitted a patch
> to pulseaudio which was improved and merged today:
>
> https://git.merproject.org/mer-core/pulseaudio/commit/3dd77ef90820809073ee81732fe78276dc50a685
>
> >
> > What I need is hfp_ag_bluez5. I don't think it is enabled, even if I
> removed
> > the line and rebooted, it does not show the HF AG profile
> >
> > I can recompile ofono, but I can not recpomile the droid-config-f5121
> > because device-configs.inc is missing (actually the directory is empty)
> and
> > I don't know how to handle it.
> > Any help?
> Can you recompile pulseaudio with that patch at the mer OBS? Then I
> would be kean to try it out on my jalloC
> >
> > thanks & 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Sailfish X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)

2017-11-24 Thread Adam Pigg
I think that config file is for android bluedroid, not for bluez, so
wouldnt help.

I have some other issues

It seems _sometimes_ calls work to my car, sometimes not ...there is just
no audio ... could that be the issue of not connecting to the correct
profile?

After a successful call, further i can get a lot of crackling over the car
kit, even when there are no calls in progress.



On Fri, 24 Nov 2017 at 11:16 Harald Schmitt <li...@hschmitt.de> wrote:

> Am 22.11.2017 um 22:05 schrieb Adam Pigg:
>
> You coud test it yourself (dont blame me if anything breaks though!)
>
> You could hack the blouetoothd.service file to remove the autopair plugin,
> by copying /lib/system/system/bluetoothd.service to /etc/systemd/system/
> and making the appropriate changes.
>
> You can enable hfp in ofono by editing (make a backup first)
> /var/lib/environment/ofono/noplugin.conf
> and removing the lines for hfp if hey are present in your device.
>
>
>
> On Wed, 22 Nov 2017 at 20:55 deloptes <delop...@gmail.com> wrote:
>
>> Adam Pigg wrote:
>>
>> > I also fixed pairing with my car and bluez5.
>> >
>>
>>
>> Hi,
>> thank you, so if this is regarding mido I would need similar for f5121
>> (Xperia X) thus droid-config-f5121.
>> This was a valuable hint to understand where to look at.
>>
>> > Bluez5 has an autopair plugin for BT <= 2.0, but only tries .  My
>> car
>> > uses 1234.  The autopair is supposed to prompt for a pin if it fails,
>> but
>> > my car just tries the once.  Fix is to start bluetooth2 with -P autopair
>> > to disable it.
>> >
>>
>> you surely mean bluetoothd and not bluetooth2
>>
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/62db3befe6fab28306fe8b9d160794d8efe8a752
>> >
>> > I than had to enable hfp for ofono/bluez5
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/a2f3d65e5c0735bac33ef2c405e9f108fd616f3e
>> >
>> > And then i moved the file to the correct location
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/ce34a8071a965a67a743f70ebebc40f7b0da4d54
>> >
>> > Adam
>>
>>
>> So it looks like in Xperia X HFT is not enabled per default. There is only
>> usb-moded in the files.
>>
>> My question is if (there are a lot of changes and adaptations to be done)
>> but if the package is modified to provide HFT, would it be sufficient,
>> because it seems to be a configuration package (more or less) to ofono.
>>
>> How do I know if ofono is compiled with HFT support - would it be
>> sufficient?
>>
>> Is there someone from Jolla/Sailfish to do this officially - I would be
>> glad
>> to test - this is a preferred option?
>>
>> 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
>
> Hi,
>
> thanks for finding this. I tested it with my xperia x and now phone calls
> work if pairing is initiated from my car kit.
>
> I made a pull request to the xperia x droid config so this gets hopefully
> merged soon.
> https://github.com/mer-hybris/droid-config-f5121/pull/28
>
> I guess the same fix should be applied to jollaC. I mentioned it in the
> pull request.
>
> To help you on your auto pairing issue: I found the file
> "/system/etc/bluetooth/auto_pair_devlist.conf". I did not investigate it
> much but it seems that you could include your car kit their and then it
> would not be auto paired while other devices would still be auto-paired.
>
> Best regards,
> Harald
> ___
> 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 X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)

2017-11-22 Thread Adam Pigg
You coud test it yourself (dont blame me if anything breaks though!)

You could hack the blouetoothd.service file to remove the autopair plugin,
by copying /lib/system/system/bluetoothd.service to /etc/systemd/system/
and making the appropriate changes.

You can enable hfp in ofono by editing (make a backup first)
/var/lib/environment/ofono/noplugin.conf
and removing the lines for hfp if hey are present in your device.



On Wed, 22 Nov 2017 at 20:55 deloptes <delop...@gmail.com> wrote:

> Adam Pigg wrote:
>
> > I also fixed pairing with my car and bluez5.
> >
>
>
> Hi,
> thank you, so if this is regarding mido I would need similar for f5121
> (Xperia X) thus droid-config-f5121.
> This was a valuable hint to understand where to look at.
>
> > Bluez5 has an autopair plugin for BT <= 2.0, but only tries .  My car
> > uses 1234.  The autopair is supposed to prompt for a pin if it fails, but
> > my car just tries the once.  Fix is to start bluetooth2 with -P autopair
> > to disable it.
> >
>
> you surely mean bluetoothd and not bluetooth2
>
> >
>
> https://github.com/piggz/droid-config-mido/commit/62db3befe6fab28306fe8b9d160794d8efe8a752
> >
> > I than had to enable hfp for ofono/bluez5
> >
>
> https://github.com/piggz/droid-config-mido/commit/a2f3d65e5c0735bac33ef2c405e9f108fd616f3e
> >
> > And then i moved the file to the correct location
> >
>
> https://github.com/piggz/droid-config-mido/commit/ce34a8071a965a67a743f70ebebc40f7b0da4d54
> >
> > Adam
>
>
> So it looks like in Xperia X HFT is not enabled per default. There is only
> usb-moded in the files.
>
> My question is if (there are a lot of changes and adaptations to be done)
> but if the package is modified to provide HFT, would it be sufficient,
> because it seems to be a configuration package (more or less) to ofono.
>
> How do I know if ofono is compiled with HFT support - would it be
> sufficient?
>
> Is there someone from Jolla/Sailfish to do this officially - I would be
> glad
> to test - this is a preferred option?
>
> 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] [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC

2017-11-22 Thread Adam Pigg
I also fixed pairing with my car and bluez5.

Bluez5 has an autopair plugin for BT <= 2.0, but only tries .  My car
uses 1234.  The autopair is supposed to prompt for a pin if it fails, but
my car just tries the once.  Fix is to start bluetooth2 with -P autopair to
disable it.

https://github.com/piggz/droid-config-mido/commit/62db3befe6fab28306fe8b9d160794d8efe8a752

I than had to enable hfp for ofono/bluez5
https://github.com/piggz/droid-config-mido/commit/a2f3d65e5c0735bac33ef2c405e9f108fd616f3e

And then i moved the file to the correct location
https://github.com/piggz/droid-config-mido/commit/ce34a8071a965a67a743f70ebebc40f7b0da4d54

Adam

On Wed, 22 Nov 2017 at 16:20 Harald Schmitt <li...@hschmitt.de> wrote:

> Hi,
>
> Am 16.11.2017 um 21:47 schrieb deloptes:
> > Adam Pigg wrote:
> >
> >> The first issue (at least for me) to be resolved should be the fact that
> >> my phone cant even pair with my car.  I can pair with pebble, which uses
> >> the newer style pairing where both devices display a number ... the
> >> problem seems to be older pin code pairing no longer works on sfos.
> > This might be the main issue, but user reported that his car is not that
> old
> > and it still does not work, however who knows what a kind of BT system he
> > has inside.
> >
> > I also can not pair. As stated in my post the car clearly sends
> > e--1000-8000-00805f9b34fb   HFP_HS_UUID
> >
> > Though from the roughly 20 tries I saw this coming only once in
> > bluetoothctl.
> >
> > Can someone confirm that this profile is supported by bluez5 in Sailfish
> X?
> >
> > I find few ofono packages that can not be installed
> >
> > voicecall-qt5-plugin-ofono statefs-provider-inout-cellular
> ofono-configs-mer
> >
> > I'll have a look at them next to see what't hidden inside.
> >
> > regards
> >
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
> I added some more information to the issue:
>
> https://together.jolla.com/question/167230/bug-jollac-and-sailfishx-car-kit-connected-with-bluetooth-music-works-but-phone-calls-do-not/
>
> Basically you can see that HFP/HSP is somehow supported by checking
> pulseaudio devices with
> pactl list cards
> while your car kit is connected.
>
> I am not 100% sure whether that solves it but I submitted a patch to
> mer-core's pulseaudio.
> https://git.merproject.org/mer-core/pulseaudio/merge_requests/14
> I did not build it because MER OBS is currently not available.
>
> Best regards,
> Harald
>
>
> ___
> 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] [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC

2017-11-16 Thread Adam Pigg
The first issue (at least for me) to be resolved should be the fact that my
phone cant even pair with my car.  I can pair with pebble, which uses the
newer style pairing where both devices display a number ... the problem
seems to be older pin code pairing no longer works on sfos.


On Thu, 16 Nov 2017 at 19:50 deloptes  wrote:

> Christophe Chapuis wrote:
>
> > [1] http://www.bluez.org/profiles/
>
> Thanks as stated it is in ofono, however in my case only the car audio
> system[1] is able to initiate pairing with the device, which obviously does
> not work.
> So I can not do "Pair with the smartphone". As soon as I do it the car
> audio
> system drops off.
> From knowing bluez5 I guess the agent must accept the pairing request based
> on the profile and iniate pairing thus also prompt for code. In my case the
> system says "no phones have been found. returning to main menu"
>
> I guess the problem is somewhere between bluez5 and ofono. ofono-1.19 is
> installed >1.16 so why it does not work, but it works in bluez4.
>
> If you have any help it would be really great.
>
> [1]
>
> https://together.jolla.com/question/152079/howto-pair-mobile-phone-with-aom36990-navigation-system/
>
>
>
> ___
> 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] [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC

2017-11-15 Thread Adam Pigg
I cant guarantee i can make it, so I wont propose a topic, but if I can, in
AOB i would like to know if there is any way forward/progress on BT/bluez5
issues such as
https://together.jolla.com/question/167361/bluez5-cannot-pair-with-car-kit/
https://together.jolla.com/question/153888/no-bt-phonebook-on-2104/
https://together.jolla.com/question/167230/bug-jollac-and-sailfishx-car-kit-connected-with-bluetooth-music-works-but-phone-calls-do-not/
https://together.jolla.com/question/167230/bug-jollac-and-sailfishx-car-kit-connected-with-bluetooth-music-works-but-phone-calls-do-not/
https://together.jolla.com/question/157193/bug-bluetooth-car-phonebook-andor-history-sync-with-car-do-not-work-anymore-since-v210/

>From what I can make out, these started after 2.1, and cause quite some
impairment in basic functionality.

Im more than happy to assist by providing further logs, or testing
changes.  If a sailor could provide feedback on TjC even?


Adam

On Wed, 15 Nov 2017 at 22:30 James Noori  wrote:

> Hi all,
>
> This is a reminder email for the next open source community
> collaboration meeting, happening tomorrow, November 15th 2017 at 09:00 UTC.
>
> So far there are 3 topics announced and we have capacity for more. So
> please feel free to create your topic on the plannings page:
>
> https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/
>
> Deadline for submitting topics is November 15th at 08:30 UTC.
>
> See you tomorrow on IRC!
>
> --
> Best regards,
> James Noori,
> Community Manager,
> Jolla
>
> ___
> 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] Read device info

2017-08-18 Thread Adam Pigg
Would it not be better to query the version of required packages?

On Fri, 18 Aug 2017 at 12:46 Andrew Penkrat  wrote:

> Hi Dylan,
>
> You can read SFOS version from VERSION_ID line of /etc/os-release and
> device name from NAME line of /etc/hw-release. Though it claims my Jolla C
> is actually an Intex Aqua Fish :)
>
> Cheers,
> Andrew Penkrat
>
> On Fri, 18 Aug 2017 at 13:44 Dylan Van Assche via Devel <
> devel@lists.sailfishos.org> wrote:
>
>> Hi devs,
>>
>> Does somebody has a way to read the information displayed on the About
>> Page in Settings?
>> I would like to retrieve the SFOS version, Device name, ... not for
>> spying/collecting data (totally against that) but to check if some new
>> features of SFOS are available for my apps.
>>
>> Kind 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] KDE Frameworks 5

2017-03-28 Thread Adam Pigg
Michael

Im in the process of creating a Database app based on Kexi.  Most of the
libraries are compiling now, so just need to create the new gui for it.



On Tue, 28 Mar 2017 at 11:39 Michael Fuchs <mic...@gmx.at> wrote:

> Hi Adam,
>
> Thanks for your work.
> I have no use for it yet but will keep it in mind.
> Did you already port some software from KDE based on those kf?
>
> Michael.
>
>
> Am 23.03.2017 um 08:06 schrieb Adam Pigg:
> > If anyone has a need to develop/port software from KDE, i have a few of
> > the frameworks built against sfos
> > at https://build.merproject.org/project/show/home:piggz:kf5
> >
> > Version is 5.31 and the spec files are heavily based on those from
> opensuse.
> >
> > Adam
> >
> >
> > ___
> > 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

[SailfishDevel] KDE Frameworks 5

2017-03-23 Thread Adam Pigg
If anyone has a need to develop/port software from KDE, i have a few of the
frameworks built against sfos at
https://build.merproject.org/project/show/home:piggz:kf5

Version is 5.31 and the spec files are heavily based on those from opensuse.

Adam
___
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-09 Thread Adam Pigg
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/71dabb5dc330a47d91ee917ca60c871a88e8a42a
>
> 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-unsubscr...@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 Adam Pigg
It would be interesting to know:
1. What modules have problematic licenses and must be kept at 5.2
2. Why
3. Which new modules will be available from 5.6
4. Which specific licenses cannot be part of sfos and why

Im not sure if i can make the meeting, but will catch up on the logs asap.


On Sun, 8 Jan 2017 at 21:37 Tone Kastlunger <users.giulie...@gmail.com>
wrote:

> 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 <a...@piggz.co.uk> 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 <otsal...@iki.fi> 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 <otsal...@iki.fi>
> ___
> 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] [Reminder] Sailfish OS Open Source Community Collaboration Meeting 9th of January 2017

2017-01-08 Thread Adam Pigg
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-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

2016-09-09 Thread Adam Pigg
I'm more than happy to provide an account my next cloud instance , but you
have to figure out why my phone can see events that are created within next
cloud, but not those added via the ics2owncloud.py script ;)

https://github.com/buzz/ics2owncloud.py

I'm trying this as a way to subscribe to an ICS file, which doesn't show up
when synced from the Google plugin due to being read only.


On Fri, 9 Sep 2016, 02:55 Chris Adams,  wrote:

> Hi everyone,
>
> During the recent Sailfish OS Community Meeting, I raised the topic of
> CalDAV/CardDAV sync plugins for discussion.  These plugins provide vital
> functionality, but due to the complexity of the space (e.g., dozens of
> different server implementations, each with slightly different behaviour)
> coupled with resource limitations in Jolla, there have always been issues
> with them.  I asked the community if there would be anyone interested in
> contributing in some way, and the response was fantastic!
>
> As a result, I have created the following wiki page:
> https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions.
> Please note that currently that SFOS wiki is not able to be edited by
> community members (we're still trying to figure out how to create a proper
> review process for edits, and also whether or not it makes sense to provide
> single-sign-on between Mer and SFOS wiki, etc) but if you have any changes
> you'd like to make, please send them to me and I can publish them there.
>
> Also, I would like to organise a kick-off meeting in #mer-meeting on
> Freenode IRC this coming Monday the 12th of September at 0900 UTC (which is
> 7 pm Australian Eastern Standard Time, if that helps anyone else ;-)
>
> The agenda can be found in the wiki page.
>
> Everyone is welcome and invited to attend, even if you cannot volunteer to
> help at this point in time.
>
> If you cannot make it, don't worry, I will attach minutes from the meeting
> to the wiki page :-)
>
> Best regards,
> Chris 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

Re: [SailfishDevel] Update 2.0.1.3 and ssh

2015-10-28 Thread Adam Pigg
Is there a workaround/time frame for update? I've got fixes to make ‎for 
Harbour qa rejections! :)

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Jussi Pakkanen
Sent: Wednesday, 28 October 2015 12:40 PM
To: devel@lists.sailfishos.org
Reply To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update 2.0.1.3 and ssh

On 28.10.2015 14:33, Adam Pigg wrote:

> ‎After updating my tablet last night to 2.0.1.3 I could no longer
> connect using Qt creator / ssh. The client and server ciphers didn't
> match. I have not installed anything from openrepos such as a
> different ssh package.

This is caused by the fact that the SSH server has stricter cipher 
requirements in 2.0.1. The next SDK version will have newer QtC which 
will support deployment to these devices.

___
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

[SailfishDevel] Update 2.0.1.3 and ssh

2015-10-28 Thread Adam Pigg
 ‎After updating my tablet last night to 2.0.1.3 I could no longer connect using Qt creator / ssh. The client and server ciphers didn't match.   I have not installed anything from openrepos such as a different ssh package.Any ideasCheers Sent from my BlackBerry 10 smartphone.Hopefully will get a Jolla soon ;)
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to require an exact sailfish version in rpm?

2015-10-23 Thread Adam Pigg
  You can also specify the is version in the harbour store listing.Sent from my BlackBerry 10 smartphone.From: Andrey KozhevnikovSent: Friday, 23 October 2015 11:48 AMTo: Sailfish OS DevelopersReply To: Andrey KozhevnikovSubject: Re: [SailfishDevel] How to require an exact sailfish version in rpm?





for Harbour you not allowed to do so, for education purposes you can depend on sailfish-version package version :)
 
-- Исходное сообщение --
От: "Alexander Ladygin" 
Кому: "Sailfish OS Developers" 
Отправлено: 23.10.2015 15:46:33
Тема: [SailfishDevel] How to require an exact sailfish version in rpm?
 




Hello there sailors.What should i put in .spec file to require a specific OS version?Alex.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtMultimedia support

2015-02-25 Thread Adam Pigg
Its a shame the QtAudioEngine doesnt seem supported on Sailfish.  Qt
definitely needs an audio modules that works across all the platforms.

On Wed, 25 Feb 2015 at 13:18 Michael Neufing mich...@neufing.org wrote:

 If you read the documentation of the QML SoundEffect element [1], then
 you can see, that only uncompressed sound files (WAV) are supported by
 it.

 For other audio formats, use MediaPlayer [2].

 [1] http://doc.qt.io/qt-5/qml-qtmultimedia-soundeffect.html#details
 [2] http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html

 --
 *Michael Neufing*

 Zitat von peter.pykalai...@gmail.com:

  I got SoundEffect to work only with .wav -files. mp3 did not work for me.
 
  Luis Manuel Ramos Da Costa kirjoitti ke helmikuuta 25 17:36:34 2015
 GMT+0700:
  Dear Florian,
 
  Have you tried with SoundEffect ? I had problems with Audio and now I am
  using SoundEffect, maybe this can work.
 
  Best Regards,
  Luis Da Costa
 
  2015-02-25 6:21 GMT+00:00 Florian Desneux florian.desn...@gmail.com:
 
   Hello,
  
   Do you plan a support for QML QtMultimedia (mediaPlayer) for the VM?
  
   If been told on the Jolla forum that it's not supported.
  
   Is there a way to play mp3 sound in QML on Sailfish or nothing exists
 for
   the moment on the VM?
  
   I'm on Windows btw.
  
   Regards
  
   P.S.: first time I post through a mailing list :) There is always a
 first
   time you will say...
  
  
   --
   *Florian Desneux*
  
  
   ___
   SailfishOS.org Devel mailing list
   To unsubscribe, please send a mail to
   devel-unsubscr...@lists.sailfishos.org
  
 
 
  --
  // Peter Pykäläinen
  Lähetetty Jollastani
  ___
  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] Refrence dynamically created QML object?

2014-10-06 Thread Adam Pigg
I have this kind of code in a .js file, referenced from the .qml file:

var aliens = new Array(10*5);


//Create all aliens and position them on the board in rows

function createAliens() {

//Row 1

component = Qt.createComponent(alien1.qml);

var y = topline.y + topline.height + Sizer.alienYGap();

for (var i=0; i10; i++) {

aliens[i] = component.createObject(board);

aliens[i].x = ((aliens[i].width + Sizer.alienXGap()) * i) +
Sizer.alienXGap();

aliens[i].y = y;

aliens[i].objectName = alien_ + i;

}


etc etc etc


}


and then i might want to check a collision against all items in the array:


function checkBulletAlienCollision()

{

//Loop over each alien, checking if the bullet intersects


for (var i=0; i50; i++) {

if (bullet  aliens[i]) { //Check if objects exist first

if (bullet.x  aliens[i].x  bullet.x  aliens[i].x +
aliens[i].width) {

if ((bullet.y  aliens[i].y  || bullet.y +
bullet.height  aliens[i].y)  bullet.y  aliens[i].y +
aliens[i].height) {

playSound(killed);


score += aliens[i].pointsAwarded;

scoretext.text = Score:  + score;

bullet.y = -bullet.height; //Move the bullet offscreen


explosion.x = aliens[i].x - (explosion.width -
aliens[i].width) /2;

explosion.y = aliens[i].y - (explosion.height -
aliens[i].height) /2;


aliens[i].destroy();

aliens[i] = null;


explosion.play();

if (alienanimation.interval 
100) { //Get faster when a alien is killed

alienanimation.interval -= 10;

}

break;

}

}

}

}

}



On Mon, Oct 6, 2014 at 9:04 AM, Peter Pykäläinen peter.pykalai...@gmail.com
 wrote:

 Thanks Andrey!
 Will test that too tonight.


 // Peter Pykäläinen

 On 6 October 2014 10:39, Andrey Kozhevnikov coderusin...@gmail.com
 wrote:

  use

 property Item object1
 property Item object2

 ...

 function createObjects() {
  object1 = component1.createObject(parent, paraneters)
  object2 = component2.createObject(parent, paraneters)
 checkCollisionsFunction(object1, object2)
 }

 06.10.2014 12:26, Peter Pykäläinen пишет:

 Hi,

  I have a problem with a dynamically created QML object and referencing
 it.
  The problem is as follows:

  - Create a dynamic QML object with createObject, assign signal to it.
 This works fine.
  - Create another dynamic QML object.
  - I would need to check collision of these two new objects, I am using a
 timer to check that.
  - Now since I can not reference both objects with their IDs I can't get
 the collision check to work.

  Any ideas how to achive this?

  I have tried to use a LlistModel to store all my objects, but looping
 through them with JavaScript slows down my application significantly, so
 this is not an option.

 // Peter Pykäläinen


 ___
 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] Landscape Orientation without Silica

2014-10-02 Thread Adam Pigg
Cheers, i'd done all that but missed the achors.centreIn!!!

On Thu, Oct 2, 2014 at 6:19 AM, Gunnar Sletta gun...@sletta.org wrote:


 On 01 Oct 2014, at 22:22, Adam Pigg a...@piggz.co.uk wrote:

  Hi
 
  Is is possible to force an application into landscape orientation, when
 only using a plain QQuickWindow and QML/QtQuick2 without using silica
 components/applications/pages?
 
  Ive tried creating a sub item of my root item that is rotated 90 degrees
 but it ends up being offset, and I feel it should be easier!
 
  Cheers
 
  Adam

 This should do the trick:

 Item {
 id: root

 width: 540
 height: 960

 Item {
 id: contentRoot
 width: parent.height
 height: parent.width
 anchors.centerIn: parent
 rotation: 90

 ApplicationGoesHere {
 ...
 }
 }
 }

 cheers,
 Gunnar

 www.sletta.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

[SailfishDevel] Landscape Orientation without Silica

2014-10-01 Thread Adam Pigg
Hi

Is is possible to force an application into landscape orientation, when
only using a plain QQuickWindow and QML/QtQuick2 without using silica
components/applications/pages?

Ive tried creating a sub item of my root item that is rotated 90 degrees
but it ends up being offset, and I feel it should be easier!

Cheers

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