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

espeak: fix build #2726

Closed
wants to merge 7 commits into from
Closed

espeak: fix build #2726

wants to merge 7 commits into from

Conversation

danielbair
Copy link
Contributor

Patched to build static and dynamic libraries with needed changes 'per brew audit' now.
Please note: upstream development is dead on the espeak project from my research.
A new project named espeak-ng is progressing with new developers, but this is needed for the older espeak project and other projects that link against the old espeak.

Patched to compile static and dynamic libraries (libespeak.*) and added
docs to share.install
@MikeMcQuaid
Copy link
Member

@danielbair Just FYI: you don't need to resubmit PRs on changes: you can just push commits to them. It's also worth using a non-master branch for this reason.

Please note: upstream development is dead on the espeak project from my research.

In this case I think it's probably worth just removing this project/formula file from Homebrew instead of patching it.

@pettarin
Copy link

pettarin commented Jul 6, 2016

@MikeMcQuaid Hi, I would like to suggest to keep the eSpeak formula, as no official version of eSpeak-ng has been released yet, and eSpeak is still a popular choice for people looking for a free software TTS, plus third party projects (including a couple of mine) depend on it. Personally, I am planning to switch to eSpeak-ng only after the new lead developer of that project releases an official/packaged version --- right now one has to get and compile the dev sources.

@dunn dunn added the marked for removal/rejection PR is probably going to be closed or formula deleted label Jul 9, 2016
@MikeMcQuaid
Copy link
Member

Sorry, I don't think we'll merge this as-is if it needs this much patching.

Hi, I would like to suggest to keep the eSpeak formula, as no official version of eSpeak-ng has been released yet, and eSpeak is still a popular choice for people looking for a free software TTS, plus third party projects (including a couple of mine) depend on it. Personally, I am planning to switch to eSpeak-ng only after the new lead developer of that project releases an official/packaged version --- right now one has to get and compile the dev sources.

@pettarin That seems reasonable.

Disable #define USE_ASYNC to compile for OS X. Found solution from the
developer from this
(https://sourceforge.net/p/espeak/discussion/538922/thread/0d957467/#407
d) discussion.
@danielbair
Copy link
Contributor Author

@MikeMcQuaid will you re-consider merging with the patches only being four lines now?
This provides libespeak.dylib which greatly accelerates @pettarin aeneas application on osx.

-#define USE_ASYNC
-#endif
+//#ifdef LIBRARY
+//#define USE_ASYNC
Copy link
Member

Choose a reason for hiding this comment

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

Could just comment out this single line.

@MikeMcQuaid
Copy link
Member

@danielbair It's looking better now. Could you try to use inreplace to make a modification using regex? Should be able to only modify two lines that way. Also, please add a comment for each change explaining why it's needed and report it to upstream (even if you consider them dead) with a link to the upstream report.

@UniqMartin UniqMartin changed the title Fixed to build libespeak espeak: fix build Jul 16, 2016
@danielbair
Copy link
Contributor Author

@MikeMcQuaid I have modified to use inreplace and provided comments. I have also submitted an upstream patch with these changes to support OS X here... https://sourceforge.net/p/espeak/patches/17/
@dunn Would you be willing to remove the marked for removal/rejection flag per the discussion on this pull request?

@dunn dunn removed the marked for removal/rejection PR is probably going to be closed or formula deleted label Jul 16, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
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.

None yet

4 participants