Hi All, On Fri, 2016-11-04 at 14:40 +0100, Michalis Kamburelis wrote: > "2016-11-04 9:47 GMT+01:00 Paul Gevers <elb...@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
signature.asc
Description: This is a digitally signed message part