update motion package, add a patch to honor CPPFLAGS, explicitely remove database...