1 diff -ur fbida-2.12/GNUmakefile fbida-2.12-cairo/GNUmakefile
2 --- fbida-2.12/GNUmakefile 2016-05-01 20:29:28.027653192 +0200
3 +++ fbida-2.12-cairo/GNUmakefile 2016-05-01 20:27:24.416185030 +0200
6 PKGS_FBI := freetype2 fontconfig libdrm libexif
7 PKGS_FBPDF := libdrm poppler-glib gbm epoxy cairo-gl
8 -HAVE_DEPS := $(shell $(PKG_CONFIG) $(PKGS_FBI) $(PKGS_FBPDF) && echo yes)
10 -ifeq ($(HAVE_LINUX_FB_H),yes)
11 -ifneq ($(HAVE_DEPS),yes)
14 - @echo "Build dependencies missing for fbi and/or fbpdf."
15 - @echo " fbi needs: $(PKGS_FBI)"
16 - @echo " fbpdf needs: $(PKGS_FBPDF)"
17 - @echo "Please install. You can try 'make yum' (needs sudo)."
21 - sudo $@ install $(patsubst %,"pkgconfig(%)",$(PKGS_FBI) $(PKGS_FBPDF))
25 +HAVE_FBI_DEPS := $(shell $(PKG_CONFIG) $(PKGS_FBI) && echo yes)
26 +HAVE_FBPDF_DEPS := $(shell $(PKG_CONFIG) $(PKGS_FBPDF) && echo yes)
32 TARGETS := exiftran thumbnail.cgi
33 ifeq ($(HAVE_LINUX_FB_H),yes)
34 - TARGETS += fbi fbpdf kbdtest
35 +ifeq ($(HAVE_FBI_DEPS),yes)
38 +ifeq ($(HAVE_FBPDF_DEPS),yes)
43 ifeq ($(HAVE_MOTIF),yes)
46 $(INSTALL_BINARY) exiftran $(bindir)
47 $(INSTALL_DATA) $(srcdir)/exiftran.man $(mandir)/man1/exiftran.1
48 ifeq ($(HAVE_LINUX_FB_H),yes)
49 +ifeq ($(HAVE_FBI_DEPS),yes)
50 $(INSTALL_BINARY) fbi $(bindir)
51 - $(INSTALL_SCRIPT) fbgs $(bindir)
52 - $(INSTALL_SCRIPT) fbpdf $(bindir)
53 $(INSTALL_DATA) $(srcdir)/fbi.man $(mandir)/man1/fbi.1
55 +ifeq ($(HAVE_FBPDF_DEPS),yes)
56 + $(INSTALL_SCRIPT) fbpdf $(bindir)
58 + $(INSTALL_SCRIPT) fbgs $(bindir)
59 $(INSTALL_DATA) $(srcdir)/fbgs.man $(mandir)/man1/fbgs.1
61 ifeq ($(HAVE_MOTIF),yes)