Grate the oranges coarsely, remove the fruit from between membranes, and chop. Add the chopped dried apricots. Peel, core, and chop the apples. Peel and finely chop the onion. Add the raisins, brown sugar, ginger, cloves, pepper, and vinegar.
Mix everything well in a kettle and simmer gently until thick and soft, about 1 hour. Seal in sterile jars.