[Pkg-pascal-devel] Bug#823706: Bug#823706: lazarus opengl
Abou Al Montacir
abou.almontacir at sfr.fr
Fri Nov 4 20:55:52 UTC 2016
Hi All,
On Fri, 2016-11-04 at 14:40 +0100, Michalis Kamburelis wrote:
> "2016-11-04 9:47 GMT+01:00 Paul Gevers <elbrus at debian.org>:
> > I don't know how to build the component without a Makefile(.fpc). Would
> > it be sufficient (a little hackish) for now (as you mention a wizard) to
> > just make sure that the *.lpk are included (in lcl-units-1.6 as the
> > other lpk files)?
>
> The way to compile Lazarus package is either to use Lazarus GUI, or
> (from command-line) just call the "lazbuild xxx.lpk". This will call
> fpc with appropriate options underneath.
Michalis explained it well!
>
That being said, simply providing sources for these packages, and
> making sure they compile "out of the box" with the current Lazarus +
> FPC in Debian, would be probably enough for practical uses. You can
> test it e.g. by compiling Castle Game Engine package in
> "packages/castle_components.lpk" -- it has the "LazOpenGLContext"
> package in it's dependencies. If it compiles OK, you should be able to
> compile any LCL-based example in the engine, like
> "examples/lazarus/model_3d_viewer/model_3d_viewer.lpi".
>
All these files (applications and packages, *.lpi and *.lpk) can be
> either compiled from GUI, or using the "lazbuild" from command-line.
>
Please note that *.lpk files should be included in binary packages not in source
one because they are mandatory for lazarus to resolve dependencies and paths of
ppu files as explained one by Mattias Gaertner.
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20161104/29602243/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20161104/29602243/attachment-0001.sig>
More information about the Pkg-pascal-devel
mailing list