GNOME Bugzilla – Bug 315493
several build fixes for evince
Last modified: 2005-10-12 07:45:59 UTC
Version details: 0.4.0 Distribution/Version: Cygwin While building evince for Cygwin, I encountered several bugs in the build system. I'm attaching a patch which addresses these in a portable fashion. * configure.ac, dvi/mdvi-lib/Makefile.am: The t1lib library is -lt1 (as it is on Debian and Gentoo as well). * dvi/Makefile.am: fix for builddir != srcdir * properties/Makefile.am, shell/Makefile.am, thumbnailer/Makefile.am: list link libraries after the convenience libraries. (Symbols are resolved in command-line order on Cygwin, so the convenience libraries, which are static, must come before the link libraries.)
Created attachment 51940 [details] [review] Cygwin build patch
Thanks a lot. Can you please look at bug 313708, is it related to that library order problem? It would be really nice to see that bug fixed also. Change for builddir is certainly correct. But I am wondering about t1lib. I don't know about debian, but there is t1lib from ftp://sunsite.unc.edu/pub/Linux/libs/graphics/ and it uses t1lib name. Probably more clever configure check can help, but I don't think we should spend much time on it. I really want to drop t1lib usage and use freetype2 instead.
Checked in, except the t1lib fix
Oh, sorry, about t1 and t1lib it was my fault, this part was also committed, thanks. Please comment on 313708 if you can or could reproduce that problem.
Thanks. Can't help you with bug 313708, as we have a shared libkpathsea on Cygwin; both of the test pdfs mentioned there worked for me with cairo-1.0.0, poppler-0.4.1, and evince-0.4.0.
*** Bug 318636 has been marked as a duplicate of this bug. ***