View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021991fpprofilerpublic2012-05-09 03:202012-05-13 18:23
ReporterMichalis Kamburelis 
Assigned ToDarius Blaszijk 
PlatformOSOS Version
Summary0021991: Patch to compile from command-line using fpmake
DescriptionThe / fpmake.pp files inside fpprofiler SVN repository ( [^] ) seem to use old fpmake identifiers, from old FPC versions.

Attached patch fixes them all, so that one can run "fpc fpmake.pp && ./fpmake" to compile everything inside fpprofiler/trunk from command-line, with pure FPC (without the need to have Lazarus LCL).

- Many small changes to fpmake.* files: "Installer" instead of "Installer(TBasicInstaller)", use "P: TPackage", HomepageURL instead of ExternalURL, slash instead of backslash (will work both on Unix and Windows), add extensions to AddProgram calls, T.Options is now a TStrings list.

- Added compilation of fppinsert.pp and fppremove.pp to fpp/ package, they were missing.

- The examples/insert/ and examples/revert/ do not compile --- their compilation is broken, as they depend on global InsertProfilingCode / RemoveProfilingCode. Looks like they should be changed to use TfppInsertCode / TfppRemoveCode classes, I didn't attempt this for now.

- Removed {$R *.res} to allow compiling fppremove.pp with FPC.

- test/runtests.pp required the FileUtil unit, which is only part of Lazarus LCL. I removed this dependency --- it only used trivial GetExeExt function. This way you can use bare FPC installation to compile it.
Attached Filespatch file icon fpprofiler.patch [^] (14,881 bytes) 2012-05-09 03:20 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-05-09 03:20 Michalis Kamburelis New Issue
2012-05-09 03:20 Michalis Kamburelis File Added: fpprofiler.patch
2012-05-09 03:21 Michalis Kamburelis Tag Attached: patch
2012-05-13 18:23 Darius Blaszijk Status new => assigned
2012-05-13 18:23 Darius Blaszijk Assigned To => Darius Blaszijk

MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker