Description of problem: /usr/bin/pdfopt is missing from ghostscript in Fedora > 18. The manpages referring to it are still being shipped: # rpm -qlp ghostscript-9.07-2.fc19.x86_64.rpm | grep pdfopt /usr/share/man/de/man1/pdfopt.1.gz /usr/share/man/man1/pdfopt.1.gz Version-Release number of selected component (if applicable): ghostscript-9.07-2.fc19.x86_64 How reproducible: cf. above. Actual results: The ghostscript package ships manpages without corresponding binaries. Previous releases had contained /usr/bin/pdfopt Expected results: Either the manpages should not be shipped or the binary be added. I don't know what is intended. Additional info: - Lack of pdfopt causes FTBFS of other packages.
Enhancements to the pdfwrite driver have made pdfopt redundant so it was removed upstream. They forgot to remove the manpages until after the 9.07 release. Which packages are using pdfopt during build?
(In reply to comment #1) > Enhancements to the pdfwrite driver have made pdfopt redundant so it was > removed upstream. They forgot to remove the manpages until after the 9.07 > release. I do not understand. How can a driver enhancement replace a script/program? What are people, who have been using /usr/bin/pdfopt, supposed to use now? > Which packages are using pdfopt during build? I encountered this issue when investigating sdcc's FTBS https://bugzilla.redhat.com/show_bug.cgi?id=914508 For now, in sdcc, I resorted to using configure ... PDFOPT="/bin/cp" which, as AFAICT, replaces running pdfopt in sdcc copying around files. [Full story in sdcc's master in Fedora's git - I commited my sdcc changes and rebuilt sdcc just a couple of minutes ago]
Here's the explanation in the commit log: commit 260ddb3e53ffe852a8994dd00719931ca3f2beec Author: Ken Sharp <ken.sharp> Date: Fri Sep 28 14:34:27 2012 +0100 With the addition of linearisation to pdfwrite, pdfopt.ps has become redundant. Since it is difficult to maintain, has a number of bugs, and is believed not to work properly anyway, it is now deprecagted and hence removed from the repository.
(In reply to comment #3) > Here's the explanation in the commit log: > > commit 260ddb3e53ffe852a8994dd00719931ca3f2beec > Author: Ken Sharp <ken.sharp> > Date: Fri Sep 28 14:34:27 2012 +0100 > > With the addition of linearisation to pdfwrite, pdfopt.ps has become > redundant. Since it is difficult to maintain, has a number of bugs, and > is > believed not to work properly anyway, it is now deprecagted and hence > removed from the repository. OK, they are saying pdfopt is functionally not required anymore. They missed they have broken the UI, without prior warning or deprecation notice.
ghostscript-9.07-10.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ghostscript-9.07-10.fc19
Package ghostscript-9.07-10.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ghostscript-9.07-10.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13173/ghostscript-9.07-10.fc19 then log in and leave karma (feedback).
ghostscript-9.07-10.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
I can't find pdfopt on fedora 21. I have ghostscript-9.15-6.fc21.x86_64 already installed. Any idea?
It was removed upstream - see comment #3.