[Lazarus] fppkg and lazarus packages
Joost van der Sluis
joost at cnoc.nl
Fri Sep 3 10:44:38 CEST 2010
On Thu, 2010-09-02 at 22:29 +0200, Michael Van Canneyt wrote:
> On Thu, 2 Sep 2010, Joost van der Sluis wrote:
> > Hi all,
> > I've made some changes to fppkg to see if it's pssible to make it more
> > suitable for packages for Lazarus.
> > I've adapted the lnet package so that it installs the lazarus-package
> > files as if they are examples.
> > If you want to try it, you'll probably have to remove old configuration
> > files (rm -rf ~/.fppkg) and run:
> > fppkg update
> > fppkg install lnet
> > Check if everything is ok with 'fppkg list'
> > Now the lazarus-lnet-package files are in
> > ~/.fppkg/share/doc/fpc-lnet/lazaruspackage
> > Maybe we can add scanning of those directories in Lazarus so that
> > packages installed with fppkg which have lazarus-packages with them
> > appear in the packages-installation box?
> > Maybe that way we can make it attractive to use fppkg to install
> > fpc-additions.
> A good idea.
> The original idea I had to make fppkg/fpmake more attractive for the IDE
> was that there would be a dialog in Lazarus that creates a fpmake.pp
> from a lazarus package, and that this is used to build.
Creating fpmake files is not the problem, imho. Offcourse that could be
simplified, but adding the ability to install Lazarus packages at all is
now the first step.
> Secondly, the installer/builder classes in fpmake can be overridden.
> That means you can actually hook fpmake into the lazarus IDE build system.
> These mechanisms are complementary to what you made.
> I'll see if I can make a proof of concept for the former.
That's all not that difficult, but a lot of work, though. ;)
I think that if we can add packages for tiOPF, ZEOS, web-additions,
Gecko etc. People will start using it, even if it's interface is
somewhat console-based. ;)
Then we can build on that. (But we can do things in parallel,
More information about the Lazarus