Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: ghar on February 12, 2014, 09:27:27 PM

Title: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on February 12, 2014, 09:27:27 PM
Please make an extension for:

FPC (FreePascalCompiler) + Lazarus (IDE)
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on February 17, 2014, 10:04:02 AM
The extensions where working on the 4.x series, please ask to the maintaner to rebuild for TC 5.x.

Also, if you could test the 4.x extensions on 5.x Core, you could just ask to add them to the repo.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on February 17, 2014, 11:39:00 AM
It just occurred to me that shortly a new Lazarus release will be available. It is currently being tested.
So, it's better to wait a few more days, and then we will port the latest release.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: bitpusher on February 24, 2014, 08:44:35 AM
[X] supported.

I have fpc and Laz. from the 4.x repository installed on my TC 5.

While in general everything works there are two issues:

1. Most of the keyboard short-cuts do not work, this seems to be related to <alt> and <ctrl> in the shortcuts.
2. Lazarus has a habit of forgetting the window positions until the next start - however it does not seem that it goes back to some default, as sometimes it comes up with the Menu-Bar at the bottom...
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on February 24, 2014, 11:57:51 AM
Hey bitpusher!

Please, report to the thread ( http://forum.tinycorelinux.net/index.php/topic,15906.0.html ) so we can include the fpc and lazarus in the 5.x repo.

Thanks!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: bitpusher on February 25, 2014, 03:23:27 AM
Please, report to the thread ( http://forum.tinycorelinux.net/index.php/topic,15906.0.html ) so we can include the fpc and lazarus in the 5.x repo.

My understanding was that the thread over there is for things that can be just moved over to 5.x "as they are"?

However the 4.x package of Lazarus/fpc is 1.0.8/2.6.2
whereas 1.0.14/2.6.2 is current
and 1.2.0/2.6.2 coming soon.

Moreover there are the issues of the lost window positions and the non working keyboard short-cuts
(I just checked again: It is not that all <alt> or <ctrl> combinations are not working, e.g. <alt><F3> works, however you can not use the underlined characters in the main menu with <alt>. Other things like <ctrl><F9> get snatched away by the window manager...

Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on February 25, 2014, 03:36:59 AM
However the 4.x package of Lazarus/fpc is 1.0.8/2.6.2
whereas 1.0.14/2.6.2 is current
and 1.2.0/2.6.2 coming soon.

It's well worth waiting, so we will have an up-to-date extension.

Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on February 25, 2014, 07:14:26 AM
My understanding was that the thread over there is for things that can be just moved over to 5.x "as they are"?

Yes, if the extension works on 5.x without recompiling or other adjusts, it can be mentioned in the thread.

There are no guarantees that the the next FPC and Lazarus will be updated in the repo as soon as it is released - thats why you must talk with the maintaner of the extensions.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Juanito on February 25, 2014, 07:34:21 AM
fpc and lazarus copied to the tc-5.x repo
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: tinypoodle on February 25, 2014, 10:17:36 AM
Other things like <ctrl><F9> get snatched away by the window manager...

In such case you'd either have to reconfigure keyboard shortcuts of app or wm (if possible) - or switch wm altogether.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on March 04, 2014, 08:20:35 AM
Lazarus 1.2 Final has just been released.
Please, someone update the package with the final release. Thanks.

BTW, since it works both with gtk 2.8 and qt4.5 (32 or 64bit), which of the two will the package be built on?
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on March 05, 2014, 03:33:48 AM
ghar

send a PM to the extension maintaner asking to update it. He/she will give more details.

 :)
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on March 12, 2014, 03:46:25 PM
FPC 2.6.4 has just been released!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on April 03, 2014, 01:22:42 PM
send a PM to the extension maintaner asking to update it. He/she will give more details.

I have sent him a PM, but got no reply. I suspect he is no longer active on this community. His latest login was in May 2013!

Could someone else please take up the job and prepare those two extensions?

Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: AmatCoder on April 04, 2014, 03:01:35 PM
I can make the update but I'm not sure if it will be acceptable because I am not using TinyCore on a daily basis.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on April 04, 2014, 04:35:23 PM
Hey AmatCoder!
How are you?

Teach me your way to build these extensions then I can became the maintaner of it.

Thanks for supporting this extension!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: AmatCoder on April 04, 2014, 10:45:55 PM
Sure, no problem...I built these extensions using tc-ext-tools: http://code.google.com/p/tc-ext-tools/ (http://code.google.com/p/tc-ext-tools/)

First, you must install tc-ext-tools (you need svn.tcz):
Code: [Select]
tc@box:~$ tce-load -i svn
tc@box:~$ svn checkout http://tc-ext-tools.googlecode.com/svn/trunk tc-ext-tools
tc@box:~$ cp config.sample .config
tc@box:~$ ./install.sh

tc-ext-tools has been installed. Now you build fpc package:

Code: [Select]
tc@box:~$ svn checkout http://tc-ext-tools.googlecode.com/svn/packages/fpc
tc@box:~$ cd fpc

You must edit common file. Change:
VERSION="2.6.2" to VERSION="2.6.4"
and CURRENT="Updated to $VERSION (by AmatCoder)" to CURRENT="Updated to $VERSION (by Zendrael)"
Then:

Code: [Select]
tc@box:~$ buildit

When it is finished (takes more than 15 minutes) you have a fpc-2.6.4.tar.bz2.bfe file under /storage/pkgs folder. Save it because you will send this file to tcesubmit.

Reboot and load fpc.tcz. As you can seen it has been updated in your /tce/optional directory. Now repeat with lazarus.
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on April 05, 2014, 04:03:08 AM
Thank you AmatCoder!

I will try it and post back here in a few days!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on April 15, 2014, 05:26:46 AM
Great. Waiting for the update.
Thank you guys.

BTW, FreePascal is project of the month at SourceForge!!
Have a look here:
http://sourceforge.net/blog/april-2014-project-of-the-month-free-pascal/
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on April 23, 2014, 10:56:13 AM
Meanwhile yet another Lazarus version was released: v1.2.2, built with the latest FPC version (2.6.4).

Looking forward to using it soon on TinyCore!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on April 23, 2014, 11:57:29 AM
Hey ghar,

Core is now at 5.3 too, I was waiting this release to start the compiling. Maybe I get some news in the weekend!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: ghar on May 01, 2014, 06:17:51 AM
Hey ghar,

Core is now at 5.3 too, I was waiting this release to start the compiling. Maybe I get some news in the weekend!


TC 5.3 has been out for a few days already... Still waiting for the updated extensions.


Keep up the good work, Zendrael!
Title: Re: FPC (FreePascalCompiler) and Lazarus (IDE)
Post by: Zendrael on September 10, 2015, 05:13:39 AM
Hello all!

Anyone still interested in this packages?