[Lazarus] Lazarus add-in for fpmake

Joost van der Sluis joost at cnoc.nl
Tue Nov 30 14:46:51 CET 2010


Hi all,

I've implemented something new for fpmake. It now supports 'add-inns'.
This are regular packages, but they can be used to compile fpmake's. So
you can extend the possibilities in fpmake files. 

For example there is now the 'lazmkunit' package. With this package
installed it's easy to add the installation of lazarus-packages.

To configure this addin, you have to add the following line to your
fppkg.cfg:

FPMakeOptions=--lazarusdir=/home/svn/lazarus

With the proper path to your lazarus-installation, offcourse.

When you now install the lnet package using fppkg, you have to (re)
start Lazarus and then the lnetvisual package is available in the
install/uninstall screen. (The lnetbase package is not needed anymore,
since it's contents are in the fpmake package already)

The same works for the other package available in the fppkg repository
(gecko, webdesign, embweb etc)

Oh, and this all works only with fpc trunk for now. It will be merged to
2.4.3 later.

And there's still one small bug: when you install lazmkunit and the
package in one fppkg run, it will fail to work on the first run. Just
try the installation again.

Joost.





More information about the Lazarus mailing list