A couple of points -
Rosmary is quite right, foxes are not 'evil' as such. They are merely opportunistic. However, you do get 'problem' foxes which cause far greater levels of carnage than others, and need removing if you want a peaceful life for your livestock.
Depending on your local hunt, they are often about as much use as a chocolate teapot in removing a fox problem. Your local terrier man, rifle man or such may be a far better option.
Pigs DO NOT deter foxes in any meaningful way, i've had poultry taken from amongst the pigs and have also found plenty of fox scat in the pig pens.
The scent idea works sometimes, but a determined fox isn't stupid, they know that human habitation smells of humans, its the actual humans they are scared of (and even then, not all of the time!).
The only way to deal with a fox problem is to shoot it / snare it / dig it / dog it / trap it.
I'd advise everyone to leave a permanently set fox trap near your poultry.
My condolences Bloomer, one killed my geese recently and it really made me very sad and angry!