Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2017/01/13)20170114 
vtorri hey10:40.39 
ghostbot Welcome to #ghostscript, the channel for Ghostscript and MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line.10:40.39 
vtorri i want to integrate mupdf 1.9 in my project10:41.01 
  but i already have several libraries that mupdf provides as third-party lib10:41.29 
  that is : harfbuzz, jpeg, zlib and freetype10:41.56 
  and openjpeg10:42.06 
  is it possible to compile mupdf using the libraries I have instead of the third-party ones, by modifying mupdf Makefile's ?10:43.18 
sh4rm4^bnc_ hmm, since there's no function to load js function per name, maybe it'll work to 1) load js file with the named functions 2) when C event function is triggered, load a hardcoded javascript string that runs the named js func13:32.25 
  vtorri, if your question is "can mupdf use system libs instead of their copies in its source tree", then the answer is "yes".13:48.23 
  IIRC it picks them up automatically via pkg-config13:48.54 
vtorri sh4rm4^bnc_: no, it does not on my system (windows, MSYS2)14:30.02 
  pkg-config --modversion zlib returns 1.2.814:30.16 
  but mupdf compiles the zlib provided with it14:30.35 
sh4rm4^bnc_ oh ? let me check my build log14:54.48 
vtorri also : mingw-w64 as compiler14:55.48 
  i just run :14:55.55 
  make14:55.58 
  that's all14:56.01 
  no other environment definitions except to find .pc files14:56.35 
sh4rm4^bnc_ https://github.com/sabotage-linux/sabotage/blob/master/pkg/mupdf#L2914:56.49 
vtorri ha14:57.18 
  i have to remove the dirs ?14:57.25 
  it should be easy then14:57.32 
  rtying14:57.36 
sh4rm4^bnc_ that's what i do, and it works14:57.42 
vtorri ft2build.h not found15:01.21 
  btw15:01.24 
  mupdf 1.915:01.28 
sh4rm4^bnc_ ft2build.h not found -> your freetype install is incomplete15:01.48 
vtorri i doubt15:01.58 
  i compile several projects using freetype15:02.12 
sh4rm4^bnc_ then see the rest of my recipe how i pass FREETYPE_CFLAGS15:02.15 
vtorri yes15:02.20 
  i wanted to mention that15:02.25 
sh4rm4^bnc_ freetype uses a braindead program named freetype-config instead of the standardized pkg-config15:02.55 
  the freetype-config is not usable for crosscompiles15:03.10 
vtorri it has a pc file15:31.45 
  i use it :)15:31.48 
  freetype-config is a legacy script15:31.59 
  it's better15:35.22 
  bu i have to do that in a cross platform way15:35.40 
  sh4rm4^bnc_: thank you15:41.40 
sh4rm4^bnc_ vtorri, got it working ?16:23.00 
vtorri sh4rm4^bnc_: not completely working, but i understand what i have to do, so i'm integrating it in my project23:38.10 
sh4rm4^bnc_ ok23:39.07 
  do you undestand why i call make twice ?23:39.40 
vtorri i've even not remarked that point23:44.33 
 Forward 1 day (to 2017/01/15)>>> 
ghostscript.com
Search: