1 Common subdirectories: green.old/debian and green.new/debian
2 diff -u green.old/green.h green.new/green.h
3 --- green.old/green.h 2016-06-12 18:11:56.779434416 -0700
4 +++ green.new/green.h 2016-06-12 18:14:38.830557379 -0700
9 -#include "glib/poppler.h"
11 +#include "gdk-pixbuf/gdk-pixbuf.h"
12 +#include "gdk-pixbuf/gdk-pixbuf-core.h"
13 +#include "gdk-pixbuf/gdk-pixbuf-features.h"
14 +#include "gdk-pixbuf/gdk-pixbuf-enum-types.h"
16 + #define GREEN_FULLSCREEN 0x0001
20 #define GREEN_FULLSCREEN 0x0001
21 diff -u green.old/Makefile green.new/Makefile
22 --- green.old/Makefile 2016-06-12 18:11:56.779434416 -0700
23 +++ green.new/Makefile 2016-06-12 18:13:09.591974048 -0700
25 SDL_CFLAGS := $$(sdl-config --cflags)
26 SDL_LIBS := $$(sdl-config --libs)
28 +GDKPIXBUF_CFLAGS := $$(pkg-config gdk-pixbuf-2.0 --cflags)
29 +GDKPIXBUF_LIBS := $$(pkg-config gdk-pixbuf-2.0 --libs)
31 +GTK_CFLAGS := $$(pkg-config gtk+-2.0 --cflags)
32 +GTK_LIBS := $$(pkg-config gtk+-2.0 --libs)
38 $(INSTALL) green.1 $(MANDIR)/man1/
40 green: main.o green.o sdl.o
41 - $(CC) $^ $(POPPLER_LIBS) $(SDL_LIBS) -o $@
42 + $(CC) $^ $(POPPLER_LIBS) $(SDL_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS) -o $@
44 main.o: main.c green.h
45 - $(CC) $(CONFIG) $(CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
46 + $(CC) $(CONFIG) $(CFLAGS) $(GDKPIXBUF_CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
48 green.o: green.c green.h
49 - $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
50 + $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(GDKPIXBUF_CFLAGS) -o $@
53 - $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(SDL_CFLAGS) -o $@
54 + $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(SDL_CFLAGS) $(GDKPIXBUF_CFLAGS) $(GTK_CFLAGS) -o $@