[Pkg-pascal-devel] Bug#967348: Bug#967348: Bug#967348: fpc: depends on deprecated GTK 2
Michalis Kamburelis
michalis.kambi at gmail.com
Sun Nov 6 22:25:50 GMT 2022
Abou Al Montacir <abou.almontacir at sfr.fr> wrote:
> Also, I'm not sure FPC release we are using supports GTK3, that information needs to be check and may render the link issue mentioned above not so critical.
>
FPC (unfortunately, IMHO) does not provide GTK3 units at all,
regardless of FPC version. Latest upstream FPC 3.2.2 as well and FPC
main branch on GitLab do not contain GTK3 units, only GTK2 (and
GTK1...).
Lazarus GTK3 widgetset is using GTK3 bindings inside Lazarus source
tree, in lcl/interfaces/gtk3/gtk3bindings (
https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/gtk3/gtk3bindings
). They is a README nearby saying that it is a plan to include GTK3 in
FPC, https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/gtk3
:
"""
*NAMING OF UNITS* inside of gtk3bindings subdirectory: All units are
prefixed with laz eg. lazgtk3.pas to avoid clashes with future
versions of fpc which will probably have package named gtk3 and
gtk3.pas unit inside.
"""
So looks like it is a plan to include them in FPC, but not done yet. I
hope that at some point FPC will include GTK3 units. (It would also
make Castle Game Engine life easier, as we will want to develop GTK3
backend for our TCastleWindow, and ideally we could just use FPC GTK3
units.)
I guess a bugreport about it to FPC upstream would push the process.
Regards,
Michalis
More information about the Pkg-pascal-devel
mailing list