On Sat, 18 Mar 2006 10:34:28 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> On 18/03/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> > > It was a runtime only package, with no components, so I guess the
> > > "Uninstall" option wasn't needed, hence the reason it was greyed out.
> >
> > If it is installed, it should be possible to uninstall it. The only
> > exceptions are the the IDE autocreated packages lcl, synedit, ideintf.
>
> I am confused... :) If I use a package, just to group files together
> for use in another project, is the "uninstall" option supposed to be
> enabled? If so, then there is a bug. When I created the package, I
> never clicked the Install button, just compiled it, which seem to have
> been enough for Lazarus to put it in the "New Requirements" listbox.
If the package is not installed or 'marked for installation', then the
uninstall should be disabled.
The 'New Requirement' lists all available packages.
The 'New Requirement' tabs of 'add' windows of project/package have nothing
to with install/uninstall. Maybe you are confusing this?
> > > The packages was used to group file to be used in another project, not
> > > to extend Lazarus, or add component to the palette.
> >
> > That's a pretty normal use of a package.
>
> And an excellent feature!!
>
> I better go and look at the wiki to see if they mention the problem
> that tripped me over. If not, I will add it. Specifying unit paths in
> the package that should be auto added to whatever project uses the
> package. Don't specify paths that are earlier than the path that the
> .lpk file lives in!!! My directory layout caused me to do that, which
> gave me major headaches!
Can you give an example?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives