[Gtkradiant] Bundled libraries

bebo_sudo bebo.sudo at gmail.com
Mon Apr 1 12:12:20 EDT 2013

Hi folks,
in my attempt to do the, by now famous, rpm for fedora, I bumped into 
the embedded libraries, libpng and libjpeg.
The fedoraproject doesn't allow built-in libraries in rpm, so I have to 
remove them, as said here by Hans de Goede:

The needed libraries will be required by the rpmbuild itself at the 
moment of the install.
Now my question is: how to patch the sources to remove any sort of these 

I tried to remove the most part of files in which I encountered the 
"png" or "jpeg" words but I think I made some errors.
Here I uploaded my attempt of a patch: http://pastebin.com/iG4nDEWf
and here the exit status when I try to build the rpm: 

How can I avoid scons to build these libraries?


More information about the Gtkradiant mailing list