💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-08-08.txt captured on 2023-01-29 at 03:46:20.

View Raw

More Information

-=-=-=-=-=-=-

[2022-08-08T00:00:43Z] <wael[m]> you know what im going to try to make my own kiss fork for fun
[2022-08-08T00:01:52Z] <sad_plan> statically linked hopefully? :p and with bearssl right? :p
[2022-08-08T00:02:15Z] <wael[m]> i was going to use libressl
[2022-08-08T00:02:34Z] <wael[m]> i dont know whats the difference all i know is that in SLOC: libressl > bearssl 3x > openssl 13x
[2022-08-08T00:03:09Z] <wael[m]> and probably not statically linked intentionally since literally the major programs are going to be required to not be statically linked for the thing im trying to target
[2022-08-08T00:04:08Z] <sad_plan> bearssl is way less known, thus less support for it, and again then higher chances of you having to patch stuff if needed :p bearssl is really small though. oasis linux uses it
[2022-08-08T00:04:34Z] <wael[m]> i dont want the hassle of patching things, so i guess sticking with libressl
[2022-08-08T00:04:55Z] <sad_plan> rust needs a patch for that. a tiny one though
[2022-08-08T00:05:11Z] <wael[m]> libressl? alright thanks for pointing that out
[2022-08-08T00:05:27Z] <sad_plan> yes, rust needs a patch to build with libressl
[2022-08-08T00:05:50Z] <wael[m]> if im correct it would be in your kiss-dumpsterfire repository riiiight?
[2022-08-08T00:05:51Z] <sad_plan> the benefit of using libressl is that you can find alot of patches in openbsd's repo. they got a repo called ports.
[2022-08-08T00:05:55Z] <sad_plan> yes
[2022-08-08T00:06:35Z] <sad_plan> ive forked those things that needed due to openssl. like rust, nodejs ffmpeg etc
[2022-08-08T00:06:41Z] <wael[m]> time to steal tons of build files
[2022-08-08T00:06:47Z] <wael[m]> i mean fork
[2022-08-08T00:07:15Z] <sad_plan> have at it
[2022-08-08T00:13:05Z] <wael[m]> whats configure-hos, tooldir=/usr in binutils/build for?
[2022-08-08T00:15:03Z] <sad_plan> thats just the way its setup from upstream, with the excepion of the LDFLAGS. Im assuing it has something todo with crosscompiling. tooldir is likely just to point it to your bins
[2022-08-08T00:19:14Z] <wael[m]> well works without it so /shrug
[2022-08-08T00:23:03Z] <sad_plan> yup
[2022-08-08T00:27:14Z] <wael[m]> also i noticed that libressl is 3.4.3, while the latest is 3.5.3
[2022-08-08T00:28:57Z] <wael[m]> is that intentional?
[2022-08-08T00:30:34Z] <sad_plan> yes, 3.5.x is the unstable branch, and broke alot of stuff for me, so I chose to go with the stable branch instead
[2022-08-08T00:30:45Z] <wael[m]> what did it break?
[2022-08-08T00:31:23Z] <sad_plan> I dont recall at the top of my head. I couldve sworn I had it my commits but it seems it does not
[2022-08-08T00:33:04Z] <wael[m]> i dont see how 3.5.x is unstable especially when the last update was in May
[2022-08-08T00:33:22Z] <sad_plan> i think its on their github page. hold on, and ill find it
[2022-08-08T00:33:38Z] <sad_plan> but yes, it seems 3.5.x is stable after all
[2022-08-08T00:33:53Z] <wael[m]> alright ill continue using it
[2022-08-08T00:38:19Z] <sad_plan> im not sure whats the deal here, but it seems that 3.5.2 is the correct version. iirc they had separate branches before anyhow
[2022-08-08T00:46:00Z] <wael[m]> about that distro, i think ill just be overlaying packages
[2022-08-08T00:46:47Z] <wael[m]> ill start by trying to get libressl working
[2022-08-08T00:47:48Z] <sad_plan> its simpler that way. theres also nothing stopping you from 'making your own distr', but instead of just start from scratch, and fork everything. fork stuff that you care about first, then move on from there. i.e. with libressl as you said, then perhaps move on to use toybox, and add patches, and changes to reflect toybox. and so on. just an example
[2022-08-08T00:49:54Z] <wael[m]> in curl, was enable-symbol-hiding removed for libressl and enable-optimize for misc?
[2022-08-08T00:52:12Z] <sad_plan> I dont recall actually. but Im assuming I just wanted less stuff, and more optimization or something
[2022-08-08T00:52:26Z] <wael[m]> alright
[2022-08-08T00:53:01Z] <wael[m]> also i know this is going to be answered with 'personal preference' but how are configure flags supposed to be structured? enable disable with without or disable enable without with im pretty confused
[2022-08-08T00:53:14Z] <wael[m]> i want to make the build files consistent and not messy like what i saw when forking some packages
[2022-08-08T00:56:29Z] <sad_plan> Ive set them up like upstream does basically. not that it matters, as the configure script will read them just the same regardless. I just put them where I see fit
[2022-08-08T00:56:51Z] <sad_plan> you can also put them in one really long line if you want, but it just makes it less readable
[2022-08-08T00:56:52Z] <wael[m]> each package with their own style?!
[2022-08-08T00:57:09Z] <sad_plan> if you want that, thats up to you
[2022-08-08T00:57:27Z] <wael[m]> hmm
[2022-08-08T00:58:32Z] <sad_plan> nothing seems to have been broken by the recent libressl, so it seems  was mistaken. thanks for noticing. else I would probably not have been updating it for a really long time :p
[2022-08-08T00:59:01Z] <wael[m]> :D
[2022-08-08T00:59:27Z] <wael[m]> also how come ffmpeg has openssl as a dependency when its not even listed in the dependency file
[2022-08-08T01:01:33Z] <sad_plan> kiss checks if its links to libs that is owned by different packages, which it will then add those to the dep file. or something like that. Ive had packages list deps I didnt know of, and then checked it out
[2022-08-08T01:02:27Z] <sad_plan> alot of times, packages has auto detection for different things. so if its not installed, itll automatically disable it. now if you install foo pkg, then rebuild foobar, now foobar will list foo as a dep, even though it didnt initally
[2022-08-08T01:05:41Z] <wael[m]> i dont believe kiss can do that its too small for that
[2022-08-08T01:09:41Z] <sad_plan> run kiss revdepends curl, then build libnghttp2, rebuild curl, rerun kiss revdepends curl, and tell me it doesnt :p
[2022-08-08T01:10:05Z] <wael[m]> why is gnupg1 named gnupg1???
[2022-08-08T01:10:14Z] <wael[m]> ive always wondered this since i saw kisslinux for the first time lol
[2022-08-08T01:10:25Z] <sad_plan> because its version 1.x.x and not 2.x.x
[2022-08-08T01:10:40Z] <wael[m]> whwhhwh ohhhhh yeah that wait why not specify it by the build file
[2022-08-08T01:10:46Z] <wael[m]> i mean version file
[2022-08-08T01:11:29Z] <wael[m]> and why 1.X.X? if there is a latest why not?
[2022-08-08T01:11:29Z] <sad_plan> why? libnghttp2 isnt a dependency for curl inherently
[2022-08-08T01:11:56Z] <sad_plan> its not, gnupg has 2.x.x as latest. gnupg2 is packaged iirc, if you should need/want it
[2022-08-08T01:12:17Z] <wael[m]> no im just wondering why not just have a single latest package called 'gnupg'
[2022-08-08T01:13:02Z] <sad_plan> I dunno, as I said, I dont know the reasons behind the splitting. but its the case for other stuff aswell, like libsoup
[2022-08-08T01:13:28Z] <sad_plan> theres all kinds of reasons for splitting a package
[2022-08-08T01:13:45Z] <wael[m]> there is literally no package that has a dependency of gnupg1
[2022-08-08T01:13:48Z] <phoebos> gnupg1 is sufficiently different to gnupg2, in particular it has fewer dependencies so better suited to the main repo
[2022-08-08T01:14:07Z] <phoebos> because gnupg1 isn't a library lol
[2022-08-08T01:14:07Z] <sad_plan> ^ there you have it
[2022-08-08T01:14:59Z] <phoebos> the reason it's in the main repo is because dylan signed all his commits, so you could verify them (it's the first thing in the install guide)
[2022-08-08T01:15:04Z] <wael[m]> gnupg2: libassuan libgcrypt libgpg-error libksba npth pinentry
[2022-08-08T01:15:04Z] <wael[m]> gnupg1: bzip2 curl openssl zlib
[2022-08-08T01:15:33Z] <wael[m]> i personally havent set up gpg signed commits, are they important?
[2022-08-08T01:16:30Z] <phoebos> not everyone committing to the community-maintained main repo signs their commits, so you couldn't right now 
[2022-08-08T01:16:38Z] <sad_plan> its just to verify that youre the actuall committer.
[2022-08-08T01:16:53Z] <sad_plan> not everyone cares for it as phoebos just mentioned
[2022-08-08T01:17:03Z] <wael[m]> eh i am me and no one wants to be me so
[2022-08-08T01:18:06Z] <wael[m]> wait, do i have to recompile firefox for/with libressl?
[2022-08-08T01:18:31Z] <sad_plan> if it links to openssl's libs, then yes
[2022-08-08T01:18:44Z] <wael[m]> crap okay 
[2022-08-08T01:19:02Z] <wael[m]> its 4 AM i cant go outside while firefox is compiling
[2022-08-08T01:19:20Z] <sad_plan> openssl isnt listed as a dep though, but youll see when you eventually switch and try to reopen ff
[2022-08-08T01:19:38Z] <wael[m]> --shared-openssl is removed intentionally in nodejs right?
[2022-08-08T01:20:04Z] <sad_plan> yes
[2022-08-08T01:20:07Z] <sad_plan> else you need openssl
[2022-08-08T01:21:11Z] <wael[m]> oh no openssh needs openssl
[2022-08-08T01:21:15Z] <wael[m]> is there libressl
[2022-08-08T01:21:22Z] <sad_plan> itll statically link openssl libs without it, so you can safely run libressl without nodejs giving you hassles
[2022-08-08T01:21:28Z] <wael[m]> wait im confused by the names
[2022-08-08T01:21:33Z] <sad_plan> just change in the dep file. requires nothing else
[2022-08-08T01:21:45Z] <wael[m]> openbsd = libressl and openssh
[2022-08-08T01:21:45Z] <wael[m]> openssl != openbsd project
[2022-08-08T01:22:20Z] <sad_plan> ironically, yes
[2022-08-08T01:22:41Z] <wael[m]> where is my libressh
[2022-08-08T01:24:17Z] <wael[m]> thank you for the python libressl patch btw
[2022-08-08T01:25:23Z] <sad_plan> no problem. just updated python aswell. as it were outdated by 2 versions
[2022-08-08T01:26:16Z] <wael[m]> i assume the weird configure ssl flags are needed for libressl as well
[2022-08-08T01:27:18Z] <wael[m]> why without-pymalloc tho?
[2022-08-08T01:28:19Z] <sad_plan> yeah, I belive so
[2022-08-08T01:31:55Z] <sad_plan> pymalloc was from oasis i think. I had some issues before with yt-dlp. and I belive thats why I use those
[2022-08-08T01:32:27Z] <wael[m]> oh no i cant use yt-dlp with libressl?
[2022-08-08T01:34:59Z] <wael[m]> wait why is xorg-server in kiss-xorg built with Meson but xorg-server in your repository is built with configure?
[2022-08-08T01:43:04Z] <sad_plan> you can, just gotta rebuild it usually
[2022-08-08T01:43:15Z] <wael[m]> oh yeah uh how am i supposed to rebuild my system now
[2022-08-08T01:43:25Z] <sad_plan> because I have switched yet. we're gonna switch out meson with muon, but I havent gotten there yet
[2022-08-08T01:43:26Z] <wael[m]> force remove openssl and rebuild packages?
[2022-08-08T01:43:44Z] <sad_plan> switch to libressl, and the yes, force remove openssl
[2022-08-08T01:43:56Z] <wael[m]> alright wish me luck
[2022-08-08T01:44:04Z] <wael[m]> or dont cuz im stealing from your repositories builds anyway
[2022-08-08T01:44:09Z] <wael[m]> i mean fork
[2022-08-08T01:45:42Z] <sad_plan> should be any issues as far as Im aware of. it works on my systems anyway :p
[2022-08-08T01:46:46Z] <wael[m]> uh oh
[2022-08-08T01:46:57Z] <wael[m]> simply launching openssl (libressl):... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/00e584a3b8209e1fb04cfa489f4c0b5ed3cfa0ec)
[2022-08-08T01:49:20Z] <wael[m]> after reinstalling it it seems to work??
[2022-08-08T01:49:35Z] <wael[m]> my system still somehow works thats weird
[2022-08-08T01:50:00Z] <sad_plan> well, you know, libressl actually works :p
[2022-08-08T01:50:23Z] <wael[m]> how do i tell if packages build with libressl (eg. git curl) actually work lmao
[2022-08-08T01:50:33Z] <wael[m]> i mean, with libressl detected and things 
[2022-08-08T01:50:46Z] <sad_plan> if the purpose for it actually does what you expect it to
[2022-08-08T01:51:11Z] <sad_plan> say, with curl, download something, if it doesnt work, itll complain about something. usually some libs missing or w/e
[2022-08-08T01:51:42Z] <wael[m]> currently recompiling all the packages that had it as a dependency
[2022-08-08T01:53:58Z] <wael[m]> im getting alot of <command-line>: warning: "OPENSSLDIR" redefined
[2022-08-08T01:53:58Z] <wael[m]> <command-line>: note: this is the location of the previous definition
[2022-08-08T01:53:58Z] <wael[m]> errors while compiling nodejs
[2022-08-08T01:54:05Z] <wael[m]> can i safely ignore that
[2022-08-08T01:55:12Z] <sad_plan> did it error out?
[2022-08-08T01:55:51Z] <wael[m]> no
[2022-08-08T01:56:12Z] <sad_plan> then im sure its fine, aslong as it didnt error out and still builds fine
[2022-08-08T01:56:48Z] <wael[m]> honestly im glad i chose the 'overlay' route instead of making my own distro
[2022-08-08T01:57:20Z] <sad_plan> well you gotta take it step by step anyway, so gotta start somewhere
[2022-08-08T01:58:08Z] <wael[m]> im the type of person to make a big jump and regret it 
[2022-08-08T01:59:02Z] <wael[m]> \o
[2022-08-08T02:01:56Z] <ioraff> o/
[2022-08-08T02:12:53Z] <testuser[m]12> Hi
[2022-08-08T02:13:01Z] <ioraff> hi
[2022-08-08T02:13:02Z] <sad_plan> hi
[2022-08-08T02:14:47Z] <wael[m]> hi
[2022-08-08T02:16:33Z] <ioraff> wael[m]: I wrote a quick and dirty patch for node to link against libressl
[2022-08-08T02:16:50Z] <wael[m]> im
[2022-08-08T02:16:58Z] <wael[m]> im 80% of the way of compiling nodejs
[2022-08-08T03:21:44Z] <wael[m]> sad_plan: consider downgrading libressl
[2022-08-08T03:21:47Z] <wael[m]>   This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5
[2022-08-08T03:21:47Z] <wael[m]>   through 3.4.1, but a different version of OpenSSL was found. The build is now aborting
[2022-08-08T03:21:47Z] <wael[m]>   due to this version mismatch.
[2022-08-08T03:22:32Z] <sad_plan> what isnt compatible with 3.5.2?
[2022-08-08T03:22:38Z] <wael[m]> rust
[2022-08-08T03:23:02Z] <sad_plan> fix the patch
[2022-08-08T03:23:14Z] <sad_plan> just change the version numbers in the patch. should be fine
[2022-08-08T03:23:19Z] <wael[m]> 3 3 x to 3 5 x ?
[2022-08-08T03:24:26Z] <sad_plan> yeah, Im not sure if that works or not, but you can give it a go obviously
[2022-08-08T03:24:30Z] <wael[m]> i will
[2022-08-08T03:25:24Z] <sad_plan> but that does sound familiar though. it may be one of the reasons I didnt update, because it broke rust.
[2022-08-08T03:25:46Z] <wael[m]> we shall find out if it compiles with 3 5 x and libressl 3.5.1
[2022-08-08T03:26:02Z] <sad_plan> 2. not 1
[2022-08-08T03:26:04Z] <sad_plan> but yes
[2022-08-08T03:43:13Z] <wael[m]> nope it still failed
[2022-08-08T03:43:14Z] <wael[m]> now what
[2022-08-08T03:43:59Z] <sad_plan> fork libressl to your own repo. I dont currently use rust, so I wont downgrade it, aslong as it doenst give me other issues 
[2022-08-08T03:44:25Z] <wael[m]> i am doing my own repo
[2022-08-08T03:44:36Z] <wael[m]> its just that specifying 3 5 x in t he libressl patch didnt help
[2022-08-08T03:44:47Z] <wael[m]> its probably that it doesnt even support that version 
[2022-08-08T03:46:35Z] <sad_plan> probably
[2022-08-08T03:47:42Z] <wael[m]> also its 3 not 2 neither one lol
[2022-08-08T03:53:02Z] <wael[m]> it seems rust is outdated or the patch is outdated? openssl-sys has 3.5.X support already in place (https://github.com/sfackler/rust-openssl/pull/1628), whats going on?
[2022-08-08T03:55:29Z] <wael[m]> rust is trying to be built with openssl-sys 0.9.72, that explainsi t
[2022-08-08T03:55:34Z] <wael[m]> why that is im not sure
[2022-08-08T03:59:32Z] <sad_plan> Im not sure. and tbh, i cant look into that atm :p
[2022-08-08T03:59:54Z] <ioraff> look at my repo. libressl 3.5+ has opaque structs
[2022-08-08T04:00:32Z] <wael[m]> libressl package or rust package?
[2022-08-08T04:00:37Z] <sad_plan> ^ cheers. ill look into that tomorow
[2022-08-08T04:01:04Z] <wael[m]> yeah i assume its the rust patch 
[2022-08-08T04:01:08Z] <wael[m]> ill try it i guess
[2022-08-08T04:01:14Z] <ioraff> rust
[2022-08-08T04:01:34Z] <wael[m]> another day another checksum mismatch 
[2022-08-08T04:04:48Z] <ioraff> the fix is for libssh2-sys. also, it may take awhile for vendored crate updates to propagate
[2022-08-08T04:04:56Z] <wael[m]> i really love and hate the fact everyone has their own kiss repository not gonna lie 
[2022-08-08T04:05:09Z] <wael[m]> love for the fact anyone can easily fork the package to suite their own needs and preferences 
[2022-08-08T04:05:17Z] <wael[m]> hate for the fact that theres too many
[2022-08-08T04:05:57Z] <ioraff> me too. I try to symlink things to bigger repos as much as possible.
[2022-08-08T04:06:26Z] <wael[m]> why cant we all have one giant repo to have user repositories? :D 
[2022-08-08T04:06:29Z] <wael[m]> famous last words
[2022-08-08T04:06:59Z] <ioraff> https://jedahan.com/kiss-find/ used to search a lot more repositories. not sure what happened.
[2022-08-08T04:07:44Z] <wael[m]> oh thats gonna be real useful
[2022-08-08T04:07:59Z] <wael[m]> but it seems it doesnt really search that much
[2022-08-08T04:08:38Z] <wael[m]> ioraff: if you symlink things, why arent they listed as git submodules?
[2022-08-08T04:09:16Z] <wael[m]> > ../../../repo
[2022-08-08T04:09:16Z] <wael[m]> it seems its an outside repository nevermind
[2022-08-08T04:09:40Z] <ioraff> it used to index every github repository with the kiss-repo tag, plus whatever was manually added. I assume the tag check was removed.
[2022-08-08T04:09:50Z] <ioraff> right. maybe submodules would be a good idea.
[2022-08-08T04:10:50Z] <wael[m]> personally i want to avoid using symlinks or submodules so i dont have a really dumb looking KISS_PATH
[2022-08-08T04:11:30Z] <wael[m]> say, if for example i had package zlib fork which is at a higher priority set in KISS_PATH and it got updated in another repo, would it update?
[2022-08-08T04:12:06Z] <wael[m]> KISS_PATH=repo/custom:repo/upstream
[2022-08-08T04:12:06Z] <wael[m]> if custom packages got outdated but upstream had the same packages whilst being up to date would they update? or get ignored
[2022-08-08T04:16:31Z] <ioraff> they'd update if the version file is symlinked
[2022-08-08T04:17:00Z] <wael[m]> so basically, no?
[2022-08-08T04:17:14Z] <ioraff> correct
[2022-08-08T04:17:28Z] <wael[m]> thanks 
[2022-08-08T04:17:33Z] <wael[m]> it would have been real worrying if it was true
[2022-08-08T04:18:09Z] <ioraff> only the package in the highest priority repo matters.
[2022-08-08T04:19:27Z] <wael[m]> what the heck rust failed with your patch even though the build file explicitly says to ignore checksums i think?
[2022-08-08T04:19:40Z] <wael[m]> let me check the build file in your repo
[2022-08-08T04:20:18Z] <wael[m]> ohhhhhhh its only for curl-sys not open-ssl okay
[2022-08-08T04:20:43Z] <ioraff> what's only for curl-sys?
[2022-08-08T04:21:01Z] <wael[m]> checksum checking
[2022-08-08T04:21:10Z] <wael[m]> the build file i copied had it disabled for curl-sys explicitly 
[2022-08-08T04:21:51Z] <ioraff> you need to disable it for libssh2-sys
[2022-08-08T04:21:57Z] <ioraff> too
[2022-08-08T04:22:08Z] <wael[m]> libxslt 1.1.35-1 => 1.1.34-1
[2022-08-08T04:22:08Z] <wael[m]> python 3.10.6-1 => 3.10.5-1
[2022-08-08T04:22:13Z] <wael[m]> why is kiss trying to downgrade?
[2022-08-08T04:22:29Z] <wael[m]> oh yeah the python i installed is not in KISS_PATH nvm
[2022-08-08T04:22:44Z] <wael[m]> ioraff: just adding it to the for loop your build file has :D
[2022-08-08T04:23:35Z] <ioraff> isn't it already in the for loop?
[2022-08-08T04:24:05Z] <wael[m]> yes.
[2022-08-08T05:03:12Z] <wael[m]> rust successfully compiled 
[2022-08-08T07:11:54Z] <Ogromny> hi
[2022-08-08T08:12:47Z] <wael[m]> hi @Ogromny 
[2022-08-08T08:13:00Z] <wael[m]> anway mfw libressl Xorg can't open libcrypto.so.3
[2022-08-08T08:16:56Z] <wael[m]> nvm had to recompile with libressl
[2022-08-08T10:10:09Z] <phoebos> i keep thinking about reviving kiss-find, it was useful
[2022-08-08T10:10:21Z] <phoebos> i don't understand github actions though
[2022-08-08T10:11:15Z] <phoebos> could just try to get admicos' version back
[2022-08-08T11:44:29Z] <phoebos> well, it works
[2022-08-08T11:44:39Z] <phoebos> https://tmp.bvnf.space/db.csv if anyone wants an update
[2022-08-08T16:06:16Z] <wael[m]> wait using that i can find that someone has made mutlilib before on KISS
[2022-08-08T16:06:17Z] <wael[m]> wow
[2022-08-08T16:06:54Z] <wael[m]> however its just a kiss fork 'mkiss' 
[2022-08-08T16:34:00Z] <Ogromny> What do you think about writing a helper like `kiss find blabla`, and it'll return every git where blabla is found ? 
[2022-08-08T16:34:07Z] <Ogromny> A kiss-find but localy
[2022-08-08T16:35:29Z] <Ogromny> Instead of doing a website where we can search package, why not creating a db.csv or whatever, and create a package `kiss-finder` who will be updated every x hours with the new db.csv ?
[2022-08-08T16:36:29Z] <phoebos> Ogromny: that's what kiss-find is
[2022-08-08T16:36:41Z] <phoebos> the website was a thing jedahan made
[2022-08-08T16:37:28Z] <Ogromny> Yeah but why not create a package kiss-find who give you the helper kiss find ?
[2022-08-08T16:37:36Z] <phoebos> https://github.com/aabacchus/kiss-find/tree/sh
[2022-08-08T16:37:42Z] <phoebos> https://github.com/aabacchus/kiss-repo/tree/main/kiss-find
[2022-08-08T16:37:53Z] <Ogromny> ohhhh
[2022-08-08T16:38:02Z] <Ogromny> I didn't know that
[2022-08-08T16:38:08Z] <Ogromny> thanks x)
[2022-08-08T16:38:41Z] <phoebos> if i get around to setting up gh actions, i'll put it in community
[2022-08-08T16:39:00Z] <wael[m]> wooooooo
[2022-08-08T17:57:10Z] <wael[m]> is it possible to build pulseaudio only for its libraries?
[2022-08-08T17:59:49Z] <illiliti> apulse?
[2022-08-08T18:00:15Z] <wael[m]> yep
[2022-08-08T18:01:25Z] <wael[m]> i think i managed to do just that, pulseaudio tarball doesnt have pulseaudio in the file list
[2022-08-08T18:06:20Z] <ioraff> if the program is linked against libpulse, wouldn't it need either pulseaudio running or to be running under apulse to function?
[2022-08-08T18:07:08Z] <wael[m]> im running firefox with music playing right now under apulse without pulseaudio running
[2022-08-08T18:07:20Z] <wael[m]> but if apulse isnt detected it tries to launch pulseaudio automatically
[2022-08-08T18:07:32Z] <wael[m]> im not sure why it overrides alsa even though its compiled with support for it.
[2022-08-08T18:08:02Z] <ioraff> it assume it gives priority to pulse since its alsa support is lackluster
[2022-08-08T18:08:40Z] <wael[m]> thing is, it worked fine on a previous distro, alsa used but if pulseaudio daemon running it uses that
[2022-08-08T18:09:10Z] <ioraff> so just don't run it under apulse?
[2022-08-08T18:09:57Z] <wael[m]> firefox? it wont work without apulse even though alsa is compiled like i said
[2022-08-08T18:10:44Z] <ioraff> did you compile it with support for both?
[2022-08-08T18:12:40Z] <wael[m]> for both yes
[2022-08-08T18:40:47Z] <Ogromny> ioraff: If you want just to have the libs of pulseaudio you can disable de "daemon" during the compilation, and I think you can also disable every tools of pulseaudio, I think like this you'll only get the lib and nothing else 
[2022-08-08T18:41:45Z] <wael[m]> > you can also disable every tools 
[2022-08-08T18:41:45Z] <wael[m]> with flag -Ddaemon=false some tools are still compiled, not sure how to disable them
[2022-08-08T18:41:48Z] <wael[m]> best bet is to just remove them
[2022-08-08T18:41:52Z] <Ogromny> https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/meson_options.txt
[2022-08-08T18:42:05Z] <Ogromny> Yeah I don't see any option to disable the tools
[2022-08-08T18:42:14Z] <Ogromny> but yeah just rm them in the build file 
[2022-08-08T18:45:02Z] <wael[m]> is it to safe to use non-POSIX subsitution like "${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}" in build files?
[2022-08-08T18:48:46Z] <phoebos> :|
[2022-08-08T18:49:30Z] <illiliti> use sed, stick to the posix
[2022-08-08T18:49:34Z] <wael[m]> i cant tell if thats yes no or its posix
[2022-08-08T18:49:48Z] <wael[m]> illiliti: alright
[2022-08-08T19:02:39Z] <midfavila> if you need to check whether a a shell form is POSIX, check either the dash or man-pages-posix man 1p sh manpages
[2022-08-08T19:03:13Z] <illiliti> yash
[2022-08-08T19:03:15Z] <midfavila> you should probably get a drink before reading any of the posix manpages though, they're insanely verbose
[2022-08-08T19:03:21Z] <midfavila> yash is based but also doesn't work as a /bin/sh
[2022-08-08T19:03:31Z] <midfavila> ...then again, neither does dash on my system, for some reason
[2022-08-08T19:04:15Z] <illiliti> something wrong with your system i'd say
[2022-08-08T19:04:35Z] <midfavila> yeah idk what's up with it
[2022-08-08T19:04:49Z] <midfavila> it's been a problem for over a year, but only in the case of building a few very specific SDL packages
[2022-08-08T19:04:57Z] <wael[m]> yash?
[2022-08-08T19:04:59Z] <midfavila> dash
[2022-08-08T19:05:04Z] <midfavila> unless you're asking what yash is,
[2022-08-08T19:05:10Z] <midfavila> in which case, it's basically POSIX bash
[2022-08-08T19:05:14Z] <illiliti> https://yash.osdn.jp/
[2022-08-08T19:05:18Z] <midfavila> that's a huge oversimplification, but it works
[2022-08-08T19:05:34Z] <wael[m]> theres way too many shells out there
[2022-08-08T19:05:48Z] <midfavila> and yet all they do is reimplement the bourne language with extensions
[2022-08-08T19:05:48Z] <wael[m]> out of all of them except bash and zsh yash is the best one interactive use
[2022-08-08T19:05:59Z] <midfavila> mmmmmeh
[2022-08-08T19:06:02Z] <midfavila> i'm sticking with rc
[2022-08-08T19:06:12Z] <acheam> ksh!
[2022-08-08T19:06:18Z] <midfavila> ksh is fine
[2022-08-08T19:06:21Z] <midfavila> rc is better
[2022-08-08T19:06:30Z] <wael[m]> ksh - mksh, oksh, pdksh
[2022-08-08T19:06:30Z] <midfavila> :^)
[2022-08-08T19:06:37Z] <wael[m]> rc is 
[2022-08-08T19:06:54Z] <wael[m]> i think its really cool but ive gotten used to POSIX sh and dont have time to switch to something new
[2022-08-08T19:07:05Z] <midfavila> i don't really script in rc
[2022-08-08T19:07:10Z] <midfavila> although i really should learn to
[2022-08-08T19:07:17Z] <wael[m]> id probably switch to rc if dylan embraced it
[2022-08-08T19:07:25Z] <midfavila> i mostly just like using it as an interactive shell because of its low resource use
[2022-08-08T19:07:35Z] <midfavila> 8kb or less
[2022-08-08T19:07:48Z] <midfavila> versus like 1mb for ksh
[2022-08-08T19:08:15Z] <midfavila> the hilarious part is that my ksh is dynamically linked and rc is static
[2022-08-08T19:15:30Z] <phoebos> annoyingly, man 1p sh only describes the program, not the language spec
[2022-08-08T19:15:50Z] <phoebos> I like POSIX man pages
[2022-08-08T19:16:02Z] <phoebos> (re: they're so verbose)
[2022-08-08T19:16:04Z] <midfavila> oh, huh, weird
[2022-08-08T19:16:09Z] <midfavila> and yeah, they're nice, but also like
[2022-08-08T19:16:26Z] <midfavila> they're pretty bad for referencing any moderately complex program since they have to cover every edgecase known to man
[2022-08-08T19:16:32Z] <phoebos> the language spec is in its own section 
[2022-08-08T19:17:00Z] <midfavila> is it? what page?
[2022-08-08T19:17:04Z] <phoebos> oh yeah bad for reference, but great for understanding it and its history, and for development 
[2022-08-08T19:17:08Z] <phoebos> not a man page 
[2022-08-08T19:17:18Z] <midfavila> gay
[2022-08-08T19:17:21Z] <acheam> lmao bash(1): "BUGS: It's too big and too slow."
[2022-08-08T19:17:23Z] <midfavila> every interpreter should be like rc
[2022-08-08T19:17:35Z] <midfavila> include a formal grammar for the language at the end of the manual
[2022-08-08T19:17:47Z] <midfavila> acheam, that's GNU for you
[2022-08-08T19:21:23Z] <midfavila> you know, on the topic of manuals, what's up with people not using the different sections 
[2022-08-08T19:21:33Z] <midfavila> i've noticed basically everything just gets dumped under 1
[2022-08-08T19:21:39Z] <acheam> incompetence
[2022-08-08T19:22:06Z] <midfavila> fair enough ig
[2022-08-08T19:24:53Z] <phoebos> midfavila: yes, an interpreter should have a page in 1 for the options, files, etc and a page in 5 for the grammar 
[2022-08-08T19:25:30Z] <midfavila> i wish people put more work into their documentation . _.
[2022-08-08T19:25:42Z] <midfavila> it's at least as important as the program itself, if not moreso
[2022-08-08T19:27:08Z] <acheam> b b b b b b but its on the github wiki, mid
[2022-08-08T19:27:28Z] <acheam> thats where the youtube tutorial told me to put the instructions on how to drag and drop the installation file
[2022-08-08T19:29:29Z] <midfavila> disgusting
[2022-08-08T19:29:31Z] <midfavila> https://github.com/m-weigand/mw_pinenote_misc/raw/main/videos/20220808_bw_dither_mode_picture_doom_video_small.mp4
[2022-08-08T19:29:32Z] <midfavila> btw
[2022-08-08T19:29:42Z] <midfavila> doom on the pinenote at a playable framerate
[2022-08-08T19:31:02Z] <phoebos> it would be nice to get the shell syntax section of posix converted to a manpage
[2022-08-08T19:31:21Z] <phoebos> but michael kerrisk is the only person with access to the roff source!
[2022-08-08T19:34:59Z] <illiliti> guys
[2022-08-08T19:35:02Z] <illiliti> local has been rejected
[2022-08-08T19:35:07Z] <illiliti> https://www.austingroupbugs.net/view.php?id=767
[2022-08-08T19:37:47Z] <wael[m]> rip
[2022-08-08T19:45:53Z] <wael[m]> why are spaces preferred over tabs in kisslinux repositories?
[2022-08-08T19:45:59Z] <wael[m]> does dylan himself use spaces?!?!!?!!!?@#!*#@!
[2022-08-08T19:49:50Z] <illiliti> oh no...
[2022-08-08T19:50:13Z] <illiliti> this flame war again
[2022-08-08T19:50:31Z] <wael[m]> nonono im just curious
[2022-08-08T19:50:55Z] <wael[m]> i can switch between spaces and tabs im fine with that im just curious
[2022-08-08T19:51:42Z] <Ogromny> What is rc ?
[2022-08-08T19:52:08Z] <Ogromny> nevermind 
[2022-08-08T19:52:32Z] <wael[m]> https://doc.cat-v.org/plan_9/4th_edition/papers/rc
[2022-08-08T19:52:33Z] <wael[m]> i was just about to give a man page lol
[2022-08-08T19:52:41Z] <illiliti> i think with spaces you can align some commands gracefully. with tabs that would be impossible
[2022-08-08T19:52:54Z] <wael[m]> illiliti: the only reason im asking is because i want to make a kiss hook and upload it to the kiss hooks repository
[2022-08-08T19:53:07Z] <Ogromny> I thought you were speaking about OpenRC, I was like WTF since when OpenRC's authors still develop a shell
[2022-08-08T19:53:08Z] <illiliti> use spaces then
[2022-08-08T19:53:18Z] <wael[m]> 2 spaces or 4
[2022-08-08T19:53:21Z] <ioraff> 4
[2022-08-08T19:59:00Z] <wael[m]> would it be fair to have the build time kiss hook also include the strip time? or just compilation time?
[2022-08-08T20:01:13Z] <illiliti> if you find it useful why not
[2022-08-08T20:02:27Z] <wael[m]> alright stripping included in build time
[2022-08-08T23:03:41Z] <Guest10002> is kiss suckless enough?
[2022-08-08T23:05:01Z] <wael[m]> are you a schizo?
[2022-08-08T23:06:30Z] <Guest10002> ?
[2022-08-08T23:06:55Z] <wael[m]> ??
[2022-08-08T23:07:35Z] <Guest10002> kiss is a schizo distro?
[2022-08-08T23:08:16Z] <wael[m]> im referring to you
[2022-08-08T23:09:10Z] <Guest10002> ? do you call everyone schizo???? are you a schizo? lol
[2022-08-08T23:09:18Z] <wael[m]> i am a schizo.
[2022-08-08T23:10:44Z] <Guest10002> ok...?
[2022-08-08T23:11:26Z] <wael[m]> if you want ''''suckless'''' theres a list here: https://suckless.org/rocks/
[2022-08-08T23:11:32Z] <wael[m]> its there for people like you