[SailfishDevel] Questions about not yet allowed APIs

2014-01-11 Thread Timur Kristóf
Hi, I'd like to ask about status & ETA about the following QML imports, ie. what's their current status (stability, maturity, etc) and when are we going to be able to use them in the harbour. import Qt.labs.settings 1.0 import QtGraphicalEffects 1.0 import QtFeedback 5.0 import QtDocGallery 5.0 i

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
Hi With current Harbour QA rules, application like that is not allowed. Issues: - privileged group is reserved for Jolla applications only, harbour apps are not allowed to have it - applications that install rpm packages are not allowed before there is setting for allowing 3rd party rpm in some

[SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Semuonov Basil
I guess, that I am the person who started this story about scriptlets. As Thomas suggested at his mail ( https://lists.sailfishos.org/pipermail/devel/2014-January/002767.html ), here is the problem which I personally trying to solve using postinst scriplet: Sailfish use zypp as backend, packagekit

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-11 Thread christopher . lamb
Hi Alejandro My understanding is that although the version is quotes as 5.1, it is actually a "not quite finished" 5.2 In the target there is a 5.2.0 subdirectory: /Users/christopherlamb/SailfishOS/mersdk/targets/SailfishOS-armv7hl/usr/include/qt5/QtPositioning/5.2.0 import QtPositioning 5

Re: [SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, christopher.l...@thurweb.ch escribió: > import QtPositioning 5.2 Isn't 5.1 the newest available? -- Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2 http://barnacity.net/ | http://disperso.net ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Application output looks different for Real device and Emulator

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, christopher.l...@thurweb.ch escribió: > Notice the difference? On the Emulator each line is prefixed with a > [D] or a [W], but on the Jolla only some of the lines are! There is a setting (environment variable, or function call in your application) to make the outpu

Re: [SailfishDevel] QAccelerometer availability ?

2014-01-11 Thread Mike Sheldon
Hi Frank, On Sat, 2014-01-11 at 18:03 +0100, Franck Routier (perso) wrote: > So: is QAccelerometer available in Sailfish SDK ? > If not, is it planned ? > Or is there another way to get this kind of features ? They're part of the QtSensors module which is available in the packages: "qt5-qtsensor

[SailfishDevel] Application output looks different for Real device and Emulator

2014-01-11 Thread christopher . lamb
Hi all Just something curious I noticed while trying to solve another problem: When running the same demo app on the Emulator, and then on the real Jolla, the application output looks different (aside from the different errors). On the Emulator: [D] QQmlDebuggingEnabler::QQmlDebuggingEnabl

[SailfishDevel] qml PositionSource element gives error: QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'

2014-01-11 Thread christopher . lamb
Hi all I have added a QML PositionSource element to the FirstPage of the default HelloSailors new project, and call the start() method from Component.onCompleted (see code snippet below mail). When running on the Emulator I get no error: When running on a real Jolla I get the following err

[SailfishDevel] QAccelerometer availability ?

2014-01-11 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to use QAccelerometer in my app, but it does not seem to be available... Given that I am still in the early stage of learning Qt/qml/C++ (!), I might just be wrong :-) So: is QAccelerometer available in Sailfish SDK ? If not, is it

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Marcin M.
Hi, Sorry, I forgot about PackageKit! ;) I was still in the apt world :) Regards, -- Marcin 2014/1/11 Mike Sheldon > Hi Marcin, > > On Sat, 2014-01-11 at 16:49 +0100, Marcin M. wrote: > > So how else can we update sudoers...? No custom package manager could > > be done without it. > > As I

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Mike Sheldon
Hi Marcin, On Sat, 2014-01-11 at 16:49 +0100, Marcin M. wrote: > So how else can we update sudoers...? No custom package manager could > be done without it. As I understand it you don't need to be root to carry out package management tasks on Sailfish due to the way it implements packagekit, whi

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Alejandro Exojo escribió: > El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > > There are reasons for chmod 666 in /usr/share/appname > > There are reasons for being 666 permissions, I got that, but isn't it > possible After reading Thomas' message, I've re

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Marcin M.
So how else can we update sudoers...? No custom package manager could be done without it. -- Marcin 2014/1/11 Thomas Perl > Duty calls[1]... > > tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. > > On 11 Jan 2014, at 13:51, Martin Kolman wrote: > > 11.1.2014 13:34, Al

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Thomas Perl
Duty calls[1]... tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. On 11 Jan 2014, at 13:51, Martin Kolman wrote: > 11.1.2014 13:34, Alejandro Exojo: >>> QA can check if post script doing some good job and allow it? >> If the script is simple, yes. If it is not, there is

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > There are reasons for chmod 666 in /usr/share/appname There are reasons for being 666 permissions, I got that, but isn't it possible the make that directory with such permissions as default? Sorry, I'm trying to understand the problem.

Re: [SailfishDevel] Howto ship QML plugins for harbour

2014-01-11 Thread Caliste Damien
Hello, Le vendredi 10 janvier 2014, Reto Zingg a écrit : > lets take an other example ;-) > > https://github.com/nemomobile/nemo-qml-plugin-dbus > > which is not allowed as such in Harbour, so I had to add it: > https://github.com/d0b3rm4n/harbour-simpletorch/tree/master/src/dbus > > I had to m

Re: [SailfishDevel] Howto ship QML plugins for harbour

2014-01-11 Thread Caliste Damien
Hello, Le vendredi 10 janvier 2014, Aaron McCarthy a écrit : > You will have to patch and rebuild the QML plugin. This is because it > is verifying that the correct import uri is used. You will need to > patch the source to accept the harbour.appname.QtPositioning uri. Ok, I see. > It is also not

Re: [SailfishDevel] How to activate GPS on device

2014-01-11 Thread Caliste Damien
Hello, Le vendredi 03 janvier 2014, Aaron McCarthy a écrit : > GPS works without network coverage, though the acquisition time is > How long did you wait? Were you outside or inside? Without assisted > GPS I've seen the device take between one and tens of minutes to get > a position fix. When in m

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Martin Kolman escribió: > 11.1.2014 13:34, Alejandro Exojo: > >> QA can check if post script doing some good job and allow it? > > > > If the script is simple, yes. If it is not, there is a serious risk that > > somebody adds a trojan horse to the phone. > > > > That

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Martin Kolman
11.1.2014 13:34, Alejandro Exojo: QA can check if post script doing some good job and allow it? If the script is simple, yes. If it is not, there is a serious risk that somebody adds a trojan horse to the phone. That would mean that somebody has to define what is a simple script. And that a pro

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
There are reasons for chmod 666 in /usr/share/appname Also i'm using scriptlets for closing my applications before installation new version/remove and so on On 11.01.2014 18:34, Alejandro Exojo wrote: El Saturday 11 January 2014, Andrey Kozhevnikov escribió: you suggested to change /usr/shar

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > you suggested to change /usr/share/appname/data folder permissions in > post script, so that means no way to go to harbour for this application? Why is such thing needed? And even if needed, why not making the permissions right from the

Re: [SailfishDevel] mersdk and kernel-devel

2014-01-11 Thread Kimmo Lindholm
Ok, I need to build the complete kernel to get Module.symvers ... but I get error with "make modules" HELP make -f /usr/src/kernels/3.4.0.20131212.3/scripts/Makefile.build obj=fs/lockd /usr/src/kernels/3.4.0.20131212.3/scripts/gcc-wrapper.py gcc -Wp,-MD,fs/lockd/.clntlock.o.d -nostdinc -i

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Martin Kolman
11.1.2014 11:43, Andrey Kozhevnikov: you suggested to change /usr/share/appname/data folder permissions in post script, so that means no way to go to harbour for this application? QA can check if post script doing some good job and allow it? On 11.01.2014 16:41, Jonni Rainisto wrote: because

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
you suggested to change /usr/share/appname/data folder permissions in post script, so that means no way to go to harbour for this application? QA can check if post script doing some good job and allow it? On 11.01.2014 16:41, Jonni Rainisto wrote: because they are runned as root. _

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
because they are runned as root. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Saturday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDe

[SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list