Do you have a buildlog?
Attached is my attempt at building. As you can see it fails because your patch is not applied, and therefore it won't find gdk_imlib.h
This is debian/rules:
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
# Add here any variable or target overrides you need.
Unless something is changed in latest cdbs, it used to be mandatory to include /usr/share/cdbs/1/rules/simple-patchsys.mk to be able to use the cdbs simple patch system (or dpatch.mk to use dpatch).
Do you have a buildlog?
Attached is my attempt at building. As you can see it fails because your patch is not applied, and therefore it won't find gdk_imlib.h
This is debian/rules:
#!/usr/bin/make -f
include /usr/share/ cdbs/1/ rules/debhelper .mk cdbs/1/ class/makefile. mk
include /usr/share/
# Add here any variable or target overrides you need.
Unless something is changed in latest cdbs, it used to be mandatory to include /usr/share/ cdbs/1/ rules/simple- patchsys. mk to be able to use the cdbs simple patch system (or dpatch.mk to use dpatch).