| <<<Back 1 day (to 2020/11/05) | Fwd 1 day (to 2020/11/07)>>> | 20201106 |
skejg | hi! on macOS, mupdf builds without clipboard and unicode input support. I found this log: https://ghostscript.com/mupdfirclogs/2020/10/21.html where Robin_Watts mentioned it's because "the makefile forces it to use the system version of freeglut". but is any workaround present? | 06:22.10 |
| thanks :) | 06:22.15 |
sebras | skejg: I assume you obtained the source code by cloning using git? | 06:34.54 |
| skejg: if you had used git clone --recursive when cloning you'd also get the thirdparty libraries, like freeglut. | 06:35.24 |
| skejg: after the fact you ought to be able to git submodule update --init to request git to clone the thirparty libraries. | 06:35.59 |
| skejg: we use a slightly patched version of freeglut. there are a few clipboard related patches. not 100% sure they cover macos though. :) | 06:37.19 |
skejg | sebras: I did used git clone --recursive but it still uses system version of freeglut, it was discussed in that log I mention :)d | 06:42.11 |
sebras | skejg: oh, you are kofm. | 06:44.41 |
skejg | I'm not kofm :) I just found this log via Google | 06:45.03 |
| And am facing the same problem :) | 06:45.24 |
| tried to browse the next days' logs to see if a solution was found but with no success, unfortunately | 06:46.42 |
sebras | skejg: ator is likely not up yet. | 06:48.04 |
| skejg: I don't run macOS, but a quick google tells me that if GL/glx.h is not found one can try adding -I/opt/X11/include so make clean && make verbose=yes XCFLAGS=-I/opt/X11/include might work..? | 06:49.14 |
| skejg: on top of the changes proposed for kofm in the logs of course. | 06:49.35 |
skejg | sebras: thanks, I'll try that out :) | 06:50.12 |
sebras | skejg: it's difficult to give useful advice when you can't try it yourself. :-/ | 06:53.30 |
skejg | sebras: I understand, of course | 06:54.35 |
sebras | skejg: if it doesn't work, wait for ator and he might be able to help you. | 07:02.07 |
skejg | sebras: compiling breaks with 17 errors like this: thirdparty/freeglut/src/fg_ext.c:89:16: 09:30 | Баскетбол. Китай. КБА / Мужчины. Шандонг - Ляонин Динозаурс | 07:07.05 |
sam_ | english? | 07:07.47 |
skejg | sorry :) | 07:07.51 |
| sebras: compiling breaks with 17 errors like this: thirdparty/freeglut/src/fg_ext.c:89:16: error: use of undeclared identifier 'glutPositionFunc' | 07:08.18 |
sebras | skejg: ok. do you mind hanging around until ator shows up? he knows this way better than I do. | 08:08.05 |
skejg | sebras: yeah, no problem. thanks for your support and interest anyway! | 08:23.20 |
sebras | ator: did you want to fix the error messages in "Add JBIG2 support to pdf_add_image." and it will LGTM. | 10:14.52 |
| ator: I have already LGTMed "mutool run: Support image mask when creating images from file names." | 10:15.13 |
| ator: also LGTM "Bug 703077: Confirm reload if the document has unsaved changes." | 10:15.34 |
| ator: I has a few questions about Makelists. | 10:16.04 |
| ator: btw, you can remove tor/wip4 now. | 10:16.32 |
| ator: in Makethird, why is -DHAVE_LEPTONICA and -DHAVE_TESSERACT added to CFLAGS instead of THIRD_CFLAGS? | 10:17.26 |
| ator: like -DHAVE_JPEGXR is. | 10:17.43 |
| ator: if -DHAVE_JPEGXR is added to THIRD_CFLAGS, why can't -DHAVE_CURL be added to CURL_CFLAGS? the latter is used wherever we want to include CURL. | 10:23.00 |
kens | bot test | 10:46.11 |
artifexirc-bot | <Robin_Watts> bot restarted | 11:08.05 |
ator | skejg: Apple's GLUT doesn't support unicode input. None of the open source GLUT variants work on macOS (last I checked). | 11:18.50 |
| you may have some luck getting it to build against X11+GLX but I wouldn't bet on it being easy | 11:19.22 |
| sebras: -DHAVE_JPEGXR should be in CFLAGS, good catch | 11:20.50 |
| or vice versa. not sure, I just didn't want to change at the time. | 11:21.34 |
| should probably clean up and fix it | 11:21.39 |
| -DSHARE_JPEG is put in THIRD_CFLAGS | 11:21.48 |
| sebras: curl is complicated. we build the same set of files both with and without HAVE_CURL depending on target. | 11:25.39 |
| sebras: but you're right, we can move the -DHAVE_CURL to CURL_CFLAGS from the bulid step | 11:26.48 |
| sebras: I've pushed a couple of fixup commits onto tor/master | 11:35.12 |
sebras | ator: all LGTM to me. :) | 12:01.53 |
| hm... I haven't reviewed "Don't hardwire path to $OUT in when linking against shared library." | 12:02.12 |
| when did it sneak into there? | 12:02.26 |
ator | sebras: yesterday :) | 12:06.16 |
sebras | I'm transforming into a make GNU. | 12:06.41 |
ator | GNUUUUmake text functions are funky | 12:07.03 |
| don't cross your eyes staring at those invocations | 12:07.16 |
sebras | is there a sort -u function? | 12:07.17 |
| that way you can reduce the number of duplicated -L arguments. | 12:07.37 |
ator | $(sort ) remove duplicates already | 12:08.13 |
sebras | ah. | 12:08.26 |
ator | so I guess I could stick that on the -L line | 12:08.36 |
sebras | y | 12:08.45 |
| if you already know that there won't be duplicates, then don't bother of course. | 12:09.15 |
| but _I_ don't know. | 12:09.23 |
ator | I doubt there will be more than one libmupdf.so line in there at all | 12:09.43 |
| but you never know in the future | 12:09.47 |
| maybe we add libmupdf-glut.so or whatever | 12:10.00 |
| or the libmupdf-threads and pkcs7 turn into shared libraries | 12:10.25 |
Robin_Watts | another test, sorry for the noise. | 12:31.15 |
| a final, hopefully, test. | 13:01.06 |
sh4rm4^bnc | ator, did you adopt my patch for "Don't hardwire path to $OUT in when linking against shared library." ? | 13:12.19 |
| nope :( http://git.ghostscript.com/?p=user/tor/mupdf.git;a=commitdiff;h=e82e8a62996e8499d5dfe15c7f103039704a80e7;hp=f57d02f8577303aa738d6951ba9b86c06412ddb5 | 13:18.08 |
| a lot more verbose than mine: https://bugs.ghostscript.com/show_bug.cgi?id=703024 | 13:19.48 |
ator | sh4rm4^bnc: I ended up with something similar, but should work if more libraries become shared | 13:31.40 |
Robin_Watts | I hate chat clients :( | 14:19.45 |
| gateful things | 14:21.07 |
| hateful | 14:21.09 |
sebras | Robin_Watts: is it mutual? ;) | 14:21.30 |
Robin_Watts | apparently so. | 14:21.44 |
| ? | 14:23.45 |
sebras | Robin_Watts: ! | 14:24.00 |
artifexirc-bot | <ator> @sebras could you look over the fixups on tor/master please? | 15:21.09 |
sebras | ator: LGTM "fixup! jbig2 globals leak" | 15:25.10 |
| ator: LGTM "fixup! cflags and stuff" | 15:26.02 |
| <<<Back 1 day (to 2020/11/05) | Forward 1 day (to 2020/11/07)>>> | |