2020-09-25T00:40:40 #kisslinux https://rendaw.gitlab.io/blog/2125f09a85f2.html#alsa-exposed/A%20short%20essay 2020-09-25T00:40:46 #kisslinux #finally 2020-09-25T06:23:09 #kisslinux Thanks for the link, dilynm. I was trying to get audio over HDMI yesterday with mpv. Got part of the way but not all the way. That might help. 2020-09-25T11:40:24 #kisslinux Windows XP source code was leaked today 2020-09-25T11:40:31 #kisslinux (apparently) 2020-09-25T11:41:14 #kisslinux https://old.reddit.com/r/windowsxp/comments/iz46du/the_windows_xp_source_code_has_been_leaked_on/g6gwcpo/?context=3 2020-09-25T11:44:08 #kisslinux Looks like they were using GNU make to build part of XP lol: https://is2.4chan.org/g/1600943100021.png 2020-09-25T11:44:27 #kisslinux if this is real of course 2020-09-25T12:22:03 #kisslinux currently downloading the 7z archive for, let's just say archival purposes 2020-09-25T12:22:04 #kisslinux so, any plans to make KISS Windows? 2020-09-25T12:22:15 #kisslinux God no 2020-09-25T12:22:33 #kisslinux I do want to look through the sources though 2020-09-25T12:29:04 #kisslinux alright, finished downloading it, 7.2G in total 2020-09-25T12:29:11 #kisslinux after extraction ofc 2020-09-25T13:30:04 #kisslinux >kiss xp 2020-09-25T13:30:04 #kisslinux Just use reactOS 2020-09-25T13:36:15 #kisslinux ehare|ltbx stoffomuser1 pta2002 hoqvso magenblut[P� 2020-09-25T13:36:15 #kisslinux ehare|ltbx stoffomuser1 pta2002 hoqvso magenblut[P� 2020-09-25T13:36:15 #kisslinux ehare|ltbx stoffomuser1 pta2002 hoqvso magenblut[P� 2020-09-25T13:36:15 #kisslinux ehare|ltbx stoffomuser1 pta2002 hoqvso magenblut[P� 2020-09-25T13:36:15 #kisslinux ehare|ltbx stoffomuser1 pta2002 hoqvso magenblut[P� 2020-09-25T13:42:09 #kisslinux bah. sorry. that’s a weird repl.it bug. when the server looses connection. 2020-09-25T13:42:58 #kisslinux s/server/IDE/g 2020-09-25T14:00:18 #kisslinux lol 2020-09-25T15:31:13 #kisslinux AAAAAAAAAAAAAAAAAAAAAAAAA 2020-09-25T15:31:19 #kisslinux finally 2020-09-25T15:43:51 #kisslinux These polkit patches require that I rebuild the configure script but every time I try it complains about gobject 2020-09-25T15:44:10 #kisslinux So then I build a macro to check for it and then there's a syntax error in my configure script! 🙃 2020-09-25T15:44:13 #kisslinux God is cruel 2020-09-25T16:16:24 #kisslinux dilynm: :( 2020-09-25T16:16:33 #kisslinux Are the patches up-to-date? 2020-09-25T16:30:58 #kisslinux They're almost 3 years old 2020-09-25T16:31:02 #kisslinux But they apply fine 2020-09-25T16:31:25 #kisslinux I just stole the m4 files for nls and intltool and introspection instead. That fixed it. 2020-09-25T16:32:11 #kisslinux But now I have to patch one of the patches to make innetgr optional... 2020-09-25T16:32:17 #kisslinux After that, I think we're in the clear 2020-09-25T16:34:41 #kisslinux Nice 2020-09-25T16:34:48 #kisslinux What is used instead of js? 2020-09-25T16:35:06 #kisslinux You can see the work so far here: 2020-09-25T16:35:07 #kisslinux https://github.com/dilyn-corner/KISS-kde/tree/master/extra/polkit 2020-09-25T16:35:10 #kisslinux Are these the patches from solus? 2020-09-25T16:35:22 #kisslinux E5ten: yes 2020-09-25T16:35:31 #kisslinux Dylanaraps: a key file 2020-09-25T16:35:45 #kisslinux Gotcha 2020-09-25T16:35:53 #kisslinux Same syntax as like systemd services and .desktops and shit right? 2020-09-25T16:36:35 #kisslinux Yessir 2020-09-25T16:37:09 #kisslinux Out of curiosity, what do you need polkit for? 2020-09-25T16:37:09 #kisslinux Change 'files/nls.m4' in sources to 'files/nls.m4 buildutil' and you can remove the 'mv' call (same can be said for the other two) 2020-09-25T16:37:34 #kisslinux Polkit for kauth :x 2020-09-25T16:37:47 #kisslinux I knew that was the way! Ty dylan 2020-09-25T16:37:55 #kisslinux Second field in sources is dest dir for the source. It will overwrite whatever is there too. 2020-09-25T16:38:41 #kisslinux I made package installation faster in a recent commit btw 2020-09-25T16:38:50 #kisslinux Especially for packages with 3000+ files 2020-09-25T16:39:12 #kisslinux I'll have to take a peak :o 2020-09-25T16:39:22 #kisslinux If you try master you'll notice a lot of changes 2020-09-25T16:39:24 #kisslinux It'll make everyone's kernel packages seconds quicker xD 2020-09-25T16:40:19 #kisslinux Lol this history: 'kiss-outdated: now it's perfect' 2020-09-25T16:40:27 #kisslinux *three more commits for kiss-outdated' 2020-09-25T16:40:36 #kisslinux (on my machine) python install time goes from 5.X~ seconds to 3.6~ seconds for the 4000 files it installs 2020-09-25T16:41:00 #kisslinux Actually 2020-09-25T16:41:02 #kisslinux I'm wrong 2020-09-25T16:41:08 #kisslinux Python is down to 2.6 seconds 2020-09-25T16:41:37 #kisslinux dilynm: lol at the history. Didn't realize 2020-09-25T16:41:50 #kisslinux Mine is made worse :X 2020-09-25T16:42:10 #kisslinux Yeah removing a test for every $line seems like it would speed it up a lot... 2020-09-25T16:42:22 #kisslinux It moves the test to sooner 2020-09-25T16:42:25 #kisslinux Yeah 2020-09-25T16:42:29 #kisslinux Before we grab permissions 2020-09-25T16:42:36 #kisslinux So we don't grab permissions if we don't need to 2020-09-25T16:43:43 #kisslinux pkg_install_files() runs once per file so it ends up being called 4000 times for python... 2020-09-25T16:45:51 #kisslinux Lmfaooooo 2020-09-25T16:46:01 #kisslinux Cache directory structure is now neater: bin, logs, proc//{build, extract, pkg}, sources 2020-09-25T16:46:26 #kisslinux Yeah that sounds like a good switch 2020-09-25T16:47:01 #kisslinux That cache change carries over if TMPDIR is set? 2020-09-25T16:47:08 #kisslinux Yes 2020-09-25T16:47:22 #kisslinux It will create /{build, extract, pkg} in $KISS_TMPDIR 2020-09-25T16:47:47 #kisslinux Nicenicenice 2020-09-25T16:47:54 #kisslinux Rather than build-, extract-, pkg- (as it was) 2020-09-25T16:48:01 #kisslinux That's gross 2020-09-25T16:49:07 #kisslinux 'kiss outdated' is now actually reliable 2020-09-25T16:50:15 #kisslinux Yeah those changes look extensive! 2020-09-25T16:50:29 #kisslinux I need to fix my router so I can actually access repology.org in my network lmao 2020-09-25T16:51:09 #kisslinux lol 2020-09-25T17:28:15 #kisslinux Made pkg_fixdeps() aware of the whole dependency chain. 2020-09-25T17:28:39 #kisslinux ie, sway won't have zlib pulled in as a dependency of lib 2020-09-25T17:29:05 #kisslinux As sway depends on lib (which pulls in zlib), it isn't added to the depends file 2020-09-25T17:29:08 #kisslinux Make sense? 2020-09-25T17:29:20 #kisslinux No more overly verbose/slightly misleading depends files 2020-09-25T17:29:40 #kisslinux https://github.com/kisslinux/kiss/commit/e76b71521c9ef5becd89e84292d4ea4ebf20288a 2020-09-25T17:29:48 #kisslinux +18 -18 ;) 2020-09-25T17:34:32 #kisslinux dylanaraps: why are you ignoring gcc and llvm on the package manager? 2020-09-25T17:35:10 #kisslinux Some packages can link with libgcc.so for example 2020-09-25T17:36:49 #kisslinux merakor2: You're right. This new feature will very much reduce their prevalence anyway. 2020-09-25T17:39:37 #kisslinux I like this idea. It makes pinpointing certain packages much easier 2020-09-25T17:41:23 #kisslinux Maybe I didn't understand the change well, but, how can you be certain that it is a dependency chain? 2020-09-25T17:41:33 #kisslinux By using pkg_depends 2020-09-25T17:41:51 #kisslinux For example, pkg B links with pkg C, but pkg A actually depends on both pkg B and pkg C 2020-09-25T17:41:58 #kisslinux If the file is owned by anything in the package's chain of dependences, it isn't listed as a dependency. 2020-09-25T17:42:35 #kisslinux Yeah, but what if it actually is a dependency? 2020-09-25T17:42:37 #kisslinux merakor2: fixdeps fixes incorrect depends files 2020-09-25T17:43:01 #kisslinux The depends file is incorrect anyway 2020-09-25T17:43:17 #kisslinux Regardless, pkg_remove will guard against it 2020-09-25T17:43:30 #kisslinux As PKG C is a dependency of PKG B 2020-09-25T17:43:36 #kisslinux Not necessarily incorrect regarding optional dependencies. 2020-09-25T17:43:55 #kisslinux I mean auto dependencies to be precise 2020-09-25T17:44:06 #kisslinux They will still be listed as dependencies unless something else further down the chain doesn't bring them in 2020-09-25T17:44:41 #kisslinux You could just print the recursive chain (excluding make) and it'd likely be no different 2020-09-25T17:45:12 #kisslinux Problem with the current approach is that it adds too much to depends files 2020-09-25T17:45:26 #kisslinux It becomes difficult to see what actually depends on what 2020-09-25T17:45:50 #kisslinux I don't think that's necessarily something bad 2020-09-25T17:45:57 #kisslinux As libz.so may have been brought in from lib but the package has no direct dependency on it 2020-09-25T17:46:34 #kisslinux Well, the single purpose for pkg_fixdeps is to populate depends files so that pkg_remove can guard removals 2020-09-25T17:46:59 #kisslinux so, all C++ packages? since they both link to libgcc.so and libstdc++.so iirc 2020-09-25T17:47:01 #kisslinux With this new approach, this is still maintained and depends files are smaller/easier to read 2020-09-25T17:47:26 #kisslinux Yeah, but technically after linking, they will be dependencies 2020-09-25T17:47:33 #kisslinux Sure 2020-09-25T17:47:35 #kisslinux I see your point though 2020-09-25T17:47:39 #kisslinux But they're dependencies of dependencies of ... 2020-09-25T17:47:48 #kisslinux That's true 2020-09-25T17:47:50 #kisslinux The whole point of the package manager is to maintain this whole thing 2020-09-25T17:48:11 #kisslinux The point is that they're only linked because a different dependency has that other dependency as a dep in the first place 2020-09-25T17:48:16 #kisslinux mpv won't depend on lib now if we just give it ffmpeg 2020-09-25T17:48:21 #kisslinux makes optional dependencies easier 2020-09-25T17:51:02 #kisslinux I get all of what you're saying :D My only real concern is packages that share dependencies. 2020-09-25T17:51:10 #kisslinux Musl is an extreme but a good example 2020-09-25T17:51:16 #kisslinux How so? 2020-09-25T17:51:31 #kisslinux So say you have a package that depends on zlib 2020-09-25T17:51:52 #kisslinux You cannot say that you are linking to musl because zlib linked to musl as well 2020-09-25T17:52:08 #kisslinux Yes 2020-09-25T17:52:17 #kisslinux This is why you add zlib to the depends file 2020-09-25T17:52:41 #kisslinux This fixes missing dependencies (and in this case, the new way will miss this one. You're right) 2020-09-25T17:52:53 #kisslinux Yeah, I am talking about the opposite 2020-09-25T17:53:14 #kisslinux I am talking about adding musl in fixdeps 2020-09-25T17:53:41 #kisslinux Should be no need as we ignore all libc .so files 2020-09-25T17:54:06 #kisslinux Musl example is a rhetoric 2020-09-25T17:54:22 #kisslinux I will think of a better example and come back :D 2020-09-25T17:55:11 #kisslinux lol 2020-09-25T17:55:34 #kisslinux Okay, imagine I am building bash with readline 2020-09-25T17:55:44 #kisslinux both readline and bash depends on ncurses 2020-09-25T17:56:24 #kisslinux Let me run this scenario 2020-09-25T17:56:27 #kisslinux And see what happens 2020-09-25T17:56:30 #kisslinux So we cannot say that ncurses is part of a dependency chain 2020-09-25T17:56:46 #kisslinux Yes 2020-09-25T17:58:41 #kisslinux So if ncurses was an auto dependency and wasn't included in depends, it wouldn't be added in fixdeps 2020-09-25T17:58:52 #kisslinux Yeah 2020-09-25T17:59:17 #kisslinux But wouldn't that just be a mistake on the packagers part? 2020-09-25T17:59:31 #kisslinux My point is that the depends file is incorrect and though this new method won't detect this, pkg_remove will still correctly guard its removal 2020-09-25T17:59:32 #kisslinux Why would it be if it was an optional dependency? 2020-09-25T17:59:44 #kisslinux Because ncurses isn't an optional dependency 2020-09-25T18:00:18 #kisslinux dilynm: I was trying hard to find a proper scenario :D 2020-09-25T18:00:29 #kisslinux bash has vendored readline too 2020-09-25T18:00:32 #kisslinux ;) 2020-09-25T18:00:34 #kisslinux dylanaraps: That's true since it still is part of a dependency 2020-09-25T18:00:38 #kisslinux I KNOW :D 2020-09-25T18:00:41 #kisslinux Lol 2020-09-25T18:00:54 #kisslinux I think you're right in the scenario, but I don't think it's possible 2020-09-25T18:01:12 #kisslinux I.e. if the packager has properly listed dependencies, then there is no problem 2020-09-25T18:01:47 #kisslinux It wouldn't exactly list it properly, but it would safeguard from removing it anyways 2020-09-25T18:02:17 #kisslinux Problem is this scenario: ./configure pulls in libzstd automatically, package already depends on libarchive which depends on libzstd. pkg_fixdeps will skip zstd as it has been satisfied. 2020-09-25T18:02:41 #kisslinux Yeah 2020-09-25T18:02:42 #kisslinux The current method handles this by listing basically everything 2020-09-25T18:05:02 #kisslinux Right but then the user can't uninstall libarchive or zstd anyways 2020-09-25T18:05:24 #kisslinux OK. We can use readelf to list only direct dependencies. Fixes all issues. 2020-09-25T18:05:43 #kisslinux :D 2020-09-25T18:06:00 #kisslinux Lol 2020-09-25T18:06:01 #kisslinux Wow :D 2020-09-25T18:06:30 #kisslinux Now kiss depends on readelf! 2020-09-25T18:06:44 #kisslinux It already depends on strip from binutils/wherever 2020-09-25T18:06:45 #kisslinux Also 2020-09-25T18:06:50 #kisslinux ;P 2020-09-25T18:06:59 #kisslinux fixdeps will just be skipped if readelf unvailable 2020-09-25T18:07:15 #kisslinux can fallback to ldd if you like ;) 2020-09-25T18:08:38 #kisslinux Question now is if readelf output is standard... 2020-09-25T18:11:29 #kisslinux Does readelf work on libraries? 2020-09-25T18:11:41 #kisslinux Yes 2020-09-25T18:11:48 #kisslinux Oh nice 2020-09-25T18:14:11 #kisslinux We could also use objdump 2020-09-25T18:17:32 #kisslinux OK. We can do this POSIX 2020-09-25T19:40:03 #kisslinux OK. Fixed. 2020-09-25T19:40:12 #kisslinux - Can use old or new method. 2020-09-25T19:40:37 #kisslinux - New method requires objdump or readelf. 2020-09-25T19:40:55 #kisslinux - Method is autodetected but can be forced via envar. 2020-09-25T19:41:28 #kisslinux - Uses NEEDED output from both commands to avoid recursively listing dependencies. 2020-09-25T20:23:22 #kisslinux Hello! 2020-09-25T20:23:50 #kisslinux Would anyone here happen to know how to convert the ^[ key sequences into escape codes I can send to a terminal? 2020-09-25T20:24:09 #kisslinux '033'? 2020-09-25T20:24:15 #kisslinux Oh, that works? 2020-09-25T20:24:36 #kisslinux What are you trying to do? 2020-09-25T20:24:45 #kisslinux Send key input to a pty 2020-09-25T20:24:48 #kisslinux Like arrow keys 2020-09-25T20:25:54 #kisslinux Arrow keys are just cursor move sequences 2020-09-25T20:25:55 #kisslinux ' 2020-09-25T20:25:59 #kisslinux Oh 2020-09-25T20:26:01 #kisslinux It works! 2020-09-25T20:26:03 #kisslinux 033[[ABCD] 2020-09-25T20:26:14 #kisslinux Lovely 2020-09-25T20:26:16 #kisslinux Thank you 2020-09-25T20:27:00 #kisslinux Nano doesn't want to accept my cursor has moved, but that's ok 2020-09-25T20:30:34 #kisslinux Hmm 2020-09-25T20:30:42 #kisslinux Can't figure out how to send something like alt + g 2020-09-25T20:34:01 #kisslinux alt+g is ^[g in my terminal 2020-09-25T20:34:04 #kisslinux ie 033g 2020-09-25T20:34:16 #kisslinux That one doesn't play nicely, hm 2020-09-25T20:36:06 #kisslinux dylanaraps: for the objdump/readelf thing, I think the case should check for *readelf and the same for objdump in case someone has a situation like both binutils and LLVM installed and wants to set KISS_ELFCMD to llvm-readelf or something 2020-09-25T20:36:24 #kisslinux Trying to create a remote control terminal, ysee 2020-09-25T20:36:32 #kisslinux But the curses apps nor the shell care 2020-09-25T20:46:24 #kisslinux E5ten: Will do. 2020-09-25T20:46:28 #kisslinux Good idea 2020-09-25T21:21:00 #kisslinux hmmmmmm 2020-09-25T22:39:28 #kisslinux dylanaraps 2020-09-25T22:39:41 #kisslinux interesting read about firefox https://digdeeper.neocities.org/ghost/mozilla.html 2020-09-25T22:39:41 #kisslinux Apparently rustup can be used to get a stable version of rustc 2020-09-25T22:39:58 #kisslinux is there any reason why KISS does not do this? 2020-09-25T22:59:08 #kisslinux Also, is there any reason we have all of the xcb-util-* packages split? 2020-09-25T23:25:23 #kisslinux well they don't come together, like it's a different source for each package 2020-09-25T23:26:03 #kisslinux Aye 2020-09-25T23:26:12 #kisslinux But I can deal with that 2020-09-25T23:38:52 #kisslinux Dylan, where are the speedups you mentioned? I'd like to backport them to my branch :p