Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
The GTK2 configure script searches in vain for libgmodule. Since it does
not find it, gmodule-2.0 is not added to the gtk+*-2.0 pkgconfig files.
Since gcc-aux now uses the gold linker which requires explicit linking by
default, gtkada fails to link due to use of gmodule-2.0 symbols within
other libraries.
The true fix needs to happen at the gtk2 package. A post-wrapper hack has
been added to gtkada to locally append the gtk2 pkgconfig file which
allows building to complete.
This hack should be removed when gtk2's gtk+-2.0.pc file has been fixed.
This is the minimum version necessary to build the next version of the
GNAT Programming Studio. It is also the last version to support GTK2+.
As this will break GPS 5.0, GPS will be imminently upgraded to version
5.2.1 following this commit.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
1) Remove lang/gnat-aux dependency
2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
3) USE_TOOLS+= pkg-config (remove hardcoded PATH)
4) Restore use of pkgsrc wrappers
5) Fix bad paths of bin/gate (discovered by updated PKG_DEVELOPER=yes)
6) Use @pkgdir for required empty directory instead of .IGNOREME
7) Add -lgnat for shared libraries, required in this build configuration
The majority of the documentation for gtkada was not getting built. It
turns out that the generation step was omitted from the vendor Makefile.
For the user guide, simply adding this to the top-level makefile fixes the
problem, but the reference manual is the reason it was omitted.
The RM requires Gnat Programming Studio built with Python to generate the
documentation. This created a circular dependency because GPS requires
gtkada to build and python is optional. Secondly, pkgsrc-built python
verions 26 and 27 both cause GPS to core dump. FreeBSD doesn't have this
issue, but it has a different python problem that prevents the documentation
from getting built manually on that system as well.
In the end, the latest generated RM was pulled from libre.adacore.com online
resources and packaged separately. This is not ideal because it represents
gtkada 2.24 which has a couple of API differences from 2.22, but it's the
only full html version of the RM that can be located.
Rebuilding gtkada will result in the gtkada User Guild and Reference
Manual showing up in the <help> menu of GPS. Currently the gtkada submenu
item has an empty submenu.