[Lazarus] How to move installed component package sources?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 19 10:00:52 CEST 2020


On Sat, 19 Sep 2020 09:50:24 +0200 (CEST)
Michael Van Canneyt via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On Fri, 18 Sep 2020, Bo Berglund via lazarus wrote:
> 
> > I have installed a custom component package on the palette of
> > Lazarus. Now I realize that I did it the wrong way since the
> > package sources are inside a project tree of many apps and other
> > things.
> >
> > I want to have the sources moved to my Lazarus installation into the
> > config dir below lazarus like for instance packages retrieved from
> > OLPM are.
> >
> > Is there a simpler way to redirect Lazarus for the package location
> > or do I have to this:
> > - Uninstall the component package
> > - Rebuild Lazarus without the package
> > - Install the package based on sources in the right place
> > - Rebuild Lazarus again to include the package
> >
> > It takes a really long time to build Lazarus on these machines so
> > I'd rather not do that if at all possible...
> > I have Lazarus on several machines (Windows, Linux)...  
> 
> AFAIK:
> 
> Normally you can just open the package file in its new location.
> Next time when the IDE needs to be recompiled it will find the
> package.

If the package name is the same, yes.

Mattias


More information about the lazarus mailing list