Meanwhile, put the onions, tomatoes, tomatillos, and garlic on a clean baking sheet and roast in the oven until the vegetables are slightly charred, about 7 minutes. Take the pan out of the oven and set it aside. Combine the prunes, apricots, and raisins with the red wine in a medium saucepan. Bring it to a strong simmer and cook until the fruit has absorbed most of the wine and the remaining liquid is syrupy, about 10 minutes. Set aside.