Monday, 2013-10-21

OrokuSakiseems I need this toolchain.. forgot about that android-ndk-r700:00
*** qwazix has quit IRC00:12
*** qwazix has joined #sailfishos00:17
*** qwazix has joined #sailfishos00:17
*** Kabouik has quit IRC00:19
*** a_meteor has quit IRC00:54
*** exec_s has joined #sailfishos01:10
OrokuSakiInitramfs needed some adjustments01:24
OrokuSakiReached Target Graphical Interface01:25
OrokuSakirmnet_ioctl called for unsupported cmd 3558501:25
OrokuSaki@Stskeeps ever seen that before? Just curious...01:26
*** freedomrun has quit IRC01:30
*** krabador has quit IRC01:35
*** Heis_ has joined #sailfishos01:35
OrokuSaki@Stskeeps... kernel change maybe? tenderloin_meego_defconfig? I noticed it is named mer now01:37
OrokuSakiplasma active 2 would be fun to see =)01:38
*** triggerhappy has quit IRC01:38
*** Heis has quit IRC01:40
*** triggerhappy has joined #sailfishos01:40
*** Morpog_Mobile has quit IRC01:41
*** freedomrun has joined #sailfishos01:44
*** mjones_ has quit IRC02:02
*** mjones_ has joined #sailfishos02:02
*** OrokuSaki has quit IRC02:03
*** Morpog_Mobile has joined #sailfishos02:34
*** master_o1_master has joined #sailfishos02:39
*** master_of_master has quit IRC02:43
*** piee has joined #sailfishos03:15
*** Merbot has joined #sailfishos03:23
*** Merbot` has quit IRC03:23
*** _Razor_ has quit IRC03:24
*** _Razor_ has joined #sailfishos03:25
*** Aard has quit IRC03:25
*** diegoyam has quit IRC03:25
*** diegoyam has joined #sailfishos03:25
*** Aard has joined #sailfishos03:26
*** piee has quit IRC03:35
*** simathur has joined #sailfishos03:43
*** piee has joined #sailfishos03:52
*** piee has quit IRC04:01
*** furikku has joined #sailfishos04:09
*** VDVsx has joined #sailfishos04:11
*** piee has joined #sailfishos04:21
*** exec_s has quit IRC04:33
*** piee has quit IRC04:34
*** piee has joined #sailfishos04:51
*** Heis_ has quit IRC05:00
*** Heis has joined #sailfishos05:00
*** Soru has quit IRC05:07
*** piee has quit IRC05:28
*** Pat_o has joined #sailfishos05:31
*** Eismann has quit IRC05:41
*** Sfiet_Konstantin has joined #sailfishos05:42
*** martyone_ has joined #sailfishos05:47
*** Dudalus has joined #sailfishos05:47
*** piee has joined #sailfishos05:51
*** Morpog_PC has joined #sailfishos05:58
*** piee has quit IRC05:58
*** jukkaeklund has joined #sailfishos06:00
*** Morpog_PC has quit IRC06:03
*** freedomrun has quit IRC06:12
*** camillab has quit IRC06:12
*** soul has joined #sailfishos06:13
*** soul is now known as Guest524106:14
*** artemma has joined #sailfishos06:29
*** artemma has quit IRC06:40
*** DrIDK has quit IRC06:40
*** b0bben has joined #sailfishos06:42
*** veskuh has joined #sailfishos06:44
*** niqt has joined #sailfishos06:54
*** Guest5241 has quit IRC06:55
*** Soru_ has joined #sailfishos07:00
*** b0bben has quit IRC07:01
*** b0bben has joined #sailfishos07:03
*** Pat_o has quit IRC07:06
*** freedomrun has joined #sailfishos07:07
*** gabriel9|work has joined #sailfishos07:08
*** Sfiet_Konstantin has quit IRC07:08
*** piee has joined #sailfishos07:08
*** kjokinie has left #sailfishos07:11
*** fk_lx has joined #sailfishos07:11
*** jjanvier has joined #sailfishos07:11
*** jmlich has joined #sailfishos07:12
*** freedomrun has quit IRC07:13
*** jpetrell has joined #sailfishos07:13
*** kjokinie has joined #sailfishos07:16
*** Kabouik has joined #sailfishos07:22
*** pixraider has joined #sailfishos07:24
*** freedomrun has joined #sailfishos07:26
*** piee has quit IRC07:27
*** Blizzz has joined #sailfishos07:27
*** artemma has joined #sailfishos07:32
*** piee has joined #sailfishos07:32
*** pixraider has quit IRC07:37
*** b0bben has quit IRC07:48
*** piee has quit IRC07:51
*** b0bben has joined #sailfishos07:53
*** piee has joined #sailfishos07:57
*** b0bben has quit IRC07:59
*** zsombi has joined #sailfishos08:00
*** b0bben has joined #sailfishos08:00
*** camillab has joined #sailfishos08:01
*** he1kki has joined #sailfishos08:06
*** ericcc has joined #sailfishos08:17
*** Xruxa has joined #sailfishos08:19
*** batteryyy has joined #sailfishos08:19
*** b0bben has quit IRC08:20
*** DarkSim has joined #sailfishos08:21
*** RoKenn has joined #sailfishos08:23
*** chriadam is now known as chriadam|away08:26
*** Dudalus has quit IRC08:26
*** artemma has quit IRC08:29
*** Zotan has quit IRC08:29
*** Dudalus has joined #sailfishos08:29
*** Morpog_N9 has joined #sailfishos08:31
*** artemma has joined #sailfishos08:32
*** faenil has joined #sailfishos08:44
*** lbt has quit IRC08:44
*** lbt has joined #sailfishos08:44
*** lbt has joined #sailfishos08:44
*** freedomrun has quit IRC08:46
*** rcg has joined #sailfishos08:48
*** ericcc has quit IRC08:49
*** nsuffys has joined #sailfishos08:49
*** ericcc has joined #sailfishos08:49
*** fk_lx has left #sailfishos09:06
*** Netweaver has joined #sailfishos09:06
*** ITA_NicoloN900_ has joined #sailfishos09:10
*** ericcc has quit IRC09:11
*** simbrown has joined #sailfishos09:11
*** ITA_NicoloN900__ has joined #sailfishos09:15
*** piee has quit IRC09:15
*** f3an0r has joined #sailfishos09:16
*** ITA_NicoloN900_ has quit IRC09:17
*** batteryyy has quit IRC09:18
*** ITA_NicoloN900__ has quit IRC09:18
*** ITA_NicoloN900__ has joined #sailfishos09:22
*** Netweaver_ has joined #sailfishos09:22
*** Netweaver has quit IRC09:25
*** zsombi has quit IRC09:32
*** zsombi has joined #sailfishos09:33
*** jukkaeklund_ has joined #sailfishos09:34
*** jukkaeklund has quit IRC09:37
*** Kabouik has quit IRC09:48
*** piee has joined #sailfishos09:49
*** gabriel9 has joined #sailfishos09:53
*** ITA_NicoloN900__ has quit IRC09:54
*** Kabouik has joined #sailfishos09:54
*** ITA_NicoloN900__ has joined #sailfishos09:54
*** gabriel9_ has joined #sailfishos09:56
*** gabriel9|work has quit IRC09:56
*** gabriel9 has quit IRC09:57
*** ITA_NicoloN900__ has quit IRC09:57
*** ITA_NicoloN900__ has joined #sailfishos09:57
*** Netweaver__ has joined #sailfishos09:59
*** ITA_NicoloN900__ has quit IRC10:00
*** ITA_NicoloN900__ has joined #sailfishos10:01
*** triggerhappy has quit IRC10:02
*** freedomrun has joined #sailfishos10:02
*** Netweaver_ has quit IRC10:02
*** triggerhappy has joined #sailfishos10:03
*** DarkSim has quit IRC10:05
*** DarkSim has joined #sailfishos10:06
*** Netweaver__ has quit IRC10:07
*** Netweaver has joined #sailfishos10:11
*** simbrown has quit IRC10:11
*** phdeswer has quit IRC10:12
*** ITA_NicoloN900__ has quit IRC10:12
*** phdeswer has joined #sailfishos10:12
*** ITA_NicoloN900__ has joined #sailfishos10:13
*** simbrown has joined #sailfishos10:14
*** phdeswer has quit IRC10:17
*** ITA_NicoloN900__ has quit IRC10:25
*** ITA_NicoloN900__ has joined #sailfishos10:25
*** Kabouik has quit IRC10:26
*** lizardo has joined #sailfishos10:30
*** phdeswer has joined #sailfishos10:32
*** Jarrrgh has quit IRC10:33
*** Jarrrgh has joined #sailfishos10:34
*** Netweaver has quit IRC10:38
*** ITA_NicoloN900_ has joined #sailfishos10:42
*** shadeslayer_ is now known as shadeslayer10:43
*** Kabouik has joined #sailfishos10:45
*** ITA_NicoloN900__ has quit IRC10:45
*** ericcc has joined #sailfishos10:49
*** Netweaver has joined #sailfishos10:50
*** niqt has quit IRC10:52
*** piee has quit IRC10:55
*** ericcc has quit IRC10:56
*** Netweaver has quit IRC10:58
*** niqt has joined #sailfishos11:00
*** ITA_NicoloN900_ has quit IRC11:02
*** ITA_NicoloN900_ has joined #sailfishos11:02
*** piee has joined #sailfishos11:04
*** ericcc has joined #sailfishos11:04
*** ITA_NicoloN900_ has quit IRC11:04
*** ITA_NicoloN900_ has joined #sailfishos11:06
*** DarkSim has quit IRC11:07
*** ericcc has quit IRC11:19
*** exec_s has joined #sailfishos11:19
*** ericcc has joined #sailfishos11:20
*** sababa has quit IRC11:22
*** sababa has joined #sailfishos11:28
*** gabriel9|work has joined #sailfishos11:29
*** gabriel9_ has quit IRC11:32
*** faenil has quit IRC11:34
*** jpetrell has quit IRC11:38
*** Soru_ has quit IRC11:42
*** mikhas has joined #sailfishos11:43
*** Soru has joined #sailfishos11:45
*** fk_lx has joined #sailfishos11:53
*** rcg has quit IRC12:04
*** b0bben has joined #sailfishos12:05
ericccnice  day12:12
*** tanghus has quit IRC12:13
*** tanghus has joined #sailfishos12:18
*** saildev has joined #sailfishos12:19
saildevHi all, again.. :)12:20
saildevI'm having this one problem when getting data from XML file using XmlListModel.12:20
*** DarkSim has joined #sailfishos12:21
saildevAm 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:
saildevI'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
saildevI'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 IRC12:24
*** Kabouik has quit IRC12:24
saildevCould anyone help?12:25
*** tabasko has joined #sailfishos12:26
*** Soru has quit IRC12:26
ericcc<second>  the  same name?12:27
ericcccan you  chang the  other name  for  the next  second delegate12:27
saildevNo I can not. I get the data from other source so it's not possible.12:28
saildevIs it possible to get all those <image> objects to an array or variant?12:29
saildevSo I could get the first object from there..12:29
*** b0bben has quit IRC12:30
saildevBasically 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 #sailfishos12:31
saildevAnd I know my XmlListModel or SilicaListView are completely fine because I've tested it with another XML source. /
*** Kabouik has joined #sailfishos12:33
*** Finleida has joined #sailfishos12:33
ericccyou  can check the  qurl   for  document12:33
saildevHaven't found any answers that would help me.12:35
ericccwait somebody  maybe  they can  help you.12:38
ericccwhere  are  you  from12:38
*** faenil has joined #sailfishos12:39
ericcclunch time?12:39
*** piee has quit IRC12:40
saildevYou mean do I have a lunch time?12:40
*** triggerhappy has quit IRC12:40
tabaskoIm wondering if something is wrong with silica Searchfield example, can get it to work:12:40
saildevtabasko: Replace "PageHeader { ... }" with "header: SearchField { ... }".12:42
*** triggerhappy has joined #sailfishos12:42
*** piee has joined #sailfishos12:44
saildevtabasko: Check this one, it should be correct now.12:45
*** ericcc has quit IRC12:49
saildevtabasko: Actually I made a mistake. Now it should be fixed.12:49
*** VDVsx has quit IRC12:50
*** VDVsx has joined #sailfishos12:51
tabaskosaildev: thanks!12:51
saildevtabasko: No problem. :)12:52
tabaskoits still complaining about header tought, qtcreator hilights it and says: Cannot assign to non-existent property "header"12:52
saildevtabasko: Ah, still my bad. :) "header:" can only be used with SilicaListView, not with SilicaFlickable.12:53
tabaskooh, let me try that :)12:54
tabaskothat fixed header problem. But now Im back at original ListElement: cannot contain nested elements12:56
*** Dudalus has quit IRC12:57
*** ericcc has joined #sailfishos12:57
tabaskofrom Silicalistview example, they seem to build model with listelements, not listitems like in searchfield example12:58
*** b0bben has joined #sailfishos13:03
*** jukkaeklund_ has quit IRC13:04
*** zhxt has quit IRC13:05
*** Riksha_ has joined #sailfishos13:07
*** otep_ has joined #sailfishos13:09
*** otep has quit IRC13:10
*** f3an0r has quit IRC13:20
*** ericcc has quit IRC13:22
*** ericcc has joined #sailfishos13:23
*** Soru has joined #sailfishos13:24
*** ITA_NicoloN900__ has joined #sailfishos13:24
*** ITA_NicoloN900_ has quit IRC13:24
artemma@saildev: can you try fetching second using XmlRole?13:25
artemmamaybe then it returns a variant holding all the images inside13:26
artemmasaildev: also ppl suggest more advanced queries for the similar situation at
artemmae.g. /*/*/text()[1]13:28
artemmamaybe in your case /string()[1] will work13:28
*** otep has joined #sailfishos13:28
*** otep_ has quit IRC13:29
*** Pat_o has joined #sailfishos13:30
*** ericcc has quit IRC13:32
*** ITA_NicoloN900__ has quit IRC13:34
*** itbaron has joined #sailfishos13:34
*** ericcc has joined #sailfishos13:40
saildevartemma: Thanks, I will give this a shot!13:44
*** zsombi has quit IRC13:44
saildevartemma: 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 IRC13:52
artemmasaildev: sorry, then13:57
*** VDVsx has quit IRC13:57
artemmaI think there is a solution via a clever XPath query, but I only used it for simple cases13:58
artemmaif nothing else works, here's something that will help for sure, may or may not make sense to you though13:58
artemmaIn the past I had situation where I wanted to covert and cache XML before processing in app.13:59
artemmaBasically 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 XmlListModel14:00
artemmaso I created a real primitive python script running on a free Google App Engine tier14:00
artemmaIt fetches rates few times a day and converts them to the format fine for the application + sends me mails and chat messages if something fails14:01
artemmaworks as a breeze for the last couple of years14:01
artemmaif your XML comes from external source you might like preprocessing it as well14: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 it14:02
saildevHmm, okay. Well that didn't make any sense to me, to be honest. :D14:19
saildevBut 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 #sailfishos14:24
*** b0bben has quit IRC14:25
*** b0bben_ is now known as b0bben14:25
*** louisdk has joined #sailfishos14:30
*** gabriel9 has joined #sailfishos14:34
*** gabriel9|work has quit IRC14:35
*** VDVsx has joined #sailfishos14:37
*** piee has quit IRC15:04
*** Nicd- has quit IRC15:08
*** Nicd- has joined #sailfishos15:08
*** Morpog_PC has joined #sailfishos15:10
*** Morpog_N9_ has joined #sailfishos15:11
*** RoKenn has quit IRC15:11
*** piee has joined #sailfishos15:12
*** Morpog_N9 has quit IRC15:14
*** niqt has quit IRC15:16
saildevAh, if somebody was listening my problem earlier today about the XmlListModel element, here's the solution:15:21
saildevIf you have a situation like this: you can't use "/first/second/image/string()" as a query for XmlRole. It will give you an error.15:22
*** gabriel9 has quit IRC15:23
saildevAs 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
artemmasaildev: cool, that it works! :)15:24
artemmaI don't really know XPath syntax, just copy-pasted from a stack overflow discussion I googled :)15:24
*** Kabouik has quit IRC15:24
saildevartemma: 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
saildevBut I couldn't even find that one when I tried to search. :D15:25
*** Soru has quit IRC15:27
*** Soru has joined #sailfishos15:31
*** b0bben has quit IRC15:31
*** exec_s has quit IRC15:35
*** Soru has quit IRC15:37
pieestudy xpath from  w3cschool15:39
*** Xruxa has quit IRC15:41
*** Soru_ has joined #sailfishos15:47
*** saildev has quit IRC15:47
*** b0bben has joined #sailfishos15:48
*** artemma has quit IRC15:50
*** zhost has joined #sailfishos15:53
*** artemma has joined #sailfishos15:53
*** b0bben has quit IRC15:55
*** nsuffys has quit IRC15:57
*** nsuffys has joined #sailfishos15:57
*** jjanvier has quit IRC16:04
*** artemma has quit IRC16:04
*** martyone_ has quit IRC16:25
*** jjanvier has joined #sailfishos16:33
*** triggerhappy has quit IRC16:47
simanaamacan i somehow disable the closing of silica DockedPanel when it is dragged towards the edge it expanded?16:47
*** piggz has joined #sailfishos16:48
simanaamaWhat 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 IRC16:51
*** SeekingFor has joined #sailfishos16:52
*** rcg has joined #sailfishos16:55
*** sababa has quit IRC16:59
*** piee has quit IRC17:05
*** sababa has joined #sailfishos17:05
*** piggz has quit IRC17:06
*** piee has joined #sailfishos17:12
*** piggz has joined #sailfishos17:17
*** Pat_o has quit IRC17:20
*** gabriel9 has joined #sailfishos17:29
*** Pat_o has joined #sailfishos17:33
rcghmm, i installed a dependency in the sailfish sdk vm but it's not being used17:34
rcgit seems like it builds locally and not in the vm17:34
rcgusing /home/rc/.config/SailfishAlpha/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/qmake17:34
*** jmlich has quit IRC17:36
*** Pat_o has quit IRC17:39
Yanielrcg: wrong target?17:48
YanielI seem to have the desktop target selected by default17:48
*** piggz has quit IRC17:49
*** piggz has joined #sailfishos17:50
*** b0bben has joined #sailfishos17:51
rcgYaniel, nope, target says "MerSDK-SailfishOS-i486-x86"17:52
rcgsdk vm is up and is shown as up. interstingly, the sailfish tab says it's offline17:53
rcgi.e. the sdk vm launch button shows the stop symbol whereas the sailfish tab suggests the vm is offline17:53
Yanielpress it?17:53
rcgthen it stops the vm17:54
rcgalready did this and restarted17:54
rcghmm, it seems to do something on the vm17:55
rcgusing top on the vm and rebuilding shows the according processes17:55
rcgthen i don't know why it's not picking up the includes.. i can see the matching -I line in the compile output17:56
*** simbrown has quit IRC17:56
rcgand the path exists and has the required files17:56
*** b0bben has quit IRC17:56
*** simbrown has joined #sailfishos17:57
rcg /host_targets/SailfishOS-i486-x86/usr <-- that's where all the build stuff inside the vm is located17:58
rcg ls /usr/include/ that's where it installed my stuff17:58
*** RoKenn has joined #sailfishos18:00
rcgso my first assumption was wrong, the build vm is running and it executes the build on the vm18:00
rcgit seems the installation of my additional deps didn't put them in the appropriate directory18:01
*** piggz has quit IRC18:09
rcghmm nope, that doesn't seem to be the reason neither18:15
merlin1991rcg the build vm runs a scratchbox target18:15
merlin1991you have to install your depends inside there18:16
rcgmerlin1991, ah, how would i do that?18:16
merlin1991the build vm itself is just a host for scratchbox18:16
merlin1991I didn't play with that, but people in here should know18:16
merlin1991is the dependency in the repos?18:17
merlin1991then you should be able to ssh in, go into scratchbox and zypper in there18:17
*** Pat_o has joined #sailfishos18:18
*** spider-mario has joined #sailfishos18:19
*** louisdk has quit IRC18:21
rcgah, i think i found it18:21
*** piggz has joined #sailfishos18:24
rcgalright, got it :)18:25
rcg1. log in to sdk vm as mersdk18:26
rcgthen sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ar -G <repo-url> my-repo18:26
rcgsb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ref my-repo18:26
rcgsb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper in my-dependency18:26
rcgthanks for the help guys :)18:27
*** Pali has joined #sailfishos18:27
*** Eismann has joined #sailfishos18:27
*** msvb-lab has joined #sailfishos18:35
*** lbt has quit IRC18:36
*** lbt has joined #sailfishos18:36
*** r3d has quit IRC18:36
*** r3d has joined #sailfishos18:37
*** Kabouik has joined #sailfishos18:37
rcgyep, sweet, that did it, thanks again merlin1991 Yaniel18:39
*** spider-mario has quit IRC18:42
*** r3d has quit IRC18:42
*** spider-mario has joined #sailfishos18:42
*** r3d has joined #sailfishos18:42
*** artemma has joined #sailfishos18:43
*** lbt has quit IRC18:44
*** msvb-lab has quit IRC18:45
*** lbt has joined #sailfishos18:45
*** r3d has quit IRC18:46
*** r3d has joined #sailfishos18:48
*** lbt has quit IRC18:49
*** lbt has joined #sailfishos18:50
*** Finleida has quit IRC18:50
*** gabriel9 has quit IRC18:51
*** gabriel9 has joined #sailfishos18:52
*** lbt has quit IRC18:54
*** lbt has joined #sailfishos18:54
*** r3d has quit IRC18:57
*** r3d has joined #sailfishos18:57
*** spider-mario has quit IRC18:57
*** spider-mario has joined #sailfishos18:58
*** b0bben has joined #sailfishos19:00
artemmayaml file does not support multiple packages, does it?19:01
artemmatrying to make final decision whether to scrap .yaml file completely (and focus on .spec only) o rnot19:02
*** piee has quit IRC19:04
*** furikku has quit IRC19:08
rcgartemma, afaik .yaml does support multiple packages19:09
artemmarcg: thx19:10
rcgwell, that's via subpackages19:11
rcgif that's what you need19:11
rcgartemma, ^19:11
artemmaprobably, not sure I understand the difference between packages and subpackages19:11
*** piee has joined #sailfishos19:12
artemmaI want to have subdirs project with the app and its test. Going to two different packages: myapp and myapp-tests19:12
artemmaSounds like subpackages?19:12
rcgi think that sounds like subpackages19:12
rcgyep :)19:12
*** master_of_master has joined #sailfishos19:12
artemmaso that to app store I would submit only my app.pkg, while during development I'd deploy both19:13
artemmalooking at the example you've sent..19:13
rcgartemma, ^ that's a .spec only example of something that includes a test package19:14
artemmaSo there is no "main package" kdelibs generated, but only packages kdelibs-libkdeclarative , kdelibs-kdoctools, etc?19:14
rcgdon't know if that can be modeled via .yaml though19:14
rcgyep, that's my understanding of that thing19:15
artemmaoh, .spec file way I overcame yesterday after quite some searing and kind help here and at #nemomobile :)19:15
rcghehe, ic :)19:15
artemmanow I am not sure why yaml file exists at all19:15
rcgwell, maybe give the .yaml a try and see what specify makes of it?19:15
artemmaoh well, it's simpler and apparently is supposed to generate .spec during build time19:16
rcg.yaml is another convenience thing19:16
artemmabut what's the status of it in sailfish and future perspectives19:16
*** master_o1_master has quit IRC19:16
rcgyep, the idea is that you try to do as much via .yaml and then generate the .spec from it19:16
lbtyou can do sub-packages only via yaml19:16
rcghmm, just been working on two sailfish apps and both seemed to require .yaml and .spec19:17
artemmaso far the only opinions I managed to notice on IRC is to scrap the whole yaml after initial generation as .yaml too limiting19:17
artemma*Require* both .yaml and .spec??19:17
artemmathat I don't understand :/19:17
rcgartemma, you can tweak the .spec in a way such that your changes are not overwritten by re-generation from .yaml19:17
lbtyaml is mainly an aid for getting started and people who can't be bothered with spec files19:17
artemmawhy if both are about same stuff and in ideal case even identical19:17
lbt(like me)19:17
*** master_o1_master has joined #sailfishos19:17
rcgartemma, well it may be that i misunderstood something ;)19:17
lbtyaml has less repetition, handles boilerplate and does validation19:18
rcgin the simplest case the .spec is just generated from the .yaml19:18
*** master_of_master has quit IRC19:18
artemmaSailfish .spec tells "Do NOT Edit the Auto-generated Part", but gives zero hints on where this auto-generated part is :)19:18
rcgin more advanced cases, you have additional tweaks in your .spec that you can't do with .yaml only19:18
rcgartemma, you can use the << >> parts for adding your stuff19:18
*** gabriel9 has quit IRC19:19
artemmaah, that's what they are for..19:19
rcgeverything between # >> foo and # << foo will not be touched by generation from .yaml19:19
artemmaokay.. I give it a try19:19
lbtspecify NoFiles: true to disable the main package btw19:19
artemmado I get it correctly that in the idea case I can just erase .spec and not check it in to repos?19:20
artemmain the ideal* case19:20
rcglbt, are there actually use cases where one would want two "primary" (i.e., non sub) packages in one .spec?19:20
artemmaso that it's auto generated during build19:20
lbtrcg: I'm sure there could be :)19:20
rcgartemma, that would be the ideal, yes19:20
artemmawell, I would love to have wikipedia.pkg and wikipedia-tests.pkg19:20
lbtrcg: app making app-server and app-client19:21
artemmathe first one looks like primary19:21
rcgartemma, i think that's a use case for sub-packages via .yaml19:21
*** jstaniek has joined #sailfishos19:21
rcglbt, i see, sounds reasonable19:21
lbtsubpackages are usually for -devel and lib19:21
artemmaThen until I do want two main packages I should be fine with just yaml19:22
artemmaokay, giving it a try19:22
lbtbut also -tools, -extra, -data19:22
rcgfrom my experience, .yaml is much easier19:22
lbtartemma: yaml doesn't prevent that :)19:22
rcgthen tweaking .spec can always be done later and is much more convenient19:22
lbtrcg: and tweaks are not lost (if they're in the <<>>)19:23
rcglbt, yep :)19:23
artemmain or out of << ?19:23
rcgartemma, 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 .spec19:23
*** M4rtinK has joined #sailfishos19:23
artemmawhich part is auto? :)19:23
lbtartemma: it's obvious when you edit :)19:23
lbtthe empty bits...19:23
*** Zotan has joined #sailfishos19:24
lbtartemma: what is annoying is that there are 'optional' <<>> sections which are maintained if you create them but not there by default19:24
lbtat some point we may extend the yaml to support editing those and turning them on/off19:25
rcgartemma, yeah, as lbt says, you'll see it. by default those lines are just next to each other19:25
rcglbt, cool :)19:25
* artemma coding that19:25
rcgdog needs to go out19:25
*** Zotan has quit IRC19:28
*** Zotan has joined #sailfishos19:28
*** Eztran has joined #sailfishos19:28
*** rashm2k has joined #sailfishos19:33
*** exec_s has joined #sailfishos19:34
*** itbaron has quit IRC19:35
*** faenil_ has joined #sailfishos19:36
*** faenil has quit IRC19:37
*** Morpog_Mobile_ has joined #sailfishos19:45
*** Morpog_Mobile has quit IRC19:45
*** b0bben has quit IRC19:49
artemmaWhat is AsWholeName in .yaml?19:55
artemmanever mind, found it19:58
artemmaWhat would be a good "Group:" value for my app in .yaml (and in package description?)?20:02
artemmaApp Wizard produces "Qt/Qt", but my app isn't really a part of Qt me thinks20:02
*** faenil_ has quit IRC20:03
*** faenil_ has joined #sailfishos20:04
*** faenil has joined #sailfishos20:04
*** freedomrun has quit IRC20:07
artemmaBuild process chokes without .spec file, so apparently it is needed even if you don't want to touch it20:15
artemmasmells like not so good build process to me20:15
*** nsuffys has quit IRC20:16
lbtartemma: Group is a useless value IMHO ... it used to mean something 10yrs ago20:19
artemmalbt: I thought it's used to categorize packages in repo clients somehow20:19
artemmabut I am not a *nix person at all, so can only guess20:19
lbtyeah - but that's only useful with a suitable UI - and as we learned in maemo that was a hard problem20:20
rcgartemma, i wouldn't worry too much about having the re-generate the .spec file after changing the .yaml. maybe this can even be automated20:21
lbtit is automated20:21
rcg*having to20:21
rcgah :)20:21
artemmarcg: it is automated, I am fine20:22
rcggreat :)20:22
rcgthen i misread :)20:22
artemmajust don't like the idea of half-generated file that you are not supposed to touch unless I really need to20:22
artemmaand what I particularly don't like is that every build or almost every build does modify the .spec file!20:22
artemmaReorders the lines without any semantic change!20:23
artemmathat means I have to be more careful with doing git commits20:23
artemmacan't just "add everything that changed"20:23
lbtthe spec file is deterministic for a yaml file20:24
artemmaor was it yaml file that was always touched20:24
lbtwe use git on them all the time20:24
lbtyaml should only be touched if you change the actual files you deploy20:24
artemmaI'll try keeping an eye on what's changed all the time20:24
artemmawill share here then20:24
lbtty - it shouldn't be a problem :)20:25
*** thp_ has quit IRC20:31
*** Pat_o has quit IRC20:36
artemmanope, .spec generator does not seem to support subpackages in .yaml20:36
*** Pat_o has joined #sailfishos20:37
artemmaor I misunderstand something20:37
artemmacould somebody have a look at my .yaml -
artemmano obvious problems there?20:38
artemmaarrgh.. no creator was overwriting .yaml apparently20:38
artemmaso I try again20:38
artemmano, still doesn't work - here's proper (I think) .yaml syntax
artemmashould generate package sailfish-app-with-qml-test.rpm (from SubPackages) , but generates sailfish-app-with-qml-test-whole-not-a-deployable-package.rpm20:41
artemmaand .spec file indeed requires whole thing. So apparently either Spectacle is failing or I fail to use correct enough syntax for Spectacle to use20:42
*** thp_ has joined #sailfishos20:44
*** thp__ has joined #sailfishos20:46
*** thp__ has quit IRC20:46
*** thp_ has quit IRC20:46
*** Pat_o has quit IRC20:47
*** thp_ has joined #sailfishos20:47
*** thp_ is now known as thp20:48
*** thp has quit IRC20:48
*** thp has joined #sailfishos20:48
*** lizardo has quit IRC20:54
*** jjanvier has quit IRC21:00
*** mjones_ has quit IRC21:05
*** piee has quit IRC21:06
*** jjanvier has joined #sailfishos21:08
*** piee has joined #sailfishos21:13
*** spider-mario has quit IRC21:13
*** piggz has quit IRC21:13
*** zhost has quit IRC21:20
*** Zotan has quit IRC21:23
*** Zotan has joined #sailfishos21:24
*** piggz has joined #sailfishos21:27
*** jjarven has quit IRC21:29
*** Zotan has quit IRC21:30
*** Zotan has joined #sailfishos21:31
*** Zotan has quit IRC21:34
*** Zotan has joined #sailfishos21:34
*** Zotan has quit IRC21:36
*** Zotan has joined #sailfishos21:37
*** mjones_ has joined #sailfishos21:37
*** cxl000 has quit IRC21:38
*** cxl000 has joined #sailfishos21:40
*** jjarven has joined #sailfishos21:44
*** piee has quit IRC21:48
*** piee has joined #sailfishos21:49
*** cxl000 has quit IRC21:57
*** Zotan has quit IRC21:57
*** piggz has quit IRC21:59
*** piggz has joined #sailfishos21:59
*** piggz has quit IRC22:04
*** jstaniek has quit IRC22:09
*** DarkSim has quit IRC22:13
*** fk_lx has quit IRC22:14
*** fk_lx has joined #sailfishos22:16
*** piee has quit IRC22:16
*** piee has joined #sailfishos22:17
*** rcg has quit IRC22:18
*** RoKenn has quit IRC22:19
*** RoKenn has joined #sailfishos22:19
*** RoKenn has quit IRC22:21
artemmatrying to figure when app graphics is actually rendered - to run tests so that UI changes would be visible22:29
artemmaif 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
artemmaso which event.peroperty to monitor to figure when render actually happens?22:30
*** Blizzz has quit IRC22:31
*** piee has quit IRC22:47
*** piee has joined #sailfishos22:54
*** piee has quit IRC23:08
*** thp has quit IRC23:11
*** Pali has quit IRC23:12
*** a_meteor has joined #sailfishos23:13
*** TW1920 has quit IRC23:18
*** TW1920 has joined #sailfishos23:20
*** thp has joined #sailfishos23:21
*** artemma has quit IRC23:41
*** rashm2k has quit IRC23:44
*** Eztran has quit IRC23:53
*** a_meteor has quit IRC23:54

Generated by 2.17.1 by Marius Gedminas - find it at!