💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-07-05.txt captured on 2024-05-12 at 16:08:08.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-07-05T00:15:23 #kisslinux <xzcvczx> anyone got latex running on kiss? 2020-07-05T00:37:15 #kisslinux <admicos> what's the best way to deal with packages that require git submodules? 2020-07-05T00:37:23 #kisslinux <admicos> github's release tarballs don't seem to include them 2020-07-05T00:37:39 #kisslinux <konimex> I have latex running on KISS, but ofc not without the pkg manager 2020-07-05T00:37:46 #kisslinux <konimex> s/without/with/ 2020-07-05T00:45:01 #kisslinux <xzcvczx> konimex: oh what did you use? 2020-07-05T00:45:31 #kisslinux <konimex> I just extract and install it manually to /opt 2020-07-05T00:45:51 #kisslinux <xzcvczx> the -bin package? 2020-07-05T00:46:03 #kisslinux <xzcvczx> or rather texlive-date-bin.tar.xz? 2020-07-05T00:47:25 #kisslinux <konimex> two secs let me see if I still have the logs 2020-07-05T00:51:17 #kisslinux <konimex> hmm... not sure, but I probably used install-tl-unx.tar.gz since I still have that file 2020-07-05T00:51:35 #kisslinux <xzcvczx> ok thanks 2020-07-05T01:06:18 #kisslinux <ace> . 2020-07-05T01:07:21 #kisslinux <ectlunya> xzcvczx: http://ix.io/2qVw 2020-07-05T01:08:19 #kisslinux <ectlunya> the DESTDIR thing is kind of a hack to make it work with kiss properly 2020-07-05T01:08:19 #kisslinux <xzcvczx> ectlunya: which package did you install? 2020-07-05T01:08:21 #kisslinux <ectlunya> http://ix.io/2qVx 2020-07-05T01:08:39 #kisslinux <ectlunya> http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz 2020-07-05T01:08:45 #kisslinux <xzcvczx> ok thanks 2020-07-05T01:09:33 #kisslinux <xzcvczx> you didn't have to customise anything or install anything in packages? 2020-07-05T01:11:22 #kisslinux <ectlunya> the second link is the installation profile for texlive similar to the .config for linux or busybox if thats what you mean 2020-07-05T01:11:43 #kisslinux <xzcvczx> nah i mean in kiss bi <blah blah dependency> 2020-07-05T01:12:15 #kisslinux <xzcvczx> or fork a package to patch it to make it compatible 2020-07-05T01:12:43 #kisslinux <ectlunya> it needs perl but otherwise its been fine 2020-07-05T01:12:54 #kisslinux <xzcvczx> ok thanks 2020-07-05T01:12:58 #kisslinux <xzcvczx> and you have pdflatex? 2020-07-05T01:13:02 #kisslinux <xzcvczx> or pdftex 2020-07-05T01:13:08 #kisslinux <xzcvczx> whatever its called htat gens pdfs 2020-07-05T01:13:14 #kisslinux <ectlunya> texlive has a musl version in it 2020-07-05T01:13:33 #kisslinux <ectlunya> yes. you can either install that as a package through tlmgr or in the installation profile 2020-07-05T01:13:41 #kisslinux <xzcvczx> cool 2020-07-05T01:14:04 #kisslinux <ectlunya> if you download install-tl you can configure the installation and save it to a file without actually installing it 2020-07-05T01:15:12 #kisslinux <xzcvczx> your profile looks pretty good, how do i just use that one? 2020-07-05T01:18:46 #kisslinux <ectlunya> I put it in files/texlive.profile. There isn't a way to install to a specific location as far as I know, so I added a sedline in the build script to do that. Symlinks to /usr/bin also won't work by default so you can either adjust your PATH or add a few lines to build like I did. 2020-07-05T01:19:06 #kisslinux <xzcvczx> oh have you got a package for it? 2020-07-05T01:19:12 #kisslinux <xzcvczx> on github? 2020-07-05T01:22:34 #kisslinux <ectlunya> its not on github but these are all the files in it: http://ix.io/2qVy 2020-07-05T01:22:59 #kisslinux <xzcvczx> thank you 2020-07-05T01:29:28 #kisslinux * xzcvczx gives ectlunya a cookie 2020-07-05T01:35:50 #kisslinux <xzcvczx> except build failed 2020-07-05T01:37:08 #kisslinux <xzcvczx> ah nope stupid vi 2020-07-05T01:37:56 #kisslinux <ectlunya> what was the problem? 2020-07-05T01:38:11 #kisslinux <xzcvczx> your ln -s line was so long it had scrolled over 2020-07-05T01:47:42 #kisslinux <xzcvczx> err whats your manifest? 2020-07-05T01:47:53 #kisslinux <xzcvczx> i think i broke something 2020-07-05T01:51:22 #kisslinux <ectlunya> http://ix.io/2qVB 2020-07-05T01:52:04 #kisslinux <xzcvczx> errr wtf i have /usr/bin/* in my manifest 2020-07-05T01:53:49 #kisslinux <xzcvczx> and no /usr/bin/blah 2020-07-05T01:55:45 #kisslinux <xzcvczx> can you diff https://termbin.com/0enwe to yours 2020-07-05T01:55:51 #kisslinux <xzcvczx> i *think* its the same 2020-07-05T01:56:47 #kisslinux <ectlunya> try replacing ${file##*/} with $(basename "$file") 2020-07-05T01:57:04 #kisslinux <xzcvczx> it works when i echo it 2020-07-05T01:57:15 #kisslinux <xzcvczx> thats why i am confused 2020-07-05T02:00:03 #kisslinux <xzcvczx> wtf its exactly the same 2020-07-05T02:00:38 #kisslinux <xzcvczx> is $2 the version? 2020-07-05T02:00:54 #kisslinux <ectlunya> i think thats the problem 2020-07-05T02:01:15 #kisslinux <xzcvczx> why does it work for you hten? 2020-07-05T02:01:39 #kisslinux <ectlunya> I must have changed that after I built it. I just got the same problem you did 2020-07-05T02:01:48 #kisslinux * xzcvczx odes a little dance 2020-07-05T02:09:18 #kisslinux <xzcvczx> ectlunya: hmmm i thought it would be 2020 but doesn't seem to work 2020-07-05T02:14:25 #kisslinux <ectlunya> 2020 worked for me 2020-07-05T02:16:22 #kisslinux <xzcvczx> ah ok it didn't like my variable i used 2020-07-05T02:44:02 #kisslinux <xzcvczx> thank you ectlunya its working perfectly 2020-07-05T02:44:11 #kisslinux <xzcvczx> zathura+vim+vim-latex-preview ftw 2020-07-05T03:39:39 #kisslinux <xzcvczx> doh mutool convert can't split pages 2020-07-05T05:34:50 #kisslinux <xzcvczx> himmalerin: btw thanks for the zathura hint 2020-07-05T05:34:57 #kisslinux <xzcvczx> is damn nice with recolor and for epubs and such 2020-07-05T05:38:23 #kisslinux <himmalerin> xzcvczx: Good to hear it's worked out for you 2020-07-05T07:41:59 #kisslinux <E5ten> @freenode_dylanaraps:matrix.org: imo in k, in things like xstrdup, those error checks shouldn't be assert()s, because running out of memory is a thing that is supposed to be possible, not a programmer error, so those error checks should be happening whether or not someone has NDEBUG defined 2020-07-05T07:49:22 #kisslinux <mcf> agreed 2020-07-05T08:58:28 #kisslinux <xzcvczx> win 4 2020-07-05T14:24:52 #kisslinux <jedavies> Anyone else's glib failing to build? I get this: cp: can't create directory '/home/myuser/.cache//kiss/pkg-132664/glib/var/db/kiss/installed/': No such file or directory 2020-07-05T14:39:32 #kisslinux <dylanaraps> mcf: E5ten: Fixed. Thanks. 2020-07-05T14:39:49 #kisslinux <dylanaraps> konimex: Submodules can simply be added as so: 'https://url.com/file.tar.gz subdir' mimicking the submodule directory structure. 2020-07-05T14:40:33 #kisslinux <dylanaraps> jedavies: I cannot reproduce the glib build error. 2020-07-05T14:52:42 #kisslinux <jedavies> Getting something odd for cmake now after a kiss-reset. After the build script does "kiss l cmake" the build directory is empty and the build fails. 2020-07-05T18:24:12 #kisslinux <E5ten> dylanaraps: wait so is the eventual goal now to have the kiss script call the k command? 2020-07-05T18:24:26 #kisslinux <E5ten> doesn't that kinda go against the "one script you can just drop in to have it work" 2020-07-05T18:25:14 #kisslinux <E5ten> also I think you accidentally commited the executable, cuz now that it's renamed it doesn't get matched in .gitignore 2020-07-05T18:26:29 #kisslinux <E5ten> also in xsnprintf, I think the len < 1 thing should be len < 0?2020-07-05T18:29:08 #kisslinux <E5ten> in cp_file, you use an int to get the return value of fread and fwrite, and check if it's -1, but that's not how fread and fwrite work, they return size_t, and you check for error by seeing if the return value matches the 3rd parameter, for fread, if they aren't equal, this can either mean EOF or error, so you check with ferror or feof, with fwrite, if the return isn't equal to the 3rd parameter it has to be an error, cuz 2020-07-05T18:29:08 #kisslinux <E5ten> EOF wouldn't make sense for a write 2020-07-05T18:33:04 #kisslinux <E5ten> also, still in cp_file, you give fread the parameter sizeof(4096), which I'm guessing you meant to have fill up buf, because it is 4096, but sizeof(4096) actually gives the size of an int, so instead of reading up to 4096 bytes per loop, you're reading up to 4 (depending on the size of int), that should be changed to sizeof(buf) 2020-07-05T18:35:39 #kisslinux <E5ten> http://ix.io/2qYn so here are those changes lol