Re: [SailfishDevel] AAC support

2014-01-06 Thread Damien Tardy-Panis
Well it is said in the comments as well that:
AAC isn't proprietary but in any case it's supported already. The media app 
quite happily plays AAC and it's part of the MPEG 4 standard so presumably 
required for video also.
The Sailfish browser reports it plays AAC audio too.

And I've been able to play some myself...

So something is wrong there:
- maybe some AAC types are not supported (AAC-LC, HE AAC, HE AACv2,..) ?
- or some kind of other limitations (no support from AAC streams,...)?

Would be great to have some kind of official confirmation for that (to know 
if this is normal or not)

Regards

Damien

On Monday, January 06, 2014 01:19:45 AM Thomas Tanghus wrote:
 On Monday 06 January 2014 00:46 Damien Tardy-Panis wrote:
  Hi all,
  
  I've been testing a bit different music file/stream formats on the phone
  Everything seems fine for flac/ogg/mp3, however I got some problems with
  AAC format
  
  I've tried several AAC/AAC-HE samples:
  - some found on the Internet
  - some converted from my collection
  - some streaming links
  
  And some files are played correctly, some not...
  It seems like no .aac file can be played and only some .m4a (with AAC) can
  (but still not all)
  
  Launching a AAC stream with gstreamer from command line like
  gst-launch-0.10 -v playbin2 uri=http://sfstream1.somafm.com:3000
  is telling me among other things
  Missing element: MPEG Audio decoder
  
  Can someone tell me what is going on?
  And what to do if possible (any extra plugin/package to install?...)
 
 Missing codec?
 https://together.jolla.com/question/7364/crowdfunding-licensed-software-for-
 jolla-sailfishos/ mentions it.
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Timur Kristóf
Possibly because when you launch it from the SDK it runs either as a
different user, or just isn't part of the session on the phone, ie. not all
the environment variables are set, etc.


Timur



On Mon, Jan 6, 2014 at 1:23 AM, Karsten Todtermuschke kat...@web.de wrote:

 Hi Matze,

 I observed the same issue.

 I used QtContacts 5.0 in Qml and selected org.nemomobile.contacts.sqlite
 from the available managers for ContactModel.manager

 In the output from the application started with QtCreator I read the error
 message: Unable to create contacts database directory
 /home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite

 so there is a double-slash in the path. I already found at the source of
 qtcontacts-sqlite

 in file:


 https://github.com/nemomobile/qtcontacts-sqlite/blob/master/src/engine/contactsdatabase.cpp

 and method:

 QSqlDatabase ContactsDatabase::open(const QString databaseName)

 how the path is created:

 QString privilegedDataDir(QString(%1/%2/)
 .arg(QString::fromLatin1(QTCONTACTS_SQLITE_CENTRAL_DATA_DIR))
 .arg(QString::fromLatin1(QTCONTACTS_SQLITE_PRIVILEGED_DIR)));

 I further found the defines in
 https://github.com/nemomobile/qtcontacts-sqlite/blob/master/src/engine/engine.prowhere

 DEFINES +=

 'QTCONTACTS_SQLITE_CENTRAL_DATA_DIR=\'\/home/nemo/.local/share/system/\\''

 already includes the slash. So at this point I know why the double slash
 is in
 the path.

 What I do not understand at all is: Why it works when I launch it at the
 phone?

 Best regards,

 Karsten


 Am Sonntag 05 Januar 2014, 23:10:46 schrieb Matthias Barmeier:
 Hi,
 
 I am unable to access the phone book when running my app from QtCreator
 on the phone.
 Is this a security feature ?
 Is it possible to work with a fake contact DB ?
 
 Ciao
  Matze
 ___
 SailfishOS.org Devel mailing list

 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No inbox?

2014-01-06 Thread Timur Kristóf
Hi Chris,

We all have a lot of problems with the email client (although not all of us
have such a serious problem as you). I suggest to create a post about it
(or search if anyone found a solution yet) on together.jolla.com

Cheers,
Timur


Timur



On Sun, Jan 5, 2014 at 6:36 PM, Chris Walker 
cdw_noki...@the-walker-household.co.uk wrote:

 On Thu, 2 Jan 2014 11:18:45 +
 Chris Walker cdw_noki...@the-walker-household.co.uk wrote:

  On Thu, 02 Jan 2014 12:50:08 +0200
  Jonni Nakari jo...@egarden.fi wrote:
 
   On 02.01.2014 12:23, Chris Walker wrote:
As I appear to be the only one with this problem, it's plainly not
something that should trouble the development team.
   I had a similar problem when I tried adding my free Gmail account
   using Microsoft Exchange account type. No errors were displayed when
   creating the account or checking mail.
  
   I might have also seen this problem when I mistyped some settings on
   a imap type account, but not sure about that.
  
   I suggest that you re-create and double check all you account's
   settings. You might get some additional debug information by
   enabling the developer mode and running journalctl -f -a as root
   when first saving the account and when checking for new mail.
 
  This is an IMAP account.
 
  It is now declaring 'Problem with sync' so that does suggest a typo
  somewhere but I have checked and rechecked all the account
  information. I'm tempted to take a look at the accounts.db file to
  see what that holds.

 I'm almost at the stage of throwing this thing away! It is *so*
 frustrating to use that it beggars belief at times.

 If I'm in the middle of setting up an email account and the screen
 blanks (after 5 seconds and not the 30 seconds it's set to!), why when I
 double tap to get back, does it revert to the home screen? I expect it
 to be like most other equipment I've used, phones included and to go
 back to where I left it.

 But the real frustration is the email setting stuff. I *still* haven't
 managed to get the thing to log into my IMAP account despite the fact
 that I can do it on a Windows 7 machine, the linux machine, a
 Blackberry Playbook and my N900 phone. They *all* show all the folders
 on the IMAP account and yet the Jolla won't. I've created the account
 countless times, both by ssh'ing in and doing it by the command line and
 also by using the GUI. It always displays 'Problem with Sync'. So as I
 also have an email account on the Playbook I used those settings and I
 can see all the folders that are present on that account (also IMAP).
 But having received an email into it, when I replied it wouldn't send. I
 *think* that initially was a problem with my router for some reason so
 having toggled the power to that I tried again. The message in the
 outbox would not send despite using the same settings as the PB. So I
 switched the settings on the Jolla to use the smtp server specified for
 my landline (the same that the linux and Windows machine use) but it
 still wouldn't send. I deleted the reply and recreated it and this time
 it did go. To me, that implies that the message holds details of the
 outgoing server and whatever I did, is never likely to make it send.

 So some questions.

 How can I reduce the number of accounts held in the sqlite database as
 the number is already up to 7 and I only have 2 email accounts, one of
 which doesn't work and the other one will be deleted?

 Second question. Does the email hold details of the outgoing server
 until it's sent?
 [I do see messages in the terminal 'OfonoNetworkRegistration' there
 was more to that but it's scrolled off screen too far to recall].

 Third question and one that's been posed here before and that is, how
 do I set the password for IMAP from the command line without using
 push2mail and also, I would also like to be able to check the password.
 Is there any way?

 CDW
 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No inbox?

2014-01-06 Thread Chris Walker
On Mon, 6 Jan 2014 13:01:28 +0100
Timur Kristóf timur.kris...@gmail.com wrote:

 Hi Chris,
 
 We all have a lot of problems with the email client (although not all
 of us have such a serious problem as you). I suggest to create a post
 about it (or search if anyone found a solution yet) on
 together.jolla.com

I've been reading the various posts on together and have been trying
some of the 'fixes'. They're good but haven't helped me so far.

For fear of my rantings sounding like I am dismissive of the efforts of
the Jolla team, I am not. It's just my own lack of patience that's on
show here ;-)
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Undocumented Silica components

2014-01-06 Thread Robin Burchell
For things in Qt itself, keep an eye on Qt upstream. When they are part of an 
official Qt release (that is: stable API), then we can look at them when we 
upgrade.

As far as I know, nobody has yet prioritised work on either of those, and 
platform support is scarce, so I don’t see them happening in the immediate 
future.

BR,
Robin

On 06 Jan 2014, at 12:57, Timur Kristóf 
timur.kris...@gmail.commailto:timur.kris...@gmail.com wrote:

Hi Martin,

So, we're okay with using PullDownMenu::busy and OpacityRampEffect, but we 
should avoid GlassItem for the moment. Right?

What about other APIs that are there but aren't allowed yet, such as 
QtDocGallery and QtFeedback? When can we use those in harbour?

Thanks,
Timur


Timur



On Mon, Jan 6, 2014 at 2:16 AM, Martin Jones 
martin.jo...@jolla.commailto:martin.jo...@jolla.com wrote:
Hi,

As a general rule, if it’s not documented then it isn’t public API.

The GlassItem API hasn’t been reviewed for public use. It will probably change 
and is not safe for use.
The busy property of PullDownMenu is documented, but the docs have not been 
updated in the SDK.
OpacityRampEffect has been reviewed for public use, but is not yet documented. 
We’ll do this asap.

Best Regards,
Martin.


On 3 Jan 2014, at 6:58 am, Luciano Montanaro 
mikel...@gmail.commailto:mikel...@gmail.com wrote:

 I don't know if this has been addresed already, but...

 In my application, I would like to use a few components that the
 componentgallery is demoing, but that are not documented in the
 reference documentation.
 Is it OK to use everything that works there?

 Specifically, I want to use

 * OpacityRampEffect for my coverpage
 * the busy property of the PullDownMenu while fetching status updates
 * possibly the GlassItem as an indicator of the train delay

 Since I would like for my application to eventually be distributed
 through the Harbour, I would like to know if it is OK to do so.

 Best regards,
 Luciano

 --
 Luciano Montanaro

 Anyone who is capable of getting themselves made President should on
 no account be allowed to do the job. -- Douglas Adams
 ___
 SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Ove Kåven

Den 05. jan. 2014 23:10, skrev Matthias Barmeier:

Hi,

I am unable to access the phone book when running my app from QtCreator
on the phone.
Is this a security feature ?


I've needed to access PIM data myself, so, as far as I can tell from my 
own investigations, yes, it's Unix security. The directory 
.local/share/system/privileged is only accessible to processes that are 
in the privileged group.


The standard boosters (used by mapplauncherd) seem to be sgid 
privileged, thus automatically giving Qt/QML apps that use them the 
necessary privileges (at least when launched from the phone menu, I 
suppose). But when you just launch something using ssh (not 
mapplauncherd), the apps probably won't belong to that group automatically.


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Andrey Kozhevnikov

change your launch parameters to use invoker

On 06.01.2014 19:14, Ove Kåven wrote:

Den 05. jan. 2014 23:10, skrev Matthias Barmeier:

Hi,

I am unable to access the phone book when running my app from QtCreator
on the phone.
Is this a security feature ?


I've needed to access PIM data myself, so, as far as I can tell from 
my own investigations, yes, it's Unix security. The directory 
.local/share/system/privileged is only accessible to processes that 
are in the privileged group.


The standard boosters (used by mapplauncherd) seem to be sgid 
privileged, thus automatically giving Qt/QML apps that use them the 
necessary privileges (at least when launched from the phone menu, I 
suppose). But when you just launch something using ssh (not 
mapplauncherd), the apps probably won't belong to that group 
automatically.


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


[SailfishDevel] TextArea question

2014-01-06 Thread Andrey Kozhevnikov

Hello! I have some questions.

I want to keep dynamic TextArea height, but set maximum number of 
visible lines.


And anyone got bug when zooming in interface while selecting text? 
Sometimes its not zooming out and i cant use application :D


Thanks :)
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Undocumented Silica components

2014-01-06 Thread Timur Kristóf
Hey Robin,

What is the recommended way to use those things in a Sailfish app right now?

Thanks,
Timur


Timur



On Mon, Jan 6, 2014 at 2:10 PM, Robin Burchell robin.burch...@jolla.comwrote:

  For things in Qt itself, keep an eye on Qt upstream. When they are part
 of an official Qt release (that is: stable API), then we can look at them
 when we upgrade.

  As far as I know, nobody has yet prioritised work on either of those,
 and platform support is scarce, so I don’t see them happening in the
 immediate future.

  BR,
 Robin

   On 06 Jan 2014, at 12:57, Timur Kristóf timur.kris...@gmail.com wrote:

  Hi Martin,

 So, we're okay with using PullDownMenu::busy and OpacityRampEffect, but we
 should avoid GlassItem for the moment. Right?

  What about other APIs that are there but aren't allowed yet, such as
 QtDocGallery and QtFeedback? When can we use those in harbour?

 Thanks,
 Timur


 Timur



 On Mon, Jan 6, 2014 at 2:16 AM, Martin Jones martin.jo...@jolla.comwrote:

 Hi,

 As a general rule, if it’s not documented then it isn’t public API.

 The GlassItem API hasn’t been reviewed for public use. It will probably
 change and is not safe for use.
 The busy property of PullDownMenu is documented, but the docs have not
 been updated in the SDK.
 OpacityRampEffect has been reviewed for public use, but is not yet
 documented. We’ll do this asap.

 Best Regards,
 Martin.


 On 3 Jan 2014, at 6:58 am, Luciano Montanaro mikel...@gmail.com wrote:

  I don't know if this has been addresed already, but...
 
  In my application, I would like to use a few components that the
  componentgallery is demoing, but that are not documented in the
  reference documentation.
  Is it OK to use everything that works there?
 
  Specifically, I want to use
 
  * OpacityRampEffect for my coverpage
  * the busy property of the PullDownMenu while fetching status updates
  * possibly the GlassItem as an indicator of the train delay
 
  Since I would like for my application to eventually be distributed
  through the Harbour, I would like to know if it is OK to do so.
 
  Best regards,
  Luciano
 
  --
  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

 ___
 SailfishOS.org Devel mailing list


  ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[SailfishDevel] Syncing of QT Module releases between Qt Project and Sailfish SDK

2014-01-06 Thread christopher . lamb

Hi All

I am interested, what is the process for syncing Qt Module releases as  
delivered with the Sailfish SDK with the equivalent Qt Modules from Qt  
Project?


Or put another way: if a bug-fix is made to something in Qt Project,  
how / when does this hit Sailfish?


As an example this bug-report I opened a few weeks ago has just been  
fixed (though of course not yet released).


https://bugreports.qt-project.org/browse/QTBUG-35276

mfg

Chris


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour: Rejections clarify

2014-01-06 Thread christopher . lamb

Hi Reto

Zitat von Reto Zingg reto.zi...@jolla.com:



gst-plugins-good and  
qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer are on device by  
default. Apps should not require this packages. Please remove it  
from your requires section.




If I understand this correctly we are not supposed to have explicit  
yaml file dependencies for stuff that is installed on the device by  
default.


The question is: how are we poor developers supposed to keep track of  
what is installed by default, and what was added later (either in the  
course of development, or by third party apps via their yamls)?


Speaking for myself, I forget in a matter of days of which packages I  
added where ...


Is there a documented list of the default installed packages? If not,  
it might be helpful.


Grüsse

Chris

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Deploy as RPM Package vs Deploy By Building As RPM Package

2014-01-06 Thread David Greaves
On 06/01/14 16:21, christopher.l...@thurweb.ch wrote:
 Hi All
 
 In QtCreator for the Sailfish i486-x86 Target I have two options
 
 Deploy as Binaries
 
 and
 
 Deploy as RPM Package
 
 For the Sailfish Arm target there is a third option
 
 Deploy by Building an RPM Package
 
 What is the difference between Deploy as RPM Package and Deploy By Building
 As RPM Package?

If you want an ARM rpm (eg for the Harbour) but don't yet have a device.

Note that since there's no run option you have to do a manual deploy from the 
menu.

David

___
SailfishOS.org Devel mailing list


[SailfishDevel] Target update failed:

2014-01-06 Thread Jarkko Lietolahti
This was shown in SailfishOS after trying to apply Update target:

 Operation Progress
* finished: Syncing target repos
SailfishOS-i486-x86 - exited with status 4*


[jolla|plugin:ssu?repo=jolla] Can't provide file
'./non-oss/noarch/wqy-zenhei-font-0.0.3-10.1.1.jolla.noarch.rpm' from
repository 'jolla'
History:
 - wqy-zenhei-font-0.0.3-10.1.1.jolla.noarch.rpm has wrong checksum

Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Marcin M.
And is it possible to make packagekit show bytes (or x 10^n bytes) progress
just like apt or zypper?

--
Marcin


2014/1/4 Mikael Hermansson m...@7b4.se

 On Saturday 04 January 2014 20.07.52 Martin Grimme wrote:
  Hi,
 
  2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com:
   afaik pakckagekit have easy queue management
 
  Yes, PackageKit can queue transactions, and it can be operated without
  root privileges (which zypper would require). Sailfish/Nemo uses
  zypper's libzypp as backend for PackageKit, however.
  AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed.

 One reason for packagekit is is to make platform independent package
 manager
 pkcon working both for RPM, DEB maybe more

 its a freedesktop project see:

 http://www.packagekit.org/index.html




 --
 Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov

http://www.packagekit.org/gtk-doc/Transaction.html


On 07.01.2014 00:09, Marcin M. wrote:
And is it possible to make packagekit show bytes (or x 10^n bytes) 
progress just like apt or zypper?


--
Marcin


2014/1/4 Mikael Hermansson m...@7b4.se mailto:m...@7b4.se

On Saturday 04 January 2014 20.07.52 tel:2014%2020.07.52 Martin
Grimme wrote:
 Hi,

 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com
mailto:coderusin...@gmail.com:
  afaik pakckagekit have easy queue management

 Yes, PackageKit can queue transactions, and it can be operated
without
 root privileges (which zypper would require). Sailfish/Nemo uses
 zypper's libzypp as backend for PackageKit, however.
 AFAIK zypper doesn't come preinstalled on Sailfish, but can be
installed.

One reason for packagekit is is to make platform independent
package manager
pkcon working both for RPM, DEB maybe more

its a freedesktop project see:

http://www.packagekit.org/index.html




--
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov

afaik zypper downloading via curl, and it displaying information you want.

On 07.01.2014 00:09, Marcin M. wrote:
And is it possible to make packagekit show bytes (or x 10^n bytes) 
progress just like apt or zypper?


--
Marcin


2014/1/4 Mikael Hermansson m...@7b4.se mailto:m...@7b4.se

On Saturday 04 January 2014 20.07.52 tel:2014%2020.07.52 Martin
Grimme wrote:
 Hi,

 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com
mailto:coderusin...@gmail.com:
  afaik pakckagekit have easy queue management

 Yes, PackageKit can queue transactions, and it can be operated
without
 root privileges (which zypper would require). Sailfish/Nemo uses
 zypper's libzypp as backend for PackageKit, however.
 AFAIK zypper doesn't come preinstalled on Sailfish, but can be
installed.

One reason for packagekit is is to make platform independent
package manager
pkcon working both for RPM, DEB maybe more

its a freedesktop project see:

http://www.packagekit.org/index.html




--
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Andrey Kozhevnikov

so? pkcon providin same data which pk server sent :)

On 07.01.2014 00:23, Marcin M. wrote:
The manual is about the D-Bus service, and I meant the CLI interface - 
pkcon.


--
Marcin


2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com 
mailto:coderusin...@gmail.com


afaik zypper downloading via curl, and it displaying information
you want.


On 07.01.2014 00:09, Marcin M. wrote:

And is it possible to make packagekit show bytes (or x 10^n
bytes) progress just like apt or zypper?

--
Marcin


2014/1/4 Mikael Hermansson m...@7b4.se mailto:m...@7b4.se

On Saturday 04 January 2014 20.07.52 tel:2014%2020.07.52
Martin Grimme wrote:
 Hi,

 2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com
mailto:coderusin...@gmail.com:
  afaik pakckagekit have easy queue management

 Yes, PackageKit can queue transactions, and it can be
operated without
 root privileges (which zypper would require). Sailfish/Nemo
uses
 zypper's libzypp as backend for PackageKit, however.
 AFAIK zypper doesn't come preinstalled on Sailfish, but can
be installed.

One reason for packagekit is is to make platform
independent package manager
pkcon working both for RPM, DEB maybe more

its a freedesktop project see:

http://www.packagekit.org/index.html




--
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Marcin M.
The manual is about the D-Bus service, and I meant the CLI interface -
pkcon.

--
Marcin


2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com

  afaik zypper downloading via curl, and it displaying information you want.


 On 07.01.2014 00:09, Marcin M. wrote:

 And is it possible to make packagekit show bytes (or x 10^n bytes)
 progress just like apt or zypper?

  --
 Marcin


 2014/1/4 Mikael Hermansson m...@7b4.se

 On Saturday 04 January 2014 20.07.52 Martin Grimme wrote:
  Hi,
 
  2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com:
   afaik pakckagekit have easy queue management
 
  Yes, PackageKit can queue transactions, and it can be operated without
  root privileges (which zypper would require). Sailfish/Nemo uses
  zypper's libzypp as backend for PackageKit, however.
  AFAIK zypper doesn't come preinstalled on Sailfish, but can be
 installed.

  One reason for packagekit is is to make platform independent package
 manager
 pkcon working both for RPM, DEB maybe more

 its a freedesktop project see:

 http://www.packagekit.org/index.html




 --
 Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
  ___
 SailfishOS.org Devel mailing list




 ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-06 Thread Marcin M.
It does only:

Installing[=]
Waiting in queue  [=]
Starting  [=]
Refreshing software list  [=]
Querying  [=]
Resolving dependencies[=]
Installing packages   [=]
The following packages have to be installed:
 augeas-libs-1.0.0-1.1.1.i486Libraries for augeas
 zypper-1.8.3-1.1.3.i486Command line software manager using libzypp
Proceed with changes? [N/y] y

  [=]
Installing[=]
Waiting in queue  [=]
Waiting for authentication[=]
Waiting in queue  [=]
Starting  [=]
Refreshing software list  [=]
Querying  [=]
Resolving dependencies[=]
Installing packages   [=]
Downloading packages  [=]

And doesn't show in the geeky way as apt ;)

--
Marcin


2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com

  so? pkcon providin same data which pk server sent :)


 On 07.01.2014 00:23, Marcin M. wrote:

 The manual is about the D-Bus service, and I meant the CLI interface -
 pkcon.

  --
 Marcin


 2014/1/6 Andrey Kozhevnikov coderusin...@gmail.com

  afaik zypper downloading via curl, and it displaying information you
 want.


 On 07.01.2014 00:09, Marcin M. wrote:

 And is it possible to make packagekit show bytes (or x 10^n bytes)
 progress just like apt or zypper?

  --
 Marcin


 2014/1/4 Mikael Hermansson m...@7b4.se

 On Saturday 04 January 2014 20.07.52 2014%2020.07.52 Martin Grimme
 wrote:
  Hi,
 
  2014/1/4, Andrey Kozhevnikov coderusin...@gmail.com:
   afaik pakckagekit have easy queue management
 
  Yes, PackageKit can queue transactions, and it can be operated without
  root privileges (which zypper would require). Sailfish/Nemo uses
  zypper's libzypp as backend for PackageKit, however.
  AFAIK zypper doesn't come preinstalled on Sailfish, but can be
 installed.

  One reason for packagekit is is to make platform independent package
 manager
 pkcon working both for RPM, DEB maybe more

 its a freedesktop project see:

 http://www.packagekit.org/index.html




 --
 Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
  ___
 SailfishOS.org Devel mailing list




 ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list




 ___
 SailfishOS.org Devel mailing list



 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No inbox?

2014-01-06 Thread debexpert1
Hi guys, 
mail client worked since the beginnings for me (gmail) but you cannot define 
poll or push settings so atm I am using K9mail. Waiting for new native clients. 
Fot this kind of issues starting a thread on 2gether always is a productive 
attitude. 

Cheers 
SteP
-- 
Enviado desde mi teléfono Android con K-9 Mail. Disculpa mi brevedad

Chris Walker cdw_noki...@the-walker-household.co.uk wrote:

On Mon, 6 Jan 2014 13:01:28 +0100
Timur Kristóf timur.kris...@gmail.com wrote:

 Hi Chris,
 
 We all have a lot of problems with the email client (although not all
 of us have such a serious problem as you). I suggest to create a post
 about it (or search if anyone found a solution yet) on
 together.jolla.com

I've been reading the various posts on together and have been trying
some of the 'fixes'. They're good but haven't helped me so far.

For fear of my rantings sounding like I am dismissive of the efforts of
the Jolla team, I am not. It's just my own lack of patience that's on
show here ;-)
_

SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No inbox?

2014-01-06 Thread debexpert1
Timur gave the best suggestion. Use together.jolla.com as you may use launchpad 
on desktop ;) 
BR
SteP
-- 
Sent from K-9 Mail on Jolla 

Timur Kristóf timur.kris...@gmail.com wrote:

Hi Chris,

We all have a lot of problems with the email client (although not all of us 
have such a serious problem as you). I suggest to create a post about it (or 
search if anyone found a solution yet) on together.jolla.com


Cheers,
Timur



Timur



On Sun, Jan 5, 2014 at 6:36 PM, Chris Walker 
cdw_noki...@the-walker-household.co.uk wrote:

On Thu, 2 Jan 2014 11:18:45 +
Chris Walker cdw_noki...@the-walker-household.co.uk wrote:

 On Thu, 02 Jan 2014 12:50:08 +0200
 Jonni Nakari jo...@egarden.fi wrote:

  On 02.01.2014 12:23, Chris Walker wrote:
   As I appear to be the only one with this problem, it's plainly not
   something that should trouble the development team.
  I had a similar problem when I tried adding my free Gmail account
  using Microsoft Exchange account type. No errors were displayed when
  creating the account or checking mail.
 
  I might have also seen this problem when I mistyped some settings on
  a imap type account, but not sure about that.
 
  I suggest that you re-create and double check all you account's
  settings. You might get some additional debug information by
  enabling the developer mode and running journalctl -f -a as root
  when first saving the account and when checking for new mail.

 This is an IMAP account.

 It is now declaring 'Problem with sync' so that does suggest a typo
 somewhere but I have checked and rechecked all the account
 information. I'm tempted to take a look at the accounts.db file to
 see what that holds.

I'm almost at the stage of throwing this thing away! It is *so*
frustrating to use that it beggars belief at times.

If I'm in the middle of setting up an email account and the screen
blanks (after 5 seconds and not the 30 seconds it's set to!), why when I
double tap to get back, does it revert to the home screen? I expect it
to be like most other equipment I've used, phones included and to go
back to where I left it.

But the real frustration is the email setting stuff. I *still* haven't
managed to get the thing to log into my IMAP account despite the fact
that I can do it on a Windows 7 machine, the linux machine, a
Blackberry Playbook and my N900 phone. They *all* show all the folders
on the IMAP account and yet the Jolla won't. I've created the account
countless times, both by ssh'ing in and doing it by the command line and
also by using the GUI. It always displays 'Problem with Sync'. So as I
also have an email account on the Playbook I used those settings and I
can see all the folders that are present on that account (also IMAP).
But having received an email into it, when I replied it wouldn't send. I
*think* that initially was a problem with my router for some reason so
having toggled the power to that I tried again. The message in the
outbox would not send despite using the same settings as the PB. So I
switched the settings on the Jolla to use the smtp server specified for
my landline (the same that the linux and Windows machine use) but it
still wouldn't send. I deleted the reply and recreated it and this time
it did go. To me, that implies that the message holds details of the
outgoing server and whatever I did, is never likely to make it send.

So some questions.

How can I reduce the number of accounts held in the sqlite database as
the number is already up to 7 and I only have 2 email accounts, one of
which doesn't work and the other one will be deleted?

Second question. Does the email hold details of the outgoing server
until it's sent?
[I do see messages in the terminal 'OfonoNetworkRegistration' there
was more to that but it's scrolled off screen too far to recall].

Third question and one that's been posed here before and that is, how
do I set the password for IMAP from the command line without using
push2mail and also, I would also like to be able to check the password.
Is there any way?

CDW
___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Matthias Barmeier

Hi Andrey,

Thanks A Lot !!!

That worked without any problems.

In QtCreator went to Projects. I set the Execute/Run ? (my QtCreator is 
in German) and set the executable to /usr/bin/invoker.
After setting the arguments to --type qtquick2 /usr/bin/appname I 
can start the app and get access to the contacts DB.


Thanks again.

Ciao
Matze


Am 06.01.2014 14:16, schrieb Andrey Kozhevnikov:

change your launch parameters to use invoker

On 06.01.2014 19:14, Ove Kåven wrote:

Den 05. jan. 2014 23:10, skrev Matthias Barmeier:

Hi,

I am unable to access the phone book when running my app from QtCreator
on the phone.
Is this a security feature ?


I've needed to access PIM data myself, so, as far as I can tell from 
my own investigations, yes, it's Unix security. The directory 
.local/share/system/privileged is only accessible to processes that 
are in the privileged group.


The standard boosters (used by mapplauncherd) seem to be sgid 
privileged, thus automatically giving Qt/QML apps that use them the 
necessary privileges (at least when launched from the phone menu, I 
suppose). But when you just launch something using ssh (not 
mapplauncherd), the apps probably won't belong to that group 
automatically.


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Undocumented Silica components

2014-01-06 Thread Martin Jones

On 6 Jan 2014, at 9:57 pm, Timur Kristóf 
timur.kris...@gmail.commailto:timur.kris...@gmail.com wrote:

Hi Martin,

So, we're okay with using PullDownMenu::busy and OpacityRampEffect, but we 
should avoid GlassItem for the moment. Right?

Yes.

For OpacityRampEffect, use only the properties used in the silica component 
gallery example.

Best Regards,
Martin.


What about other APIs that are there but aren't allowed yet, such as 
QtDocGallery and QtFeedback? When can we use those in harbour?

Thanks,
Timur


Timur



On Mon, Jan 6, 2014 at 2:16 AM, Martin Jones 
martin.jo...@jolla.commailto:martin.jo...@jolla.com wrote:
Hi,

As a general rule, if it’s not documented then it isn’t public API.

The GlassItem API hasn’t been reviewed for public use. It will probably change 
and is not safe for use.
The busy property of PullDownMenu is documented, but the docs have not been 
updated in the SDK.
OpacityRampEffect has been reviewed for public use, but is not yet documented. 
We’ll do this asap.

Best Regards,
Martin.


On 3 Jan 2014, at 6:58 am, Luciano Montanaro 
mikel...@gmail.commailto:mikel...@gmail.com wrote:

 I don't know if this has been addresed already, but...

 In my application, I would like to use a few components that the
 componentgallery is demoing, but that are not documented in the
 reference documentation.
 Is it OK to use everything that works there?

 Specifically, I want to use

 * OpacityRampEffect for my coverpage
 * the busy property of the PullDownMenu while fetching status updates
 * possibly the GlassItem as an indicator of the train delay

 Since I would like for my application to eventually be distributed
 through the Harbour, I would like to know if it is OK to do so.

 Best regards,
 Luciano

 --
 Luciano Montanaro

 Anyone who is capable of getting themselves made President should on
 no account be allowed to do the job. -- Douglas Adams
 ___
 SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.orghttp://SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No inbox?

2014-01-06 Thread Chris Walker
On Thu, 2 Jan 2014 11:18:45 +
Chris Walker cdw_noki...@the-walker-household.co.uk wrote:

 On Thu, 02 Jan 2014 12:50:08 +0200
 Jonni Nakari jo...@egarden.fi wrote:
 
  On 02.01.2014 12:23, Chris Walker wrote:
   As I appear to be the only one with this problem, it's plainly not
   something that should trouble the development team.
  I had a similar problem when I tried adding my free Gmail account
  using Microsoft Exchange account type. No errors were displayed when
  creating the account or checking mail.
  
  I might have also seen this problem when I mistyped some settings on
  a imap type account, but not sure about that.
  
  I suggest that you re-create and double check all you account's 
  settings. You might get some additional debug information by
  enabling the developer mode and running journalctl -f -a as root
  when first saving the account and when checking for new mail.
 
 This is an IMAP account.
 
 It is now declaring 'Problem with sync' so that does suggest a typo
 somewhere but I have checked and rechecked all the account
 information. I'm tempted to take a look at the accounts.db file to
 see what that holds.

I'm almost at the stage of throwing this thing away! It is *so*
frustrating to use that it beggars belief at times.

If I'm in the middle of setting up an email account and the screen
blanks (after 5 seconds and not the 30 seconds it's set to!), why when I
double tap to get back, does it revert to the home screen? I expect it
to be like most other equipment I've used, phones included and to go
back to where I left it.

But the real frustration is the email setting stuff. I *still* haven't
managed to get the thing to log into my IMAP account despite the fact
that I can do it on a Windows 7 machine, the linux machine, a
Blackberry Playbook and my N900 phone. They *all* show all the folders
on the IMAP account and yet the Jolla won't. I've created the account
countless times, both by ssh'ing in and doing it by the command line and
also by using the GUI. It always displays 'Problem with Sync'. So as I
also have an email account on the Playbook I used those settings and I
can see all the folders that are present on that account (also IMAP).
But having received an email into it, when I replied it wouldn't send. I
*think* that initially was a problem with my router for some reason so
having toggled the power to that I tried again. The message in the
outbox would not send despite using the same settings as the PB. So I
switched the settings on the Jolla to use the smtp server specified for
my landline (the same that the linux and Windows machine use) but it
still wouldn't send. I deleted the reply and recreated it and this time
it did go. To me, that implies that the message holds details of the
outgoing server and whatever I did, is never likely to make it send.

So some questions.

Can I reduce the number of accounts held in the sqlite database as the
number is already up to 7 and I only have 2 email accounts, one of
which doesn't work and the other one will be deleted?

Second question. Does the email hold details of the outgoing server
until it's sent?
[I do see messages in the terminal 'OfonoNetworkRegistration' there
was more to that but it's scrolled off screen too far to recall].

Third question and one that's been posed here before and that is, how
do I set the password for IMAP from the command line without using
push2mail and also, I would also like to be able to check the password.
Is there any way?

CDW
___
SailfishOS.org Devel mailing list