Re: [Tracker] Using older glib in tracker



On Tue, 2013-01-29 at 11:01 +0100, Marcin Mielniczuk wrote:

Hi,

I was asking whether it is possible to use GLib 2.20 or 2.22 to build
Tracker 0.10+ instead of Glib 2.28+ to build

ok

The problem is that glib upgrade is not that easy. There are some
closed source packages which segfault with glib 2.29 for example.

That means that your closed source packages probably have a serious bug.

Of course can't the Tracker project take into account bugs of closed
source packages. You'll have to workaround this (you can install a
specific version of GLib in a directory and use LD_LIBRARY_PATH).

My advice for such a situation is to use such a workaround anyway, as
you can't block yourself from upgrading GLib forever and yet your closed
source packages will always have to work with that specific GLib
version. So you'll need LD_LIBRARY_PATH.

For example:

o. Install old GLib 2.20 in /opt/myclosedapp
o. Install MyClosedApplication in /opt/myclosedapp
o. mv /opt/myclosedapp/bin/myclosedapp /opt/myclosedapp/bin/myclosedapp.orig
o. cat > /opt/myclosedapp/bin/myclosedapp <<EOF
   LD_LIBRARY_PATH=/opt/myclosedapp/lib /opt/myclosedapp/bin/myclosedapp.orig
   EOF
o. chmod +x /opt/myclosedapp/bin/myclosedapp
o. Install latest GLib in /usr (with packages)
o. Install Tracker in /usr (with packages)

Your myclosedapp.orig should now use GLib 2.20.

Kind regards,

Philip


2013/1/29 Philip Van Hoof <philip codeminded be>
        Hi Marcin,
        
        I'm assuming you meant to ask whether it is possible to use
        GLib 2.20 or
        2.22 to build Tracker 0.10 instead of Tracker 2.20/2.22 to
        build.
        
        If the configure.ac script requests a specific version, then
        that
        version is the oldest version that you can use.
        
        Up until last year was Tracker using a lot of very recent
        additions and
        improvements to GLib. Using a lower version than the one
        requested by
        configure.ac will therefor not work (not without patching and
        working
        around not having the feature for which the version in
        configure.ac got
        bumped - which the team generally doesn't / didn't do without
        reason).
        
        For most systems an upgrade of GLib should not be any problem.
        GLib is
        maintained rigidly and upgrades of GLib are generally
        considered safe.
        
        Kind regards,
        
        Philip
        
        On Thu, 2013-01-24 at 16:55 +0100, Marcin Mielniczuk wrote:
        > Hi,
        >
        >
        > Is it possible to use tracker 2.20 (or 2.22) to build
        tracker 0.10 or
        > newer?
        >
        >
        > Regards,
        > --
        > Marcin
        
        > _______________________________________________
        > tracker-list mailing list
        > tracker-list gnome org
        > https://mail.gnome.org/mailman/listinfo/tracker-list
        
        --
        Philip Van Hoof
        Software developer
        Codeminded BVBA - http://codeminded.be
        



-- 
Philip Van Hoof
Software developer
Codeminded BVBA - http://codeminded.be




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