Fix koffice poppler-tqt detection/usage

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238436 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 698569f842
commit bda1ab47e2

@ -9,7 +9,7 @@ INCLUDES = \
-I$(top_srcdir)/chalk/ui \ -I$(top_srcdir)/chalk/ui \
$(KOFFICE_INCLUDES) -I$(interfacedir) \ $(KOFFICE_INCLUDES) -I$(interfacedir) \
$(KOPAINTER_INCLUDES) \ $(KOPAINTER_INCLUDES) \
$(all_includes) $(POPPLER_CFLAGS) $(all_includes) -I$(kde_includes)/kde
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
@ -21,7 +21,7 @@ libchalkpdfimport_la_LDFLAGS = -avoid-version -module -no-undefined $(KDE_PLUGI
-L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \
-L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor
libchalkpdfimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ libchalkpdfimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \
-lpoppler-qt $(KOFFICE_LIBS) $(POPPLER_LIBS) -lpoppler-tqt $(KOFFICE_LIBS) $(POPPLER_LIBS)
noinst_HEADERS = kis_pdf_import.h kis_pdf_import_widget.h noinst_HEADERS = kis_pdf_import.h kis_pdf_import_widget.h
libchalkpdfimport_la_SOURCES = kis_pdf_import.cpp pdfimportwidgetbase.ui \ libchalkpdfimport_la_SOURCES = kis_pdf_import.cpp pdfimportwidgetbase.ui \

@ -1,4 +1,5 @@
# Compile the pdf import filter only if Poppler is available # Compile the pdf import filter only if Poppler is available
PKG_CHECK_MODULES(POPPLER, poppler-qt >= 0.5.1, have_poppler=yes, have_poppler=no) # PKG_CHECK_MODULES(POPPLER, poppler-qt >= 0.5.1, have_poppler=yes, have_poppler=no)
have_poppler=yes
AM_CONDITIONAL(include_PDF, test "x$have_poppler" = xyes) AM_CONDITIONAL(include_PDF, test "x$have_poppler" = xyes)

Loading…
Cancel
Save