8000 qrencode: update stable by samford · Pull Request #221793 · Homebrew/homebrew-core · GitHub
[go: up one dir, main page]

Skip to content

qrencode: update stable #221793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2025
Merged

qrencode: update stable #221793

merged 2 commits into from
May 26, 2025

Conversation

samford
Copy link
Member
@samford samford commented Apr 28, 2025
  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

The homepage for qrencode no longer links to tarball files and previous files appear to have been removed in the process, so the stable URL now returns a 404 (Not Found) response. The homepage instructs users to download source packages from the GitHub releases page instead.

This updates the formula to use the newest tag tarball from GitHub (4.1.1, from 2020-09-28) and adjusts the build steps/dependencies accordingly. While building the formula, I encountered a qrencode.c:932:9: error: use of undeclared identifier 'VERSION' error during the make step. Looking at configure.ac, it appears that VERSION is not set like MAJOR_VERSION, etc. I've included a patch that adds this change and the formula builds as expected after applying it.

I'm not sure if this is the best way of handling this but it seems to work. If this patch makes sense to others, I can open an upstream PR for the change but no PRs have been merged since 2020 and the most recent commit is from 2020-09-28, so the project appears to be pretty dormant. At the very least, I will add the patch to the formula-patches repository and update this PR.

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

8000

@github-actions github-actions bot added the stale No recent activity label May 20, 2025
@samford samford removed the stale No recent activity label May 20, 2025
The homepage for `qrencode` no longer links to tarball files and
previous files appear to have been removed in the process, so the
`stable` URL now returns a 404 (Not Found) response. The homepage
instructs users to download source packages from the GitHub releases
page instead.

This updates the formula to use the newest tag tarball from GitHub
(4.1.1, from 2020-09-28) and adjusts the build steps/dependencies
accordingly. While building the formula, I encountered a
`qrencode.c:932:9: error: use of undeclared identifier 'VERSION'`
error during the `make` step. Looking at `configure.ac`, it appears
that `VERSION` is not set like `MAJOR_VERSION`, etc. I've included a
patch that adds this change and the formula builds as expected after
applying it.
@daeho-ro daeho-ro force-pushed the qrencode-update-stable branch from 8cad042 to b49a34d Compare May 26, 2025 11:53
@daeho-ro
Copy link
Member
daeho-ro commented May 26, 2025

Version is coming from cmake build and so I have changed to use it.

@daeho-ro daeho-ro marked this pull request as ready for review May 26, 2025 11:54
@daeho-ro daeho-ro added the ready to merge PR can be merged once CI is green label May 26, 2025
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label May 26, 2025
@BrewTestBot BrewTestBot enabled auto-merge May 26, 2025 21:52
@BrewTestBot BrewTestBot added this pull request to the merge queue May 26, 2025
Merged via the queue into master with commit cddd41c May 26, 2025
17 checks passed
@BrewTestBot BrewTestBot deleted the qrencode-update-stable branch May 26, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0