[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gtkada and gnat-gps



Jacob Sparre Andersen writes:
> Nicolas Boulenguez wrote:
>> Hello.  Because of the migration from gtk2 to gtk3, we have to select
>> a gtkada version for next release.
>>
>> The adacore download site provides
>> - gtkada 3.4.2.
>> - gps 5.2.1 relying on gtkada 2.24.3.
>> On their respective VCS
>> - gnat-gps not-yet-6.1.0 relies on gtkada 2.24.5 or later.

That's not true; in Subversion revision 212774 they switched to GtkAda
3.4 or later (see the line AM_PATH_GTKADA in gps/configure.in).  This is
reflected in revision 09ff90418fe7efd537e8a3b2b4581b6290e2b35d on branch
com.adacore.gps.  However there is a variable
CONFIGURE_SWITCH_WITH_GTK=3.0, also in configure.in, and I can't think
of a reason for this variable other than to make it possible to revert
to 2.0.  Not that I'd want to try that.

In summary, the GPS 5.x branch uses GtkAda 2, the GPS 6.x branch
switches to GtkAda 3.

>> - gtkada not-yet-2.24.4 was replaced with not-yet-3.8.2.
>> - gtkada 3.8.3 is available but does not seem to compile at all.
>> - gtkada not-yet-3.8.4 is work in progress.
>>
>> I think that we should select gtkada 2.24.3.
>> Any opinion?
> 
> Given the significant differences between the GtkAda 2 and 3 series, I
> would find it ideal, if we had the man-power to include one of each.
> As it appears that GtkAda 3 isn't quite production-ready yet (my
> interpretation of GPS still using GtkAda 2), I think we should stick
> to GtkAda 2.  If it should be 24.3 or 24.5 is not something I feel
> strongly about.

Additional data:

- I see that Nicolas has already begun sanitizing GtkAda 2.24.3 on
  branch com.adacore.gtkada.debian; thanks for that!

- I tagged GtkAda not-yet-2.24.4 as gtkada-2-end-of-life on branch
  com.adacore.gtkada

- I tagged the last revision of GPS using GtkAda 2 as
  gps-5.3-branchpoint (this is the revision preceding
  09ff90418fe7efd537e8a3b2b4581b6290e2b35d).

- There are also tags for gps-5.1-branchpoint and gps-5.2-branchpoint.

- The reason I say gps-x.y-branchpoint and not just gps-x.y is because,
  after each branchpoint, AdaCore create a private release branch where
  they make additional tests and patches, and from which they make their
  formal releases.  These patches also appear on the trunk after the
  branchpoint but they are obviously intermingled with feature changes.

I propose the following plan:

- Nicolas and I package gtkada-2-end-of-life and then
  gps-5.3-branchpoint (we may also revert to gps-5.[12]-branchpoint if
  that proves too difficult).

- In parallel with our work, Jacob packages GtkAda 3.8.4 (head of the
  branch com.adacore.gtkada).  This requires solving the tiny little
  problem of "does not compile at all" but I trust Jacob can overcome
  these odds :)

- If Jacob is successful, we then package gps-6.0-branchpoint.

- If that is successful, we then package gps-6.1-branchpoint when it
  appears.

-- 
Ludovic Brenta.


Reply to: