cybi has quit [Read error: Connection reset by peer]
cybi has joined #crux
cybi has quit [Read error: Connection reset by peer]
SiFuh has quit [Ping timeout: 248 seconds]
SiFuh has joined #crux
cybi has joined #crux
cybi has quit [Read error: Connection reset by peer]
elderK has quit [Quit: Connection closed for inactivity]
ocb has quit [Remote host closed the connection]
ocb has joined #crux
ppetrov^ has joined #crux
guido_rokepo has joined #crux
misterbzr has joined #crux
misterbzr has left #crux [#crux]
misterbzr has joined #crux
ocb has quit [Remote host closed the connection]
ocb has joined #crux
<misterbzr>
jaeger: Script worked great.
<misterbzr>
since working on an archlinux laptop I changed to pkgadd to bsdtar.
<cruxbot>
[xorg.git/3.6]: mesa: update to 22.0.4
<cruxbot>
[opt.git/3.6]: lvm2: update to 2.03.16
<cruxbot>
[core.git/3.6]: libdevmapper: update to 1.02.185
Guest6633 has joined #crux
Guest6633 has quit [Client Quit]
misterbzr has quit [Remote host closed the connection]
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
<farkuhar>
the video that jaeger posted (10 most awesome Linux distros) has this gem of a quote: "it's slightly difficult to remove dependencies in crux after uninstalling a package". Upon skimming quickly through the comments, I didn't see anyone telling her about pkgfoster.
cybi has joined #crux
<farkuhar>
One downside of pkgfoster, however, is that it only looks at hard dependencies. If for example you have texlive present when compiling zathura, then zathura will be built with support for synctex. If you later remove zathura, pkgfoster will NOT report the no-longer-needed soft dependency texlive.
SiFuh has quit [Ping timeout: 272 seconds]
<farkuhar>
/usr/bin/finddeps does an exhaustive search to determine which packages own the shared libraries that a port depends on. pkgfoster only gives an approximate inverse of this relation, because it ignores soft dependencies.
SiFuh has joined #crux
misterbzr has joined #crux
<ppetrov^>
farkuhar, sorry to interject, but this reminds me of an issue I had when using packages built on my main PC as a packages repo for my laptop. pkg-get would install dependencies extracted from the ports information, but will not of course install other stuff that was present on my build machine
<ppetrov^>
i made my own, very simple script to report which packages contain libraries that are missing/required by installed stuff
<ppetrov^>
it's the revlibpkg script. I am open to comments, suggestions and degrading criticism
<SiFuh>
SO agressive, such an unfriendly channel ;-)
<ppetrov^>
me, being aggressive?
<ppetrov^>
:P
<farkuhar>
ppetrov^: no need to apologize for interjecting; we're here to have a conversation, not 50 separate monologues. I am fascinated by your experience with pkg-get, though. I was under the impression that distcc is preferred over pkg-get, among users who want to share the resources of their workstation with a less powerful laptop.
<ppetrov^>
distcc is too complicated for me. I really wanted to make a simple packages repo, that's all
<SiFuh>
Hahahaha, no I playing with that video Jaeger sent that CRUX is most popular and the CRUX guys are very nice and helpful (paraphrasing)
<farkuhar>
ppetrov^: since revlibpkg is interpreted by bash, your custom function count_input() can be simplified to remove the redundant calls of echo and wc. Similarly, is_input_inst() can eliminate the unnecessary grep -q and just rely on the exit status of prt-get.
<ppetrov^>
thanks, i will look into it
<farkuhar>
also you can use the substring parameter expansion to test whether an argument starts with a dash: if [ "${t:0:1}" = "-" ]; then ... It might be faster than the glob you're using now.
<ppetrov^>
thanks
<ppetrov^>
in general, i have some problems to elegantly pipe between programs, so instead i would make something into a variable and then proceed from there. Which leads to redundancy
<farkuhar>
You're in good company: https://github.com/matloff/TidyverseSkeptic (Scroll down to the section "Should we teach using pipes or functional composition? Neither!")
<ppetrov^>
thanks, i'll check it
ivandi has quit [Quit: WeeChat 3.5]
<ppetrov^>
heh, i just watched the CRUX part of the video...
ivandi has joined #crux
ardo has quit [Read error: Connection reset by peer]
ardo has joined #crux
cybi has quit [Read error: Connection reset by peer]
Guest69 has joined #crux
<Guest69>
hello
<Guest69>
is the release coming soon?
<Guest69>
is a new release coming soon?
misterbzr has quit [Remote host closed the connection]
cybi has joined #crux
<SiFuh>
Hehe, as Guest69 steps out of the saloon and looks left, the right and a tumbleweed rolls by.
<SiFuh>
Guest69: it won't be rushed, so it will happen when it happens
<SiFuh>
Moments before the release it could be halted, due to an issue. So it is always hard to say
<jaeger>
misterbzr: great, glad to hear it
cybi has quit [Remote host closed the connection]
<farkuhar>
ppetrov^: http://ix.io/3YdK is a slight reworking of your revlibpkg script, hopefully with less redundancy.