Skip to content

Add pkg-config and version information to every jhbuild module #60

Open
@dpino

Description

Moved from #51 (comment)

When pkg-config and version information are present in a jhbuild module, jhbuild will compare the version requested to the version of the library installed via system packages (in case the package was installed). If the system package is newer, then the module is skipped.

Avoiding building modules that are already installed as system libraries will reduce the size of the image. Having pkg-info and version present will also help to inadvertely downgrade a package that is already installed (In case you need to downgrade a package, simply remove the pkg-config or version from the module configuration).

In any case, it seems this mechanism only works in jhbuild for tarballs. I have pushed a merge-request to make the same logic work with git branches:

We have many modules setup as git branches, so we need to get that merge-request merged and jhbuild updated before implementing this change cc @TingPing

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions