Note that they have switched to GPLv3, making a combination of gs and pdftex/luatex/*tex, which are still GPLv2, impossible. I will write (again) to Derek. He once said he would not necessarily be opposed to releasing xpdf under GPLv2+3.