acheam changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://vid.puffyan.us/HL_3D4b3UZM
Torr has quit [*.net *.split]
midfavila has quit [*.net *.split]
Torr has joined #kisslinux
midfavila has joined #kisslinux
<midfavila> remind me to add automatic connection reestablishment and authentication to my irc client
<midfavila> well, "my"
<noocsharp> sure sounds like your ideal system is oasis mid
<noocsharp> well if you substitute x for wayland
<midfavila> oasis is cool if you ignore that wayland is shit, yeah
<midfavila> but you could probably get tinyx to work... actually, hrm
<midfavila> yeah, no
<midfavila> i doubt that tcc is up to the task of compiling all of tinyx's deps
<midfavila> good time for me to learn graphics and kernel progamming I guess :'^)
<midfavila> programming, christ
<midfavila> i can't spell today
<noocsharp> fork oasis and build on top of it
<midfavila> but muh gambler's fallacy
<noocsharp> it already has bearssl support almost everywhere as well
<midfavila> and also i don't like that they use git instead of a package manager
<midfavila> i'll definitely look at their work though
<noocsharp> the core is git, you can use whatever (portable) pm you want for extra packages
<midfavila> eeeeeeeeeh.
<noocsharp> i wanted to put kiss on oasis at one point but never did
<midfavila> btw
<midfavila> kiss replaced eudev with mdev a while back, right?
<Torr> Replaced? Not aware if 'twas ever used.
<Torr> Will have a walk now, will be back later.
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
<midfavila> y'know, i'm actually really impressed with tcc
<midfavila> it's been able to build almost every package in my core ports
<midfavila> zero changes necessary
<midfavila> doesn't even need binutils (aside from ar and ranlib)
<midfavila> turns out it has an integrated assembler and linker
<midfavila> of course, any components that require C++ are a no-go, but still. a good start
<ioraff> libudev was replaced with libudev-zero udevd was replaced with mdev/mdevd + libudev-zero-helper
<ioraff> s/udevd/and udevd/
<midfavila> thanks
<ioraff> does tcc accept gcc flags?
<midfavila> a minimal subset of them, yeah
<midfavila> it also accepts a subset of bfd flags, and as flags
<midfavila> i'm still going through my core/ repo, but really, for pure C projects tcc has been wonderful
<ioraff> so if a makefile uses anything unsupported, does it ignore it or fail?
<midfavila> it fails, like you'd expect
<midfavila> but a quick sed is usually enough to fix it
<midfavila> the only pure C code I've ran into trouble with so far has been the net-tools distribution and (oddly enough) the netbsd curses library
<midfavila> their color handling routines use a gnuism on linuxes
<ioraff> I wish vis didn't have an issues with netbsd-curses. otherwise I'd be using it.
<midfavila> as in vis(ible)?
<midfavila> or is it an editor or something?
<ioraff> an editor
<midfavila> aah
<midfavila> some vi clone?
<ioraff> yes
<midfavila> why vis in particular? there are tons of vi clones
<testuser[m]12> Hi
<midfavila> heya
<testuser[m]12> ioraff: what do you use now
<midfavila> i bet he's a filthy ncurses user
* midfavila hisses
<ioraff> very small, nice lua extensibility
<ioraff> I am indeed
<midfavila> stone the heretic
<midfavila> i guess if you're big into lua that's fair
<midfavila> i've been getting more and more fed up with emacs lately myself
<midfavila> well, GNU's emacs
<ioraff> I'm not, but I like how vis uses it.
<ioraff> you use emacs?
<midfavila> as an IDE, yeah
<midfavila> my regular editor is either ed or se
<midfavila> usually the latter but ed has its uses
<ioraff> se?
<midfavila> it's a really cool program, practically and historically
<midfavila> so, think ed, right
<midfavila> but give it a UI
<midfavila> and you might say "mid, that's just vi"
<midfavila> but no, it's not
<midfavila> this is closer to something like sam
<ioraff> that sounds like sam
<midfavila> yeah
<midfavila> it's like a really small really primitive sam
<midfavila> statically linked it's barely larger than suckless ed
<midfavila> v v v v v comfy
<midfavila> i have a package for it if you want to peek at it
<ioraff> sure
<midfavila> it's descended from "editor" as described in "software tools in pascal" by brian kernighan
<midfavila> i guess it was later rewritten in C and then posted on usenet where it kicked around on the net for a while
<midfavila> then some dude revived it a few years ago, then his site died, and now i'm probably the only user of it left on the planet
<midfavila> alternatively here's a binary
<midfavila> linked against musl
<midfavila> i don't think it needs anything else
<midfavila> it has its own screen handling routines built in
<midfavila> which is both cool and annoying as all hell
<midfavila> while i'm shaking up core i might replace gnu m4 with quasar m4
<midfavila> it has a similar story to se
<midfavila> in that it also originates from software tools in pascal
<midfavila> final count, of the fifty or so packages under core/, tcc only had trouble with twelve
<midfavila> many of which were C++ so they don't even count
<midfavila> starting to think this might actually be viable
<ioraff> have you tried the same thing with cproc?
<midfavila> briefly, but I wasn't impressed
<midfavila> still, cproc is an exciting project
<midfavila> if i knew more about compiler design (and, you know, computing in general) i'd definitely contribute to it and qbe
<midfavila> ...oh, actually, some of the problems tcc ran into were a result of the problems with the curses library
<midfavila> i'll definitely lose some (maybe even most) of the programs I use right now if I switch to tcc, but I think that that's a double-edged sword
<midfavila> force me to write more of my own software and actually learn stuff
<midfavila> as it stands it's looking like i'll need to write my own http client
<midfavila> curl, wget and axel rely on libre/openssl, and axel doesn't compile anyway
<midfavila> exciting stuff
<Torr> Leaving
<Torr> See ya folks
Torr has quit [Quit: leaving]
ella-0_ has joined #kisslinux
ella-0 has quit [Read error: Connection reset by peer]
ioraff has quit [Remote host closed the connection]
<noocsharp> curl can use bearssl for tls
<midfavila> hmm
<midfavila> very cool
<midfavila> maybe i'll peek at it if i'm having trouble implementing some of the more generic code
<midfavila> nobody's gonna scream at me for copying basic boilerplate
<wael[m]> midfavila: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa
<midfavila> ?
<midfavila> oh
<midfavila> well
<midfavila> i haven't copied anything yet
<midfavila> so heck off
ioraff has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan> midfavila: in regards to oasis linux. cproc builds more or less the whole distro though. with the exception of the kernel though.
<sad_plan> theres like 9 packages left that doesnt build with cproc according to his issue about it.
<sad_plan> 103/114 builds with cproc is quite nice imo
<midfavila> hmm
<midfavila> maybe i'll give it a shot again soon
<midfavila> really glad to hear the project is progressing well
<midfavila> what toolchain aside from qbe/cproc does oasis use? llvm, binutils, elfutils..?
<sad_plan> no llvm at all. but yes, binutils and elfutils is in the repo
<midfavila> aah
<sad_plan> I really like oasis too, but as you said earlier, no package manager sortof puts me off tbh. I too been curious as to how I could put kiss on top of it, or make kiss more like oasis in any regards. more speficially the static linking part :p
<midfavila> it hasn't been very hard for me
<midfavila> i've just gone through my core and had the build append -static to the CFLAGS and LDFLAGS
<midfavila> sometimes you need to patch buildfiles or run a quick sed
<midfavila> only thing that's given me persistent trouble is zlib and stuff built atop it
<sad_plan> its not that its hard to build a static system. I previously build everything up and including velox (the wm which oasis uses), aswell as some terminal based browsers.
<midfavila> re: toolchain i only ask because i've been looking for a slightly less gargantuan set of binutils. you might have seen me whining about it
<midfavila> oh, definitely
<sad_plan> never had any issues with zlib, but we're not using the same one though :p
<midfavila> yeah
<midfavila> i'm using sortix libz
<midfavila> (i have no idea how my system still boots)
<sad_plan> the statis stuff gets difficult when you suddenly want a modern browser. or anything remotly modern I mean. I was trying to get something webkit based done, buut when I got to build gtk+3, it seems I couldnt get passed the mesa requirement
<sad_plan> lol
<midfavila> yeah, that would definitely represent a problem
<midfavila> fortunately,
<midfavila> I don't really need a modern browser
<midfavila> :smug:
<midfavila> although I'm keeping dynamic libraries around and a gcc package under unofficial/stable
<sad_plan> I know. lol. but I wanted something a bit more usefull. although when using it for some time, and having used lynx for a couple of weeks, you kinda get used to it
<sad_plan> I thought about that too, as gcc shared libs is a pita for me when upgrading gcc
<midfavila> idk man aside from not being able to use JS on the one site i actually need it, links is more pleasant and useful than my regular browser
<sad_plan> I build gcc's bin static, but keep the shared libs. which means I gotta build it twice. unless someone else got a better idea on how to do it though
<sad_plan> whats your regular browser?
<sad_plan> I thought you used links as the regular one
<midfavila> "regular" as in won't make a normal person freak out when they see it
<midfavila> i daily a fork of links2, but when I need to use the modern web I use a UXP browser
<sad_plan> ah gotcha. lol
<sad_plan> I see
<midfavila> yeh
<midfavila> i open it maybe once or twice a week
<midfavila> check my webmail, might go on ebay, poke at my bank and that's really it
<midfavila> hmm
<midfavila> i'm gonna need an even smaller X distribution
<sad_plan> if thats all, its really easy to keep a really minimalistic system. I do brows alot, but mostly for linux stuff, or watch some content from yt or some shit. Im sure I could manage with a simpler browser though.
<midfavila> oh, i browse invidious from links
<sad_plan> I did try to build netsurf, but the perl stuff got me stuck...
<midfavila> i have it pipe stuff to my native player
<midfavila> netsurf isn't worth it
<sad_plan> yeah, invidious is great. might also wanna check out piped too. suppsedly its faster
<midfavila> piped requires JS doesn't it?
<sad_plan> I just wanted to try it out, and see. but yeah. using it on oasis I was abit meh about it.
<sad_plan> Im not entierly sure tbh
<sad_plan> but probably yea
<midfavila> it does
<sad_plan> bummer
<midfavila> part of the appeal of invidious to me is that it can be used from within links
<midfavila> or, you know, i can abuse curl
<sad_plan> thats nice though. perhaps Ill revisit using links
<midfavila> you totally should
<midfavila> i have a patched version packaged to add xembed support
<midfavila> that way you can use it with tabbed or something
<sad_plan> curl is create. or any tool which lets you watch it without the browser. I usually download my stuff, or watch it with ytfzf
<sad_plan> cool
<sad_plan> I was always curious about that one. how to you tab it though?
<sad_plan> like any other window?
<midfavila> i have this script manage the instance of tabbed and its children
<midfavila> it's pretty bad, was one of the first scripts i wrote
<midfavila> but it works
<midfavila> you just provide the XID of the parent window to the child
<sad_plan> nice
<sad_plan> itll check it out
<midfavila> :+1:
<midfavila> boom
<midfavila> libressl is gone, GNU toolchain is gone
<midfavila> my hipster OS nears perfection
<sad_plan> but you still need gcc for building the kernel though
<sad_plan> did you switch to bearssl?
<midfavila> in the process of switching ye
<midfavila> and i only need gcc to build the kernel for *now*
<sad_plan> nice. Ive been thinking about doing that aswell
<midfavila> as i gradually increase the portability of my system i'm going to consider rebasing atop a simpler kernel
<wael[m]> whats the difference between libressl and bearssl?
<midfavila> bearssl is way smaller
<wael[m]> i thought libressl was lighter in a way
<midfavila> and it's completely original
<midfavila> also
<midfavila> it is
<wael[m]> wait whaat
<sad_plan> could use llvm, but yeah. its a pain to build anyway
<midfavila> libressl is to openssl as libz is to zlib
<midfavila> a fork of old crufty junk in an attempt to make it less junk
<sad_plan> bearssl is cool imo. but not widely used
<midfavila> well, given my setup, it's not like most existing software is going to compile anyway
<wael[m]> bearssl in sloc was larger than libressl afaik
<midfavila> i guess the ultimate goal is to create an easy to understand environment that's easy to develop itself as well as for
<midfavila> uh, yeah, no, wael[m]
<midfavila> libressl is almost 500k
<midfavila> bear is maybe 20k
<midfavila> sorry, bear is almost 60
<midfavila> but that's still almost an order of magnitude smaller
<midfavila> gah, i need to reorganize my ports tree again
<wael[m]> BearSSL - C - 54972
<wael[m]> LibreSSL - C - 237240
<wael[m]> well i should have known that before switching to libressl
<midfavila> it wouldn't have made a difference
<midfavila> libressl is so massive because it maintains backward compat with openssl
<midfavila> bear is completely incompatible
<wael[m]> oh yeah makes sense
<wael[m]> i should probably stay on libressl
<midfavila> you would need to either write your own software or severely restrict yourself
<wael[m]> i use applications that can 100% conflict with bearssl
<midfavila> most people do
<midfavila> i mean, i'm gonna need to maintain chroots or write a compat library to continue using a lot of my networked software
<midfavila> actually, a bearssl-libressl shim would be pretty sweet
<sad_plan> build stuff statically, and you could use both though. make a switch for those stuff that doesnt work with bearssl
<midfavila> does bearssl conflict with open/libressl?
<sad_plan> libtls does iirc aswell as libssl
<sad_plan> its just those libs iirc
<sad_plan> Ive been messing with it some time earlier, and those showed up as alternatives
<sad_plan> iirc anyway. its probably 6 month to a year since I did it
<testuser[m]12> sad_plan: bruh that's just increasing the bloat in system
<midfavila> it doesn't look like bearssl conflicts at all
<midfavila> it only generates two libraries
<midfavila> libbearssl.so and libbearssl.a
<midfavila> if they conflict that's on you
<midfavila> jfc it's like 2am
<sad_plan> lol
<sad_plan> its libtlsbearssl that conficts then
<sad_plan> its a seperate package
<midfavila> i guess so
<midfavila> i just ran a quick find . | grep tls and not a single line came out
<midfavila> (in the root dir of bear)
<sad_plan> its because its over there instead
<midfavila> makes sense
<midfavila> i'm glad you showed me that
<sad_plan> youre welcome C:
<midfavila> i've never done TLS programming before so having training wheels for lack of a better term will help a lot
<midfavila> "training wheels"
<sad_plan> sure
<midfavila> cool, that's packaged and set up
<midfavila> refreshing to see someone explicitly write a posix makefile
ejjdhfjsu has joined #kisslinux
<midfavila> also refreshing to not see shit like recursive makefiles or the build system modifying your flags without telling you
ejjdhfjsu has quit [Remote host closed the connection]
<sad_plan> yeah, mcf seems to really care for those kinds of things. aswell as a sane C standard. in regards to cproc and stuff. he seems to avoid c++ among other things. oasis avoids harfbuzz altogether i.e. harfbuzz is written in c++ if you didnt guess it already :p
<midfavila> oh, that too, but i meant bearssl itself
<midfavila> you just make and use a for loop to dump the object files into your preferred place
* midfavila does a chef's kiss
<midfavila> as god intended
<midfavila> now to see if curl will build with tcc and bearssl
<midfavila> holy shit
<midfavila> *wild*
<midfavila> oh, no, never mind
<midfavila> it didn't link against bear
<midfavila> easy enough fix
<midfavila> oh, shit, i'll need to patch links
<midfavila> hm
<midfavila> gonna be busy
<midfavila> anyway i'm off for the night
<midfavila> it's really late
<wael[m]> bye bye
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
sad_plan_ has joined #kisslinux
sad_plan has quit [Ping timeout: 260 seconds]
vouivre has joined #kisslinux
<vouivre> hello
<wael[m]> hello
<sad_plan_> hello
<vouivre> In the past, Dylan wrote a script kiss-revert
<wael[m]> what does it do
<sad_plan_> correct, but he eventually removed it
<sad_plan_> it reverts to just the core packages
<sad_plan_> removes everything else
<vouivre> the idea was to uninstall almost all packages ..... yes
<vouivre> but in between Dylan dropped it
<wael[m]> i like that idea lol
<wael[m]> i dont have to reinstall or recompile anymore
<vouivre> I have modified it to fit the actual packages
<vouivre> personnaly I use it in a chroot when I create a new package
<vouivre> what about reintroduce it ? I can create a PR.
<testuser[m]12> contrib: remove kiss-reset
<testuser[m]12> This is best handled manually.
<vouivre> it was the comment of Dylan
<vouivre> perhaps I don't know how to do it manually, but there is no problem
<vouivre> with this script and it works always as excepted
<sad_plan_> just use the KISS_FORCE variable, and you can remove everything forcefully
<wael[m]> whaaaaa
<vouivre> ok, but you have to list every packages to remove
<vouivre> right ?
<sad_plan_> well, yes. you can also use the script which will list those for you. hold on. ill fetch it.
<sad_plan_> this one.
<sad_plan_> itll list those for you, thus you can remove a package + its now orphaned packages
<sad_plan_> itll probably be a little easier than listing just about every package if you have like 150+
<vouivre> ok, it could probably works.
<vouivre> I can imagine I could get the same result as kiss-revert but with your script sad_plan it has more use cases
<vouivre> ok, after having a quick look on the description, I prefer the script kiss-revert
<testuser[m]12> Is there any alternative to running `while :; do sync && sleep .5; done` to prevent data loss due to power cuts ? A mount flag or something
<vouivre> if it can't be added to kiss, could it be added to awesome-kiss ?
<wael[m]> testuser: afaik on btrfs theres commit=1 or commit=0
<testuser[m]12> @illiliti non-go age alternative?
fitrh has joined #kisslinux
ioraff has quit [Ping timeout: 255 seconds]
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
sad_plan has joined #kisslinux
<illiliti> there are many of them
sad_plan_ has quit [Ping timeout: 268 seconds]
<illiliti> how about something in hare
sad_plan has quit [Client Quit]
sad_plan has joined #kisslinux
<testuser[m]12> ok
fitrh has quit [Read error: Connection reset by peer]
fitrh has joined #kisslinux
fitrh_ has joined #kisslinux
fitrh has quit [Ping timeout: 260 seconds]
<vouivre> by the way, thank you sad_plan for the link!
<sad_plan> no problem C:
<sad_plan> wael[m]: you were curious about the gcr patch for surf. it will still warn you about unvalid certificates
<sad_plan> I just checked as I were going to a site in which the cert has gone bad
<wael[m]> mate i still cant build webkit2gtk because of ruby openssl libressl epic fail
<sad_plan> I know, I just wanted to let you know about it. seeing as you were curious about it.
<wael[m]> true
fitrh_ has quit [Read error: Connection reset by peer]
fitrh has joined #kisslinux
claudia_ has joined #kisslinux
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
<vouivre> sad_plan: you use fzy instead fzf, right ?
<sad_plan> correct
<vouivre> which version ? Official or a fork ?
<sad_plan> this one https://github.com/jhawthorn/fzy which is the official one isnt it?
<vouivre> that's right.
<sad_plan> yeah
<sad_plan> how come?
<vouivre> I will switch completely from fzf to fzy. But I need multi-selection
<sad_plan> fzy doesnt have that afaik
<vouivre> so I need the following
<vouivre> Or
<vouivre> Did you plan to propose a package for community ?
<wael[m]> oh yay fzy fork that im not blocked from
<sad_plan> never really thought about it tbh. didnt think anyone would be interested in it anyway
<sad_plan> but sure. I dont see any reason not to put it into community, if theres any interest for it
sad_plan has quit [Quit: nyaa~]
<vouivre> I have it on my list to package. If it's in community, it's easier to install it on my other computer.
<vouivre> I would like to have it with the PR with multi-selection.
<vouivre> You can package it, or I'll do it. Like you want.
<vouivre> Ok, discussion for later :-).
vouivre has quit [Remote host closed the connection]
sad_plan has joined #kisslinux
<sad_plan> Im sure other people would enjoy fzy over fzf, but as you said, it might be open for people to discuss. In case certain features will be missed. Like multi selection as you mentioned. Ill look into it when I get back on my laptop. Perhaps open an issue about it.
sad_plan has quit [Client Quit]
sad_plan has joined #kisslinux
sad_plan has quit [Client Quit]
sad_plan has joined #kisslinux
<jslick> I might be interested in fzy; haven't tried it yet. fzf is the only reason I have go installed
<sad_plan> Exacly. Fzy is written in C anyway, which is the prefered language around here
sad_plan has quit [Quit: Quit]
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
soliwilos_ has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
Guest54 has joined #kisslinux
<Guest54> Hello! Im having a problem, dont know if this is the place to ask but im going to do it anway.
<Guest54> I installed kiss linux with defconfig (i did add framebuffer support and amdgpu support)
<Guest54> Now that im booting it it seems to hang and not get to the init (maybe a amdgpu problem?)
<Guest54> Any help is appreciated
<wael[m]> hi oak
<Guest54> Hello wael
soliwilos_ has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
<illiliti> i assume you're using uefi, right?
<Guest54> Yes
<Guest54> im using uefi
<wael[m]> he is, with efibootmgr
<illiliti> make sure that all efi modules are compiled in kernel
<Guest54> Why would that work?
<Guest54> its booting fine its just not getting to the init
<illiliti> can you get a error log or something?
<Guest54> I wouldnt know how
<Guest54> Through ssh?
<illiliti> screenshot?
<Guest54> It doesnt really show any errors
<illiliti> blank screen?
<Guest54> No
<Guest54> it shows the normal boot up sequence before the init
<illiliti> give me something so that i can understand where is the problem
<Guest54> I have a picture on my phone, wait a second
<illiliti> ok
<Guest54> Im gonna get a irc client on my phone, i cant find the image
<Guest54> nvm
<Guest54> waels gonna upload it for me
<Guest54> Its not getting past this
<wael[m]> i assume whats going on is that amdgpu driver is initialized but the kernel isnt giving anything to the gpu
<illiliti> kernel issue yeah
<Guest54> What could i enable to fix this?
<Guest54> Im just looking for anything here
<illiliti> what about other distros? do they work?
<illiliti> if they do, you can copy their kernel config
<illiliti> e.g alpine or void
<wael[m]> most kernel configs from the big distros have initramfs in mind, so use tinyramfs
<Guest54> i used gentoo, i have never configured my kernel before though
<Guest54> this is basically my first time
<illiliti> how did you compile kernel btw? with builtin modules?
<Guest54> as i said earlier i used make defconfig and changed some stuff for amdgpu to "work"
<wael[m]> but then i came in and enabled the amdgpu driver in the kernel configuration
<illiliti> send me your kernel config
<wael[m]> Guest54: use cat .config | nc termbin.com 9999 to upload it easily
<Guest54> Ok, ill rejoin with a different name as im on windows right now
<Guest54> wael[m] can you dm me that on discord
Guest54 has quit [Quit: Client closed]
<wael[m]> ok
oak has joined #kisslinux
<illiliti> also make defconfig isn't a great idea.
<illiliti> better option would be make localyesconfig
<oak> Too late now
<oak> im working on sending the config
<illiliti> does your gpu need firmware?
<oak> I think so, its a rx 570
<oak> i added it like the kiss install guide sayed
<oak> said
<oak> *
<illiliti> CONFIG_EXTRA_FIRMWARE=""
<illiliti> it's empty
<oak> Do i add something there?
<illiliti> you should populate it with path to firmware
<oak> sorry im new to configuring my kernel
<oak> so i add /usr/lib/firmware in there?
<illiliti> no
<oak> or /usr/lib/firmware/amdgpu/
<illiliti> path should be relative to /usr/lib/firmware
<illiliti> but i'm not 100% sure
<illiliti> i'll double check
<oak> Ok, thanks
<illiliti> yeah i'm right
<illiliti> it's relative
<oak> So what do i add there?
<oak> does it find the binaries itself?
<illiliti> you need to find out which firmware your gpu need
<illiliti> or just add everything
<oak> how do i add everything, im not trying to be super minimal
<illiliti> CONFIG_EXTRA_FIRMWARE="amdgpu/<name>.bin amdgpu/<name2>.bin ..."
<oak> Do i add this via menuconfig?
<illiliti> yep
<oak> Ok
<oak> thank you for the help
<illiliti> does anything else besides gpu need firmware?
<oak> Dont think so, wael didnt add firmware and i have the same cpu
<illiliti> wifi card maybe
<oak> no not a wifi card
<oak> i use ethernet with sdhcp
<illiliti> ok
<wael[m]> you had firmware
<oak> i didnt give the kernel the location though
<oak> its giving me a error
<oak> ill upload it
vouivre has joined #kisslinux
<vouivre> sad_plan: ok, I'll create a new issue.
<illiliti> men
<illiliti> you need to replace <name> with actual name
<oak> name of what...
<oak> i wanted to add all of the firmware
<illiliti> of firmware
<oak> i said i wanted to add all of the firmware so it just works
<illiliti> then you need to add relative paths to firmwares to CONFIG_EXTRA_FIRMWARE
<illiliti> e.g aldebaran_mec.bin
<illiliti> and so on
<oak> so i just have a long line of all the firmware in extra_firmware=?
<illiliti> yes
<oak> ok
<illiliti> don't forget to download firmwares to /lib/firmware first
<oak> i have it in /usr/lib/firmware
<oak> the kiss install guide told me to do so
<oak> do i need to change "CONFIG_EXTRA_FIRMWARE_DIR" to /usr/lib/firmware?
<illiliti> that's unnecessary
<oak> why?
<illiliti> because default value is /lib/firmware
midfavila has quit [Remote host closed the connection]
<oak> ok, ill just copy it over to /lib/firmware
<illiliti> you can change it if you like though. it won't hurt
<oak> ok
<oak> i have one more question, do i just keep on pasting this and adding the other .bin names?:"amdgpu/<name>.bin amdgpu/<name2>.bin ...\"
<phoebos> someone used a glob but I've never seen it anywhere else
<phoebos> I don't know that it doesn't work, though...
<phoebos> but oak: yes, separated by spaces
<oak> do i remove the " or not?
vouivre has quit [Quit: nyaa~]
<phoebos> CONFIG_EXTRA_FIRMWARE="a b c"
<phoebos> but if you're writing in in menuconfig there's no need for quotes, I think
<oak> ok
<oak> yeah im in menuconfig
<wael[m]> press slash
<wael[m]> and type CONFIG_EXTRA_FIRMWARE
<wael[m]> then you can find where its located and you can add the paths there of some sort
<oak> i know
<oak> ive used menuconfig before
<oak> amdgpu/<name>.bin amdgpu/<name2>.bin ...\ amdgpu/<name>.bin amdgpu/<name2>.bin ...\ do i do it like this?
<phoebos> well yes, without the ellipses and backslashes
<oak> ooh ok
<oak> thanks
vouivre has joined #kisslinux
midfavila has joined #kisslinux
<vouivre> could you tell me when you have time for two questions ?
<midfavila> who's that directed at? me or someone else?
<vouivre> there was a discussion before, oak had a problem with the kernel compilation
<midfavila> aaah
<illiliti> oak: also enable CONFIG_CHECKPOINT_RESTORE
<oak> ok
<vouivre> I didn't want to interfer and have two discussions at the same time
<vouivre> Ok, perhaps easier. oak: tell me when your problem is solved. Or pehaps when can do it separately as a private conversation.
<vouivre> It's directed as somebody who can merge a PR for the package manager or in the repo awesome-kiss
<oak> wael is helping me on tmate rn, automating using all of the firmware .bins
<wael[m]> i dont think having all the binaries is a good idea but i guess it works
<vouivre> oak: do I understand it right, I can start my discussion here ?
<oak> Yes
<vouivre> ok, thanks!
<vouivre> I still have to learn how it works on irc :-)
<midfavila> interesting project
<vouivre> first question: I have mentionned it before.
<vouivre> would it be possible to restore kiss-revert ? Or because its use case is very limited, we could add it in awesome-kiss
<phoebos> it's possible, but why? if you want to use it, then do
<vouivre> perhaps my workflow can be improved, I don't know
<vouivre> when I create a package, I try to compile it in a chroot
<midfavila> fwiw if you're tinkering in chroots having an automated reversion utility is really nice
<midfavila> i was thinking of writing one last night
<phoebos> certainly, but it doesn't need to be in the repo for you to use it
<vouivre> I begin with no dependencies and add them until the build succeeds
<illiliti> this script has its use case. i see no point why we can't restore it
<midfavila> ^
<vouivre> I think other maintainer could use it
<vouivre> but perhaps I'm the only one with this workflow :-)
<vouivre> and to be honest I didn't understand the reason why Dylan dropped it.
<illiliti> we just need to do it properly
<midfavila> yeah
<midfavila> the original kiss-reset is uh
<vouivre> I assume this script has to be maintained and I could maintain it.
<midfavila> crap
<vouivre> what would you change ?
<midfavila> the fact that core is hardcoded
<midfavila> i've just been using ls, sort and uniq to revert my system as of late
<illiliti> instead of hardcoding a list of packages, we should make a list from core repo
* midfavila nod-nods
<vouivre> so ok to write a script and do a PR in the repository "kiss" ?
<vouivre> it will be a good exercise for me :-)
<wael[m]> how do you set a kiss package to a specific branch/head ?
<midfavila> i don't think you do
<midfavila> it's either git or not
<midfavila> you could probably edit the buildfile
<phoebos> @branch
<midfavila> or that
<phoebos> #commit
<illiliti> vouivre: yes
<phoebos> check the package manager wiki page
<midfavila> ~~full disclaimer i don't track upstream so i don't know anything about modern kiss~~
<vouivre> illiliti: thank you!
<wael[m]> thanks
<vouivre> second question: I have submitted a new package in community. It's a bootloader: limine.
<phoebos> comm(1) seems like the quickest way to do it
<vouivre> There is not a lot of documentation about how to set it up.
<vouivre> If it's accepted, where would be the best place to put some documentation.
<vouivre> Here it seems not bad
<phoebos> you can write a README or a page for the community wiki
<phoebos> yes!
<vouivre> perhaps I will be the only one to use it, but who knows, perhaps one time somebody else will use it
<phoebos> the README would be readable like `kiss help limine`
<vouivre> phoebos: yes I think to those two possibilities...... hhhmmmm
<phoebos> up to you. more documentation is always better
<vouivre> you convinced me to write a README ;-).
<illiliti> midfavila: i'm thinking about rewriting musl makefile in posix make
<illiliti> with those tcc patches + posix make we could have pretty suckless libc
<vouivre> thank you
oak has quit [Remote host closed the connection]
<midfavila> go for it
<midfavila> although for what it's worth musl-tcc seems to have trouble with dynamic linking
<midfavila> usr/lib/libc.so segfaults
<midfavila> . _.
fitrh has quit [Quit: fitrh]
ioraff has joined #kisslinux
<wael[m]> phoebos: illiliti: oak is still unable to boot, same thing even with the firmwares specified
<wael[m]> he wants to do an initramfs but i dont think it will do anything if at all
<illiliti> say him to try to make config with make localyesconfig
<wael[m]> what would that do
<wael[m]> i know it would redo the entire configuration from scratch and the user has to do y n on each question but what would that fix
<illiliti> it creates a config specific to current hardware
<wael[m]> i never knew that
<wael[m]> oh what
<wael[m]> it wants to use hte mint kernel, how do i specify it to base a configuration off of?
<testuser[m]12> <illiliti> "this script has its use case..." <- it'll break if you have some coreutils alternatives set to anything other tha. Busybox
<ioraff> boot mint, download the kernel source, then in the source directory run make localyesconfig.
<wael[m]> nono, the kernel oak is trying to build is 5.19.3, localyesconfig wants to use the mint kernel configuration from /proc/config.gz on the host system
<wael[m]> aka 5.13.5-generic blah blah
<illiliti> testuser[m]12: i said that we shouldn't hardcode a list with busybox. we should make that list dynamically based on user core repo
<illiliti> this way nothing will break
<wael[m]> nvm made it use a existing config, now just erroring with zcommon config not found!!
<testuser[m]12> It's still have to check alternatives tho
<illiliti> no
<illiliti> we shouldn't check them
<illiliti> imho it's up to user to fix them
<illiliti> because if we implement checking, that would be a mess
<testuser[m]12> then shouldn't it be up to user to decide wat to remove
<illiliti> no
<illiliti> we don't need a perfect script that will work in all cases
<illiliti> it's fine to have limitations. just document them maybe
<testuser[m]12> Also
<testuser[m]12> We need to come up with some system to make decisions
<midfavila> polls obviously
<midfavila> nothing has ever gone wrong with polls
<midfavila> :^)
<wael[m]> communism
<midfavila> for all you cproc users out there, what assembler and linker do you use?
<testuser[m]12> We need to decide on
<testuser[m]12> VERSION markers
<testuser[m]12> implicit vs explicit destdir
<testuser[m]12> writing parts of kiss in C
<illiliti> midfavila: how about something extreme like neat{as,ld}
<testuser[m]12> provides system
<illiliti> but seriously, gnu as/ld
<midfavila> rip
<midfavila> using binutils kind of defeats the simplicity advantage of something like cproc i think
<phoebos> > all you cproc users
<phoebos> mid you're overestimating us
<midfavila> all three of you?
<midfavila> :p
<phoebos> not that I'm even a member of that group
<midfavila> kek
<testuser[m]12> What did acheam use for polls last time
<noocsharp> although not sure how well it works
<testuser[m]12> > The implementation deliberately does not free allocated memory as it all is freed by the OS at the end of execution. Memory usage is still quite light as it uses string and value interning. In the future we could use an arena allocator for minias and still avoid manual calls to free.
<testuser[m]12> sus
<illiliti> no it's ok
<illiliti> mold doesn't free too iirc
<phoebos> obsd doesn't free accessible memory
<phoebos> acheam probably just used an html form
<midfavila> >minias
<midfavila> neat
<midfavila> will need to check it out
<midfavila> ...as soon as I find a way to get a non-bash shell to compile under the new chroot
<midfavila> ksh fails at link time with an unknown symbol error and dash includes gnuisms, so i'll need to patch one of those or find a replacement
<illiliti> oksh?
<midfavila> openbsd korn shell
<illiliti> and? does it work?
<midfavila> oh, my bad, i misinterpreted what you meant-
<midfavila> i'm using oksh
<midfavila> it's the ksh that fails to build
<midfavila> amusingly bash builds just fine
<illiliti> ah
<midfavila> but oksh and dash lose their minds
<illiliti> what about yash
<midfavila> i've tried using yash with kiss before, it doesn't work
<midfavila> there are weird edge cases
<illiliti> strange
<midfavila> this is really cool
<midfavila> allows for intermixing of lisp and unix program calls
<midfavila> seems completely self-contained too
<midfavila> to get it to compile with netbsd curses you'll need to add #include <term.h> to the start of esh.c though
<midfavila> not sure about ncurses
<midfavila> for some reason it doesn't like being executed from within rc
<illiliti> makefile is gnu
seer has quit [Quit: quit]
seer has joined #kisslinux
<midfavila> looks like dash uses a gnuism
<midfavila> not terribly surprised
<midfavila> sys_siglist
<midfavila> they learned about it over two years ago though
<midfavila> hrm
<midfavila> tcc and yash don't seem to like each other much either
<illiliti> works fine for me
<illiliti> log?
<midfavila> no compile failure
<midfavila> it's a runtime issue
<illiliti> what kind of issue?
<midfavila> fails to print a prompt and doesn't seem to look up program names in PATH
<midfavila> i'm sure there are others but those are the most immediately noticable
<illiliti> hm
<Ogromny> hum, little question, why not move kiss-community/* on codeberg ?
<Ogromny> I mean github is ok, but microshit, etc
<illiliti> midfavila: could be a problem with wide char literals
<midfavila> i bet you you're right
<vouivre> exit
vouivre has quit [Quit: nyaa~]
<testuser[m]12> Ogromny: someone wants mailing list someone wants sourcehut someone wants codeberg
<midfavila> mailing list is the only valid option
<midfavila> fact
<midfavila> anyway i'm sure if people actually cared they could write something to export the mailing list to sourcehut and etc
<testuser[m]12> there's like 5 "people" lol
<midfavila> for some reason my brain interpreted the quotations around people as implying that sourcehut users aren't people
<phoebos> to be fair
<midfavila> sourcehut "users"
* midfavila does massive fingerquotes
<midfavila> "pee-pull"
* phoebos sideeyes
<phoebos> anyway, it's just frontends to a git repo
<phoebos> and it seems most KISS to host the canonical upstream on a server rather than a forge
<illiliti> nack on sr.ht
<testuser[m]12> Why
<testuser[m]12> I'd say codeberg cuz it provides familiar PR workflow
<testuser[m]12> Mailing list can always be there as Its host agnostic
<illiliti> self-hosted sr.ht is fine, "that" sr.ht is not ok
<illiliti> because drew is unreliable
<midfavila> REEEEEEEEEEEEEEEEE
<midfavila> DREW BASED!!!
<illiliti> he can ban people at his own will
<illiliti> i got threatened by him recently
<phoebos> eek why
<midfavila> tell him to neck himself
<midfavila> or meet you outside of the local mcdonalds after class
<midfavila> only appropriate responses
<illiliti> for saying "not good"
<midfavila> lmao what a loser
<midfavila> just ignore him
<midfavila> actually, you know what a real chad move would be
<midfavila> take his code and make it better and then refuse to let him use your modifications
* midfavila nod-nods
<midfavila> the "everyone but drew devault" license
<illiliti> that would violate DFSG
<midfavila> debian is cringe and stupid
<illiliti> and actually such license isn't open-source
<illiliti> agree debian sucks
<illiliti> but DFSG isn't
* midfavila shrugs
<ioraff> illiliti: is that threat on a public ML?
<illiliti> irc
<testuser[m]12> Send
<illiliti> policing me for nothing is kinda dumb as you see
ehawkvu has joined #kisslinux
<ehawkvu> Regarding the decisions that testuser[m]12 brought up, I think it'd be nice to have a repo, potentially called 'guidestones' where we outline what we want kiss to be like
<ehawkvu> We can even take the old guidestones and adjust them to our liking
<ehawkvu> also re: VERSION - it is way too useful, and makes packaging big projects (like X) very nice
<ehawkvu> I do get the criticism though
<phinxy> why does libglvnd have installed file conflicts with mesa? How would I go about building mesa, remove libglvnd first and then rebuilt it?
<phoebos> do you have alternatives disabled?
<Ogromny> illiliti: lol drew is dumb af here
<phoebos> (KISS_CHOICE=0)
<phinxy> No
<phinxy> Should I have alternatives disabled when installing either mesa or libglvnd?
<phinxy> mesa libEGL.so, libGLESv2.so .. are in kiss alternatives after rebuilding mesa.
<midfavila> so
<midfavila> figured out the problem with netbsd curses and some other stuff
<midfavila> turns out? i forgot that i was using a recuse compiler i passed the chroot from my host system
<midfavila> s/recsue/rescue/
<midfavila> recuse
<midfavila> can't even spell my mispellings
<phoebos> phinxy: what's the problem
<phinxy> Trying dri driver instead of gallium. Not sure if its applied unless I swap libglvnd alternative to mesa alternative
<phinxy> OH, libglvnd only replaces .so and leaves the .so.VERSION of mesa?
vouivre has joined #kisslinux
vouivre has quit [Client Quit]
<ioraff> the mesa build script should detect whether libglvnd is installed change a meson flag accordingly
<ioraff> s/change/and change/
<midfavila> can one of you guys post the result of running nm on /lib/libc.a ?
<midfavila> i want to see if anyone else's static musl has the abort symbol set to 0
<midfavila> (admittedly it seems like a lot of functions are set to 0...)
<midfavila> i'm trying to figure out what the hell is going with tcc and musl during linktime, where programs claim to not have access to abort if things are static
midfavila has left #kisslinux [#kisslinux]
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
ehawkvu has quit [Remote host closed the connection]