termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.92k stars 2.98k forks source link

[Package]: fpc #10838

Open giiutfff opened 2 years ago

giiutfff commented 2 years ago

Package description

Free Pascal is a mature, versatile, open source Pascal compiler.

Actually kinda surprising not having it already.

Cross compilers are not requested, fpc can compile it self, so it should be easy(theoretically? never tried on Android before) while having the native compiler available.

Home page URL

https://www.freepascal.org/

Source code URL

https://gitlab.com/freepascal.org/fpc

Packaging policy acknowledgement

Additional information

Latest stable source code archive can be alternatively accessed via http://sourceforge.net/projects/freepascal/files/Source/3.2.2

There is also a GUI based IDE in addition to the terminal IDE comes with fpc - https://www.lazarus-ide.org/

But I am not gonna ask for Lazarus. Since it requires much more effort considering it supports different GUI front end including GTK and QT for both IDE it self and the projects developed within the IDE. Another issue might be violating Packaging Policy The size of resulting package should be less than 100 MiB, in fact Lazarus exceeds this size and that's not including fpc-src(required for IDE working properly) and fpc-docs(the documents are optional). Besides the terminal IDE is good enough for TUI development (or even GUI if manually layout the form by code is not a problem).

Bennorred8 commented 2 years ago

https://github.com/termux/termux-packages/issues/10838