<html><head></head><body><div>Hi All,</div><div><br></div><div>On Fri, 2016-11-04 at 14:40 +0100, Michalis Kamburelis wrote:</div><blockquote type="cite"><pre>"2016-11-04 9:47 GMT+01:00 Paul Gevers <<a href="mailto:elbrus@debian.org">elbrus@debian.org</a>>:
<blockquote type="cite">
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)?</blockquote></pre></blockquote><blockquote type="cite"><pre>

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.</pre></blockquote><div>Michalis explained it well!</div><blockquote type="cite"><pre>
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.
</pre></blockquote><div><div>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.<br class="Apple-interchange-newline">-- <br></div><span style="font-family: monospace; white-space: pre;">Cheers,
Abou Al Montacir</span></div></body></html>