Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toward GTK 4 #101

Closed
vmagnin opened this issue Sep 22, 2016 · 13 comments
Closed

Toward GTK 4 #101

vmagnin opened this issue Sep 22, 2016 · 13 comments
Assignees
Labels
GTK 4 GTK 4 only

Comments

@vmagnin
Copy link
Owner

vmagnin commented Sep 22, 2016

The GTK+ team has just released GTK+ 3.22:
https://mail.gnome.org/archives/gnome-announce-list/2016-September/msg00044.html

The 3.22 release is the last development release in the GTK+ 3. series.
GTK+ 3.22 will be maintained as the long-term stable version of GTK+ 3,
and new development will move to the GTK+ 3.90.x releases.

This move toward GTK+ 4.0 is detailed here:
https://blog.gtk.org/2016/09/01/versioning-and-long-term-stability-promise-in-gtk/

The GTK+ blog shows that Red Hat is a major contributor:
https://blog.gtk.org/

The GNOME Discourse:
https://discourse.gnome.org/c/platform

The good health of GTK+ assures that gtk-fortran can be perennial, which is a major point for a Fortran user. We will maintain gtk-fortran as new GTK+ versions land in our Linux distribution.

@vmagnin vmagnin added the News label Sep 22, 2016
@vmagnin vmagnin self-assigned this Sep 22, 2016
@vmagnin
Copy link
Owner Author

vmagnin commented Jan 15, 2018

Gtk+ 3.92.1 was released in October 2017:
https://blog.gtk.org/2017/10/23/gtk-3-92/

GTK News :
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/NEWS

The GTK+ 4 todo list is here:
https://gitlab.gnome.org/GNOME/gtk/-/milestones/1

Other regular news from GTK+ 4:
https://www.phoronix.com/scan.php?page=search&q=GTK4
Latests messages talk about a possible release at the 2018 fall.

@vmagnin
Copy link
Owner Author

vmagnin commented Oct 9, 2018

"GTK+ 4.0 Likely Being Released In Spring Of 2019":
https://www.phoronix.com/scan.php?page=news_item&px=GTK-4.0-Spring-2019-Plans

@vmagnin
Copy link
Owner Author

vmagnin commented Feb 11, 2019

The "GTK+" project has been renamed "GTK":
https://www.phoronix.com/scan.php?page=news_item&px=GTK4-Development-2019-Stretch

@vmagnin vmagnin added this to the 19.10 milestone Feb 11, 2019
@vmagnin
Copy link
Owner Author

vmagnin commented Feb 11, 2019

Migrating from GTK 3.x to GTK 4:
https://developer.gnome.org/gtk4/unstable/gtk-migrating-3-to-4.html

GTK+ 4 is a major new version of GTK+ that breaks both API and ABI compared to GTK+ 3.x.

@vmagnin vmagnin added GTK 4 GTK 4 only and removed News labels Mar 1, 2019
@vmagnin
Copy link
Owner Author

vmagnin commented Mar 21, 2019

The src/cfwrapper.py now detects the status of functions (DEPRECATED or AVAILABLE) and writes it in the third column of the src/gtk-fortran-index.csv file.

The src/usemodules.py script uses it to detect deprecated functions in your .f90 files. After launching it on the whole project, it appears that around 20 files contain deprecated functions, mainly in the High Level part of the library. These deprecated functions will be removed in GTK 4, so we need to remove them from gtk-fortran.

We will post an issue for each group of files.

@vmagnin vmagnin removed their assignment Apr 4, 2019
@vmagnin vmagnin removed this from the 19.10 milestone Apr 4, 2019
@vmagnin vmagnin pinned this issue Apr 4, 2019
@vmagnin
Copy link
Owner Author

vmagnin commented Apr 4, 2019

GTK 3.94.0-1, a preversion of GTK 4 dating back to 2018-06-28, is available in the following distributions:

@vmagnin vmagnin changed the title Toward GTK+ 4.0 Toward GTK 4 Apr 5, 2019
@vmagnin
Copy link
Owner Author

vmagnin commented May 9, 2019

GTK 3.96.0 released: https://blog.gtk.org/2019/05/08/gtk-3-96-0/

@vmagnin
Copy link
Owner Author

vmagnin commented Sep 2, 2019

GTK 4.0 could be released in fall 2020, after two more 3.9x releases: https://blog.gtk.org/2019/08/29/gtk-bof-at-guadec/

@vmagnin
Copy link
Owner Author

vmagnin commented Feb 12, 2020

GTK 3.98.0 has been released : https://gitlab.gnome.org/GNOME/gtk/blob/master/NEWS
A package is available in Manjaro 18.1.5 (AUR packages).

@vmagnin vmagnin added this to To do in Toward GTK 4 via automation Feb 12, 2020
@vmagnin vmagnin moved this from To do to In progress in Toward GTK 4 Feb 12, 2020
@vmagnin
Copy link
Owner Author

vmagnin commented Apr 2, 2020

GTK 3.98.2 has been released: https://blog.gtk.org/2020/04/01/gtk-3-98-2/

@vmagnin
Copy link
Owner Author

vmagnin commented May 7, 2020

New gtk4 development branch, based on GTK 3.98.2 in Fedora 32. You can build it using:

$ cmake -D NO_BUILD_HL=true ..
$ make -i
$ sudo make -i install

At this time, the only working examples are gtkzero_gapp.f90, gtkhello.f90, gio_demo.f90, tests.f90.
Because, there is so many thing to change in the whole project, I am compiling each example indivually with:

$ gfortran gtkhello.f90 -Wall -Wextra -std=f2003 -pedantic $(pkg-config --cflags --libs gtk-4-fortran --with-path=/usr/local/lib64/pkgconfig/) && ./a.out

@vmagnin vmagnin self-assigned this May 12, 2020
@vmagnin
Copy link
Owner Author

vmagnin commented May 19, 2020

cairo-tests.f90 is now working with GTK 3.98.3 under Fedora 32.
A new version of cairo-basics-click.f90 using GtkEventController and GtkGesture has been written.

An overview of examples ported to GTK 4 is now available in issue #189

@vmagnin
Copy link
Owner Author

vmagnin commented Dec 17, 2020

The GTK 4.0.0 milestone has just been set: https://gitlab.gnome.org/GNOME/gtk/-/blob/master/NEWS

@vmagnin vmagnin closed this as completed Dec 18, 2020
Toward GTK 4 automation moved this from In progress to Done Dec 18, 2020
@vmagnin vmagnin unpinned this issue Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GTK 4 GTK 4 only
Projects
No open projects
Toward GTK 4
  
Done
Development

No branches or pull requests

3 participants