Skip to content

forwards-incompatible change to libwingpanel.so library name / soname after GTK4 port #687

Description

@decathorpe

It looks like the GTK4 port (#579) introduced changes to how the library is named and versioned (i.e. libwingpanel.so.8.0.4libwingpanel-9.so.8.0.4). This looks potentially problematic, because it changed the library name to have the -9 suffix, but kept the library versioning (i.e. "use project version, and use project major version for the ABI version").

This means that as soon wingpanel 9.0.0 is tagged, it will be immediately "ABI-incompatible" because it will ship libwingpanel-9.so.9 instead of libwingpanel-9.so.8 - requiring a rebuild of everything that links against libwingpanel even though the ABI doesn't actually change with the "Release 9.0.0" commit.

If you rename the library to have the -9 suffix in the library name instead of the library version, then I would suggest to just statically set library(soversion: "0") until such time as the libwingpanel-9 ABI actually changes again, and then increment it to "1" (i.e. make it independent of the meson project version, since it doesn't actually reflect the library ABI).

→ see also my comment here, but also filing as an issue for better visibility since I do think this is an actual bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Confirmed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions