Open Mac screenshot on Fedora

Paul Howarth paul at city-fan.org
Wed Feb 2 08:17:51 UTC 2005


On Tue, 2005-02-01 at 22:05 +0100, Hannes Mayer wrote:
> Paul Howarth wrote:
> > On Tue, 2005-02-01 at 14:14 -0600, Richard Humphrey wrote:
> > 
> >>According to my Mac source, it is a pict file and the only thing he
> >>knows willopen it is Photoshop.
> > 
> > 
> > The netpbm-progs package contains a program picttoppm that will convert
> > a pict file to a portable pixmap, which in turn can be converted into
> > many different formats. See "man picttoppm" for details.
> > 
> > Paul.
> 
> Thank you very much Richard and Paul!
> 
> I have netpbm-progs installed, but picttoppm is missing. The man page
> is there, but the binary picttoppm is missing.
> I verified the rpm netpbm-progs-10.19-7.i386.rpm at
> http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/
> and the binary is missing there too.
> 
> So I went to the netpbm homepage
> http://netpbm.sourceforge.net/
> and compiled it from source in order to get picttoppm.
> Converting the screenshots worked and I can open them in GIMP!
> 
> Thanks a lot again :-)

I was going to raise a bug about the missing picttoppm binary in the
netpbm-progs package but when I looked at the spec file and the patches
for netpbm, I discovered that picttoppm was deliberately removed,
apparently for security reasons. The patch netpbm-10.23-security.patch
removes picttoppm from the list of programs to build in the Makefile,
and adds the following line to the start of the picttoppm code:

#error "Unfixable. Don't ship me"

So instead I have raised a bug about the package containing a manpage
for a program that is not shipped:

https://bugzilla.redhat.com/beta/show_bug.cgi?id=146863

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list