After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 441128 - glib required for libtracker-gtk is too high for Dapper
glib required for libtracker-gtk is too high for Dapper
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Search Tool
unspecified
Other All
: Normal critical
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-05-25 07:52 UTC by berteh
Modified: 2007-06-30 23:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that adds 2 functions from glib2.12 source into tracker (4.06 KB, patch)
2007-05-25 08:01 UTC, berteh
none Details | Review
patch that defines functions from glib2.12 in case this lib is lower version (11.18 KB, patch)
2007-05-25 09:53 UTC, berteh
none Details | Review

Description berteh 2007-05-25 07:52:15 UTC
Steps to reproduce:
1. install libglib 2.10
2. run ./autogen.sh --prefix=/usr --sysconfdir=/etc
3. run make ... that fails. 


Stack trace:
.../../src/libtracker-gtk/.libs/libtracker-gtk.so: undefined reference to
`g_time_val_from_iso8601'
make[3]: quittant le répertoire 
"/home/bertrand/Devel/TrackerCVS/tracker/trunk/src/tracker-search-tool"

Other information:
Dapper ships with glib 2.10, while the above function was introduced in 2.12.
Comment 1 berteh 2007-05-25 08:01:34 UTC
Created attachment 88784 [details] [review]
patch that adds 2 functions from glib2.12 source into tracker

the patch removes requirement from glib2.12 down to 2.10 by copying 2 functions from glib source code into src/libtracker-gtk/tracker-metadata-tile.c.

verified and running on Dapper with glib2.10
Comment 2 berteh 2007-05-25 09:53:42 UTC
Created attachment 88788 [details] [review]
patch that defines functions from glib2.12 in case this lib is lower version

patch that adds some functions from glib2.12 source into tracker in order to remove requirement from glib2.12 down to 2.10 by copying functions
from glib source code into src/libtracker-gtk/tracker-metadata-tile.c and src/tracker-preferences/tracker-configuration.c

uses the already defined HAVE_RECENT_GLIB variable from configure.ac in order to define missing functions when required.

verified and running on Dapper with glib2.10
Comment 3 Jamie McCracken 2007-06-30 23:14:03 UTC
committed