From b98d20ca5ea5530e658c610921a5b9ff66d3d610 Mon Sep 17 00:00:00 2001 From: Rene Hexel Date: Thu, 5 Oct 2023 06:43:48 +1000 Subject: [PATCH] Support glib-2.78 --- README.md | 8 ++++---- Sources/GLib/GLib-2.0.verbatim | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 313238d5..ef764557 100644 --- a/README.md +++ b/README.md @@ -97,18 +97,18 @@ After that, use the (usual) Build and Test buttons to build/test this package. To build, download Swift from https://swift.org/download/ -- if you are using macOS, make sure you have the command line tools installed as well). Test that your compiler works using `swift --version`, which should give you something like $ swift --version - swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100) - Target: arm64-apple-macosx13.0 + swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1) + Target: arm64-apple-macosx14.0 on macOS, or on Linux you should get something like: $ swift --version - Swift version 5.8.1 (swift-5.8.1-RELEASE) + Swift version 5.9 (swift-5.9-RELEASE) Target: x86_64-unknown-linux-gnu ### Gtk 3.22 or higher -The Swift wrappers have been tested with glib-2.56, 2.58, 2.60, 2.62, 2.64, 2.66, 2.68, 2.70, 2.72, 2.74, and 2.76, and gdk/gtk 3.22, 3.24 as well as 4.0, 4.2, 4.4, 4.6, 4.8, and 4.10 on the `gtk4` branch. They should work with higher versions, but YMMV. Also make sure you have `gobject-introspection` and its `.gir` files installed. +The Swift wrappers have been tested with glib-2.56, 2.58, 2.60, 2.62, 2.64, 2.66, 2.68, 2.70, 2.72, 2.74, 2.76 and 2.78, and gdk/gtk 3.22, 3.24 as well as 4.0, 4.2, 4.4, 4.6, 4.8, and 4.10 on the `gtk4` branch. They should work with higher versions, but YMMV. Also make sure you have `gobject-introspection` and its `.gir` files installed. #### Linux diff --git a/Sources/GLib/GLib-2.0.verbatim b/Sources/GLib/GLib-2.0.verbatim index 2dfafb45..af725572 100644 --- a/Sources/GLib/GLib-2.0.verbatim +++ b/Sources/GLib/GLib-2.0.verbatim @@ -1,3 +1,4 @@ +ATOMIC_REF_COUNT_INIT DIR_SEPARATOR GNUC_FUNCTION GNUC_PRETTY_FUNCTION @@ -13,6 +14,7 @@ MAXUINT64 MAXUINT8 MININT64 MODULE_SUFFIX +REF_COUNT_INIT SEARCHPATH_SEPARATOR TIME_SPAN_DAY TIME_SPAN_HOUR