Comment 3 for bug 409034

Revision history for this message
Chris Coulson (chrisccoulson) wrote : Re: FTBFS because uim does not detect libgnomeui-2.0

Thanks for your work there. However, whilst forcing CFLAGS and LDFLAGS in debian/rules will make the package build, it will cause every binary in the package to be linked against libgnomeui-2.0, won't it? This will then mean that all the final binary packages will pull in the libgnomeui dependency even if they don't need them.

I think the correct way to fix this is to modify configure.ac and use PKG_CHECK_MODULES to get the LDFLAGS and CFLAGS for libgnomeui-2.0 and export them in such a way that only uim-toolbar-applet is linked against this library. With this method, the only binary package which will depend on libgnomeui will be uim-applet-gnome. Do you agree?

Would you mind working on this? (or perhaps checking if it is still an issue in uim 1.5.6)

Thanks :)