After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315493 - several build fixes for evince
several build fixes for evince
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.4.x
Other other
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 318636 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-07 23:18 UTC by Yaakov Selkowitz
Modified: 2005-10-12 07:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Cygwin build patch (4.20 KB, patch)
2005-09-07 23:18 UTC, Yaakov Selkowitz
none Details | Review

Description Yaakov Selkowitz 2005-09-07 23:18:17 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.)
Comment 1 Yaakov Selkowitz 2005-09-07 23:18:39 UTC
Created attachment 51940 [details] [review]
Cygwin build patch
Comment 2 Nickolay V. Shmyrev 2005-09-08 08:29:53 UTC
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. 
Comment 3 Marco Pesenti Gritti 2005-09-08 10:52:29 UTC
Checked in, except the t1lib fix
Comment 4 Nickolay V. Shmyrev 2005-09-08 18:37:36 UTC
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.
Comment 5 Yaakov Selkowitz 2005-09-08 20:46:47 UTC
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.
Comment 6 Nickolay V. Shmyrev 2005-10-12 07:45:59 UTC
*** Bug 318636 has been marked as a duplicate of this bug. ***