#nemomobile log for Thursday, 2020-04-09

PureTryOut[m]*Looks like Phosh actually. PureOS is just another Linux distribution 😉06:28
PureTryOut[m]Silica being proprietary means it'll never be considered by the other Qt based systems06:28
Alexander[m]6<SergeyChupligin4 "Oh....Qt want be closed-sources"> You're about https://mail.kde.org/pipermail/kde-community/2020q2/006098.html ?07:56
PureTryOut[m]https://github.com/nemomobile-ux/glacier-camera/pull/207:56
PureTryOut[m]Desperate times desperate measures I guess. Then again, dropping LTS in the FOSS releases was done before Corona and sounds like it was done for the same reason: more money07:57
SergeyChupligin4> <Alexander> You're about https://mail.kde.org/pipermail/kde-community/2020q2/006098.html ?07:58
SergeyChupligin4> Let's wait 💁‍♂️. I can't believe that The Qt Company management can be that stupid to go this far. 😞07:58
SergeyChupligin4Oh kmoon they chose this way over year ago when drop lts versions07:58
Alexander[m]6<SergeyChupligin4 "> <Alexander> You're about https"> Year ago = this January.07:58
Alexander[m]6* Year ago = this January.07:59
Alexander[m]6(ok, the date doesn't matter)07:59
SergeyChupligin4sed 's/Q/K/' main.cpp as solution ^_^07:59
SergeyChupligin4> <Alexander> Year ago = this January.07:59
SergeyChupligin4> (ok, the date doesn't matter)07:59
SergeyChupligin4steep by steep like SCO ^_^07:59
PureTryOut[m]Sergey Игоревич Chupligin: in regards to https://github.com/nemomobile-ux/libglacierapp/pull/4#issuecomment-61135166407:59
PureTryOut[m]Seems there is something wrong with the Sailfish Qt5Qml packaging? It depends on Qt5Declarative but that doesn't seem to be installed07:59
Alexander[m]6> <@bart:fam-ribbers.com> Sergey Игоревич Chupligin: in regards to https://github.com/nemomobile-ux/libglacierapp/pull/4#issuecomment-61135166408:00
Alexander[m]6> Seems there is something wrong with the Sailfish Qt5Qml packaging? It depends on Qt5Declarative but that doesn't seem to be installed08:00
Alexander[m]6I'm answering on the github.08:00
Alexander[m]6* I'm answering on the github.08:00
Alexander[m]6(not sent yet)08:00
PureTryOut[m]👍️08:00
SergeyChupligin4it maybe my packaging error of qtdeclarative....but i am not shure....08:03
AndrewBranson[m4<SergeyChupligin4 "> <Alexander> You're about https"> nah that's not the same. LTS is a business focused thing anyway - FOSS projects like to stay on the bleeding edge.08:03
SergeyChupligin4<Pablo[m] "Give me the features (and the bu"> use nemo with Qt 5.12 hehe08:03
PureTryOut[m]Sergey Игоревич Chupligin: btw once CMake packaging is in, could you make a new release of the applications that have been switched?08:03
AndrewBranson[m4exactly. the lts move was a good one. this is insane.08:04
AndrewBranson[m4they must be really short on cash08:04
SergeyChupligin4<PureTryOut[m] "Sergey Игоревич Chupligin: btw o"> yea...of cause08:04
PureTryOut[m]Awesome 👍️08:04
Alexander[m]6Well, I'll answer here without a link to the source code for now.08:08
Alexander[m]6In CMake there is one whole Qt5Qml with tools and plugins. In RPM there are a lot of granular files: https://build.merproject.org/package/binaries/home:neochapay:mer:qt56/qtdeclarative?repository=latest_i48608:08
Alexander[m]6Qt5QmlConfig.cmake references to many files from many RPMs.08:08
PureTryOut[m]I'm not sure why this wasn't a problem with qmake though08:08
PureTryOut[m]So to fix it, I guess RPM needs `BuildRequires:  pkgconfig(QtDeclarative)` or something?08:08
Alexander[m]6<PureTryOut[m] "So to fix it, I guess RPM needs "> This won't help. CMake FindModule creates targets which reference to all plugins. Later on CMake validates the targets and fails because the referenced files not found.08:12
PureTryOut[m]Or `BuildRequires:  qt5-qtdeclarative-tool-qml` I guess?08:12
Alexander[m]6* I've already spent 20 minutes trying to find this .cmake file and I have to give up. I have to do my own sprint tasks for a demonstration tomorrow. 😞08:38
PureTryOut[m]Sergey Игоревич Chupligin: something for you to look into then ☝︎08:38
SergeyChupligin4[SB2 sdk-build nemo-aarch64] root@neochapay-ThinkPad-T440 lipstick # rpm -qf /usr/lib/cmake/Qt5Qml/Qt5Qml_QDebugMessageServiceFactory.cmake08:50
SergeyChupligin4qt5-qtdeclarative-devel-5.12.7-1.3.10.aarch6408:50
* SergeyChupligin4 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/aqgFpIqqKTJcPNgPxDlEFtIT >08:51
Alexander[m]6<SergeyChupligin4 "qt5-qtdeclarative-devel"> I don't see how this could be.08:51
Alexander[m]6<SergeyChupligin4 "> <Alexander> On the other hand,"> Oh, OK. I was looking at https://build.merproject.org/package/view_file/home:neochapay:mer:qt56/qtdeclarative/_service:tar_git:qtdeclarative.spec?expand=108:51
SergeyChupligin4<Alexander[m]6 "Oh, OK. I was looking at https:/"> 5.12 now08:51
Alexander[m]6<SergeyChupligin4 "qt5-qtdeclarative-devel"> On the other hand, all other factories are part of plugin-qmlinspector so I would say that this file should be moved there too.08:51
SergeyChupligin4<Alexander[m]6 "Oh, OK. I was looking at https:/"> https://build.merproject.org/package/view_file/home:neochapay:mer:qt/qtdeclarative/_service:tar_git:qtdeclarative.spec?expand=108:51
PureTryOut[m]<SergeyChupligin4 "but i think we need move it into"> Yes it does! One place for all information 👍️08:51
PureTryOut[m]https://wiki.merproject.org/wiki/Nemo/Glacier/Installing on that page, "Sailfish OS emulator" links to a non existing page. What is the correct URL?09:15
aa13q<PureTryOut[m] "https://wiki.merproject.org/wiki"> probably this: https://releases.sailfishos.org/sdk/emulators/09:20
PureTryOut[m]Sergey Игоревич Chupligin: https://github.com/nemomobile-ux/nemomobile-ux.github.io/pull/709:45
SergeyChupligin4<PureTryOut[m] "Sergey Игоревич Chupligin: https"> Sweet09:46
PureTryOut[m]The instructions seem a bit dated though, mentioning SailfishOS 2.1.x.x still (3.x.x.x has been out for who knows how long now) and Ubuntu 14.04 as verified SDK platform09:46
PureTryOut[m]Hmm the homepage needs some screenshots really09:48
SergeyChupligin4<PureTryOut[m] "Sergey Игоревич Chupligin: https"> Mergecd10:07
SergeyChupligin4need add instuctions how to installing on necunos and other10:07
PureTryOut[m]Yeah same for postmarketOS and Arch once the packaging is finished10:07
PureTryOut[m]I'll add postmarketOS later, others have to do the other distributions10:07
SergeyChupligin4https://www.qt.io/blog/qt-and-open-source10:20
Pablo[m]2that's a short post10:20
PureTryOut[m]Way too short... They need to elaborate more10:21
PureTryOut[m]https://github.com/nemomobile-ux/glacier-gallery/pull/810:33
PureTryOut[m]Btw Sergey Игоревич Chupligin note that if you make a new release with a CMake package, increase the version in CMakeLists.txt as well10:34
PureTryOut[m]Where does `agent.h` come from? https://github.com/nemomobile-ux/glacier-home/blob/devel/src/bluetooth/bluetoothagent.h#L711:31
Alexander[m]6<PureTryOut[m] "Where does `agent.h` come from? "> Seems to be KF5BluezQt.11:33
PureTryOut[m]Nope11:33
PureTryOut[m]Installed it, linked against it, still not there. KF5BluezQt doesn't have that file either11:33
* PureTryOut[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MlbLzsyTLwNXJVsUreJimhTK >11:39
* Alexander[m]6 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CruXVOQgDuTopbiGNAKHealj >11:41
PureTryOut[m]Well yeah I know, I have that installed, and the required stuff from ECM added to CMakeLists.txt11:41
PureTryOut[m]My current WIP CmakeLists.txt: https://github.com/PureTryOut/glacier-home/blob/cmake/CMakeLists.txt11:44
* aa13q sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MsGLJJWCjADTtwljAmYAYSxI >11:51
PureTryOut[m]Ah you're reight11:52
PureTryOut[m] * Ah you're right11:52
Alexander[m]6<PureTryOut[m] "Installed it, linked against it,"> But you said "KF5BluezQt doesn't have that file either" 💁‍♂️😂.11:58
PureTryOut[m]Alexander: yeah idk my search didn't find it 😂11:58
PureTryOut[m]Hmm seems glacier-home expects some older version of KF5BluezQt as well. Used API call got removed12:00
* aa13q imagines some glacier-home mascot that is happy dancing right now that somebody is talking about to update it to upstream Qt similar to lipstick and other packages 😅12:04
aa13q`agent.h` is too abstract to just hope the system will find it automatically by the way. For example, I have several 'agent.h` in my system: from bluez-qt, connman and libnice %)12:07
aa13q * `agent.h` is too abstract to just hope the system will find it automatically by the way. For example, I have several `agent.h` in my system: from bluez-qt, connman and libnice %)12:08
PureTryOut[m]aa13q: btw how did you get libdsme compiling? I have nothing but issues with it12:18
PureTryOut[m]I need https://git.sailfishos.org/mer-core/libdsme/merge_requests/7 to fix the library symlinks and stuff, but then lipstick still links to a non-existent file for some reason12:19
PureTryOut[m]Ah fixed it, that MR was incomplete12:26
PureTryOut[m]Build glacier-home successfully with CMake now12:26
PureTryOut[m] * Built glacier-home successfully with CMake now12:26
* aa13q sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CCyAFjkcFXYVwFUaUfHZSmyd >12:27
PureTryOut[m]> /usr/lib/libdsme.so.012:28
PureTryOut[m]That exists for you? Wut?12:28
PureTryOut[m] * >  /usr/lib/libdsme.so.012:28
PureTryOut[m] That exists for you? Wut?12:28
PureTryOut[m] * > /usr/lib/libdsme.so.012:28
PureTryOut[m]That exists for you? Wut?12:28
aa13q¯\_(ツ)_/¯ should look more careful, but yeah, it's here, rebuilded a minute ago12:29
PureTryOut[m]https://github.com/nemomobile-ux/glacier-home/pull/12412:31
aa13q<PureTryOut[m] "https://github.com/nemomobile-ux"> awesome!12:32
aa13q * ¯\_(ツ)_/¯ I should look more careful, but yeah, it's here, rebuilded a minute ago12:33
PureTryOut[m]<aa13q "¯\_(ツ)_/¯ should look more caref"> Ok wtf.12:36
* PureTryOut[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/czjMojlokTOIfDLvgdCRWGqX >12:40
SergeyChupligin4<PureTryOut[m] "https://github.com/nemomobile-ux"> But it not broke build on sfos, current nemo?12:41
PureTryOut[m]Sergey Игоревич Chupligin: SFOS, current Nemo, doesn't use Qt 5.14 which probably makes the qDebug thing not as much of a problem. And you're almost definitely using an old BluezQt12:41
* PureTryOut[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/iDgxWdFeNITzykLBfDgDWbYH >12:53
PureTryOut[m]WAit, aa13q do you use https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/libdsme#n31 or your custom packaging?13:04
PureTryOut[m] * Wait, aa13q do you use https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/libdsme#n31 or your custom packaging?13:04
aa13q<PureTryOut[m] "WAit, aa13q do you use https://g"> whoah, nice catch! it's my dirty system, sorry for misleading!13:20
PureTryOut[m]👍️13:22
aa13qso `/usr/lib/libdsme.so.0` doen't mapped to any package in my system, I hurried and probably added some dirty hack the other day %) I should completly switch to clean chroot, sorry 😅13:22
PureTryOut[m]As far as I'm concerned, the Sailfish package is broken. Arch fixes it in the packaging, and for now I will too. But we should definitely get a fix upstream13:23
aa13qSergey, any hints why mer-core is still on bluez4? Looks like bluez5 is GPL2 too? 🤔 Maybe technical limitations or just not in our scope yet?13:34
aa13qHmm, probably something about old kernels (less than 3.13) for some devices and ble support: https://together.jolla.com/question/8589/proper-bluetooth-le-support/13:38
aa13q<PureTryOut[m] "Sergey Игоревич Chupligin: SFOS,"> it looks like bluez5 is here https://git.sailfishos.org/mer-core/bluez5 and bluez4 is for compatibility reasons13:44
aa13q> <@bart:fam-ribbers.com> Sergey Игоревич Chupligin: SFOS, current Nemo, doesn't use Qt 5.14 which probably makes the qDebug thing not as much of a problem. And you're almost definitely using an old BluezQt13:45
aa13q * it looks like bluez5 is here https://git.sailfishos.org/mer-core/bluez5 (from Sailfish 2.0 or later) and bluez4 is for compatibility reasons13:45
aa13q<PureTryOut[m] "Way too short... They need to el"> I'm also interested in the details. As far as I understood, the main not solved task in general for a long-long time is not about commercial/open-source. It is more about the gray zone where both commercial and open-source parts are not covering the projects enough (for the projects like qt creator). And it probably is very valuable if all the grey parts would be formalized14:09
aa13qbetter. I could be wrong with my thoughts.14:09
aa13q> <@bart:fam-ribbers.com> Way too short... They need to elaborate more14:10
aa13q * I'm also interested in the details. As far as I understood, the main not solved task in general for a long-long time is not about commercial vs open-source. It is more about the gray zone where both commercial and open-source parts are not covering the projects enough (for the projects like qt creator). And it probably is very valuable if all the grey parts would be formalized better. I could be wrong with my thoughts.14:10
PureTryOut[m]Nexus 5 runs awesome on mainline actually, so you should probably move to it 😉14:14
PureTryOut[m]<SergeyChupligin4 "Oh sweeet kfbluez from upstream "> Well of course. KDE has no reason to care about Bluez4 anymore whatsoever14:14
PureTryOut[m]That's not bad at all 😉14:27
PureTryOut[m] * That's not bad at all14:27
PureTryOut[m]The bad thing is those old devices never being mainlined and using old-ass kernels14:28
aa13q<SergeyChupligin4 "baaaaaaaaaaaaaaaaaaaaad but yea."> cool!) 👍️14:29
malPureTryOut[m]: how is the battery life on nexus 5 with mainline?14:45
maljust wondering14:45
PureTryOut[m]No clue, haven't tried it myself yet14:46
PureTryOut[m]And then it of course depends on the userland you're running as well. I can only test Plasma Mobile or Phosh on postmarketOS14:46
PureTryOut[m]https://github.com/nemomobile-ux/glacier-settings/pull/2014:46
PureTryOut[m]Now let's see if I can get it actually running in some form14:48
PureTryOut[m]Any instructions?14:48
SergeyChupligin4<PureTryOut[m] "https://github.com/nemomobile-ux"> https://github.com/neochapay/glacier-home/commit/9bb1349e9b07fe88bae051c115f96c12d2a9fdca16:17
PureTryOut[m]Oh sure that'll work too, I'll add it to my PR16:17
SergeyChupligin4i was try and all is well16:23
PureTryOut[m]Added your changes now16:23
SergeyChupligin4<PureTryOut[m] "Added your changes now"> Forgot BuildRequires:  extra-cmake-modules >= 5.68.016:25
PureTryOut[m]Oh you're reight16:26
PureTryOut[m] * Oh you're right16:26
SergeyChupligin4And -DCMAKE_INSTALL_LIBDIR=%{_lib}  -> -DCMAKE_INSTALL_LIBDIR=%{_libdir}16:27
PureTryOut[m]Actually, `data/nemovars.conf` doesn't exist16:27
SergeyChupligin4<PureTryOut[m] "Actually, `data/nemovars.conf` d"> I make git mv from src to data17:00
PureTryOut[m]I've added it from the master branch for now17:00
PureTryOut[m]Oh, Glacier Home depends on QtFeedback but that hasn't seen a release since 2012, and even that was just a beta release19:19
PureTryOut[m]What exactly is it used for? Could it be replaced by KF5Userfeedback maybe?19:20
AndrewBranson[m4Maybe vibration?19:27
PureTryOut[m]Oh that makes sense19:27
PureTryOut[m]What package provides "org.nemomobile.ofono" for QML?19:27
DylanVanAsscheQtFeedback is vibration support in SFOS/Nemo19:27
PureTryOut[m]I'd think libqofono, but that only provides "MeeGo.QOfono"19:27
malthis is the branch used for qtfeedback in sfos https://git.sailfishos.org/mer-core/qtfeedback/commits/mer-master and here are the plugins used in sfos https://github.com/mer-hybris/qt5-feedback-haptics-droid-vibrator19:33
PureTryOut[m]Oh it's not even an upstream version?19:33
PureTryOut[m]At least the import seems happy with the latest git master from https://github.com/qt/qtfeedback19:33
PureTryOut[m]Oh, ouch. `org.nemomobile.ofono` seems to be provided by Sailfish's fork of `ofono`... No chance of using upstream here I guess either...19:36
PureTryOut[m]Oh never mind, it's libqofonoext. Luckily, pfhew19:46
aa13qTalking about wrappers for the ofono, Alexander notes this details during his investigation in the context of telepathy project: https://github.com/TelepathyIM/telepathy-qt/wiki/Connection-Managers#fragmentation-story-s01e0321:56
*** verin0x7 is now known as verin0x23:08

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!