Skip to content

2.0.1

Choose a tag to compare

@makoni makoni released this 11 Oct 12:40

The package builds again against libadwaita 1.10 and GLib 2.88+, as current Homebrew ships them, and swift package generate-documentation works against those headers too. No API changes.

Fixed

AdwTabViewShortcuts.none compiles against libadwaita 1.10. libadwaita 1.10 marks AdwTabViewShortcuts with G_GNUC_FLAG_ENUM (defined since GLib 2.88), so Swift imports it as an OptionSet and hides the zero case ADW_TAB_VIEW_SHORTCUT_NONE — swift build failed with "'ADW_TAB_VIEW_SHORTCUT_NONE' is unavailable". .none is now built from its raw value, which compiles against both older and newer headers; its value is unchanged.

Documentation builds against libadwaita 1.10. libadwaita defines ADW_VERSION as (1.10.0), which is not a valid C token. Symbol graph extraction imports every macro of the re-exported CAdwaita module and failed on it. The shim now undefines it; ADW_VERSION_S and ADW_MAJOR_VERSION / ADW_MINOR_VERSION / ADW_MICRO_VERSION remain available.

buildDocs.sh creates the parent of DOCC_OUTPUT_PATH, so a custom output path no longer fails when DocC moves the archive into place.