Skip to content

Commit

Permalink
Support glib-2.78
Browse files Browse the repository at this point in the history
  • Loading branch information
rhx committed Oct 4, 2023
1 parent 9a16273 commit ed9606d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,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 (swift-5.8-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

Expand Down
2 changes: 2 additions & 0 deletions Sources/GLib/GLib-2.0.verbatim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ATOMIC_REF_COUNT_INIT
DIR_SEPARATOR
GNUC_FUNCTION
GNUC_PRETTY_FUNCTION
Expand All @@ -13,6 +14,7 @@ MAXUINT64
MAXUINT8
MININT64
MODULE_SUFFIX
REF_COUNT_INIT
SEARCHPATH_SEPARATOR
TIME_SPAN_DAY
TIME_SPAN_HOUR
Expand Down

0 comments on commit ed9606d

Please sign in to comment.