From 68525a359fcf1c2f857337aaac6508861d305cae Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Fri, 5 May 2006 15:29:03 +0000 Subject: [PATCH] Due to broken libtool that is unable to track dependencies of noinst libraries we are forced to explicitely point libraries for binary. Fix for the bug #333334. --- ChangeLog | 16 +++++++++++++++- djvu/Makefile.am | 1 - dvi/Makefile.am | 2 -- dvi/mdvi-lib/Makefile.am | 6 ------ properties/Makefile.am | 12 ++++++++++++ ps/Makefile.am | 1 - shell/Makefile.am | 12 ++++++++++++ thumbnailer/Makefile.am | 11 +++++++++++ 8 files changed, 50 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0816e65e..9efcb168 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,18 @@ -2006-05-05 Nickolay V. Shmyrev <> +2006-05-05 Nickolay V. Shmyrev + + * djvu/Makefile.am: + * dvi/Makefile.am: + * dvi/mdvi-lib/Makefile.am: + * properties/Makefile.am: + * ps/Makefile.am: + * shell/Makefile.am: + * thumbnailer/Makefile.am: + + Due to broken libtool that is unable to track dependencies + of noinst libraries we are forced to explicitely point + libraries for binary. Fix for the bug #333334. + +2006-05-05 Nickolay V. Shmyrev * data/evince.desktop.in.in: * shell/ev-view.c: (view_update_range_and_current_page), diff --git a/djvu/Makefile.am b/djvu/Makefile.am index 6fae0dae..630496a4 100644 --- a/djvu/Makefile.am +++ b/djvu/Makefile.am @@ -17,6 +17,5 @@ libgtkdjvu_la_SOURCES = \ djvu-text-page.c \ djvu-text-page.h -libgtkdjvu_la_LIBADD = -lpthread $(DVJU_LIBS) diff --git a/dvi/Makefile.am b/dvi/Makefile.am index e7d62482..169ef132 100644 --- a/dvi/Makefile.am +++ b/dvi/Makefile.am @@ -22,5 +22,3 @@ libgtkdvi_la_LIBADD = mdvi-lib/libmdvi.la - - diff --git a/dvi/mdvi-lib/Makefile.am b/dvi/mdvi-lib/Makefile.am index 66614963..73417e16 100644 --- a/dvi/mdvi-lib/Makefile.am +++ b/dvi/mdvi-lib/Makefile.am @@ -38,9 +38,3 @@ libmdvi_la_SOURCES = \ util.c \ vf.c -libmdvi_la_LIBADD = \ - -lkpathsea - -if WITH_TYPE1_FONTS -libmdvi_la_LIBADD += -lt1 -endif diff --git a/properties/Makefile.am b/properties/Makefile.am index b3c8560c..fab35143 100644 --- a/properties/Makefile.am +++ b/properties/Makefile.am @@ -32,4 +32,16 @@ libevince_properties_page_la_LIBADD = \ $(FRONTEND_LIBS) \ $(NAUTILUS_LIBS) +if ENABLE_DJVU +libevince_properties_page_la_LIBADD += $(DJVU_LIBS) +endif + +if ENABLE_DJVU +libevince_properties_page_la_LIBADD += -lkpathsea +endif + +if WITH_TYPE1_FONTS +libevince_properties_page_la_LIBADD += -lt1 +endif + libevince_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined diff --git a/ps/Makefile.am b/ps/Makefile.am index a0ba27cb..a9f25f92 100644 --- a/ps/Makefile.am +++ b/ps/Makefile.am @@ -20,4 +20,3 @@ libpsdocument_la_SOURCES = \ gsdefaults.c \ gsdefaults.h -libpsdocument_la_LIBADD = $(PS_LIBS) diff --git a/shell/Makefile.am b/shell/Makefile.am index 4061c31d..80764d29 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -83,6 +83,18 @@ evince_LDADD= \ $(SHELL_LIBS) \ $(GNOME_PRINT_LIBS) +if ENABLE_DJVU +evince_LDADD += $(DJVU_LIBS) +endif + +if ENABLE_DJVU +evince_LDADD += -lkpathsea +endif + +if WITH_TYPE1_FONTS +evince_LDADD += -lt1 +endif + BUILT_SOURCES = ev-marshal.h ev-marshal.c if ENABLE_DBUS diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am index 8e247313..3bce3f91 100644 --- a/thumbnailer/Makefile.am +++ b/thumbnailer/Makefile.am @@ -20,6 +20,17 @@ evince_thumbnailer_LDADD= \ $(FRONTEND_LIBS) \ $(DJVU_LIBS) +if ENABLE_DJVU +evince_thumbnailer_LDADD += $(DJVU_LIBS) +endif + +if ENABLE_DJVU +evince_thumbnailer_LDADD += -lkpathsea +endif + +if WITH_TYPE1_FONTS +evince_thumbnailer_LDADD += -lt1 +endif schema_files = \ evince-thumbnailer-dvi.schemas.in \ -- 2.43.0