*** zbenjamin is now known as Guest67577 | 02:02 | |
*** zbenjamin_ is now known as zbenjamin | 02:02 | |
*** nyov is now known as Guest29479 | 04:28 | |
fridl | I'm not sure what keyword to search for, so I'm not successful finding a solution yet, i hope someone can give me a hint :-) I want to copy some specific files from a specific directory (git submodule) to the qml-folder of my application before deployment or debugging. Can I let QtCreator execute a script to do so or is there another nice way to set that up (probably in the make file or so...) | 08:38 |
---|---|---|
attah | fridl: probably the wrong solution, but i'm thinking symlinks | 08:42 |
fridl | attah: ah, could be a way! Will that work for people who git clone the project? | 08:47 |
attah | yes, it should... there will be borked links if they don't also get the submodule, but that's pretty fine | 08:48 |
fridl | attah: nice! Thanks for the hint :-) | 08:49 |
fridl | I'll try around :-) | 08:50 |
attah | yeah... don't take my word for it. But i'm pretty sure i have seen this before | 08:51 |
fridl | Sure :-) | 08:53 |
*** frinring_ is now known as frinring | 10:10 | |
fridl | attah: I have the Submodule now under my main project dir, the original files in the submodule forlder are added to the Project (and therefore under DISTFILES in the .pro file). The symlink seems to work on my dev system. But when deployed on the simulator or phone, it seems like the symlink in the qml dir is not hitting a target. | 10:37 |
attah | well, crap | 10:39 |
attah | and pointing to the files in their original location in the project file etc was not an option? | 10:40 |
attah | i have c++ stuff that i do that with, not sure what would be needed to make that happen with qml | 10:40 |
fridl | in fact these are some python files i want to run. | 10:41 |
fridl | i could try that. | 10:41 |
fridl | in the examples the python files always have been stored in the qml dir. | 10:42 |
fridl | i'll give it a try. | 10:42 |
attah | it sounded like you had already ruled that out for some reason | 10:42 |
fridl | so it is like that: I have a python file in the qml dir which is executed from the qml. in this python file i want to import another python method from the submodule. Now going multiple levels up with the python import is really bad (and i don't even know if possible). So I thought the easiest would be to copy the relevant files just before building. | 10:51 |
attah | It should be possible to add more folders to be easily addressed like that, but i can only seem to find it for C++ based apps | 10:55 |
fridl | attah: Ok, i have set it up again from scratch. Now it seems(!) to work with the symlinks. | 11:15 |
fridl | i don't know what is different now. | 11:15 |
fridl | but something went wrong befor. | 11:15 |
fridl | Thanks for the help :-) | 11:15 |
attah | fridl: nice! | 11:50 |
*** vgtw_ is now known as vgtw | 13:12 | |
*** Malinux- is now known as Malinux | 14:07 | |
abranson | RubenDeSmet[m]: the browser is a good example of an app that did migrate. Those problems with users losing their bookmarks was due to that failing somehow. | 15:54 |
RubenDeSmet[m] | Ah, and that's code that I can legally look at. That's useful, thanks :) | 15:55 |
RubenDeSmet[m] | https://github.com/sailfishos/sailfish-browser/blob/upgrade-4.0.1/oneshot.d/browser-move-data-to-new-location awesome | 15:57 |
RubenDeSmet[m] | I've granted myself the right to `.local/share/harbour-whisperfish` and `.config/harbour-whisperfish` for now, I can perfectly postpone the rest of the migration to a later time :) | 15:59 |
RubenDeSmet[m] | (had to claim a dbus interface anyway in a custom profile...) | 15:59 |
abranson | is your app on the harbour, or just openrepos? | 16:00 |
RubenDeSmet[m] | just OR | 16:01 |
RubenDeSmet[m] | We've got plenty of things to fix that block harbour, I'm quite confident that Jolla will allow us jails long before we're harbour-ready | 16:02 |
RubenDeSmet[m] | I've got a tracking issue for that: https://gitlab.com/rubdos/whisperfish/-/issues/144 | 16:03 |
RubenDeSmet[m] | And if you want to see how we implemented the jailing: https://gitlab.com/rubdos/whisperfish/-/merge_requests/118 | 16:04 |
abranson | If I were you I'd leave the sailjailing until later, unless you particularly want to play with it. The best way for an openrepos app to access contacts until they can get them from a sandbox would be to include a privileges file. Other apps have been doing that for ages. | 17:02 |
abranson | but on second thoughts, it looks like you're having a lot of fun over there :) | 17:03 |
RubenDeSmet[m] | Well, the schema changed and I'd like to keep the compatibility with 3.4... I started using displayLabel since 3.3, but apparently that's gone now (migrated to other tables). How bad could you imagine that the SailJail goes the next few releases? | 17:15 |
RubenDeSmet[m] | And yes, we're having quite a bit of fun over there, abranson :P | 17:15 |
RubenDeSmet[m] | Feel free to come say hi in #whisperfish by the way :-) | 17:21 |
abranson | pretty huge changes i'd imagine. i don't know what they'll be, but each of the permissions would have to provide stable interfaces before it gets released to all. | 17:37 |
RubenDeSmet[m] | Hmm. Well, worst case I'll revert the Sailjail merge and get back to sourcing the displayLabel. The cool thing is that the merge request has a diffstat of +135-199... Removing more lines than adding, while keeping 3.x compat and adding the SailJail feature. | 17:43 |
RubenDeSmet[m] | Nobody is going to get stuck on 4.0 though, so I don't have to keep 4.0 compat. | 17:44 |
abranson | If you want to avoid having to change things every release, then I recommend the old school privileges file | 17:47 |
RubenDeSmet[m] | Then I'll have to keep track of the db schema, which also seems to change... But probably not on every release. Hmm | 17:51 |
mighty17 | is there anyway to get android app support on community ported devices? jolla store doesnt have much of anything and i tried storeman but welp there isnt even youtube working (youtube crashes on browser for me) | 18:27 |
RubenDeSmet[m] | What SailfishOS version do you run? Because I have the browser working perfectly fine on Youtube. | 18:30 |
mighty17 | <RubenDeSmet[m] "What SailfishOS version do you r"> 3.4.0.24 | 18:30 |
mighty17 | native sfos browser has touch broken so i have to use webcat | 18:31 |
RubenDeSmet[m] | I seem to recall it worked fine there too. | 18:31 |
mighty17 | espresso3g | 18:31 |
RubenDeSmet[m] | What port is it? | 18:31 |
RubenDeSmet[m] | (ie, what phone) | 18:31 |
mighty17 | i ported it myself | 18:31 |
RubenDeSmet[m] | Was just going to suggest you contact the porter haha :P | 18:31 |
mighty17 | lol | 18:31 |
RubenDeSmet[m] | Well, afaik, the sfos browser should do it. Can you play regular videos? | 18:32 |
mighty17 | <RubenDeSmet[m] "Well, afaik, the sfos browser sh"> i cant do anything in sfos browser as the touch acts weird | 18:32 |
RubenDeSmet[m] | Sounds like you might have more porting work to do. :/ | 18:33 |
RubenDeSmet[m] | Either way: I don't think there's any good working community Android layer. | 18:33 |
RubenDeSmet[m] | I'm not up-to-date on the native Youtube apps though. | 18:33 |
mighty17 | so like the touch was already broken i had to apply a patch https://gitlab.com/blacksailer/P3113/ | 18:33 |
mighty17 | <RubenDeSmet[m] "Sounds like you might have more "> no alternatives :( | 18:34 |
RubenDeSmet[m] | Maybe you can ask #sailfishos-porters | 18:34 |
mighty17 | lets hope they reply i already asked days ago | 18:35 |
RubenDeSmet[m] | I don't know anything about porting, sadly :D | 18:35 |
RubenDeSmet[m] | <mighty17 "lets hope they reply i already a"> Oh no :( | 18:35 |
RubenDeSmet[m] | You could try again, giving some details about why you think touch is broken? | 18:35 |
mighty17 | my usb,bluetooth,terminal,browser is broke | 18:35 |
mighty17 | <RubenDeSmet[m] "You could try again, giving some"> rotation issue ig? like in https://gitlab.com/blacksailer/P3113/ there are minor changes | 18:35 |
mighty17 | `transformation_matrix = "1,0,0,0,1,0,0,0,1"` | 18:36 |
RubenDeSmet[m] | As said, I have no clue about porting... #sailfishos-porters seems quite active right now, I think you could try again! | 18:36 |
mighty17 | thanks! | 18:36 |
RubenDeSmet[m] | I know it doesn't help, but I used to run on a community port on the Moto Z Play (as in: user, not porter), and that didn't do any video playing either. | 18:38 |
mighty17 | <RubenDeSmet[m] "I know it doesn't help, but I us"> so well whats the use then? | 18:38 |
mighty17 | like offline media consumption? | 18:38 |
RubenDeSmet[m] | calling | 18:39 |
RubenDeSmet[m] | basically | 18:39 |
RubenDeSmet[m] | lol | 18:39 |
RubenDeSmet[m] | I've got an official device now | 18:39 |
RubenDeSmet[m] | not even offline videos worked | 18:39 |
RubenDeSmet[m] | music worked great though | 18:39 |
mighty17 | <RubenDeSmet[m] "I've got an official device now"> sfos x? | 18:39 |
RubenDeSmet[m] | yes | 18:40 |
RubenDeSmet[m] | Xperia 10 | 18:40 |
mighty17 | <RubenDeSmet[m] "music worked great though"> yop but only music for a TABLET? | 18:40 |
RubenDeSmet[m] | Moto Z Play was a huge phone | 18:40 |
RubenDeSmet[m] | not a tablet :) | 18:40 |
mighty17 | mine is a tablet xD | 18:40 |
mighty17 | <RubenDeSmet[m] "not even offline videos worked"> offline works for me | 18:40 |
RubenDeSmet[m] | Oh, yeh, you might want to get Youtube working on a tablet, that makes sense :) | 18:41 |
mighty17 | indeed xD | 18:41 |
mighty17 | or else there is basically no use | 18:41 |
mighty17 | all porting efforts go in vain | 18:42 |
Nico[m] | Neat: https://forum.sailfishos.org/t/sailfish-community-news-12th-february/4806 | 21:00 |
Nico[m] | I really like that community news update! | 21:01 |
Nico[m] | And it even mentions Mister_Magister's work on url opening! | 21:01 |
Mister_Magister | it doesn't mention my work on multi cameras being picked up by mal :< | 21:02 |
Mister_Magister | how disrespectful | 21:02 |
Nico[m] | > This is a community update, and frankly we can’t always keep up with all the exciting stuff happening in the Sailfish community. Plus, the less of this we have to actually write ourselves the better. So please help us out by posting your Sailfish news updates to the forum as a reply to this post. We’ll collate as much of it as possible into one easily digestable post for the next update. | 21:02 |
Nico[m] | Add it to the next update :3 | 21:02 |
Mister_Magister | heh | 21:02 |
attah | at least you get mentioned (: | 21:03 |
mal | Mister_Magister: not sure if that was actually written before I started doing it, or if the person writing that even knew about it, it's not like it's a well known thing | 21:03 |
Nico[m] | I think it is a pretty good first update and I think the next one will have a lot more cool community stuff | 21:03 |
Mister_Magister | mal: I'm joking, i'm joking | 21:04 |
Nico[m] | I would love to see the PureMaps/PineTime cross over stuff mentioned for example | 21:04 |
Mister_Magister | am i this unfunny that noone gets my jokes? | 21:04 |
Nico[m] | Mister_Magister: Oh, you joke sometimes! I thought you were just weird and resentful! | 21:04 |
Mister_Magister | tbh i joke most of the time | 21:05 |
Nico[m] | ;p | 21:05 |
rubdos | Mister_Magister: main issue is the fact that the characters don't bring over sarcasm, that's a well known bug tracked on github.com/internet/issues/1 | 21:22 |
rubdos | characters being ASCII stuff, not "persons'> | 21:22 |
rubdos | s/'>/" | 21:22 |
Mister_Magister | i know i know | 21:22 |
rubdos | :) | 21:23 |
Nico[m] | That's why people only communicate with voice messages in some cases! | 21:23 |
rubdos | Hey btw, good work on getting the URL stuff in. I've already got a tracking issue on Whisperfish that wants to use it ;o | 21:23 |
RubenDeSmet[m] | Nico: I tend to just use a ton of emoji nowadays 🤪 | 21:23 |
Nico[m] | Well, the url stuff is not in yet, but it may be at some point | 21:23 |
rubdos | RubenDeSmet[m] is my Matrix-alter-ego btw. | 21:23 |
rubdos | Nico[m]: I'm not going to depend on the URL stuff, but I *am* going to implement it! | 21:24 |
rubdos | there's signal.group/#[group_id] that I'd love to catch | 21:24 |
Nico[m] | I figured, it's the same userid ;p | 21:24 |
RubenDeSmet[m] | On Matrix it is :) | 21:24 |
RubenDeSmet[m] | On the IRC side I'm RubenDeSmet[m] | 21:24 |
Nico[m] | Mhm, true, I always forget about IRC | 21:25 |
*** RubenDeSmet[m] is now known as rubdos[ma] | 21:25 | |
rubdos | There we go. | 21:25 |
rubdos[ma] | I'm now rubdos[m2], that's closer. | 21:26 |
rubdos[ma] | (rubdos[m] is taken by my own matrix bridge) | 21:26 |
fridl | is think some people here can fill up whole chat groups only with aliases ;-) | 21:27 |
rubdos[ma] | Hey, three Belgians coming together is still legal. It'll be a problem after the fourth though. | 21:28 |
fridl | but they are still same family, so no problem at all :-P | 21:29 |
rubdos[ma] | abranson: I'm gonna go with your advise and see whether I can still read contacts when I de-jail and use the permissions. Would you by accident have some example for that? Because I've never used it 😕 | 21:29 |
rubdos[ma] | <fridl "but they are still same family, "> I suppose, since it's four times the same person! | 21:29 |
rubdos[ma] | s/permissions/privileged file/ | 21:30 |
fridl | Yeah, so some kind of strange conversation then :-D | 21:30 |
abranson | rubdos[ma]: rockpool has one, to load the calendar events | 21:41 |
rubdos[ma] | <fridl "Yeah, so some kind of strange co"> You mean you don't talk to yourself? I have a bunch of Signal groups specifically for that! | 21:43 |
rubdos[ma] | <abranson "Ruben De Smet: rockpool has one,"> Tnx, awesome! | 21:43 |
* Nico[m] has matrix rooms to keep notes for that too | 21:44 | |
*** SpeedEvil is now known as Guest7954 | 23:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!