gmt: use resource
libraw: use resources