Re: New libthai and pango
- To: Josselin Mouette <joss@debian.org>
- Cc: debian-gtk-gnome@lists.debian.org
- Subject: Re: New libthai and pango
- From: Theppitak Karoonboonyanan <thep@linux.thai.net>
- Date: Wed, 1 Apr 2009 09:27:13 +0700
- Message-id: <75bffeb70903311927v40dc39c3h5b72e46052d09a13@mail.gmail.com>
- In-reply-to: <75bffeb70903310355w2705b557ybe9e867750e50120@mail.gmail.com>
- References: <75bffeb70903300622q1cadfbc1rcf322cd136e885b7@mail.gmail.com> <20090330162644.GA1781@fox.dooz.org> <1238483621.513.2.camel@tomoyo> <75bffeb70903310147g49419c0co455f0542f7f58e3b@mail.gmail.com> <E1Loahd-0004bp-ST@diva.malsain.org> <75bffeb70903310355w2705b557ybe9e867750e50120@mail.gmail.com>
On Tue, Mar 31, 2009 at 5:55 PM, Theppitak Karoonboonyanan
<thep@linux.thai.net> wrote:
> On Tue, Mar 31, 2009 at 4:56 PM, Josselin Mouette <joss@debian.org> wrote:
>> However, thinking about it again, if you add symbol versions in libdatrie1,
>> this should work. Since pango doesn't actually use any symbols from
>> libdatrie, all required symbols will be required with a version, so the
>> correct ones will be selected.
>
> I suppose so. However, I've tried it and found no luck so far.
> For the experiment, I've used "-Wl,--version-script=libdatrie.map"
> LDFLAG instead of libtool -export-symbols flag, and list all
> currently exported symbols under DATRIE_0.2 { global: ...; };
> (with a "local: *" catch all in it, of course). Then I rebuilt both
> libdatrie and libthai.
>
> ...
>
> However, unstable pango still doesn't work. It crashes leafpad
> and gucharmap, but not gedit. And when checking process map,
> gedit doesn't care about LD_LIBRARY_PATH and only loads libthai
> from /usr/lib. But the other two do load it from /usr/local/lib, and crash.
>
> I must be missing something here. :-/
I have got a dirty hack: by adding symbol versioning to libdatrie0.
This solves the upgrading crash without breaking the current apps in
unstable. But I'm not sure if it's a good practice in terms of package
maintenance. Do you think doing so is considered ABI breakage?
Probably, adding Conflicts is the most suitable solution.
Regards,
--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
Reply to: