💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-09-15.txt captured on 2024-05-10 at 14:45:03.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2019-09-15T04:00:13 #kisslinux <nestman> https://i.imgur.com/OwB1HlG.png
2019-09-15T04:00:15 #kisslinux <nestman> testing
2019-09-15T04:00:47 #kisslinux <nestman> can you include my screenshot?
2019-09-15T04:03:31 #kisslinux <nestman> here's my github if you may require https://github.com/lieuxnoir
2019-09-15T04:03:47 #kisslinux <nestman> thanks!
2019-09-15T04:42:21 #kisslinux <dylanaraps> Morning
2019-09-15T04:50:19 #kisslinux <dylanaraps> nestman: Added https://getkiss.org/pages/scrots/
2019-09-15T04:56:04 #kisslinux <dylanaraps> tdeo: Thoughts?: https://github.com/dylanaraps/neofetch/issues/1317
2019-09-15T05:28:05 #kisslinux <nestman> thanks dylanaraps
2019-09-15T05:29:57 #kisslinux <nestman> btw, my displayed username has one wrong letter
2019-09-15T05:30:17 #kisslinux <dylanaraps> Oops.
2019-09-15T05:30:50 #kisslinux <dylanaraps> Fixed.
2019-09-15T05:31:01 #kisslinux <nestman> thanks a lot :D
2019-09-15T06:34:32 #kisslinux <nestman> what's the use of the second field in every depends file?
2019-09-15T06:36:26 #kisslinux <dylanaraps> To specify whether or not a dependency is only for build.
2019-09-15T06:40:21 #kisslinux <nestman> i was the one who made the xauth PR and i don't know which is which
2019-09-15T06:40:53 #kisslinux <nestman> but you said it's optional, i guess it is 'cause X still works without it
2019-09-15T06:41:46 #kisslinux <dylanaraps> >  The xauth program is used to edit and display the authorization information used in connecting to the X server. This program is usually used to extract authorization records from one machine and merge them in on another (as is the case when using remote logins or granting access to other users). Commands (described below) may be entered interactively, on the xauth command line, or in scripts.
2019-09-15T06:41:47 #kisslinux <dylanaraps> Note that this program does not contact the X server except when the generate command is used. Normally xauth is not used to create the authority file entry in the first place; xdm does that.
2019-09-15T06:42:00 #kisslinux <dylanaraps> Thi is from the man page.
2019-09-15T06:42:06 #kisslinux <dylanaraps> This*
2019-09-15T06:43:56 #kisslinux <nestman> i see, but btw, going back
2019-09-15T06:46:12 #kisslinux <nestman> what happens if {i, i don't} specify it?
2019-09-15T06:46:38 #kisslinux <nestman> i meant specifying `make` in the depends file
2019-09-15T06:48:22 #kisslinux <dylanaraps> It'll be used as a runtime dependency.
2019-09-15T06:50:03 #kisslinux <dylanaraps> A runtime dependency can also be a 'make' dependency.
2019-09-15T06:50:15 #kisslinux <dylanaraps> If it's both, set it as runtime (no second field).
2019-09-15T06:50:29 #kisslinux <dylanaraps> If it is _only_ needed to compile the program, add 'make' to the second field.
2019-09-15T06:51:46 #kisslinux <dylanaraps> I pushed an update to xinit to make startx stop looking for xauth.
2019-09-15T07:18:37 #kisslinux <nestman> which means it doesn't do anything aside from being a package label?
2019-09-15T07:19:09 #kisslinux <dylanaraps> No no
2019-09-15T07:19:15 #kisslinux <dylanaraps> There's a difference.
2019-09-15T07:19:45 #kisslinux <dylanaraps> Package removal/installation checks this field.
2019-09-15T07:21:15 #kisslinux <dylanaraps> It's also helpful in listing package orphans etc.
2019-09-15T07:21:22 #kisslinux <dylanaraps> Also in scripts made by users.
2019-09-15T07:21:31 #kisslinux <dylanaraps> The second field can also be extended in the future if need be.
2019-09-15T07:22:08 #kisslinux <nestman> `kiss r pkg` does not remove depends not needed by other programs
2019-09-15T07:22:24 #kisslinux <dylanaraps> 'kiss r pkg' removes 'pkg' no?
2019-09-15T07:22:37 #kisslinux <nestman> it removes pkg, yes
2019-09-15T07:22:58 #kisslinux <nestman> but the dependencies, no
2019-09-15T07:23:07 #kisslinux <dylanaraps> That's intentional.
2019-09-15T07:24:00 #kisslinux <nestman> why? they're orphans
2019-09-15T07:25:20 #kisslinux <dylanaraps> I don't think package removal should be "smart" at all.
2019-09-15T07:25:33 #kisslinux <dylanaraps> I think it should be explicit and only remove what the user tells it to.
2019-09-15T07:25:38 #kisslinux <dylanaraps> Also see: https://github.com/kisslinux/kiss-utils/blob/master/bin/kiss-orphans
2019-09-15T07:26:09 #kisslinux <dylanaraps> I use this to list orphans and then I queue the ones I don't need for removal.
2019-09-15T07:26:39 #kisslinux <nestman> `kiss-orphans` lists packages i explicitly installed
2019-09-15T07:26:56 #kisslinux <dylanaraps> Yes.
2019-09-15T07:27:00 #kisslinux <dylanaraps> Again intentional.
2019-09-15T07:27:07 #kisslinux <nestman> i guess i should learn more about shell scripting
2019-09-15T07:27:28 #kisslinux <dylanaraps> There's no difference between a package installed as a dependency or otherwise.
2019-09-15T07:27:36 #kisslinux <dylanaraps> Orphans are orphans regardless.
2019-09-15T07:27:57 #kisslinux <dylanaraps> This keeps everything simple.
2019-09-15T07:28:05 #kisslinux <dylanaraps> ➜ kiss l | wc -l
2019-09-15T07:28:07 #kisslinux <dylanaraps> 123
2019-09-15T07:28:22 #kisslinux <dylanaraps> I manage my package list just fine with kiss-orphans.
2019-09-15T07:28:23 #kisslinux <nestman> i am rebuilding firefox
2019-09-15T07:28:39 #kisslinux <nestman> sound didn't also work, i wasn't aware
2019-09-15T07:28:50 #kisslinux <dylanaraps> Huh
2019-09-15T07:29:02 #kisslinux <dylanaraps> I really wish I could reproduce your Firefox issues...
2019-09-15T07:29:23 #kisslinux <nestman> yeah, im so helpless lol
2019-09-15T07:30:28 #kisslinux <nestman> but this time im building with the flags stated at the website
2019-09-15T07:30:35 #kisslinux <dylanaraps> Which flags?
2019-09-15T07:30:55 #kisslinux <nestman> -O3 -pipe -march=native
2019-09-15T07:30:59 #kisslinux <nestman> -j4
2019-09-15T07:31:10 #kisslinux <dylanaraps> Ah
2019-09-15T07:32:47 #kisslinux <nestman> i even initialized them at .profile so everything will have the same build flags
2019-09-15T07:34:07 #kisslinux <dylanaraps> That's what I do, yeah.
2019-09-15T07:36:31 #kisslinux <nestman> does sound work right away on firefox?
2019-09-15T07:36:59 #kisslinux <dylanaraps> Yeah
2019-09-15T07:37:14 #kisslinux <dylanaraps> Everything should just work.
2019-09-15T07:38:08 #kisslinux <nestman> i hope so, because mpv worked
2019-09-15T07:38:37 #kisslinux <nestman> maybe my previous ffox build was borked somewhere but still succeeded
2019-09-15T07:41:05 #kisslinux <dylanaraps> The build system is written in a boatload of Python and is known to error and exit with success sometimes.
2019-09-15T07:41:20 #kisslinux <dylanaraps> Nothing I can do about it...
2019-09-15T07:44:16 #kisslinux <nestman> *sigh*
2019-09-15T07:44:35 #kisslinux <nestman> btw, when will be kiss' next release?
2019-09-15T07:44:54 #kisslinux <dylanaraps> The package manager?
2019-09-15T07:46:14 #kisslinux <nestman> yes, i saw the version bump
2019-09-15T07:47:28 #kisslinux <dylanaraps> It's a big update so I'm thinking of updating the kiss package to contain the new version and the old version.
2019-09-15T07:47:45 #kisslinux <dylanaraps> So 'kiss' will stay as the current version and 'kiss-next' will be this new release.
2019-09-15T07:48:04 #kisslinux <dylanaraps> People can then test 'kiss-next' and if there are any issues report them.
2019-09-15T07:48:34 #kisslinux <dylanaraps> And 'kiss' still exists to ensure a working package manager if 'kiss-next' has an issue.
2019-09-15T07:54:06 #kisslinux <nestman> for some reason, i want to stick with KISS
2019-09-15T07:54:46 #kisslinux <nestman> i might
2019-09-15T07:56:04 #kisslinux <nestman> mainly because i wanted to learn more
2019-09-15T08:03:53 #kisslinux <dylanaraps> The choice is entirely yours.
2019-09-15T08:03:58 #kisslinux <dylanaraps> I knew nothing of distro development when I started. :)
2019-09-15T09:29:27 #kisslinux <dylanaraps> o/
2019-09-15T10:43:56 #kisslinux <jml_> I'll be packaging openjdk8
2019-09-15T10:45:48 #kisslinux <jml_> This will take a while..
2019-09-15T10:54:04 #kisslinux <nestman> regarding my firefox problem, it was gtk+3 all along
2019-09-15T10:54:41 #kisslinux <nestman> i just randomly started building and installing packages required by firefox
2019-09-15T10:55:02 #kisslinux <nestman> and restarted firefox on each package install
2019-09-15T12:20:23 #kisslinux <dylanaraps> nestman: so it works now?
2019-09-15T12:29:54 #kisslinux <nestman> yes, and sound as well
2019-09-15T13:06:17 #kisslinux <dylanaraps> I've updated the GTK+3 package with what I think is the fix for the issue.
2019-09-15T13:06:37 #kisslinux <dylanaraps> The GTK+3 package was missing some dependencies needed for Firefox.
2019-09-15T13:48:21 #kisslinux <nestman> dylanaraps i'm not sure, i've rebuilt gtk+3 before the commit
2019-09-15T14:26:30 #kisslinux <dylanaraps> Trust me. :)
2019-09-15T15:13:36 #kisslinux <nestman> added `berry` :D
2019-09-15T15:28:54 #kisslinux <nestman> created a pr should i say, hehe
2019-09-15T15:41:11 #kisslinux <dylanaraps> nestman: Did you get berry working?
2019-09-15T15:41:19 #kisslinux <nestman> yes
2019-09-15T15:41:20 #kisslinux <dylanaraps> It wouldn't work when I last tried it.
2019-09-15T15:41:20 #kisslinux <dylanaraps> Crash on startup.
2019-09-15T15:41:27 #kisslinux <nestman> but wait not yet
2019-09-15T15:42:15 #kisslinux <nestman> i'm updating the PR
2019-09-15T15:44:14 #kisslinux <nestman> done
2019-09-15T15:55:22 #kisslinux <dylanaraps> nestman: Remove your patch and change 'make PREFIX' to 'make prefix' and it should be fine.
2019-09-15T16:00:33 #kisslinux <dylanaraps> I'd like you to also confirm that it actually functions correctly after build.
2019-09-15T16:00:40 #kisslinux <dylanaraps> I had troubles with it.
2019-09-15T16:02:43 #kisslinux <nestman> the makefile produces an error
2019-09-15T16:03:12 #kisslinux <nestman> without the patch
2019-09-15T16:03:41 #kisslinux <nestman> because of the `usr/bin/*local*`
2019-09-15T16:04:45 #kisslinux <nestman> `install: can't create 'home/myuser/.cache/kiss/pkg-somenumbers/berry/usr/local/bin/berry': Path does not exist
2019-09-15T16:09:06 #kisslinux <nestman> because of the usr/local/bin i meant to say
2019-09-15T16:09:17 #kisslinux <dylanaraps> https://github.com/JLErvin/berry/blob/0.1.2/Makefile
2019-09-15T16:09:23 #kisslinux <dylanaraps> This is a terrible Makefile
2019-09-15T16:09:32 #kisslinux <nestman> yeah i know
2019-09-15T16:09:37 #kisslinux <dylanaraps> Just skip the Makefile entirely tbh.
2019-09-15T16:09:57 #kisslinux <dylanaraps>  $(CC) $(CFLAGS) -I$(PREFIX)/include src/utils.c src/wm.c -L$(PREFIX)/lib -lX11 -lm -lXinerama -lXft -lXext -o berry
2019-09-15T16:09:58 #kisslinux <dylanaraps>  $(CC) $(CFLAGS) -I$(PREFIX)/include src/client.c -L$(PREFIX)/lib -lX11 -o berryc
2019-09-15T16:10:06 #kisslinux <dylanaraps> Just run these manually.
2019-09-15T16:10:12 #kisslinux <dylanaraps> Replace '$(PREFIX)' with '/usr'.
2019-09-15T16:10:16 #kisslinux <nestman> in the build file?
2019-09-15T16:10:20 #kisslinux <dylanaraps> Yeah
2019-09-15T16:10:24 #kisslinux <dylanaraps> Skip running 'make' full stop.
2019-09-15T16:10:31 #kisslinux <nestman> oh okay, thanks
2019-09-15T16:10:36 #kisslinux <nestman> updating
2019-09-15T16:10:38 #kisslinux <dylanaraps> Remove '$(CFLAGS)' entirely.
2019-09-15T16:10:46 #kisslinux <dylanaraps> Replace '$(CC)' with 'cc'.
2019-09-15T16:12:56 #kisslinux <dylanaraps> nestman: Also missing a dependency on libXext.
2019-09-15T16:14:58 #kisslinux <dylanaraps> The quality of the Makefile (and config.mk) make me really not want to look at the source code.
2019-09-15T16:22:54 #kisslinux <nestman> `install -m 664`?
2019-09-15T16:23:05 #kisslinux <nestman> *`644`
2019-09-15T16:26:35 #kisslinux <dylanaraps> 755 for executables.
2019-09-15T16:30:19 #kisslinux <nestman> should i still include the `$(DESTDIR)`s
2019-09-15T16:30:50 #kisslinux <dylanaraps> Replace '$(DESTDIR)' with '$1'.
2019-09-15T16:30:56 #kisslinux <dylanaraps> So:
2019-09-15T16:31:03 #kisslinux <dylanaraps> "$1/usr/bin"
2019-09-15T16:31:06 #kisslinux <dylanaraps> For example.
2019-09-15T16:31:28 #kisslinux <nestman> install -m 755 berry "$(DESTDIR)/usr/bin/berry"
2019-09-15T16:31:51 #kisslinux <nestman> oops
2019-09-15T16:32:20 #kisslinux <nestman> does this work? `install -m 755 berry{,c} "$(1)/usr/bin/berry{,c}"`
2019-09-15T16:32:36 #kisslinux <nestman> or should i separate?
2019-09-15T16:33:34 #kisslinux <dylanaraps> POSIX 'sh' has no brace expansion (ash supports it but we still stick to strict POSIX sh).
2019-09-15T16:33:48 #kisslinux <dylanaraps> Not '$(1)' but '$1'.
2019-09-15T16:33:54 #kisslinux <nestman> oh yeah right my ba
2019-09-15T16:33:58 #kisslinux <nestman> *bad
2019-09-15T16:37:26 #kisslinux <nestman> `In file included from src/wm.c:19:``/usr/include/X11/Xft/Xft.h:39:10: fatal error: ft2build.h: No such file or directory``   39 | #include <ft2build.h>``      |          ^~~~~~~~~~~~``compilation terminated.``!> [berry] Build failed.`
2019-09-15T16:37:39 #kisslinux <nestman> lol
2019-09-15T16:37:55 #kisslinux <nestman> `In file included from src/wm.c:19:`
2019-09-15T16:38:05 #kisslinux <nestman> `/usr/include/X11/Xft/Xft.h:39:10: fatal error: ft2build.h: No such file or directory`
2019-09-15T16:38:15 #kisslinux <whoami30> can anyone explain why you consider checksums for patches/ and files/ if they are under version control? Gentoo and Funtoo abandoned checksums for files in the tree when they switched from rsync to git.
2019-09-15T16:38:15 #kisslinux <nestman> `   39 | #include <ft2build.h>`
2019-09-15T16:38:52 #kisslinux <nestman> `compilation terminated.`
2019-09-15T16:39:12 #kisslinux <nestman> `!> [berry] Build failed.`
2019-09-15T16:42:25 #kisslinux <dylanaraps> whoami30: It makes sense to me.
2019-09-15T16:42:59 #kisslinux <dylanaraps> Not all repositories are git-tracked either.
2019-09-15T16:43:34 #kisslinux <whoami30> oh, rly?))
2019-09-15T16:43:34 #kisslinux <dylanaraps> The possibility is kept open for rsync repositories too.
2019-09-15T16:44:06 #kisslinux <dylanaraps> Checksums are generated by the package manager and it's also simpler code-wise.
2019-09-15T16:45:12 #kisslinux <rustemb> o.o
2019-09-15T16:45:30 #kisslinux <dylanaraps> Hello
2019-09-15T16:45:33 #kisslinux <rustemb> hi
2019-09-15T16:49:05 #kisslinux <rustemb> rsync insted of git, rly?
2019-09-15T16:49:12 #kisslinux <dylanaraps> Not instead of.
2019-09-15T16:50:18 #kisslinux <dylanaraps> But it's something we can explore.
2019-09-15T16:50:43 #kisslinux <rustemb> also, why u don't want to add USE_FLAGS?
2019-09-15T16:51:05 #kisslinux <dylanaraps> nestman: -I/usr/include/freetype2
2019-09-15T16:51:37 #kisslinux <dylanaraps> It's far simpler and more flexible to have your own local repository for changes you'd like to make to packages.
2019-09-15T16:51:53 #kisslinux <dylanaraps> USE flags over complicate the build scripts and the package manager itself.
2019-09-15T16:51:56 #kisslinux <nestman> dylanaraps i think it's done
2019-09-15T16:52:05 #kisslinux <nestman> can you check?
2019-09-15T16:52:08 #kisslinux <dylanaraps> Not to mention that they'd over complicate the package system itself.
2019-09-15T16:52:35 #kisslinux <dylanaraps> KISS isn't Gentoo/Funtoo.
2019-09-15T16:52:44 #kisslinux <dylanaraps> And that's fine.
2019-09-15T16:54:22 #kisslinux <dylanaraps> nestman: You can add '-D' to 'install' to also create the directories in a single command.
2019-09-15T16:54:47 #kisslinux <dylanaraps> 'install -Dm 755 berry "$1/usr/bin"' for example.
2019-09-15T16:56:16 #kisslinux <dylanaraps> Also, what gets installed to '/usr/share/doc'?
2019-09-15T16:56:24 #kisslinux <dylanaraps> I'd like to omit this if possible.
2019-09-15T16:56:49 #kisslinux <nestman> done
2019-09-15T16:56:54 #kisslinux <nestman> nothing
2019-09-15T16:57:07 #kisslinux <nestman> it's a separate makefile
2019-09-15T16:57:16 #kisslinux <nestman> which i did not include
2019-09-15T16:57:46 #kisslinux <dylanaraps> I added a comment.
2019-09-15T16:58:16 #kisslinux <rustemb> dylanaraps: but USE_FLAGS not only in Gentoo/Funtoo
2019-09-15T16:58:59 #kisslinux <dylanaraps> Sure.
2019-09-15T16:59:45 #kisslinux <nestman> done
2019-09-15T16:59:54 #kisslinux <rustemb> so USE_FLAGS is base of source-based distros
2019-09-15T17:00:17 #kisslinux <dylanaraps> If you'd like USE flags, use something else.
2019-09-15T17:00:51 #kisslinux <dylanaraps> I find it simpler and more flexible to have local repositories.
2019-09-15T17:03:09 #kisslinux <dylanaraps> nestman: What gets installed to '/usr/share/doc'?
2019-09-15T17:03:16 #kisslinux <nestman> nothing
2019-09-15T17:03:28 #kisslinux <nestman> or no
2019-09-15T17:03:38 #kisslinux <nestman> oh yeah right, the examples
2019-09-15T17:04:03 #kisslinux <nestman> sample `autostart` and `sxhkdrc`
2019-09-15T17:04:23 #kisslinux <nestman> which came from `berry`'s author
2019-09-15T17:05:00 #kisslinux <dylanaraps> I think it's better to not include them in the package. The user has no way of finding them regardless.
2019-09-15T17:05:09 #kisslinux <dylanaraps> Does `berry` not have man-pages?
2019-09-15T17:05:25 #kisslinux <dylanaraps> https://github.com/JLErvin/berry/tree/master/man
2019-09-15T17:05:28 #kisslinux <nestman> it has
2019-09-15T17:05:29 #kisslinux <nestman> yes
2019-09-15T17:06:31 #kisslinux <dylanaraps> I think it's better to just install the manuals as they're easily discoverable and include all the information you'll need too.
2019-09-15T17:07:14 #kisslinux <dylanaraps> Can do 'install -Dm 644 man/berry.1 "$1/usr/share/man/man1/berry.1"'
2019-09-15T17:10:14 #kisslinux <nestman> should i add a blank space from the upper two `install` command?
2019-09-15T17:10:31 #kisslinux <nestman> nevermind lol
2019-09-15T17:12:55 #kisslinux <nestman> done
2019-09-15T17:13:40 #kisslinux <nestman> wait no i forgot the other one
2019-09-15T17:14:28 #kisslinux <dylanaraps> Now the final question, does it work correctly?
2019-09-15T17:14:38 #kisslinux <dylanaraps> Berry crashed on startup last time I tried it.
2019-09-15T17:15:48 #kisslinux <nestman> yes, im currently using it
2019-09-15T17:16:31 #kisslinux <dylanaraps> The pull request looks good now.
2019-09-15T17:16:33 #kisslinux <dylanaraps> Will merge.
2019-09-15T17:16:49 #kisslinux <nestman> thank you :D
2019-09-15T17:17:26 #kisslinux <dylanaraps> :D
2019-09-15T17:17:28 #kisslinux <dylanaraps> Done
2019-09-15T17:17:51 #kisslinux <dylanaraps> I'm gonna swap to berry too.
2019-09-15T17:18:40 #kisslinux <nestman> i've also crashed `berry` before lol
2019-09-15T17:19:16 #kisslinux <rustemb> what's diff berry from bspwm?
2019-09-15T17:19:33 #kisslinux <nestman> it was because the `autostart` file was a shell script, and i forgot to make it executable lol
2019-09-15T17:19:50 #kisslinux <nestman> my head was aching for hours
2019-09-15T17:20:14 #kisslinux <nestman> rustemb berry isn't tiling
2019-09-15T17:20:26 #kisslinux <rustemb> hmm, ok
2019-09-15T17:20:55 #kisslinux <rustemb> but bspwm has floating too
2019-09-15T17:21:48 #kisslinux <dylanaraps> berry also supports titlebars and double borders.
2019-09-15T17:21:59 #kisslinux <nestman> yummy double borders
2019-09-15T17:22:29 #kisslinux <rustemb> hmm, ok, i'll try berry asap
2019-09-15T17:23:08 #kisslinux <dylanaraps> berry uses xlib and bspwm uses xcb.
2019-09-15T17:24:17 #kisslinux <dylanaraps> I somehow caught the flu in Summer.
2019-09-15T17:24:22 #kisslinux <dylanaraps> I'm as sick as a dog.
2019-09-15T17:24:44 #kisslinux <rustemb> so what is better: xlib or xcb?
2019-09-15T17:25:19 #kisslinux <dylanaraps> xcb is newer.
2019-09-15T17:25:47 #kisslinux <dylanaraps> They have different design goals too.
2019-09-15T17:26:06 #kisslinux <dylanaraps> xcb is apparently a lot simpler to use.
2019-09-15T17:26:43 #kisslinux <dylanaraps> But xlib has more documentation available.
2019-09-15T17:26:48 #kisslinux <dylanaraps> Apples to Oranges really.
2019-09-15T17:54:43 #kisslinux <dylanaraps> I'll release the new package manager version once I get over this flu.
2019-09-15T17:54:46 #kisslinux <dylanaraps> Apologies.
2019-09-15T17:54:57 #kisslinux <dylanaraps> There's more work I need to do before I can call it "ready".
2019-09-15T17:55:32 #kisslinux <nestman> get well soon good sir
2019-09-15T17:56:00 #kisslinux <dylanaraps> ty ty