Log of #mupdf at irc.freenode.net.

Search:
 <<<Back 1 day (to 2018/05/27)20180528 
jogux I'm utterly struggling to build a mutool from current master where mutool sign gives something other than:11:49.02 
  result: 'No digital signing support in this build'11:49.03 
  AFAICT I have a valid libcrypto etc and HAVE_LIBCRYPTO is being set to yes11:49.30 
  HAVE_LIBCRYPTO isn't been passed to the compiler though, and I can't figure out where LIBCRYPTO_CFLAGS is meant to be added to the compiler command11:49.57 
tor8 jogux: linux or macosx?11:53.43 
jogux both, but I've investigated the furthest on linux11:56.35 
tor8 jogux: reading the makefile just now, it looks like this might be somewhat broken.11:57.12 
jogux ah. thanks. at least I'm not going mad :-)11:58.08 
tor8 jogux: do you have a sample PDF file?11:58.29 
jogux I do... but honestly I'm not 100% sure what result I'm expecting11:59.00 
  https://www.dropbox.com/s/mqmzscypop8epgm/signed-test-result.pdf?dl=011:59.01 
tor8 jogux: thanks. I'm able to replicate the 'No digital signing support in this build' result11:59.37 
  let me have a bash at the makefiles11:59.41 
jogux Thanks tor8! As a side note, I'm not sure if it's expected or not, but I was surprised that mutool extract doesn't extract the json file that's embedded in that file.12:00.18 
  or... perhaps I'm confused about what mutool extract without any object numbers does.12:02.03 
tor8 jogux: mutool extract is only for embedded images and font resources12:04.51 
  jogux: what you want is 'mutool show'12:05.01 
  mutool show -b $file $objnum12:05.23 
jogux ah. yep. that does it, thanks.12:06.08 
tor8 jogux: what's the output of 'pkg-config --modversion libcrypto' for you?12:09.14 
jogux 2.6.412:09.30 
tor8 wow. that's a lot newer than mine...12:09.44 
  mine is too old to build 1.0.1t12:09.49 
jogux the --exists test in the makefile is definitely returning 'yes'.12:09.52 
sebras tor8: libressll?12:10.18 
tor8 jogux: give the top commit on tor/master a try12:11.01 
sebras tor8: they are up to version 2.7.312:11.03 
jogux ah. yes. I have libressl installed in /usr/local. I have no idea why I did that. But let's assume I had my reasons...12:11.05 
tor8 a 2-line diff to the makefile12:11.05 
  sebras: can we build with libressl?12:12.07 
sebras tor8: not sure.12:12.15 
  tor8: I've never successfully built with any openssl > 0.9.x, it was paulg who figured out how to upport openssl 1.1.x12:12.42 
tor8 sebras: I'm on debian stable, and not upgrading.12:12.42 
sebras tor8: I'12:12.57 
  m on debina/testing and pkg-config --modversion libcrypto says 1.1.0h12:13.25 
jogux tor8: compiling12:14.05 
  https://packages.debian.org/search?keywords=libssl-dev says debian stable has 1.1.0f, which is what I have on this machine.12:14.20 
tor8 I might be on an old debian stable...12:14.45 
sebras tor8: I think you are on debian/jessie, yes.12:15.10 
tor8 yeah. I'm on jessie.12:15.28 
sebras it has some version number I don't know as well.12:15.36 
tor8 last time I upgraded, shit went haywire with the x11 and nvidia graphics drivers and I had to reinstall12:16.06 
  and the installer helpfully decided to format *all* the disks even though I explicitly told it to *not* format my /home drive12:16.23 
sebras tor8: I haven't asked you to upgrade.12:18.09 
jogux ah, I remember why I installed libressl now. had /loads/ of hassle trying to make curl talk to a bank's API.12:18.24 
  and I think I can safely say mupdf & libressl aren't compatible.12:19.45 
  seems like the libressl libcrypto is missing `BIO_meth_new' etc12:20.10 
  urgh. it fails against debian's openssl too.12:25.27 
  ah. I needed to delete more of libressl, that fixed the build. It doesn't actually work though :-S12:42.50 
  $ ./build/release/mutool sign ~/signed-test-result.pdf12:42.51 
  verifying signature on page 112:42.52 
  result: 'Unknown error'12:42.52 
  unless that's just saying the signature is invalid / can't be verified or something, which I might believe.12:43.31 
  tor8: I think your fix is good to merge, anyway.12:45.02 
tor8 jogux: at least it built! :)12:45.29 
razi Hi there, lines of right-to-left EPUB files are rendered left aligned. Is it a bug or is there something I should care about?13:04.03 
tor8 razi: open a bug and attach an offending file, and we can look into it.13:32.32 
razi tor8: I reported issue about RTL EPUB files here: https://bugs.ghostscript.com/show_bug.cgi?id=69938516:26.14 
  tor8: Did you see my comment for https://bugs.ghostscript.com/show_bug.cgi?id=699317 ? Any update about it?17:21.38 
tor8 re: building with VS, all I can say is it works out of the box with VS200518:45.10 
  even on a low memory machine18:45.36 
 Forward 1 day (to 2018/05/29)>>> 
ghostscript.com #ghostscript
Search: