How can I compile GCompris with the voices added to it?

amine amine ammine007 at gmail.com
Tue Nov 27 21:40:29 GMT 2018


Awesome, thanks to this great community and to you!

On Tue, Nov 27, 2018 at 10:39 PM Johnny Jazeix <jazeix at gmail.com> wrote:

> Great to hear it works! The missing dependencies has been spotted by a GCi
> student a few weeks ago and the dependencies in the wiki updated to add it.
>
> Le mar. 27 nov. 2018 à 21:59, amine amine <ammine007 at gmail.com> a écrit :
>
>> Thank you for every thing !
>>
>> On Tue, Nov 27, 2018 at 9:53 PM amine amine <ammine007 at gmail.com> wrote:
>>
>>>
>>>    - Thank you all !
>>>    Here is the command that solved my problem.  I'm not sure if it is a
>>>    requirement to the compilation of GCompris with sounds and voices
>>>    - sudo apt-get install libqt5multimedia5-plugins
>>>
>>>
>>> On Tue, Nov 27, 2018 at 9:20 PM Johnny Jazeix <jazeix at gmail.com> wrote:
>>>
>>>> Please do not send big attachments directly in a mail sent to a mailing
>>>> list, but a link to a service instead (google drive or other).
>>>>
>>>> The first line of the logs say: no service found for
>>>> "org.qt.project.qt.mediaplayer". This is the issue!
>>>>
>>>> Can you check if you have the different gstreamer packages?
>>>> I think it is the gstreamer1.0-plugins-bad and
>>>> gstreamer1.0-plugins-good that are needed.
>>>> If it does not work, maybe Qt uses the 0.10 version and it is:
>>>> gstreamer0.10-plugins-bad and gstreamer0.10-plugins-good that are needed
>>>>
>>>> Johnny
>>>>
>>>> Le mar. 27 nov. 2018 à 21:05, amine amine <ammine007 at gmail.com> a
>>>> écrit :
>>>>
>>>>> Sure, Kindly find it attached to this email as a screen record.
>>>>> It says:
>>>>>
>>>>> exeCount set to:  141
>>>>>
>>>>> defaultServiceProvider::requestService(): no service found for -
>>>>> "org.qt-project.qt.mediaplayer"
>>>>>
>>>>> qml: enter main.qml (run #141, ratio=2.076923076923077,
>>>>> fontRatio=2.25, dpi=128,
>>>>> sharedWritablePath=/home/webuser/.local/share/GCompris)
>>>>>
>>>>> Downloading resource file "data2/voices-ogg/voices-en.rcc"
>>>>>
>>>>> Downloading resource file "data2/words/words.rcc"
>>>>>
>>>>> Download of QUrl("http://gcompris.net/data2/words/words.rcc") is
>>>>> already running, skipping second attempt.
>>>>>
>>>>> notifyWordset:  "data2/words/words.rcc"
>>>>>
>>>>> Local resource is up-to-date: "words.rcc"
>>>>>
>>>>> Error registering resource file
>>>>> "/home/webuser/.cache/KDE/gcompris-qt/data2/words/words.rcc"
>>>>>
>>>>> Local resource is up-to-date: "voices-en.rcc"
>>>>>
>>>>> Successfully registered resource
>>>>> "/home/webuser/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en.rcc"
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 27, 2018 at 8:44 PM Johnny Jazeix <jazeix at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Can you send the output of the terminal?
>>>>>>
>>>>>> You should have logs like:
>>>>>> Downloading resource file "data2/voices-ogg/voices-en.rcc"
>>>>>> Download of RCC file finished successfully:  QUrl("
>>>>>> http://gcompris.net/data2/voices-ogg/voices-en.rcc")
>>>>>> Successfully registered resource
>>>>>> "/home/jazeix/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en.rcc"
>>>>>>
>>>>>> GCompris should download automatically the voices and store them in
>>>>>> ~/.cache/KDE/gcompris-qt/data2/voices-ogg
>>>>>>
>>>>>> If you don't have the voices, can you go on the configuration, and
>>>>>> check what language are you using and click on the "Check for updates".
>>>>>> Note that it needs to download the files and should automatically be
>>>>>> loaded for the current session.
>>>>>>
>>>>>> I'll take a look later to update the wiki, thanks for mentioning the
>>>>>> page.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Le mar. 27 nov. 2018 à 20:24, amine amine <ammine007 at gmail.com> a
>>>>>> écrit :
>>>>>>
>>>>>>> Thanks a lot for your prompt answer!
>>>>>>> I have managed to compile with translations added successfully.
>>>>>>> I can execute /bin/gcompris-qt,  and I can find that now I have the
>>>>>>> Arabic language listed in the software configuration board.
>>>>>>> My poblem is that: i have no background music, no voice saying
>>>>>>> "welcome to gcompris". For example using the Colors Activity with Ducks;
>>>>>>> when i click on the mouth, i have no color's name pronounced; Still i'm
>>>>>>> using the english language on gcompris.
>>>>>>> That is why, i asked if i need to compile/generate the sound files
>>>>>>> What should i do?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> NB: The reference in the contribute documentation of GCompris, to "/home/webuser/git-projects/GCompris-voices"
>>>>>>> and its github repository, should be removed or changed. Thank you all.
>>>>>>>
>>>>>>> What is my next step?
>>>>>>>
>>>>>>> On Tue, Nov 27, 2018 at 7:49 PM Johnny Jazeix <jazeix at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Le mar. 27 nov. 2018 à 19:26, amine amine <ammine007 at gmail.com> a
>>>>>>>> écrit :
>>>>>>>>
>>>>>>>>> Thank you for your help. But to be honest it is not clear to me.
>>>>>>>>> Here is my actual configuration: I use Debian GNU/Linux 64bits.
>>>>>>>>> - I have downloaded installed GCompris that comes by default with
>>>>>>>>> the OS: GCompris V15.10
>>>>>>>>>
>>>>>>>>
>>>>>>>> This is the previous unmaintained gcompris version, not the one we
>>>>>>>> are currently developing.
>>>>>>>> The current one is named "gcompris-qt" on Debian (
>>>>>>>> https://packages.debian.org/search?keywords=gcompris-qt).
>>>>>>>>
>>>>>>>>
>>>>>>>>> - I have also downloaded the binaries of the version 0.91
>>>>>>>>>
>>>>>>>>
>>>>>>>> If you want to compile gcompris, you don't need the binaries.
>>>>>>>>
>>>>>>>> - I have cloned the 0.91 project from github; and it is here:
>>>>>>>>> "/home/webuser/git-projects/GCompris-qt"
>>>>>>>>>
>>>>>>>>
>>>>>>>> Once you have the source code, you can build it using QtCreator
>>>>>>>> (open the CMakeLists.txt at the root and build it) or in command line:
>>>>>>>> cd /home/webuser/git-projects/GCompris-qt
>>>>>>>> mkdir build
>>>>>>>> cd build
>>>>>>>> cmake .. && make getSvnTranslations && cmake .. && make
>>>>>>>>
>>>>>>>> You need some dependencies, you can follow
>>>>>>>> https://gcompris.net/wiki/Qt_Quick_development_process#Compilation_prerequisites
>>>>>>>> (subversion for example is required to retrieve the translations)
>>>>>>>> I'm not sure on how to run a specific make target on QtCreator but
>>>>>>>> if you want to retrieve the translation files, you need to run the
>>>>>>>> "getSvnTranslations" target and run cmake again.
>>>>>>>>
>>>>>>>> - I have also cloned the two projects from github :
>>>>>>>>> GCompris-voices : here is its path:
>>>>>>>>> "/home/webuser/git-projects/GCompris-voices"
>>>>>>>>>
>>>>>>>>>
>>>>>>>> This one is no more used, now, the voices are stored in
>>>>>>>> GCompris-data repository.
>>>>>>>>
>>>>>>>>
>>>>>>>>> GCompris-data : here is its path
>>>>>>>>> "/home/webuser/git-projects/GCompris-data"
>>>>>>>>>
>>>>>>>>> I really do not know what to do then ? sorry but i'm new to Qt and
>>>>>>>>> QML.
>>>>>>>>>
>>>>>>>>> I just need to compile and run my
>>>>>>>>> "/home/webuser/git-projects/GCompris-qt" with QT-Creator, with sounds
>>>>>>>>> (BackGround music) and voices depending on the Language i've chosen.
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Once it's compiled, you can run it in the terminal:
>>>>>>>> ./bin/gcompris-qt
>>>>>>>> By default, it should download the voices from
>>>>>>>> https://gcompris.net/data2/voices-ogg/, you don't need to compile
>>>>>>>> the voices directly.
>>>>>>>> If you have no voices for a language, it means that the voice file
>>>>>>>> doesn't exist for this language.
>>>>>>>>
>>>>>>>> If you plan to add/update new voices, then it is what I wrote below.
>>>>>>>>
>>>>>>>> Johnny
>>>>>>>>
>>>>>>>> Thank you once again
>>>>>>>>>
>>>>>>>>> On Mon, Nov 26, 2018 at 9:44 PM Johnny Jazeix <jazeix at gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> If you want to compile from the existing voices, you can find
>>>>>>>>>> them in this repository:
>>>>>>>>>> https://github.com/gcompris/GCompris-data
>>>>>>>>>> In the voices folder, there is update_voices.sh
>>>>>>>>>> <https://github.com/gcompris/GCompris-data/blob/master/voices/update_voices.sh>
>>>>>>>>>> script to generate the rcc files.
>>>>>>>>>>
>>>>>>>>>> If you just want to have the existing voices, in the
>>>>>>>>>> configuration, you can set to Arabic and click on "Check for updates" in
>>>>>>>>>> front of "Localized voices".
>>>>>>>>>>
>>>>>>>>>> Note that for arabic, we don't have the voices for all
>>>>>>>>>> introductions and words:
>>>>>>>>>> https://gcompris.net/voicestats/voice_status_ar.html
>>>>>>>>>>
>>>>>>>>>> Johnny
>>>>>>>>>>
>>>>>>>>>> Le lun. 26 nov. 2018 à 21:21, amine amine <ammine007 at gmail.com>
>>>>>>>>>> a écrit :
>>>>>>>>>>
>>>>>>>>>>> Salam,
>>>>>>>>>>> Hi, every one,
>>>>>>>>>>> I really need to compile gcompris, so that it runs like  inaries
>>>>>>>>>>> of the debian packages.
>>>>>>>>>>>
>>>>>>>>>>> Now, when i compile GCompris, all I get is no background sound,
>>>>>>>>>>> no voices.
>>>>>>>>>>> I've cloned: git clone
>>>>>>>>>>> https://github.com/bdoin/GCompris-voices.git
>>>>>>>>>>>
>>>>>>>>>>> but are the next steps ?
>>>>>>>>>>> Thank you all :)
>>>>>>>>>>> I want to do the same, but in arabic
>>>>>>>>>>>
>>>>>>>>>>> https://www.youtube.com/watch?v=QnfF2WYOYP0&list=PLVIJwwsCLAJnZZdsSJCI8zNMOJg_LPfeM
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Sep 21, 2018 at 8:35 PM amine amine <ammine007 at gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Sure, I'd be happy to! :)
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Sep 19, 2018 at 10:37 AM Aman Kumar Gupta <
>>>>>>>>>>>> gupta2140 at gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you for your appreciation :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Welcome to GCompris community and we would love to have you
>>>>>>>>>>>>> and your contributions ;)
>>>>>>>>>>>>>
>>>>>>>>>>>>> You can also connect with us on #gcompris channel on Freenode
>>>>>>>>>>>>> IRC.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Aman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed 19 Sep, 2018, 3:00 PM amine amine, <ammine007 at gmail.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi every one,
>>>>>>>>>>>>>> Thank you very much for this great piece of free software, I
>>>>>>>>>>>>>> really loved it, and so does my 3yo and 6yo children.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I wish you all the best, and I hope I can help!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Amine Arrahmane Achargui
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Effectiveness (“Do the right things”)
>>>>>>>>>>>>>> Efficiency (“Do the things right”)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Great to see that great projects choose to use great projects
>>>>>>>>>>>>>> to become even greater
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Amine Arrahmane Achargui
>>>>>>>>>>>>
>>>>>>>>>>>> Effectiveness (“Do the right things”)
>>>>>>>>>>>> Efficiency (“Do the things right”)
>>>>>>>>>>>>
>>>>>>>>>>>> Great to see that great projects choose to use great projects
>>>>>>>>>>>> to become even greater
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Amine Arrahmane Achargui
>>>>>>>>>>>
>>>>>>>>>>> Effectiveness (“Do the right things”)
>>>>>>>>>>> Efficiency (“Do the things right”)
>>>>>>>>>>>
>>>>>>>>>>> Great to see that great projects choose to use great projects to
>>>>>>>>>>> become even greater
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Amine Arrahmane Achargui
>>>>>>>>>
>>>>>>>>> Effectiveness (“Do the right things”)
>>>>>>>>> Efficiency (“Do the things right”)
>>>>>>>>>
>>>>>>>>> Great to see that great projects choose to use great projects to
>>>>>>>>> become even greater
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Amine Arrahmane Achargui
>>>>>>>
>>>>>>> Effectiveness (“Do the right things”)
>>>>>>> Efficiency (“Do the things right”)
>>>>>>>
>>>>>>> Great to see that great projects choose to use great projects to
>>>>>>> become even greater
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Amine Arrahmane Achargui
>>>>>
>>>>> Effectiveness (“Do the right things”)
>>>>> Efficiency (“Do the things right”)
>>>>>
>>>>> Great to see that great projects choose to use great projects to
>>>>> become even greater
>>>>>
>>>>
>>>
>>> --
>>> Amine Arrahmane Achargui
>>>
>>> Effectiveness (“Do the right things”)
>>> Efficiency (“Do the things right”)
>>>
>>> Great to see that great projects choose to use great projects to become
>>> even greater
>>>
>>
>>
>> --
>> Amine Arrahmane Achargui
>>
>> Effectiveness (“Do the right things”)
>> Efficiency (“Do the things right”)
>>
>> Great to see that great projects choose to use great projects to become
>> even greater
>>
>

-- 
Amine Arrahmane Achargui

Effectiveness (“Do the right things”)
Efficiency (“Do the things right”)

Great to see that great projects choose to use great projects to become
even greater
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20181127/8a28b81c/attachment-0001.html>


More information about the GCompris-devel mailing list