[Tracker] [Patch] for older glib support



Not sure if this is something that is viable, but apart from Ubuntu
6.06, I have opensuse 10 installed on another pc. It has an older
version of glib (2.8.1) as well as other conifgure-ed libraries.

The attached patch adds a new .h file with a couple of macro wrappers
(tracker_new, tracker_free) around g_slice* and if the version of glib
is < 2.10 (which according to the docs is where g_slice was added) then
uses g_new and g_free. I've limited configure.in to 2.8.1 since that is
the version used in Suse 10 and don't know if it'd work with older glibs.

The changes are not extensive and the more people that can compile
successfully the merrier, even if they aren't perhaps on the cutting
edge. But as I say, feel free to tell me to get lost if this is not
something that anyone'd want to maintain.

regards,
Rich

Attachment: suse10.patch.tar.gz
Description: GNU Zip compressed data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]