This blog describes the porting of a medium-sized application (~250 kloc) from D7 to Lazarus. It uses PostgreSQL as database, and the connection is being ported from DB Express (D7) to SqlDB (Lazarus).
After a few months without updates, the porting project is back. Now we are going to port our Point-Of-Sale (POS) module to Lazarus, to avoid Wine's problems with serial communication. We will use the ACBr component set. The other modules will remain coded in Delphi (running under Wine on Linux).