*** xowap has quit IRC | 00:05 | |
*** DarkSim has quit IRC | 00:07 | |
*** jstaniek has quit IRC | 00:11 | |
*** ericy has joined #sailfishos | 00:11 | |
*** Morpog_ has joined #sailfishos | 00:20 | |
*** rashm2k has quit IRC | 00:20 | |
*** zumbi_ has quit IRC | 00:20 | |
*** jjanvier has quit IRC | 00:20 | |
*** artemma has quit IRC | 00:21 | |
*** Jettis has quit IRC | 00:21 | |
*** Jettis has joined #sailfishos | 00:21 | |
*** zumbi has joined #sailfishos | 00:21 | |
*** gabriel9 has quit IRC | 00:22 | |
*** gabriel9 has joined #sailfishos | 00:22 | |
*** jjanvier has joined #sailfishos | 00:23 | |
*** Morpog has quit IRC | 00:23 | |
*** ericy has quit IRC | 00:33 | |
ajalkane | is it normal that an application I've successfully ran with SDK in the emulator does not show up in the application grid? | 00:34 |
---|---|---|
ajalkane | I mena, not the thumbnail of minimized application, but the application icon | 00:35 |
ajalkane | Mainly I'm interested in testing how the icon looks like | 00:35 |
*** triggerhappy has joined #sailfishos | 00:43 | |
*** artemma has joined #sailfishos | 00:43 | |
*** Morpog_Mobile has quit IRC | 00:45 | |
*** gabriel9 has quit IRC | 00:47 | |
*** ericy has joined #sailfishos | 00:51 | |
*** Morpog_ has quit IRC | 00:53 | |
*** littleli_ has joined #sailfishos | 01:07 | |
*** littleli has quit IRC | 01:07 | |
*** phako has quit IRC | 01:08 | |
*** phako has joined #sailfishos | 01:08 | |
*** jjanvier has quit IRC | 01:10 | |
*** ericy has quit IRC | 01:11 | |
*** artemma has quit IRC | 01:16 | |
*** zhxt has joined #sailfishos | 01:18 | |
*** ericy has joined #sailfishos | 01:28 | |
*** kkszysiu has quit IRC | 01:46 | |
*** ericy has quit IRC | 01:47 | |
*** Eztran has quit IRC | 01:52 | |
*** ericy has joined #sailfishos | 02:03 | |
*** TechieElf has quit IRC | 02:14 | |
*** kkszysiu has joined #sailfishos | 02:22 | |
*** ericy has quit IRC | 02:25 | |
*** ericy has joined #sailfishos | 02:42 | |
*** Kabouik has quit IRC | 02:52 | |
*** TechieElf has joined #sailfishos | 02:55 | |
*** ericy has quit IRC | 03:01 | |
*** ericy has joined #sailfishos | 03:17 | |
*** TechieElf has quit IRC | 03:23 | |
*** ericy has quit IRC | 03:34 | |
*** ericy has joined #sailfishos | 03:52 | |
*** furikku has joined #sailfishos | 03:59 | |
*** ericy has quit IRC | 04:20 | |
*** ericy has joined #sailfishos | 04:33 | |
*** f3an0r has joined #sailfishos | 04:42 | |
*** krazedkrish has joined #sailfishos | 04:55 | |
*** Bloob has joined #sailfishos | 05:02 | |
*** ajalkane has quit IRC | 05:06 | |
*** Pat_o has joined #sailfishos | 05:16 | |
*** SeekingFor has quit IRC | 05:18 | |
*** SeekingFor has joined #sailfishos | 05:19 | |
*** Taduro has quit IRC | 05:30 | |
*** tanghus has quit IRC | 05:30 | |
*** tanghus has joined #sailfishos | 05:31 | |
*** ericy has quit IRC | 05:32 | |
*** ericy has joined #sailfishos | 05:50 | |
*** freedomrun has joined #sailfishos | 05:52 | |
*** ericy has quit IRC | 06:06 | |
*** zsombi has joined #sailfishos | 06:11 | |
*** ericy has joined #sailfishos | 06:24 | |
*** fk_lx has joined #sailfishos | 06:29 | |
*** Eismann has joined #sailfishos | 06:29 | |
*** Pali has joined #sailfishos | 06:32 | |
*** beford has joined #sailfishos | 06:37 | |
*** ericy has quit IRC | 06:39 | |
*** Pat_o has quit IRC | 06:53 | |
*** ericy has joined #sailfishos | 06:56 | |
*** VDVsx has quit IRC | 06:58 | |
*** Taduro_ has joined #sailfishos | 07:00 | |
*** Eismann has quit IRC | 07:02 | |
*** Pat_o has joined #sailfishos | 07:08 | |
*** VDVsx has joined #sailfishos | 07:11 | |
*** ericy has quit IRC | 07:16 | |
*** Pali has quit IRC | 07:17 | |
*** martyone has joined #sailfishos | 07:17 | |
*** Pat_o has quit IRC | 07:20 | |
*** artemma has joined #sailfishos | 07:20 | |
*** f3an0r has quit IRC | 07:23 | |
*** chriadam is now known as chriadam|away | 07:24 | |
*** f3an0r has joined #sailfishos | 07:24 | |
*** Xruxa has joined #sailfishos | 07:26 | |
*** ericy has joined #sailfishos | 07:33 | |
*** Pat_o has joined #sailfishos | 07:33 | |
*** promulo has quit IRC | 07:40 | |
*** promulo has joined #sailfishos | 07:41 | |
*** artemma has quit IRC | 07:42 | |
*** rcg has joined #sailfishos | 07:48 | |
*** ericy has quit IRC | 07:50 | |
*** b0bben has joined #sailfishos | 07:51 | |
*** Pat_o has quit IRC | 07:57 | |
*** veskuh has joined #sailfishos | 08:00 | |
*** f3an0r has quit IRC | 08:03 | |
*** ericy has joined #sailfishos | 08:06 | |
*** artemma has joined #sailfishos | 08:07 | |
*** cxl000 has joined #sailfishos | 08:17 | |
*** jpetrell has joined #sailfishos | 08:18 | |
*** Eztran has joined #sailfishos | 08:18 | |
*** ericy has quit IRC | 08:26 | |
*** niqt has joined #sailfishos | 08:30 | |
*** nsuffys has joined #sailfishos | 08:32 | |
*** andreibechet has joined #sailfishos | 08:36 | |
*** andreibechet has quit IRC | 08:37 | |
*** krazedkrish has quit IRC | 08:37 | |
*** gabriel9|work has joined #sailfishos | 08:38 | |
*** andreibechet has joined #sailfishos | 08:38 | |
*** Eztran has quit IRC | 08:39 | |
*** rcg has quit IRC | 08:43 | |
*** ericy has joined #sailfishos | 08:43 | |
*** ericy has quit IRC | 08:50 | |
*** beford has quit IRC | 08:51 | |
*** freedomrun has quit IRC | 08:51 | |
*** roric has quit IRC | 08:53 | |
*** Xruxa has quit IRC | 08:55 | |
*** Eztran has joined #sailfishos | 08:55 | |
*** Blizzz has joined #sailfishos | 08:59 | |
*** Sfiet_Konstantin has joined #sailfishos | 09:02 | |
*** Xruxa has joined #sailfishos | 09:09 | |
*** Zotan has joined #sailfishos | 09:16 | |
*** xowap has joined #sailfishos | 09:18 | |
*** ericy has joined #sailfishos | 09:18 | |
*** disharmonic has quit IRC | 09:23 | |
*** Pat_o has joined #sailfishos | 09:25 | |
*** Zotan has quit IRC | 09:25 | |
*** promulo has quit IRC | 09:28 | |
*** rcg has joined #sailfishos | 09:28 | |
*** promulo has joined #sailfishos | 09:28 | |
*** faenil has quit IRC | 09:32 | |
*** b0bben_ has joined #sailfishos | 09:35 | |
*** b0bben has quit IRC | 09:36 | |
*** b0bben_ is now known as b0bben | 09:36 | |
*** Eztran has quit IRC | 09:36 | |
*** roric has joined #sailfishos | 09:37 | |
*** stephg has joined #sailfishos | 09:37 | |
*** roric has quit IRC | 09:42 | |
*** roric has joined #sailfishos | 09:45 | |
*** Pali_ has joined #sailfishos | 09:47 | |
*** faenil has joined #sailfishos | 09:51 | |
*** faenil has quit IRC | 09:52 | |
*** faenil has joined #sailfishos | 09:52 | |
*** b0bben has quit IRC | 10:00 | |
*** ericy has quit IRC | 10:02 | |
*** martyone has quit IRC | 10:07 | |
thesignal | hi, i'm about to finish everything for the harbour, but i still can't get rid of the follwing warning: | 10:13 |
thesignal | file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:111: TypeError: Cannot call method 'connect' of undefined | 10:13 |
thesignal | what could be the issue? here's the source code: https://github.com/thesignal/ohm | 10:14 |
Nicd- | ä/w 24 | 10:14 |
*** simbrown has joined #sailfishos | 10:14 | |
Nicd- | whoops | 10:14 |
*** ericy has joined #sailfishos | 10:18 | |
*** Sfiet_Konstantin has quit IRC | 10:19 | |
*** f3an0r has joined #sailfishos | 10:27 | |
artemma | thesignal: didn't run your code, but I see you push a lot of Qt.resolvedUrl(model.page)) and similar | 10:29 |
artemma | thesignal: are you sure they always result in a valid URL? | 10:29 |
artemma | I think resolvedUrl can process strings only, so could these be objects instead? Or just not value pathes | 10:30 |
artemma | paths* | 10:30 |
thesignal | hm... i'll take a look artemma, thanks | 10:32 |
*** Eztran has joined #sailfishos | 10:33 | |
*** IgorSK has joined #sailfishos | 10:36 | |
*** martyone has joined #sailfishos | 10:38 | |
*** sdjayna has joined #sailfishos | 10:46 | |
*** Pali_ is now known as Pali | 10:48 | |
*** freedomrun has joined #sailfishos | 10:51 | |
*** decibyte has left #sailfishos | 10:56 | |
*** ericy has quit IRC | 10:58 | |
*** MFaro-Tusino has joined #sailfishos | 10:58 | |
*** Pali has quit IRC | 10:59 | |
*** DarkSim has joined #sailfishos | 11:04 | |
*** Sfiet_Konstantin has joined #sailfishos | 11:06 | |
*** simbrown has quit IRC | 11:11 | |
*** simbrown has joined #sailfishos | 11:14 | |
*** ericy has joined #sailfishos | 11:16 | |
thesignal | artemma: i found the problem, i had the first page which was Ohm.qml which only sets the initialpage to another page. in this other page, i had also defined "application window { initialpage: ..." after i removed that everything worked | 11:18 |
*** Pali has joined #sailfishos | 11:23 | |
*** jjanvier has joined #sailfishos | 11:31 | |
*** gabriel9 has joined #sailfishos | 11:33 | |
*** Pat_o has quit IRC | 11:34 | |
*** gabriel9|work has quit IRC | 11:36 | |
*** ericy has quit IRC | 11:36 | |
thesignal | hm... how do i create a rpm package for the upload to the harbour? it has to use the arm sdk, right? | 11:37 |
*** mikhas has joined #sailfishos | 11:37 | |
*** Dudalus has quit IRC | 11:40 | |
*** Eztran has quit IRC | 11:43 | |
*** Dudalus has joined #sailfishos | 11:44 | |
*** ericy has joined #sailfishos | 11:54 | |
*** Pat_o has joined #sailfishos | 11:55 | |
*** ajalkane has joined #sailfishos | 11:57 | |
*** Pali has quit IRC | 11:58 | |
coderus | thesignal: everything inside | 11:59 |
thesignal | coderus: already found out. i switched to the arm toolchain an made a full deploy | 12:00 |
thesignal | now i have some rpmss | 12:00 |
thesignal | und the one without dev and dbg i'm going to upload | 12:00 |
*** ericcc has joined #sailfishos | 12:04 | |
artemma | thesignal: good | 12:05 |
*** veskuh has quit IRC | 12:06 | |
artemma | thesignal: make sure you do clean before building for arm, otherwise all i486 binaries can be packages | 12:06 |
artemma | packaged* in | 12:06 |
thesignal | artemma: ty will do | 12:06 |
*** ericy has quit IRC | 12:15 | |
*** lizardo has joined #sailfishos | 12:16 | |
*** ahiemstra has quit IRC | 12:18 | |
*** ahiemstra has joined #sailfishos | 12:18 | |
*** jjanvier has quit IRC | 12:19 | |
coderus | ajalkane: question still valid? | 12:26 |
coderus | thesignal: did you packages 86x86 icon? :) | 12:26 |
coderus | if not your application will be declined :) | 12:26 |
ajalkane | coderus: yes, it is still puzzling me :) | 12:27 |
thesignal | .... | 12:27 |
coderus | ajalkane: icon will be showed after emulator restarts | 12:27 |
thesignal | damn, forgot that, thanks guys | 12:27 |
coderus | thesignal: you need to hack sailfishapp.prf or just wait for SDK update, it will happen soon | 12:28 |
ajalkane | coderus: ah, thanks. Will try in the evening | 12:28 |
coderus | ajalkane: currently need some installation trigger refreshing icons cache, but it missing on emulator. | 12:28 |
coderus | ajalkane: so you can try to restart homescreen, or just restart emulator | 12:29 |
ajalkane | I guess restarting the emulator is good enough | 12:30 |
*** ericy has joined #sailfishos | 12:32 | |
*** Pali has joined #sailfishos | 12:32 | |
*** Taduro_ has quit IRC | 12:33 | |
thesignal | coderus: hm? you mean it won't package the app with the correct icon even if i replace the imagefile? | 12:33 |
*** Pat_o has quit IRC | 12:35 | |
*** Taduro has joined #sailfishos | 12:36 | |
*** jjanvier has joined #sailfishos | 12:41 | |
coderus | thesignal: sure. it will be packaged to 90x90 folder anyway. sdk update need to package to 86x86 folder | 12:43 |
thesignal | coderus: i don't understand, so will it be rejected anyway? | 12:43 |
coderus | thesignal: yes. nobody will repackage your package correctly for you :) | 12:44 |
thesignal | coderus: is there somewhere a howto for that? i'm not used to rpms or similar | 12:45 |
coderus | you need to modify SailfishOS/mersdk/targets/SailfishOS-armv7hl/usr/share/qt5/mkspecs/features/sailfishapp.prf | 12:46 |
*** zhxt has quit IRC | 12:47 | |
coderus | thesignal: its enough :) | 12:47 |
*** Taduro has quit IRC | 12:47 | |
thesignal | coderus: thanks, did it :) | 12:48 |
*** jjanvier has quit IRC | 12:49 | |
*** jjanvier has joined #sailfishos | 12:52 | |
*** ericy has quit IRC | 12:52 | |
*** Taduro has joined #sailfishos | 12:52 | |
*** stephg has quit IRC | 12:53 | |
*** otep has quit IRC | 12:54 | |
*** b0bben has joined #sailfishos | 12:54 | |
*** Pat_o has joined #sailfishos | 12:54 | |
*** otep has joined #sailfishos | 12:55 | |
*** Sfiet_Konstantin has quit IRC | 12:58 | |
artemma | thesignal: I've put 86x86 icon to 86x86 folder. Was not able to see it in the emulator, but kind people on IRC (mainly Jonni I think), confirmed that it worked fine on the device | 12:58 |
*** andreibechet has quit IRC | 12:59 | |
artemma | coderus: hacking prf is possible, but.. I find it hacky to change the SDK internals, I just copy-pasted most of that prf to my .pro | 12:59 |
artemma | though you can argue that "correcting" SDK is fine as it's gonna be corrected on the next SDK release anyway | 13:00 |
*** ahiemstra has quit IRC | 13:00 | |
thesignal | artemma: right. i hope the next sdk update comes soon ;) | 13:00 |
* artemma never liked too much name-based magic via sailfish app CONFIG anyway | 13:02 | |
*** ahiemstra has joined #sailfishos | 13:03 | |
*** Sfiet_Konstantin has joined #sailfishos | 13:06 | |
*** ericy has joined #sailfishos | 13:09 | |
*** b0bben_ has joined #sailfishos | 13:13 | |
*** ericcc has quit IRC | 13:14 | |
*** b0bben has quit IRC | 13:14 | |
*** b0bben_ is now known as b0bben | 13:14 | |
*** Finleida has joined #sailfishos | 13:15 | |
*** Sfiet_Konstantin has quit IRC | 13:16 | |
*** Eztran has joined #sailfishos | 13:16 | |
*** fawzi has joined #sailfishos | 13:17 | |
*** eXeP has joined #sailfishos | 13:20 | |
*** otep_ has joined #sailfishos | 13:24 | |
*** f3an0r has quit IRC | 13:25 | |
*** ericy has quit IRC | 13:25 | |
*** otep has quit IRC | 13:27 | |
*** Taduro has quit IRC | 13:29 | |
*** fawzi has quit IRC | 13:30 | |
*** TheBootroo has joined #sailfishos | 13:34 | |
coderus | artemma: because of it you cant see icon in emulator. if you edit only arm target prf your i486 build will be okay | 13:35 |
coderus | artemma: after updating SDK everything will be restored :) | 13:36 |
*** ericy has joined #sailfishos | 13:42 | |
*** Sfiet_Konstantin has joined #sailfishos | 13:44 | |
*** itbaron has joined #sailfishos | 13:47 | |
*** sledges has quit IRC | 13:49 | |
*** zhxt has joined #sailfishos | 13:50 | |
*** sledges has joined #sailfishos | 13:51 | |
*** zhxt_ has joined #sailfishos | 13:53 | |
artemma | coderus: indeed, that would help. Probably I should have edited pro then | 13:56 |
*** zhxt has quit IRC | 13:57 | |
artemma | Got a rejection comment from harbour: your own QML imports must be named: harbour..Mixpanel | 13:58 |
artemma | I have a custom module that I register and import via import Mixpanel 0.1 | 13:58 |
artemma | Should I make it work as "import harbour.Mixpanel 0.1" or "import harbour.flashlight.Mixpanel 0.1"? | 13:59 |
artemma | anybody here with access to harbour checking script to see what it actually checks? | 13:59 |
artemma | my package and binary names are harbour-flashlight if it matters | 14:00 |
kontio | artemma: harbour.flashlight.Mixpanel it should be | 14:00 |
artemma | thanks kontio | 14:00 |
kontio | since QML does not allow the -, we can't have harbour-flashlight.Mixpanel... so it should be harbour.flashlight.Mixpanel... | 14:01 |
kontio | like that we can ensure you use your own imports and not something from Meego or other deprecated Qml imports, which might be available from Nemo, but we don't support... | 14:02 |
Skorpy | hey, I need to save little data and it should available when the app is restarted. how do I do this? | 14:04 |
*** ericy has quit IRC | 14:05 | |
Skorpy | ah, LocalStorage I presume | 14:07 |
*** promulo has quit IRC | 14:08 | |
artemma | kontio: I will obey to harbour scripts, but to be honest I have hard time understanding why harbour cares about my internal imports | 14:14 |
artemma | you know, I can have some text files or templates for whatever I like | 14:14 |
artemma | Skorpy: somebody was posting here a link to an elegant GConf plugin from nemo | 14:15 |
artemma | right now I would go for for it if I was into storing a bit of data. Though right now it's not yet clear how to package extra modules for your app | 14:16 |
kontio | artemma: Not all modules have a stable API. Before promising compatibility, we must first make sure that we can promise the API is of high quality and will not change... but we want to allow your own ones... but for that we need it to be named that way so we can verify (and almost be 100% sure that it is yours)... | 14:17 |
artemma | Skorpy: or if you go for a LocalStorage, you can copy-paste implementation from my Wikipedia - https://github.com/amarchen/Wikipedia/blob/master/src/components/DbDictionary.qml | 14:17 |
kontio | dont' | 14:17 |
kontio | don't use any nemo QML module, we wont allow it for the Store for the time being | 14:17 |
artemma | kontio: I trust that you gave a thought into it even if I don't understand it | 14:18 |
Skorpy | artemma: thanks. gonna take a look at that. | 14:18 |
*** fawzi has joined #sailfishos | 14:19 | |
*** promulo has joined #sailfishos | 14:20 | |
w00t | artemma: we can't identify the difference between your import, and someone else's import - so we require you to name them specifically so we can | 14:20 |
artemma | on the other hand this import seems to be really the last rejection reason. So now I fix it and chances are flashlight is live for the day one! :) | 14:20 |
kontio | artemma: we had many discussions on how to do it... from not allowing any own imports to not give a sh1t, I guess everything was discussed... and this seems at the moment the best solution... | 14:20 |
artemma | w00t: I think I need to wrap my head around that you take script imports in qmls the same way the linked libraries in .pro | 14:21 |
kontio | artemma: and get rid of QtSystemInfo and QtGraphicalEffects | 14:21 |
artemma | kontio: that was fixed already | 14:21 |
kontio | ah ok, then that was an old rpm, we tested... | 14:21 |
artemma | harbour was reviewing old code and there was no way to pull it back (at least I failed to find a way) | 14:21 |
artemma | I've sent an email to dev care, but apparently my messages indeed go to black hole there :) | 14:22 |
artemma | anyway, new version should be there in minutes or whenever I finish testing | 14:22 |
kontio | yeah the software around harbour also is still simple and does not cover all corner cases... we are also still improving it... so it does not allow to submit a new version, if the current is still in review... | 14:23 |
artemma | kontio: interestingly it allowed me to upload new binary and status became "QA, draft available" :) | 14:23 |
*** ericy has joined #sailfishos | 14:25 | |
kontio | sending to devel-care does not help much, afaik there is not much of a possibility to side load the rpm either... | 14:25 |
coderus | kontio: can you reject my persecute from harbout for now? | 14:27 |
coderus | harbour* | 14:27 |
kontio | artemma: our store testers are soon out of office, but I know the store queue is very short atm, so if you submit tonight, we will be able to look into it tomorrow morning... | 14:27 |
*** dhbiker has quit IRC | 14:27 | |
kontio | coderus: I can't but, I can ask somebody to do... | 14:28 |
artemma | I guess so kontio, I still need to complete fix and test it, optimizing for harbour testers time | 14:28 |
coderus | kontio: thanks =) | 14:29 |
*** dhbiker has joined #sailfishos | 14:29 | |
*** Shaan7 has joined #sailfishos | 14:31 | |
kontio | coderus: I was told it's already rejected atm... sorry I can't verify my self... | 14:32 |
*** eXeP has quit IRC | 14:33 | |
*** datagutt has quit IRC | 14:37 | |
artemma | damned, somehow can't import harbour.flashlight.Mixpanel while addImportPath seems to be correct.. investigatin | 14:39 |
kontio | artemma: I think Qt now expects it to be in a subfolder harbour/flashlight/Mixpanel from where the addImportPath points... | 14:44 |
artemma | yes, that's what I am doing | 14:44 |
artemma | but I must be missing something really basic as now I cannot make even old import Mixpanel 1.0 working after moving it to a new folder | 14:45 |
artemma | Qt doesn't expect all components of the dotted path to start from capital case, does it? | 14:45 |
artemma | like Harbour.Flashlight.Mixpabel | 14:45 |
artemma | or should qml dir have fully qualified module name inside?.. unlikely | 14:46 |
*** ericy has quit IRC | 14:47 | |
artemma | funny | 14:48 |
artemma | importList: ("/usr/share/harbour-flashlight/qml/components", "/usr/bin", "/usr/lib/qt5/qml") | 14:48 |
artemma | and then module "harbour.flashlight.Mixpanel" is not installed | 14:49 |
thesignal | artemma: i got rejected becuase of the name of the app i think | 14:49 |
thesignal | Name Ohm is not valid! Allowed format is '^harbour-[a-z0-9\_\-\.]+$ | 14:49 |
thesignal | so where do i actually change the name? | 14:49 |
artemma | while I can perfectly see /usr/share/harbour-flashlight/qml/components/harbour/flashlight/Mixpanel/Mixpanel.qml in emulator | 14:49 |
artemma | thesignal: that I passed fine aleady | 14:49 |
thesignal | :D | 14:50 |
artemma | thesignal: both your package and binary name should be harbout-ohm | 14:50 |
artemma | harbour-ohm* | 14:50 |
thesignal | do i change this in the project settings? | 14:50 |
artemma | thesignal: harbour rejection message should actually tell the reason | 14:50 |
thesignal | yeah: must be the form harbour- they say | 14:50 |
artemma | thesignal: don't have time to explain now, but you need to change .pro for binary name and .yaml/.spec for package name. and make sure package deploys to proper folder | 14:51 |
thesignal | kk, ty | 14:51 |
thesignal | artemma: one more question: do i have to adjust the "Files" section where for example "/usr/share/Ohm" is mentioned? or will it do that automatically? | 14:52 |
artemma | package name change should be enough | 14:53 |
thesignal | kk, thanks | 14:53 |
*** b0bben has quit IRC | 14:57 | |
artemma | ah, stupid me! I moved location of Mixpanel.qml file, but not associated qmldit | 14:59 |
*** b0bben has joined #sailfishos | 15:00 | |
*** krabador has joined #sailfishos | 15:02 | |
*** ericy has joined #sailfishos | 15:03 | |
*** otep_ is now known as otep | 15:04 | |
*** gabriel9 has quit IRC | 15:04 | |
*** gabriel9|work has joined #sailfishos | 15:04 | |
*** miksuh has quit IRC | 15:04 | |
*** b0bben has quit IRC | 15:04 | |
artemma | okay fix is done and works, building the release | 15:10 |
artemma | A-and update submitted! | 15:16 |
artemma | Fingers crossed as usual | 15:16 |
artemma | kontio: do you think testers went home already? | 15:16 |
kontio | artemma: yes... but if you sent the rpm to ML, then I can run the script already... | 15:18 |
artemma | just a link maybe? | 15:18 |
artemma | https://dl.dropboxusercontent.com/u/19482748/harbour-flashlight-1.0.3-14.armv7hl.rpm | 15:18 |
*** ericcc has joined #sailfishos | 15:18 | |
kontio | artemma: also good :-) | 15:19 |
artemma | I mean ML is totally fine, just don't want to pollute it with yet another flashlight related message that is targeted to one person anyway | 15:19 |
artemma | thanks! | 15:19 |
kontio | :-) looks good from test script point of view... nothing to complain... I quickly install on device... | 15:20 |
artemma | woof | 15:22 |
artemma | thanks, kontio ! | 15:22 |
*** ericy has quit IRC | 15:23 | |
kontio | artemma: looks good, app installs, icon is visible... app seems to work... I would assume it should be ok to pass now (but I can't speak for the Store testers :-)) | 15:25 |
*** miksuh has joined #sailfishos | 15:27 | |
artemma | kontio: thanks a lot! | 15:32 |
kontio | u'r welcome | 15:32 |
artemma | we'll see when testers have time to have a look at it | 15:32 |
kontio | thank you for the efforts | 15:32 |
artemma | hopefully they notice the big label on screen that tells to use it in dark environment | 15:32 |
kontio | as said the queue is short atm I would expect it to be looked at tomorrow morning... | 15:32 |
artemma | current implementation doesn't really work in sunlight | 15:32 |
thesignal | artemma: i'm still fighting with the sdk. i'm stuck at Error on file "/home/deploy/installroot/usr/share/*.desktop": No such file or directory | 15:33 |
kontio | who needs a torch in sunlight :-) | 15:33 |
*** lpotter has quit IRC | 15:33 | |
artemma | kontio: yeah, I guess the last two week testers weren't slow, probably whole pipeline was halted waiting for the new requirements | 15:33 |
artemma | kontio: testers might :) | 15:33 |
locusf | 'Sailfish.Silica.theme 1.0' is not allowed | 15:34 |
locusf | 'Sailfish.Silica.theme 1.0' is enough to use the Sailfish Silica Theme. | 15:34 |
*** lpotter has joined #sailfishos | 15:34 | |
artemma | you know if they try running app in daylight it won't work | 15:34 |
locusf | so what is wrong with it? | 15:34 |
kontio | artemma: yes that was the reason... | 15:34 |
*** zsombi has quit IRC | 15:34 | |
kontio | locusf: that is a typo | 15:34 |
*** fawzi has quit IRC | 15:34 | |
kontio | it should be: 'Sailfish.Silica 1.0' is enough to use the Sailfish Silica Theme. | 15:34 |
locusf | ah | 15:34 |
kontio | but mail was already out when we noticed the mistake | 15:34 |
artemma | thesignal: I guess the file is really not present on the build machine :) | 15:34 |
artemma | thesignal: ssh to build machine and check where .desktop is actually put | 15:35 |
*** piee has joined #sailfishos | 15:35 | |
piee | 。 | 15:36 |
artemma | thesignal: I guess you went for modifying .prf file in the SDK. Somewhere inside there should be INSTALLS statement that tells where .dekstop is deployed to | 15:36 |
thesignal | artemma: and that needs to be set in the spec file to the same path? | 15:37 |
artemma | thesignal: there are two steps in deployment process. | 15:38 |
artemma | 1) .pro file deploys files to build machine to wherever INSTALLS tells inside /home/deploy/installroot on the build machine | 15:38 |
artemma | 2) .yaml/spec pick files from the build machine installroot and package to RPM | 15:39 |
*** Pali has quit IRC | 15:39 | |
artemma | 3) yes third step: RPM actually gets installed to emulator/device | 15:39 |
artemma | your error message is about step 2 | 15:39 |
*** ericcc has quit IRC | 15:40 | |
artemma | RPM package doesn't find file where .yaml/.spec expect it to be located in the build machine installroot | 15:40 |
*** edgar2 has joined #sailfishos | 15:40 | |
artemma | two reasons possible: 1) file is really not there (correct INSTALLS) 2) .yaml expects the file at wrong place (correct .yaml) | 15:40 |
coderus | thesignal: you need to rename files in your project dir | 15:40 |
*** ericy has joined #sailfishos | 15:40 | |
coderus | desktop and icon | 15:40 |
*** andreibechet has joined #sailfishos | 15:41 | |
thesignal | artemma: i think it might be the yaml file, i thought just selecting the desktop file with "add" was enough | 15:41 |
coderus | thesignal: you need to rename desktop and icon files manually | 15:42 |
thesignal | coderus: i have renamed them, desktop and icon, both to harbour-ohm | 15:42 |
coderus | run qmake | 15:42 |
coderus | clean project and run qmake | 15:42 |
artemma | thesignal: I would open .yaml in the text editor, not sure if I trust the Qt Creator plugin, it used to overwrite my good stuff in the past | 15:43 |
thesignal | artemma: which is the correct one? the one in the root of the projekt dir or the one in rpm/ ? | 15:44 |
artemma | thesignal: why don't you just ssh to sdk and see where the files really are in the install root. Since you are messing with it anyway without the official SDK, you'll anyway need to go to ssh earlier or later :) | 15:44 |
artemma | thesignal: it doesn't matter, they should just match | 15:44 |
thesignal | coderus: this doesn't help | 15:44 |
*** jpetrell has quit IRC | 15:44 | |
thesignal | artemma: i did ssh to it | 15:45 |
artemma | thesignal: I can copy-paste you my lines if it helps | 15:45 |
artemma | desktop.files = harbour-flashlight.desktop | 15:45 |
artemma | desktop.path = /usr/share/applications | 15:45 |
*** ahiemstra has quit IRC | 15:45 | |
artemma | INSTALLS += target icon desktop mixpanel qml | 15:46 |
artemma | - '%{_datadir}/applications/%{name}.desktop' | 15:46 |
*** ahiemstra has joined #sailfishos | 15:46 | |
artemma | thesignal: if you are doing it first time ever, maybe you didn't add desktop to INSTALLS at all? | 15:46 |
thesignal | artemma: that could be... just a sec | 15:46 |
artemma | ah, I forgot, you played the pro modification card, so .desktop is there | 15:47 |
artemma | prf* modification card | 15:47 |
thesignal | artemma: where is "desktop.files" in? | 15:48 |
thesignal | or where should it be | 15:48 |
artemma | hey, check whether .desktop is anywhere on a build machine install root at all | 15:49 |
*** krnlyng has joined #sailfishos | 15:49 | |
*** zhxt_ has quit IRC | 15:50 | |
artemma | should be in usr/share/applications i think | 15:50 |
thesignal | artemma: i did find *|grep desktop, and it found usr/share/applications/Ohm.desktop | 15:50 |
thesignal | but not the new one, harbour-ohm.desktop | 15:51 |
thesignal | i think it is still there from a previous install | 15:51 |
artemma | okay, then failure is on step 1) Installs deployed wrong thing | 15:51 |
artemma | thesignal: I think new build always cleans that folder | 15:51 |
artemma | thesignal: are you sure you changed TARGET? | 15:51 |
artemma | Looking at pro content desktop.file is $${TARGET}.desktop | 15:52 |
thesignal | artemma: i didn't know i had to change the target | 15:53 |
artemma | how did the ret of staff work then? :) | 15:53 |
artemma | I think TARGET in involved into quite many paths in .pro | 15:53 |
thesignal | artemma: idk :) | 15:54 |
thesignal | but changing the target to harbour-ohm helped nothing | 15:54 |
thesignal | i have to tell you, i haven't changed anything before, until i had to rename the app | 15:54 |
thesignal | this was all genereated by qtcreator itself | 15:54 |
*** martyone has quit IRC | 15:55 | |
artemma | run quake again | 15:55 |
thesignal | then i changed the ohm.desktop to harbour-ohm.desktop in the .pro file, and harbour-ohm.spec too | 15:55 |
artemma | qmakr | 15:55 |
thesignal | kk | 15:55 |
artemma | qmake | 15:55 |
thesignal | qmake ran, deployment failed | 15:56 |
coderus | thesignal: just create new project with valid name and add sources and resources | 15:56 |
locusf | gaah my dear bluewhale is going to take a long while to fix :/ | 15:56 |
locusf | fixed my other 2 though | 15:56 |
thesignal | coderus: hm, maybe i should really just forget the old stuff and create a new project | 15:57 |
*** ericy has quit IRC | 15:57 | |
thesignal | but is it the project name which should ne harbour-ohm? | 15:57 |
thesignal | be* | 15:58 |
artemma | thesignal: ys | 15:58 |
artemma | yes | 15:58 |
thesignal | hm ok, i'll create a new project then | 15:59 |
thesignal | artemma: thanks for your help | 15:59 |
artemma | np | 15:59 |
artemma | good luck | 15:59 |
thesignal | coderus: and thanks for the idea | 15:59 |
thesignal | ty | 15:59 |
*** MMori has quit IRC | 16:01 | |
kontio | artemma: I have bad news for you... if the flashlight app is on and the cam app starts, the device crashes... I don't think we can let that in like that... | 16:06 |
artemma | arr... | 16:07 |
artemma | arr.. | 16:07 |
artemma | oh... | 16:07 |
artemma | hmm, I wonder how is it possible, I just ask camera to seek focus | 16:07 |
artemma | kontio: do you mean that flashlight starts first, then starts camera and device crashes? | 16:08 |
artemma | then it looks like a camera bug not ready for any other app using camera already. Say, Intagram or Facebook starting own camera would have same problem | 16:08 |
kontio | artemma: if I start flashlight app first, then and flash on, then start the cam and take a picture, out of 5 times it crashes 4 times the whole device... | 16:09 |
artemma | I don't think anybody would start came while flashlight app is producing light, but camera app should be ready for some other app using camera anyway | 16:09 |
artemma | 4 out of 5 is almost the share of time flashlight keeps camera locked searching for focus.. | 16:10 |
*** Xruxa has quit IRC | 16:11 | |
artemma | oh well, then I guess I am at mercy of harbour thoughts on whether anybody would start camera when using flashlight | 16:11 |
kontio | yeah, we need to discuss that... sorry... | 16:12 |
artemma | I think it's more likely to be a camera app bug, but I maybe it doesn't matter much who exactly is guilty if a combo crashes | 16:12 |
artemma | kontio: BTW regardless of my app, you may then like to recheck the other camera intensive apps as they can have absolutely same clash with system camera app | 16:13 |
*** ericy has joined #sailfishos | 16:13 | |
kontio | afaik there is no other app which might use the cam... | 16:14 |
artemma | :) | 16:14 |
artemma | what about android ones? | 16:14 |
artemma | like facebook | 16:14 |
artemma | kontio: sure I hope you will decide in the end that nobody will use camera when looking for his keys with a flashlight, but if you don't, it would be very kind of you to let me know | 16:15 |
kontio | I don't use android apps on my phone :-) I don't need that many apps... all I need I have native... | 16:15 |
artemma | then I can deactivate flashlight when user exists full screen | 16:15 |
artemma | breaks the super-cool cover page control, but, well, if there's no other way | 16:16 |
*** IgorSK has quit IRC | 16:16 | |
*** zhost has joined #sailfishos | 16:17 | |
*** niqt has quit IRC | 16:19 | |
*** gabriel9|work has quit IRC | 16:31 | |
*** miksuh has quit IRC | 16:34 | |
*** PMG has quit IRC | 16:35 | |
*** triggerhappy has quit IRC | 16:35 | |
*** stephg has joined #sailfishos | 16:38 | |
*** otep_ has joined #sailfishos | 16:40 | |
*** otep has quit IRC | 16:40 | |
*** ericy has quit IRC | 16:42 | |
*** b0bben has joined #sailfishos | 16:46 | |
*** miksuh has joined #sailfishos | 16:58 | |
*** ericy has joined #sailfishos | 16:58 | |
*** PMG has joined #sailfishos | 17:01 | |
*** jjanvier has quit IRC | 17:02 | |
*** jjanvier has joined #sailfishos | 17:05 | |
*** master_o1_master has joined #sailfishos | 17:07 | |
*** arcean has joined #sailfishos | 17:07 | |
*** jjanvier has quit IRC | 17:07 | |
*** b0bben has quit IRC | 17:07 | |
*** master_of_master has quit IRC | 17:08 | |
*** Kabouik has joined #sailfishos | 17:16 | |
*** Pat_o has quit IRC | 17:16 | |
*** ericy has quit IRC | 17:19 | |
*** sdjayna has quit IRC | 17:20 | |
*** piee has quit IRC | 17:27 | |
*** piee has joined #sailfishos | 17:32 | |
*** roric has quit IRC | 17:33 | |
*** ericy has joined #sailfishos | 17:35 | |
*** fawzi has joined #sailfishos | 17:38 | |
*** kvt has joined #sailfishos | 17:41 | |
*** ericy has quit IRC | 17:57 | |
*** Kabouik has quit IRC | 18:01 | |
*** artemma has quit IRC | 18:01 | |
*** Kabouik has joined #sailfishos | 18:01 | |
*** ericy has joined #sailfishos | 18:13 | |
*** andreibechet has quit IRC | 18:16 | |
*** Kabouik has quit IRC | 18:20 | |
*** zsombi has joined #sailfishos | 18:21 | |
*** nsuffys_ has joined #sailfishos | 18:24 | |
*** nsuffys has quit IRC | 18:24 | |
*** Pat_o has joined #sailfishos | 18:28 | |
*** freedomrun has quit IRC | 18:29 | |
*** ericy has quit IRC | 18:30 | |
*** krabador has quit IRC | 18:40 | |
Wnt | I have the sailfish_n9_0.0.2 (Sailfish OS SDK version) running on my N9 and I have a very simple application I created with the Sailfish SDK. What is the simplest way to get my Application running to the N9 Sailfish SDK? | 18:41 |
*** faenil has quit IRC | 18:43 | |
*** Pali has joined #sailfishos | 18:43 | |
*** ericy has joined #sailfishos | 18:43 | |
*** fawzi has quit IRC | 18:45 | |
*** krabador has joined #sailfishos | 18:46 | |
Wnt | I can SSH in to the device when it's running the Nemo based Sailfish SDK environment so that propably is the way to transfer and install my application to the device | 18:47 |
*** spider-mario has joined #sailfishos | 18:48 | |
Wnt | But how can I build a rpm package for a ARM target with the SDK? | 18:48 |
locusf | Wnt: currently the way to go is to use "Deploy" command in the SDK to create the ARM RPM | 18:48 |
locusf | Wnt: it is in the build menu | 18:50 |
Wnt | locusf: Thank you! | 18:51 |
Wnt | And it seems that the "Deploy: Deploy Method ARM" must be chosen from the Build and run kit selector | 18:54 |
*** andreibechet has joined #sailfishos | 18:55 | |
Wnt | Got the application icon to appear in the launcher, but the application UI won't start | 18:57 |
*** Kabouik has joined #sailfishos | 18:58 | |
locusf | check your journalctl | 19:01 |
*** Sfiet_Konstantin has quit IRC | 19:02 | |
locusf | I mean use journalctl -f -a | 19:02 |
Wnt | the problem seems to be that the binary installed by the rpm is not compiled correctly: "/usr/bin/HelloWorld: ELF 32-bit LSB shared object, Intel 80386" | 19:02 |
locusf | and then tap on your application launcher | 19:02 |
locusf | ah | 19:02 |
locusf | surely you gotta rebuild it then | 19:02 |
Wnt | while for example "/usr/bin/file: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV)" | 19:02 |
Wnt | ok, I assumed it does that for me when doing the deploy :) | 19:03 |
*** rashm2k has joined #sailfishos | 19:04 | |
*** twobob has joined #sailfishos | 19:04 | |
twobob | so I am looking to implement this on eink | 19:04 |
twobob | I checked with the #mer folks and they didnt seem to think that it was the stupidest thing they had heard... | 19:05 |
*** rashm2k has quit IRC | 19:05 | |
*** rashm2k has joined #sailfishos | 19:05 | |
twobob | but the 256mb mem cap and the 800mhz processor might be a pain | 19:05 |
twobob | So I jumped to https://sailfishos.org/ and started nosing around but its not blindingly obvious where to start | 19:06 |
*** ^SQl^KinG^- has joined #sailfishos | 19:06 | |
Nicd- | sailfish isn't released yet | 19:07 |
Yaniel | twobob: mind clarifying a bit what you are trying? | 19:07 |
twobob | err. shoving this or Jolla on a kindle | 19:08 |
twobob | Kindle touch actually | 19:08 |
Nicd- | you can take a look at porting mer and nemo on it | 19:08 |
twobob | k | 19:08 |
Nicd- | it will make portin sailfish easier when it is released | 19:08 |
Nicd- | porting* | 19:08 |
twobob | so step 1) do mer | 19:08 |
twobob | on that | 19:09 |
Nicd- | since sailfish is basically mer + nemo middleware + sailfish ui | 19:09 |
twobob | right. | 19:09 |
*** ^SQl^KinG^- has quit IRC | 19:09 | |
twobob | so grab the platform mer SDK and x-compile it for armv7l | 19:11 |
*** Bloob has quit IRC | 19:11 | |
Wnt | ok, now I can run the file on the device but running it gives an error: "/usr/bin/HelloWorld: error while loading shared libraries: libsailfishapp.so.1: cannot open shared object file: No such file or directory" | 19:11 |
Wnt | ldd /usr/bin/HelloWorld also lists "libsailfishapp.so.1 => not found" | 19:12 |
Wnt | everything else seems to be there | 19:12 |
twobob | LD_LIBRARY_PATH ? | 19:14 |
twobob | force it? | 19:14 |
Wnt | twobob: "echo $LD_LIBRARY_PATH" gives no output | 19:16 |
twobob | right. | 19:16 |
twobob | I am suggesting you use that in the call | 19:16 |
Wnt | "ldd /usr/bin/silicacomponentgallery-qt5" does not list libsailfishapp.so.1 and it runs fine from the ui | 19:17 |
Wnt | It was prepackaged to the image I installed on the device | 19:17 |
twobob | LD_LIBRARY_PATH=/path/to/lib /usr/bin/HelloWorld | 19:17 |
Stskeeps | Wnt: 'on device', you mean emulator? | 19:17 |
twobob | okay well I am just a nnob saying what I would do | 19:17 |
twobob | *noob | 19:17 |
Wnt | and 'find /usr -iname "libsailfishapp.so.1"' gives no output | 19:18 |
*** martyone has joined #sailfishos | 19:18 | |
Wnt | Stskeeps: by on device I mean the sailfish_n9_0.0.2 (Sailfish OS SDK version) running on my N9 | 19:18 |
Stskeeps | Wnt: ah, that's nemo + lipstick homescreen isn't it | 19:18 |
Stskeeps | no promises anything app wise will work there | 19:19 |
Wnt | the prepackaged component gallery runs fine there :) | 19:19 |
*** ericy has quit IRC | 19:19 | |
Wnt | Don't know how that image was created and which version of the SDK was used to create that | 19:20 |
*** RoKenn has joined #sailfishos | 19:22 | |
Wnt | the login banner shows "SailfishOS 0.98.0.73 (armv7hl,testing)" | 19:22 |
*** faenil has joined #sailfishos | 19:24 | |
twobob | what does readelf -d /path/to/thing say? | 19:24 |
twobob | does that in fact have the lib as a reuirement? | 19:24 |
twobob | I would strace the call -then grep that for the lib path | 19:25 |
twobob | thats what I would be | 19:25 |
twobob | *do | 19:25 |
*** martyone has quit IRC | 19:25 | |
*** martyone has joined #sailfishos | 19:25 | |
*** kostola_ has quit IRC | 19:26 | |
*** kostola has joined #sailfishos | 19:27 | |
*** piee has quit IRC | 19:27 | |
*** b0bben has joined #sailfishos | 19:28 | |
*** furikku has quit IRC | 19:31 | |
*** piee has joined #sailfishos | 19:32 | |
*** Eismann has joined #sailfishos | 19:32 | |
*** cnuke has quit IRC | 19:36 | |
*** ericy has joined #sailfishos | 19:36 | |
*** mike7b4_on_x230 has joined #sailfishos | 19:36 | |
*** Sfiet_Konstantin has joined #sailfishos | 19:39 | |
*** zsombi has quit IRC | 19:40 | |
*** xowap has quit IRC | 19:42 | |
*** edgar2 has quit IRC | 19:42 | |
*** Morpog_PC has joined #sailfishos | 19:47 | |
*** ericy has quit IRC | 19:49 | |
*** artemma has joined #sailfishos | 19:54 | |
*** mike7b4_on_x230 has quit IRC | 19:58 | |
*** mrmlz has joined #sailfishos | 19:58 | |
*** roric has joined #sailfishos | 19:59 | |
ajalkane | aye... really simple question. SDK has 90x90 png icon, but I have an shadowy memory of people talking about 86x86 being the size that must be used. Is it so that 86x86 is what should be used for the icon? Couldn't see anything about it in SDK FAQ | 20:00 |
Jonni | yes next sdk release will have 86x86 and harbour qa expects 86x86 | 20:02 |
Wnt | ajalkane: some information available at https://lists.sailfishos.org/pipermail/devel/2013-November/001319.html | 20:02 |
ajalkane | Thanks guys | 20:03 |
ajalkane | SDK shows "default cover" if I don't have cover property set... is it safe to assume in real device it will be the apps view like in harmattan, or is there not live previews supported and I should put something there? | 20:04 |
*** ericy has joined #sailfishos | 20:06 | |
*** M4rtinK has joined #sailfishos | 20:08 | |
Wnt | ajalkane: If I understood things correctly the default cover is supported, but it's recomended to define a active cover for all applications: http://youtu.be/CiWqSIyqqAc?t=30m40s | 20:10 |
ajalkane | Wnt: thanks... I think I'll go at first with default cover and perhaps once the QA fighting has been done I'll look if it makes sense to improve it | 20:12 |
*** rashm2k has quit IRC | 20:14 | |
*** rashm2k1 has joined #sailfishos | 20:14 | |
*** b0bben has quit IRC | 20:15 | |
*** Finleida has quit IRC | 20:16 | |
*** jstaniek has joined #sailfishos | 20:16 | |
*** TheBootroo_ has joined #sailfishos | 20:17 | |
*** cnuke has joined #sailfishos | 20:19 | |
*** xowap has joined #sailfishos | 20:21 | |
*** xowap has quit IRC | 20:29 | |
*** xowap has joined #sailfishos | 20:29 | |
*** Zotan has joined #sailfishos | 20:32 | |
*** pixraider has joined #sailfishos | 20:32 | |
*** itbaron has quit IRC | 20:38 | |
*** Sfiet_Konstantin has quit IRC | 20:49 | |
artemma | Reading about changes of properties in QtQuick 2.0 Good stuff there. readonly properties, default ones - http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-objectattributes.html#default-properties | 20:50 |
*** lizardo has quit IRC | 20:57 | |
* artemma is stuck in a typical programmer's problem: Naming. How would you call a filter that passes enabled/disabled calls to the underlying switch when something is active, but makes sure switch is exactly disabled when something is not active animore | 21:02 | |
artemma | ? | 21:02 |
M4rtinK | Detonator ? | 21:03 |
artemma | There seems to be a bug in my app or sailfish camera or in between that crashes phone when both camera app and flashlight are used simultaneously. So I want to make sure torch is off when app is deactivated | 21:03 |
artemma | detonator is more like one time thing | 21:03 |
artemma | I am looking for something like water filter that remembers to close the tap when master goes out of house | 21:04 |
artemma | and remembers to open it again (if it was open earlier) when master is back | 21:04 |
M4rtinK | well that's pretty much a mutex | 21:04 |
artemma | hmm.. | 21:05 |
M4rtinK | or to be more precise a critical section | 21:05 |
M4rtinK | guarded by a mutex | 21:05 |
artemma | why? | 21:05 |
M4rtinK | wll only one of them can be on at the same time | 21:06 |
artemma | oh.. for water to flow we need master pretense and his wish to keep water flowing, yeah kind of mutex | 21:06 |
artemma | nope | 21:06 |
M4rtinK | eq in the critical section | 21:06 |
artemma | more like binary and | 21:06 |
M4rtinK | or mechanical safety interlock | 21:07 |
artemma | mutex more like frees object when, well, nobody uses it | 21:07 |
artemma | I think it's AND operation I am looking at, but somehow I want to express it in a term of filters or some other layering words | 21:08 |
artemma | that is a necessary evil abstraction layer that is to be removed when camera or my app is fixed (on a live device) | 21:08 |
artemma | can I call it a TriggerFilter? | 21:09 |
ajalkane | artemma: why not call it Guard and make the name imply what it guards against | 21:09 |
artemma | And element is a trigger isn't it? | 21:09 |
artemma | yeah, Guard sounds logical | 21:10 |
artemma | hmm.. | 21:10 |
artemma | does Guard name imply it will remember the old value (to be applied when the master comes back to the room)? | 21:10 |
artemma | probably yes | 21:11 |
artemma | okay, that will be then a TorchGuard on top of a PulsingTorch on top of a Camera on top of a CameraFocus that actually gets activated :) | 21:12 |
ajalkane | well implicitly yes... to me in programming it implies preserving state when conditions change and restores it when conditions are suitable again | 21:12 |
artemma | you can solve any problem by introducing one more layer of abstraction. Except for the problem of too many abstraction layers :) | 21:13 |
artemma | thanks, guys! | 21:13 |
ajalkane | I think you have just enough layers for a simple application. Still some way to become some silly over-architectured EE app :P | 21:13 |
*** xowap has quit IRC | 21:14 | |
*** ericy has quit IRC | 21:17 | |
ajalkane | coderus: Is Persecute open source? I'm mainly interested in daemon + UI separation. Had some troubles doing it with systemd for Nemo | 21:18 |
artemma | I'd be also interested in how you make daemon start on system boot up (my most popular N9 project that would be good to port needs daemon or scheduler) | 21:21 |
special | I don't know what the habour policy on daemons is, but | 21:22 |
special | nemo has plenty of examples of how to do a systemd service that runs on boot | 21:23 |
*** leinir_ has joined #sailfishos | 21:23 | |
*** cxl000 has quit IRC | 21:23 | |
artemma | so you can somehow register it then | 21:23 |
* artemma isn't really knowing much about *nix and system registrations | 21:23 | |
*** MMori has joined #sailfishos | 21:23 | |
*** leinir has quit IRC | 21:23 | |
*** leinir_ is now known as leinir | 21:24 | |
special | using the one I'm working on now as the example | 21:24 |
ajalkane | artemma: basically you make systemd configuration files, pretty much like corresponding ones for Upstart for N9. Though I had all kind of weird problems. I'll try again when I have a real device to test. | 21:24 |
special | https://github.com/nemomobile/commhistory-daemon/blob/master/data/commhistoryd.service | 21:24 |
special | and https://github.com/nemomobile/commhistory-daemon/blob/master/rpm/commhistory-daemon.spec#L61 | 21:24 |
artemma | so you just copy such config file to proper dir and that is a registration | 21:25 |
artemma | sounds good | 21:25 |
special | take out the Restart=always or I'd be mad at you, but yes | 21:25 |
ajalkane | Ideally... Though I have to say I turned from a naturally suspicious old man to an ardous hater of the "get of my lawn" systemd during the process | 21:26 |
special | I've come to like systemd quite a bit while using it | 21:26 |
*** sledges has quit IRC | 21:26 | |
ajalkane | I hope I'll reach that zen-like state through practical torture one day. Meanwhile, I'm gathering my strength for the inevitable battle. | 21:27 |
*** piee has quit IRC | 21:27 | |
twobob | remember - there is no level zero | 21:27 |
twobob | ;) | 21:28 |
*** piee has joined #sailfishos | 21:28 | |
special | ajalkane: it does take some time to get used to. | 21:29 |
ajalkane | True that, Lennart smashed me staright to level -10 | 21:29 |
twobob | hehehe | 21:29 |
M4rtinK | I've actually seen Lennart with my own eyes ! :) | 21:31 |
M4rtinK | twice already | 21:31 |
ajalkane | were you oogling from safe distance with binoculars? | 21:33 |
M4rtinK | BTW, he will be on DevConf in February in Brno :) | 21:33 |
M4rtinK | without doubt announcing some other very controversial initiative :) | 21:34 |
*** ericy has joined #sailfishos | 21:35 | |
ajalkane | It'd be funny to have Lennart, Linux and Theo De Raadth debating some hot controversial topic | 21:35 |
ajalkane | * Linus | 21:35 |
*** nsuffys_ has quit IRC | 21:36 | |
ajalkane | I think I might be willing to pay seeing that more than your average stadium-level concert | 21:36 |
* ajalkane is derailing again... I'll shut up and try to make a sailfish app | 21:37 | |
*** Pat_o has quit IRC | 21:39 | |
M4rtinK | well, hist talks are always packed, that's for sure :) | 21:40 |
M4rtinK | *his | 21:40 |
ajalkane | so to upload to harbour I need to name the package in some special way? Is it just editing .yaml file and setting (in QtCreator in this case) the "Sources" to "harbor-%{name}-%{version}.tar.bz2" ... or is there more to it? | 21:43 |
artemma | ajalkane: sort of yes, but many things have to go in concert | 21:45 |
artemma | package name and app folder and binary name all need to be harbour-myapp | 21:45 |
artemma | also you'll need to change Icon line in .desktop to new format (is in ML) | 21:46 |
ajalkane | gots the ML posting... but it did not have harbor related stuff. So binary name too should have some special naming. I guess there's no place where this is yet documented? | 21:46 |
artemma | there are two ML posts | 21:47 |
artemma | everything should be harbour-myapp :) | 21:47 |
ajalkane | I have Iekku Pylkka's from 21st | 21:47 |
*** arcean has quit IRC | 21:48 | |
ajalkane | I guess Karl Granström's is the other (6th of november) | 21:48 |
artemma | probably. there were only two with concrete reqs | 21:49 |
*** Blizzz has quit IRC | 21:52 | |
*** amizraa has quit IRC | 21:52 | |
*** amizraa has joined #sailfishos | 21:53 | |
*** Eismann has quit IRC | 21:55 | |
artemma | okay, TorchGuard is ready and tested,now integrating to app | 21:58 |
ajalkane | So in .desktop file we should have Icon=<AppName>.png | 21:58 |
*** amizraa has quit IRC | 22:00 | |
artemma | almost | 22:00 |
*** amizraa has joined #sailfishos | 22:00 | |
artemma | Icon=<AppName> | 22:00 |
artemma | no ".png" | 22:00 |
ajalkane | artemma: ok thanks | 22:00 |
ajalkane | And AppName should be harbor-<Real AppName> ? | 22:01 |
*** spider-mario has quit IRC | 22:02 | |
ajalkane | argh... any open source project out there where I can look for harbor approved files? | 22:02 |
artemma | u r welcome, it's good if others don't hit the same issues. I was getting help from others. Jonni , aard_ , kontio - many actually. Chances are I will actually have app ready by launch date thanks to them | 22:02 |
artemma | ajalkane: yes harbour-myapp | 22:02 |
artemma | I actually have one demo prom just for that, but.. it's not up to date | 22:02 |
artemma | I can answer questions however | 22:03 |
ajalkane | artemma: that'd be great, where's that harbour-myapp? | 22:03 |
artemma | ajalkane: that project is not up to date | 22:03 |
artemma | the goal was to create minimal complex project, i.e. with one QML test | 22:04 |
artemma | github.com/amarchen/sailfish-app-with-qml-test | 22:04 |
ajalkane | seems like each time I get an answer to one question I come upon another question :P | 22:04 |
artemma | and it's just fine.. for the oldest sdk release and I ignore .yaml | 22:04 |
artemma | I think now you went trough almost everything | 22:04 |
artemma | make sure icon actually is 86x86 | 22:05 |
artemma | and that you do not import anything forbidden | 22:05 |
artemma | and if you import your own modules syntax MUST be import harbour.myApp.MyModule | 22:05 |
artemma | not just import MyModule | 22:05 |
ajalkane | ok thanks... I guess I will try with these instructions and best guesses and hope for best! | 22:06 |
artemma | good luck | 22:10 |
TheBootroo_ | is Michal Blazek on this chan ? if yes, what's his nick ? | 22:10 |
artemma | ajalkane: you can also ask ppl on this channel to try your app. Some sailors have access to harbour check script and can run it against your generated RPM | 22:11 |
artemma | I would have never passed so quickly if not that | 22:11 |
ajalkane | This app is just something to try Sailfish, I'm not gonna bother the busy Jolla peeps with trying this :) | 22:13 |
ajalkane | But I do hope I can help other people with similar problems when I get it right with the good folks helping here | 22:14 |
*** Blizzz has joined #sailfishos | 22:15 | |
*** Hartzi has quit IRC | 22:18 | |
artemma | Anybody with a real device here willing to try my app? http://bit.ly/flashlight15 | 22:18 |
*** PMG has quit IRC | 22:18 | |
artemma | please, check that flashlight is turned off when app goes to background. Also try turning flashlight on and THEN try taking some photos with the phone camera several times. Such combo used to crash whole device earlier | 22:19 |
artemma | kontio: ping | 22:19 |
artemma | aard_: ping | 22:19 |
artemma | Jonni: ping | 22:19 |
artemma | whoever: ping :) | 22:19 |
Skorpy | just two more days to get my hands on the device :| | 22:20 |
Skorpy | can't wait | 22:20 |
*** disharmonic has joined #sailfishos | 22:24 | |
M4rtinK | well I'm basically just waiting for the Harbor to stabilize first :) | 22:25 |
ajalkane | Lucky you! Just two days and I can walk past the magnificient pop-up store :) | 22:25 |
*** Hartzi has joined #sailfishos | 22:25 | |
*** freedomrun has joined #sailfishos | 22:25 | |
M4rtinK | and I don't have anything ready anyway and don't want to rush it | 22:25 |
ajalkane | It'll be interesting to see how much people there are in line | 22:25 |
ajalkane | btw. what's the best way to get screenshots from the emulator for use in harbour? | 22:29 |
*** jotik has quit IRC | 22:31 | |
ajalkane | argh, I guess the most pressing question as last... how do I build ARM architecture RPM with QtCreator for uploading to Harbour? I get red balloon selecting the ARM target | 22:31 |
artemma | M4rtinK: BTW I had a look at your app with Harmattan controls on Android | 22:31 |
artemma | impressive | 22:31 |
*** pixraider has quit IRC | 22:32 | |
artemma | ajalkane: choose Mer target in Projects. Then Clean -> Build -> Deploy | 22:32 |
M4rtinK | artemma: thanks! | 22:33 |
ajalkane | artemma: deploy ie. "Run" I gather... but I have red balloon and the run arrow is disabled when I have mer ARM target | 22:33 |
M4rtinK | artemma: it actually wasn't that hard to build the component | 22:33 |
artemma | nope. exactly Deploy | 22:33 |
artemma | look in menu | 22:33 |
*** jotik has joined #sailfishos | 22:34 | |
artemma | M4rtinK: I am looking forward for Silica on Android :D | 22:34 |
M4rtinK | artemma: but making it properly resize when screen is rotated & of course all the Python stuff was the harder part :) | 22:34 |
artemma | though good Silica port needs to solve the design issue with Menu: when/how/where to show it | 22:34 |
ajalkane | artemma: got it, thanks... some error but I'll try looking at it first | 22:35 |
M4rtinK | well, it is declarative, you can just convert it to something else as appropriate :) | 22:35 |
*** ericy has quit IRC | 22:36 | |
artemma | M4rtinK: possibly just showing it on a Menu button press will be good enough, though it could be unexpected on Android to have menu where system drawer is | 22:36 |
ajalkane | Deploy gives "Fatal: deploy must have a valid --device" ... but I guess there's somewhere now a valid RPM to upload to harbour? | 22:37 |
artemma | Of course another option is to get rid of PulleyMenu completely and implement some custom Menu just for Android or other pullless devices | 22:37 |
artemma | ajalkane: nope. It should tell success and show message box with the list of files created | 22:38 |
artemma | something went wrong, read messages | 22:38 |
*** xowap has joined #sailfishos | 22:38 | |
*** TechieElf has joined #sailfishos | 22:39 | |
*** piee has quit IRC | 22:40 | |
ajalkane | Do I have to add some ARM emulator device or should the deploy work "out of the box" with the SDK? | 22:42 |
artemma | just sdk should be fine | 22:42 |
*** Pali has quit IRC | 22:42 | |
artemma | I never had such error message | 22:42 |
artemma | hmm.. when you created a project you configured it for mer as well, right? | 22:42 |
ajalkane | yeah I did | 22:42 |
artemma | of course you did, otherwise you wouldn't have ARM target in Projects | 22:42 |
artemma | sorry, don't know what happened, maybe read messages in Compile tab | 22:43 |
*** xowap has quit IRC | 22:43 | |
ajalkane | Unfortunately the only real error message was the one I pasted. Well, I'll try restarting the SDK | 22:44 |
ajalkane | Still, only getting this: | 22:47 |
ajalkane | 00:46:18: Deploying rpm package... | 22:47 |
ajalkane | 00:46:18: Starting: "/home/arto/.config/SailfishAlpha2/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/deploy" --pkcon | 22:47 |
ajalkane | Fatal: deploy must have a valid --device | 22:47 |
*** rashm2k1 has quit IRC | 22:49 | |
ajalkane | Also I get "Clock skew detected" messages, but I assume they're nothing out of the ordinary | 22:49 |
*** tmxnst has quit IRC | 22:50 | |
*** ericy has joined #sailfishos | 22:53 | |
*** zutto has quit IRC | 22:53 | |
*** Zotan has quit IRC | 22:54 | |
ajalkane | uh okay lol... I had to select "Deploy method ARM" instead of "RPM" and then it worked. | 22:54 |
ajalkane | As always, just click and try until it owrks. Too much thinking just gets you in trouble :P | 22:55 |
TheBootroo_ | ajalkane: i had the same issue, took me hours to figure the problem (i tried cleaning generated files, recreating ssh keys, reinstalling virtual box, resetting sdk....) | 22:59 |
Wnt | Finally got my own app running in the Nemo + Sailfish enviroment on my N9. Needed to get the libsailfishapp rpm with the SDK using "sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper remove --clean-deps libsailfishapp" and "sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper in libsailfishapp" | 23:01 |
ajalkane | TheBootroo_: makes one feel like totally smart :P | 23:01 |
TheBootroo_ | ajalkane: hehe | 23:03 |
TheBootroo_ | Wnt: wanna try my app on you SFN9 ? | 23:04 |
TheBootroo_ | https://harbour.jolla.com/apps/52915908afcec66e7c0000d9/ | 23:04 |
TheBootroo_ | not yet approved but it should very soon, i did a huge udpate | 23:05 |
Wnt | TheBootroo_: that url gives a "The request was unauthorized" error | 23:05 |
TheBootroo_ | erf | 23:05 |
TheBootroo_ | no way to share a harbour page ? | 23:05 |
*** zutto has joined #sailfishos | 23:08 | |
*** ericy has quit IRC | 23:10 | |
*** sledges has joined #sailfishos | 23:10 | |
*** ottulo has quit IRC | 23:13 | |
*** andreibechet has quit IRC | 23:14 | |
*** andreibechet has joined #sailfishos | 23:15 | |
*** RoKenn has quit IRC | 23:15 | |
*** jstaniek has quit IRC | 23:15 | |
*** ottulo has joined #sailfishos | 23:17 | |
ajalkane | argh... harbour says invalid website, yet it opens | 23:17 |
ajalkane | I'll give up for now | 23:18 |
*** ajalkane has quit IRC | 23:18 | |
artemma | *** ERROR: No build ID note found in /home/deploy/installroot/usr/share/harbour-wikipedia/qml/obj/main.o | 23:21 |
artemma | ??? | 23:21 |
artemma | must be old style main.cpp | 23:22 |
w00t | artemma: where is that from? | 23:23 |
w00t | sounds like that's coming from rpmbuild | 23:23 |
artemma | RPM packaging | 23:23 |
artemma | extracting debug info from /home/deploy/installroot/usr/share/harbour-wikipedia/qml/obj/main.o | 23:23 |
w00t | artemma: did you mix debug and release builds? | 23:24 |
artemma | w00t: doesn't say anything to me | 23:25 |
artemma | arrgh! | 23:25 |
*** DarkSim has quit IRC | 23:25 | |
* artemma is really tired to see QtCreator corrupt my .yaml on almost every save! Is there a way to kill the autoupdating plugin somehow?! | 23:26 | |
w00t | corrupt in what way? | 23:26 |
artemma | like overwriting half of file the wrong way :) | 23:26 |
w00t | please demonstrate next time it happens :) | 23:27 |
artemma | plugin is not ready for sub packages so it tends to rewrite content into one package always | 23:27 |
artemma | and sub packaging is the only way I can keep my internal programmer sane | 23:27 |
artemma | you know src project and test project are to go to different packages | 23:27 |
*** ericy has joined #sailfishos | 23:27 | |
w00t | ok, so by "wrong" you mean "it doesn't package it the way I want" | 23:27 |
w00t | did you write to the ML about this already? (sorry if you did, but I get a lot of mail) | 23:28 |
artemma | Plus some files I need to put to fake package to remove harbour-unacceptable stuff from main package | 23:28 |
artemma | w00t: no, I mean it takes file with sub packages and rewrites it as if there's one package | 23:28 |
M4rtinK | and that's why I'm looking forward to a Sailfish OBS target somewhere :) | 23:29 |
artemma | w00t: sorry, but I don't think ML will help. When you'll do examples with sub packages, you'll do it anyway | 23:29 |
w00t | artemma: writing to the ML says "I am having pain with this", and I can point the right people at that mail | 23:30 |
M4rtinK | never really liked QtCreator anyway :) | 23:30 |
artemma | and meanwhile nobody will care. After all .yaml works, I just need to keep reverting creator's "corrections: | 23:30 |
artemma | w00t: you are correct, but lately I feel like I am already writing there too much and honestly that;s not the most burning issue | 23:31 |
artemma | it's annoying, but I'd rather prefer device not to crash when both 3rd party app and system camera app are trying to use camera :) | 23:31 |
artemma | I'll probably write about plugin at some point | 23:32 |
artemma | hopefully public bug tracker will be opened some time soon | 23:32 |
M4rtinK | +1 to that | 23:33 |
artemma | now back to "Found two copies of .debug_types section" | 23:33 |
artemma | changing to new style main.cpp didn't help | 23:33 |
artemma | deleting old hell knows from where main.o helped :) | 23:34 |
*** TheBootroo_ has quit IRC | 23:40 | |
*** chriadam|away is now known as chriadam | 23:44 | |
artemma | funny, I corrected 90x90 in sailfishapp.prf to 86x86, but Makefile generated keeps putting in 90x90 somehow | 23:47 |
artemma | cached somewhere? | 23:47 |
artemma | ah, sailfishapp_qml.prf has it | 23:47 |
artemma | hmm… what's the difference? | 23:48 |
*** M4rtinK has quit IRC | 23:48 | |
*** Blizzz has quit IRC | 23:48 | |
*** Eztran has quit IRC | 23:49 | |
artemma | still, 90x90 icon path keeps being added from somewhere | 23:49 |
*** ericy has quit IRC | 23:50 | |
w00t | artemma: one assumes qml deployment also, one doesn't, iirc | 23:50 |
artemma | template = aux.. | 23:50 |
w00t | artemma: if you run qmake -d -d -d (send it to a file.. it's very verbose) you'll likely get an idea of what's messing you up | 23:50 |
artemma | I don't know where quake is in SDK | 23:51 |
*** r3d has quit IRC | 23:52 | |
*** triggerhappy has joined #sailfishos | 23:53 | |
artemma | /home/mersdk/.config/SailfishAlpha2/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake: line 2: exec: /Users/artem/SailfishOS/bin/Qt Creator.app/Contents/MacOS/../Resources/merssh: cannot execute: No such file or directory | 23:54 |
twobob | qmake team fortress edition | 23:54 |
*** freedomrun has quit IRC | 23:54 | |
artemma | oh well, I just remove sailfishapp then or deploy a copy of icon manually | 23:55 |
artemma | still strange though | 23:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!