FYI, the comments below where just added to the Debian bug.

I guess the Debian maintainer does not agree with your analysis, but
feel free to comment.

Paul

-------- Original Message --------
Subject:        Re: Bug#690974: lazarus: lazarus-x.y.z should depend on
fpc-source and the package containing *.lpk
Date:   Wed, 31 Oct 2012 21:37:05 +0100

> As the original report was quite long, and the reporter apologized for his 
> tone
> in a later message, I try to summarize the problems as I understand it. But 
> please
> also read the original report if I am not clear, or you suspect I might have
> misunderstood.
>
> The original bugreport reports three issues:
> 1) fpc-source is in the recommends of the lazarus package, where it (I think 
> the
>    IDE) fails without it, i.e. when you are not installing recommended 
> packages.

IDE does not need in any way source code to run or to build programs, it
only needs them to make code tool functionality working, which, I admit,
is the most important feature in Lazarus. However, as the sources are
quite big, and as user can develop his own code, not using any LCL
component, these several GiB are not mandatory strictly speaking, but an
add-on that enhances the functionality, thus the Recommends relationship.

Aptitude will select source package automatically, unless an other
source version is installed, but I consider this behavior right.

> 2) lcl-x.y.z is in the recommends of the lazarus package, while the IDE fails
>    without it, i.e. when you are not installing recommended packages, but see
>    number 3.

You can perfectly use Lazarus as Pascal editor without having LCL
installed. You may want to use it for example for education purpose or
for developing simple Pascal programs without needing neither LCL nor
sources. I personally write filters (text processing programs) that do
not use any advanced feature, and consider Lazarus as my preferred
Pascal editor (ViM for other languages). I don't need to have LCL
sources. Consider running Lazarus on tablet or in Android Debian chroot.

> 3) *.lpk files are (as the reporter says) part of the IDE source code, so why
>    are they in the lcl-units package instead of the lazarus-src package (which
>    lazarus-x.y.z depends on)?

Lazarus PaKage files are required by code tool and compilation scheduler
(make equivalent) to find units, include files and other required
resources. These are not related to sources but to .ppu/.o files. They
should be packaged with units in order to allow Lazarus packaging model
to work.

A package could not be used by editor without .lpk file, while it could
be used without its sources. In the latter case, compilation will work
but not code completion.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1068109

Title:
  lazarus does not install *.lpk files in components, IDE won't even
  start without dozens of error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lazarus/+bug/1068109/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to