💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2023-06-09.txt captured on 2024-05-10 at 14:02:59.
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
[2023-06-09T01:05:11Z] <iceman[m]> <testuser[m]> "iceman:..." <- nice, he back [2023-06-09T11:31:14Z] <sewn> testuser: is it possible to check for radeon drivers at mesa build time to check if user needs LLVM? [2023-06-09T11:31:33Z] <sewn> error('The following drivers require LLVM: RadeonSI, SWR, Lavapipe. One of these is enabled, but LLVM is disabled.') [2023-06-09T11:31:44Z] <sewn> only people with amd graphics drivers such as myself require llvm [2023-06-09T11:32:12Z] <sewn> it can be checked with file /sys/module/amdgpu maybe [2023-06-09T11:32:43Z] <testuser[m]> no [2023-06-09T11:32:44Z] <testuser[m]> so bad [2023-06-09T11:32:46Z] <sewn> why not [2023-06-09T11:32:52Z] <testuser[m]> non deterministic [2023-06-09T11:32:56Z] <sewn> you're gonna ask everyone to build llvm when they dont need it tho [2023-06-09T11:33:32Z] <sewn> testuser[m]: wdym [2023-06-09T12:25:51Z] <sewn> honestly im suprised muon can build mesa [2023-06-09T13:05:55Z] <sewn> illiliti: why did muon build need MUON_STATIC compilation option to be removed? did it cause a build failure? [2023-06-09T13:13:05Z] <illiliti> because it breaks discovery of packages that have pkg config file installed [2023-06-09T13:13:16Z] <illiliti> https://git.sr.ht/~lattis/muon/tree/master/item/src/external/libpkgconf.c#L63 [2023-06-09T13:15:39Z] <illiliti> by removing muon_static option, we tell muon/libpkgconf to use default pkg config path while keeping static build [2023-06-09T13:23:04Z] <sewn> ah i see [2023-06-09T13:59:47Z] <sewn> these packages do not use DESTDIR: baseinit baselayout busybox bzip2 certs kiss linux-headers pigz cbindgen efibootmgr firefox-privacy man-pages meson nodejs nss python-docutils python-mako python-markupsafe ttf-croscore [2023-06-09T14:00:23Z] <sewn> only checked these by grepping DESTDIR [2023-06-09T14:01:04Z] <sewn> muon pr: https://codeberg.org/kiss-community/repo/pulls/148 [2023-06-09T14:03:07Z] <sewn> do muon/meson build files use the build directory as 'output' or 'build'? which is preferred [2023-06-09T14:25:48Z] <illiliti> the one you like more [2023-06-09T14:26:57Z] <sewn> the one the maintainer of the package likes more* [2023-06-09T15:32:03Z] <xdream8[m]> When that muon pr will be merged? [2023-06-09T15:37:51Z] <sewn> its literally freah [2023-06-09T15:37:53Z] <sewn> fresh [2023-06-09T15:38:01Z] <sewn> atleast give it like one kiss maintainer meeting [2023-06-09T20:35:22Z] <sad_plan> hi [2023-06-09T20:38:01Z] <sad_plan> sewn: on sabotage, mesa is split into separate packages. one of which is for radeon/amd gpu. which obviously requires llvm which you mentioned. you could look at that. as iirc, they have a switch for it [2023-06-09T20:38:41Z] <sewn> smart actually [2023-06-09T20:43:57Z] <sad_plan> yep. [2023-06-09T20:44:22Z] <sad_plan> not sure how the switch works, but it could be worth looking into in any case [2023-06-09T21:06:30Z] <illiliti> split could be done with provides system [2023-06-09T21:09:44Z] <sad_plan> sure [2023-06-09T21:18:28Z] <sewn> provides system coming near you in never [2023-06-09T21:18:51Z] <sewn> a provide system can be somewhat implemented by having simply different repositories [2023-06-09T21:18:56Z] <sad_plan> lol. its been mentioned a couple times here, but its seems difficult to implement. i dunno [2023-06-09T21:18:58Z] <sewn> it would require fake naming packages no? [2023-06-09T21:19:18Z] <sewn> one can implement a provides system by just using different repositories [2023-06-09T21:20:17Z] <sewn> another way I can put it is to add it to the 'depends' array as a 'replace' key and to have the end package name to be the replaced package [2023-06-09T21:20:19Z] <sewn> how about that? [2023-06-09T21:20:39Z] <sewn> or to have it be some file that's touched in the build file idk [2023-06-09T21:30:13Z] <sad_plan> I was thinking more in line with using the manifest file, and just.. grepping it or w/e. not sure how practical that would be though [2023-06-09T21:32:56Z] <sewn> I don't get what you mean [2023-06-09T21:46:16Z] <sad_plan> say if a package specifically requires assert.h file, kiss would look for that file, and see what package provides said file, and then make sure said package is installed, if not, the build/install it [2023-06-09T21:56:58Z] <sewn> that is significantly slow as let's say a package needs a giant library and its thousands of headers, it wouldn't be safe to check for one file as maybe one is missing, one would need to check for each file to see if they belong to a package, one by one. [2023-06-09T21:57:06Z] <sewn> I think that would be very slow [2023-06-09T21:57:46Z] <sewn> personally I don't see another way to implement it other than fake name packaging [2023-06-09T21:58:55Z] <sad_plan> it would absolutely be slower than a snail [2023-06-09T21:59:29Z] <sad_plan> which is why I said it wouldnt be practical [2023-06-09T22:00:15Z] <sad_plan> in a situation like oasis, this makes somewhat sense, as its repo is very small, and only consists of smaller projects, so figuring out what headers and so on is needed is somwhat trivial [2023-06-09T22:00:59Z] <sewn> I'm pretty sure even oasis doesn't need a provides system, as there isn't even any dependency management [2023-06-09T22:04:21Z] <sad_plan> it doesnt, but itll only build w/e is needed, more or less. it does have a *system* for dependencies, its just in the buildfiles instead [2023-06-09T22:06:29Z] <sad_plan> i.e. in a gen.lua file for i.e. velox, youd see that it includes files from different other packages. its specific to specific headers though, just.. headers from said package [2023-06-09T22:06:51Z] <sad_plan> like velox would have included header files from fontconfig, libinput, and so on [2023-06-09T22:08:24Z] <sewn> sad_plan: you forgot the fact that when defining the executable or library, the library itself is added as a source file, hence linking to it [2023-06-09T22:08:35Z] <sewn> I think this is very impressive [2023-06-09T22:10:10Z] <sad_plan> it was just a simple explenation, but yes, that would be correct. [2023-06-09T22:10:26Z] <sad_plan> and yeah, Im also impressed by this