*** zbenjamin_ is now known as zbenjamin | 02:44 | |
rodrigosolari | Nico hello | 04:39 |
---|---|---|
attah | Is there a proper way to get current connection type, and SSID when applicable? ...or do i hassle with dbus? | 10:48 |
r0kk3rz | proper way? | 11:05 |
r0kk3rz | connman dbus api would have it | 11:06 |
attah | Well, i meant more QT-like apis | 11:06 |
attah | dbus is a bit of a PITA with the odd addressing schemes | 11:07 |
r0kk3rz | presumably lipstick must have a middleware somewhere | 11:08 |
attah | true... but i'm trying to be harbour-friendly :/ | 11:09 |
Nico[m]1 | You should be able to use statefs, i.e. the Internet/NetworkName property | 11:25 |
Nico[m]1 | There is a qt API for it | 11:26 |
Nico[m]1 | I have the statefs-qt5 and contextkit-statefs packages as dependency | 11:28 |
attah | hmm, nice... and they let that be published? | 11:28 |
Nico[m]1 | With that you can create a contect property, that you can read and connect to for changes | 11:29 |
Nico[m]1 | I think so | 11:29 |
Nico[m]1 | I haven't actually tried running the harbour validator on that, but it is one of the core APIs afaik | 11:29 |
attah | can't see them here https://github.com/sailfishos/sdk-harbour-rpmvalidator/blob/harbour-qa/allowed_requires.conf | 11:32 |
Nico[m]1 | Line 83? | 11:34 |
attah | libvorbis? O.o | 11:35 |
attah | (enc) | 11:36 |
Nico[m]1 | Ah, I was looking at this list: https://github.com/sailfishos/sdk-harbour-rpmvalidator/blob/harbour-qa/allowed_libraries.conf | 11:36 |
attah | So i was reading the wrong file :) | 11:36 |
Nico[m]1 | I just got that link from the FAQ, so yes, although I can't really spot the difference in the URL :D | 11:37 |
attah | i think it is project vs linking or something | 11:38 |
Nico[m]1 | Otherwise you could fallback to the filesystem, everything of statefs is available in /var/run/state | 11:38 |
attah | now if only there was any documentation for statefs-qt5... | 11:40 |
Nico[m]1 | Yeah, I had that issue too :D | 11:43 |
* Nico[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/QMHkYVbimPlCJOgNINUxHgKQ > | 11:46 | |
Nico[m]1 | You probably need something like this | 11:47 |
attah | yeah, probably... i'll make it very thin and consume the state in QML i think | 11:49 |
Nico[m]1 | I think there is also a native qml api for it... | 11:50 |
attah | that would be neat | 11:53 |
Nico[m]1 | Hm, I can't find it though ._. | 11:55 |
Nico[m]1 | On the other hand, you could probably just create the contextProperty in C++ and pass it as a qml context property to qml... Man those names are confusing :D | 11:56 |
attah | hmm , that's probably a good idea | 11:57 |
attah | Nico[m]1: Any hint on how i get that include to resolve? | 12:41 |
linq | hi | 12:57 |
linq | everybody here? | 12:57 |
arorar | Sorry for the re-post but I am still stuck after leveraging the recent target while attempting to build SailfishOS for the Xperia X10 https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash. Running into the following https://pastebin.com/qS3rqaDS Installed cryptsetup via sudo zypper in cryptsetup and initird-logos by building an RPM. The error persists. Any ideas? | 13:43 |
rinigus | arorar: you would have to install it via `sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in `... | 14:14 |
rinigus | but I wonder why it is not pulling it as a dependency | 14:14 |
arorar | Will give that a shot @rinigus. Thanks. Seems like atleast for the initird-logos; its been moved to a new repo recently | 14:22 |
andrnils | Hello! I'm sort of starting to look for a new phone, and hoping to run sailfish on it at some point. Is there any roadmap of which sony phones will be supported by sailfish? | 15:59 |
attah | Xperia 10 seems to be next in line | 16:03 |
*** frinring_ is now known as frinring | 16:10 | |
mal | andrnils: there is mention of Xperia 10 in here https://blog.jolla.com/sailfish-os-update-torronsuo/ | 16:14 |
andrnils | thanks! | 16:22 |
andrnils | i was hoping for Xperia 5 as well | 16:25 |
mal | andrnils: xperia 5 is not listed as supported in sony open devices website | 16:30 |
andrnils | ah, bummer | 16:50 |
Nico[m]1 | attah: Sorry, I was afk for a bit | 16:55 |
Nico[m]1 | Did you use pkgconfig for those packages I listed before? | 16:55 |
attah | no worries | 16:55 |
attah | no, i was completely unaware that was a thing in this fully integrated thingamajig | 16:56 |
Nico[m]1 | I use this line in meson: | 16:56 |
Nico[m]1 | networkstate_dep = dependency('contextkit-statefs') | 16:56 |
Nico[m]1 | Ah, so you figured it out already? | 16:57 |
attah | nope, just found something else to fail at in the meantime | 16:57 |
attah | don't even know where to begin looking for where i'd put that | 16:57 |
attah | I'm using this SFOS SDK thing... so i have no idea what is going on under the hood | 16:58 |
Nico[m]1 | What build system are you using? | 16:58 |
Nico[m]1 | qmake? | 16:58 |
attah | yes, that appears to be what is used, but i barely see anything of it | 16:59 |
Nico[m]1 | I think you need to add a line like this: | 17:01 |
Nico[m]1 | PKGCONFIG += contextkit-statefs | 17:01 |
attah | Okay, thanks... will try when i circle back to that problem | 17:01 |
* Nico[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/npqnyEljSaWZXCDXNhvWysqP > | 17:02 | |
* Nico[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/dkWutoSRYCDlGkAMSydvwQTo > | 17:02 | |
Nico[m]1 | What is your other issue? | 17:03 |
attah | Well, the general screwyness of providing list(model)s from C++ to QML | 17:03 |
attah | but it is progressing... just slowly and painfully | 17:04 |
Nico[m]1 | I found subclassing AbstractItemModel to be pretty straigtforward | 17:05 |
arorar | Thanks @rinigus installing those packages via sb2 -t worked. But now I am stuck with https://pastebin.com/hDQKM8E1 | 17:05 |
Nico[m]1 | If you have any specific problems, maybe I can help you. Otherwise following the Qt documentation should work | 17:05 |
attah | Not entirely with you there... and it is a metric shitton of boilerplate compared to e.g. pure QML | 17:06 |
attah | Currently no specific issues, but i'd be happy for suggestions on how i should model my problem | 17:06 |
rinigus | arorar: getting closer than ever! for the errors like this, check out https://piggz.co.uk/sailfishos-porters-archive/index.php | 17:07 |
attah | I'm making a share-to-printer plugin, and have implemented a IPP client... now i'm looing to make a list of settings that the user can choose for their print job | 17:07 |
Nico[m]1 | Hm, I'm used to using such horrible APIs that everything in qt feels like a breath of fresh air :D | 17:07 |
attah | Guess i'm spoiled... | 17:08 |
rinigus | arorar: in this case, https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2019-10-28.txt#line239 and rebuild ofono | 17:08 |
Nico[m]1 | Are those options dynamic? | 17:08 |
Nico[m]1 | If not, I would just hardcode the list without a list model :D | 17:09 |
rinigus | arorar: sorry, ofono-ril-binder-plugin | 17:09 |
attah | Currently i'm looking to have a list of options that i can sort of know the generic implementation can deal with, some of which may not be supported by a given printer | 17:10 |
Nico[m]1 | Yeah, then maybe a list model makes sense | 17:10 |
attah | Also ContextMenu isn't supported elsewhere (yet) | 17:11 |
attah | anyway... need to make dinner, bbl | 17:12 |
Nico[m]1 | Why are you trying to implement the model in C++ though? Maybe a pure QML is enough for you, if you prefer working in QML? | 17:13 |
attah | It is a matter of encoding/decoding tools for the protocol... but maybe if i could throw an entire "object" over the fence that could help | 17:14 |
attah | i'll explain in more detail later | 17:14 |
Nico[m]1 | Well, enjoy your food :3 | 17:14 |
attah | thanks | 17:15 |
arorar | @rinigus: and after I downgrade what do I need to re-run? | 17:15 |
Nico[m]1 | Yeah, or a list of options | 17:15 |
rinigus | arorar: I guess `rpm/dhd/helpers/build_packages.sh --version` and proceed with building (sed, process_patterns, and then mic) | 17:16 |
arorar | @rinigus: Thanks, shall give it a spin. | 17:22 |
arorar | @rinigus: Unfortunately that didn't help | 17:27 |
rinigus | arorar: pastebin | 17:28 |
arorar | https://pastebin.com/gLUygDrL | 17:29 |
arorar | @rinigus | 17:33 |
arorar | @rinigus: Interestingly when I do the sb2 -t .......in ofono it suggests that its already installed | 17:41 |
rinigus | arorar: you have to rebuild the ofono-ril-binder-plugin. it was built when you did rpm/dhd/helpers/build_packages.sh --mw | 17:55 |
rinigus | so, first downgrade the source as I linked to earlier | 17:55 |
rinigus | then run `rpm/dhd/helpers/build_packages.sh -b hybris/mw/ofono-ril-binder-plugin` | 17:56 |
rinigus | after that, with --version , sed, patterns, and mic | 17:56 |
rinigus | arorar: ^ | 17:57 |
attah | Nico[m]1: crap... i should have read up on my data formats better... several of them are enums where the names are only known from the specification | 18:19 |
rodrigosolari | help | 20:50 |
rodrigosolari | ? | 20:50 |
rodrigosolari | ** Installing runtime librariesinstall libcrypto.so.1.1 -> /usr/lib/libcrypto.so.1.1cp: cannot create regular file `/usr/lib/libcrypto.so.1.1.new': Read-only file system | 20:50 |
rodrigosolari | " /usr/lib/ " is Read-Only | 20:50 |
Nico[m]1 | attah: That sounds like fun :D | 23:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!