You are not logged in.
Pages: 1
Hi,
Is there any particular reason not having a Lazarus package?
Now for each project I should add path to units but with Lazarus package just adding a package is enough.
Offline
We have initial idea of packages (see packages directory): https://github.com/maciej-izak/mORMot/tree/packages
I think we can add some script *.bat/*.sh file for auto-reorganizing source directory for packages.
Proposed packages:
* Package mORMot_Commons
modules:
PasZip, SynBidirSock, SynBigTable, SynCommons, SynCrtSock, SynCrypto,
SynFastWideString, SynFPCTypInfo, SynLog, SynLZ, SynLZO, SynMustache,
SynSSPIAuth, SynWinSock, SynZip, SynZipFiles, SynTests
required packages:
FCL (standard basic package for packages)
* Package mORMot_SQLite3
modules:
mORMot, mORMotSQLite3, SynSQLite3
required packages:
mORMot_Commons
* Package mORMot_REST
modules:
mORMotHttpClient, mORMotHttpServer, mORMotWrappers,
required packages:
mORMot_SQLite3
* Package mORMot_SQLite3Static
modules:
SynSQLite3Static
required packages:
mORMot_SQLite3
* Package mORMot_DB
modules:
mORMotDB, mORMotMongoDB, SynDB, SynDBODBC, SynDBOracle, SynDBRemote,
SynDBSQLite3, SynMongoDB
required packages:
mORMot_SQLite3
* Package mORMot_ZEOS (needs some work/idea for paths to ZEOS)
modules:
SynDBZeos
required packages:
* zdbc
* mORMot_DB
best regards,
Maciej Izak
Offline
It is good to have ab opinion.
Offline
IIRC for packages we need to refresh mORMot source code tree and that is main problem...
best regards,
Maciej Izak
Offline
I mean moving units to directories. We should for example move
PasZip, SynBidirSock, SynBigTable, SynCommons, SynCrtSock, SynCrypto, SynFastWideString, SynFPCTypInfo, SynLog, SynLZ, SynLZO, SynMustache, SynSSPIAuth, SynWinSock, SynZip, SynZipFiles, SynTests
to "Common" directory or something similar.
Note: Zeos is excellent example of good designed packages for Lazarus.
best regards,
Maciej Izak
Offline
Why there is a need for that?
@ab with a package making new projects in Lazarus and mORMot will be easier with no need of adding paths.
Lazarus encourage using packages not adding paths.
Offline
Any comment dear @ab?
Offline
Hello,
Packages have been included and now I'm trying to add it in Online Package Manager (OPM).
I've already asked about the author but it seems that he has an issue to compile.
It looks like something related with the version. I'm using Lazarus 2.1.0 r59757M FPC 3.3.1.
Someone knows if we can compile mORMot using FPC 3.0.4, at least the base package?
If it's not possible now, can we make some changes to do it?
I think they only accepted packages that run in the current FPC version.
--
EDIT: he added, but is good to have it working on current version of FPC.
Last edited by mdbs99 (2019-04-28 15:58:04)
Offline
Perhaps https://github.com/synopse/mORMot/commi … b453ab834b may enhance the compatibility with FPC 3.0.4.
Feedback is welcome!
Offline
I trying migrate from Delphi 7 to FPC 3.3.1 and Lazarus 2.1.0 (I don't know anything of Lazarus/FPC), the OPM is very interesting and I have two questions:
1) Is posible that every time @ab update mORMot it is uploaded to http://packages.lazarus-ide.org/ automatically as with github ?
2) Is posible put in the OPM package version the content the synopsecommit.inc ? This way the last update is knowed.
Thanks.
Esteban
Offline
Pages: 1