Add dried cranberries and some juice to a pot and bring to a boil over low heat. Simmer for 20 minutes. Drain berries in a colander and collect the juice. Peel pumpkin, remove seeds, and cut into cubes or coarsley grate it. Peel shallots and garlic, and finely dice it. Wash rosemary, shake dry, remove needles from twigs, and chop it up.