Skip to content

Releases: vmagnin/gtk-fortran

gtk-fortran 4.2.1

24 Apr 10:45
04aa302

Choose a tag to compare

Fixed

  • Issue #257: examples/tests.f90, examples/bazaar.f90 and src/gtk-fortran.f90 were crashing (segmentation fault) on macOS because the GLib g_get_os_info() function returns NULL on that OS.

gtk-fortran 4.2.0

23 Apr 11:12
1cb8ed3

Choose a tag to compare

This release offers interfaces to GTK 4.6.2 and GLib 2.72.1.

Added

  • gtk-fortran can now be used as a simple fpm dependency (gtk4 branch only). See the gtkzero_fpm example. It implied some changes:
    • gtk-auto.f90 and gtkenums-auto.f90 are renamed with the .inc extension.
    • Removed mswindowsonly-auto.f90 and unixonly-auto.f90, and added api_compatibility.f90 with the module gtk_os_dependent to keep API compatibility.
    • plplot/plplot_extra_ndef.f90 renamed plplot_extra.f90 and moved to src/.
  • examples/bazaar.f90: the About button credits the authors of that file. The call to gtk_about_dialog_set_license() is replaced by the more convenient gtk_about_dialog_set_license_type().
  • A tutorials/ directory contains the GTK 4 sources used in the Wiki first tutorial.
  • src/gtk-fortran.f90: prints the GTK and GLib version of the release.
  • A conda repository for gtk-4-fortran.

Changed

  • Better handling of default compiler flags, using flags like CMAKE_Fortran_FLAGS_RELEASE_INIT (CMake>=3.7 required). A file cmake/DefaultFlags.cmake was added. Backported to gtk3 branch.
  • gtkbuilder2.f90: replaced gtk_builder_add_from_file() by gtk_builder_new_from_file().
  • The syntax was modernized in many places (Fortran 2008).

Fixed

  • g_application_run() should be called with an array [c_null_ptr] as third argument instead of c_null_ptr. Needed with the NAG Fortran compiler. Backported to gtk3 branch.
  • examples/tests.f90: loop undefined with ifort. And now uses g_variant_unref().
  • Various bug fixes.

gtk-fortran 3.24.31

21 Apr 19:57
c13d893

Choose a tag to compare

  • Based on GTK 3.24.31, GLib 2.72.1.
  • Better handling of default compiler flags, using flags like CMAKE_Fortran_FLAGS_RELEASE_INIT (CMake>=3.7 required). A file cmake/DefaultFlags.cmake was added.
  • g_application_run() should be called with an array [c_null_ptr] as third argument instead of c_null_ptr. Needed with the NAG Fortran compiler.

gtk-fortran 4.1

22 Oct 15:00
2618f93

Choose a tag to compare

Based on GTK 4.4.0 and GLib 2.70.0 and generated on Fedora 35.

Concerning gtk-fortran itself, under the hood the main change is that each interface now uses the import :: statement instead of use, intrinsic :: iso_c_binding, only: (although anecdotal, the overall size gain is 6% on the 9822 interfaces).

Concerning GTK 4.4, the novelties are listed in the GTK NEWS file, and main changes are presented in the GTK blog. For example, the GTK Inspector is now enabled by default (CTRL+SHIFT+D).

gtk-fortran 3.24.30

08 Sep 09:51

Choose a tag to compare

Based on GTK 3.24.30, GLib 2.68.4, generated under Fedora 34.

gtk-fortran 4.0

28 Apr 08:11
d7d7aea

Choose a tag to compare

Starting with that release, gtk-fortran will follow a classical semantic versioning (instead of following the GTK or Ubuntu versions): gtk-fortran 4.0 is based on GTK 4.2 and GLib 2.68.

The GTK 4 library is progressively arriving in all systems: Ubuntu 21.04, Fedora 33 & 34, Alpine Linux, ALT Linux Sisyphus, Arch Linux, KaOS, Mageia 8, NetBSD 9.1, OpenMandriva Rolling, openSUSE Tumbleweed. But concerning Debian, it is still in the experimental branch. Concerning Windows, GTK 4 is available in MSYS2.

See the CHANGELOG file for a summary of the new features since the April 2020 release, and the GTK Development Blog to know more about the numerous changes in GTK 4.

Note that the gtkf-sketcher tool has only been partially ported to GTK 4, as an essential API for that tool disappeared from GTK 4. And Glade is not yet ported to GTK 4.

gtk-fortran 3.24.28

28 Apr 08:13
b683a7e

Choose a tag to compare

We have also made a new release in the gtk3 branch, with GTK 3.24.28 and GLib 2.68. All the improvements included in gtk-fortran 3.24.28 (gtk3 branch) are also in gtk-fortran 4.0.

Note that the package names are gtk-3-fortran and gtk-4-fortran: installing both libraries on your machine is not a problem.

gtk-fortran v20.04.gtk3.24.18

16 May 08:43

Choose a tag to compare

gtk-fortran 20.04 is based on GTK 3.24.18 and GLib 2.64.2.

The main objective of this release was to prepare the future GTK 4 migration. A lot of clean-up has been made: scripts, build tools, examples (a lot of deprecated functions were removed)…

A gtk4 development branch has been created. The core of the library is ready for GTK 4 (3.98.3, available for example in Fedora 32). Some examples are already running. The big work will be to upgrade each example and the HL library and its examples. GTK 4 could be released at the end of this year. See: https://blog.gtk.org/

gtk-fortran v19.04.gtk3.24.8

24 Apr 08:11

Choose a tag to compare

Based on GTK 3.24.8, GLib 2.60.0, generated with Ubuntu 19.04 x86_64, PLplot>=5.13.

gtk-fortran v19.04.gtk2.24.32

24 Apr 08:12

Choose a tag to compare

Based on GTK 2.24.32, GLib 2.60.0, generated with Ubuntu 19.04 x86_64, PLplot<=5.10.