Makefile.am: Compile bannertopdf with QPDF instead of Poppler
Enable compilation of 'bannertopdf' filter by default and replace Poppler
with QPDF as its compilation dependency.
Fixes:
@@ -119,9 +119,7 @@ bannerfiles = \
banners/topsecret \
banners/unclassified
-if ENABLE_POPPLER
pkgbanner_DATA += $(bannerfiles)
-endif
EXTRA_DIST += $(bannerfiles)
@@ -612,6 +610,7 @@ pkgfilter_PROGRAMS += \
rastertopclx \
texttopdf \
rastertopdf \
+ bannertopdf \
rastertops
if ENABLE_URFTOPDF
pkgfilter_PROGRAMS += \
@@ -619,7 +618,6 @@ pkgfilter_PROGRAMS += \
endif
if ENABLE_POPPLER
pkgfilter_PROGRAMS += \
- bannertopdf \
pdftoraster
if ENABLE_IJS
pkgfilter_PROGRAMS += \
@@ -673,7 +671,7 @@ bannertopdf_CFLAGS = \
$(CUPS_CFLAGS) \
$(LIBJPEG_CFLAGS) \
$(LIBPNG_CFLAGS) \
- $(POPPLER_CFLAGS) \
+ $(LIBQPDF_CFLAGS) \
$(TIFF_CFLAGS) \
$(FONTCONFIG_CFLAGS) \
-I$(srcdir)/fontembed/
@@ -684,7 +682,7 @@ bannertopdf_LDADD = \
$(CUPS_LIBS) \
$(LIBJPEG_LIBS) \
$(LIBPNG_LIBS) \
- $(POPPLER_LIBS) \
+ $(LIBQPDF_LIBS) \
$(TIFF_LIBS) \
$(FONTCONFIG_LIBS) \
libfontembed.la
