[Pkg-pascal-devel] Lazarus IDE translation files.

Abou Al Montacir abou.almontacir at sfr.fr
Tue Jul 15 23:13:52 UTC 2014


Hi Paul,

On Tue, 2014-07-15 at 11:34 +0200, Paul Gevers wrote:
> Hi
> 
> On 14-07-14 23:12, Abou Al Montacir wrote:
> > I have tried a quick build for recently pushed Lazarus 1.2.4 and noticed
> > the following warnings:
> > dh_install: usr/lib/lazarus/1.2.4/languages/lazaruside.*.po exists in
> > debian/tmp but is not installed to anywhere
> 
> Interesting. I also did a quick build, but didn't get this warning. You
> forgot to regenerate the control file, and that may be the source of the
> problem. In my case these files were put into
> lazarus-ide-1.2.4_1.2.4+dfsg-1_amd64.deb.
Yes indeed, that was the cause, fixed and uploaded

> > The issue with this is that we ship 2 IDE versions Qt and GTK. So the
> > natural way to go is to create a lazarus-ide-common and ship them inside
> > while making both packages depends on this arch-all new packages.
> > 
> > However this adds a new package and probably we won't do this. That's
> > why I'd propose to put them in the meta package lazarus-ide which
> > becomes then no more a meta-package but a real one. Then
> > lazarus-ide-gtk2 and lazaarus-ide-qt4 will both depend on it while it
> > depends on one of them.
> 
> This is the current situation, if I am right. However, now you mention
> it we have a circular dependency by doing this and if I remember well,
> that is either not allowed, or at least discouraged. I will try to find
> the document where I saw this.
I saw you other mail too.

> > Also it may make sense to create a lazarus-i18n or lazarus-i18n-*
> > packages, but I feel this will not please many users.
> > 
> > Does someone have any better idea, other than symbolic links cross
> > packages?
> 
> For now, just stick with the current location. But I think the
> discussion also triggers me to fix something else. There are a lot of
> files in the current packaging which violate the FHS, i.e. arch
> independent files in /usr/lib/ instead of /usr/share/. Lintian [1]
> already warns about 334 images alone, and that is far from complete. Any
> idea how to solve this without a huge amount of symlinks?
I think that creating a lazarus-i18n is a good thing. Then I'd propose
that all the internationalization files go inside, not only those for
IDE but also for other tools.

For the path fixes, we will probably need to patch the sources so that
the tools go and look for arch independent files in the right location.
But then we probably will need to update these patches for each new
version as it may be complicated to convince upstream to accept them.
> Paul
> 
> [1] http://lintian.debian.org/maintainer/claviola@debian.org.html#lazarus

Cheers,
Abou Al Montacir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140716/b63a94fb/attachment.sig>


More information about the Pkg-pascal-devel mailing list