Stir everything together in a pot and put on medium heat until all the sugar melts. Stir again, lower the heat to just above low and simmer for about 35 to 45 minutes, depending on how large the cooking surface of your cooking vessel. Don't forget to stir occasionally to make sure nothing sticks and burns. If the compote starts sticking, your heat's too high, and you should adjust it down.