[2021-09-26T00:02:49Z] illiliti: https://gitlab.freedesktop.org/wayland/wayland/-/issues/72 [2021-09-26T00:03:04Z] there is this ubikbsd link which is I think obsd related. [2021-09-26T00:03:22Z] It was accessible without account. maybe its gone now. dunno [2021-09-26T00:12:31Z] i don't understand why they can't just use poll/select [2021-09-26T00:13:33Z] in wayland? [2021-09-26T00:13:38Z] upstream [2021-09-26T00:13:57Z] yep [2021-09-26T00:14:30Z] https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/src/event-loop.c [2021-09-26T02:54:50Z] hmm, when I'm trying to make the kernel the build script seems to want diff -I [2021-09-26T02:58:14Z] a few other errors, like for find [2021-09-26T05:29:15Z] Hi [2021-09-26T05:29:20Z] tleydxdy: it doesn't matter [2021-09-26T05:57:07Z] hmm, it only built a tiny part of the kernel [2021-09-26T05:57:18Z] guess my config is wrong somewhere [2021-09-26T05:57:45Z] perhaps I should use my current one from arch as the base [2021-09-26T06:02:04Z] noticed the use of underscore [2021-09-26T06:02:15Z] didn't know that was a thing in the shell [2021-09-26T10:13:58Z] illiliti: heres some wip work from 3-4 ago https://github.com/jasperla/openbsd-wip/tree/master/x11/wayland [2021-09-26T10:24:29Z] 3-4 years ago [2021-09-26T16:14:11Z] ree, compiling the kernel still gives __always_inline error, but I've already patched swab.h [2021-09-26T16:16:33Z] just find the file with the error and add the same linux/stddef.h include [2021-09-26T16:17:00Z] yeah, it's still complainingabout swab [2021-09-26T18:06:00Z] ah, wth [2021-09-26T18:06:07Z] it's using the headers from the system [2021-09-26T18:06:14Z] rather than the unpacked directory [2021-09-26T18:06:48Z] wierd [2021-09-26T18:15:38Z] lol samba.org is down [2021-09-26T18:17:37Z] is there someway to do split package? [2021-09-26T18:17:58Z] or are the source file downloaded automatically deduped [2021-09-26T20:05:49Z] tleydxdy[m]: sources are not deduped between pacakges [2021-09-26T20:12:10Z] hmm [2021-09-26T20:13:11Z] would make sense to dedup using the checksum for example [2021-09-26T20:14:50Z] ah, I guess that would be a problem if say the checksum was outdated [2021-09-26T20:15:35Z] still fighting the initramfs, fun [2021-09-26T20:40:21Z] i guess it could, but that might be slow [2021-09-26T20:40:38Z] would require storing the checksum of every downloaded file and grepping for it each time you download a package [2021-09-26T20:41:06Z] for a not too common use case [2021-09-26T20:53:02Z] checksums are already stored in package db [2021-09-26T20:54:14Z] oh hm nvm [2021-09-26T20:54:37Z] the files need them too [2021-09-26T20:55:57Z] well, it would just be a symlink [2021-09-26T20:57:18Z] so the files are stored in sources with their name as the checksum [2021-09-26T20:57:35Z] and the current way source work are converted to symlinks [2021-09-26T20:57:50Z] but yeah, now I think about it it would has some problem [2021-09-26T20:58:02Z] better to have split package or provides [2021-09-26T20:59:12Z] s/name/checksum/, s/checksum/file name/ [2021-09-26T20:59:12Z] better to have split package or provides [2021-09-26T21:11:45Z] I do want a "provides" for kiss, I think the current way of doing it is to symblink alternative package to the package it provides, but it's not the greatest [2021-09-26T21:41:03Z] Are there any RSS feed readers that have been packaged for kiss already? [2021-09-26T22:09:00Z] rio6: I tried the symlink method, but it doesn't quite work right (or I'm misunderstanding something) [2021-09-26T22:09:16Z] basically it tries to install the package twice [2021-09-26T22:09:50Z] since some package depends on the alternative directly [2021-09-26T22:14:52Z] yeah I don't like that method either [2021-09-26T22:15:36Z] does openssl still depend on perl? [2021-09-26T22:17:47Z] I think the fix would be relatively simple [2021-09-26T22:18:27Z] just dereference the symlinks when reading the dependency [2021-09-26T22:18:42Z] rather than using them as is [2021-09-26T22:33:44Z] so I'm reading through the sources of kiss [2021-09-26T22:34:15Z] seems like circular dependencies are not handled [2021-09-26T22:34:43Z] what's the intended way to do it? [2021-09-26T22:36:02Z] they are handled [2021-09-26T22:36:07Z] https://github.com/kisslinux/kiss/blob/master/kiss#L552 [2021-09-26T22:36:36Z] it's a very hacky and ugly way but it works [2021-09-26T22:39:10Z] well, die is not really handling it [2021-09-26T22:40:43Z] I guess the right solution would be to ditch the software since it's badly designed [2021-09-26T22:41:06Z] * the software (that has circular dependency) since it's [2021-09-26T22:41:53Z] die prevents segfault due to stack overflow caused by circular dep [2021-09-26T22:42:43Z] okay, by handling it I mean some way to make the package install correctly [2021-09-26T22:45:16Z] circular dep is bug not a feature [2021-09-26T22:45:45Z] that's why kiss just dies if it sees circular dep [2021-09-26T22:46:43Z] this is the only *proper* way to handle circular deps imo [2021-09-26T22:48:18Z] > I guess the right solution would be to ditch the software (that has circular dependency) since it's badly designed [2021-09-26T22:48:18Z] so this [2021-09-26T22:49:49Z] yeah [2021-09-26T22:50:03Z] see also: freetype-harfbuzz [2021-09-26T22:50:48Z] https://github.com/kisslinux/repo/tree/master/extra/freetype-harfbuzz [2021-09-26T22:51:54Z] ah ic [2021-09-26T22:52:05Z] so zfs probably need the same thing [2021-09-26T22:53:06Z] what's the problem with zfs? [2021-09-26T22:54:58Z] all these packages have readme now, nice [2021-09-26T22:55:13Z] for what events we get device change in udev? [2021-09-26T22:55:32Z] network link up/down? [2021-09-26T22:56:53Z] ryoshu: display brightness change [2021-09-26T22:57:35Z] hmm, is there a comletr [2021-09-26T22:57:39Z] complrtr [2021-09-26T22:57:49Z] complete list somewhere [2021-09-26T22:58:00Z] idk [2021-09-26T22:58:09Z] (sorry screen is wet and misclicks) [2021-09-26T22:58:38Z] zfs packages has circular depencies, but I guess it would make sense to jusr package as one [2021-09-26T22:59:00Z] ryoshu: all good [2021-09-26T22:59:26Z] grep change action in linux source [2021-09-26T23:02:13Z] https://grep.app/search?q=KOBJ_CHANGE&filter[repo][0]=torvalds/linux [2021-09-26T23:05:12Z] thanks [2021-09-26T23:06:16Z] i am working on enumeration, is there a need to store match patterns in udev_list_entry? i used a dedicated data structure [2021-09-26T23:06:42Z] list, but i plan to switch to rbtree [2021-09-26T23:07:34Z] API hardcodes udev_list_entry [2021-09-26T23:07:42Z] in future, for now the goal is to get it operational [2021-09-26T23:07:42Z] you must comply [2021-09-26T23:08:43Z] in what call hardcodes? [2021-09-26T23:09:00Z] i plan to return to the code in 0.5h [2021-09-26T23:09:14Z] udev_enumerate_get_list_entry [2021-09-26T23:10:39Z] On success, udev_enumerate_get_list_entry() returns a pointer to the first entry in the list of found devices. [2021-09-26T23:11:02Z] but i am thinking about match_subsystem etc [2021-09-26T23:11:20Z] match_parent [2021-09-26T23:11:31Z] match_property [2021-09-26T23:11:34Z] the whole match thing is the mess [2021-09-26T23:11:40Z] tleydxdy[m]: wdym zfs has a circular dep? [2021-09-26T23:11:41Z] horrible mess [2021-09-26T23:12:22Z] i think callback is better than these hardcoded match functions [2021-09-26T23:12:55Z] anyway, you can copy the logic from libudev-zero code [2021-09-26T23:15:38Z] ryoshu: also, don't bother with sysattrs [2021-09-26T23:16:00Z] same for match_parent [2021-09-26T23:16:48Z] it uses udev_list_entry and stores value as key, keeping right hand value null [2021-09-26T23:17:12Z] kind of surprising design if this is mandated by api [2021-09-26T23:17:40Z] yeah, the api is shit [2021-09-26T23:20:06Z] libudev-devd stores devnodes instead of syspaths [2021-09-26T23:20:36Z] i think you should do this too [2021-09-26T23:21:07Z] i only keep /dev/nodeX [2021-09-26T23:21:22Z] major minor unit (same as unit?) [2021-09-26T23:22:10Z] i need to submit from the kernel subsystem and input discrimination data, like touchpad or mice [2021-09-26T23:22:40Z] /sys is trimmeed fully [2021-09-26T23:23:18Z] good [2021-09-26T23:23:56Z] also parent, but the kernel version is i think buggy [2021-09-26T23:24:35Z] but as no api tests it, we get what we have [2021-09-26T23:26:25Z] is refcnt design necessary for the api? are there some wins with it? [2021-09-26T23:27:40Z] except being fancy [2021-09-26T23:29:40Z] it's useful if you pass context between many libraries. so you don't need to manually track when you need free context [2021-09-26T23:30:22Z] it's also useful keeping parent device of udev_device [2021-09-26T23:30:58Z] but the library is generally not thread safe, am i right? [2021-09-26T23:31:01Z] by design [2021-09-26T23:31:08Z] yes [2021-09-26T23:32:59Z] is this a problem ever? [2021-09-26T23:33:15Z] in practice [2021-09-26T23:33:41Z] no [2021-09-26T23:33:54Z] okay, thank you [2021-09-26T23:35:04Z] np [2021-09-26T23:37:44Z] refcnt is basically a primitive implementation of garbage colletion