Recent

Author Topic: Recompilation of Lazarus IDE in Lazarus.  (Read 2745 times)

Kurush

  • Newbie
  • Posts: 5
Recompilation of Lazarus IDE in Lazarus.
« on: July 16, 2018, 10:17:27 am »
Hi!

I want to recompile Lazarus IDE in Lazarus itself. I copied the contents of "lazarus.pp" to a new LPR-project, added paths ("ide\"; "debugger\"; "debugger\frames\"; "packager\"; "packager\frames\"; "designer\"; "ide\frames\") and packages ("LazDebuggerGdbmi", "SynEdit", "DebuggerIntf", "SimpleIDEIntf", "CodeTools", "LazControls", "LCL"). I was able to compile and launch Lazarus but there is a problem. Component pallete has only eight tabs ("Standard", "Additional", "Common Controls", "Dialogs", "Data Controls", "Data Access", "System", "Misc"). But I want to have a full component pallete (as in an original Lazarus) including additional components. What should I do?

Thanks in advance for your response.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Recompilation of Lazarus IDE in Lazarus.
« Reply #1 on: July 16, 2018, 12:04:09 pm »
1) You can build the IDE from the Tools menu > "Configure build lazarus"

2) There is project in the folde ide:  ide/lazarus.lpk

3)
Quote
  {$IFDEF AddStaticPkgs}
  {$I staticpackages.inc}
  {$ENDIF}
  {$IFDEF BigIDE}
You want to include BigIde, though you also can just add those packages.

staticpackages are packages you installed. But if you do your own project, you better add them as packages, rather than using staticpackages.

4) When you add packages, look for their *Dsgn counterparts. They add the content to the component palette.
E.g., there is SynEditDsgn.lpk



Kurush

  • Newbie
  • Posts: 5
Re: Recompilation of Lazarus IDE in Lazarus.
« Reply #2 on: July 16, 2018, 01:02:32 pm »
2) There is project in the folde ide:  ide/lazarus.lpk

I don't have this file (installed Lazarus from .exe in Windows 10).

4) When you add packages, look for their *Dsgn counterparts. They add the content to the component palette.
E.g., there is SynEditDsgn.lpk

Thanks. It seems that it allows solving my problem.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Recompilation of Lazarus IDE in Lazarus.
« Reply #3 on: July 16, 2018, 01:07:20 pm »
2) There is project in the folde ide:  ide/lazarus.lpk
I don't have this file (installed Lazarus from .exe in Windows 10).
It is actually ide/lazarus.lpi.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Recompilation of Lazarus IDE in Lazarus.
« Reply #4 on: July 16, 2018, 02:03:06 pm »
It is actually ide/lazarus.lpi.

Right, my bad.

Anyway the way to build the IDE, is via the Tools menu.

Afaik the ide/lazarus.lpi is for browsing the sources

 

TinyPortal © 2005-2018