We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

App development without admin rights [answered]

asked 2020-05-08 00:16:57 +0200

petrikk gravatar image

updated 2020-05-08 00:50:08 +0200

Hi there. I'd like to modify forked sailfish app by myself. However, I cannot use SailfishSDK and VirtualBox - I do not have admin rights for the PC I'm using. Code modification is not the problem, but I wonder how to package it. Is there any way, how can I build rpm without Sailfish SDK and VirtualBox?

Thx

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by rozgwi
close date 2020-05-13 15:34:40.914169

Comments

1

As suggested below, you can develop directly on the device but it's a real pain to do if you are not familiar with Sailfish and all the qml modules it uses.

Perhaps to ask the owner of the PC you use to grant you admin rights or even create you a new account with admin rights so you can then use SFOS SDK and Virtualbox.

I started by making/developing apps directly on the device and I learnt a lot doing it that way, but SDK is soooo much easier and inherently quicker.

Spam Hunter ( 2020-05-08 10:37:39 +0200 )edit
2

On a tangent, I would be careful about developing applications on a machine you do not own.

If that is owned e.g. by your employer, they might have the rights to anything you develop on the machine.

nephros ( 2020-05-08 11:32:49 +0200 )edit

Then the employer can argue that with Jolla should they want to make any claims.

Spam Hunter ( 2020-05-08 11:35:29 +0200 )edit
1

I never tried it but if you _happen_ to have dockeron that machine and the privileges to use it (unlikely as everyone allowed to use docker is essentially root equivalent...), you could try coderus' SDK docker image: https://hub.docker.com/r/coderus/sailfishos-platform-sdk-base

NobodyInPerson ( 2020-05-10 09:56:19 +0200 )edit

I also never tried building a forked app that was designed to be built with the SDK. I don't like depending on GUIs and only do uncompiled Python+QML apps, so I always roll my own building/packaging system (e.g. with autotools, currently migrating to SCons) to be independent of the SDK. But if your forked app doesn't provide such an alternative...

NobodyInPerson ( 2020-05-10 10:04:22 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2020-05-13 15:27:21 +0200

petrikk gravatar image

I have found very useful information in this question

https://together.jolla.com/question/225631/best-way-to-develop-sfos-apps-on-arm-device/

might be helpful for others as well, closing this one

edit flag offensive delete publish link more
0

answered 2020-05-08 02:08:10 +0200

Maybe this here
https://talk.maemo.org/showthread.php?t=92963&highlight=packaging+rpm+schturmann
helps you?

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2020-05-08 00:16:57 +0200

Seen: 308 times

Last updated: May 13 '20