mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
Move unit FppkgHelper to package IdeConfig.
This commit is contained in:
parent
ecd69708ba
commit
869e5ab524
@ -26,36 +26,23 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
// Rtl
|
// Rtl
|
||||||
Classes,
|
Classes, SysUtils,
|
||||||
SysUtils,
|
|
||||||
// Fcl
|
// Fcl
|
||||||
fpmkunit,
|
fpmkunit, process,
|
||||||
process,
|
|
||||||
// Fppkg
|
// Fppkg
|
||||||
pkgglobals,
|
pkgglobals,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
FPCAdds,
|
FPCAdds, LazFileUtils, LazFileCache, UTF8Process,
|
||||||
LazFileUtils,
|
|
||||||
LazFileCache,
|
|
||||||
UTF8Process,
|
|
||||||
// Lcl
|
// Lcl
|
||||||
Forms,
|
Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,
|
||||||
Controls,
|
|
||||||
Graphics,
|
|
||||||
Dialogs,
|
|
||||||
StdCtrls,
|
|
||||||
ExtCtrls,
|
|
||||||
// Codetools
|
// Codetools
|
||||||
CodeToolManager, DefineTemplates,
|
CodeToolManager, DefineTemplates,
|
||||||
// IdeConfig
|
|
||||||
IDEProcs, LazConf, EnvironmentOpts,
|
|
||||||
// IDE
|
|
||||||
LazarusIDEStrConsts,
|
|
||||||
InitialSetupProc,
|
|
||||||
// Packager
|
|
||||||
FppkgHelper,
|
|
||||||
// Ideintf
|
// Ideintf
|
||||||
IDEDialogs;
|
IDEDialogs,
|
||||||
|
// IdeConfig
|
||||||
|
IDEProcs, LazConf, EnvironmentOpts, FppkgHelper,
|
||||||
|
// IDE
|
||||||
|
LazarusIDEStrConsts, InitialSetupProc;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -42,9 +42,9 @@ uses
|
|||||||
// IDEIntf
|
// IDEIntf
|
||||||
IdeIntfStrConsts,
|
IdeIntfStrConsts,
|
||||||
// IDEConfig
|
// IDEConfig
|
||||||
LazConf, EnvironmentOpts,
|
LazConf, EnvironmentOpts, FppkgHelper,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, FppkgHelper;
|
LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
TSDFilenameQuality = (
|
TSDFilenameQuality = (
|
||||||
|
@ -1003,10 +1003,6 @@ resourcestring
|
|||||||
lisFppkgFpcmkcfgProbTooOld = 'It is probably too old to create the configuration files.';
|
lisFppkgFpcmkcfgProbTooOld = 'It is probably too old to create the configuration files.';
|
||||||
lisFppkgFpcmkcfgMissing = 'Could not find the fpcmkcfg configuration tool, ' +
|
lisFppkgFpcmkcfgMissing = 'Could not find the fpcmkcfg configuration tool, ' +
|
||||||
'which is needed to create the configuration files.';
|
'which is needed to create the configuration files.';
|
||||||
lisFppkgRtlNotFound = 'Fppkg reports that the RTL is not installed.';
|
|
||||||
lisFppkgCompilerNotFound = 'Could not find the compiler [%s] configured for Fppkg.';
|
|
||||||
lisFppkgCompilerNotExists = 'The compiler [%s] configured for Fppkg does not exist.';
|
|
||||||
lisFppkgCompilerNotExecutable = 'The compiler [%s] configured for Fppkg is not an executable.';
|
|
||||||
lisGenerateFppkgConfigurationCaption = 'Generate new Fppkg configuration files';
|
lisGenerateFppkgConfigurationCaption = 'Generate new Fppkg configuration files';
|
||||||
lisGenerateFppkgConfiguration = 'Use this screen to generate new Fppkg configuration files ' +
|
lisGenerateFppkgConfiguration = 'Use this screen to generate new Fppkg configuration files ' +
|
||||||
'with the fpcmkcfg tool.';
|
'with the fpcmkcfg tool.';
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
{
|
||||||
|
***************************************************************************
|
||||||
|
* *
|
||||||
|
* This source is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This code is distributed in the hope that it will be useful, but *
|
||||||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||||
|
* General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* A copy of the GNU General Public License is available on the World *
|
||||||
|
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
|
||||||
|
* obtain it by writing to the Free Software Foundation, *
|
||||||
|
* Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1335, USA. *
|
||||||
|
* *
|
||||||
|
***************************************************************************
|
||||||
|
}
|
||||||
unit FppkgHelper;
|
unit FppkgHelper;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
@ -8,8 +28,8 @@ uses
|
|||||||
Classes, SysUtils, pkgFppkg, fpmkunit, fprepos,
|
Classes, SysUtils, pkgFppkg, fpmkunit, fprepos,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazLoggerBase, LazFileCache, FileUtil, LazFileUtils,
|
LazLoggerBase, LazFileCache, FileUtil, LazFileUtils,
|
||||||
// IDE
|
// IdeConfig
|
||||||
LazarusIDEStrConsts;
|
IdeConfStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
@ -59,6 +59,10 @@ Files in this package are for the main configuration of the IDE."/>
|
|||||||
<Filename Value="etmakemsgparser.pas"/>
|
<Filename Value="etmakemsgparser.pas"/>
|
||||||
<UnitName Value="etMakeMsgParser"/>
|
<UnitName Value="etMakeMsgParser"/>
|
||||||
</Item>
|
</Item>
|
||||||
|
<Item>
|
||||||
|
<Filename Value="fppkghelper.pas"/>
|
||||||
|
<UnitName Value="FppkgHelper"/>
|
||||||
|
</Item>
|
||||||
<Item>
|
<Item>
|
||||||
<Filename Value="idecmdline.pas"/>
|
<Filename Value="idecmdline.pas"/>
|
||||||
<UnitName Value="IDECmdLine"/>
|
<UnitName Value="IDECmdLine"/>
|
||||||
|
@ -10,8 +10,8 @@ interface
|
|||||||
uses
|
uses
|
||||||
CompilerOptions, CompOptsModes, CoolBarOptions, DiffPatch, EditDefineTree,
|
CompilerOptions, CompOptsModes, CoolBarOptions, DiffPatch, EditDefineTree,
|
||||||
EditorToolBarOptions, EnvironmentOpts, etFPCMsgFilePool, etMakeMsgParser,
|
EditorToolBarOptions, EnvironmentOpts, etFPCMsgFilePool, etMakeMsgParser,
|
||||||
IDECmdLine, IdeConfStrConsts, IDEGuiCmdLine, IDEOptionDefs, IDEProcs,
|
FppkgHelper, IDECmdLine, IdeConfStrConsts, IDEGuiCmdLine, IDEOptionDefs,
|
||||||
IdeXmlConfigProcs, LazConf, ModeMatrixOpts, ParsedCompilerOpts,
|
IDEProcs, IdeXmlConfigProcs, LazConf, ModeMatrixOpts, ParsedCompilerOpts,
|
||||||
ProjPackCommon, RecentListProcs, SearchPathProcs, ToolBarOptionsBase,
|
ProjPackCommon, RecentListProcs, SearchPathProcs, ToolBarOptionsBase,
|
||||||
TransferMacros, LazarusPackageIntf;
|
TransferMacros, LazarusPackageIntf;
|
||||||
|
|
||||||
|
@ -39,6 +39,11 @@ resourcestring
|
|||||||
lisEdtDefsetOVERFLOWCHECKSOn = 'set OVERFLOWCHECKS on';
|
lisEdtDefsetOVERFLOWCHECKSOn = 'set OVERFLOWCHECKS on';
|
||||||
lisEdtDefuseLineInfoUnit = 'use LineInfo unit';
|
lisEdtDefuseLineInfoUnit = 'use LineInfo unit';
|
||||||
lisEdtDefuseHeapTrcUnit = 'use HeapTrc unit';
|
lisEdtDefuseHeapTrcUnit = 'use HeapTrc unit';
|
||||||
|
// Fppkg checks
|
||||||
|
lisFppkgRtlNotFound = 'Fppkg reports that the RTL is not installed.';
|
||||||
|
lisFppkgCompilerNotExists = 'The compiler [%s] configured for Fppkg does not exist.';
|
||||||
|
lisFppkgCompilerNotExecutable = 'The compiler [%s] configured for Fppkg is not an executable.';
|
||||||
|
lisFppkgCompilerNotFound = 'Could not find the compiler [%s] configured for Fppkg.';
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
@ -17,11 +17,9 @@ uses
|
|||||||
// IdeIntf
|
// IdeIntf
|
||||||
IDEWindowIntf,
|
IDEWindowIntf,
|
||||||
// IdeConfig
|
// IdeConfig
|
||||||
ProjPackCommon,
|
ProjPackCommon, FppkgHelper,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, PackageDefs, AddPkgDependencyDlg,
|
LazarusIDEStrConsts, PackageDefs, AddPkgDependencyDlg;
|
||||||
// fppkg
|
|
||||||
FppkgHelper;
|
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -52,9 +52,10 @@ uses
|
|||||||
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker, BaseIDEIntf,
|
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker, BaseIDEIntf,
|
||||||
// IdeConfig
|
// IdeConfig
|
||||||
TransferMacros, IDEProcs, IDEOptionDefs, CompOptsModes, SearchPathProcs,
|
TransferMacros, IDEProcs, IDEOptionDefs, CompOptsModes, SearchPathProcs,
|
||||||
IdeXmlConfigProcs, ParsedCompilerOpts, CompilerOptions, EditDefineTree, ProjPackCommon,
|
IdeXmlConfigProcs, ParsedCompilerOpts, CompilerOptions, EditDefineTree,
|
||||||
|
ProjPackCommon, FppkgHelper,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, FppkgHelper;
|
LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
TLazPackage = class;
|
TLazPackage = class;
|
||||||
|
@ -62,10 +62,10 @@ uses
|
|||||||
LazarusPackageIntf,
|
LazarusPackageIntf,
|
||||||
// IdeConfig
|
// IdeConfig
|
||||||
EnvironmentOpts, LazConf, TransferMacros, IDEProcs, SearchPathProcs,
|
EnvironmentOpts, LazConf, TransferMacros, IDEProcs, SearchPathProcs,
|
||||||
ParsedCompilerOpts, CompilerOptions,
|
ParsedCompilerOpts, CompilerOptions, FppkgHelper,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, DialogProcs, IDETranslations,
|
LazarusIDEStrConsts, DialogProcs, IDETranslations,
|
||||||
PackageLinks, PackageDefs, FppkgHelper, PkgSysBasePkgs;
|
PackageLinks, PackageDefs, PkgSysBasePkgs;
|
||||||
|
|
||||||
const
|
const
|
||||||
MakefileCompileVersion = 2;
|
MakefileCompileVersion = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user