The global community is to sign a new compact on climate change by 2015.