[Pkg-pascal-devel] Installation issue with FPC 2.6.4
Paul Gevers
elbrus at debian.org
Fri Apr 11 09:13:37 UTC 2014
On 10-04-14 21:43, Abou Al Montacir wrote:
> There is currently an installation issue that was introduced by
> 91d65beba371e513fb9b4e0c4f4afd7f7eeee068 when fixing bug#73368.
>
> The issue is that this fix adds a translation files including
> file /usr/share/locale/de/LC_MESSAGES/fpdoc.mo that are naturally
> available on both packages fp-utils-2.6.4 and fp-utils-2.6.2.
>
> One solution could be to rename these file to include the version and
> patch the sources to look for the versioned names. But I'd prefer we
> discuss this before doing it.
>
> Do you see other solutions?
What is upstream stance on this? As I see it, fpc has the gone a long
way to allow co-installation of multiple versions of fpc, or is that all
done in Debian only? This needs to be handled in a similar way. So I
think the translation files need a version appended (as you suggest) or
of course a versioned directory. Unfortunately, I am unsure if the
latter option would work without much more work as most standard
implementations wouldn't expect to look in sub folders of
/usr/local/share/locale/%s/LC_MESSAGES/, but otherwise I think that
would be best. For us an alternative could be (albeit ugly and only half
working, so I don't think we should go that route) is to use the
"update-alternative" scheme.
And the most dirty hack I can think of would be to let the latest
installed package dpkg-divert these files. But that would mean the
earlier installed variants don't have their right translation files
anymore. No go for me.
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140411/7e915985/attachment.sig>
More information about the Pkg-pascal-devel
mailing list