Skip to content
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

cmu-pocketsphinx 5.0.0 #123396

Closed
wants to merge 1 commit into from
Closed

Conversation

samford
Copy link
Member

@samford samford commented Feb 16, 2023

  • 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 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 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

There's a new PocketSphinx release for the first time in years, so this PR updates the formula to 5.0.0 (released 2022-10-05). With this update, SphinxBase is no longer required and we should be able to deprecate the cmu-sphinxbase formula afterward.

Some things to note:

  • I've used the cmake instructions from the README but let me know if we prefer something different.
  • For whatever reason, the include files are being installed to include/include instead of include (e.g., include/include/pocketsphinx and include/include/pocketsphinx.h). I've labeled this "do not merge" until we can resolve this issue. I tinkered with the CMakeLists.txt file and looked around at other formulae but wasn't able to find a good solution. It's probably something obvious that I'm overlooking, so I'm open to suggestions.

@carlocab
Copy link
Member

  • For whatever reason, the include files are being installed to include/include instead of include (e.g., include/include/pocketsphinx and include/include/pocketsphinx.h).

I think it's an upstream bug. I'll push a fix to check.

@samford
Copy link
Member Author

samford commented Feb 16, 2023

I think it's an upstream bug. I'll push a fix to check.

Tested the patch locally and it appears to do the trick (I'm seeing include/pocketsphinx and include/pocketsphinx.h, as expected). Thanks, @carlocab!

@samford samford mentioned this pull request Feb 16, 2023
6 tasks
@samford samford force-pushed the cmu-pocketsphinx-5.0.0 branch 2 times, most recently from 56f9415 to 7764a32 Compare February 16, 2023 19:03
@carlocab
Copy link
Member

Can you send the patch upstream? You can point them at the docs for why the need the trailing slash.

@samford
Copy link
Member Author

samford commented Feb 16, 2023

Can you send the patch upstream? You can point them at the docs for why the need the trailing slash.

Upstream PR for the patch can now be found at cmusphinx/pocketsphinx#332.

Edit: Merged. I've updated this to use the upstream commit patch instead of the previous inline patch.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Co-authored-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@samford samford deleted the cmu-pocketsphinx-5.0.0 branch February 17, 2023 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants