I would have to additionally install Lazarus trunk first to create a working patch. As I am just getting familiar with Lazarus, it's settings, pathes etc, and not too familiar with Linux either, I'm not sure if I really want to do that at the moment.Getting the trunk version is actually super-easy. Just make sure Subversion is installed, then in console :
Current dir in console should be my home directory then?Yes, or any directory under it. You must have write access there.
1. How to get fpc trunk?I would have to additionally install Lazarus trunk first to create a working patch. As I am just getting familiar with Lazarus, it's settings, pathes etc, and not too familiar with Linux either, I'm not sure if I really want to do that at the moment.Getting the trunk version is actually super-easy. Just make sure Subversion is installed, then in console :
$ svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus_trunk
$ cd lazarus_trunk
$ make
$ ./lazarus &
It also requires some development library packages from Ubuntu repository but you already have them from your earlier installation.
You can have many versions of Lazarus in your machine the same way. No installation, just start them from their directory.
https://wiki.freepascal.org/Getting_Lazarus#Development_version_of_Lazarus
1. How to get fpc trunk?FPC trunk is a little more complicated than Lazarus trunk. I guess FpcUpDeluxe is the easiest way to get it.
2. How to use fpc trunk to build lazarus trunk?
FPC trunk is a little more complicated than Lazarus trunk. I guess FpcUpDeluxe is the easiest way to get it.
svn co <correct url for fpc, I'm too lazy to check> path/to/fpctrunksources
cd path/to/fpctrunksources
make all
make install //installs the compiler in c:\pp if you are in Windows
fpcmkcfg -o .\fpc.cfg