[Tracker] Improve linking against 3rd party libs



Hi,

I noticed with amazement, that tracker-store has a dependency against
libgtk [1], also the dependencies of e.g. libtracker-client-8.0-0 are
not ideal.
I started working on that a bit, and attached is a serious of patches.
To see the effect, I prepate a before and after of a few selected
(Debian) binary packages

before
======
Package: libtracker-client-0.8-0
Depends: libc6 (>= 2.3.6-6~), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2
(>= 0.78), libdevkit-power-gobject1 (>= 1:0.9.1), libglib2.0-0 (>=
2.24.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>= 1.14.0), libunac

Package: libtracker-extract-0.8-0
Depends: libc6 (>= 2.3.6-6~), libexempi3 (>= 2.1.0), libexif12,
libglib2.0-0 (>= 2.20.0), libgtk2.0-0 (>= 2.18.0), libiptcdata0,
libtracker-client-0.8-0 (>= 0.8.1)

Package: libtracker-miner-0.8-0
Depends: libc6 (>= 2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>=
0.78), libdevkit-power-gobject1 (>= 1:0.9.1), libglib2.0-0 (>=
2.24.0), libgnome-keyring0 (>= 2.22.2), libgtk2.0-0 (>= 2.18.0),
libpango1.0-0 (>= 1.14.0), libtracker-client-0.8-0 (>= 0.8.1),
libunac1

Package: tracker
Depends: libc6 (>= 2.3.6-6~), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2
(>= 0.78), libdevkit-power-gobject1 (>= 1:0.9.1), libglib2.0-0 (>=
2.24.0), libgtk2.0-0 (>= 2.18.0), libpango1.0-0 (>= 1.14.0),
libsqlite3-0 (>= 3.6.23.1), libtracker-client-0.8-0 (>= 0.8.1),
libtracker-miner-0.8-0 (>= 0.8.0), libunac1, libuuid1 (>= 2.16),
zlib1g (>= 1:1.1.4), shared-mime-info, dbus

after
=====
Package: libtracker-client-0.8-0
Depends: libc6 (>= 2.3.6-6~), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2
(>= 0.78), libdevkit-power-gobject1 (>= 1:0.9.1), libglib2.0-0 (>=
2.24.0)

Package: libtracker-extract-0.8-0
Depends: libc6 (>= 2.3.6-6~), libexempi3 (>= 2.1.0), libexif12,
libglib2.0-0 (>= 2.20.0), libiptcdata0, libtracker-client-0.8-0 (>=
0.8.1)

Package: libtracker-miner-0.8-0
Depends: libc6 (>= 2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>=
0.78), libglib2.0-0 (>= 2.24.0), libgnome-keyring0 (>= 2.22.2),
libtracker-client-0.8-0 (>= 0.8.1)

Package: tracker
Depends: libc6 (>= 2.3.6-6~), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2
(>= 0.78), libdevkit-power-gobject1 (>= 1:0.9.1), libglib2.0-0 (>=
2.24.0), libpango1.0-0 (>= 1.14.0), libsqlite3-0 (>= 3.6.23.1),
libtracker-client-0.8-0 (>= 0.8.1), libtracker-miner-0.8-0 (>= 0.8.0),
libunac1, libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), shared-mime-info,
dbus


For now I concentrated on unac, pango, devicekit-power, hal and
gdkpixbuf and only link those libraries/binaries against them, when
they actually use them.
I've tested with binutils-gold to not break anything, but a review is
appreciated.
If possible I'd like to see that merged into the stable branch, too.

Cheers,
Michael


[1] http://packages.debian.org/experimental/tracker
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: 0001-Improve-UNAC-linking.patch
Description: Text Data

Attachment: 0002-Improve-PANGO-linking.patch
Description: Text Data

Attachment: 0003-Improve-DEVICEKIT_POWER-linking.patch
Description: Text Data

Attachment: 0004-Improve-HAL-linking.patch
Description: Text Data

Attachment: 0005-Improve-GDKPIXBUF-linking.patch
Description: Text Data



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