Difference between revisions of "Developer's corner"

From GCompris
Jump to: navigation, search
(The Drawing board)
(Translation)
 
(34 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{TOCright}}
 
{{TOCright}}
 
= Contact =
 
= Contact =
 +
 +
This page is about the '''Qt version'''. Follow there for the [[Developer's corner Gtk|Gtk+ legacy version]].
  
 
== How to report a bug ==
 
== How to report a bug ==
Line 7: Line 9:
  
 
* Legacy Gtk+ Version: [http://bugzilla.gnome.org/query.cgi gnome bugzilla] and select GCompris in the product list.
 
* Legacy Gtk+ Version: [http://bugzilla.gnome.org/query.cgi gnome bugzilla] and select GCompris in the product list.
* New Qt Quick version: [https://bugs.kde.org KDE bugtracker] and select GCompris in the product list
+
* New Qt Quick version: [https://bugs.kde.org KDE bug tracker] and select GCompris in the product list or for [https://phabricator.kde.org/maniphest/query/0Xc51jhWJnw0/#R internal development we use Phabricator]
  
 
== Mailing list ==
 
== Mailing list ==
Line 15: Line 17:
 
This mailing list is used by the developers and users willing to stay aware of what’s going on. You will get new release announcements. Users can join the list and report bugs, discuss feature they would like to have, ...
 
This mailing list is used by the developers and users willing to stay aware of what’s going on. You will get new release announcements. Users can join the list and report bugs, discuss feature they would like to have, ...
  
The language is English. There is also a user mailing list in [https://mail.kde.org/mailman/listinfo/gcompris-france French] and in [https://lists.sourceforge.net/lists/listinfo/gcompris-portugues Portuguese]. If you want to create a user list in your language, please contact me (bruno.coudoin@gcompris.net).
+
The language is English. There is also a user mailing list in [https://mail.kde.org/mailman/listinfo/gcompris-france French] and in [https://lists.sourceforge.net/lists/listinfo/gcompris-portugues Portuguese].
  
 
== Chat ==
 
== Chat ==
  
You can enter in contact with the users and developers of [http://en.wikipedia.org/wiki/IRC GCompris on IRC]. The server is irc.freenode.net on the channel #gcompris.
+
You can enter in contact with the users and developers of [http://en.wikipedia.org/wiki/IRC GCompris on IRC]. The server is irc.libera.chat on the channel #gcompris.
  
To join an IRC server, you can use the [http://www.xchat.org/ excellent xchat software] or [http://webchat.freenode.net/ directly in your browser].
+
To join an IRC server, you can use any IRC client like for example the [https://hexchat.github.io excellent hexchat software] or [https://kiwiirc.com/nextclient/ directly in your browser].
  
 
= Development =
 
= Development =
Line 27: Line 29:
 
== Documentation of the Qt Quick Version (Under development) ==
 
== Documentation of the Qt Quick Version (Under development) ==
  
This is a new version of GCompris based on the [http://qt.digia.com/qtquick/ Qt Quick] technology. Our users expect us to deliver a version that runs on Desktop and on Tablets. Sadly with the Gtk+ version these was no easy way to achieve this. The decision has been taken to rewrite completely GCompris on a new framework. This is a departure from the Gtk+ development framework that was based on the C and the Python language. Now the development will be done with a mix of QML, Javascipt and C++.
+
This is a new version of GCompris based on the [http://doc.qt.io/qt-5/qtquick-index.html Qt Quick] technology. Our users expect us to deliver a version that runs on Desktop and on Tablets. Sadly with the Gtk+ version these was no easy way to achieve this. The decision has been taken to rewrite completely GCompris on a new framework. This is a departure from the Gtk+ development framework that was based on the C and the Python language. Now the development will be done with a mix of QML, JavaScript and C++.
  
 
The rewrite will not happen overnight and we need your help. If you are interesting in discovering the Qt Quick technology while doing something useful, you can do the port of a GCompris activity.
 
The rewrite will not happen overnight and we need your help. If you are interesting in discovering the Qt Quick technology while doing something useful, you can do the port of a GCompris activity.
  
* Qt Quick [http://quickgit.kde.org/?p=gcompris.git official repository] or [https://github.com/bdoin/GCompris-qt GitHub mirror]
+
* Qt Quick [https://invent.kde.org/education/gcompris official repository] or [https://github.com/gcompris/GCompris-qt GitHub mirror]
 
* [[Qt Quick development process]]
 
* [[Qt Quick development process]]
 
* [[Qt Quick Migration status]]
 
* [[Qt Quick Migration status]]
 
* [[Contribution process]]
 
* [[Contribution process]]
 
+
* [[New contributor]]
=== New contributor ===
 
 
 
If you want to develop a new activity for GCompris a good start is to follow the instructions on this page : [[An exercise for new contributors]].
 
  
 
=== Design ===
 
=== Design ===
Line 44: Line 43:
 
* [[Administration design]]
 
* [[Administration design]]
 
* [[Dataset handling]]
 
* [[Dataset handling]]
 +
* [[Artwork guidelines]]
  
 
=== Translation ===
 
=== Translation ===
  
Translations are managed by the [http://l10n.kde.org/ KDE translation teams]. If you would like to participate in the translation of GCompris you must contact the KDE translation team you want to participate in.
+
Translation guidance can be found in the [[How_to_translate|How to guide]].
 
 
* [http://l10n.kde.org/stats/gui/trunk-kf5/po/gcompris_qt.po/ Translation status]
 
* [http://websvn.kde.org/trunk/l10n-kf5/ To get the po file to translate], navigate in the subversion from the previous link, select your locale then go to the subdirectory messages/playground-edu/.
 
* [[Word Lists Qt|Additional localized list of words]]
 
 
 
== Documentation of the Gtk+ Version (Legacy) ==
 
 
 
This is the desktop application that contains 140 activities. It is under maintenance but no new development are added to it.
 
 
 
=== Compilation ===
 
 
 
==== Source code ====
 
 
 
We use [http://git-scm.com/ git] for our development. The [http://git.gnome.org/browse/gcompris/ git repository] is hosted by Gnome but we also have a [https://github.com/bdoin/GCompris GitHub mirror].
 
 
 
To get the GCompris master branch (warning this takes more than 500MB) :
 
<code><pre>
 
git clone git://git.gnome.org/gcompris
 
cd gcompris
 
sh autogen.sh && make
 
</pre></code>
 
 
 
Alternatively, if you are only interested in the recent history, and would want to send in fixes as patches, you can use the option: <code>git clone --depth=1 git://git.gnome.org/gcompris</code>. It will save you more than 100MB.
 
 
 
==== Dependencies ====
 
 
 
GCompris has a lot of dependencies. On a Debian based distribution that already packages GCompris, you can install all the required dependencies with the command 'apt-get build-dep gcompris'.
 
 
 
==== Compilation ====
 
 
 
Download the archive gcompris-X.X.tar.gz or get it from git then:
 
* tar -xvf gcompris-X.X.tar.gz
 
* cd gcompris-X.X
 
* sh configure
 
 
 
Analyse, the errors, install the missing dependancies. Often you will have to install the -devel packages on your distribution. On Ubuntu or Debian, you can get all the build dependancies with the command ’apt-get build-dep gcompris’.
 
 
 
Then run:
 
* make
 
* make install
 
 
 
==== Installation ====
 
 
 
We do our best to let GCompris run on as many software and hardware platform as we can. In this section, we list the supported platform and [[Installation|specific installation instructions]].
 
 
 
=== Development ===
 
 
 
* [[GCompris internals]] gives an overview of the design of GCompris. It is a good starting point for anybody willing to contribute code.
 
* [[Adding an activity]]
 
* [[Adding a puzzle activity]]
 
* [[Adding an explore activity]]
 
* [[Adding a music activity and using gcomprismusic.py module]]
 
 
 
=== Packagers ===
 
 
 
GCompris is a large software which has numerous dependencies. We ask packagers to be very careful and follow this minimal and [[manual test]] process.
 
 
=== Translations ===
 
 
 
* GCompris translations are managed by the [http://l10n.gnome.org/teams/ Gnome translation teams].
 
* [http://l10n.gnome.org/module/gcompris/#master Translation status] for the Software itself.
 
* [[Translation addons]]. There is more than the .po file to translation GCompris.
 
* [[Voices translation]].
 
* [[Web site translation]] is managed by volunteers.
 
* [[Color translation]]
 
  
 
== The Drawing board ==
 
== The Drawing board ==
Line 120: Line 55:
 
* [[Ideas for activities]]
 
* [[Ideas for activities]]
 
* [[Star system review]]
 
* [[Star system review]]
* [[Todo for OLPC]]/sugar future ? Review of sugar/OLPC activities and way to integrate.
 
* [[Notes on OSX port]]
 
 
* [[Language Learning]]
 
* [[Language Learning]]
* [[Writing tutor]]
 
* [[Wiktionary to XML]]
 
  
 
[[Category:Developer]]
 
[[Category:Developer]]
 
[[Category:English]]
 
[[Category:English]]

Latest revision as of 16:33, 12 December 2021

Contact

This page is about the Qt version. Follow there for the Gtk+ legacy version.

How to report a bug

To fill a bug report for GCompris:

Mailing list

You can join and browse the GCompris mailing list.

This mailing list is used by the developers and users willing to stay aware of what’s going on. You will get new release announcements. Users can join the list and report bugs, discuss feature they would like to have, ...

The language is English. There is also a user mailing list in French and in Portuguese.

Chat

You can enter in contact with the users and developers of GCompris on IRC. The server is irc.libera.chat on the channel #gcompris.

To join an IRC server, you can use any IRC client like for example the excellent hexchat software or directly in your browser.

Development

Documentation of the Qt Quick Version (Under development)

This is a new version of GCompris based on the Qt Quick technology. Our users expect us to deliver a version that runs on Desktop and on Tablets. Sadly with the Gtk+ version these was no easy way to achieve this. The decision has been taken to rewrite completely GCompris on a new framework. This is a departure from the Gtk+ development framework that was based on the C and the Python language. Now the development will be done with a mix of QML, JavaScript and C++.

The rewrite will not happen overnight and we need your help. If you are interesting in discovering the Qt Quick technology while doing something useful, you can do the port of a GCompris activity.

Design

Translation

Translation guidance can be found in the How to guide.

The Drawing board

These are pages to hold the different discussion for things we are working on: