Re: [SailfishDevel] Installing powertop failed - Failed to obtain authentification
ssu flavour sales - in terminal and do not touch SSU switch in devmode. 17.07.2014 00:26, Steffen Förster ?: Hi I have to install powertop on my Jolla (my app was rejected). The install explanation on https://together.jolla.com/question/13243/my-app-got-rejected-to-store-because-of-high-power-consumption-how-to-debug-problems/#13247 failed on my Jolla. I should execute these three steps: $ ssu ar mer-tools $ pkcon refresh $ pkcon install powertop ||--|| ||Step 2 failed with following output: || ||Refreshing cache|| ||Waiting in queue|| ||Waiting for authentication|| ||Fatal error: Failed to obtain authentification || ||Step 3 failed with ||following output: ||Command failed: this tool could not find any available package: could not find powertop|| ||--|| ||Any suggestions? (Info: wifi is connected, developer mode is active)|| ||Thanks,|| ||Steffen|| || || ___ 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] Translating apps for SailfishOS
I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Translating apps for SailfishOS
1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable On Thu, Jul 17, 2014 at 10:37 AM, Marcin M. marmistrz...@gmail.com wrote: I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luca Donaggio ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Translating apps for SailfishOS
Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \ src/settings.cpp OTHER_FILES += qml/harbour-myapp.qml \ qml/cover/CoverPage.qml \ rpm/harbour-myapp.changes.in \ rpm/harbour-myapp.spec \ rpm/harbour-myapp.yaml \ harbour-myapp.desktop \ qml/pages/SettingsPage.qml \ qml/pages/MainPage.qml \ qml/pages/FontPickerDialog.qml \ qml/pages/WelcomeDialog.qml \ harbour-myapp.png \ translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts CONFIG += sailfishapp_i18n TRANSLATIONS += translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts HEADERS += \ src/settings.h What's missing here? -- Marcin 2014-07-17 10:51 GMT+02:00 Luca Donaggio donag...@gmail.com: 1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable On Thu, Jul 17, 2014 at 10:37 AM, Marcin M. marmistrz...@gmail.com wrote: I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luca Donaggio ___ 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] Translating apps for SailfishOS
And how can I run the mer's lupdate lrelease from terminal? -- Marcin 2014-07-17 11:36 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \ src/settings.cpp OTHER_FILES += qml/harbour-myapp.qml \ qml/cover/CoverPage.qml \ rpm/harbour-myapp.changes.in \ rpm/harbour-myapp.spec \ rpm/harbour-myapp.yaml \ harbour-myapp.desktop \ qml/pages/SettingsPage.qml \ qml/pages/MainPage.qml \ qml/pages/FontPickerDialog.qml \ qml/pages/WelcomeDialog.qml \ harbour-myapp.png \ translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts CONFIG += sailfishapp_i18n TRANSLATIONS += translations/harbour-myapp-de.ts \ translations/harbour-myapp-pl.ts HEADERS += \ src/settings.h What's missing here? -- Marcin 2014-07-17 10:51 GMT+02:00 Luca Donaggio donag...@gmail.com: 1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable On Thu, Jul 17, 2014 at 10:37 AM, Marcin M. marmistrz...@gmail.com wrote: I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed? Should /usr/share/appname/i18n or .../appname/translations be used? If ` - '%{_datadir}/%{name}' ` is already in .yaml is anything else needed concerning packaging? 3. What's the recommended way of testing translations in the Emulator? setting LANG in the environmental variables? PS. There's no documentation concerning this on the sailfishos.org website. -- Marcin ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Luca Donaggio ___ 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] Fwd: QtCreator issues
On 17.07.2014 00:41, Stijn Devriendt wrote: Hi Juha, Been debugging a bit more until I got this: Breakpoint 1, 0x7fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from /usr/lib64/libkdecore.so.5 (gdb) bt #0 0x7fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from /usr/lib64/libkdecore.so.5 #1 0x77de9be6 in call_init () from /lib64/ld-linux-x86-64.so.2 #2 0x77de9cca in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2 #3 0x77dedd99 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2 ... Hi thanks for debugging, I can't figure out the reason yet, just a quick report. I can reproduce the failure here in Sabayon KDE 14.07 version, but not in the GNOME version. I could not reproduce it in Kubuntu 14.04 (also uses KDE, version 4.13.2). One system library caught my eye, Sabayon loads libpng16.so.16 and Kubuntu loads libpng12.so.0, although I'm sure I've built Qt so that it would use the qt plugin and not system libpng. But maybe it doesn't affect that code path yet. Best regards, Juha ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Installing powertop failed - Failed to obtain authentification
Fatal error: Failed to obtain authentification In 1.0.8.19 you need to use pkcon as root (devel-su) From: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Steffen Förster Sent: 16. heinäkuuta 2014 21:27 To: devel@lists.sailfishos.org Subject: [SailfishDevel] Installing powertop failed - Failed to obtain authentification Hi I have to install powertop on my Jolla (my app was rejected). The install explanation on https://together.jolla.com/question/13243/my-app-got-rejected-to-store-because-of-high-power-consumption-how-to-debug-problems/#13247 failed on my Jolla. I should execute these three steps: $ ssu ar mer-tools $ pkcon refresh $ pkcon install powertop -- Step 2 failed with following output: Refreshing cache Waiting in queue Waiting for authentication Fatal error: Failed to obtain authentification Step 3 failed with following output: Command failed: this tool could not find any available package: could not find powertop -- Any suggestions? (Info: wifi is connected, developer mode is active) Thanks, Steffen ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Is support for commercial apps a TABOO subject?
When the Harbor becomes open for paid apps, will we be permitted to use nemo-qml-plugin-configuration? Should we then put the apps' settings into the Settings app or should they be handed inside the app? -- Marcin 2014-05-29 9:22 GMT+02:00 Giuliettasw users.giulie...@gmail.com: Another cool thing could be possibility to have beta testing on end users (as for example steam does for games). Von meinem iPad gesendet Am 29.5.2014 um 2.32 schrieb Artem Marchenko artem.marche...@gmail.com: Hi there In the mean time, you have time to get your apps ready, tested and polished. Also, let us know what additional APIs you need for your Harbour app so that by the time payments are available, your app is ready to sail. As for harbour-related APIs and functions, subscription-based and try-before-you-buy would have been very nice [for me at least] as IMHO they motivate developers for continuous app improvement. I'd love to have platform support for something like WhatsApp is doing: have free usage for a substantially long time (a month at least, maybe a year), and then something like $1 or even $0.1 per half a year. That would motivate for paying only for the actually useful apps (you tried app for a long time and still use it) and for continuing development (if app doesn't improve, user uninstalls and goes for another app). Sure, how to implement it technically without touching user privacy too much is a separate story (who will check whether user still has the app installed/running?). One option could be to encourage implementing this via in-app purchase of subscriptions (a'la iOS?) that could be verified completely on device without contacting the home base except for the act of purchase. Cheers, Artem. On Fri, Apr 25, 2014 at 3:42 PM, Karl Granström karl.granst...@jolla.com wrote: Ahoy!!! We see the payment support in store as a really important part of our developer offering. We are currently working to support payments in our Jolla Store and Harbour but there are a lot of things for us to do. Our current target is to provide you the monetizing possibility durign the 2nd half of 2014. In the mean time, you have time to get your apps ready, tested and polished. Also, let us know what additional APIs you need for your Harbour app so that by the time payments are available, your app is ready to sail. Br, Jolla Store team On 24 Apr 2014, at 14:34, Mohammed Hassan mohammed.has...@jollamobile.com wrote: On Thu, Apr 24, 2014 at 09:33:22AM +0200, tw_bolek wrote: [...] So my question is: is this some kind of taboo subject, or something of as little importance that for over 4 months now no Jollan has said A WORD about it despite numerous requests? A couple of my friends already gave up after waiting so long for even just any information, and I must say that I'm slowly losing hope, too. We all understand and are aware of the enormous job Jolla has been doing, so we're asking for just INFORMATION about the progress, even just if AT ALL there are any plans to do it in a foreseeable future, and if so then knowing even just as little as if it will take a month or half a year would be all we need... There will be support for commercial apps and those will have copy protection. This was mentioned bt Rainisto long ago already. I cannot give more info nor can I give an ETA for that though :/ Cheers, ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ 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 ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?
On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: showing child items is not implemented, only child dirs function is available. if you're interested i can share class from my project replacing MGConfItem Do you feel like submitting a PR against mlite/MGConfItem [1] that adds your needed functionality? It'd then be available for all SailfishOS developers. [1] https://github.com/nemomobile/mlite Cheers, ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to get dconf list of sub-items with MGConfItem?
sure i'm planning that :) 17.07.2014 22:12, Mohammed Hassan пишет: On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: showing child items is not implemented, only child dirs function is available. if you're interested i can share class from my project replacing MGConfItem Do you feel like submitting a PR against mlite/MGConfItem [1] that adds your needed functionality? It'd then be available for all SailfishOS developers. [1] https://github.com/nemomobile/mlite Cheers, ___ 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] How to get dconf list of sub-items with MGConfItem?
done with: https://github.com/nemomobile/mlite/pull/18 https://github.com/nemomobile/nemo-qml-plugin-configuration/pull/6 17.07.2014 22:12, Mohammed Hassan пишет: On Wed, Jul 16, 2014 at 06:22:58PM +0600, Andrey Kozhevnikov wrote: showing child items is not implemented, only child dirs function is available. if you're interested i can share class from my project replacing MGConfItem Do you feel like submitting a PR against mlite/MGConfItem [1] that adds your needed functionality? It'd then be available for all SailfishOS developers. [1] https://github.com/nemomobile/mlite Cheers, ___ 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] Setting application screen orientation from C++
Hi, Is there a way to lock application screen orientation to landscape directly from Qt/C++ code? I know it's possible from QML, but I can't find any docs how the same can be done from C++. /ptw ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org