gtk-fortran should be usable as a dependency using the Fortran Package Manager (fpm)
vmagnin opened this issue · 2 comments
The new Fortran Package Manager (fpm) can import dependencies from the web using git. For the moment it is limited to dependencies based on fpm. But in the future it should be able to import other projects which propose a build script, via the build-script
variable of their fpm.toml file. Or even directly call CMake.
Our first attempt to use fpm is related here: fortran-lang/fpm#351
See also:
https://fortran-lang.discourse.group/t/google-summer-of-code-2021/658
https://github.com/fortran-lang/fortran-lang.org/wiki/GSoC-2021-Project-ideas
any progress on this?
The Fortran-lang community is working hard on fpm, but we must be patient. In order to use gtk-fortran as an fpm dependency, we need at least those two features:
- fpm must be able to manage CMake based projects: fortran-lang/fpm#69
- It is a part of the ideas proposed for the 2021 Google Summer of Code: https://github.com/fortran-lang/fortran-lang.org/wiki/GSoC-2021-Project-ideas#source-code-distribution-with-foreign-build-systems
- fpm must be able to manage included files (
gtkenums-auto.f90
andgtk-auto.f90
): fortran-lang/fpm#358
Note that there is already many candidates for the GSoC 2021: https://fortran-lang.discourse.group/t/google-summer-of-code-2021/658/50