File xpdf-poppler-set-icon.patch of Package xpdf-poppler
Set HAVE_X11_XPM_H and link against -lXpm to set the application icon in xpdf --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -LIBS=$(shell pkg-config --libs poppler) -lXm +LIBS=$(shell pkg-config --libs poppler) -lXm -lXpm POPPLERBASE=$(strip $(shell pkg-config --cflags poppler)) INCLUDES=$(POPPLERBASE) $(POPPLERBASE)/goo $(POPPLERBASE)/splash -CPPFLAGS+= $(INCLUDES) -DHAVE_DIRENT_H +CPPFLAGS+= $(INCLUDES) -DHAVE_DIRENT_H -DHAVE_X11_XPM_H xpdf: CoreOutputDev.o GlobalParamsGUI.o ImageOutputDev.o PDFCore.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o parseargs.o xpdf.o $(CXX) $(CXXFLAGS) $(LDFLAGS) -o xpdf *.o $(LIBS)