[Pkg-pascal-devel] Bug#823706: Bug#823706: Lazarus 1.6 source files are missing

Paul Gevers elbrus at debian.org
Sun Oct 20 17:51:18 BST 2019


Hi Abou,

On 19-10-2019 16:05, Abou Al Montacir wrote:
> More analysis of the issue showed that we want the lpk file containĀ 
> 
> <AutoUpdate Value="Manually"/>
> 
> when the lazarus-src package is not installed, but we probably want to have
> 
> <AutoUpdate Value="AsNeeded"/>
> 
> when lazarus-src is installed.

Ack.

> So one solution is to package both file versions and used dpkg-divert to
> override lcl-units lpk files by those of lazarus-src when installed.

Uch, I'm not overly enthusiastic about this solution. I guess it's
mostly unexpected by Debian users that the same file can have different
content depending on which package set is installed. But, as you already
implemented it, let's see how it goes.

> The other option is that that post install script of lazarus-src looks
> for the installed lpk-files and modifies them, but this is probably an
> unwanted behavior, especially that some lcl-units may be installed after
> lazarus-src installation.

And that's even less pretty. I'm glad you didn't choose this option.

> Any other idea?

If this is the way Lazarus works, I think it's best to just depend on
lazarus-src. That ain't pretty, but it's at least consistent with how
people expect Debian to install files.

Paul

By the way, I think the postinst and preinst shouldn't have been
committed to git, right? They're generated during package build.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20191020/cb9573b9/attachment.sig>


More information about the Pkg-pascal-devel mailing list