Changes to gtkada-2.24.2 for build on Tumbleweed
okellogg opened this issue · 0 comments
okellogg commented
Hi,
The branch gtkada-2.24.2 appears to be intended for building with gtk-2.24 versions.
If I try to build this version on OpenSuSE Tumbleweed 20200226 (gtk2-devel-2.24.32+67-3.1),
I get many errors.
Most of them are addressed by the following patches from
https://src.fedoraproject.org/rpms/GtkAda :
- GtkAda-2.24.2-gprbuild.patch : Adjust to removal of project file support in gnatmake of GCC 8
- GtkAda-2.24.2-no_extern_inline.patch : Replace
extern inline
byextern
in src/gtkextra
Additionally, I made the following change in src/tools/gtkada-config.in :
--- a/src/tools/gtkada-config.in
+++ b/src/tools/gtkada-config.in
@@ -3,7 +3,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@/gtkada
+libdir=${prefix}/lib/gtkada
includedir=@includedir@/gtkada
gtk_libs="@GTK_LIBS@"
I am attaching the patch.
Are you interested in these changes?
If so, how shall I proceed?
E.g.: Make a pull request for the existing gtkada-2.24.2 branch, or make an extra branch and create a pull request for the new branch?
Thanks,
Oliver
gtkada-git-2.24.2-branch-changes-for-opensuse-tumbleweed.diff.gz