mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 06:07:29 +01:00
IDE: staticpackages.inc: skip base packages of packager/pkgsysbasepkgs.pas
This commit is contained in:
parent
5626976286
commit
9f5e0647a6
@ -7883,6 +7883,8 @@ begin
|
||||
end;
|
||||
MainBuildBoss.SetBuildTargetIDE;
|
||||
|
||||
PackageGraph.ParseBasePackages;
|
||||
|
||||
// clean up
|
||||
PkgCompileFlags:=[];
|
||||
if (not (blfDontClean in Flags))
|
||||
|
||||
@ -2378,6 +2378,13 @@ begin
|
||||
or IsStaticBasePackage(APackage.Name)
|
||||
or (APackage.PackageType in [lptRunTime,lptRunTimeOnly])
|
||||
then continue;
|
||||
|
||||
if FSrcBasePackages.IndexOf(APackage.Name)>0 then
|
||||
begin
|
||||
debugln(['Note: (lazarus) TLazPackageGraph.SaveAutoInstallConfig: omitting base package "',APackage.Name,'"']);
|
||||
continue;
|
||||
end;
|
||||
|
||||
StaticPackagesInc:=StaticPackagesInc
|
||||
+ExtractFileNameOnly(APackage.GetCompileSourceFilename)
|
||||
+','+LineEnding;
|
||||
@ -5140,7 +5147,7 @@ begin
|
||||
if (Atom='') or (Atom=')') then break;
|
||||
if Atom[1]='''' then
|
||||
begin
|
||||
PkgName:=copy(Atom,2,length(Atom)-1);
|
||||
PkgName:=copy(Atom,2,length(Atom)-2);
|
||||
if IsValidPkgName(PkgName) then
|
||||
FSrcBasePackages.Add(PkgName);
|
||||
end;
|
||||
|
||||
@ -5531,6 +5531,7 @@ begin
|
||||
PkgList:=nil;
|
||||
FPMakeList:=nil;
|
||||
try
|
||||
PackageGraph.ParseBasePackages;
|
||||
|
||||
// check if package is designtime package
|
||||
if APackage.PackageType in [lptRunTime,lptRunTimeOnly] then begin
|
||||
@ -5703,6 +5704,8 @@ begin
|
||||
if Result<>mrOk then exit;
|
||||
end;
|
||||
|
||||
PackageGraph.ParseBasePackages;
|
||||
|
||||
// remove package from auto installed packages
|
||||
if APackage.AutoInstall<>pitNope then begin
|
||||
APackage.AutoInstall:=pitNope;
|
||||
@ -5916,6 +5919,8 @@ begin
|
||||
NewFirstAutoInstallDependency:=nil;
|
||||
PkgList:=nil;
|
||||
try
|
||||
PackageGraph.ParseBasePackages;
|
||||
|
||||
if not (piiifClear in Flags) then
|
||||
begin
|
||||
// add existing install packages to list
|
||||
|
||||
Loading…
Reference in New Issue
Block a user