libgpr2
Port variant std
Summary Parser for GPR Project files
Package version 26.0.0
Homepage https://github.com/AdaCore/gpr
Keywords devel, ada
Maintainer John Marino
License APACHE20
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 21 JAN 2026, 17:47:13 UTC
Port created 10 SEP 2023, 14:51:03 UTC
Subpackage Descriptions
set This is the libgpr2:std metapackage. It pulls in all subpackages of libgpr2:std.
primary LibGPR2 - Parser for GPR Project files The GPR2 library provides an extensive interface to access project files (.gpr files). Project files are first loaded in a project tree object. Load functions have parameters to configure load options as it is usually done using GPRbuild on the command line with -X (external ref) --config, -db, --implicit-with, --relocate-build-tree, --root-dir, --src-subdirs, --subdirs, --unchecked-shared-lib-imports, --RTS, --target switches. GNAT project files are loaded in a project tree using GPR2.Project.Tree.Load_Autoconf or GPR2.Project.Tree.Load functions. Use the latter if you want to use a config project file (.cgpr) If your application supports some GPR tools standard switches (ex: -P, -X, --target, --RTS) a GPR2.Options package is provided to simplify and normalize GPR standard switches handling. Once loaded, the root project and all imported, aggregated, extended projects including the configuration and runtime projects can be accessed. For each projects, all variables types, variables, attributes, packages can be evaluated, taking into account load configuration, default values and aliases. Projects sources (.ads, .adb or extensions defined in project file) and units (package's specification, body and separates) can be analyzed as well. Units dependencies are also handled.
dev This is the developer subpackage of the libgpr2:std port. It may contain headers, pc files, static and PIC libraries and SO links.
examples This is the examples subpackage of the libgpr2:std port.
Configuration Switches (platform-specific settings discarded)
This port has no build options.
Package Dependencies by Type
Build (only) langkit:single:std
langkit_support:dev:std
gnatcoll-core:dev:std
gnatcoll-bindings:dev:std
gmake:primary:std
libiconv:dev:std
gprbuild:primary:std
python313:dev:std
python313:primary:std
autoselect-python:single:std
Build and Runtime langkit_support:primary:std
Runtime (only) gnatcoll-bindings:dev:std (dev subpackage)
gnatcoll-core:dev:std (dev subpackage)
Download groups
main mirror://GITHUB/AdaCore:gpr:v26.0.0
Distribution File Information
146c37ede342cf4360d13bea90367d0860f23611bae71ed1c19598ffdd53a7ef 1881523 AdaCore-gpr-26.0.0.tar.gz
Ports that require libgpr2:std
gnatdoc:std GNAT Documentation Generation Tool
gpr2tools:std Tools based on GPR2 library
lal-refactor:std Collection of Ada source code refactoring tools
libadalang-tools:std Development tools based on libadalang
libadalang:std High-performance semantic engine for Ada