2020-07-05T00:15:23 #kisslinux anyone got latex running on kiss? 2020-07-05T00:37:15 #kisslinux what's the best way to deal with packages that require git submodules? 2020-07-05T00:37:23 #kisslinux github's release tarballs don't seem to include them 2020-07-05T00:37:39 #kisslinux I have latex running on KISS, but ofc not without the pkg manager 2020-07-05T00:37:46 #kisslinux s/without/with/ 2020-07-05T00:45:01 #kisslinux konimex: oh what did you use? 2020-07-05T00:45:31 #kisslinux I just extract and install it manually to /opt 2020-07-05T00:45:51 #kisslinux the -bin package? 2020-07-05T00:46:03 #kisslinux or rather texlive-date-bin.tar.xz? 2020-07-05T00:47:25 #kisslinux two secs let me see if I still have the logs 2020-07-05T00:51:17 #kisslinux hmm... not sure, but I probably used install-tl-unx.tar.gz since I still have that file 2020-07-05T00:51:35 #kisslinux ok thanks 2020-07-05T01:06:18 #kisslinux . 2020-07-05T01:07:21 #kisslinux xzcvczx: http://ix.io/2qVw 2020-07-05T01:08:19 #kisslinux the DESTDIR thing is kind of a hack to make it work with kiss properly 2020-07-05T01:08:19 #kisslinux ectlunya: which package did you install? 2020-07-05T01:08:21 #kisslinux http://ix.io/2qVx 2020-07-05T01:08:39 #kisslinux http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz 2020-07-05T01:08:45 #kisslinux ok thanks 2020-07-05T01:09:33 #kisslinux you didn't have to customise anything or install anything in packages? 2020-07-05T01:11:22 #kisslinux 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 nah i mean in kiss bi 2020-07-05T01:12:15 #kisslinux or fork a package to patch it to make it compatible 2020-07-05T01:12:43 #kisslinux it needs perl but otherwise its been fine 2020-07-05T01:12:54 #kisslinux ok thanks 2020-07-05T01:12:58 #kisslinux and you have pdflatex? 2020-07-05T01:13:02 #kisslinux or pdftex 2020-07-05T01:13:08 #kisslinux whatever its called htat gens pdfs 2020-07-05T01:13:14 #kisslinux texlive has a musl version in it 2020-07-05T01:13:33 #kisslinux yes. you can either install that as a package through tlmgr or in the installation profile 2020-07-05T01:13:41 #kisslinux cool 2020-07-05T01:14:04 #kisslinux 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 your profile looks pretty good, how do i just use that one? 2020-07-05T01:18:46 #kisslinux 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 oh have you got a package for it? 2020-07-05T01:19:12 #kisslinux on github? 2020-07-05T01:22:34 #kisslinux its not on github but these are all the files in it: http://ix.io/2qVy 2020-07-05T01:22:59 #kisslinux thank you 2020-07-05T01:29:28 #kisslinux * xzcvczx gives ectlunya a cookie 2020-07-05T01:35:50 #kisslinux except build failed 2020-07-05T01:37:08 #kisslinux ah nope stupid vi 2020-07-05T01:37:56 #kisslinux what was the problem? 2020-07-05T01:38:11 #kisslinux your ln -s line was so long it had scrolled over 2020-07-05T01:47:42 #kisslinux err whats your manifest? 2020-07-05T01:47:53 #kisslinux i think i broke something 2020-07-05T01:51:22 #kisslinux http://ix.io/2qVB 2020-07-05T01:52:04 #kisslinux errr wtf i have /usr/bin/* in my manifest 2020-07-05T01:53:49 #kisslinux and no /usr/bin/blah 2020-07-05T01:55:45 #kisslinux can you diff https://termbin.com/0enwe to yours 2020-07-05T01:55:51 #kisslinux i *think* its the same 2020-07-05T01:56:47 #kisslinux try replacing ${file##*/} with $(basename "$file") 2020-07-05T01:57:04 #kisslinux it works when i echo it 2020-07-05T01:57:15 #kisslinux thats why i am confused 2020-07-05T02:00:03 #kisslinux wtf its exactly the same 2020-07-05T02:00:38 #kisslinux is $2 the version? 2020-07-05T02:00:54 #kisslinux i think thats the problem 2020-07-05T02:01:15 #kisslinux why does it work for you hten? 2020-07-05T02:01:39 #kisslinux 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 ectlunya: hmmm i thought it would be 2020 but doesn't seem to work 2020-07-05T02:14:25 #kisslinux 2020 worked for me 2020-07-05T02:16:22 #kisslinux ah ok it didn't like my variable i used 2020-07-05T02:44:02 #kisslinux thank you ectlunya its working perfectly 2020-07-05T02:44:11 #kisslinux zathura+vim+vim-latex-preview ftw 2020-07-05T03:39:39 #kisslinux doh mutool convert can't split pages 2020-07-05T05:34:50 #kisslinux himmalerin: btw thanks for the zathura hint 2020-07-05T05:34:57 #kisslinux is damn nice with recolor and for epubs and such 2020-07-05T05:38:23 #kisslinux xzcvczx: Good to hear it's worked out for you 2020-07-05T07:41:59 #kisslinux @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 agreed 2020-07-05T08:58:28 #kisslinux win 4 2020-07-05T14:24:52 #kisslinux 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 mcf: E5ten: Fixed. Thanks. 2020-07-05T14:39:49 #kisslinux 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 jedavies: I cannot reproduce the glib build error. 2020-07-05T14:52:42 #kisslinux 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 dylanaraps: wait so is the eventual goal now to have the kiss script call the k command? 2020-07-05T18:24:26 #kisslinux doesn't that kinda go against the "one script you can just drop in to have it work" 2020-07-05T18:25:14 #kisslinux 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 also in xsnprintf, I think the len < 1 thing should be len < 0?2020-07-05T18:29:08 #kisslinux 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 EOF wouldn't make sense for a write 2020-07-05T18:33:04 #kisslinux 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 http://ix.io/2qYn so here are those changes lol