rinigus | piggz and nephros: kf6 macro has been updated (piggz PR) and I have added into tbuilder kf6 libs failing at obs. started the rebuilds at obs and tbuilder | 06:55 |
---|---|---|
piggz[m] | Rinigus: for packages that build ok on obs, we keep on obs? I have 2 new ones, syndocate and threadweaver | 07:09 |
rinigus | piggz: yes, unless something that doesn't build and depends on them. please add with obs request - I will pick them up later and add to .qt6 or similar lists for our updating pleasure | 07:10 |
rinigus | morning! | 07:10 |
piggz[m] | Gm! | 07:11 |
nephros | Morning!! | 07:12 |
nephros | Naming things is always the hardest. | 07:18 |
nephros | Regarding PR12, I guess we should be using a kde- prefix for libraries and pim things. | 07:20 |
rinigus | nephros and piggz: do we discuss naming (https://github.com/sailfishos-chum/qt6/pull/12#issuecomment-2424689926) here or at github? piggz would have to catch up ... | 07:20 |
rinigus | nephros: yes, would be simpler to limit it to one extra prefix | 07:21 |
rinigus | do we add 6 to it or keep just kde? | 07:22 |
nephros | Well, they don't have a version 6.x so I'd say no. | 07:23 |
nephros | Some/Most of them can be built against qt5 as well. | 07:23 |
nephros | Should somwthing come in from Plasma we could do a kp6- | 07:24 |
rinigus | OK, then it would be easier maybe just kde- | 07:25 |
rinigus | and if users want to uninstall it in one go, zypper rm qt6* kf6 should do the job | 07:25 |
nephros | Another thing: https://github.com/sailfishos-chum/kf6/blob/fe64e0a21f76e80c08f49135fc87d996eb91085f/macros.kf6#L87 | 07:37 |
nephros | Could that be made to operate on kf_version? As KDE packages have 24.xx.y %version, so BuildRequires: kf6-foo >= %{majmin_ver_kf6} does not work right now. | 07:38 |
rinigus | nephros: do we then have to define kf_version in macros.kf6? I guess it will be then _kf6_version? | 07:43 |
nephros | My plan would be to have kf_version defined in the .spec as usual. I mean I can just not use majmin_ver_kf6 and set the min version another way. | 07:45 |
nephros | I just thought it looks cleaner if it's done the same way in kde- and kf6- packages. | 07:47 |
rinigus | not sure I have used majmin_ver_kf6 in kf specs. maybe used kf_version instead. in some sense would be good to follow fedora where it makes sense - easier for us later to copy if needed | 07:49 |
rinigus | how do they do it/ | 07:49 |
rinigus | ? | 07:49 |
rinigus | qt6-prebuilt is updated right now, new macro and updated kf6 libs should be soon available | 07:50 |
nephros | I "discovered" majmin_ver_kf6 in the kf6-kirigami.spec which I used as a template for my submissions. | 07:52 |
jord | Hi there | 07:53 |
nephros | I guess that was a Fedora spec once. | 07:54 |
nephros | jord: hello | 07:54 |
jord | Been having a bug on SFOS for quite a while - when I plug in headphones I get a whirring sound from them - probably from the mic | 07:54 |
jord | running ncpamixer seems to fix the problem but I was wondering how to write a systemd unit/script to autorun on boot for it... as i understand | 07:55 |
jord | ncpamixer needs ncurses/a terminal to run from right? | 07:55 |
jord | that or i'm looking for the right command to run with pactl, thanks :) | 08:02 |
rinigus | nephros: I guess so. | 08:03 |
nephros | jord: so simply starting ncpamixer fixes it? Or do you enable/disable sthg? | 08:41 |
jord | nephros: yeah starting ncpamixer seems to fix it, also strangely from debugging running pamon fixes it too | 08:51 |
jord | I'm not quite sure what sink i need to find to mute it | 08:51 |
nephros | jord: well can't help you findong the right incantation, but if you have a command that fixes it non-interactively, it should be easy to make a systemd unit, crontab entry or something else that runs that. | 09:05 |
jord | nephros: yeah the only problem is that ncpamixer won't run without being in a terminal afaik | 09:07 |
jord | mb had to reboot, yeah if i could cron it somehow that might work | 09:10 |
jord | I fucking hate systemd | 09:18 |
jord | nephros: so I wrote a systemd unit to just run pamon | 09:43 |
piggz[m] | mal: rinigus QML cache gen fails also in kasts... works locally, and app is running well https://build.sailfishos.org/build/home:piggz:qt6apps/sailfish_latest_aarch64/aarch64/kasts/_log | 09:44 |
jord | its got rid of it, but the downside is it's probably constantly running so sleep won't work as well, as a guess | 09:44 |
jord | I have no idea why this works but eh *shrugs* | 09:46 |
rinigus | %define jollastore 1 | 09:47 |
rinigus | piggz: during the meeting "ViGe: It might be that the easiest fix is to accelerate qmltyperegistrar ..." . no idea what it means. maybe we could get that "easy" fix for obs? | 09:47 |
rinigus | (ignore jollastore line) | 09:47 |
nephros | rinigus: I think 'accelerate' means running tools on the host. https://github.com/sailfishos/scratchbox2/pull/34 | 10:29 |
nephros | https://github.com/sailfishos/scratchbox2/blob/9ffea1180c487515d199b2e1afe57c9aa7e50d17/modes/obs-rpm-build%2Bpp/fs_rules.lua#L112 | 10:30 |
rinigus | nephros: host is what - x86? and then cross-compile? | 10:42 |
rinigus | I don't know what exactly qmlcachegen does and I am not sure it supports cross-compilation. should be possible to run using qemu though | 10:48 |
nephros | rinigus: AFAIK the sb2 system runs *some* things on the x86 host system, and others under qemu. e.g. cmake is one of those. | 10:58 |
nephros | About cross-compiling, there's a section about that in the Qt docs. You build the base tools for the host and point th Qt build system to those. | 10:59 |
rinigus | let's see what they will come up with to solve this annoying bug :) | 11:03 |
nephros | rinigus: I can has write/push access to sailfishos-chum/kpublictransport.git plz? | 12:17 |
rinigus | just a sec | 12:17 |
rinigus | nephros: done | 12:21 |
nephros | thx!! | 12:23 |
jord | nephros: thanks for the ideas I finally just gave up on trying to figure out why my left headphone was static all the time (mic) | 14:46 |
jord | I made a systemd service that uses pamon to run a raw audio stream all the time, seems to stop when taking calls/mic works fine then it goes back to blocking out the static | 14:47 |
jord | I don't know why it works, but it does... tried a ton of pactl commands/pulseaudio config but nothing else worked | 14:47 |
nephros | jord: hmmm, if it runs all the time that may prevent device sleep - not ideal if so. | 15:03 |
jord | nephros: yep, i'm surprised this hasn't come across on the forums before | 15:33 |
jord | I even tried reflashing but that did nothing, it's not the headphones either because they work perfectly with other things | 15:33 |
nephros | jord: which device? | 15:37 |
jord | Xperia 10 III | 15:37 |
jord | Not sure how else to fix it tbh :) | 15:47 |
jord | It's a hacky solution but it works | 15:47 |
mal | which headset? | 16:09 |
piggz[m] | rinigus: i apparnetly dont have enough ram to compile 1 file in tokodon, devs told me it was a "big" file! https://paste.mozilla.org/ZxsSGNhb | 16:27 |
piggz[m] | rinigus: nephros if either of you have plenty of ram, could you try building tokodon locally from the kf6 branch pls | 16:40 |
jord | mal: they're some cheap iems, truthear holas | 16:42 |
nephros | piggz[m]: all my machines are ancient - how much is "plenty"? | 16:44 |
piggz[m] | nephros: i allocated 12gb to the virtualbox sdk!!! | 16:44 |
rinigus | piggz: should be no problem. I can allocate at OCI rather large amounts | 16:45 |
nephros | oh my.. | 16:45 |
rinigus | piggz: repo url please | 16:46 |
piggz[m] | sailfishos-chum/tokodon | 16:46 |
nephros | so I am ready to submit kde-foo packages. Are fine with that prefixing? | 16:46 |
rinigus | yes, sounds good. piggz ? | 16:46 |
nephros | https://build.sailfishos.org/project/show/home:nephros:devel:qt6 | 16:47 |
piggz[m] | whats the definition of that prefix? | 16:47 |
piggz[m] | things that are not frameworks? | 16:48 |
nephros | piggz[m]: yes, packages from KDE that are neither plasma nor frameworks. | 16:49 |
nephros | but have the ame versioning (24.08.2 at the moment). | 16:49 |
piggz[m] | sure ... fine by me ... | 16:49 |
piggz[m] | ok | 16:49 |
nephros | for building kde-kitinerary this is needed: https://github.com/sailfishos/poppler/pull/5 | 16:50 |
piggz[m] | thats what apps like kasts and tokodon have as the version... | 16:50 |
nephros | piggz[m]: then you can manage them using packages.kde from https://github.com/sailfishos-chum/qt6/pull/12 | 16:53 |
rinigus | piggz: build failed with patching https://paste.mozilla.org/pXXDW2RM | 16:54 |
rinigus | piggz: if I drop that patch, it fails with cmake error: https://paste.mozilla.org/ZCWNwPPH | 16:56 |
rinigus | looks like some dependencies are missing | 16:56 |
* attah went looking for why someone might want poppler old/unstable - found exactly zero code search results | 16:57 | |
rinigus | piggz: and tips on how much ram is needed... | 16:57 |
nephros | attah: do not know why but kitinerary wants them. | 16:59 |
attah | Hmmm.. yeah, that looks pretty well entangled | 17:02 |
rinigus | piggz: just saw in your messages in kirigami room. ok, we can just allocate 64GB ram for now and see how it goes | 17:02 |
attah | Image extraction and such | 17:02 |
piggz[m] | Rinigus: will fix shortly | 17:03 |
rinigus | piggz: great. instance is getting modified and I can start it after some "short" time. no idea what are we talking about | 17:04 |
rinigus | helps to complain - starting | 17:04 |
rinigus | nephros: added that list. now will check which are failing and need to be prebuilt | 17:11 |
nephros | rinigus: sorry which list? | 17:13 |
rinigus | https://github.com/sailfishos-chum/qt6/pull/11 | 17:13 |
nephros | ah ok. | 17:13 |
nephros | failing ones are kf6-prison and kf6-kcalendarcore | 17:15 |
rinigus | thanks! added and soon will be uploaded | 17:21 |
rinigus | piggz: added kf6-sonnet-devel kf6-kitemmodels-devel to requirements, but still something is missing. https://paste.mozilla.org/AMAndHgM | 17:49 |
piggz[m] | rinigus: is patch 3 getting applied? | 17:55 |
rinigus | piggz: this one is: 0003-add-sailfish-support.patch | 17:57 |
piggz[m] | thats the one | 17:57 |
piggz[m] | rinigus: | 17:58 |
piggz[m] | -- Could NOT find KF6 (missing: ColorScheme) (found suitable version "6.6.0", minimum required is "6.0.0") | 17:58 |
piggz[m] | add kf6-kcolorscheme-devel :) | 17:58 |
rinigus | piggz: building! | 18:00 |
rinigus | piggz: all built, now issues with the missing files in packages | 18:07 |
rinigus | ram didn't go more than 1.5gb for gcc | 18:07 |
rinigus | native vs sb2? | 18:07 |
piggz[m] | huh ... i tried both gcc and clang in the sfdk | 18:08 |
piggz[m] | both crached ... clang said OOM, gcc the segfaulted | 18:08 |
rinigus | telling you - we all should go just native (or qemu of not available) | 18:09 |
piggz[m] | seems so! | 18:10 |
piggz[m] | send me the rpm when done ... i will need to do a new patch for using qt-runner in the .desktop file right? | 18:10 |
rinigus | yes, that failed | 18:10 |
rinigus | piggz: here is the current diff: https://paste.mozilla.org/4VuJ8NTn . please add to your changes, I am using readonly access from that server | 18:12 |
rinigus | piggz: unpackaged files now. updated diff https://paste.mozilla.org/r9UiwR7S | 18:18 |
piggz[m] | ha, just pushed... will add these | 18:18 |
rinigus | notice changes in 5->6 | 18:18 |
piggz[m] | rinigus: pushed | 18:19 |
rinigus | piggz: I'll pull only when all is done :) | 18:19 |
rinigus | piggz: and final diff - that worked https://paste.mozilla.org/6HC0uf5d | 18:34 |
piggz[m] | rinigus: that looks like it should match the current kf6 branch, but the branch has a fixed patch 0002 | 18:40 |
rinigus | piggz: there was one dot too much. in scalable/actions/%{name}*.svg | 18:41 |
piggz[m] | rinigus: pushed | 18:43 |
mal | nephros: does that poppler PR really work correctly, wouldn't that include all headers in devel and the some of those in private-devel, that %{_includedir}/poppler in devel package will include everything, so either you need to use exclude for the file you don't want in devel package or specifically list files you want in both | 20:59 |
mal | for it to work there should not be any overlap because private-devel and devel because private-devel requires devel | 21:01 |
nephros | mal: according to my tests, it works as intended, with no overlap. private-devel includes /usr/include/*.h plus some subdirs. the plain -devel has only the cpp, qt5, and glib subdirs. | 21:22 |
nephros | note it's %{_includedir}/poppler/*.h, not %{_includedir}/poppler/ | 21:23 |
mal | hmm, wondering if there is some new feature in rpm or what which handles the overlaps automatically because I remember in the past exclude was used | 22:42 |
mal | or if it works because the Requires so it makes sure the those can be installed at the same time | 22:43 |
nephros | mal: The trick is, IIRC, that without the "build private headers" build option, %includedir is empty, except for the cpp, qt5, and glib subdirs. | 22:47 |
nephros | Once you build with private headers, a bunsh of .h files appear in the include dir, plus some new subdirs. | 22:47 |
nephros | because of this, there is no overlap in the %files directives in the two packages. | 22:48 |
nephros | Now, what *could* happen, and I have not checked that, is that private headers also appear in cpp, qt5, and glib subdirs. | 22:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!