OrokuSaki | seems I need this toolchain.. forgot about that android-ndk-r7 | 00:00 |
---|---|---|
*** qwazix has quit IRC | 00:12 | |
*** qwazix has joined #sailfishos | 00:17 | |
*** qwazix has joined #sailfishos | 00:17 | |
*** Kabouik has quit IRC | 00:19 | |
*** a_meteor has quit IRC | 00:54 | |
*** exec_s has joined #sailfishos | 01:10 | |
OrokuSaki | Initramfs needed some adjustments | 01:24 |
OrokuSaki | =) | 01:24 |
OrokuSaki | Reached Target Graphical Interface | 01:25 |
OrokuSaki | rmnet_ioctl called for unsupported cmd 35585 | 01:25 |
OrokuSaki | @Stskeeps ever seen that before? Just curious... | 01:26 |
*** freedomrun has quit IRC | 01:30 | |
*** krabador has quit IRC | 01:35 | |
*** Heis_ has joined #sailfishos | 01:35 | |
OrokuSaki | @Stskeeps... kernel change maybe? tenderloin_meego_defconfig? I noticed it is named mer now | 01:37 |
OrokuSaki | plasma active 2 would be fun to see =) | 01:38 |
*** triggerhappy has quit IRC | 01:38 | |
*** Heis has quit IRC | 01:40 | |
*** triggerhappy has joined #sailfishos | 01:40 | |
*** Morpog_Mobile has quit IRC | 01:41 | |
*** freedomrun has joined #sailfishos | 01:44 | |
*** mjones_ has quit IRC | 02:02 | |
*** mjones_ has joined #sailfishos | 02:02 | |
*** OrokuSaki has quit IRC | 02:03 | |
*** Morpog_Mobile has joined #sailfishos | 02:34 | |
*** master_o1_master has joined #sailfishos | 02:39 | |
*** master_of_master has quit IRC | 02:43 | |
*** piee has joined #sailfishos | 03:15 | |
*** Merbot has joined #sailfishos | 03:23 | |
*** Merbot` has quit IRC | 03:23 | |
*** _Razor_ has quit IRC | 03:24 | |
*** _Razor_ has joined #sailfishos | 03:25 | |
*** Aard has quit IRC | 03:25 | |
*** diegoyam has quit IRC | 03:25 | |
*** diegoyam has joined #sailfishos | 03:25 | |
*** Aard has joined #sailfishos | 03:26 | |
*** piee has quit IRC | 03:35 | |
*** simathur has joined #sailfishos | 03:43 | |
*** piee has joined #sailfishos | 03:52 | |
*** piee has quit IRC | 04:01 | |
*** furikku has joined #sailfishos | 04:09 | |
*** VDVsx has joined #sailfishos | 04:11 | |
*** piee has joined #sailfishos | 04:21 | |
*** exec_s has quit IRC | 04:33 | |
*** piee has quit IRC | 04:34 | |
*** piee has joined #sailfishos | 04:51 | |
*** Heis_ has quit IRC | 05:00 | |
*** Heis has joined #sailfishos | 05:00 | |
*** Soru has quit IRC | 05:07 | |
*** piee has quit IRC | 05:28 | |
*** Pat_o has joined #sailfishos | 05:31 | |
*** Eismann has quit IRC | 05:41 | |
*** Sfiet_Konstantin has joined #sailfishos | 05:42 | |
*** martyone_ has joined #sailfishos | 05:47 | |
*** Dudalus has joined #sailfishos | 05:47 | |
*** piee has joined #sailfishos | 05:51 | |
*** Morpog_PC has joined #sailfishos | 05:58 | |
*** piee has quit IRC | 05:58 | |
*** jukkaeklund has joined #sailfishos | 06:00 | |
*** Morpog_PC has quit IRC | 06:03 | |
*** freedomrun has quit IRC | 06:12 | |
*** camillab has quit IRC | 06:12 | |
*** soul has joined #sailfishos | 06:13 | |
*** soul is now known as Guest5241 | 06:14 | |
*** artemma has joined #sailfishos | 06:29 | |
*** artemma has quit IRC | 06:40 | |
*** DrIDK has quit IRC | 06:40 | |
*** b0bben has joined #sailfishos | 06:42 | |
*** veskuh has joined #sailfishos | 06:44 | |
*** niqt has joined #sailfishos | 06:54 | |
*** Guest5241 has quit IRC | 06:55 | |
*** Soru_ has joined #sailfishos | 07:00 | |
*** b0bben has quit IRC | 07:01 | |
*** b0bben has joined #sailfishos | 07:03 | |
*** Pat_o has quit IRC | 07:06 | |
*** freedomrun has joined #sailfishos | 07:07 | |
*** gabriel9|work has joined #sailfishos | 07:08 | |
*** Sfiet_Konstantin has quit IRC | 07:08 | |
*** piee has joined #sailfishos | 07:08 | |
*** kjokinie has left #sailfishos | 07:11 | |
*** fk_lx has joined #sailfishos | 07:11 | |
*** jjanvier has joined #sailfishos | 07:11 | |
*** jmlich has joined #sailfishos | 07:12 | |
*** freedomrun has quit IRC | 07:13 | |
*** jpetrell has joined #sailfishos | 07:13 | |
*** kjokinie has joined #sailfishos | 07:16 | |
*** Kabouik has joined #sailfishos | 07:22 | |
*** pixraider has joined #sailfishos | 07:24 | |
*** freedomrun has joined #sailfishos | 07:26 | |
*** piee has quit IRC | 07:27 | |
*** Blizzz has joined #sailfishos | 07:27 | |
*** artemma has joined #sailfishos | 07:32 | |
*** piee has joined #sailfishos | 07:32 | |
*** pixraider has quit IRC | 07:37 | |
*** b0bben has quit IRC | 07:48 | |
*** piee has quit IRC | 07:51 | |
*** b0bben has joined #sailfishos | 07:53 | |
*** piee has joined #sailfishos | 07:57 | |
*** b0bben has quit IRC | 07:59 | |
*** zsombi has joined #sailfishos | 08:00 | |
*** b0bben has joined #sailfishos | 08:00 | |
*** camillab has joined #sailfishos | 08:01 | |
*** he1kki has joined #sailfishos | 08:06 | |
*** ericcc has joined #sailfishos | 08:17 | |
*** Xruxa has joined #sailfishos | 08:19 | |
*** batteryyy has joined #sailfishos | 08:19 | |
*** b0bben has quit IRC | 08:20 | |
*** DarkSim has joined #sailfishos | 08:21 | |
*** RoKenn has joined #sailfishos | 08:23 | |
*** chriadam is now known as chriadam|away | 08:26 | |
*** Dudalus has quit IRC | 08:26 | |
*** artemma has quit IRC | 08:29 | |
*** Zotan has quit IRC | 08:29 | |
*** Dudalus has joined #sailfishos | 08:29 | |
*** Morpog_N9 has joined #sailfishos | 08:31 | |
*** artemma has joined #sailfishos | 08:32 | |
*** faenil has joined #sailfishos | 08:44 | |
*** lbt has quit IRC | 08:44 | |
*** lbt has joined #sailfishos | 08:44 | |
*** lbt has joined #sailfishos | 08:44 | |
*** freedomrun has quit IRC | 08:46 | |
*** rcg has joined #sailfishos | 08:48 | |
*** ericcc has quit IRC | 08:49 | |
*** nsuffys has joined #sailfishos | 08:49 | |
*** ericcc has joined #sailfishos | 08:49 | |
*** fk_lx has left #sailfishos | 09:06 | |
*** Netweaver has joined #sailfishos | 09:06 | |
*** ITA_NicoloN900_ has joined #sailfishos | 09:10 | |
*** ericcc has quit IRC | 09:11 | |
*** simbrown has joined #sailfishos | 09:11 | |
*** ITA_NicoloN900__ has joined #sailfishos | 09:15 | |
*** piee has quit IRC | 09:15 | |
*** f3an0r has joined #sailfishos | 09:16 | |
*** ITA_NicoloN900_ has quit IRC | 09:17 | |
*** batteryyy has quit IRC | 09:18 | |
*** ITA_NicoloN900__ has quit IRC | 09:18 | |
*** ITA_NicoloN900__ has joined #sailfishos | 09:22 | |
*** Netweaver_ has joined #sailfishos | 09:22 | |
*** Netweaver has quit IRC | 09:25 | |
*** zsombi has quit IRC | 09:32 | |
*** zsombi has joined #sailfishos | 09:33 | |
*** jukkaeklund_ has joined #sailfishos | 09:34 | |
*** jukkaeklund has quit IRC | 09:37 | |
*** Kabouik has quit IRC | 09:48 | |
*** piee has joined #sailfishos | 09:49 | |
*** gabriel9 has joined #sailfishos | 09:53 | |
*** ITA_NicoloN900__ has quit IRC | 09:54 | |
*** Kabouik has joined #sailfishos | 09:54 | |
*** ITA_NicoloN900__ has joined #sailfishos | 09:54 | |
*** gabriel9_ has joined #sailfishos | 09:56 | |
*** gabriel9|work has quit IRC | 09:56 | |
*** gabriel9 has quit IRC | 09:57 | |
*** ITA_NicoloN900__ has quit IRC | 09:57 | |
*** ITA_NicoloN900__ has joined #sailfishos | 09:57 | |
*** Netweaver__ has joined #sailfishos | 09:59 | |
*** ITA_NicoloN900__ has quit IRC | 10:00 | |
*** ITA_NicoloN900__ has joined #sailfishos | 10:01 | |
*** triggerhappy has quit IRC | 10:02 | |
*** freedomrun has joined #sailfishos | 10:02 | |
*** Netweaver_ has quit IRC | 10:02 | |
*** triggerhappy has joined #sailfishos | 10:03 | |
*** DarkSim has quit IRC | 10:05 | |
*** DarkSim has joined #sailfishos | 10:06 | |
*** Netweaver__ has quit IRC | 10:07 | |
*** Netweaver has joined #sailfishos | 10:11 | |
*** simbrown has quit IRC | 10:11 | |
*** phdeswer has quit IRC | 10:12 | |
*** ITA_NicoloN900__ has quit IRC | 10:12 | |
*** phdeswer has joined #sailfishos | 10:12 | |
*** ITA_NicoloN900__ has joined #sailfishos | 10:13 | |
*** simbrown has joined #sailfishos | 10:14 | |
*** phdeswer has quit IRC | 10:17 | |
*** ITA_NicoloN900__ has quit IRC | 10:25 | |
*** ITA_NicoloN900__ has joined #sailfishos | 10:25 | |
*** Kabouik has quit IRC | 10:26 | |
*** lizardo has joined #sailfishos | 10:30 | |
*** phdeswer has joined #sailfishos | 10:32 | |
*** Jarrrgh has quit IRC | 10:33 | |
*** Jarrrgh has joined #sailfishos | 10:34 | |
*** Netweaver has quit IRC | 10:38 | |
*** ITA_NicoloN900_ has joined #sailfishos | 10:42 | |
*** shadeslayer_ is now known as shadeslayer | 10:43 | |
*** Kabouik has joined #sailfishos | 10:45 | |
*** ITA_NicoloN900__ has quit IRC | 10:45 | |
*** ericcc has joined #sailfishos | 10:49 | |
*** Netweaver has joined #sailfishos | 10:50 | |
*** niqt has quit IRC | 10:52 | |
*** piee has quit IRC | 10:55 | |
*** ericcc has quit IRC | 10:56 | |
*** Netweaver has quit IRC | 10:58 | |
*** niqt has joined #sailfishos | 11:00 | |
*** ITA_NicoloN900_ has quit IRC | 11:02 | |
*** ITA_NicoloN900_ has joined #sailfishos | 11:02 | |
*** piee has joined #sailfishos | 11:04 | |
*** ericcc has joined #sailfishos | 11:04 | |
*** ITA_NicoloN900_ has quit IRC | 11:04 | |
*** ITA_NicoloN900_ has joined #sailfishos | 11:06 | |
*** DarkSim has quit IRC | 11:07 | |
*** ericcc has quit IRC | 11:19 | |
*** exec_s has joined #sailfishos | 11:19 | |
*** ericcc has joined #sailfishos | 11:20 | |
*** sababa has quit IRC | 11:22 | |
*** sababa has joined #sailfishos | 11:28 | |
*** gabriel9|work has joined #sailfishos | 11:29 | |
*** gabriel9_ has quit IRC | 11:32 | |
*** faenil has quit IRC | 11:34 | |
*** jpetrell has quit IRC | 11:38 | |
*** Soru_ has quit IRC | 11:42 | |
*** mikhas has joined #sailfishos | 11:43 | |
*** Soru has joined #sailfishos | 11:45 | |
*** fk_lx has joined #sailfishos | 11:53 | |
*** rcg has quit IRC | 12:04 | |
*** b0bben has joined #sailfishos | 12:05 | |
ericcc | nice day | 12:12 |
*** tanghus has quit IRC | 12:13 | |
*** tanghus has joined #sailfishos | 12:18 | |
*** saildev has joined #sailfishos | 12:19 | |
saildev | Hi all, again.. :) | 12:20 |
saildev | I'm having this one problem when getting data from XML file using XmlListModel. | 12:20 |
*** DarkSim has joined #sailfishos | 12:21 | |
saildev | Am I able toget only the first item of the tree if it holds more than just one <object> inside it? You can take a look at this example file: https://www.dropbox.com/s/gy93uiiamyzo4ty/XmlListModel.txt. | 12:21 |
saildev | I'm trying to get only the first image. If I only call "model.image" it gives me an error "Unable to assign [undefined] to QUrl". | 12:23 |
saildev | I've also tried "model.get(0).image" but I assume it works only if I want to get the first delegate item of my SilicaListView component - at least it did not do the job at all. | 12:24 |
*** mikhas has quit IRC | 12:24 | |
*** Kabouik has quit IRC | 12:24 | |
saildev | Could anyone help? | 12:25 |
*** tabasko has joined #sailfishos | 12:26 | |
*** Soru has quit IRC | 12:26 | |
ericcc | <second> the same name? | 12:27 |
ericcc | can you chang the other name for the next second delegate | 12:27 |
saildev | No I can not. I get the data from other source so it's not possible. | 12:28 |
saildev | Is it possible to get all those <image> objects to an array or variant? | 12:29 |
saildev | So I could get the first object from there.. | 12:29 |
*** b0bben has quit IRC | 12:30 | |
saildev | Basically if there would be only one object named <image> in each <second> path then I would get it right, of course. But now it has more than just one <image> and I only need one of them because otherwise it won't work and it gives me an error "Unable to assign [undefined] to QUrl". | 12:31 |
*** zhxt has joined #sailfishos | 12:31 | |
saildev | And I know my XmlListModel or SilicaListView are completely fine because I've tested it with another XML source. / https://www.dropbox.com/s/gdzrr5wti1ygsgq/XmlListModel_02.txt | 12:32 |
*** Kabouik has joined #sailfishos | 12:33 | |
*** Finleida has joined #sailfishos | 12:33 | |
ericcc | you can check the qurl for document | 12:33 |
saildev | Haven't found any answers that would help me. | 12:35 |
ericcc | wait somebody maybe they can help you. | 12:38 |
ericcc | where are you from | 12:38 |
saildev | Finland. | 12:38 |
*** faenil has joined #sailfishos | 12:39 | |
ericcc | lunch time? | 12:39 |
*** piee has quit IRC | 12:40 | |
saildev | You mean do I have a lunch time? | 12:40 |
*** triggerhappy has quit IRC | 12:40 | |
tabasko | Im wondering if something is wrong with silica Searchfield example, can get it to work: | 12:40 |
tabasko | http://pastebin.com/dCVfKeTv | 12:41 |
saildev | tabasko: Replace "PageHeader { ... }" with "header: SearchField { ... }". | 12:42 |
*** triggerhappy has joined #sailfishos | 12:42 | |
*** piee has joined #sailfishos | 12:44 | |
saildev | tabasko: https://www.dropbox.com/s/e807ku8kpspp0ub/tabasko.txt | 12:45 |
saildev | tabasko: Check this one, it should be correct now. | 12:45 |
ericcc | nice | 12:47 |
*** ericcc has quit IRC | 12:49 | |
saildev | tabasko: Actually I made a mistake. Now it should be fixed. | 12:49 |
*** VDVsx has quit IRC | 12:50 | |
*** VDVsx has joined #sailfishos | 12:51 | |
tabasko | saildev: thanks! | 12:51 |
saildev | tabasko: No problem. :) | 12:52 |
tabasko | its still complaining about header tought, qtcreator hilights it and says: Cannot assign to non-existent property "header" | 12:52 |
saildev | tabasko: Ah, still my bad. :) "header:" can only be used with SilicaListView, not with SilicaFlickable. | 12:53 |
tabasko | oh, let me try that :) | 12:54 |
tabasko | that fixed header problem. But now Im back at original ListElement: cannot contain nested elements | 12:56 |
*** Dudalus has quit IRC | 12:57 | |
*** ericcc has joined #sailfishos | 12:57 | |
tabasko | from Silicalistview example, they seem to build model with listelements, not listitems like in searchfield example | 12:58 |
saildev | Exactly. | 13:00 |
*** b0bben has joined #sailfishos | 13:03 | |
*** jukkaeklund_ has quit IRC | 13:04 | |
*** zhxt has quit IRC | 13:05 | |
*** Riksha_ has joined #sailfishos | 13:07 | |
*** otep_ has joined #sailfishos | 13:09 | |
*** otep has quit IRC | 13:10 | |
*** f3an0r has quit IRC | 13:20 | |
*** ericcc has quit IRC | 13:22 | |
*** ericcc has joined #sailfishos | 13:23 | |
*** Soru has joined #sailfishos | 13:24 | |
*** ITA_NicoloN900__ has joined #sailfishos | 13:24 | |
*** ITA_NicoloN900_ has quit IRC | 13:24 | |
artemma | @saildev: can you try fetching second using XmlRole? | 13:25 |
artemma | maybe then it returns a variant holding all the images inside | 13:26 |
artemma | saildev: also ppl suggest more advanced queries for the similar situation at http://stackoverflow.com/questions/5092521/how-to-return-array-with-xpath | 13:27 |
artemma | e.g. /*/*/text()[1] | 13:28 |
artemma | maybe in your case /string()[1] will work | 13:28 |
*** otep has joined #sailfishos | 13:28 | |
*** otep_ has quit IRC | 13:29 | |
*** Pat_o has joined #sailfishos | 13:30 | |
*** ericcc has quit IRC | 13:32 | |
*** ITA_NicoloN900__ has quit IRC | 13:34 | |
*** itbaron has joined #sailfishos | 13:34 | |
*** ericcc has joined #sailfishos | 13:40 | |
saildev | artemma: Thanks, I will give this a shot! | 13:44 |
*** zsombi has quit IRC | 13:44 | |
saildev | artemma: Unfortunately this did not work. Gives me the same error and if I try "console.log(model.image)" it returns "undefined". | 13:47 |
*** ericcc has quit IRC | 13:52 | |
artemma | saildev: sorry, then | 13:57 |
*** VDVsx has quit IRC | 13:57 | |
artemma | I think there is a solution via a clever XPath query, but I only used it for simple cases | 13:58 |
artemma | if nothing else works, here's something that will help for sure, may or may not make sense to you though | 13:58 |
artemma | In the past I had situation where I wanted to covert and cache XML before processing in app. | 13:59 |
artemma | Basically european central bank currency rates - I did not want app to depend directly on the bank's rss format + I did not want all the app instances hit the bank servers + their format was not exactly cool for my XmlListModel | 14:00 |
artemma | so I created a real primitive python script running on a free Google App Engine tier | 14:00 |
artemma | It fetches rates few times a day and converts them to the format fine for the application + sends me mails and chat messages if something fails | 14:01 |
artemma | works as a breeze for the last couple of years | 14:01 |
artemma | if your XML comes from external source you might like preprocessing it as well | 14:01 |
artemma | … and right after I wrote it I realized that you can preprocess XML in the app too, you don't have to have a stand-alone server for it | 14:02 |
saildev | Hmm, okay. Well that didn't make any sense to me, to be honest. :D | 14:19 |
saildev | But I think if I can find another way to deal with this and if anything fails than I try to catch from this method and work with it. | 14:20 |
*** b0bben_ has joined #sailfishos | 14:24 | |
*** b0bben has quit IRC | 14:25 | |
*** b0bben_ is now known as b0bben | 14:25 | |
*** louisdk has joined #sailfishos | 14:30 | |
*** gabriel9 has joined #sailfishos | 14:34 | |
*** gabriel9|work has quit IRC | 14:35 | |
*** VDVsx has joined #sailfishos | 14:37 | |
*** piee has quit IRC | 15:04 | |
*** Nicd- has quit IRC | 15:08 | |
*** Nicd- has joined #sailfishos | 15:08 | |
*** Morpog_PC has joined #sailfishos | 15:10 | |
*** Morpog_N9_ has joined #sailfishos | 15:11 | |
*** RoKenn has quit IRC | 15:11 | |
*** piee has joined #sailfishos | 15:12 | |
*** Morpog_N9 has quit IRC | 15:14 | |
*** niqt has quit IRC | 15:16 | |
saildev | Ah, if somebody was listening my problem earlier today about the XmlListModel element, here's the solution: | 15:21 |
saildev | If you have a situation like this: https://www.dropbox.com/s/gy93uiiamyzo4ty/XmlListModel.txt you can't use "/first/second/image/string()" as a query for XmlRole. It will give you an error. | 15:22 |
*** gabriel9 has quit IRC | 15:23 | |
saildev | As artemma told to use "/first/second/image/string()[1]" it did not work either - BUT if you modify it a little bit and use "/first/second/image[1]/string()" it will work like a char. So that '[1]' was just in a wrong place. :) | 15:23 |
artemma | saildev: cool, that it works! :) | 15:24 |
artemma | I don't really know XPath syntax, just copy-pasted from a stack overflow discussion I googled :) | 15:24 |
*** Kabouik has quit IRC | 15:24 | |
saildev | artemma: Yes, thanks to you for giving the link! I was trying to access it from inside the SilicaListView element e.g. model.image[1] but it turned out that it must be clarified inside the XmlListModel element. :) | 15:25 |
saildev | But I couldn't even find that one when I tried to search. :D | 15:25 |
*** Soru has quit IRC | 15:27 | |
*** Soru has joined #sailfishos | 15:31 | |
*** b0bben has quit IRC | 15:31 | |
*** exec_s has quit IRC | 15:35 | |
*** Soru has quit IRC | 15:37 | |
piee | study xpath from w3cschool | 15:39 |
*** Xruxa has quit IRC | 15:41 | |
*** Soru_ has joined #sailfishos | 15:47 | |
*** saildev has quit IRC | 15:47 | |
*** b0bben has joined #sailfishos | 15:48 | |
*** artemma has quit IRC | 15:50 | |
*** zhost has joined #sailfishos | 15:53 | |
*** artemma has joined #sailfishos | 15:53 | |
*** b0bben has quit IRC | 15:55 | |
*** nsuffys has quit IRC | 15:57 | |
*** nsuffys has joined #sailfishos | 15:57 | |
*** jjanvier has quit IRC | 16:04 | |
*** artemma has quit IRC | 16:04 | |
*** martyone_ has quit IRC | 16:25 | |
*** jjanvier has joined #sailfishos | 16:33 | |
*** triggerhappy has quit IRC | 16:47 | |
simanaama | can i somehow disable the closing of silica DockedPanel when it is dragged towards the edge it expanded? | 16:47 |
*** piggz has joined #sailfishos | 16:48 | |
simanaama | What I would like to achieve is that I have an element (like DockedPanel) that appears from an edge of the screen and stays visible until some condition is reached. But I would like to prevent the user interaction that might cause the panel to disappear before it should.. | 16:50 |
*** SeekingFor has quit IRC | 16:51 | |
*** SeekingFor has joined #sailfishos | 16:52 | |
*** rcg has joined #sailfishos | 16:55 | |
*** sababa has quit IRC | 16:59 | |
*** piee has quit IRC | 17:05 | |
*** sababa has joined #sailfishos | 17:05 | |
*** piggz has quit IRC | 17:06 | |
*** piee has joined #sailfishos | 17:12 | |
*** piggz has joined #sailfishos | 17:17 | |
*** Pat_o has quit IRC | 17:20 | |
*** gabriel9 has joined #sailfishos | 17:29 | |
*** Pat_o has joined #sailfishos | 17:33 | |
rcg | hmm, i installed a dependency in the sailfish sdk vm but it's not being used | 17:34 |
rcg | it seems like it builds locally and not in the vm | 17:34 |
rcg | using /home/rc/.config/SailfishAlpha/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake | 17:34 |
*** jmlich has quit IRC | 17:36 | |
*** Pat_o has quit IRC | 17:39 | |
Yaniel | rcg: wrong target? | 17:48 |
Yaniel | I seem to have the desktop target selected by default | 17:48 |
*** piggz has quit IRC | 17:49 | |
*** piggz has joined #sailfishos | 17:50 | |
*** b0bben has joined #sailfishos | 17:51 | |
rcg | Yaniel, nope, target says "MerSDK-SailfishOS-i486-x86" | 17:52 |
Yaniel | hmm | 17:52 |
rcg | sdk vm is up and is shown as up. interstingly, the sailfish tab says it's offline | 17:53 |
rcg | i.e. the sdk vm launch button shows the stop symbol whereas the sailfish tab suggests the vm is offline | 17:53 |
Yaniel | press it? | 17:53 |
rcg | then it stops the vm | 17:54 |
rcg | already did this and restarted | 17:54 |
Yaniel | umh | 17:54 |
Yaniel | weird | 17:54 |
rcg | yeah | 17:54 |
rcg | hmm, it seems to do something on the vm | 17:55 |
rcg | using top on the vm and rebuilding shows the according processes | 17:55 |
rcg | then i don't know why it's not picking up the includes.. i can see the matching -I line in the compile output | 17:56 |
*** simbrown has quit IRC | 17:56 | |
rcg | and the path exists and has the required files | 17:56 |
*** b0bben has quit IRC | 17:56 | |
rcg | ah | 17:57 |
*** simbrown has joined #sailfishos | 17:57 | |
rcg | /host_targets/SailfishOS-i486-x86/usr <-- that's where all the build stuff inside the vm is located | 17:58 |
rcg | ls /usr/include/ that's where it installed my stuff | 17:58 |
*** RoKenn has joined #sailfishos | 18:00 | |
rcg | so my first assumption was wrong, the build vm is running and it executes the build on the vm | 18:00 |
rcg | it seems the installation of my additional deps didn't put them in the appropriate directory | 18:01 |
*** piggz has quit IRC | 18:09 | |
rcg | hmm nope, that doesn't seem to be the reason neither | 18:15 |
merlin1991 | rcg the build vm runs a scratchbox target | 18:15 |
merlin1991 | you have to install your depends inside there | 18:16 |
rcg | merlin1991, ah, how would i do that? | 18:16 |
merlin1991 | the build vm itself is just a host for scratchbox | 18:16 |
merlin1991 | I didn't play with that, but people in here should know | 18:16 |
merlin1991 | is the dependency in the repos? | 18:17 |
merlin1991 | then you should be able to ssh in, go into scratchbox and zypper in there | 18:17 |
*** Pat_o has joined #sailfishos | 18:18 | |
*** spider-mario has joined #sailfishos | 18:19 | |
*** louisdk has quit IRC | 18:21 | |
rcg | ah, i think i found it | 18:21 |
rcg | checking | 18:21 |
*** piggz has joined #sailfishos | 18:24 | |
rcg | alright, got it :) | 18:25 |
rcg | 1. log in to sdk vm as mersdk | 18:26 |
rcg | then sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ar -G <repo-url> my-repo | 18:26 |
rcg | sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ref my-repo | 18:26 |
rcg | sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper in my-dependency | 18:26 |
rcg | thanks for the help guys :) | 18:27 |
*** Pali has joined #sailfishos | 18:27 | |
*** Eismann has joined #sailfishos | 18:27 | |
*** msvb-lab has joined #sailfishos | 18:35 | |
*** lbt has quit IRC | 18:36 | |
*** lbt has joined #sailfishos | 18:36 | |
*** r3d has quit IRC | 18:36 | |
*** r3d has joined #sailfishos | 18:37 | |
*** Kabouik has joined #sailfishos | 18:37 | |
rcg | yep, sweet, that did it, thanks again merlin1991 Yaniel | 18:39 |
*** spider-mario has quit IRC | 18:42 | |
*** r3d has quit IRC | 18:42 | |
*** spider-mario has joined #sailfishos | 18:42 | |
*** r3d has joined #sailfishos | 18:42 | |
*** artemma has joined #sailfishos | 18:43 | |
*** lbt has quit IRC | 18:44 | |
*** msvb-lab has quit IRC | 18:45 | |
*** lbt has joined #sailfishos | 18:45 | |
*** r3d has quit IRC | 18:46 | |
*** r3d has joined #sailfishos | 18:48 | |
*** lbt has quit IRC | 18:49 | |
*** lbt has joined #sailfishos | 18:50 | |
*** Finleida has quit IRC | 18:50 | |
*** gabriel9 has quit IRC | 18:51 | |
*** gabriel9 has joined #sailfishos | 18:52 | |
*** lbt has quit IRC | 18:54 | |
*** lbt has joined #sailfishos | 18:54 | |
*** r3d has quit IRC | 18:57 | |
*** r3d has joined #sailfishos | 18:57 | |
*** spider-mario has quit IRC | 18:57 | |
*** spider-mario has joined #sailfishos | 18:58 | |
*** b0bben has joined #sailfishos | 19:00 | |
artemma | yaml file does not support multiple packages, does it? | 19:01 |
artemma | trying to make final decision whether to scrap .yaml file completely (and focus on .spec only) o rnot | 19:02 |
*** piee has quit IRC | 19:04 | |
*** furikku has quit IRC | 19:08 | |
rcg | artemma, afaik .yaml does support multiple packages | 19:09 |
artemma | rcg: thx | 19:10 |
rcg | https://build.merproject.org/package/view_file?file=kdelibs.yaml&package=kdelibs&project=kde%3Astable%3Aux&rev=58df214a7c6b789f43f5c52896ada63b | 19:10 |
rcg | well, that's via subpackages | 19:11 |
rcg | if that's what you need | 19:11 |
rcg | artemma, ^ | 19:11 |
artemma | probably, not sure I understand the difference between packages and subpackages | 19:11 |
*** piee has joined #sailfishos | 19:12 | |
artemma | I want to have subdirs project with the app and its test. Going to two different packages: myapp and myapp-tests | 19:12 |
artemma | Sounds like subpackages? | 19:12 |
rcg | i think that sounds like subpackages | 19:12 |
rcg | yep :) | 19:12 |
*** master_of_master has joined #sailfishos | 19:12 | |
artemma | so that to app store I would submit only my app.pkg, while during development I'd deploy both | 19:13 |
artemma | looking at the example you've sent.. | 19:13 |
rcg | https://github.com/nemomobile-packages/messagingframework/blob/master/rpm/qmf.spec | 19:14 |
rcg | artemma, ^ that's a .spec only example of something that includes a test package | 19:14 |
artemma | So there is no "main package" kdelibs generated, but only packages kdelibs-libkdeclarative , kdelibs-kdoctools, etc? | 19:14 |
rcg | don't know if that can be modeled via .yaml though | 19:14 |
rcg | yep, that's my understanding of that thing | 19:15 |
artemma | oh, .spec file way I overcame yesterday after quite some searing and kind help here and at #nemomobile :) | 19:15 |
rcg | hehe, ic :) | 19:15 |
artemma | now I am not sure why yaml file exists at all | 19:15 |
rcg | well, maybe give the .yaml a try and see what specify makes of it? | 19:15 |
artemma | oh well, it's simpler and apparently is supposed to generate .spec during build time | 19:16 |
rcg | .yaml is another convenience thing | 19:16 |
artemma | but what's the status of it in sailfish and future perspectives | 19:16 |
*** master_o1_master has quit IRC | 19:16 | |
rcg | yep, the idea is that you try to do as much via .yaml and then generate the .spec from it | 19:16 |
lbt | you can do sub-packages only via yaml | 19:16 |
rcg | hmm, just been working on two sailfish apps and both seemed to require .yaml and .spec | 19:17 |
artemma | so far the only opinions I managed to notice on IRC is to scrap the whole yaml after initial generation as .yaml too limiting | 19:17 |
artemma | *Require* both .yaml and .spec?? | 19:17 |
artemma | that I don't understand :/ | 19:17 |
rcg | artemma, you can tweak the .spec in a way such that your changes are not overwritten by re-generation from .yaml | 19:17 |
lbt | yaml is mainly an aid for getting started and people who can't be bothered with spec files | 19:17 |
artemma | why if both are about same stuff and in ideal case even identical | 19:17 |
lbt | (like me) | 19:17 |
*** master_o1_master has joined #sailfishos | 19:17 | |
rcg | artemma, well it may be that i misunderstood something ;) | 19:17 |
lbt | yaml has less repetition, handles boilerplate and does validation | 19:18 |
rcg | in the simplest case the .spec is just generated from the .yaml | 19:18 |
*** master_of_master has quit IRC | 19:18 | |
artemma | Sailfish .spec tells "Do NOT Edit the Auto-generated Part", but gives zero hints on where this auto-generated part is :) | 19:18 |
rcg | in more advanced cases, you have additional tweaks in your .spec that you can't do with .yaml only | 19:18 |
rcg | artemma, you can use the << >> parts for adding your stuff | 19:18 |
*** gabriel9 has quit IRC | 19:19 | |
artemma | ah, that's what they are for.. | 19:19 |
rcg | everything between # >> foo and # << foo will not be touched by generation from .yaml | 19:19 |
artemma | okay.. I give it a try | 19:19 |
lbt | specify NoFiles: true to disable the main package btw | 19:19 |
lbt | https://wiki.merproject.org/wiki/Spectacle | 19:20 |
artemma | do I get it correctly that in the idea case I can just erase .spec and not check it in to repos? | 19:20 |
artemma | in the ideal* case | 19:20 |
rcg | lbt, are there actually use cases where one would want two "primary" (i.e., non sub) packages in one .spec? | 19:20 |
artemma | so that it's auto generated during build | 19:20 |
lbt | rcg: I'm sure there could be :) | 19:20 |
rcg | artemma, that would be the ideal, yes | 19:20 |
artemma | well, I would love to have wikipedia.pkg and wikipedia-tests.pkg | 19:20 |
lbt | rcg: app making app-server and app-client | 19:21 |
artemma | the first one looks like primary | 19:21 |
rcg | artemma, i think that's a use case for sub-packages via .yaml | 19:21 |
rcg | yup | 19:21 |
*** jstaniek has joined #sailfishos | 19:21 | |
rcg | lbt, i see, sounds reasonable | 19:21 |
lbt | subpackages are usually for -devel and lib | 19:21 |
artemma | Then until I do want two main packages I should be fine with just yaml | 19:22 |
artemma | okay, giving it a try | 19:22 |
lbt | but also -tools, -extra, -data | 19:22 |
rcg | from my experience, .yaml is much easier | 19:22 |
lbt | artemma: yaml doesn't prevent that :) | 19:22 |
rcg | then tweaking .spec can always be done later and is much more convenient | 19:22 |
lbt | rcg: and tweaks are not lost (if they're in the <<>>) | 19:23 |
rcg | lbt, yep :) | 19:23 |
artemma | in or out of << ? | 19:23 |
rcg | artemma, and then, if you got the .spec in the right way you can always re-generate, e.g., to update version info or add new deps and keep your changes in .spec | 19:23 |
*** M4rtinK has joined #sailfishos | 19:23 | |
artemma | which part is auto? :) | 19:23 |
lbt | artemma: it's obvious when you edit :) | 19:23 |
lbt | the empty bits... | 19:23 |
*** Zotan has joined #sailfishos | 19:24 | |
lbt | artemma: what is annoying is that there are 'optional' <<>> sections which are maintained if you create them but not there by default | 19:24 |
lbt | at some point we may extend the yaml to support editing those and turning them on/off | 19:25 |
rcg | artemma, yeah, as lbt says, you'll see it. by default those lines are just next to each other | 19:25 |
rcg | lbt, cool :) | 19:25 |
* artemma coding that | 19:25 | |
rcg | brb | 19:25 |
rcg | dog needs to go out | 19:25 |
lbt | :) | 19:25 |
*** Zotan has quit IRC | 19:28 | |
*** Zotan has joined #sailfishos | 19:28 | |
*** Eztran has joined #sailfishos | 19:28 | |
*** rashm2k has joined #sailfishos | 19:33 | |
*** exec_s has joined #sailfishos | 19:34 | |
*** itbaron has quit IRC | 19:35 | |
*** faenil_ has joined #sailfishos | 19:36 | |
*** faenil has quit IRC | 19:37 | |
*** Morpog_Mobile_ has joined #sailfishos | 19:45 | |
*** Morpog_Mobile has quit IRC | 19:45 | |
rcg | re | 19:48 |
*** b0bben has quit IRC | 19:49 | |
artemma | What is AsWholeName in .yaml? | 19:55 |
artemma | never mind, found it | 19:58 |
artemma | What would be a good "Group:" value for my app in .yaml (and in package description?)? | 20:02 |
artemma | App Wizard produces "Qt/Qt", but my app isn't really a part of Qt me thinks | 20:02 |
*** faenil_ has quit IRC | 20:03 | |
*** faenil_ has joined #sailfishos | 20:04 | |
*** faenil has joined #sailfishos | 20:04 | |
*** freedomrun has quit IRC | 20:07 | |
artemma | Build process chokes without .spec file, so apparently it is needed even if you don't want to touch it | 20:15 |
artemma | smells like not so good build process to me | 20:15 |
*** nsuffys has quit IRC | 20:16 | |
lbt | :) | 20:17 |
lbt | artemma: Group is a useless value IMHO ... it used to mean something 10yrs ago | 20:19 |
artemma | lbt: I thought it's used to categorize packages in repo clients somehow | 20:19 |
artemma | but I am not a *nix person at all, so can only guess | 20:19 |
lbt | yeah - but that's only useful with a suitable UI - and as we learned in maemo that was a hard problem | 20:20 |
rcg | artemma, i wouldn't worry too much about having the re-generate the .spec file after changing the .yaml. maybe this can even be automated | 20:21 |
lbt | it is automated | 20:21 |
rcg | *having to | 20:21 |
rcg | ah :) | 20:21 |
artemma | rcg: it is automated, I am fine | 20:22 |
rcg | great :) | 20:22 |
rcg | then i misread :) | 20:22 |
artemma | just don't like the idea of half-generated file that you are not supposed to touch unless I really need to | 20:22 |
lbt | https://github.com/mer-tools/sdk-setup/blob/master/src/mb2#L341 | 20:22 |
artemma | and what I particularly don't like is that every build or almost every build does modify the .spec file! | 20:22 |
artemma | Reorders the lines without any semantic change! | 20:23 |
lbt | ? | 20:23 |
artemma | that means I have to be more careful with doing git commits | 20:23 |
artemma | can't just "add everything that changed" | 20:23 |
lbt | the spec file is deterministic for a yaml file | 20:24 |
artemma | or was it yaml file that was always touched | 20:24 |
lbt | we use git on them all the time | 20:24 |
lbt | yaml should only be touched if you change the actual files you deploy | 20:24 |
artemma | I'll try keeping an eye on what's changed all the time | 20:24 |
artemma | will share here then | 20:24 |
lbt | ty - it shouldn't be a problem :) | 20:25 |
*** thp_ has quit IRC | 20:31 | |
*** Pat_o has quit IRC | 20:36 | |
artemma | nope, .spec generator does not seem to support subpackages in .yaml | 20:36 |
*** Pat_o has joined #sailfishos | 20:37 | |
artemma | or I misunderstand something | 20:37 |
artemma | could somebody have a look at my .yaml - http://pastebin.com/nWvftR7q | 20:38 |
artemma | no obvious problems there? | 20:38 |
artemma | arrgh.. no creator was overwriting .yaml apparently | 20:38 |
artemma | so I try again | 20:38 |
artemma | no, still doesn't work - here's proper (I think) .yaml syntax http://pastebin.com/QABpWfXh | 20:40 |
artemma | should generate package sailfish-app-with-qml-test.rpm (from SubPackages) , but generates sailfish-app-with-qml-test-whole-not-a-deployable-package.rpm | 20:41 |
artemma | and .spec file indeed requires whole thing. So apparently either Spectacle is failing or I fail to use correct enough syntax for Spectacle to use | 20:42 |
*** thp_ has joined #sailfishos | 20:44 | |
*** thp__ has joined #sailfishos | 20:46 | |
*** thp__ has quit IRC | 20:46 | |
*** thp_ has quit IRC | 20:46 | |
*** Pat_o has quit IRC | 20:47 | |
*** thp_ has joined #sailfishos | 20:47 | |
*** thp_ is now known as thp | 20:48 | |
*** thp has quit IRC | 20:48 | |
*** thp has joined #sailfishos | 20:48 | |
*** lizardo has quit IRC | 20:54 | |
*** jjanvier has quit IRC | 21:00 | |
*** mjones_ has quit IRC | 21:05 | |
*** piee has quit IRC | 21:06 | |
*** jjanvier has joined #sailfishos | 21:08 | |
*** piee has joined #sailfishos | 21:13 | |
*** spider-mario has quit IRC | 21:13 | |
*** piggz has quit IRC | 21:13 | |
*** zhost has quit IRC | 21:20 | |
*** Zotan has quit IRC | 21:23 | |
*** Zotan has joined #sailfishos | 21:24 | |
*** piggz has joined #sailfishos | 21:27 | |
*** jjarven has quit IRC | 21:29 | |
*** Zotan has quit IRC | 21:30 | |
*** Zotan has joined #sailfishos | 21:31 | |
*** Zotan has quit IRC | 21:34 | |
*** Zotan has joined #sailfishos | 21:34 | |
*** Zotan has quit IRC | 21:36 | |
*** Zotan has joined #sailfishos | 21:37 | |
*** mjones_ has joined #sailfishos | 21:37 | |
*** cxl000 has quit IRC | 21:38 | |
*** cxl000 has joined #sailfishos | 21:40 | |
*** jjarven has joined #sailfishos | 21:44 | |
*** piee has quit IRC | 21:48 | |
*** piee has joined #sailfishos | 21:49 | |
*** cxl000 has quit IRC | 21:57 | |
*** Zotan has quit IRC | 21:57 | |
*** piggz has quit IRC | 21:59 | |
*** piggz has joined #sailfishos | 21:59 | |
*** piggz has quit IRC | 22:04 | |
*** jstaniek has quit IRC | 22:09 | |
*** DarkSim has quit IRC | 22:13 | |
*** fk_lx has quit IRC | 22:14 | |
*** fk_lx has joined #sailfishos | 22:16 | |
*** piee has quit IRC | 22:16 | |
*** piee has joined #sailfishos | 22:17 | |
*** rcg has quit IRC | 22:18 | |
*** RoKenn has quit IRC | 22:19 | |
*** RoKenn has joined #sailfishos | 22:19 | |
*** RoKenn has quit IRC | 22:21 | |
artemma | trying to figure when app graphics is actually rendered - to run tests so that UI changes would be visible | 22:29 |
artemma | if I just wait for ApplicationWindow's applicationActive, everything works (UI already created), but nothing is visible unless I wait for some 100ms more :) | 22:30 |
artemma | so which event.peroperty to monitor to figure when render actually happens? | 22:30 |
*** Blizzz has quit IRC | 22:31 | |
*** piee has quit IRC | 22:47 | |
*** piee has joined #sailfishos | 22:54 | |
*** piee has quit IRC | 23:08 | |
*** thp has quit IRC | 23:11 | |
*** Pali has quit IRC | 23:12 | |
*** a_meteor has joined #sailfishos | 23:13 | |
*** TW1920 has quit IRC | 23:18 | |
*** TW1920 has joined #sailfishos | 23:20 | |
*** thp has joined #sailfishos | 23:21 | |
*** artemma has quit IRC | 23:41 | |
*** rashm2k has quit IRC | 23:44 | |
*** Eztran has quit IRC | 23:53 | |
*** a_meteor has quit IRC | 23:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!