While trying to build poppler-0.5.4 I discovered several failures because 'fontcofig/fontconfig.h' was not found. Example: ------------------------------------------------------------------------------ In file included from pdffonts.cc:19: ../poppler/GlobalParams.h:18:35: error: fontconfig/fontconfig.h: No such file or directory ../poppler/GlobalParams.h:323: error: ISO C++ forbids declaration of 'FcConfig' with no type ../poppler/GlobalParams.h:323: error: expected ';' before '*' token ------------------------------------------------------------------------------ I fixed that through appending $(FONTCONFIG_CFLAGS) to the INCLUDES variable of several Makefile.in files.
Created attachment 7147 [details] [review] Patch for including $(FONTCONFIG_CFLAGS)
Comment on attachment 7147 [details] [review] Patch for including $(FONTCONFIG_CFLAGS) patching the Makefile.in files was not correct
Created attachment 7148 [details] [review] Patch for including $(FONTCONFIG_CFLAGS) and $(FONTCONFIG_LIBS) this patch adds $(FONTCONFIG_CFLAGS) and $(FONTCONFIG_LIBS) to some Makefile.in files
Thanks. Fixed now.
*** Bug 8820 has been marked as a duplicate of this bug. ***
*** Bug 9055 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.