Skip to content

Commit

Permalink
properly reference to 2.0.stable downloads
Browse files Browse the repository at this point in the history
- including the new mormot2static.tgz archive for POSIX
  • Loading branch information
Arnaud Bouchez committed Mar 6, 2023
1 parent 652221d commit e9f5d05
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ Please submit pull requests for non-validated versions.
1. Get the source, Luke!
- By cloning the repository (preferred):
- `git clone https://github.com/synopse/mORMot2.git` into e.g. `c:\github\mORMot2`,
- and download and extract latest https://synopse.info/files/mormot2static.7z into `c:\github\mORMot2\static`.
- and download and extract latest https://synopse.info/files/mormot2static.tgz or https://synopse.info/files/mormot2static.7z into `c:\github\mORMot2\static`.
- or as direct download of a given release (e.g. for a build script):
- Download a *Source code (zip)* release from https://github.com/synopse/mORMot2/releases and extract it e.g. into `d:\mormot2`,
- and extract its associated `mormot2static.7z` file content into `d:\mormot2\static`.
- and extract its associated `mormot2static.tgz` or `mormot2static.7z` file content into `d:\mormot2\static`.
2. Setup your favorite IDE:
- On Lazarus:
- Just open and compile the [`/packages/lazarus/mormot2.lpk`](packages/lazarus/mormot2.lpk) package;
Expand Down
6 changes: 6 additions & 0 deletions src/db/mormot.db.raw.sqlite3.static.pas
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
Just include this unit in your uses clause, and the mormot.db.raw.sqlite3
sqlite3 global variable will be filled with linked .o/.obj API entries -
ensure you downloaded latest https://synopse.info/files/mormot2static.7z
or https://synopse.info/files/mormot2static.tgz
If the platform is not supported yet, fallback loading a system library.
To patch and compile the official SQlite3 amalgamation file, follow the
instruction from the res/static/sqlite3 folder.
Expand Down Expand Up @@ -100,10 +101,15 @@ TSqlite3LibraryStatic = class(TSqlite3Library)
// same binaries expected by this unit, in one of its previous version
// - you could download the static for this exact mORMot source revision e.g. as
// https://github.com/synopse/mORMot2/releases/download/2.0.stable/mormot2static.7z
// https://github.com/synopse/mORMot2/releases/download/2.0.stable/mormot2static.tgz
EXPECTED_RELEASE_TAG = '2.0.stable';

/// where to download the latest available static binaries, including SQLite3
{$ifdef OSWINDOWS}
EXPECTED_STATIC_DOWNLOAD = 'https://synopse.info/files/mormot2static.7z';
{$else}
EXPECTED_STATIC_DOWNLOAD = 'https://synopse.info/files/mormot2static.tgz';
{$endif OSWINDOWS}


{ ************ Encryption-Related Functions }
Expand Down
5 changes: 3 additions & 2 deletions src/lib/mormot.lib.static.pas
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
*****************************************************************************
Please download latest https://synopse.info/files/mormot2static.7z and
extract its content to the /static sub-folder of the mORMot 2 repository.
Please download latest https://synopse.info/files/mormot2static.7z or
https://synopse.info/files/mormot2static.tgz and extract its content to
the /static sub-folder of the mORMot 2 repository.
}

Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.0.5025'
'2.0.5026'

0 comments on commit e9f5d05

Please sign in to comment.