Created attachment 339492 [details] app-accessibility/rhvoice-1.0.ebuild Description: Free and open source speech synthesizer for Russian language Homepage: https://github.com/Olga-Yakovleva/RHVoice Hi! I created this ebuild from scratch and I would like to become a maintainer of that package. Thanks :)
Created attachment 339496 [details] app-accessibility/rhvoice/rhvoice-1.0.ebuild Description and depends are updated.
(In reply to comment #1) > Created attachment 339496 [details] > app-accessibility/rhvoice/rhvoice-1.0.ebuild > > Description and depends are updated. Some notes for ebuild: - Use latest EAPI if it's possible(it is EAPI=5 now) - Utilize scons-utils eclass and apropriate functions from it for scons-based package - Dependencies on scons and gcc can be omitted(scons dependency can be added automatically through scons-utils eclass) - For python handling - use python-r1 eclass - We prefer ebuild of releases unless changes in current git sources are vitally needed. If yes, then we make snapshot ebuilds Please fix above issues(for the last one - just tell why git sources are preferrable).
(In reply to comment #2) > (In reply to comment #1) > > Created attachment 339496 [details] > > app-accessibility/rhvoice/rhvoice-1.0.ebuild > > > > Description and depends are updated. > > Some notes for ebuild: > > - Use latest EAPI if it's possible(it is EAPI=5 now) > - Utilize scons-utils eclass and apropriate functions from it for > scons-based package > - Dependencies on scons and gcc can be omitted(scons dependency can be added > automatically through scons-utils eclass) > - For python handling - use python-r1 eclass > - We prefer ebuild of releases unless changes in current git sources are > vitally needed. If yes, then we make snapshot ebuilds > > Please fix above issues(for the last one - just tell why git sources are > preferrable). Ok :) I found it only on git.
Created attachment 339642 [details] app-accessibility/rhvoice/rhvoice-1.0.ebuild Failed while generating the manifest with error 'PYTHON_COMPAT not declared' if I use python-r1.eclass, but there is already PYTHON_COMPAT=( python{2_7} ) What wrong I do ?
Where I should place snapshot from git if git is not preferrable?
If you look at the README in the source tree, it tells you where to download the latest release from; that is where the ebuild should get the tarball. Also, based on the tags I saw in the source repository, 0.2 is the latest release, not 1.0. Thanks, William
(In reply to comment #6) > If you look at the README in the source tree, it tells you where to > download the latest release from; that is where the ebuild should get > the tarball. Also, based on the tags I saw in the source repository, 0.2 > is the latest release, not 1.0. > > Thanks, > > William I looked to https://github.com/Olga-Yakovleva/RHVoice/downloads but there is only RHVoice-NVDA-synthDriver-v0.2.7z — NVDA synthDriver which is uploaded 2 years ago. There is no tarbail related to RHVoice, or am I mistaken? I can clone it from git and create tarbail manually. Is it preferrable?
(In reply to comment #4) > Created attachment 339642 [details] > app-accessibility/rhvoice/rhvoice-1.0.ebuild > > Failed while generating the manifest with error 'PYTHON_COMPAT not declared' > if I use python-r1.eclass, but there is already PYTHON_COMPAT=( python{2_7} ) > > What wrong I do ? Look at the documentation - http://wiki.gentoo.org/wiki/Python-r1/examples You should define PYTHON_COMPAT before inheriting python-r1 or distutils-r1 eclasses
(In reply to comment #8) > (In reply to comment #4) > > Created attachment 339642 [details] > > app-accessibility/rhvoice/rhvoice-1.0.ebuild > > > > Failed while generating the manifest with error 'PYTHON_COMPAT not declared' > > if I use python-r1.eclass, but there is already PYTHON_COMPAT=( python{2_7} ) > > > > What wrong I do ? > > Look at the documentation - http://wiki.gentoo.org/wiki/Python-r1/examples > You should define PYTHON_COMPAT before inheriting python-r1 or distutils-r1 > eclasses Thanks, I didn't know about it, because I looked only at http://devmanual.gentoo.org/eclass-reference/python-r1.eclass/index.html where is no any note about define PYTHON_COMPAT before inherit.
Please leave the severity as "enhancement"; this is the severity we use for new packages.
(In reply to comment #7) > I looked to https://github.com/Olga-Yakovleva/RHVoice/downloads but there is > only > > RHVoice-NVDA-synthDriver-v0.2.7z — NVDA synthDriver which is uploaded 2 > years ago. There is no tarbail related to RHVoice, or am I mistaken? I can > clone it from git and create tarbail manually. Is it preferrable? Since it is on github, you may be able to inherit the vcs-snapshot eclass and not create a tarball.
Also, the dependencies in your ebuild do not look right, DEPEND=${RDEPEND}"..." appears to be a typo.
Created attachment 339760 [details] 339642: app-accessibility/rhvoice/rhvoice-.0.2.ebuild I found tarbail on https://nodeload.github.com/Olga-Yakovleva/RHVoice/legacy.tar.gz/0.2 * Ebuild fixed and version renamed from 1.0 to 0.2.
Created attachment 339762 [details] app-accessibility/rhvoice/rhvoice-.0.2.ebuild * DEPEND=${RDEPEND}" changed to DEPEND="${RDEPEND}"
Created attachment 340406 [details] live ebuild
(In reply to comment #15) > Created attachment 340406 [details] > live ebuild Why here multilib !? Why you used dirty hack? Look at git of rhvoice. There is no neither about multilib. Look to recommendations above which given for me and use them too.
Created attachment 340410 [details] live ebuild Cleanup.
(In reply to comment #16) > (In reply to comment #15) > > Created attachment 340406 [details] > > live ebuild > > Why here multilib !? Why you used dirty hack? Because it was here when I found this ebuild on githab. Without SCONSOPTS="" escons dies. I just tried. > Look to recommendations above which given for me and use them too. I use: no need for EAPI=5. This ebuild don't install python modules. There is a live ebuild, so EGIT_REPO_URI=... I think the latest version from git is _vitally needed_ in case of RHVoice.
Created attachment 379732 [details] app-accessibility/rhvoice/rhvoice-0.3_p20121116.ebuild Yet another attempt to write a ebuild for rhvoice. There is no actual 0.3 release, so this is just a git snapshot. "0.3" is mentioned in SConstruct as "package_version". The snapshot is taken from the git "master" branch, while development for 0.4 version is ongoing in the "rewrite" branch. It seems, that "rewrite" branch doesn't currently have simple command-line text-to-speech tool, so I stick to (relatively old) "master" branch. The ebuild correctly passes {C,LD}FLAGS, CC/CXX and libdir. It requires the following rhvoice-0.3-custom-cc.patch.
Created attachment 379734 [details, diff] app-accessibility/rhvoice/files/rhvoice-0.3-custom-cc.patch Patch to RHVoice to allow setting custom C/C++ compilers, required for rhvoice-0.3_p20121116.ebuild.
Created attachment 381042 [details] ebuild for media-libs/libsonic rhvoice also use libsonic in certain conditions
It's interesting solution with tarball. You can also use short commit label "3e31edced4".
(In reply to Dmitri Bogomolov from comment #21) > Created attachment 381042 [details] > ebuild for media-libs/libsonic > > rhvoice also use libsonic in certain conditions As far as I can see, RHVoice bundles its own copy of the libsonic library. The bundled copy is at src/lib/sonic.{c,h} on "master" branch and at src/third-party/sonic on "rewrite" branch. So we either should 1) drop the libsonic ebuild or 2) keep the libsonic ebuild, add RHVoice dependency on libsonic to the RHVoice ebuild and patch RHVoice for it to be able to pick up the system-wide libsonic. (In reply to Dmitri Bogomolov from comment #22) > It's interesting solution with tarball. You can also use short commit label > "3e31edced4". Thank you, but it's not mine -- it was suggested here.:) Thank you for the idea, but abbreviated hashes are much more likely to collide than full hashes.