lardman | mikhas: sorry, reply from a little earlier | 00:00 |
---|---|---|
antman8969 | convo from 20 mins ago mikhas lol | 00:00 |
DocScrutinizer | I'd guess there should be a list of (kernel) functions that are actually aegified | 00:00 |
mikhas | how is exposing a C++ property to QML or a show request for certain views from the C++ side a violation of the separation? | 00:00 |
mikhas | in both cases, C++ side would exert control over UI | 00:00 |
SpeedEvil | Well - that was a bust - nothing in syslog for attempting to login to account. | 00:00 |
lardman | mikhas: That's not, though the latter is more so unless you use a signal afaiu | 00:01 |
djszapi_ | DocScrutinizer: sorry ? | 00:01 |
DocScrutinizer | djszapi_: I know how posix capabilities and geneal permisions are handled on a "normal" system. Where does a aegified system differ, regarding inheritance of these permisions from one process to another? | 00:02 |
djszapi_ | DocScrutinizer: add policy is the key here. | 00:03 |
DocScrutinizer | on a "normal" system a child always inherits the permissions of parent process. Seems for aegis this doesn't apply anymore | 00:03 |
SpeedEvil | http://www.slideshare.net/reshetov/maemo-platform-security-fosdem | 00:04 |
djszapi_ | of course not. | 00:04 |
SpeedEvil | djszapi_: Is that somewhat acccurate and useful now/ | 00:04 |
djszapi_ | SpeedEvil: quite old. | 00:04 |
*** wazd has quit IRC | 00:04 | |
*** spenap has quit IRC | 00:05 | |
SpeedEvil | Sure. Is it representative, though old, or essentially useless. | 00:05 |
DocScrutinizer | as I understand it aegis tokes are bount to fully qualified pathnames of executables? | 00:05 |
SpeedEvil | In the absence of any other docs | 00:05 |
*** willer_ has quit IRC | 00:06 | |
DocScrutinizer | bound* | 00:06 |
djszapi_ | DocScrutinizer: I cannot answer with yes/no, it is not that simple | 00:06 |
djszapi_ | sometimes, yes, sometimes not. | 00:06 |
DocScrutinizer | I didn't ask for a yes/no answer | 00:07 |
djszapi_ | SpeedEvil: I guess it is useful since it does not require too much time to go through :) | 00:07 |
DocScrutinizer | actually I guess it'd be pretty hard to find out about how aegis works by just asking questions that can get answered by yes/no | 00:08 |
djszapi_ | DocScrutinizer: the context is typically a use case when you do not specify a path which is a bit sad in my opinion and I wanna work on it to fix that up. | 00:08 |
DocScrutinizer | it will need a bit more of an explanation answer | 00:08 |
djszapi_ | it does not cause any issue (at least I cannot mention any scenario), but in theory, it is not nice that way in my opinion. | 00:09 |
*** rzr is now known as rZr | 00:09 | |
*** baraujo has quit IRC | 00:10 | |
DocScrutinizer | djszapi_: I have a hard time understanding your info bits. Could you go thru an example, let's say "user shell invokes `nano /etc/init/check_malf.conf` ", and you step by step explain when aegis kicks in and in which way? | 00:12 |
djszapi_ | ajalkane_: "But Aegis can be disabled by installing custom kernel if I've understood correctly?" -> It is not yes/no question either. :) If you turn out the user space part of aegis, the application using the user space aegis libraries will stop working of course. | 00:12 |
djszapi_ | ajalkone_: but yeah, you can do anything with a custom kernel for sure ;) | 00:13 |
djszapi_ | DocScrutinizer: you wanna understand the point, not the background aegis implementation in order to get rid of this as soon as possible. | 00:14 |
DocScrutinizer | I'd gather first thing that happens is shell tells kernel to load and execute the nano binary (simplified picture), and I wonder if aegis already kick in there and what exactly it does | 00:15 |
*** harbaum has quit IRC | 00:15 | |
DocScrutinizer | djszapi_: I don't want to get rid of anything asap | 00:16 |
DocScrutinizer | I want to understand how I can make things work under aegis | 00:16 |
SpeedEvil | djszapi_: Is there a way to make aegis dump lots of informatio to syslog, when for example apps use the secure storage. | 00:17 |
djszapi_ | It is a big improvement to let us just disable aegis ;-) | 00:17 |
DocScrutinizer | I'm not here to discuss improvements | 00:17 |
djszapi_ | SpeedEvil: you will have relevant messages, if it is an aegis issue. It is not about that aegis does not talk more about the issue category. There seems to be no aegis issue at all. | 00:18 |
*** crevetor has left #harmattan | 00:18 | |
SpeedEvil | I'm not disagreeing with that - I mean for other things. | 00:19 |
DocScrutinizer | I want to learn if it's theoretically possible to gather enough info about how aegis works to allow a developer to actually get work done despite aegis. If this includes disabling aegis for developer mode, for convenience purposes - fine. | 00:19 |
djszapi_ | DocScrutinizer: wait for the next SDK Documentation then I guess. | 00:19 |
* lcuk waves @ djszapi_ | 00:20 | |
DocScrutinizer | if it means there's proper info on getting stuff done with aegis enabled - also fine | 00:20 |
djszapi_ | SpeedEvil: Could you tell me a use case what you are interested in ? | 00:20 |
djszapi_ | DocScrutinizer: *nods* | 00:20 |
SpeedEvil | I want to see what apps are storing stuff in secure mode, and what are just using normal files. Ideally. | 00:21 |
djszapi_ | not getting the question | 00:23 |
djszapi_ | what do you mean by "secure mode" ? (if hash calculation, then everything, if integrity protected as well, that is a different matter) | 00:24 |
DocScrutinizer | for now what we got on aegis documentation is a draft of an introduction, with statements like >>When your application is launched, the credential information defined in the file is passed on to the system kernel.<< being all that's there to explain when and how aegis kicks in precisely. This isn't enough to understand if a fork()&execve() child process will nherit my parent process' credentials and permissions or get arbitrary new | 00:24 |
DocScrutinizer | credentials applied | 00:24 |
*** seif has quit IRC | 00:27 | |
DocScrutinizer | and if functions as of man 2 * don't work as I'm used to, I feel rather uncomfortable with developing on such a platform | 00:27 |
djszapi_ | man 2 gives you an upstream linux kernel based man page meanwhile harmattan is not upstream. Not sure how this came out from that. Different kernel can have different operations. | 00:28 |
*** seif has joined #harmattan | 00:29 | |
DocScrutinizer | the bare minimum I'd expect is a list with (kernel/system) functions that have changed semantics on aegis, and an explanation what's the new function | 00:29 |
djszapi_ | for your implementation, code-wise interest, I recommend the libcreds2 library. | 00:30 |
DocScrutinizer | that's when I start to ask "how is aegis working?" | 00:31 |
DocScrutinizer | thanks | 00:31 |
djszapi_ | not sure I understand your post. If you know how ioctl works, you know it is easy to extend with specific ioctl calls. | 00:31 |
DocScrutinizer | yesyes | 00:31 |
djszapi_ | it is just an argument on userspace side, and some small snippet on the kernel side. | 00:32 |
DocScrutinizer | if I know aegis intercepts/redefines/re-implements ioctl, then I've got one answer already | 00:32 |
DocScrutinizer | I'll need to learn about new aegis related functionality of ioctl and then I'm a bit wiser | 00:33 |
djszapi_ | learn libcreds2 as said | 00:34 |
djszapi_ | http://meego.gitorious.org/meego-platform-security/libcreds2 | 00:34 |
DocScrutinizer | if one day I can say "look this is a comprehensive list of functions that are modified by aegis, it starts with ioctl as that's been the first one I learnt about" then my questions are completely answered I guess | 00:34 |
DocScrutinizer | many thanks :-) | 00:35 |
djszapi_ | first tweak can be to look for ioctl in the project, for instance. | 00:35 |
djszapi_ | DocScrutinizer: no, aegis does not reimplement ioctl. Aegis uses the flexible ioctl which has been working for ages ;-) | 00:37 |
djszapi_ | actually, we wanted to push libcreds as an upstream project since it is a good idea for credential purposes. The idea is not tied to Nokia specific project, it is generic enough. | 00:39 |
DocScrutinizer | seems it's hard to explan what it actually does though ;-) | 00:39 |
DocScrutinizer | explain* | 00:40 |
djszapi_ | why explain if it is well documented ? That is why we documented it.. | 00:41 |
DocScrutinizer | well, then explaining is as simple as dropping an URL, no? | 00:41 |
djszapi_ | http://meego.gitorious.org/meego-platform-security/libcreds2/blobs/master/sys/creds.h -> It is actually a very well documented library. | 00:41 |
djszapi_ | Altought, we might remove the audit, that is a bit historical thing over there. | 00:43 |
djszapi_ | I think I was even working on a libcreds2-qt interface to make it higher level | 00:44 |
djszapi_ | but basically you might need the librestok, refhashutil and all jazz from there to your "complete" picture. | 00:45 |
djszapi_ | aegis basically starts operating from the installation over the dpkg wrapper anyways, so you might wanna take a look at the dpkg wrapper code as well (5-6000 perl LOC). | 00:45 |
djszapi_ | before saying perl is not secure enough: true :) That is why we have our own perl version. | 00:47 |
*** eman has joined #harmattan | 00:47 | |
DocScrutinizer | indeed, the comments in creds.h are maybe quite good for somebody that already got an idea what all this is supposed to do and how it's supposed to work. It's not exactly a press info paper explaining what this all is about, how it works by a rough sketch of things, and what are the advantages why anybody should "buy" it | 00:48 |
djszapi_ | that is the matter of the SDK documentation. | 00:49 |
djszapi_ | for the developers, for users: brochures I guess :) | 00:49 |
DocScrutinizer | yup, and it's good on that. Nevertheless there's a gap between where that SDK stuff ends and where the creds.h starts | 00:50 |
*** smoku has joined #harmattan | 00:50 | |
djszapi_ | yeah, the public. | 00:51 |
DocScrutinizer | I think I can imagine what the dpkg wrapper does, roughly. What I don't know is how aegis interacts when run >> RM680-22-6_PR_RM680:~# nano /etc/init/check_malf.conf << | 00:53 |
DocScrutinizer | and you'd think it should be possible to comprehensively explain what's happening on this example, in as little as maybe 300 lines of text | 00:55 |
DocScrutinizer | on a level of "...then aegis-xy_daemon looks into /etc/aegis/restok to find a line relating to the basename, and returns the set of credentials to aegis-masterFoo..." | 00:56 |
djszapi_ | it does not work that way, nope. | 00:57 |
DocScrutinizer | " (see http://aegis/<some path> for details about restok file | 00:57 |
DocScrutinizer | )" | 00:58 |
djszapi_ | I am sleepy for now :) I can explain it with a bit sober mind tomorrow though | 00:58 |
DocScrutinizer | I know it doesn't work with aegis-masterFoo | 00:58 |
DocScrutinizer | even without such a paper telling me | 00:58 |
djszapi_ | it is not about that, there is no "daemon". | 00:58 |
DocScrutinizer | but I think there should be such a paper that gives a 15min sketch of how things work | 00:59 |
DocScrutinizer | I also believe there's no daemon | 00:59 |
djszapi_ | I do not think so. | 00:59 |
DocScrutinizer | as probably a lot is inside kernel | 00:59 |
djszapi_ | What the introduction should show is how to use aegis, without kernel implement level as you request. | 01:00 |
djszapi_ | that is pointless a person who would just like to port a simple or "normal" application. | 01:00 |
*** lardman has quit IRC | 01:00 | |
djszapi_ | the advanced guide should talk more about the advanced usage, and controversial whether to discuss this implementation-wise, probably not, just a reference to the generated doxygen implementation documentation. | 01:01 |
djszapi_ | * for a person | 01:01 |
DocScrutinizer | that's exactly where I start to use works in same sentence as "aegis" that you don't like to hear | 01:01 |
DocScrutinizer | words* | 01:01 |
DocScrutinizer | I'm obviously not a normal person as my apps are not normal either, so you say I'm not worth the effort of aegis developers giving me a decent documantation. I'm not amused about that notion | 01:03 |
DocScrutinizer | I'm learning by understanding *how* things work, not by observing and memorizing *what* things act like | 01:04 |
DocScrutinizer | I got no list of commands I have to prepend sudo. I know from the intended action when I need to get root to achieve something | 01:06 |
djszapi_ | sorry ? | 01:07 |
DocScrutinizer | as long as there's not even a clear word about if a child process has same permissions as parent process, and if not then why and which new permissions it got, I don't think the documentation is sufficient even for 'normal' developers | 01:07 |
DocScrutinizer | neither to write 'normal' apps. Maybe QML-only apps, yeah | 01:08 |
djszapi_ | well, I said more times the add policy | 01:08 |
djszapi_ | that is the key for inheriting. | 01:08 |
* DocScrutinizer googles "add policy" | 01:10 | |
* DocScrutinizer gives up | 01:10 | |
djszapi_ | :D | 01:13 |
*** rcg1 has quit IRC | 01:13 | |
djszapi_ | valgrind is actually a very good example for that what I am talking about. | 01:14 |
djszapi_ | a d gdb | 01:15 |
djszapi_ | * and gdb is a very good example for instance for non-inheriting. There you go. | 01:15 |
*** tomma has quit IRC | 01:15 | |
djszapi_ | good night | 01:18 |
*** djszapi_ has left #harmattan | 01:18 | |
DocScrutinizer | I'm completely aware of http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide#Requesting_POSIX_capabilities, but I'm not able to find WHEN those capabilities are applied to a process, as of "this is the event (whatever kind of event) when aegis looks into internal database, retrieves applicaple policy, and tells kernel about it" | 01:19 |
*** javispedro has joined #harmattan | 01:21 | |
DocScrutinizer | I gather this has to be execve() and/or fork() or whatever, or maybe it's a special call to aegis you have to patch into your bash and into harmattan app launcher, or it's plumbed to scheduler task switching, examining each task that gets a timeslice executed. Who knows? | 01:21 |
DocScrutinizer | and then it's not entirely clear how the credentials definition in database is linked to a particular process, as you told me it's not via the pathname in <for path="/usr/bin/myapp" /> | 01:23 |
DocScrutinizer | so if it's not the pathname of the binary, what else is it that makes aegis pick a particular token or credentials or whatever the name from its database and apply it to a process? | 01:25 |
*** willer_ has joined #harmattan | 01:27 | |
DocScrutinizer | (btw the term "policy" appears exactly 3 times in http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide , "policies" another 2 times) | 01:27 |
*** rm_you|wa has joined #harmattan | 01:28 | |
rm_you|wa | hrmrm.... | 01:28 |
rm_you|wa | looks like /usr/bin/smartsearch and /usr/bin/messageserver are using a shit-ton of my CPU and draining my battery <_< | 01:28 |
*** willer_ has quit IRC | 01:28 | |
*** smoku has left #harmattan | 01:29 | |
*** rm_you| has joined #harmattan | 01:45 | |
javispedro | so | 01:47 |
javispedro | assuming I am trying to make up my mind and start doing something with Qml, what should I do? | 01:47 |
javispedro | last time I tried Qt Creator my love for Gtk+ increased, are there any nice samples for Qml development inside sbox? | 01:48 |
*** rm_you|wa has quit IRC | 01:48 | |
javispedro | or, where can I get the latest version of the qml viewer stub that QtC generates? | 01:50 |
*** captainigloo has quit IRC | 01:52 | |
*** BrettQ has joined #harmattan | 01:53 | |
* javispedro thinks I should make a qml-stub-generate cmdlet that quickly creates it | 01:54 | |
*** captainigloo has joined #harmattan | 02:01 | |
mikhas | javispedro, forget about qmlviewe | 02:05 |
mikhas | r | 02:05 |
javispedro | I mean the one that qtC generates | 02:06 |
mikhas | doesnt really work if you want to use Qt Quick Components | 02:06 |
mikhas | this 10-liner? | 02:06 |
mikhas | I can paste something | 02:06 |
javispedro | 10-liner only? | 02:06 |
javispedro | oh. | 02:06 |
javispedro | but there's like thousands of files when I click new Qml app in QtC. | 02:06 |
javispedro | er.. | 02:06 |
javispedro | tens of files ;) | 02:06 |
mikhas | javispedro, https://gitorious.org/testdef/testdef/blobs/master/testdef/main.cpp | 02:06 |
mikhas | that's all the wrapping you need | 02:07 |
rm_you| | any new developments on the n950 + video front? :P | 02:08 |
hardaker | gotta love it: leave a ssh connection open to the phone, wander very far away from the phone so it looses the 802.11 link (twice), come back 2 hours later to find the session still works :-) | 02:17 |
*** seif has quit IRC | 02:23 | |
DocScrutinizer | known from N900, happens to me regularly, each time I leave for a coffee or a beer next pub | 02:26 |
hardaker | Didn't work for me on the N900... the session would drop | 02:26 |
DocScrutinizer | hmm | 02:26 |
hardaker | i think. | 02:26 |
antman8969 | worked for me | 02:27 |
hardaker | maybe I'm confusing myself with a ssh session over the cell network, which drops ify ou don't use it in something like 30 seconds. | 02:27 |
antman8969 | so well infact that I would have to kill the terminal to get out of it... | 02:27 |
hardaker | so what are people using as cases? I really need to get one. I used my palm case for my n900, but the n950 is too big and I really need to get something. | 02:28 |
DocScrutinizer | it keeps connection here for several hours, drops if I stay away for a whole day | 02:28 |
SpeedEvil | hardaker: I'm using an old sock. (washed) | 02:29 |
hardaker | SpeedEvil: Excellent. Where do you stuff it? | 02:30 |
hardaker | I suspect an iphone case (gasp) is probably about the right size | 02:30 |
* Sput just puts the N950 in his pants pockets | 02:30 | |
Sput | seems to be really scratch-resistant | 02:30 |
hardaker | Sput: moves around too much.. | 02:30 |
hardaker | that's what I'm doing now, but am not really happy with it. | 02:31 |
Sput | I didn't manage to scratch my C7's screen yet, so I trust the N950 will be similarly resilient :) | 02:31 |
hardaker | (err... "I'm concerned" is probably a better way to put it) | 02:31 |
SpeedEvil | I've managed to scratch the 950 camera lens | 02:32 |
SpeedEvil | Which is annoying. | 02:32 |
SpeedEvil | Fortunately not quite on the actual camera | 02:32 |
SpeedEvil | I'm currently wondering about a screen protector. | 02:32 |
hardaker | SpeedEvil: Yeah, that's going to be the downside of swipe I think. | 02:33 |
Tronic | No scratches on mine either but I think that matt black paint will get damaged eventually, when kept in pocket. | 02:33 |
hardaker | I haven't tried one either. | 02:33 |
SpeedEvil | The upside of a glass screen is it's scratch resistant. | 02:33 |
Tronic | SpeedEvil: Is the camera lens plastic? | 02:33 |
SpeedEvil | The downside of a glass screen is I'm really, really good at scratching stuff. | 02:33 |
hardaker | heh. | 02:34 |
SpeedEvil | Tronic: I suspect it's glass of some form. | 02:34 |
hardaker | best watch face I ever owned was a good quality swatch. I can not *believe* that thing never scratched considering what I did to it. | 02:34 |
SpeedEvil | I have previously accidentally put my seccateurs in the wrong pocket, and bent up and down a couple of hundred times. | 02:34 |
Tronic | I'm having major trouble with grease, though. Looks very ugly and the glass surface is difficult to clean. | 02:34 |
Tronic | Plastic seems better in that respect. | 02:34 |
SpeedEvil | The screen protector of the n900 looked like I'd taken sandpaper to it. | 02:34 |
SpeedEvil | Vigourous rubbing on t-shirt is the key | 02:35 |
Tronic | SpeedEvil: Doesn't work well and will very easily scratch the surface if you have any sand/dirt on your shirt. | 02:36 |
SpeedEvil | That too | 02:36 |
Tronic | Licking the screen works but yuck! | 02:36 |
Tronic | Spitting on a piece of tissue paper and then rubbing works rather well, too. | 02:36 |
*** seif has joined #harmattan | 02:36 | |
hardaker | You know folks, they make this stuff called "glass cleaner" that contains no spit | 02:37 |
Tronic | Water + tissue paper not so well. | 02:37 |
DocScrutinizer | meh, that double-tapping to wakeup is kinda annoying | 02:37 |
Tronic | hardaker: Glass cleaners might damage the paint, plus I don't carry any with me. | 02:37 |
SpeedEvil | DocScrutinizer: waking up unintentionally? | 02:37 |
hardaker | DocScrutinizer: it's much better than finding a button in your sleep to check the time | 02:37 |
SpeedEvil | You can always turn it off | 02:38 |
Tronic | DocScrutinizer: Double screenlock (having to open and then slide) in general is quite annoying. | 02:38 |
special | I ended up turning it off | 02:38 |
SpeedEvil | yeah - I'd like double tap, then tap again to unlock | 02:38 |
SpeedEvil | Or go straight past lock screen if you hit the butto | 02:39 |
SpeedEvil | n | 02:39 |
special | too easy to do accidentally, i'd think | 02:39 |
SpeedEvil | But I suspect all the UI at this level is liable to change | 02:39 |
SpeedEvil | Supporting multitouch would be awesome. | 02:39 |
SpeedEvil | For example, it will only turn on if you drag two fingers across from one edge to the other | 02:39 |
SpeedEvil | Or double tap with two fingers | 02:40 |
*** NIN102 has quit IRC | 02:53 | |
DocScrutinizer | haha long click on a song it "recently played" which seems actually the current playlist gives "add to queue" but no way to delete a song from playlist | 02:53 |
*** deimos has quit IRC | 02:54 | |
DocScrutinizer | hmm maybe it's not the playlist | 02:54 |
*** antman8969 has quit IRC | 02:59 | |
*** M4rtinK has quit IRC | 03:06 | |
DocScrutinizer | seems there's no current playlist or I'm to dull to find it | 03:10 |
DocScrutinizer | too* | 03:12 |
javispedro | rrent playlist gives "add to queue" but no way to delete a s | 03:13 |
javispedro | oops. | 03:13 |
javispedro | init: Mandatory file /etc/init/aegisfs.conf does not exist, entering MALF | 03:13 |
DocScrutinizer | \o/ | 03:14 |
DocScrutinizer | congrats | 03:14 |
javispedro | I am pondering | 03:15 |
DocScrutinizer | I still fail to get it why you could delete a file that then makes aegis panic | 03:15 |
javispedro | taht the secret to "normal" aegis open mode is in the qemu madde image | 03:16 |
javispedro | RX71-47-2_QEMU_MR0:~# accli -I | 03:16 |
javispedro | Current mode: no security framework | 03:16 |
DocScrutinizer | hehe | 03:16 |
DocScrutinizer | WTF RX71 ? | 03:16 |
*** NIN101 has joined #harmattan | 03:26 | |
*** NIN101 has quit IRC | 03:34 | |
*** mikhas has quit IRC | 03:37 | |
*** lizardo has quit IRC | 03:58 | |
rm_you| | soooo the problem is not video decoding | 03:58 |
rm_you| | the problem is AUDIO decoding | 03:58 |
rm_you| | without audio, it can play very high quality video streams flawlessly, including h264 | 03:59 |
*** leinir has quit IRC | 04:01 | |
GAN900 | sssshh | 04:03 |
*** rm_you|wtf has joined #harmattan | 04:05 | |
*** rm_you| has quit IRC | 04:06 | |
rm_you|wtf | ~resolution | 04:17 |
infobot | it has been said that resolution is How fine the pixels are. The higher the resolution, the more pixels that can be squeezed onto a screen, thereby giving the appearance that the pictures on your screen are smaller without losing any detail. Because the pictures are smaller you now have room to place more on your screen. | 04:17 |
rm_you|wtf | hrm | 04:18 |
rm_you|wtf | i would like that to also list N9(xx) res | 04:18 |
rm_you|wtf | i always forget | 04:18 |
*** hardaker has quit IRC | 04:18 | |
rm_you|wtf | it's like 854x480 right? | 04:18 |
rm_you|wtf | 852? | 04:18 |
*** fiferboy has joined #harmattan | 04:31 | |
javispedro | 854 | 04:41 |
*** fiferboy has quit IRC | 04:52 | |
rm_you|wtf | ah | 04:58 |
javispedro | I have to say that the activity at the dev.nokia.com bugzilla is not encouraging | 05:34 |
berndhs | javispedro: too much? too little ? wrong bugs ? | 05:35 |
javispedro | little | 05:35 |
berndhs | perhaps it works really well :) | 05:36 |
javispedro | dunno, everytime I try to do something cool I hit yet another bug | 05:36 |
javispedro | I ponder why the qtsparql guys decided that they should put the QML bindings but actually fail to export the symbols :( | 05:37 |
javispedro | a file chooser widget with qtsparql qml bindings = 0 lines of C code. | 05:38 |
berndhs | i only reported one, the default data location is wrong | 05:38 |
javispedro | note: using tracker to find all files | 05:38 |
berndhs | i should report the missing ipv6 | 05:40 |
javispedro | but also low activity from the other side | 05:40 |
javispedro | there are bugs that have already 400 votes and no answer | 05:40 |
berndhs | yeah that will be interesting, how well supported harmattan will be | 05:42 |
SpeedEvil | File an enhancement - 'Last one out, throw the sourcecode over the wall'. | 05:43 |
javispedro | in fact, it seems that all Nokia activity sopped by the 10th | 05:44 |
javispedro | *stoppe | 05:44 |
javispedro | d | 05:45 |
berndhs | it will resume when Elop is gone :) | 05:46 |
*** javispedro has quit IRC | 05:49 | |
*** crevetor has joined #harmattan | 05:58 | |
rm_you|wtf | what do i set my -mfloat-abi to? | 06:27 |
rm_you|wtf | softfp is *wrong* for n950 but i don't remember the right thing | 06:27 |
rm_you|wtf | i guess i just... don't specify one and it works? lol | 06:29 |
*** ajalkane_N950 has quit IRC | 06:34 | |
rm_you|wtf | wooooo video debugging | 06:50 |
rm_you|wtf | anyone else interested in getting videos to play decently? | 06:50 |
rm_you|wtf | could always use more eyes/minds on the issue | 06:51 |
rm_you|wtf | i think i've gotten it narrowed down to an issue with the audio | 06:51 |
*** tomma has joined #harmattan | 06:57 | |
*** crevetor has quit IRC | 07:16 | |
*** rm_you|wtf is now known as rm_you|wa | 07:19 | |
*** rm_you|wa is now known as rm_you|johnx | 07:20 | |
*** DocScrutinizer has quit IRC | 07:30 | |
*** DocScrutinizer has joined #harmattan | 07:31 | |
Stskeeps | rm_you|johnx: say hi! | 07:43 |
rm_you|johnx | lol | 07:44 |
rm_you|johnx | :) | 07:44 |
rm_you|johnx | johnx says hi | 07:44 |
*** berndhs has left #harmattan | 08:00 | |
*** smoku has joined #harmattan | 08:05 | |
dm8tbr | good moaning! | 08:15 |
dm8tbr | looks like generic jabber is sort of working now for me \o/ | 08:16 |
ajalkane_ | dm8tbr: what's the trick to get it working? | 08:25 |
dm8tbr | a friend of mine found it. it's a two liner. | 08:26 |
dm8tbr | mc-tool add gabble/jabber <display_name> string:account=user@hostname string:password=<password> string:server=hostname bool:require-encryption=1 | 08:26 |
dm8tbr | bool:ignore-ssl-errors=1 | 08:26 |
Stskeeps | heh, clever | 08:26 |
dm8tbr | mc-tool enable <accountname> #(first mc-tool call will give you the account name) | 08:27 |
dm8tbr | I knew it was possible from the command line | 08:27 |
ajalkane_ | cool, thanks | 08:27 |
dm8tbr | but didn't find the time to do it | 08:27 |
dm8tbr | he found the time and did it or found how to do it | 08:27 |
dm8tbr | contacts with jabber will have google-talk icons apparently | 08:28 |
dm8tbr | and contacts with multiple jabber ids or clients will only have one displayed | 08:29 |
*** berndhs has joined #harmattan | 08:29 | |
* dm8tbr needs to drop his gtalk account now that generic XMPP seems to be working | 08:29 | |
dm8tbr | oh and status seems limited to on/off | 08:29 |
dm8tbr | still I guess this should be now more than enough info to write a generic account-plugin | 08:30 |
berndhs | People lie about status anyway | 08:30 |
ajalkane_ | hmm, so gtalk account is enabled somehow differently? | 08:36 |
dm8tbr | *cough* | 08:37 |
rm_you|johnx | i am very close to having a useful preset for video encoding for N950 :P | 08:37 |
Stskeeps | you need to encode for it? usually i just throw media at it and it takes it like a pro | 08:38 |
rm_you|johnx | yeah :/ | 08:38 |
rm_you|johnx | it is super laggy in 99.999% of circumstances | 08:38 |
rm_you|johnx | Stskeeps: what media have you been throwing at it? VHS rips at 240p? | 08:39 |
dm8tbr | the IVA is capable of 720p decoding like a breeze | 08:39 |
rm_you|johnx | .... | 08:39 |
dm8tbr | I know, I have different hardware with the same SoC | 08:39 |
rm_you|johnx | i have yet to see it be able to do that | 08:39 |
rm_you|johnx | do you have a file? | 08:39 |
Stskeeps | rm_you|johnx: typical dvdrip | 08:39 |
rm_you|johnx | WTB sample file please :P | 08:39 |
rm_you|johnx | my 720p stuff fails *hard* | 08:40 |
dm8tbr | rm_you|johnx: maybe the 22-x firmware doesn't have the IVA codecs? | 08:40 |
rm_you|johnx | dm8tbr: you on N9 with newer codec? | 08:40 |
dm8tbr | I have to admit that I haven't tried video at all on this, besides once a online video | 08:40 |
rm_you|johnx | *newer firmware | 08:41 |
dm8tbr | no my comment about 720p is based on an Archos A32 which I own. same SoC (sans the HS part, and open boot loader) | 08:41 |
*** maxw has joined #harmattan | 08:44 | |
*** smoku has left #harmattan | 08:45 | |
*** berndhs has quit IRC | 08:46 | |
*** veskuh has joined #harmattan | 08:49 | |
rm_you|johnx | hrm | 08:49 |
rm_you|johnx | can i send you a 720p file to throw at it? | 08:49 |
rm_you|johnx | dm8tbr:^^ | 08:49 |
dm8tbr | rm_you|johnx: I've run 720p h.264 HP on it. it worked like a breeze | 08:51 |
dm8tbr | some avatar test clips from XDA IIRC | 08:51 |
rm_you|johnx | dm8tbr: yeah, i heard you :P can i send you a file to test? | 08:51 |
dm8tbr | sure | 08:52 |
rm_you|johnx | kk | 08:52 |
rm_you|johnx | is that with mplayer? or, what video player? | 08:52 |
dm8tbr | I'm off to work. I'll pick it up when I'm back online | 08:52 |
rm_you|johnx | k | 08:52 |
rm_you|johnx | i will proll ybe asleep | 08:52 |
dm8tbr | the archos has a custom player but uses OMX for the IVA | 08:52 |
rm_you|johnx | unless it is soon :P | 08:52 |
dm8tbr | 10-15min | 08:52 |
rm_you|johnx | k | 08:53 |
*** xarcass has joined #harmattan | 08:55 | |
rm_you|johnx | dm8tbr: http://ageofikon.com/emptyMotion720p.mp4 | 09:11 |
*** mece has joined #harmattan | 09:30 | |
dm8tbr | rm_you|johnx: downloading the file | 09:33 |
rm_you|johnx | cool, thx | 09:33 |
*** Stecchino_ is now known as Stecchino | 09:37 | |
*** wazd has joined #harmattan | 09:51 | |
*** spenap has joined #harmattan | 09:54 | |
*** harbaum has joined #harmattan | 09:55 | |
*** veskuh has left #harmattan | 09:56 | |
*** Arkenoi has joined #harmattan | 10:03 | |
*** rcg has joined #harmattan | 10:09 | |
radiofree | javispedro: ping | 10:14 |
*** Arkenoi has quit IRC | 10:19 | |
*** Arkenoi has joined #harmattan | 10:19 | |
*** mzanetti_ is now known as mzanetti_in_the_ | 10:27 | |
*** mzanetti_in_the_ is now known as mzanetti_borg | 10:27 | |
rm_you|johnx | dm8tbr: sup? :P | 10:32 |
*** ajalkane_ has quit IRC | 10:33 | |
dm8tbr | rm_you|johnx: not mucken futch, at the Orkplace ;) | 10:33 |
rm_you|johnx | :P | 10:34 |
rm_you|johnx | you were downloading a file, was just wondering how that went :) | 10:40 |
rcg | morning | 10:40 |
rcg | is there a more elegant way to install a -dev package into a madde sysroot than copying the relevant files from scratchbox or manually extracting the respective *.deb file? | 10:41 |
dm8tbr | rm_you|johnx: yeah download finished | 10:43 |
dm8tbr | rm_you|johnx: orkplace takes priority, so it might take a bit until I have it on the device and playing | 10:44 |
rm_you|johnx | lolk np | 10:45 |
*** slaine has joined #harmattan | 10:49 | |
*** maxw has quit IRC | 10:50 | |
*** maxw has joined #harmattan | 10:50 | |
*** slaine has quit IRC | 10:50 | |
*** slaine has joined #harmattan | 10:51 | |
*** smoku has joined #harmattan | 10:51 | |
*** cpscotti has quit IRC | 10:52 | |
*** djszapi has joined #harmattan | 11:00 | |
*** frinring has joined #harmattan | 11:01 | |
*** mikhas has joined #harmattan | 11:03 | |
*** leinir has joined #harmattan | 11:12 | |
*** leinir has joined #harmattan | 11:12 | |
djszapi | xarcass: Have you tried to request also GID:users ? | 11:14 |
djszapi | xarcass: other way is to run a script as a user for directory and other file removals. | 11:15 |
djszapi | xarcass: but the first idea works in many application from what I see. | 11:18 |
djszapi | applications* | 11:18 |
xarcass | djszapi: yes, i've tried UID and GID and both - no success. in fact, i've just remembered, that's what i've tried first | 11:19 |
djszapi | grep -rn "rm" /var/lib/info/*.postrm | grep user | 11:22 |
djszapi | grep -rn "rm" /var/lib/dpkg/info/*.postrm | grep user | 11:22 |
xarcass | djszapi: i got used to that fact, that some things don't work for me, even when they worked for all others. for example that magic trick with space in 'rules' file doesn't work for me. so i had to sed desktop file in postinst script | 11:22 |
dm8tbr | rm_you|johnx: verrry nice decoder stress test. plays without one hitch or stutter! | 11:22 |
dm8tbr | rm_you|johnx: is that high profile encoded? | 11:23 |
xarcass | RM680-22-6_PR_RM680:~# grep -rn "rm" /var/lib/info/*.postrm | grep user | 11:23 |
xarcass | grep: /var/lib/info/*.postrm: No such file or directory | 11:23 |
xarcass | RM680-22-6_PR_RM680:~# grep -rn "rm" /var/lib/dpkg/info/*.postrm | grep user | 11:23 |
xarcass | RM680-22-6_PR_RM680:~# | 11:23 |
xarcass | well, there's one line, apparently relevant: /var/lib/dpkg/info/odnp.postrm:21: rm /home/user/.odnp/private/lkps | 11:24 |
djszapi | interesting why grep did not find that. | 11:25 |
xarcass | no, that's my irc client probably have eaten several lines | 11:25 |
djszapi | because of the leading "/" prolly. | 11:26 |
xarcass | i've no idea what's this 'odnp' means and where to look into it's aegis manifest | 11:26 |
djszapi | apt-get source I guess | 11:27 |
xarcass | i'll try, then | 11:27 |
xarcass | i thought there's an easier way | 11:28 |
djszapi | actually, it is as simple as I said. | 11:28 |
*** andre__ has joined #harmattan | 11:28 | |
*** andre__ has joined #harmattan | 11:28 | |
djszapi | I see many applications doing that, I am also doing that myself. | 11:28 |
xarcass | djszapi: "E: You must put some 'source' URIs in your sources.list" | 11:28 |
djszapi | ok, it might be distributed as closed. At any rate get the debian package and unpack it, check the _aegis file out or the restok conf. | 11:29 |
djszapi | but the better way is to figure out what difference your system has. | 11:30 |
* xarcass uses Linux RM680 2.6.32.39-dfl61-20112201 #1 PREEMPT Wed Jun 1 18:17:45 EEST 2011 armv7l GNU/Linux | 11:30 | |
djszapi | so does odnp ;-) | 11:31 |
djszapi | mmm, the odnp's _aegis file is strange. | 11:35 |
hiemanshu | rm -rf aegis | 11:35 |
hiemanshu | woops | 11:35 |
* hiemanshu runs | 11:35 | |
*** rcg has quit IRC | 11:46 | |
*** ajalkane_N950 has joined #harmattan | 11:47 | |
rm_you|johnx | dm8tbr: not sure what profile they used exactly, that is one of the originals | 11:47 |
rm_you|johnx | my encodes all take it down from h264 to lavc/mpeg4 | 11:48 |
*** elzalem has joined #harmattan | 11:50 | |
djszapi | xarcass: mmh, odnp is a different case because it uses aegisfs | 11:51 |
xarcass | djszapi: as i've said: the story of my life | 11:52 |
*** mece has quit IRC | 11:52 | |
djszapi | xarcass: I will send you a dummy package as a workhorse later (or you can do it yourself to confine the situation). | 11:54 |
xarcass | djszapi: i suppose, i'm mature enough to manage to make dummy package :) what exactly should it do? | 11:55 |
djszapi | http://paste.kde.org/113953/ | 11:56 |
djszapi | and try to remove something from the postrm script. | 11:56 |
djszapi | rm -rf /home/user/dummy | 11:57 |
xarcass | djszapi: then i should probably create this dummy directory somehow? from inside the app - right? | 11:58 |
djszapi | does not matter. | 11:59 |
djszapi | just make sure about the rights, but yeah, you can create it in any install/removal files before this command. | 11:59 |
djszapi | with the proper right/owner settings. Also make sure you will use this rm -rf only in the purge branch in the final version. | 12:00 |
xarcass | djszapi: thanks, i know where to use rm -rf :) | 12:04 |
djszapi | DocScrutinizer51: we do not use fork, just run time policy framework for exec operations. With fork, you will inherit everything, with exec, you will not. When you run a command inside a shell, it is like an exec. | 12:05 |
elzalem | so i've got an n950, i want to port an iphone app i made to harmattan, thing is, i'm not friends with Qt | 12:07 |
elzalem | any other alternatives? | 12:07 |
djszapi | DocScrutinizer: if you wanna know a bit more about the details, I suggest you the LSM hook study of the Linux kernel. That is the interface where you can act as you wish with the runtime policies like running scripts or binaries. That is the interface where will confine the credentials for exec operations. | 12:08 |
djszapi | we will confine* | 12:08 |
sandst1 | elzalem: become friends with QML&Qt, it's worth it :) | 12:11 |
elzalem | sandst1: as much as i want to, the docs in Qt creator IDE aren't much of a help | 12:12 |
Sput | huh? I find them extremely good | 12:13 |
Sput | assuming you already know C++ | 12:13 |
elzalem | i know c++ | 12:13 |
djszapi | DocScrutinizer: We do not read restok.conf by a daemon. We do not even deal with that file in the runtime policy framework. What is actually done is the mapping into the kernel (credentials and capabilities) during the boot by the validator init. Afterwards, the dpkg wrapper keeps updating the map inside the kernel infrastructure by using the library I pasted you (libcreds2) | 12:13 |
sandst1 | elzalem: try http://doc.qt.nokia.com/latest/tutorials.html | 12:13 |
elzalem | sandst1: aren't these for desktop apps? | 12:14 |
djszapi | DocScrutinizer: As I said, the runtime policy framework is relevant the creds library and also the relevant kernel space part is available under the security subfolder of the linux kernel (along with the whole LSM hook infrastructure), so your kernel part code (if you are interested in that) is over there (ie.: credp and creds). There are obviously other kernel parts that might be interesting regarding this matter, but this is it in a nutshell. | 12:15 |
*** rcg has joined #harmattan | 12:17 | |
xarcass | djszapi: dummy project works perfectly. i suppose, i should check my main project more carefully | 12:17 |
sandst1 | elzalem: ah. most of them yes. So focus on the QML part http://doc.qt.nokia.com/latest/qml-tutorial.html | 12:18 |
sandst1 | elzalem: and http://developer.qt.nokia.com/wiki/Modern_mobile_applications_with_Qt_and_QML | 12:19 |
*** deimos has joined #harmattan | 12:19 | |
jkt | SpeedEvil: http://www.developer.nokia.com/bugs/show_bug.cgi?id=234 | 12:21 |
jkt | djszapi: thanks. So there's a difference between a direct root login via SSH and ssh user@ followed by develsh? | 12:22 |
DocScrutinizer51 | djszapi: thanks, will have a look at kernel stuff then | 12:23 |
DocScrutinizer51 | jkt: yes, my root login via ssh is different to develsh under same account | 12:24 |
jkt | makes sense (/me waves to his selinux experience) | 12:24 |
elzalem | sandst1: thanks these are helping | 12:24 |
djszapi | jkt: develsu is aegis specific, simple root has no idea about aegis. | 12:25 |
elzalem | sandst1: just out of curiosity, there is no alternative? | 12:25 |
djszapi | xarcass: yay \o/ | 12:25 |
jkt | djszapi: thanks again. What would be the best way to learn more about these things? I've tried to glance through various wikis and developer.nokia.com stuff, but there isn't much | 12:26 |
djszapi | jkt: ask me until the next SDK ;-) | 12:26 |
xarcass | djszapi: well, maybe i've reflashed my device between my experiments. or maybe i've just made some mistakes. packaging can be tricky business sometimes | 12:27 |
djszapi | and I hope you can also start asking others who got some knowledge about it in some ways. | 12:27 |
djszapi | xarcass: *nods* kdelibs packaging was also a lot of job | 12:27 |
sandst1 | elzalem: not any alternative that would make sense to use. There is some GTK support, but those end up looking like desktop apps :) | 12:27 |
jkt | djszapi: in my experience, reading one article is much more productive than pestering others and asking questions, especially when I don't know anything about that tool | 12:27 |
jkt | ie. I don't want to ask stupid questions when I can read the answer somewhere | 12:28 |
elzalem | sandst1: i mean i just want to start testing the sensors (accelerometer and compass), camera... i dont care much about the UI | 12:28 |
djszapi | jkt: the public SDK documentation is sloppy, how would you get answer for questions which is not discussed there ? 1) Experimenting yourself 2) Asking someone having a broad knowledge about it. | 12:28 |
lcuk | bi saw something about using the accelerometer to detect keypresses recently | 12:29 |
lcuk | -b | 12:29 |
jkt | djszapi: yeah, that's the answer I was looking for :), ie. basically no reliable documentation | 12:29 |
jkt | is it common to both harmattan and meego, or harmattan specific? | 12:29 |
mariob | elzalem: Then you should be able to create a Qt console app (QtMobility contains the sensor apis) | 12:30 |
djszapi | jkt: harmattan is not meego from my pov (others will argue about it, but that is my opinion) | 12:30 |
Sput | it's certainly not meego certified.. | 12:30 |
djszapi | jkt: for meego, we implemented an upstream "aegis" basically. | 12:30 |
sandst1 | elzalem: what mariob said. also http://qt-mobility.blogspot.com/2009/12/create-hello-world-console-application.html | 12:31 |
*** smoku has quit IRC | 12:31 | |
*** smoku has joined #harmattan | 12:31 | |
mariob | elzalem: And if you prefer python, that available too with pyside | 12:31 |
sandst1 | elzalem: http://www.developer.nokia.com/document/Mobile_Hands-on_Labs/Qt/MobilitySensors/ | 12:32 |
jkt | djszapi: I'm not sure I completely follow -- so for meego, there's something modelled after harmattan's aegis? | 12:32 |
djszapi | jkt: yup. | 12:32 |
jkt | djszapi: thanks | 12:32 |
djszapi | jkt: http://git.kernel.org/?p=linux/kernel/git/next/linux-next-history.git;a=tree;f=security/smack;h=99f2ee1991b3ebdf62480ae4f7154673a634553d;hb=HEAD | 12:34 |
mariob | elzalem: PySide example: http://qt.gitorious.org/pyside/pyside-examples/blobs/master/mobility/sensors/show_acceleration/show_acceleration.py | 12:34 |
elzalem | mariob: i don't know python, prefer C | 12:34 |
djszapi | jkt: and this is where libcreds2 comes into the picture as a general user space library (as it was designed) to handle all the low level "backend" kernel security frameworks. | 12:35 |
mariob | elzalem: Then it's a good time to learn :) | 12:35 |
elzalem | sandst1 mariob thanks trying out the console app now | 12:35 |
elzalem | mariob: that is too much to learn for trying to develop for meego :( | 12:35 |
mariob | elzalem: No, python is a great language for basically anything | 12:36 |
elzalem | i'm doing it on my spare time because the company decided not to support any nokia/meego device | 12:36 |
mariob | elzalem: Ok, then go with C++ :) | 12:36 |
elzalem | mariob: that and 95% of our codebase is in C :p | 12:37 |
jkt | btw, I've just come across the Meego touch framework, and was wondering what to do in my situation | 12:42 |
djszapi | jkt: in what situation ? | 12:42 |
jkt | I've a pure Qt application using QWidgets, heavily based on model-view architecture. It's an e-mail client, http://trojita.flaska.net/ . I've no mobile experience at all. | 12:43 |
djszapi | jkt: just use qml :) | 12:43 |
jkt | now, I'd like to create a version for the N9(50) which fits nicely into the meego UX and what not | 12:43 |
Sput | being based on model-view is a good starting point | 12:43 |
djszapi | you can still have the view in the QML and the model in c++ | 12:43 |
Sput | we have the same in Quassel :) | 12:43 |
jkt | or rather the harmattan UX | 12:43 |
Sput | putting a different view on a C++ model is a piece of cake, in theory | 12:44 |
djszapi | jkt: qt quick components | 12:44 |
Sput | in practice, ListView is buggy :P | 12:44 |
djszapi | Sput: the problem is not just that, also there are no other views, like trivial tableview :( | 12:44 |
Sput | yeah, but that should be doable on top of Flickable with not tooo much effort | 12:45 |
elzalem | sandst1 mariob (sorry for bugging) that's what I get when creating a project other than a QtQuick Harmattan http://pastebin.com/gRr2kk1a | 12:45 |
djszapi | Sput: I am not speaking about flickable things, I am speaking about a view. | 12:45 |
djszapi | independently from Flickable things. | 12:45 |
djszapi | Sput: yes, everything is doable (using ListView and custom hacks), but not nice :) | 12:46 |
Sput | nice is different, yes | 12:46 |
jkt | the thing is, someone claims that the QML is "too low level", and that harmattan components are not portable | 12:46 |
jkt | so I'm a bit lost here | 12:46 |
djszapi | qt quick components are not portable, true. | 12:47 |
mariob | elzalem: I'm sorry but the corp. firewall denies access to pastebin :) | 12:48 |
elzalem | mariob: essentialy, i get chmod :/opt/{appname}/bin/{appname} operation not permitted | 12:49 |
djszapi | jkt: but that the price of being look'n'feel right away ;) | 12:49 |
djszapi | that is* | 12:49 |
mariob | elzalem: Ok, I get that all the time when deploying | 12:49 |
mariob | elzalem: It should work anyway... Sometimes the tools fails to kill & restart the application, just press ctrl+r again | 12:50 |
jkt | okay, thanks again | 12:50 |
mariob | time for lunch | 12:51 |
elzalem | mariob: i get all the times, never got anything to deploy except Qt Quick -> Harmattan application | 12:51 |
djszapi | mariob: yep, it is a known issue in china and other places as well. You can use other paste services though | 12:52 |
djszapi | elzalem: what are you trying to chmod ? | 12:53 |
elzalem | djszapi: nothing :P i'm trying to "Run" the qt console app on my n950 | 12:53 |
elzalem | the IDE shows this error and nothing happens | 12:53 |
djszapi | wasn't qconsole renamed to meego-terminal nowadays ? | 12:53 |
djszapi | and it is available by default ? | 12:54 |
elzalem | there is no meego-terminal project | 12:55 |
djszapi | elzalem: try to figure out what tries to make a chmod and whether that process has the proper capability for that | 12:55 |
djszapi | elzalem: at least, I have a meego-terminal application which was qconsole in the history. | 12:56 |
elzalem | djszapi: from what i understandm the IDE ssh's to the device to deply the apps, it uses the "developer" user | 12:56 |
djszapi | yep, but that main point is that what it tries to chmod. | 12:57 |
djszapi | and what owners, permission that has. | 12:57 |
elzalem | i'm able to deploy a qt quick application but nothing else... i'm just getting started with qt, i'm basically a noob here | 12:57 |
elzalem | its trying to chmod the app binary | 12:57 |
djszapi | elzalem: are you sure you need QtCreator ? | 12:57 |
*** M4rtinK has joined #harmattan | 12:58 | |
elzalem | djszapi: i just need a text editor and a terminal | 12:58 |
elzalem | djszapi: qtcreator is the "standard" IDE for meego (it came with the device) | 12:59 |
djszapi | elzalem: if you are not familiar with qt, it is not too late to mention cmake for you as the build system usage :p | 12:59 |
*** cpscotti has joined #harmattan | 12:59 | |
djszapi | elzalem: are you familiar with scratchbox ? | 12:59 |
elzalem | djszapi: no | 13:00 |
elzalem | djszapi: think of me as someone who's coming from iOS dev workd | 13:01 |
elzalem | world* | 13:01 |
djszapi | at least the Ui is very similar since it is a replication :) | 13:01 |
ajalkane_N950 | elzalem, are you using the sdk from the device? If so, use newer one | 13:02 |
djszapi | elzalem: try to make a very simple example first and if it does not work, try to get rid of QtCreator. | 13:02 |
elzalem | ajalkane_N950: i downloaded the altest from nokia's site | 13:02 |
djszapi | it is always a good practice if there is some mysterious error, try to get rid of QtCreator (It had a lot of bugs in the past at least). | 13:02 |
elzalem | djszapi: i would LOVE to get rid of that ugly thing, but i don't know any alternative | 13:03 |
djszapi | elzalem: scratchbox for testing purposes in this special case. | 13:03 |
elzalem | djszapi: i must use the device, i need to work with sensors and camera | 13:04 |
djszapi | elzalem: scratchbox provides what you actually would like to have: text editor and console. | 13:04 |
djszapi | elzalem: yes, you can. | 13:04 |
elzalem | djszapi: how can i deploy to the device from it? | 13:05 |
djszapi | elzalem: mass storage mode or scp (there are other ways yet), but those are the most common. | 13:05 |
elzalem | i mean shouldn't the app have a well defined filesystem structure? | 13:06 |
djszapi | sorry ? | 13:06 |
djszapi | mmmh, nobody did "scrot" package yet for Harmattan | 13:08 |
elzalem | djszapi: mmm what i'm trying to say is that using scratchbox would just give me a binary, how can I wrap that binary so I get an icon on the menu, so it appears in the application manager... etc | 13:09 |
djszapi | elzalem: that is about the desktop file. | 13:09 |
djszapi | that is not really special in scratchbox. | 13:09 |
djszapi | so the dpkg-buildpackage -rfakeroot makes debian package(s) for you and you copy it onto the device by using scp and then you install it there. | 13:10 |
djszapi | that is my general workflow. | 13:10 |
elzalem | k thanks i got it, the buildpackage was the missing link, i just thought you copy the binary | 13:11 |
djszapi | I do not recommend the non-packaging way on Harmattan. It simply messes up the system | 13:12 |
elzalem | by using scratchbox, can i still use harmattan's api? such as its camera api or evrth else | 13:13 |
djszapi | elzalem: you are in a harmattan environment (target) inside scratchbox, you can install any harmattan packages. | 13:14 |
djszapi | elzalem: it will be much easier to cooperate with c-obs as well if you would like to distribute your package over there. | 13:14 |
elzalem | c-obs? | 13:15 |
djszapi | elzalem: also, qmake is not that good imo in comaprison with cmake. | 13:15 |
djszapi | QtCreator slightly supports cmake only. | 13:15 |
djszapi | elzalem: Community Open Build Service. | 13:15 |
elzalem | djszapi: i guess ill use cmake. so lets say i'm using scratchbox, what UI libraries i can use? | 13:19 |
djszapi | anything, scratchbox is not any different | 13:19 |
elzalem | djszapi: from what i understand, the harmattan native UI is QT ? | 13:19 |
djszapi | elzalem: nop, libmeegotouch | 13:20 |
djszapi | you can just write qml applications using qt quick components, though | 13:20 |
elzalem | djszapi: won't that require qt creator/ | 13:21 |
mikhas | elzalem, plain Qt is not really well supported. | 13:21 |
mikhas | elzalem, not necessarily. But Qt Creator is very useful. | 13:21 |
elzalem | i want to stay away from qt as much as possible | 13:21 |
mikhas | So take QML then. | 13:22 |
mikhas | QML also tries to stay away from Qt as much as possible. | 13:22 |
mikhas | You two would be a natural fit. | 13:22 |
djszapi | elzalem: no, forget QtCreator :) | 13:22 |
djszapi | elzalem: you will not have QML designer, but you can still use it on the host for Ui design, but if you are really a text editor guy, I do not think a declarative language causes any issues. | 13:23 |
elzalem | i don't want a UI designer, what i need is a good workflow | 13:24 |
djszapi | then it is fine imho | 13:25 |
xarcass | elzalem: if you came from the ios world, then qtcreator would be the right choice. btw, i'm sure there's no way installing scratchbox on the mac os | 13:25 |
elzalem | and when i first started all what i could see is qt creator which got me lost... so now you're telling me to use QML, in which i smell some sort of Qt :P | 13:26 |
xarcass | elzalem: if you're planning to write for harmattan, then there's no way to avoid QML and Qt. it's like trying to avoid ObjC while writing for IOS | 13:27 |
elzalem | xarcass: i'm fine with debian. actually i don't like to jump strait in the lap of an IDE, i'de like to understand what libs i'm using and keep my options open | 13:27 |
djszapi | 13:25 < xarcass> elzalem: if you came from the ios world, then qtcreator would be the right choice. btw, i'm sure there's no way installing scratchbox on the mac os -> I disagree with both. | 13:28 |
djszapi | 1) I guess there is a chroot on Mac | 13:28 |
xarcass | djszapi: well, i knew you'd say that :) | 13:28 |
djszapi | 2) QtCreator way is way much more Ui designer and Qt way than scratchbox and text editor as he said the requirements in the beginning. | 13:28 |
xarcass | djszapi: i'm still interested how to install scratchbox on the mac | 13:29 |
djszapi | xarcass: use chroot or at last effort, VM ? | 13:29 |
djszapi | the same I have been doing on Mac actually :) | 13:30 |
djszapi | * Linux | 13:30 |
elzalem | guys guys, im lost now :) | 13:32 |
xarcass | djszapi: i haven't managed to install scratchbox on the opensuse even, even though i'm seasoned linux user. and i've tried really hard, believe me. i even gave away my n900 after that. speaking of VM, i've seen how qemu works - pitiful display | 13:32 |
djszapi | xarcass: do not use qemu for this process, that makes no sense :) | 13:33 |
elzalem | i just want to write in C++, have a native look and feel, and be able to access all of n9's api | 13:33 |
djszapi | elzalem: no need to be lost, I see no issues, mainly after you said debian is fine with you :) | 13:33 |
elzalem | djszapi: could you suggest a toolset compatible with what i need? | 13:34 |
xarcass | elzalem: if you want to waste a lot of time scrutinizing guts of the platform, don't use QtCreator. if you want to make an app quickly, then QtCreator is the only choice | 13:34 |
elzalem | xarcass: i want to play with the guts of the platform | 13:34 |
djszapi | xarcass: heh ? Almost everybody uses scratchbox inside Nokia as well... | 13:34 |
djszapi | yes, we waste a lot of time, sure, I believe you ... | 13:35 |
xarcass | djszapi: maybe that's why they didn't release N9 yet :) | 13:35 |
djszapi | elzalem: it is actually faster than QtCreator if you wanna get rid of the Ui stuff. Also, cmake will not simply properly work with QtCreator, so it is also functionality question. | 13:36 |
xarcass | djszapi: it may seem surprising, but some people just write apps for the platform. often with tight deadlines. i can't afford such luxury as deep studying of all underlying subsystems - my superiors want results. | 13:37 |
djszapi | xarcass: seriously no idea what you are talking about. | 13:37 |
DocScrutinizer | xarcass: SB installed on Opensuse11.1 here, not really a problem | 13:38 |
ajalkane_N950 | My wife would strangle me if she found out I'm trying to setup scratchbox when QtCreator gets the job done | 13:38 |
djszapi | ajalkane_N950: read back, it did not get the job done from the begnning, that was the issue... | 13:39 |
* mariob will not recommend this channel for new comers, too much politics :) | 13:39 | |
DocScrutinizer | xarcass: for fremantle though | 13:39 |
djszapi | also, it does not get the "job" done by using cmake. | 13:39 |
xarcass | DocScrutinizer: well, i can't remember exactly, it was probably 11.2 back then. there were some issues with python scripts, so i gave up. i hate python | 13:39 |
ajalkane_N950 | djszapi, I know, you need cmake | 13:39 |
xarcass | ajalkane_N950: my point exactly | 13:40 |
djszapi | ajalkane_N950: read back, the original problem is not about cmake. | 13:40 |
DocScrutinizer | xarcass: the "GUI installer" is known to give you headache. I followed a howto and used some "manual method" and it worked, without editing scripts or sth | 13:40 |
djszapi | ajalkane_N950: Also, I have never experienced so many blocker bugs for deploying like people mentioned here about QtCreator. | 13:41 |
xarcass | DocScrutinizer: well, i admit that my decision to give away n900 was stupid. i just hate when this kind of things happen with me. and yes, i've read all the howto's and manuals back then - without success | 13:42 |
*** veskuh has joined #harmattan | 13:42 | |
djszapi | elzalem: try both, and see =) | 13:42 |
*** djszapi has left #harmattan | 13:42 | |
mikhas | these were my notes to setup the Qt SDK: https://gitorious.org/miniature/miniature/blobs/raw/master/README.qt-sdk | 13:43 |
ajalkane_N950 | djszapi, maybe I will go sb way. But not until I hit a road block with QtC. Before that its just time wasted for me | 13:44 |
elzalem | djszapi which 1 first :p | 13:44 |
rm_you|johnx | if it weren't for SB i don't know how i would get anything done <_< | 13:45 |
rm_you|johnx | 99% of what i've been doing is compiling things like ffmpeg and mplayer... | 13:45 |
rm_you|johnx | that's not even related to QtCreator :P | 13:45 |
xarcass | member:rm_you|johnx: man, you're tough, but there are many simple folks, as me, in this world | 13:47 |
elzalem | is there a tut somewhere titled "how to write your first harmattan hello world app using SB and libmeegotouch" ? | 13:47 |
rm_you|johnx | heh, compiling existing programs isn't too hard | 13:47 |
rm_you|johnx | it's just about knowing how to wrangle dependencies and get around roadblocks | 13:48 |
mariob | elzalem: Why don't you just simply try creating a new harmattan project, remove the stuff in main and start writing whatever you want and then deploy. Open the terminal from you n950 and start the application | 13:48 |
elzalem | mariob: trying that now | 13:49 |
*** djszapi has joined #harmattan | 13:52 | |
elzalem | mariob: yep, that worked! | 13:55 |
mariob | elzalem: See, not that hard... :) | 13:55 |
elzalem | mariob: i fell dumb :P | 13:56 |
elzalem | feel* | 13:56 |
mariob | elzalem: Instead of spending time setting up dev env, you spend time creating stuff :) | 13:56 |
djszapi | mariob: I have never had such an issue with scratchbox though, so I could create my app instead. | 13:56 |
mariob | djszapi: I didn't mean guy like you... elzalem has never written a line Qt before if I'm correct | 13:57 |
mariob | *guys* | 13:57 |
mariob | djszapi: He just want to get started | 13:57 |
elzalem | mariob: that's right | 13:57 |
mariob | djszapi: evetually, he might start to take a look at "better" alternatives :) | 13:58 |
djszapi | mariob: what was the issue for the chmod problem after all ? | 14:00 |
mariob | djszapi: I don't know... probably something with the tools that deploy the deb package?! It's not nice that an error is generated but it still works... | 14:01 |
leinir | i don't understand how people have so much trouble setting up their dev environment for the n950... install qt sdk (using the installer, not from your distribution), install harmattan stuff from the software updater, create project, set up remote device, hey presto | 14:02 |
mariob | djszapi: I don't think that something specific for elzalem, I think everyone deploying from QtCreator has this isuue | 14:02 |
mariob | issue* | 14:02 |
djszapi | mariob: Unfortunately, it is not the first case like that with QtCreator :( | 14:02 |
mariob | leinir: +1 | 14:02 |
mariob | djszapi: I know your point of view on this topic :) | 14:02 |
Sput | leinir: cmake makes everything more complex :) | 14:03 |
leinir | Sput: well yes, it does - qt creator doesn't really play nice with that ;) | 14:03 |
djszapi | that is the other things, yes. | 14:03 |
Sput | leinir: for no good reason, given that the IDE as such provides full support for it | 14:04 |
leinir | for some definition of "full support" anyway ;) | 14:04 |
djszapi | Sput: kdevelop has the best support for cmake iirc, and it is still not "full" (unfortunately, it is not that simple). | 14:11 |
elzalem | guys, qt mobility classes such as QCamera http://developer.meego.com/api/1.2/qtmobility/qcamera.html are QT wrappers for other classes or they're the only classes to use? | 14:11 |
ajalkane_N950 | Lol, you really do want to avoid Qt like plague | 14:14 |
ajalkane_N950 | I'd say there is lower level access possible, but don't know myself | 14:15 |
*** achipa has joined #harmattan | 14:15 | |
*** achipa has quit IRC | 14:15 | |
*** achipa has joined #harmattan | 14:15 | |
*** javispedro has joined #harmattan | 14:15 | |
xarcass | elzalem: there's QML Camera element | 14:19 |
mariob | elzalem: Just out of curiosity, why do you want to develop for the N950 when you're not interested in learning the API that you should use? :) | 14:19 |
rm_you|johnx | omfg ffmpeg takes A BILLION YEARS to compile, jesus christ | 14:21 |
flux | mariob, maybe he likes the hardware. | 14:22 |
ajalkane_N950 | Or maybe he's hardcore gtk fan. Good old toolkit flamewars, not enough of them anymore | 14:24 |
rm_you|johnx | gtk is meh | 14:24 |
rm_you|johnx | qt is meh | 14:24 |
javispedro | or he wants to use MTF! | 14:24 |
rm_you|johnx | all the toolkits suck | 14:24 |
djszapi | javispedro: Could you get the knowledge about the inheritance ? | 14:24 |
javispedro | djszapi: nope, I've not even fully formulated the question yet :) | 14:24 |
ajalkane_N950 | I wonder how colossal undertaking it'd be to have gtk native looking | 14:25 |
javispedro | but it is along the lines of "when do tokens get inherited on exec()?" because sometimes trying to run a binary from develsh has printed an error message with many missing tokens | 14:25 |
javispedro | (tokens that develsh had and the exec'd() process is trying to inherit) | 14:25 |
ajalkane_N950 | Everytime i see abbreviation MTF, I'm thinking did he just write MF and why. T | 14:26 |
djszapi | javispedro: they are trying to inherit if you tell in the manifest file. | 14:26 |
javispedro | nah, no manifest | 14:26 |
djszapi | javispedro: if you do not tell, they do not try. | 14:26 |
javispedro | maybe that's the answer, unsigned binaries get all the parent's process tokens by default | 14:27 |
djszapi | nope | 14:27 |
javispedro | (and fail if they can't be granted) | 14:27 |
djszapi | they cannot simply be granted. | 14:27 |
djszapi | since nobody enlighted the dpkg wrapper. | 14:27 |
rm_you|johnx | holy crap ffmpeg has spent more time generating docs during this compilation process than actually compiling | 14:28 |
javispedro | djszapi: when you run a unsigned binary from develsh, and you look at dmesg, you will see that it has tried to test for many credentials | 14:29 |
djszapi | javispedro: yes, it is what I am saying. | 14:29 |
javispedro | but it's inheriting them | 14:31 |
javispedro | the binary is unsigned, without manifest, and thus shouldn't request any | 14:31 |
javispedro | I mean, it's inheriting the list of credentials to try and grab; the fact that it won't be able to is uninteresting. | 14:32 |
djszapi | javispedro: what you normally see in the syslog is that I tried to run something, but had no potential capability. It is not that what they "inherited". | 14:32 |
*** Evgeniy has joined #harmattan | 14:33 | |
hiemanshu | wonder if I can try and get opencv to work | 14:34 |
hiemanshu | it compiles on sbox, but I dont know how to generate packages :( | 14:35 |
djszapi | javispedro: it never tried to inherit anything without telling that. | 14:35 |
hiemanshu | well from sbox | 14:35 |
* hiemanshu goes to read | 14:35 | |
djszapi | tries* | 14:35 |
javispedro | hiemanshu: same as debian, dpkg-buildpackage. | 14:35 |
hiemanshu | javispedro: I know rpm packaging, not deb :P | 14:35 |
Sput | there should be a default debian/rules thingy in the sample projects | 14:36 |
djszapi | javispedro: that would be a big security hole ;-) | 14:36 |
javispedro | djszapi: yes, but the credentials are not granted. it's just that I'm curious why it tries such a list. | 14:37 |
djszapi | javispedro: it is not related to inheritance. It tries to do something, it requires credentials. Those credentials are not available. It fails so does the logging. | 14:38 |
djszapi | so it does logging* | 14:38 |
javispedro | yes, but WHY such credentials. | 14:38 |
javispedro | those are exactly the parent' process. | 14:39 |
*** lardman has joined #harmattan | 14:41 | |
*** trx has quit IRC | 14:41 | |
djszapi | javispedro: seems a very minor issue on your software which does not cause any issue otherwise. | 14:41 |
javispedro | as said, I'm curious -- just wanting to understand. | 14:41 |
djszapi | unfortunately, I have higher priority tasks than investigating this. I cannot be much of help here. | 14:42 |
javispedro | np, thanks anyway! | 14:42 |
elzalem | mariob: im too lazy to learn a new api | 14:43 |
elzalem | xarcass: there has to be Q in it... | 14:44 |
mariob | elzalem: Well then you should really learn Qt since it deploys on most devices :) | 14:44 |
elzalem | does it deploy on symbian? | 14:45 |
mariob | elzalem: For some time now | 14:45 |
xarcass | elzalem: there is Q in it: it's 'QML Camera element' | 14:45 |
mariob | elzalem: I think it's even easiser to write stuff for symbian atm because of the simulator in QtCreator | 14:45 |
elzalem | xarcass: i know, i was pointing to the Q, i wanted smth without a Q, like MeegoCameraDevice :P | 14:45 |
xarcass | mariob: is there a way to use qtcomponents for Symbian inside this simulator? | 14:46 |
mariob | elzalem: Just hate writing for symbian because there no native toolchain support for Linux. At least not bundled with the SDK. You have to use Remote Compiler | 14:46 |
mariob | xarcass: I'm not sure if that's been updated yet... I haven't touch symbian dev. since I got my N950 :) | 14:46 |
*** trx has joined #harmattan | 14:47 | |
djszapi | javispedro: Could you please send me a scenario and I can show you to others here, maybe someone feels like testing it :) | 14:47 |
javispedro | djszapi: ssh as root, develsh, touch script.sh, chmod u+x script.sh, ./script.sh, dmesg, see the large list of tokens | 14:48 |
*** CepiPerez has joined #harmattan | 14:48 | |
djszapi | javispedro: thanks =) | 14:49 |
djszapi | javispedro: ./script.sh | 14:53 |
djszapi | sh: ./script.sh: Operation not permitted | 14:53 |
javispedro | yes, now see dmesg | 14:53 |
djszapi | dmesg | 14:53 |
djszapi | dmesg: klogctl: Operation not permitted | 14:53 |
javispedro | hm. are you in develsh? | 14:54 |
djszapi | yup | 14:54 |
djszapi | same with root/user. | 14:55 |
djszapi | and I do not see any relevance in /var/log/syslog | 14:55 |
javispedro | nah, only appears in dmesg. | 14:56 |
djszapi | apart from this: Aug 24 13:56:39 (none) kernel: [445525.169525] Aegis: script.sh verification failed (no reference hash) | 14:56 |
djszapi | dmesg is not available here. | 14:56 |
rm_you|johnx | hrm i think i am getting my package version numbering wrong | 14:56 |
rm_you|johnx | oh well | 14:56 |
djszapi | javispedro: you cannot read dmesg inside the develsh | 14:59 |
javispedro | you can on my image.. | 15:00 |
djszapi | at least here. | 15:00 |
djszapi | and outside, I do not see any relevance to "inheritance". | 15:00 |
djszapi | Could you please paste what you mean by these lines ? | 15:00 |
javispedro | credp: sh: credential 0::1 not present in source SRC::9990004 | 15:01 |
javispedro | ... | 15:01 |
djszapi | I do not see any entry here from the runtime policy framework, so it seems fine here at least :) | 15:01 |
*** subbu has joined #harmattan | 15:03 | |
subbu | Hi | 15:04 |
*** deimos_ has joined #harmattan | 15:05 | |
subbu | I am trying to run the meego-ivi-home sample application on n950 | 15:05 |
subbu | but i am getting the following errors | 15:06 |
*** deimos has quit IRC | 15:08 | |
*** hardaker has joined #harmattan | 15:09 | |
lardman | how does one pass a component to a sub-component? | 15:10 |
lardman | assuming that question makes sense? | 15:10 |
lardman | e.g. I've got a PageStackWindow {} in my main.qml, and in there I create my mBarcode {} object and at the same level a Page {} object. Can the children of Page {} see mBarcode {} ? | 15:12 |
rm_you|johnx | wooo | 15:13 |
rm_you|johnx | n950 now has Mplayer2 | 15:14 |
rm_you|johnx | and a proper new ffmpeg stack | 15:14 |
hiemanshu | rm_you|johnx: \o/ | 15:14 |
rm_you|johnx | ^_^ | 15:14 |
lardman | :) | 15:14 |
spenap | lardman, I'd say so: have you tried referencing it using the id property? | 15:14 |
hiemanshu | lardman: IIRC yes, if you have the id set | 15:14 |
lardman | spenap: not yet, just writing code before I can run it, trying to get my head around how the QML stuff should work | 15:14 |
hiemanshu | lardman: IIRC from the docs, anything that has an id set can be called or used from within the program | 15:15 |
spenap | lardman, I see. In my opinion, that should work. | 15:15 |
lardman | hiemanshu: ah ok | 15:15 |
*** BrettQ has quit IRC | 15:15 | |
hiemanshu | ofc if you want to share between QML and C++, you need to use Q_INVOKABLE and Q_PROPERTY and such | 15:16 |
lardman | do objects based on QDeclarativeComponent automatically support id properties, or do I need to implement that in my C++ code? | 15:16 |
ajalkane_N950 | lardman, children see parent's properties, even when they're defined in different files | 15:16 |
*** javispedro has quit IRC | 15:16 | |
lardman | ajalkane_N950: do children see their uncle's properties? | 15:16 |
hiemanshu | well if the uncle is nice :P | 15:16 |
lardman | lol | 15:16 |
ajalkane_N950 | lardman, no, but you can do property alias | 15:17 |
ajalkane_N950 | in the parent that is | 15:17 |
lardman | ok | 15:18 |
rm_you|johnx | anyone know how how to increase font size in the terminal? | 15:19 |
hiemanshu | rm_you|johnx: pinching | 15:19 |
rm_you|johnx | thx :P | 15:20 |
* rm_you|johnx is excited about mplayer2 | 15:22 | |
djszapi | does that also merge ffmpeg into the project ? | 15:23 |
rm_you|johnx | no, it actually completely cuts it out of the project | 15:24 |
rm_you|johnx | it DEPENDS, but does not include pieces of the ffmpeg codec tree like it used to | 15:24 |
rm_you|johnx | which is WAY better | 15:24 |
rm_you|johnx | no more randomly out-of-sync ffmpeg codec libs | 15:25 |
rm_you|johnx | what this means for YOU is that you can now install ffmpeg as of debian-wheezy, and mplayer2 as of their latest official release (2.0) | 15:25 |
*** Evgeniy has quit IRC | 15:26 | |
rm_you|johnx | can someone try to install mplayer from my repo and make sure it installs properly / pulls all of its deps? | 15:32 |
lardman | hmm ok so property aliasing is only used within a component | 15:33 |
lardman | so does this go back to the earlier statement that if an object has an id set it can be accessed anywhere? | 15:34 |
djszapi | rm_you|johnx: yay, that is really nice :) | 15:35 |
djszapi | rm_you|johnx: we have been trying to use ffmpeg in gluon, and this was my biggest concern, the ffmpeg instability which might still be the case though. | 15:35 |
ajalkane_N950 | using ids you can access them from anywhere | 15:35 |
djszapi | but it seems to be a step if mplayer cut it out. | 15:35 |
rm_you|johnx | and i finally have an encoding profile for handbrake or mencoder that will produce very nice looking and not-laggy videos | 15:35 |
xarcass | lardman: no. visibility issues are rather complicated in QML. but from my experience, children can access to the parent component by id. and we're speaking about components, not items here, right? | 15:36 |
rm_you|johnx | well yes, mplayer cut it out of its source tree, but it still requires ffmpeg libs to build -- that was clear, right? | 15:37 |
lardman | xarcass: I'm somewhat confused as to the difference - afaiu components are encapsulated and need to be created? | 15:37 |
djszapi | rm_you|johnx: yes, sure. The problem is that mplayer got it internally is mostly the ffmpeg API instability. | 15:37 |
rm_you|johnx | yeah | 15:37 |
rm_you|johnx | so yes, it seems to have stabilized somewhat | 15:37 |
djszapi | and as such, I would not like to do the same in our project. | 15:37 |
djszapi | but it seems to be getting better :) | 15:38 |
xarcass | lardman: right. and children components can access parent components by id | 15:38 |
* lardman thinks about going to a single file for all his code | 15:38 | |
lardman | xarcass: ok, and what's an item then? Just a base container like QObject? | 15:39 |
lardman | My setup is to have a number of Page {} items which do things, but I need each to have access to my C++ QML exported mBarcode object | 15:39 |
xarcass | lardman: i'm not an expert here, but i suppose items are instantiated once. unless they are inside component. | 15:40 |
lardman | so should I wrap each page as a component and do property aliasing so that I can pass each the mBarcode object? | 15:40 |
lardman | xarcass: ok | 15:40 |
xarcass | lardman: i've seen somewhere in documentation, that pages should be components because this way it's better for memory management | 15:41 |
ajalkane_N950 | the cpp registered ids can be accessed from wverywhere | 15:41 |
ajalkane_N950 | dont wrap pages in component | 15:42 |
djszapi | Is there a common list about that when the c-obs is getting stuck by rpc timeout ? | 15:42 |
lardman | why not? | 15:42 |
ajalkane_N950 | define them in their own file | 15:42 |
lardman | yeah I do that already | 15:42 |
lardman | does that make them a component then? | 15:43 |
ajalkane_N950 | then load them using Qt.createComponent | 15:43 |
ajalkane_N950 | if you want to preserve memory that is | 15:43 |
lardman | is that necessary? Can I not just do NameOfQMLFile {} and it will create the object? | 15:43 |
djszapi | rZr ping | 15:43 |
ajalkane_N950 | yes you can | 15:43 |
lardman | ok good | 15:44 |
lardman | all of the pages are always loaded and ready, so I'm not bothered about preserving memory | 15:44 |
ajalkane_N950 | you only need it if you want to preserve memory | 15:44 |
lardman | or if I want to use property aliasing? | 15:44 |
lardman | though if I can access my mBarcode object anywhere, that may not be necessary anyway | 15:45 |
RST38h | lardman, javispedro, moo | 15:45 |
lardman | hey RST38h | 15:45 |
ajalkane_N950 | property aliasing should work in Page element | 15:45 |
lardman | ajalkane_N950: ah ok, I thought it was just in Component from the docs | 15:45 |
wazd | RST38h: o/ | 15:46 |
ajalkane_N950 | but if i remember correctlly, only in root component | 15:46 |
lardman | ok one more question, should I create my mBarcode object in the C++ code, and push it to the QML engine, or can I get the QML code to instantiate an mBarcode {} object once I qmlRegisterType ? | 15:47 |
ajalkane_N950 | if it is a component, register it as such | 15:47 |
lardman | it is and I do, but I think I can then create an object in the C++ code and push it into the global(?) QML workspace? | 15:48 |
ajalkane_N950 | if its something you invoke only funcs on, just push it | 15:48 |
lardman | Nomenclature is probably wrong there | 15:48 |
lardman | It creates signals and has various properties accessed when the QML code receives the signals | 15:49 |
*** veskuh has left #harmattan | 15:49 | |
ajalkane_N950 | if its single instance, then push it | 15:49 |
lardman | ok | 15:49 |
ajalkane_N950 | if it needs several instances in qml, register type | 15:50 |
lardman | only needs one, so I should do something like this? view.rootContext()->setContextProperty("mBarcode", mBarcode); ? | 15:51 |
lardman | assuming mBarcode is an instance of my mBarcode class | 15:51 |
ajalkane_N950 | lardman, yes if i remember correctly | 15:52 |
lardman | ah, is creating my own QDeclarativeView slow though? | 15:53 |
lardman | Should I instead create the engine and then use: QDeclarativeEngine engine; | 15:53 |
lardman | QDeclarativeContext *objectContext = new QDeclarativeContext(engine.rootContext()); | 15:53 |
lardman | QDeclarativeComponent component(&engine, "application.qml"); | 15:53 |
lardman | QObject *object = component.create(objectContext); | 15:53 |
lardman | I still need to add the mBarcode object of course | 15:54 |
*** berndhs has joined #harmattan | 15:54 | |
rm_you|johnx | GeneralAntilles: yo | 15:54 |
rm_you|johnx | GAN900: yo | 15:54 |
rm_you|johnx | what happened to SnapGo (or whatever it is called)? :P | 15:54 |
ajalkane_N950 | if possible use just one view | 15:54 |
ajalkane_N950 | so yes, the latter | 15:55 |
lardman | ajalkane_N950: I will do that, but is it better to create the view myself and load the qml into it, or to create the engine and do it that way? | 15:55 |
lardman | or are they actually the same? | 15:55 |
ajalkane_N950 | might be, i dont remember :) | 15:56 |
lardman | np :) | 15:57 |
RST38h | wazd: heya | 15:59 |
*** rm_you|johnx has quit IRC | 15:59 | |
wazd | RST38h: any fancy updates? :) | 16:03 |
lardman | ok, a possible reason to instantiate the C++ object in the QML code is afaict so that I can create the signal handlers, or is there another way to do this for objects that exist in the root context when the main.qml file is run? | 16:03 |
lardman | i.e. my C++/QML component will emit signals that need to make QML components do things | 16:04 |
mariob | lardman: Look at the Connections element | 16:04 |
*** CepiPerez has quit IRC | 16:04 | |
RST38h | wazd: nah, I am currently away from the city, can'tdo muc | 16:06 |
*** crevetor has joined #harmattan | 16:06 | |
RST38h | wazd: no n950 at hand, really patchy net access, family in tow | 16:06 |
*** eman has quit IRC | 16:07 | |
lardman | mariob: I saw that, but was slightly confused about the scoping | 16:12 |
lardman | so basically I can place a connections element anywhere and it can refer to any object's signals? | 16:13 |
mariob | lardman: yes | 16:13 |
mariob | lardman: Connections { target: myCppObject; onACppSignal: doStuff() } | 16:14 |
lardman | ok cool, thanks | 16:14 |
*** xarcass has quit IRC | 16:14 | |
*** ajalkane_N950 has quit IRC | 16:14 | |
Jaffa | Soon-to-be-in-COBS (tonight, probably) version of Attitude http://twitter.com/#!/jaffa2/status/106353933454295040 | 16:16 |
lardman | mariob: re Connections element, if I place that anywhere, can it see the ids of components created below its level? | 16:16 |
lardman | hi Jaffa | 16:17 |
*** baraujo has joined #harmattan | 16:17 | |
mariob | lardman: I think so... The parent child thing is only for anchors I think | 16:17 |
artemm | lardman, I think Connections respects scope | 16:17 |
artemm | and it should be able to see siblings (and their children if declared in the same qml) | 16:18 |
lardman | I guess I could play safe and use 3 Connections {} elements, with each as a child of the object it will be linked to? | 16:19 |
lardman | as there are three signals | 16:19 |
*** javispedro has joined #harmattan | 16:19 | |
artemm | can you tell again what you are trying to do? | 16:19 |
lardman | sure | 16:20 |
artemm | you can verify whether it works in pure qml, without c++ involved | 16:20 |
mariob | lardman: You can actually "catch" all three signals in the same Connections element | 16:20 |
lardman | I have a C++ class which wraps the reception of DBus signals containing information about a scanned barcode, and which then asks its plugins to see which can handle the type/content | 16:21 |
lardman | I need to export this class to QML so that my QML UI can interact - display info about a received barcode, plugin lists, buttons to trigger plugin actions, etc | 16:21 |
lardman | mariob: ok, I'll try that for the time being then | 16:21 |
wazd | RST38h: ah, np :) | 16:21 |
*** subbu has left #harmattan | 16:22 | |
artemm | if you export class to qml, you can handle its signals the normal qml way | 16:23 |
artemm | you know, onSomethingHappened: {} | 16:23 |
artemm | http://doc.qt.nokia.com/latest/gettingstartedqml.html#extending-qml-using-qt-c | 16:23 |
lardman | yeah I'm doing that | 16:23 |
lardman | the question was whether to create my C++/QML class in C++ code and push it to the root context/workspace/whatever it's called; or to let the qml file create the object after registering it as a qml type in the C++ code | 16:24 |
mariob | artemm: He means that he puts a C++ object in the context from the C++ side, not registering the type to qml | 16:24 |
lardman | I can do either, not sure whether there's benefits either way | 16:24 |
artemm | IMHO registering qml type is more elegant | 16:25 |
artemm | yet context property may be easier | 16:25 |
lardman | the issue is then accessibility of the object, as it's required in all of the sub-pages/components of my UI | 16:26 |
mariob | artemm: especially if you only invoke methods and have the object act as a singleton | 16:26 |
artemm | yeah, qml doesn't handle global vars nicely | 16:26 |
lardman | afaiu adding to the context makes it available throughout; not sure about what happens if I create it in the qml code | 16:26 |
mariob | lardman: You can always refer to an id as long the item is a child | 16:26 |
artemm | if you create it in qml, you have to care to create it at the main object probably | 16:26 |
artemm | it is possible to store it in a global JS variable, but that's not that easy | 16:27 |
artemm | well, then context property is probably more appropriate | 16:27 |
lardman | mariob: can random components be children of my mBarcode object though? Perhaps they can be, I've no idea how it's supposed to work | 16:27 |
mariob | lardman: Well, you still having a main.qml. And in that file you could create a MBarCode { id: mBarCode } and that would be accessable in all qml files which are childrens (and children to the childrens etc) to main.qml | 16:29 |
artemm | I'd be worried if you really need to access same global object from many-many places. Smells not modular design | 16:30 |
mariob | artemm: That's another question :) | 16:30 |
GeneralAntilles | rm_you, pong? | 16:31 |
artemm | You can create a BarcodeReader somewhere, it could pass something like BarcodeMeaning or subtypes of it ProductBarcode, BusinessCardBarcode, etc | 16:32 |
lardman | So yeah I've encapsulated a few things in the mBarcode object but it makes life far simpler - mBarcode monitors DBus for messages, maintains a list of barcodes that have been previously scanned and also maintains pointers to the plugins | 16:36 |
artemm | Are your plugins to be instantiated all the time? | 16:37 |
lardman | so a couple of UI pages are used: one to display what has just arrived, and to show a list of plugins; another to display the history list and another to display settings | 16:37 |
lardman | yes the plugins are all instantiated all the time | 16:37 |
artemm | Then these would sound like good candidates for QML objects | 16:37 |
artemm | and some kind of "recognized" signals | 16:37 |
lardman | they are not in QML though, they are C++ classes | 16:37 |
lardman | I don't see any point in making them QML as QML is more suited to UI stuff afaiu | 16:38 |
artemm | maybe, I am biased toward QML | 16:38 |
lardman | certainly the plugins will return a QML Container object so that it can be displayed, but I've no desire to write the plugins in Javascript | 16:39 |
djszapi | https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=scrot&project=home%3Arzr%3Aharmattan&repository=MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard -> Any idea why this package is getting stuck ? | 16:40 |
rcg | djszapi: do you use aegis? i.e. create a aegis manifest for that package? | 16:42 |
GeneralAntilles | Jaffa, you need some clouds and a ground texture | 16:43 |
rcg | or do other fancy stuff to the *.deb file after it had been build? | 16:43 |
Jaffa | GeneralAntilles: Probably not :-p THinking about how to integrate compass tho' | 16:43 |
djszapi | rcg: it is a simple package without aegis. Aegis cannot cause compilation time issue | 16:44 |
*** ajalkane has joined #harmattan | 16:45 | |
javispedro | Jaffa: make it OpenGL! integrate wheater.com support so that it rains if it is rainy outside! make day&night cycles! add stars! | 16:45 |
rcg | djszapi: alright.. the log file didn't open yet for me.. so i assumed "being stuck" as in the "aegis being stuck issue after build finished" :) | 16:45 |
javispedro | add some terrain and the ability to take off! ;) | 16:45 |
lardman | ok, another random one - signal parameters, how are these named? Same name as the C++ signal that creates them? | 16:46 |
GAN900 | Jaffa, unambitious. | 16:46 |
GAN900 | Nokia *gives* you an N950 and you can't even manage clouds. :P | 16:47 |
djszapi | rcg: something is weird, but it builds locally :( | 16:47 |
*** maxw has quit IRC | 16:48 | |
rcg | djszapi: hmm strange thing.. could you copy&paste the log output to pastebin or something? | 16:48 |
rcg | its not opening the log for me | 16:48 |
* lardman is a bit confused by the syntax colouring in Qt Creator for QML code | 16:50 | |
ajalkane | lardman: I tend to try to do pure C++ stuff for the backend. Then adaptor objects for that so that the data can be displayed in QML easily. And in QML purely the UI (+ its logic). | 16:50 |
*** spenap has quit IRC | 16:51 | |
*** qgil has joined #harmattan | 16:51 | |
lardman | ajalkane: well most of my backend is pure C++ | 16:51 |
lardman | but as the functionality is not overly large I'm trying to wrap the entire C++ backend as a QML component | 16:51 |
djszapi | rcg: yeah, if you have rpc timeout, it never shows any log :( | 16:53 |
ajalkane | lardman: you can probably keep it cleaner and more portable if you create a C++ wrapper object to the actual backend that exposes just the stuff QML needs | 16:54 |
ajalkane | But maybe that's exactly what you're doing :) | 16:55 |
lardman | ajalkane: not too bothered about portability atm, just want to get something up and running - there's also not much else in the backend that QML doesn't use | 16:55 |
lardman | plugin handling of course, but equally the ui needs to see some of the plugin stuff so it can list names and enabled/disabled states and priorities | 16:55 |
lardman | other than that it's just the DBus listener | 16:56 |
djszapi | rcg: scrot would be great to take screenshots from cli instead of the long gstreamer-tools line: "gst-launch ximagesrc num-buffers=1 ! ffmpegcolorspace ! dspjpegenc ! filesink location=shot.jpg" | 16:56 |
ajalkane | Right. One thing as a QML newbie I say that it has been a pleasure for me how easily you can prototype and create the UI before the backend is ready. It's been quite nice that way. | 16:56 |
artemm | lardman, there are so many ways to do it :) | 16:57 |
artemm | maybe you just try whatever feels easier | 16:57 |
lardman | hmm, I can't seem to use qmlviewer | 16:57 |
lardman | so my prototyping has been rather painful thus far | 16:57 |
artemm | if you "just want to get something up and running", connecting a single c++ signal to qml may be enough | 16:57 |
ajalkane | I just have the main() that starts the qml. No backend code and I can do the UI ready before plugging in the backend code | 16:58 |
lardman | "get something up and running" meaning the whole app, even if the design can be improved later on | 16:58 |
artemm | you can't use qmlviewer? :/ | 16:58 |
artemm | most of my development is on qmlviewer without any c++. Full app just injects a real object instead of simulated one | 17:01 |
artemm | qmlviewer with just qml is blazingly fast | 17:01 |
*** ajalkane_N950 has joined #harmattan | 17:04 | |
lardman | I've got a tab bar and qmlviewer won't show it | 17:06 |
artemm | you mean meego's tab bar? | 17:07 |
qgil | hi, any chess aficionado and / or Harmattan user willing to try installing http://wiki.maemo.org/Miniature/0.3_Berlin_Defence ? feedback welcome | 17:07 |
lardman | artemm: Sorry, I meant a ToolBar | 17:07 |
artemm | whatever. If it's harmattan-specific, it can't be tested on desktop indeed | 17:07 |
artemm | that is unless you compile current 4.7.4 yourself | 17:08 |
lardman | artemm: nah, I can test within sb | 17:08 |
lardman | qgil: I'll give it a go later on | 17:08 |
qgil | lardman: appreciated! | 17:08 |
lardman | np :) | 17:08 |
artemm | I have some pain from it too, but Harmattan-specific part of my code is just a small wrapper, so the rest works on desktop | 17:08 |
artemm | sorry, qgil, not into chess | 17:09 |
qgil | artemm: it's ok, nobody is perfect ;) | 17:09 |
radiofree | qgil : very first impression, needs an icon | 17:12 |
radiofree | qgil: very second impression, would be nice to play without having to register at freechess | 17:12 |
qgil | radiofree: about the icon, do you get a red square? | 17:13 |
radiofree | qgil: yes | 17:13 |
qgil | if so, the icon will be there after rebooting - that's a bug and you just confirmed it, thanks! :) | 17:13 |
djszapi | that is also a bug in my application, I wonder what that can be. | 17:14 |
qgil | about playing not at FICS, what is your preference among http://wiki.maemo.org/Miniature/Wishlist radiofree | 17:14 |
djszapi | the postprocess seems to run the desktop-file-utils and others. | 17:14 |
rcg | djszapi: sorry.. am only sporadically looking in here... | 17:15 |
djszapi | rcg: no real worry :) | 17:15 |
radiofree | qgil: Play against computer and Playing games against someone on the same device (doesn't appear to be there) | 17:16 |
radiofree | although it looks like i can use the testing board for that! | 17:16 |
radiofree | I have to say though, it looks very nice | 17:16 |
qgil | radiofree: playing against computer is in the wishlist and in fact mikhas has already plugged GNUChess to the backend (I think) | 17:17 |
radiofree | click piece, click square should instantly move, you've picked it up! :) | 17:17 |
radiofree | Playing against computer would be great, I think i'd prefer having a local game with a friend in the pub or something though | 17:18 |
qgil | radiofree: playing against someone with the same device is also in the wishlist, and it's in fact what the first Miniature covers/ed in Maemo/N900 | 17:18 |
qgil | I also like that, and I bet once we have the pieces for playing online & against computer, enabling the purely local game will be simple | 17:18 |
qgil | we will still have the debate of how to deal with the pieces so players at both sides of the device are happy but well | 17:19 |
radiofree | qgil: It looks like i can do the local game already, with the testing board | 17:19 |
radiofree | but, awesome work | 17:19 |
qgil | radiofree: not quite, you will want to castle and promote pawns :) | 17:19 |
qgil | thanks! if you like chess feel free to idle at #miniature :) | 17:19 |
qgil | also the second player will have to see the piece upside down | 17:20 |
*** harbaum has quit IRC | 17:20 | |
qgil | I have to say that none of this seems to worry my little kids, who are asking these days for my N9 to play "their" chess | 17:20 |
qgil | the little one likes the fact that he can make jump a knight anywere... although this somehow upsets the bigger one, more conscious of the actual chess rules ;) | 17:20 |
radiofree | heh | 17:21 |
lardman | :) | 17:25 |
*** wazd has quit IRC | 17:25 | |
ajalkane_N950 | kids.. my older would much like "MeeGo" in his hands. No way | 17:26 |
djszapi | qgil: if you have a fix for that red icon matter, please let me know :) | 17:27 |
mikhas | red matter? | 17:27 |
mikhas | THat's from the last Star Trek movie, not? | 17:27 |
Sput | was that made from redshirts? | 17:28 |
qgil | djszapi: we will tell you, mikhas (yes, the funny guy above) ;) is actually the one in charge of finding out what's going on :) | 17:28 |
djszapi | yep, it is dodgy. | 17:28 |
lardman | hmm, amazingly it all compiled with only a few errors | 17:28 |
*** spenap has joined #harmattan | 17:32 | |
*** sudanix has joined #harmattan | 17:36 | |
*** achipa has quit IRC | 17:37 | |
djszapi | rZr: What is this aggregate file you keep spreading ? :) | 17:39 |
sudanix | How I can run my first app in the harmattan qmeu included with Qt SDK ? I cannot start it and it display this error message: Qemu finished with error: Exit code was 1. | 17:40 |
*** elzalem has left #harmattan | 17:41 | |
ajalkane | sudanix: target MeeGo Harmattan 1.2 API, not Harmattan API | 17:42 |
sudanix | <ajalkane>: I do this also but the same error appear :( | 17:49 |
ajalkane | does qemu start? | 17:50 |
sudanix | NO if fails with this error: Qemu finished with error: Exit code was 1. | 17:52 |
ajalkane | hmm... no idea. worked in Ubunto like (slow) charm | 17:53 |
*** fiferboy has joined #harmattan | 17:53 | |
djszapi | fiferboy hey :) | 17:53 |
*** NIN101 has joined #harmattan | 17:54 | |
sudanix | I use ubuntu 11.4 | 17:54 |
fiferboy | djszapi, Hi | 17:55 |
ajalkane | LTS for me. You can try starting qemu manually if it'd give a hint | 17:55 |
djszapi | fiferboy: what would you suggest in QML for software version dependent includes ? Say, n950 with the old image: Laszlo Papp via archlinux.us to timur | 17:56 |
djszapi | show details 11:52 AM (9 hours ago) | 17:56 |
djszapi | oops, sorry :) | 17:56 |
djszapi | fiferboy: thing is that the input changed a bit: import com.meego.extras -> import com.nokia.extras | 17:57 |
djszapi | it is easy to do with cmake and C++, not sure about QML and qmake. | 17:57 |
djszapi | I can pass anything from C++ for sure, but is there a nicer way ? :) | 17:59 |
fiferboy | djszapi, com.nokia.extras will work on the N950 with the latest components | 17:59 |
djszapi | fiferboy: but that is not the case for now :) | 17:59 |
djszapi | I know it is a bit silly situation :( | 18:00 |
djszapi | mikhas qgil: I think I fixed the icon issue | 18:01 |
qgil | djszapi: did you find a way to force a refresh or..? | 18:02 |
* qgil remembers the same issue in the early days of Fremantle... | 18:03 | |
fiferboy | djszapi, unfortunately I do not know a way to do that | 18:04 |
*** sudanix has quit IRC | 18:06 | |
ajalkane | in qtcreator you can add build steps, so you could do filter scripts to change imports. Doing it in dynamically in runtime, no idea | 18:06 |
djszapi | qgil: absolute path for now :) | 18:07 |
mikhas | in desktop file? | 18:07 |
mikhas | gosh | 18:07 |
mikhas | how fugly | 18:07 |
djszapi | yes, it is, but working until I find the real fix. | 18:08 |
mikhas | then again, you need the absolute path already when installing the icon | 18:08 |
mikhas | so not too bad, really | 18:08 |
mikhas | just wrong docs | 18:08 |
djszapi | I think it is a bit bad in theory, because it is not that portable solution. | 18:08 |
lardman | hmm, why does qmake keep adding stuff to my .pro file when I try to do a build? | 18:09 |
lardman | unix:!symbian:!maemo5 { | 18:09 |
lardman | target.path = /opt/mbarcodeliteqml/bin | 18:09 |
lardman | INSTALLS += target | 18:09 |
lardman | } | 18:09 |
lardman | is tacked on the end each time | 18:09 |
lardman | any ideas how to get rid of that functionality? | 18:09 |
lardman | hmm, it just keeps adding them on as I sit here... | 18:10 |
lardman | 12 of those now | 18:11 |
lardman | a new one every time it does the Evaluating business | 18:11 |
* lardman restarts Qt Creator and says no to the question about adding packaging info | 18:12 | |
djszapi | mikhas: what I would expect is some solution which resemble the gcc -L/I design. | 18:12 |
djszapi | so that the install prefix is not hard coded. | 18:12 |
djszapi | resembles* | 18:12 |
djszapi | mikhas: ls /usr/share/applications/ and check out the desktop file of those apps. | 18:13 |
*** Arkenoi has quit IRC | 18:15 | |
djszapi | from QMLViewer: Icon=/usr/share/icons/hicolor/64x64/apps/QMLViewer.png -> that is the way, it seems so. | 18:16 |
djszapi | mikhas: I think the best solution is to patch it in the debian rules file. | 18:16 |
djszapi | otherwise you just break the cross-platform rules, if you do it in your project. | 18:17 |
djszapi | or figuring out what the reboot actually does, but that is also debian rules or maintainer script modification. | 18:18 |
mikhas | the reboot kicks mthemedaemon | 18:19 |
mikhas | I was told to zap it and check | 18:19 |
djszapi | for the time being, I was putting a sed command into the rules file :) | 18:20 |
lardman | hmm, well it runs but I get a black screen, so presumably some problem in my qml code | 18:20 |
djszapi | mikhas: running mthemedaemon did not help to me. | 18:23 |
artemm | what's the best icon resolution for N9? QtCreator wizard uses 64x64 dir, UX guidlines tell about 80x80, /usr/share/icons/hicolor contains folders for 128, 192, 24, 32, 48, 72, 16, 22, 256, 36, 63, 96 and even some "scalable" folder :) | 18:23 |
artemm | so what makes the best icon for N9 | 18:23 |
mikhas | 80x80 | 18:23 |
artemm | and where do i put it? | 18:23 |
djszapi | viva la QtCreator again :) | 18:24 |
artemm | to 64x64 folder and assume it will be resized? | 18:24 |
djszapi | artemm: 63 ? :) | 18:24 |
artemm | i mean that folder will be ignored | 18:24 |
mikhas | those folders dont work anyway | 18:24 |
artemm | ok, so i just put it to 64x64 folder and ignore the folder's name? | 18:24 |
djszapi | artemm: /usr/share/applications/ | 18:24 |
mikhas | well, they do with absolute paths, ahem | 18:24 |
djszapi | artemm: that is the "standard" place | 18:25 |
artemm | hmm, wizard puts it to /usr/share/icons/hicolor/64x64/apps/ | 18:25 |
artemm | and my unix knowledge is quite minimal | 18:25 |
djszapi | file a bug against QtCreator. | 18:26 |
thp | artemm: absolute paths work. /usr/share/applications/ for .desktop files, icons *should* go into /usr/share/icons/hicolor/scalable/apps/, but e.g. /opt/<appname>/<appname.png works as well (with the absolute path to it in the .desktop file) | 18:26 |
thp | scalable (svg) icons, mind you. | 18:26 |
djszapi | thp: absolute path is not really a portable way of doing it | 18:26 |
artemm | thp, question is should I use svg or not | 18:26 |
thp | basically, it's /usr/share/icons/hicolor/<size>/ for .png in that size (e.g. 64x64) or scalable for .svg | 18:26 |
thp | djszapi: well, what's portable that works on maemo 5, harmattan, meego proper, linux desktop, etc..? | 18:27 |
artemm | sorry, djszapi, won't file a bug as I don't understand teh situation well enough | 18:27 |
artemm | can vote for such a bug though | 18:27 |
thp | maemo 5 for example wants .desktop files in /usr/share/applications/hildon/, etc.. | 18:27 |
thp | maemo 5 can't have svg files as icons (iirc) | 18:27 |
thp | etc etc | 18:27 |
djszapi | thp: nope, it does not work, it is different on different platforms, it will break on my linux or harmattan | 18:27 |
javispedro | I'd put in scalable no matter what =) | 18:27 |
djszapi | thp: the solution is to make a sed comment in the rules file or figure out what the reboot does. | 18:28 |
artemm | well, since there's going to be single device only, single 80x80 icon is good enough | 18:28 |
thp | and meego proper (at least the tablet ux) expects 100x100 icons, whereas harmattan wants 80x80 ones | 18:28 |
javispedro | basically, largest icon in scalable, if you have smaller sizes then put them in appropiate folders | 18:28 |
thp | it's a total mess, anyway | 18:28 |
artemm | thanks, guys, I got my answer for where to put which icon | 18:29 |
javispedro | (or put .svg in scalable.... but dunno what fremantle will do with it, if it'll fallback or display black square...) | 18:29 |
thp | one should write a wiki page with "sane recommendations" for every platform/variant | 18:29 |
thp | (with "one" being someone other than me) | 18:29 |
artemm | I'll follow the wizard way for paths though as it seems to work and I don't won't to learn meego packaging just for filing a bug | 18:29 |
thp | javispedro: i think fremantle doesn't support svgs for the menu | 18:29 |
javispedro | it doesn't, but I don't know what it'll do | 18:30 |
djszapi | thp: ahh sorry I confused it with desktop files, yes you were right about the path. Imo, absolute path still breaks the crossplatform rule though | 18:30 |
javispedro | hopefully it would fallback to the next size | 18:30 |
Jaffa | GAN900: Nokia *lends* me an N950 and I can't be bothered to do clouds. | 18:30 |
thp | djszapi: absolute path for icon is okay according to the spec | 18:30 |
thp | djszapi: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html | 18:30 |
Stskeeps | h | 18:31 |
thp | "If the name is an absolute path, the given file will be used. If the name is not an absolute path, the algorithm described in the Icon Theme Specification will be used to locate the icon. " | 18:31 |
djszapi | thp: spec or not, it is different on different platforms I have been using. | 18:31 |
javispedro | which means that if you put an absolute path, you break theming | 18:31 |
djszapi | so it will well break somewhere. | 18:31 |
thp | djszapi: sure. but then it's a bug in whatever platform it does not work on | 18:31 |
mikhas | djszapi, since when are .desktop files cross-desktop? | 18:31 |
javispedro | they are supposed to! otherwise why we don't just use a sqlite binary db that will probably reduce boot time by half | 18:32 |
djszapi | thp: yep, so it is needed patching in the rules file anyway, so I do not see the difference between having an absolute path compared to an icon name. | 18:32 |
djszapi | thp: or actually in this special case, figuring out what the reboot does. | 18:32 |
*** ajalkane_N950 has quit IRC | 18:33 | |
thp | djszapi: for harmattan, my take is to just hardcode the absolute path, and have a 80x80 PNG there. works for me. on harmattan. which is all that counts. for fremantle and "pure linux desktop", i have other packaging/files there, anyway | 18:35 |
djszapi | you have different desktop files for each platform ? | 18:35 |
djszapi | because what I am saying is that, I think it is one liner sad job in the rules or maintainer scripts. | 18:35 |
djszapi | for that platform where it does not work oob (the first is Harmattan for me) | 18:36 |
djszapi | sed job* | 18:36 |
thp | djszapi: yes. linux desktop: https://github.com/gpodder/gpodder/blob/tres/data/gpodder.desktop.in - maemo 4: https://github.com/gpodder/gpodder/blob/master/data/maemo/gpodder.desktop - harmattan: https://github.com/gpodder/gpodder/blob/harmattan/data/gpodder.desktop.in | 18:37 |
thp | so at least for harmattan, your Exec= line probably needs "invoker", so that's one other platform-specific change | 18:38 |
artemm | BTW, weird bug with not copying invoker is still present | 18:38 |
thp | i'm not sure where the fremantle .desktop file is. could be that it's shared with linux desktop (just installed into /u/s/a/hildon/ instead of /u/s/a/) | 18:38 |
artemm | one mentioned here: http://forum.meego.com/showthread.php?p=26313#post26313 | 18:38 |
djszapi | thp: I do not see the difference, they still need to make the packaging differently ;) | 18:39 |
djszapi | and I do not have X files, so the repo is "cleaner". | 18:40 |
thp | X files? | 18:40 |
djszapi | thp: btw, I have not used invoker in my desktop file, what is that supposed to do ? | 18:40 |
thp | djszapi: single instance | 18:41 |
thp | + boosted startup for some types of apps | 18:41 |
djszapi | thp: X files as in: gpodder.desktop.in gpodder.desktop and gpodder.desktop.in | 18:41 |
thp | + startup logo/placeholder (I don't use that, but you can) | 18:41 |
thp | djszapi: ah, i see. well that's the easiest I've found for my workflow. just have separate branches in Git for every "target platform" and then merge code changes from the main development branch | 18:41 |
thp | works well for me | 18:41 |
djszapi | what do you precisely mean single instance ? It does not allow to run more or just one or ? | 18:42 |
thp | yes, it allows to run just one instance, and when you click the icon in the menu again, and it's already running, just a task switch happens | 18:42 |
thp | otherwise the app would be started a second time | 18:42 |
djszapi | oh so you do even make merges every now and then hehe :) | 18:42 |
djszapi | I think one sed line is just fine in the rules file in comparison with that for me. | 18:42 |
djszapi | thp: mmm, I would not like to have invoker then probably. | 18:43 |
thp | djszapi: which app are you working on? | 18:44 |
djszapi | thp: it is not application, mostly just a platform. | 18:44 |
lardman | Anyone seen this error message?: Component objects cannot declare new properties. | 18:44 |
djszapi | but I can imagine a use case, when more instances I need. | 18:44 |
djszapi | for applications. | 18:45 |
thp | djszapi: sure. but it's just an option (that you usually want to have, anyway). invoker still helps for the instant "empty window" splash screen + boosting in some cases | 18:47 |
thp | djszapi: http://library.developer.nokia.com/index.jsp?topic=/MeeGo_1.2_Harmattan_API/html/guide/html/qmlboost.html | 18:47 |
djszapi | thp: it might help with those, but single instance is an exclusive reason to me. | 18:47 |
djszapi | I would like to have multiple instances if it makes sense. It is for instance strange to me I cannot have more browsers open. | 18:48 |
fiferboy | lardman, you need a different type (Item or something) to create properties | 18:48 |
fiferboy | lardman, the Component type doesn't support that | 18:48 |
djszapi | thp: and I do not see new tab either. | 18:48 |
*** neal has quit IRC | 18:49 | |
artemm | guys, how do I use invoker single-instance properly? I successfully prevent N950 from launching the second instance, but then tap on the app icon.. does nothing. I kind'of expected the already running up to come to front | 18:49 |
thp | djszapi: you can have multiple browser windows open | 18:49 |
thp | djszapi: and you can have multiple windows from the same instance even | 18:49 |
lardman | fiferboy: hmm, ok, docs are pretty confusing on that | 18:49 |
djszapi | thp: oh ? Could you ellaborate please how ? | 18:50 |
thp | artemm: it does it automatically for me. are you using something else than QDeclarativeView and/or Qt for creating windows? | 18:50 |
artemm | nope, just QDeclarativeView | 18:50 |
thp | djszapi: the browser has a menu "open new window" | 18:50 |
thp | which creates another window | 18:51 |
artemm | thp: here's my .desktop line: Exec=invoker --single-instance --type=d /opt/discountcalc-harmattanapp/bin/discountcalc-harmattanapp | 18:51 |
thp | djszapi: and if you instantiate two top-level widgets in qt, i assume that you would get two windows in the task switcher originating from the same process | 18:51 |
thp | artemm: maybe the "--type=d" makes problems? | 18:51 |
artemm | Hmm, just found on the web that other guys use "Exec=/usr/bin/single-instance /usr/bin/librefm" | 18:51 |
artemm | thp, I have little idea on what it means, searching for documentation | 18:52 |
djszapi | thp: which browser are you speaking about, grob ? | 18:52 |
thp | djszapi: the built-in browser | 18:53 |
*** ajalkane_N950 has joined #harmattan | 18:53 | |
thp | artemm: invoker --help on the device helps :) | 18:54 |
djszapi | thp: well there are two browsers on the app launcher. | 18:54 |
djszapi | grob and a mozilla icon. | 18:54 |
thp | grob | 18:54 |
lardman | fiferboy: Any thoughts on "Unable to assign QObject* to QDeclarativeItem*" ? | 18:55 |
*** CepiPerez has joined #harmattan | 18:55 | |
lardman | this is occurring when my qml Components are being instantiated in the main.qml file, but is presumably to do with my mBarcode C++/QML object which is referenced in those sub components | 18:56 |
fiferboy | lardman, what does your assignment look like in main.h? | 18:57 |
lardman | Do I need to subclass anything other than QObject for a C++ component that does not want to generate a UI in QML#? | 18:57 |
djszapi | thp: is it the same for Harmattan and Symbian ? | 18:57 |
fiferboy | do you use context properties? | 18:57 |
lardman | no idea, what are they? | 18:57 |
lardman | ah yes | 18:57 |
lardman | view.rootContext()->setContextProperty("mbarcode", mbarcode); | 18:58 |
djszapi | thp: Meanwhile it is an internal implementation of the grob browser, it does not neccesarily work for other applications. | 18:58 |
fiferboy | lardman, but this is a c class you want to use as a qml component? | 18:58 |
lardman | yeah, but the error comes from the qml code: file:///usr/share/mbarcode-lite/qml/main.qml:63: Unable to assign QObject* to QDeclarativeItem* | 18:59 |
thp | djszapi: don't know about symbian | 18:59 |
artemm | thp, I chjecked invoker —help. —type=d is supposed to mean QML app. That's what I have | 19:00 |
fiferboy | lardman, I wouldn't be able to tell without seeing the code | 19:00 |
thp | artemm: but i think it only heps for that boosting type. try type=e or leave out the type completely | 19:00 |
thp | maybe that makes a difference? not sure ;) | 19:00 |
artemm | boosting type? | 19:01 |
artemm | boosting sounds like something nice to have :) | 19:01 |
lardman | fiferboy: hang on a few and I'll upload everything | 19:04 |
* fiferboy just spent 2 hours running around his code in a panic because he forgot SelectionDialog doesn't work with c++ models | 19:05 | |
djszapi | thp: thanks for the discussion. | 19:06 |
thp | djszapi: :) | 19:08 |
djszapi | fiferboy: ok so the cleaner way is just to replace the QML file (that only line), and wait for the upcoming software update. | 19:13 |
artemm | ok, I've got the problem with single instance (at least one). When creating a project I used dash in the project name. Wizard ignored it in half of places. So I have a mess of files and settings with and without dash :/ | 19:13 |
djszapi | fiferboy: replace as in locally here. | 19:13 |
artemm | so invoker wan't even trying to start anything | 19:14 |
fiferboy | djszapi, there was a fix just comitted to qt-components git for extras location in PR1.1 | 19:15 |
fiferboy | i think it symlinks it to com.meego.extras as well | 19:15 |
djszapi | have a link by hand ? | 19:15 |
djszapi | http://qt.gitorious.org/qt-components/qt-components/commit/82b01b389ff6b447080f0920c93caded7f15a3d7 ? | 19:16 |
djszapi | after that, we can use any of them ? | 19:16 |
fiferboy | djszapi, I think so, but you will still be waiting for *this* update now :) | 19:17 |
djszapi | yep, sorry, I could not stand to not say a big THANKS for the commit :) | 19:18 |
javispedro | aw. | 19:18 |
javispedro | /dev/input/accelerometer can't be read by nonroot :( | 19:18 |
*** cpscotti has quit IRC | 19:20 | |
*** rcg has quit IRC | 19:21 | |
djszapi | javispedro: yep, same as on desktop. | 19:22 |
*** mikhas has quit IRC | 19:22 | |
* javispedro ponders reading sensord socket directly as there are no C bindings for libsensor | 19:22 | |
Stskeeps | ask ronksu, he's authoring that :) | 19:23 |
*** smoku has quit IRC | 19:26 | |
lardman | fiferboy: you still about? Sorry it took a while: https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/lite/mbarcode-lite-qml/?root=maemo-barcode | 19:29 |
fiferboy | lardman, I'll take a look | 19:31 |
lardman | thanks :) | 19:31 |
fiferboy | lardman, where is the error happening? | 19:35 |
lardman | hmm, seems my error is caused by using a component rather than an item | 19:35 |
lardman | file:///usr/share/mbarcode-lite/qml/main.qml:63: Unable to assign QObject* to QDeclarativeItem* | 19:35 |
lardman | file:///usr/share/mbarcode-lite/qml/main.qml:51: Unable to assign QObject* to QDeclarativeItem* | 19:35 |
lardman | file:///usr/share/mbarcode-lite/qml/main.qml:41: Unable to assign QObject* to QDeclarativeItem* | 19:35 |
lardman | Looks like that's fixed by wrapping those pages in an Item {} rather than a Component {} | 19:35 |
lardman | lots of other errors now of course :) | 19:36 |
fiferboy | :) | 19:36 |
lardman | hmm interesting | 19:40 |
djszapi | javispedro: libsensord has C api | 19:40 |
lardman | I have a UI, with two status bars and with an odd grey bar at the bottom of the landscape screen | 19:40 |
javispedro | djszapi: <b>NOTE THAT THIS HAS NOT BEEN IMPLEMENTED YET<b> | 19:40 |
lardman | status bars for both portrait and landscape at the same time | 19:41 |
javispedro | lardman: fullscreen | 19:41 |
lardman | javispedro? | 19:41 |
lardman | I should run it full screen? | 19:41 |
djszapi | javispedro: I have a fully working API here at least with documented header. | 19:41 |
javispedro | lardman: call showFullScreen() when showing your window, yes. | 19:41 |
lardman | what will that fix of the issues? | 19:41 |
javispedro | it will fix the odd grey bar as well as two status bar issue at least ;) | 19:41 |
djszapi | javispedro: ohh you might be right | 19:42 |
djszapi | javispedro: what is wrong about the qt api ? | 19:42 |
lardman | javispedro: cool, thanks | 19:42 |
javispedro | djszapi: that it is Qt ;P (if at least it was c++ only...) | 19:43 |
djszapi | javispedro: what is wrong about Qt ? :p | 19:44 |
javispedro | that you don't want to bring it on if you're using another toolkit. | 19:45 |
*** rcg has joined #harmattan | 19:45 | |
djszapi | which toolkit ? Boost and Qt can work for instance together (there was also a presentation about it last summer) | 19:46 |
GeneralAntilles | Jaffa, ungrateful, lazy bastard. :P | 19:47 |
djszapi | ok, boost is a library, not toolkit | 19:47 |
berndhs | most toolkits start with the 1st commandment - thou shalt not have another toolkit next to me | 19:47 |
GeneralAntilles | Jaffa, would you take a patch? | 19:47 |
GeneralAntilles | I might play with it, seems like there could be some fun with animations in store | 19:47 |
GeneralAntilles | also: weather detection | 19:47 |
djszapi | berndhs: Can you show this statement in one of most common toolkit, Qt ? | 19:52 |
berndhs | Qt needs tweaking to coexist with automated builds | 19:53 |
Jaffa | GeneralAntilles: I would take a patch. Even merge requests | 19:53 |
berndhs | Qt defines really innoucuous things like "signals" as macros | 19:53 |
djszapi | berndhs: because from what I say, Q_SIGNALS, Q_SLOTS and others even help you to not mess up. | 19:53 |
Jaffa | GeneralAntilles: Doing cool stuff would be cool. GPS to work out where you are; compass to work out where you're looking; assume a distance and show something based on the weather over there | 19:53 |
Jaffa | GeneralAntilles: I'll push latest to gitorious tonight. http://gitorious.org/attitude/attitude | 19:54 |
berndhs | djszapi: indeed they do, but that's not standard Qt usage | 19:54 |
berndhs | djszapi: so you have to be aware what toolkits and libraries you're mixing | 19:54 |
djszapi | not standard ? Actually, all the libraries I saw implemented that way. | 19:54 |
berndhs | djszapi: the QT_SIGNALS is mentioned once in the documentation, everywhere else it says "signals" | 19:55 |
djszapi | they even recommend it in the Qt usage to use that for libraries (mainly if you have plans to use it with other libraries, toolkits) | 19:55 |
djszapi | berndhs: I think the Qt design book even writes it to use that in a good library. | 19:55 |
berndhs | who buys the book ? I read the Qt documentation | 19:56 |
djszapi | nobody, it is publicly available from the nokia developer page. | 19:56 |
djszapi | the qt3 design book, and also the later qt4 design book. | 19:56 |
berndhs | so I should buy the Qt3 book, just when Qt5 is about to come out? | 19:57 |
djszapi | berndhs: I admit that, C would be nicer, but it is missing :) | 19:57 |
djszapi | berndhs: it is not about qt3 if you read it. It is general library design principles | 19:58 |
djszapi | what they realized during developing qt3 | 19:58 |
berndhs | that's like saying I have to read the entire bible translation and every quran translation before I can say one prayer | 19:58 |
berndhs | which brings us back to the similarities with religions :) | 19:58 |
djszapi | why ? We are discussing a qt library :) | 19:58 |
berndhs | I'm saying that toolkits tend to be self-centered | 19:59 |
artemm | was anybody able to use QSplashScreen on Harmattan? I try using it before loading qml and see nothing | 19:59 |
djszapi | berndhs: do you have better suggestion ? | 19:59 |
artemm | on Symbian works | 19:59 |
berndhs | djszapi: keep working on making them get along with the rest of the world | 19:59 |
berndhs | djszapi: and listen to criticism once in a while | 20:00 |
hiemanshu | artemm: uhm, for harmattan you can use applauncherd and ask it to load a splash screen | 20:00 |
*** djszapi has left #harmattan | 20:01 | |
artemm | oh, hiemanshu, didn't know about it | 20:01 |
hiemanshu | artemm: https://gitorious.org/colorful-apps/irc-chatter/blobs/master/installables/irc-chatter-harmattan.desktop | 20:02 |
hiemanshu | thats an example | 20:02 |
artemm | was just searching for it :) | 20:02 |
artemm | cool, so I don't need to code QSplashScreen myself anymore | 20:03 |
hiemanshu | yeah | 20:03 |
hiemanshu | not sure if it works for symbian though | 20:03 |
artemm | funny, right when I figured the problem with QSplashScreen (wrong path) :) | 20:03 |
artemm | oh, that needs to use invoker | 20:06 |
artemm | I use Exec=/usr/bin/single-instance | 20:06 |
artemm | instead | 20:06 |
artemm | invoker somehow doesn't work for me | 20:06 |
artemm | hmm, I managed to show splash screen with invoker, but it doesn't start app after it somehow :) | 20:15 |
rZr | hail to https://build.pub.meego.com/package/show?package=kdelibs&project=home%3Arzr%3Aharmattan | 20:17 |
rZr | he did it ! | 20:17 |
javispedro | and what was the problem? | 20:18 |
hiemanshu | artemm: did you use invoker? | 20:22 |
hiemanshu | artemm: you main{ } should look like https://gitorious.org/colorful-apps/irc-chatter/blobs/master/main.cpp#line48 | 20:23 |
artemm | got meeting soon, will be preparing then will have a look at these links, thanks | 20:24 |
artemm | from first glance my main looks same, just aliitle shorter | 20:24 |
hiemanshu | artemm: you need Q_DECL_EXPORT | 20:25 |
hiemanshu | at the starting of your main | 20:25 |
rZr | javispedro: i donno i just saw it finally built | 20:26 |
rZr | looks obs is down again | 20:26 |
artemm | hiemanshu: thanks, will add it | 20:26 |
artemm | wizard didn't create it | 20:26 |
rZr | anyone here wanna try to fix libgmp-dev while i am cleaning the house ? :) | 20:26 |
hiemanshu | wizard doesn't | 20:26 |
artemm | is it needed for invoker to work? | 20:26 |
hiemanshu | yes | 20:26 |
artemm | then it's real funny wizard doesn't do it :) | 20:27 |
hiemanshu | invoker or applauncherd, cant recall the exact one | 20:27 |
artemm | Are these MDeclarativeCache, IrcModel, AppSettings etc also needed? | 20:39 |
artemm | can't see if these are for enabling invoker or for some app specific reasons | 20:39 |
*** vgrade has quit IRC | 20:39 | |
artemm | ok, ircmodel should be irc client specific | 20:40 |
*** MohammadAG has joined #harmattan | 20:43 | |
artemm | oh, heck, there's hell a lot of documentation including the need to use specific compiler options http://harmattan-dev.nokia.com/unstable/beta/api_refs/xml/daily-docs/applauncherd/main.html | 20:45 |
artemm | looks complex | 20:45 |
*** vgrade1 has joined #harmattan | 20:45 | |
*** Arkenoi has joined #harmattan | 20:46 | |
*** vgrade has joined #harmattan | 20:47 | |
*** frinring has quit IRC | 20:47 | |
*** vgrade1 has quit IRC | 20:50 | |
artemm | I think I am slowly getting there, but #include <MDeclarativeCache> doesn't work | 20:50 |
artemm | is it something 4.8 specific? | 20:50 |
*** djszapi_ has joined #harmattan | 20:52 | |
artemm | found it | 20:52 |
djszapi_ | hi rZr | 20:52 |
djszapi_ | whoaaa kdelibs succeeded !!!! \o/ !! :) :) | 20:53 |
djszapi_ | rZr have you made anything special ? | 20:56 |
berndhs | why would OBS not find my tar.gz with dpkg-source ? | 21:00 |
djszapi_ | and they are already distributed, excellent! :) | 21:00 |
*** Termana has quit IRC | 21:06 | |
djszapi_ | berndhs: use orig.tar.gz | 21:09 |
berndhs | hmm, will that cause problems with rpm builds? let my try it. | 21:10 |
hiemanshu | artemm: MDeclerativeCache is to make it use the cached qml elements if possible | 21:11 |
hiemanshu | artemm: making it load faster | 21:11 |
MohammadAG | artemm, no, it's MeeGo specific | 21:11 |
djszapi_ | berndhs: I had similar issues while using .tar.gz only in the very beginning. | 21:12 |
djszapi_ | so it seems to be nice for c-obs. Also, it is much easier to port a package from debian that way. | 21:13 |
berndhs | deb packaging seems to want you to stick to its defaults | 21:13 |
djszapi_ | sorry ? | 21:14 |
berndhs | i'm not porting anything, just building my stuff | 21:14 |
berndhs | let me see what hapepns with foo.orig.tar.gz | 21:14 |
djszapi_ | porting or not, it is consistent with debian which is a good thing. | 21:15 |
berndhs | certainly | 21:15 |
rZr | djszapi_: no did u ? | 21:16 |
djszapi_ | rZr: nothing, really. | 21:16 |
djszapi_ | rZr: btw, we had troubles with scrot today in the shared repository, got an idea ? | 21:17 |
rZr | then that's what it needed :) | 21:17 |
rZr | no i am not really active on it those days | 21:17 |
rZr | i imported a couple of packages | 21:17 |
*** Khertan has joined #harmattan | 21:17 | |
rZr | djszapi_: wanna be responsible for it while i am offline those comming weeks | 21:18 |
rZr | Khertan: same question | 21:18 |
djszapi_ | rZr: okay, peaceful afk :) | 21:19 |
Khertan | oh my god ! irc chatter bypass sfr proxy limitation ! | 21:20 |
Khertan | nice !!!! | 21:20 |
Khertan | rZr: what is the question ? | 21:21 |
*** Guest84219 has joined #harmattan | 21:21 | |
*** willer_ has joined #harmattan | 21:22 | |
MohammadAG | but forgets SSL settings :/ | 21:22 |
Khertan | ~ping | 21:23 |
infobot | ~pong | 21:23 |
*** wazd has joined #harmattan | 21:24 | |
Khertan | :) ssl is blocked normally | 21:24 |
Khertan | with sfr isp | 21:24 |
Khertan | and more nice session survice short disconnect | 21:25 |
Khertan | huhu really nice client ! | 21:25 |
ajalkane | it survives now disconnect? What version | 21:26 |
Khertan | i lost network frequently as i m in the train so seems to support it :) | 21:27 |
ajalkane | Okay... I'm time to time losing connection with GSM network and often it doesn't recover | 21:28 |
Khertan | version 20110817 *-rzr1 | 21:31 |
ajalkane | okay, a snapshot version. I'm using the "official" 0.1.1 | 21:31 |
ajalkane | so maybe upon next update I'll have better luck | 21:32 |
rZr | Khertan: i am looking for someone to manage h:r:h repo while i am on vacations | 21:33 |
*** twoboxen has joined #harmattan | 21:34 | |
lardman | anyone know how to fix Qt Creator's include paths? It can't find includes such as <QObject> any more | 21:34 |
*** Khertan has quit IRC | 21:35 | |
lardman | ah, Project tab, never looked at that one before | 21:39 |
lardman | Projects even | 21:40 |
arfoll | anyone know why i can't add harmattan target to an exisitng repo? | 21:43 |
arfoll | i dont get any autocomplete when choosing meego:1.2:harmattan and then it just fails if i choose armv7el | 21:43 |
djszapi_ | rZr where do you have your vacation ? | 21:45 |
rZr | malaysia | 21:45 |
* RST38h oinks, for a change | 21:49 | |
*** twoboxen has quit IRC | 21:59 | |
hiemanshu | MohammadAG: there has been an update to it, I fixed all that and added extra stuff if you want it, you can always build it from the repo, or I could up a .deb for you | 22:00 |
MohammadAG | hiemanshu, which repo? | 22:06 |
hiemanshu | MohammadAG: https://gitorious.org/colorful-apps/irc-chatter | 22:07 |
MohammadAG | oh, mainline | 22:08 |
hiemanshu | yeah | 22:08 |
hiemanshu | MohammadAG: it has /query, /msg and such working | 22:09 |
MohammadAG | oh they weren't working? good thing I didn't /msg nickserv then :p | 22:09 |
hiemanshu | heh yeah | 22:09 |
hiemanshu | well when you do a /msg nickserv | 22:09 |
hiemanshu | it would just tell you command doesn't exist | 22:09 |
hiemanshu | it wasn't that stupid also :P | 22:10 |
hiemanshu | there seem to be quite a few games for the N9 \o/ | 22:12 |
MohammadAG | ah | 22:13 |
MohammadAG | I thought it'd send it as plaintext | 22:13 |
MohammadAG | how do you know? | 22:13 |
hiemanshu | MohammadAG: RDA | 22:14 |
hiemanshu | there seems to be a few games | 22:14 |
hiemanshu | like NFS Shift and such | 22:15 |
kimju | nice, dbus-daemon is using 99.9% of cpu. | 22:15 |
hiemanshu | djszapi_: around? | 22:15 |
Stskeeps | kimju: dbus-monitor is probably useful | 22:15 |
DocScrutinizer | kimju: \o/ | 22:15 |
javispedro | talking about dbus-monitor | 22:15 |
DocScrutinizer | kimju: the 0.1% is for the tool that tells you bout the fact | 22:16 |
javispedro | is it me or is it incapable of monitor anything in the stock n950 conf? | 22:16 |
javispedro | not even in the session bus, all it gets are signals without dest. | 22:16 |
djszapi_ | hiemanshu: yep | 22:16 |
DocScrutinizer | javispedro: wouldn't be surprised - aegis replaced standard dbus policy scheme | 22:17 |
hiemanshu | djszapi_: so I checked the files on the N9 on RDA, and I confirm the import issue, I'll make the fix for it tomorrow and you can test again if you like :) | 22:17 |
djszapi_ | hiemanshu: no need, I already made my local build | 22:17 |
hiemanshu | the N950 we got has a com.meego.extras folder, the one on RDA doesn't, it has a com.nokia.extra that we'll have to use | 22:18 |
MohammadAG | hiemanshu, when does your session end? | 22:18 |
djszapi_ | hiemanshu: Also there was an upstream commit which will fix up this completely. | 22:18 |
hiemanshu | MohammadAG: ended it, you can take it if you like | 22:18 |
hiemanshu | djszapi_: ah nice | 22:18 |
djszapi_ | hiemanshu: I do not think it is worth messing the code with it for few weeks | 22:18 |
hiemanshu | MohammadAG: oh wait, someone else took it | 22:18 |
MohammadAG | hiemanshu, I took one, it has russian text with an OK button that doesn't work | 22:19 |
hiemanshu | djszapi_: well no, it should work with both, I'll test it tomorrow | 22:19 |
djszapi_ | Unfortunately, there is no trivial if/elif solution, just passing the C++ data to QML (C++ data can get it from build system) | 22:19 |
djszapi_ | so it is a mess, I would mark it as wont fix | 22:19 |
hiemanshu | MohammadAG: ugh forgot to tell you not to take the one that starts with a 09 :P | 22:20 |
MohammadAG | hiemanshu, probably me | 22:20 |
hiemanshu | djszapi_: give me a sec checking something | 22:20 |
hiemanshu | MohammadAG: yeah, it has that russian text issue | 22:20 |
hiemanshu | the one with the 09, the other one works | 22:20 |
MohammadAG | RST38h, | 22:20 |
MohammadAG | wazd, wtf does http://i55.tinypic.com/2jceazb.jpg mean please? :P | 22:20 |
hiemanshu | djszapi_: on our N950s, com.nokia.extra and com.meego.extras is the same | 22:22 |
hiemanshu | djszapi_: so the change shouldn't cause an issue | 22:22 |
djszapi_ | mmm, you said it is needed previously, but in that case yeah, the current version is not the best one ;) | 22:23 |
*** javispedro has quit IRC | 22:24 | |
hiemanshu | djszapi_: we need the InfoBanner from the extra repos, also I didn't write that part, so yes com.nokia.extras should have been used, I'll make that change | 22:24 |
MohammadAG | let's start repacking that N9 firmware into debs | 22:24 |
hiemanshu | MohammadAG: devel-su; develsh; scp -r / <your system> | 22:25 |
hiemanshu | :P | 22:25 |
artemm | If I use invoker, how do I get the application dir? | 22:25 |
artemm | I mean if I use invoker and MDeclarativeCache | 22:26 |
hiemanshu | artemm: application dir? | 22:26 |
artemm | without declarative cache I was using QCoreApplication::applicationDirPath | 22:26 |
MohammadAG | hiemanshu, no no no, that's not how to do it :) | 22:26 |
djszapi_ | hiemanshu: alright | 22:26 |
MohammadAG | dpkg-repack | 22:26 |
MohammadAG | I can't open terminal on RDA :/ | 22:26 |
hiemanshu | lol | 22:27 |
MohammadAG | actually I can't click the screen | 22:27 |
hiemanshu | MohammadAG: did you take the one with 09? | 22:27 |
hiemanshu | IMEI starting with 09 | 22:27 |
artemm | apparently when QApplication is coming from cache it's not my instance - so I can't use QCoreApplication for a current dir | 22:27 |
hiemanshu | MohammadAG: wtf is wrong with you, XChat with KDE :/ | 22:28 |
MohammadAG | hiemanshu, no | 22:29 |
MohammadAG | 10 | 22:29 |
hiemanshu | that one worked for me | 22:29 |
MohammadAG | and yeah, Gtk and KDE can live together :p | 22:29 |
hiemanshu | they shouldn't | 22:29 |
djszapi_ | ie.: Desktop Summit | 22:29 |
hiemanshu | MohammadAG: thats like asking me to live with my wife :P | 22:30 |
* hiemanshu isnt married though | 22:30 | |
hiemanshu | MohammadAG: it may seem ok to the world, but there are clashes :P | 22:30 |
MohammadAG | hiemanshu, can you do me a favor | 22:30 |
hiemanshu | sure | 22:30 |
MohammadAG | hiemanshu, keep refreshing the RDA page, I'll clear my reservation on the device | 22:31 |
MohammadAG | you take it asap | 22:31 |
hiemanshu | alright | 22:31 |
MohammadAG | I need you to open terminal and do a reverse ssh connection somewhere | 22:31 |
MohammadAG | freed, grab it | 22:31 |
hiemanshu | it will take a few mins till I can get it | 22:31 |
hiemanshu | Available in 6 minutes | 22:32 |
DocScrutinizer | N9 RDA? | 22:32 |
spenap | artemm, http://harmattan-dev.nokia.com/unstable/beta/api_refs/xml/daily-docs/applauncherd/classMDeclarativeCache.html#aea1111e3f14a530db7b32c6b1347fb56 | 22:32 |
hiemanshu | DocScrutinizer: yes | 22:33 |
artemm | yep, I just found it also has ::applicationDirPath, trying now | 22:33 |
MohammadAG | hiemanshu, just grab it | 22:33 |
MohammadAG | I'll give you the details | 22:33 |
*** rZr has quit IRC | 22:34 | |
tomma | you can make later reservations in RDA =) | 22:34 |
MohammadAG | that's what I meant by grab it | 22:34 |
hiemanshu | tomma: yeah, done | 22:35 |
*** ZrZ has joined #harmattan | 22:36 | |
MohammadAG | if anyone wants it http://mohammadag.xceleo.org/public/Harmattan/dpkg-repack_1.33harmattan1_all.deb | 22:38 |
MohammadAG | FYI, Aegis will probably make all this fail, but idc | 22:38 |
Mek | hmm, anybody can paste-bin their maps catalog file somewhere? (or is not ust the map catalogue downloading that is not working, but also the actual map downloading...) | 22:39 |
hiemanshu | MohammadAG: wtf did you do, it doesn't even work for me now :/ | 22:41 |
MohammadAG | hiemanshu, nothing? | 22:42 |
hiemanshu | MohammadAG: nothing at all | 22:42 |
hiemanshu | ctrl + bkspc doesn't work either | 22:42 |
*** berndhs has left #harmattan | 22:43 | |
MohammadAG | hiemanshu, didn't/couldn't do anything :/ | 22:44 |
MohammadAG | and it's blue + backspace | 22:44 |
*** berndhs_meego has joined #harmattan | 22:45 | |
hiemanshu | oh yeah | 22:45 |
* hiemanshu keeps forgetting | 22:45 | |
hiemanshu | anyways, MohammadAG we can try tomorrow | 22:45 |
MohammadAG | :/ | 22:46 |
hiemanshu | anyways I should sleep if I want to get up for work tomorrow | 22:46 |
berndhs_meego | my irc client works :) | 22:49 |
*** harbaum has joined #harmattan | 22:52 | |
*** berndhs_meego has left #harmattan | 22:57 | |
*** harbaum has quit IRC | 22:58 | |
*** berndhs has joined #harmattan | 23:00 | |
*** CepiPerez has quit IRC | 23:04 | |
*** javispedro has joined #harmattan | 23:24 | |
*** javispedro has quit IRC | 23:24 | |
*** javispedro has joined #harmattan | 23:24 | |
*** mikhas has joined #harmattan | 23:30 | |
*** qgil has quit IRC | 23:34 | |
*** ZrZ has quit IRC | 23:35 | |
*** ZrZ has joined #harmattan | 23:36 | |
*** fiferboy has quit IRC | 23:41 | |
*** smoku has joined #harmattan | 23:48 | |
*** spenap has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!