I have change the WProgram.h to arduine.h
That's not all you have to change. The error messages are caused because the compiler can't find "send" and "receive" methods in the TwoWire class. That is because those methods were renamed in V1. If you edit DS1307new.cpp and change "send" to "write" and change "receive" to "read" that will get rid of those errors.
Pete