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