[Gtkradiant] Bundled libraries

bebo_sudo bebo.sudo at gmail.com
Mon Apr 1 18:51:53 EDT 2013


Il 01/04/2013 22:32, Christopher ha scritto:
> If you're not a programmer you're going to have a hard time making
> Radiant comply with having to have packages externally. Radiant
> requires the libraries it uses to perform functions, e.g. the image
> libraries to load textures. Removing the code would mean Radiant
> couldn't show textures at all.
>
> What you would have to do is basically leave the code as-is, change
> the compiling script to not statically-link the libraries, then write
> some code to load the libraries when it loads. I haven't looked at the
> code base in ages and I haven't used dynamically loaded libraries yet
> in any of my own code so I don't know the specifics on making that
> work.
>
> On Mon, Apr 1, 2013 at 2:58 PM, bebo_sudo<bebo.sudo at gmail.com>  wrote:
>> Il 01/04/2013 18:46, Christopher ha scritto:
>>
>>> Why not dynamically load the library instead of stripping the
>>> functions they provide?
>>>
>>> On Mon, Apr 1, 2013 at 12:12 PM, bebo_sudo<bebo.sudo at gmail.com>  wrote:
>>>> 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:
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=836840#c15
>>>>
>>>> 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
>>>> libs?
>>>>
>>>> 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:
>>>> http://pastebin.com/FY3f2rEA
>>>>
>>>> How can I avoid scons to build these libraries?
>>>>
>>>>
>>>> Greetings,
>>>> bebo
>>>> _______________________________________________
>>>> Gtkradiant mailing list
>>>> Gtkradiant at icculus.org
>>>> http://icculus.org/mailman/listinfo/gtkradiant
>>> _______________________________________________
>>> Gtkradiant mailing list
>>> Gtkradiant at icculus.org
>>> http://icculus.org/mailman/listinfo/gtkradiant
>> Thank's for your reply.
>>
>> I have to tell I'm not a programmer and I don't know exactly what
>> "dinamically load" means.
>> I think the fedoraproject want packages done in this way because if every
>> package would bundle in itself its libs, the fedora repositories would be
>> very heavy.
>>
>> Are there differences between the embedded version and the version i take
>> from the fedora repos? didn't have the same functions?
>>
>> If you want to contribute to packaging gtkradiant for fedora I will be glade
>> to see you on bugzilla.
>>
>> _______________________________________________
>> Gtkradiant mailing list
>> Gtkradiant at icculus.org
>> http://icculus.org/mailman/listinfo/gtkradiant
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at icculus.org
> http://icculus.org/mailman/listinfo/gtkradiant
But, using the same libraries, shouldn't it be the same thing?

E.g. the libjpeg.so.62 library, isn't the same of the one inside this 
package?
dl.fedoraproject.org/pub/fedora/linux/releases/18/Everything/x86_64/os/Packages/l/libjpeg-turbo-1.2.1-3.fc18.i686.rpm


More information about the Gtkradiant mailing list