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
<ioraff> done
<phoebos> thanks
ella-0_ has joined #kisslinux
ella-0 has quit [Ping timeout: 268 seconds]
<midfavila> dunno if you guys care, but i've modified libtool to use plain make instead of autotools
<midfavila> bit of a quick hack, but it should work
<midfavila> could someone give compiling dash with tcc statically a shot?
<ioraff> can you send a patch so tcc satisfies the configure script?
<midfavila> tcc satisfies it on my system
<midfavila> no patch necessary
<midfavila> check your cflags and ldflags?
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
<ioraff> oh yeah
<ioraff> compiled and seems to run fine
<midfavila> with -static though?
<ioraff> yes
<midfavila> ...huh...
<midfavila> nothing about sys_siglist being undefined?
pbsds has joined #kisslinux
<ioraff> nope
<midfavila> strange
<midfavila> must have something to do with the binutils
<ioraff> linked with bfd, if that matters.
<midfavila> yeah, it probably does
<ioraff> what did you link it with?
<midfavila> tccld
<ioraff> actually, it seems like it uses its own linker by default
<midfavila> what version of tcc and dash?
<ioraff> git, 0.5.11.5
<midfavila> my dash is a little older... hrm
<midfavila> maybe they fixed the references to sys_siglist
ejjdhfjsu has joined #kisslinux
<midfavila> ...wtf
<midfavila> wiped out my chroot and unpacked just to make sure I had a clean environment, now 'm getting a different error
<midfavila> something is definitely fucky-wucky
<midfavila> oh, no, wait. the actual error was still undefined references to sys_siglist
<testuser[m]12> Hi
<ioraff> hi
<midfavila> i see what's going on - dash implemented a wrapper for strsignal that uses sys_siglist if the function isn't available, and it's not detecting it with my new rootfs for some reason
ejjdhfjsu has quit [Remote host closed the connection]
ejjdhfjsu has joined #kisslinux
<midfavila> okay, weird
<midfavila> turns out, autotools is just shit and wasn't detecting things properly
<midfavila> spent a few minutes fiddling with config.h, works fine now
<midfavila> :thinking:
<midfavila> turns out, replacing autotools with plain make solves most of my problems
<midfavila> wild
<midfavila> well, tcc officially seems capable of compiling TinyX
sad_plan has joined #kisslinux
<sad_plan> hi
<midfavila> hello again
<wael[m]> hi
<midfavila> was just mentioning tinyx
<sad_plan> yeah, I was reading through the logs as we speak. it did build with tcc I see
<sad_plan> thats really cool.
<midfavila> yep
<sad_plan> i didnt know tcc had its own linker either. I thought it was just a compiler tbh
<midfavila> just need to get its dependencies to compile and rewrite the build system to not depend on autotools
<midfavila> and yeah, tcc is a complete dev toolchain
<midfavila> has x86 and arm assemblers, as well as a linker and a compiler, and a preprocessor as well
<midfavila> it puts its ~100k lines to good use
<sad_plan> yeah. did you get my comment regarding libXdmcp btw? its not needed after all
<midfavila> yeah I saw that
<midfavila> i'm more concerned about stuff like libpng though
<sad_plan> good
<midfavila> why is that listed as a dep?
<sad_plan> links to libpng
<sad_plan> atleast on my end
<sad_plan> does it not on your end?
<midfavila> it does, but presumably in an opportunistic fashion
<midfavila> i don't go off of kiss' autodep generator
<midfavila> to be blunt, it's fucking trash
<sad_plan> hm. perhaps.
<sad_plan> I went off of what it linked to to begin with atleast
<midfavila> there have been so many packages i've had to fix where someone built it and threw the output of kiss' dep generator into depends
<sad_plan> it aint perfect, but its usually what I use
<midfavila> it's... *fine*, I guess
<midfavila> if there's no other option
<sad_plan> yeah
<midfavila> but i usually consult the project itself and then LFS, followed by Alpine, Gentoo and finally Debian
<sad_plan> yeah, I have just been reading the readme for the most part. theres just not a whole lot of docs on it. else kyx0r has been working on it somewhat
<sad_plan> im rebuilding tinyx now without libpng, and ill see if it builds correctly
<midfavila> cool, keep me posted
<sad_plan> noo, libpng is required
<midfavila> lame
<midfavila> that means libtool is required and perl by proxy
<sad_plan> Package 'libpng', required by 'freetype2', not found
<midfavila> can you not disable freetype?
<midfavila> if freetype can't be disabled then tcc goes out the window
<sad_plan> theres no flag for it in the configure script that Im aware of
<sad_plan> I could look
<midfavila> hrm
<midfavila> might need to patch it
<midfavila> tinyx itself i mean
<sad_plan> yeah
<sad_plan> but no, theres no flag for freetype. not anything thats clearly labeled anyway
<midfavila> hrm
<sad_plan> freetype is mentioned in several of the makefiles actually
<midfavila> yeah, i ran a grep on them
<midfavila> almost certainly going to need a patchjob
<sad_plan> yeah
<midfavila> well,
<midfavila> my response is that things should start with ripping out just Xfbdev
<midfavila> and then a makefile should be set up for it,
<midfavila> and then patching can start
<sad_plan> dont you mean Xvesa? I cant even use Xvesa as its only for 32-bit
<midfavila> oh, i wasn't clear, my bad
<midfavila> i meant that xfbdev should be made its own thing
<midfavila> and the rest left to die
ejjdhfjsu has quit [Remote host closed the connection]
ejjdhfjsu has joined #kisslinux
<midfavila> my vision is to get xfbdev working as an interim solution, and then start work on kicking MGR into shape
<midfavila> there seem to be a few forks aimed at bringing it back to life already
<midfavila> in particular, this one actually builds
<midfavila> (although it uses cmake)
<sad_plan> ah, yeah xvesa is no longer relevant. I simply deleted it after building in my buildscript, but I wanted to patch it out too actually. but havent looked much into it
<sad_plan> does mgr even work anymore on any recent computer? I mean, seeing as its from the 80s
<midfavila> well, if nothing else it compiles and runs on my system
<sad_plan> not that that is an argument for something not working though
<midfavila> it doesn't *do* anything, at least that I can tell
<midfavila> but it does compile and "work"
<sad_plan> ah, cool
<midfavila> i've seen another project that got it working as an X client
<midfavila> and I mean, I wouldn't count it out just 'cause it's an old program
<midfavila> motif is from the 80s and it runs like a dream
<sad_plan> probably cause its *properly* made? I dunno. I tend to assume if something is properly written, it probably works longer in any case. atleast if its portable anyway
<midfavila> well, i think mgr was properly written for its time
<midfavila> but there are definitely archaic elements to its design
<midfavila> the main element that strikes me atm is the limitations on mouse input it has
<midfavila> (specifically requires a one, two, or three-button microsoft protocol serial mouse, a bus mouse, or something similar)
<midfavila> or ps/2
<midfavila> but such things could be changed readily
<midfavila> honestly, with a little effort, i could see myself *really* enjoying mgr
<sad_plan> hm, it seems we might be able to rid xvesa from the makefile. it is a messy gnu makefile, but Im sure we can find the switch for it there. im on to something now. would be nice to not even need to build xvesa tbh
<sad_plan> cool
fitrh has joined #kisslinux
midfavila has quit [Remote host closed the connection]
<sad_plan> fucking hell, for whatever reason it complains about missing libXdmcp instead, even though its disbled. I removed vesa from one of the makefiles, so that make wouldnt even go there..
ejjdhfjsu_ has joined #kisslinux
ejjdhfjsu has quit [Ping timeout: 252 seconds]
ioraff has quit [Ping timeout: 268 seconds]
vouivre has joined #kisslinux
<vouivre> hello
<sad_plan> hi
<wael[m]> hallo
<vouivre> sad_plan: did you see the issue I created about fzy ?
<vouivre> it was your suggestion
<sad_plan> yeah, I made a comment there. but dylin has answered, nor has anyone else for that matter
<sad_plan> in any case, me or you can simply make a PR for it, and refer it to the issue. I have built it with the features you mentioned, including all of neo-arch's patches, and there were no issues on my end. I can make a pr if youd like
<wael[m]> please make a fzy fork
<vouivre> I really like your suggestion. Why not patching ytfzf. Why a fork ? To merge the PR ?
<wael[m]> shitty reason - i am blocked from fzy repository
<vouivre> So you wouldn't be able to install it ?
<wael[m]> plus good many pull requests get ignored - included a feature i liked, and when i tried to ask why i got blocked
<wael[m]> i can still use fzy but theres missing features that go unnoticed by the maintainer
<vouivre> HHhhmmm, I remember something now.
<sad_plan> it all depends on wether or not it makes a difference for others or not. I mean, im probably not the only one who uses ytfzf, and if other people notice theres a difference, or some features lacking, they might complain about it. hence me wanting to get someone elses opinion on the matter.
<sad_plan> regarding fzy, I see no issue in adding it to the community repo anyway
<wael[m]> have a look at any pull request in the fzy repository
<sad_plan> Im aware of the pr, its said pr we're refering to. which neo-arch has made a pr for. we're planing including them untill theyre included in the upstream.
<vouivre> you are right about the opinion of other users.
<sad_plan> we might be better of creating a separate issue regarding using fzy with ytfzf though. seeing as theyre seperate things
<sad_plan> yeah. I wouldnt be too happy either if I used a tool, and suddenly someone removed some vital features I used
* sad_plan shrugs
<vouivre> wael[m]: I didn't see what you mean after looking at a few PR
<vouivre> did you have a look at this PR:
<wael[m]> vouivre: tl;dr maintainer ignores good PRs
<sad_plan> hence why we include it ourselfes instead. easy peasy
<wael[m]> fair enough
<vouivre> after searching, I found
<wael[m]> as a patch or as a fork?
<vouivre> I'm almost convinced the will be no more developpment of fzy and the PR won't be merged.
<sad_plan> that might be the case. alot of projects often dies when the maintainer just choose not to work on it anymore..
<sad_plan> last commit is late january, so its some time ago to say the least..
<vouivre> we could do a fork, but if I do the fork I will only be able to merge the PR, at best it will take a loooooonnnnnngggg time to add features
<vouivre> or perhaps a user could be interested to fork it.
<sad_plan> I wouldnt bother forking it, with the intention of getting features pushed upstream, unless you activly plan on working it yourself.
<sad_plan> for kiss, I would just add the patches from said PR and be done for the day.
<sad_plan> if theres more stuff, just add those too aswell
<sad_plan> vouivre: its only the patches from neo-arch that youd want included, yes?
<sad_plan> ill make a pr
<sad_plan> wael[m]: regarding your issue https://github.com/kiss-community/community/issues/1218 I belive I did, but it seems I messed up afterwards. Ive created a pr for it for a fix
<vouivre> ok. Let me just test the PR I mentionned. I'll tell you if it would be nice to also include it.
<sad_plan> you do that
<wael[m]> why not set the executible mark
vouivre has quit [Read error: Connection reset by peer]
vouivre has joined #kisslinux
<sad_plan> wael[m]: you mean './' ?
<wael[m]> chmod +x
<sad_plan> it is executable, it was just missing sh foo or ./foo
<sad_plan> but './' didnt work for me for some reason
<wael[m]> whaaaaaat
<wael[m]> well okay thats a fix
<wael[m]> adding chmod +x to the configure script in the build file makes it work, but 'sh ' is smaller so
<vouivre> just tell me when you discussion is finished, I have another question for you.
<wael[m]> go ahead
<sad_plan> yeah. Im not entierly sure what happened in the commit, as I did infact build it beforehand, but I messed with some of the branches when creating multiple prs so
<sad_plan> yeah go ahead
<vouivre> were you able to update bash ? The build fails on my system
<sad_plan> built on my end. what seems to be the issue?
<wael[m]> does kiss report 'successful install'
<vouivre> I assume a patch problem
<sad_plan> whats the error?
<testuser[m]12> adding static to ldflags breaks compilation of 2 extra programs in /usr/lib/bash
<sad_plan> is that why they used cflags instead?
<sad_plan> i tried to use the builtin static configure flag even, but it failed for me
<sad_plan> and -static is a linker flag, so I changed it so it would be correct
<testuser[m]12> just check the end of the build log
<sad_plan> building as we speak
<sad_plan> huh, the patch actually doenst apply
<sad_plan> testuser[m]12: I see what you mean. it builds successfully, but actually gets an error at the bottom
<sad_plan> which appears to not be present when using cflags instead
<sad_plan> revert to cflags then. ill make a pr for it
<sad_plan> vouivre: are you using busybox patch? or do you have some other patch in which you use?
<testuser[m]12> it isn't going to be static anymore then lol
<testuser[m]12> only shared libs are installed to /usr/lib/bash
<testuser[m]12> idk what they're for
<sad_plan> the /bin/bash will still be static
<sad_plan> aswell as the others
<testuser[m]12> static binaries cant dlopen shared lib
<testuser[m]12> its ok if they're not used by bahs
<sad_plan> no, but that shouldnt matter, seeing as the bin is static, right?
<testuser[m]12> the stuff in /usr/lib/bash seems like extra builtins / plugins to me which have to be dlopen'd at runtime
<testuser[m]12> idk
<sad_plan> yeah, they all complain about missing symbols if you ldd them
<testuser[m]12> they're not supposed to do that
<testuser[m]12> they're just regular shared libraries
<sad_plan> h
<sad_plan> hm
<testuser[m]12> Some examples of ready-to-dynamic-load builtins. Most of the... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/3040f780975bc1576cf4d24ecd0e73964bc8ff6a)
<testuser[m]12> bash supports loadable modules and those are examples for it
<testuser[m]12> so making it static is breaking this feature
<sad_plan> so we should remove the static flag, and just build bash dynamically instead then
<testuser[m]12> yes
<sad_plan> will do. ill create a pr right away
<sad_plan> couldnt we build those plugins statically though? out of curiousity :p
<testuser[m]12> point of plugins is dynamic loading
<testuser[m]12> plug in
<sad_plan> sure, but still.
<testuser[m]12> those are optional so no point in building them in
<testuser[m]12> u can have user defined plugins
<testuser[m]12> https://termbin.com/1xlb how it's supposed to work
<sad_plan> right
<sad_plan> I dont see any option for disabling them in the configure script though. but no matter. just build it dynamically anyway
<testuser[m]12> u could disable plugin support altogether ig but i dont think its right cuz it's needlessly disabling an upstream feature that has no extra cost
<sad_plan> I see.
<sad_plan> ffs, I built bash without the static flag, and those libs still complain
<testuser[m]12> its ok
<testuser[m]12> just make sure that u can load them from inside bash
<testuser[m]12> on glibc they work fine with ldd but not on musl, but loading them works on both
<sad_plan> ah ok, so no biggie then
<sad_plan> pr is up
<testuser[m]12> bump version
<sad_plan> will do
<sad_plan> done
<testuser[m]12> is there a better way to close shithub PR's when `git am`-ing rather than manually editing commit msg to add "closes #PR" ?
<vouivre> do I create an issue for the error I get ?
<sad_plan> do you use busybox patch, or a some other build of patch vouivre
<testuser[m]12> @vouivre what package provides your /usr/bin/patch
<vouivre> I have not customized busybox. Basically everything from repo and community
<testuser[m]12> kiss s bash
<vouivre> kiss-owns /usr/bin/patch -> patch
<testuser[m]12> first time seeing a patch apply with busybox patch but not with gnu patch lo
<testuser[m]12> wtf
<testuser[m]12> yea it breaks with gnu patch
<vouivre> sorry, I don't remember why I switched to gnu patch
<vouivre> the build succeed, thank you!
<sad_plan> lol wtf, ive been trying to rebuild my whole system this week, and after fixing several issues with some packages building, it seems im actually running out of memory. even though I got more ram to spare, I dont have any more swap left.
<vouivre> I have to go now. Have a nice day.
vouivre has quit [Quit: nyaa~]
<testuser[m]12> lmao the patches dont even apply with busybox patch
<sad_plan> the bash patches?
<testuser[m]12> yeah
<testuser[m]12> they're supposed to apply
<testuser[m]12> they fail with patch and busybox patch doesnt inform that its rejecting them
<sad_plan> lol
<sad_plan> do we even need them now though?
<testuser[m]12> arch just does patch -p0 like here but they fail with that, and void adds the -N flag to ignore any reversed patch that would get rejected
<testuser[m]12> patch rejects them saying they're already applied
<testuser[m]12> so they're useless ig
<sad_plan> so we drop them then
<testuser[m]12> let me check
<testuser[m]12> one patch is useful
<testuser[m]12> but thats the -012 one
<testuser[m]12> wait
<testuser[m]12> btw u need to add export CFLAGS="$CFLAGS -DSYS_BASHRC='\"/etc/bash/bashrc\"'", everyone seems to add it
<sad_plan> hm, ok
<testuser[m]12> nvm they're all useless
<testuser[m]12> the patches that apply just duplicate previous code
<sad_plan> is bumping the version again really neccessary ths time?
<testuser[m]12> yes
<sad_plan> done, pr is up in a sec
fitrh has quit [Ping timeout: 268 seconds]
fitrh has joined #kisslinux
ejjdhfjsu_ has quit [Ping timeout: 260 seconds]
ejjdhfjsu has joined #kisslinux
ejjdhfjsu_ has joined #kisslinux
ejjdhfjsu has quit [Ping timeout: 252 seconds]
<testuser[m]12> can you specify the output filename for a file in sources?
<sad_plan> for kiss you mean?
<testuser[m]12> yea
<sad_plan> if the filename changes, I suppose you can
<testuser[m]12> how
<sad_plan> youd have to change it elsewhere too though, or use a glob or something I suppose
<testuser[m]12> https://url.com filename
<testuser[m]12> i want to do this
<sad_plan> hm
<sad_plan> why?
<testuser[m]12> but filename wil be the dir where the source is stored
<sad_plan> correct
<sad_plan> thats the way kiss is set up afaik
<testuser[m]12> bypassing meson subproject network requirement
<testuser[m]12> i dont want to package that thing
<testuser[m]12> so im just adding meson's links to sources
<sad_plan> why cant you just rename it in the buildscript though?
<testuser[m]12> feels more hacky
<testuser[m]12> meh ig ill just package it seperateely
<sad_plan> what are you trying to package
<testuser[m]12> some nvidia vdpau vaapi driver shit
<testuser[m]12> it needs nvidia headrs for make
<sad_plan> I see
<wael[m]> woa
<sad_plan> what?
<wael[m]> rhfniguyhnatrurongjuzdsm;gbjlktghyjdisok
<phoebos> testuser[m]12: how do your scripts to add a runit logger work?
<phoebos> is the first one /var/service/svlogd/run ?
<phoebos> and the second one run once for each package to set it up
<testuser[m]12> oh i forgot
<testuser[m]12> the first one goes in /etc/sv/logger
<testuser[m]12> and the second one is to symlink the logger script to /etc/sv/service/log/run
<testuser[m]12> /etc/sv/logger isnt some fixed path u can put it anywhere
<testuser[m]12> just have to symlink it later
<testuser[m]12> I can hotplug in Wayland just fine
sad_plan has quit [Quit: nyaa~]
fitrh has quit [Ping timeout: 268 seconds]
fitrh has joined #kisslinux
ejjdhfjsu_ has quit [Read error: Connection reset by peer]
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
fitrh has quit [Quit: fitrh]
ioraff has joined #kisslinux
midfavila has joined #kisslinux
<ioraff> testuser[m]12: are you running the mdev daemon?
<testuser[m]12> ioraff: yeah
soliwilos_ has quit [Quit: zzz]
soliwilos has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux
soliwilos_ has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
soliwilos_ has quit [Remote host closed the connection]
soliwilos has joined #kisslinux
soliwilos_ has joined #kisslinux
soliwilos has quit [Ping timeout: 268 seconds]
phinxy has quit [Quit: WeeChat 3.5-dev]