[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

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:

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 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] 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

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

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] 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 make

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] 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 th.p...@gmail.com 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

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,

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 m...@mikeasoft.com 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

[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

[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]

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-qtsensors

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] 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