Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-11

Lazarus add-in for fpmake

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis

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.

Reply by email

Unknown author
to Joost van der Sluis

Great news !

Wonderful work, Joost :-)

Michael.

Joost van der Sluis wrote 40 lines
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. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email