[SailfishDevel] SDK 2.0 Released

2019-03-28 Thread Ville Nummela

Hello

Today (Mar 28th) at 14:00 UTC we have released the Sailfish SDK 2.0 to 
all users. The SDK has provided good value for our Sailfish users and 
developers, and has now matured enough for it to be released from its 
Beta status.


Please, check out the release notes from 
https://together.jolla.com/question/202355/release-notes-sailfish-sdk-20/


The installers for this Early Access release of the SDK are now 
available at https://sailfishos.org/wiki/Application_SDK#Latest_SDK_Release.


If you have an older beta release of the SDK, you should see an update 
notification in the Sailfish OS IDE.


If you have any questions, feel free to either send an email to this 
mailing list: devel at lists.sailfishos.org, write it up in 
http://together.jolla.com and tag your issue with ‘sdk’ or send an 
e-mail to developer-care at jolla.com.


Happy hacking,
Jolla SDK Team


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

Re: [SailfishDevel] Harbour validator bug again -- now it doesn't accept my i486 rpm

2019-08-18 Thread Ville Nummela

Hi Tamas,

What's the situation regarding your package? Did you manage to get it to 
harbour? Have you tried again?


 -Ville

On 25.7.2019 0.38, Tamas Miklos wrote:

Hi,

It seems the validator is acting up again... Now it says:

"1. RPM-validation can not be done:

ERROR [/home/mersdk/.cache/sdk-webapp/harbour-aida64-2.0.2-16.i486.rpm] Invalid 
RPM file!

https://harbour.jolla.com/faq#9.1.0";

While the SFOS SDK can validate the rpm just fine.  What to do in such 
situations?  BTW, it's getting very annoying that I cannot submit updates to my 
app without these extra hoops.  It's already taxing that you gotta wait 3-4 
days for the validation, but when it fails without doing anything wrong, it 
makes app updates rather tiring.

Thanks,
Tamas

___
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] Error installing .desktop file

2019-08-19 Thread Ville Nummela

Hi,

I think the post you found from 2013 is actually quite relevant.

Your .yaml file contains a line mentioning a .desktop file, while your 
.pro file doesn't.


Do you actually have a .desktop file?

 -Ville


On 20.8.2019 2.23, Thomas Tanghus wrote:

I am adding a subproject to my project, and since I did, the build stops with:

   + desktop-file-install --delete-original --dir 
/home/deploy/installroot/usr/share/applications 
'/home/deploy/installroot/usr/share/applications/*.desktop'
  Error on file "/home/deploy/installroot/usr/share/applications/*.desktop": No 
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.dspzIi (%install)

I've been through google, duckduckgo and the list archive, and the only thing I 
could find, that was slightly interesting is: 
https://lists.sailfishos.org/pipermail/devel/2013-November/001118.html and that 
doesn't really apply here?

The .pro and .yaml file are at 
https://gist.github.com/tanghus/840ce2ad46ea691f2b932e796dade0d8

/Thomas

I hope this gets thru. Kmail has decided not to send emails, so I'm using 
Nextclouds web mail.
___
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] Participate in our Sailfish SDK survey

2019-08-29 Thread Ville Nummela

Hello,

We are looking for ways to improve the Sailfish SDK in future versions. 
In order to do that, we'd like to hear your opinions!


Please take part in our short anonymous survey, and give us your 
valuable input. It should only take about five minutes to complete.


The last day to answer the survey is Tuesday, September 3rd.

Thank you in advance for your help in our product planning!

Survey link: https://www.surveymonkey.com/r/5CJBPDZ

Kindly,
Jolla SDK Team


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

Re: [SailfishDevel] [Solved] RPM validator error

2019-09-18 Thread Ville Nummela

On 18.9.2019 23.38, David Llewellyn-Jones wrote:


On 18/09/2019 23:27, Marko Koschak wrote:



I was trying to check the created rpm for my app ownKeepass but it
failed for a strange reason: "cpio: ./usr/bin/harbour-ownkeepass:
Cannot open: Permission denied"

After I changed one line in the .yml file the validation worked again:

- '%attr(655,-,-) %{_bindir}' -> - '%attr(755,-,-) %{_bindir}'

It seemed the executable bit was the source of the error...

Glad you solved it; I was too slow! Is this the first release? If not,
it's odd this has never caused problems in the past.


It's not that odd really. There used to be a bug in the validator.

 -Ville

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

Re: [SailfishDevel] "shift" key in SDK

2020-03-30 Thread Ville Nummela

Hi Eli,

This sounds a lot like

https://together.jolla.com/question/220689/bug-updating-to-the-latest-sdk-307-the-numeric-pad-and-much-others-keys-dont-work-anymore-in-qtcreator/


That bug will be fixed in our next release.

 -Ville


On 31.3.2020 0.43, E.S. Rosenberg wrote:

Hi all,
I'm not sure if I messed up something in my config or if this is 
something else.

Inside the SDK the shift key combined with arrow keys doesn't work at all.
I can select a block of text by holding shift and clicking with the 
mouse but shift+{up,down,left,right,home,end,pgup,pgdn} doesn't work.

(all the above buttons are mapped to my arrow keys on my laptop).

Anyone else also seeing this?

specs: QtCreator 4.9.1 (latests SDK - 3.2.1.x OS), Ubuntu 20.04 (pre 
release)

Thanks,
Eli

___
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] ContextKit not installed?

2020-05-03 Thread Ville Nummela

On 1.5.2020 10.24, Thomas Tanghus wrote


[C] expression for network:71 - 
file:///usr/share/harbour-dktv/qml/components/Network.qml:30 module 
"org.freedesktop.contextkit" is not installed

Maybe the error message is correct, and you don't have the 
org.freedesktop.context plugin installed? Without seeing your project 
this is just guessing, but my guess is that you don't have "Requires: 
contextkit-declarative-qt5" line in your .spec file.


BR, Ville


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

Re: [SailfishDevel] Docker build engine

2020-05-11 Thread Ville Nummela

On 11.5.2020 22.43, george b wrote:

 > sb2 -t SailfishOS-3.3.0.16-armv7hl -m sdk-install -R zypper in 
openssl-devel
And obviously, even if that works, it will be gone on the next 
shutdown of the docker container.


Any hints here?


As long as you shutdown the container using the tools provided by the 
SDK (i.e. either sfdk or Qt Creator), the changes will be preserved.


 -Ville

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

Re: [SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-12 Thread Ville Nummela

Hi,

On 12.5.2020 12.35, Lukáš Karas wrote:

  ERROR [/usr/share/harbour-osmscout/map-icons/bus_stop.svg] Hardcoded path:

inkscape:export-filename="/home/tim/projects/OSMScout/libosmscout/data/icons/
14x14/standard/bus_stop.png"


Another "errors" comes from application binary itself, for example:


ERROR [/usr/bin/harbour-osmscout] Hardcoded path: /home/mersdk/share/

Both cases looks like false positive to me. Or there is any real reason to
rejecting such binaries?

You are right, these are both false positives. We will fix the 
validator. I will let you know (on this list) when it's done.


 -Ville

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

Re: [SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-12 Thread Ville Nummela

On 12.5.2020 16.07, Lukáš Karas wrote:

Great to hear that :-) I may provide patch to speedup this fix,
it seems to be simple shell script:

https://github.com/sailfishos/sdk-harbour-rpmvalidator/blob/master/
rpmvalidation.sh#L1066

Question is, how it should be checked?
Just ELF excutables and ignore /home/mersdk/* ?


PRs are always welcome :)

Our current thinking is that we should still keep checking all files, 
but only against /home/nemo/ and /home/defaultuser/. Those two are the 
most likely candidates to be accidentally hardcoded in apps.


 -Ville

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

Re: [SailfishDevel] Harbour validation rules for SFOS 3.3

2020-05-19 Thread Ville Nummela

On 12.5.2020 15.25, Ville Nummela wrote:

On 12.5.2020 12.35, Lukáš Karas wrote:
Both cases looks like false positive to me. Or there is any real 
reason to

rejecting such binaries?
You are right, these are both false positives. We will fix the 
validator. I will let you know (on this list) when it's done.



According to our QA, the fixed validator is now in place. Thanks for the PR!

 -Ville

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