Skip to content
This repository was archived by the owner on Sep 20, 2026. It is now read-only.

formula: hunspell/hunspell - #482

Open
MeteorsLiu wants to merge 4 commits into
xgo-dev:mainfrom
MeteorsLiu:issue/277-hunspell-luna
Open

MeteorsLiu wants to merge 4 commits into
xgo-dev:mainfrom
MeteorsLiu:issue/277-hunspell-luna

Conversation

@MeteorsLiu

Copy link
Copy Markdown
Collaborator

Closes #277

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formula structure and consumer wiring are otherwise consistent with the surrounding LLAR modules. git diff --check passes; the PR's current workflow checks are failing, so those failures should also be investigated.


c := cmake.new(ctx.SourceDir, filepath.join(ctx.SourceDir, "_build"), installDir)
c.define "CMAKE_INSTALL_LIBDIR", "lib"
c.define "CONAN_hunspell_VERSION", "1.7.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Preserve the selected Hunspell version

This Formula is selected for every tag from v1.7.0 onward, including the requested v1.7.2, but it hard-codes CONAN_hunspell_VERSION to 1.7.0. That value becomes CMake's PROJECT_VERSION, so later releases are installed with the 1.7.0 shared-library filename/version, and the pkg-config file below also reports 1.7.0; consumers and cache/package tooling therefore observe the wrong release and ABI filename. Either keep this threshold only for versions whose output is intentionally identical, or add version-specific Formula thresholds/metadata so each supported source tag retains its actual version.

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translate Conan Center hunspell recipe to LLAR

1 participant