[gcompris-devel] Need Help About contributing

Apurva Tripathi apurva at apurvatripathi.in
Mon Feb 13 02:49:35 UTC 2012


Hi Bruno,

                      I was going through the ideas wiki. I really liked
the image/letter association activity and plant growing simulator. I want
to discuss more about these ideas. I am a beginner so I need help start
contributing to Gcompris.

Apurva

On Sun, Feb 12, 2012 at 9:59 PM, <
gcompris-devel-request at lists.sourceforge.net> wrote:

> Send gcompris-devel mailing list submissions to
>        gcompris-devel at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> or, via email, send a message with subject or body 'help' to
>        gcompris-devel-request at lists.sourceforge.net
>
> You can reach the person managing the list at
>        gcompris-devel-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gcompris-devel digest..."
>
>
> Today's Topics:
>
>   1. Re: GComprisShapegame gimp script (Bruno Coudoin)
>   2. Re: GComprisShapegame gimp script (Angel Ivan Moreno)
>   3. Re: GComprisShapegame gimp script (Angel Ivan Moreno)
>   4. Language learning Activity (Bruno Coudoin)
>   5. Need Help About contributing (Apurva Tripathi)
>   6. Re: Need Help About contributing (Bruno Coudoin)
>   7. Re: GComprisShapegame gimp script (Angel Ivan Moreno)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 22 Jan 2012 11:56:08 +0100
> From: Bruno Coudoin <bruno.coudoin at gcompris.net>
> Subject: Re: [gcompris-devel] GComprisShapegame gimp script
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID: <1327229768.3624.3.camel at kong>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Le dimanche 22 janvier 2012 ? 01:08 +0100, Angel Ivan Moreno a ?crit :
> > Is there a trick to use the python script for the babyshapes activity?
> > The
> > boards are very similar to the geography activity, but the python
> > script
> > does not seem to directly support it, although some of the xml files
> > in
> > that activity refer to that python script...
> >
> Hi,
>
> In Gimp, you should have a script-fu menu for GCompris with 2 entries
> "Geography" and "Puzzle". I think the Puzzle one is close to what you
> need, have you tried it ?
>
> Bruno.
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 22 Jan 2012 17:20:44 +0100
> From: Angel Ivan Moreno <angelivanm at gmail.com>
> Subject: Re: [gcompris-devel] GComprisShapegame gimp script
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID:
>        <CADTDjAqG7VqK5W2geDzyxQ6r+H8U3BXB=-EcqmtJp3txSZaToA at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> The Puzzle activity autogenerates the tiles. What I want is to be able to
> select the shapes I want for the babyshapes activity. I managed to to that
> by cutting and pasting the areas I wanted in new images, besides adding
>  them to a channel. At the end, I run the geography script and replace the
> generated images with the ones manually generated. So I only reuse the
> generated xml file (still, removing the sound references). I wondered
> whether more automation was possible or if an updated script existed
> somewhere.
>
> On Sun, Jan 22, 2012 at 11:56 AM, Bruno Coudoin
> <bruno.coudoin at gcompris.net>wrote:
>
> > Le dimanche 22 janvier 2012 ? 01:08 +0100, Angel Ivan Moreno a ?crit :
> > > Is there a trick to use the python script for the babyshapes activity?
> > > The
> > > boards are very similar to the geography activity, but the python
> > > script
> > > does not seem to directly support it, although some of the xml files
> > > in
> > > that activity refer to that python script...
> > >
> > Hi,
> >
> > In Gimp, you should have a script-fu menu for GCompris with 2 entries
> > "Geography" and "Puzzle". I think the Puzzle one is close to what you
> > need, have you tried it ?
> >
> > Bruno.
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-dev2
> > _______________________________________________
> > gcompris-devel mailing list
> > gcompris-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> >
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 23 Jan 2012 00:27:41 +0100
> From: Angel Ivan Moreno <angelivanm at gmail.com>
> Subject: Re: [gcompris-devel] GComprisShapegame gimp script
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID:
>        <CADTDjAqdCqB9ACdP9CL-YWCQxcg4BLMW1U+agFnfO+J0LEzieA at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> I managed to make it work adding a new option based on the geography one
> created by Miguel de Izarra. The idea is the same. For each selection a new
> channel needs to be created:
>
> def gcompris_babyshapes(img, sdrawable, activity_name,
>                       folder, title, bordersize, shapes_color,level,
> sublevel):
>    """Create file for the babyshapes activity from the current image """
>    # Default values
>    if(not activity_name):
>        activity_name = "babyshapes"
>
>    if not gcompris_init(img):
>        return
>    if len(img.channels) == 0:
>        gimp.message("Can't find channels. Please create them.")
>        return
>
>    save_bg = gimp.get_background()
>    save_fg = gimp.get_foreground()
>
>    layer_map = img.layers[0]
>    if not layer_map.has_alpha:
>    layer_map.add_alpha()
>
>    layerlist = []
>    for chan in img.channels :
>        pdb.gimp_selection_load(chan)
>        pdb.gimp_selection_grow(img, bordersize)
>        # create new layer from selection
>        pdb.gimp_edit_copy(layer_map)
>        pdb.gimp_floating_sel_to_layer(pdb.gimp_edit_paste(layer_map, 1))
>        layer = img.active_layer
>        layer.name = chan.name
>        layerlist.append(layer)
> # Fill main image with a color
>        if shapes_color==1:
>        gimp.set_background(255,255, 255)
>        elif shapes_color==2:
>           gimp.set_background(0, 0, 0)
>        else:
>            gimp.set_background(randint(0, 255), randint(0, 255),
> randint(0, 255))
>        pdb.gimp_selection_load(chan)
>        pdb.gimp_selection_grow(img, bordersize)
>        pdb.gimp_edit_fill(layer_map,BACKGROUND_FILL)
>
>
>    gimp.set_background(save_bg)
>    gimp.set_foreground(save_fg)
>    pdb.gimp_selection_none(img)
>
>    shape = dict()
>    shape["<tooltip>"] = "%n"
>    title_d = dict(x=600, y=495, justification="GTK_JUSTIFY_CENTER")
>    title_d["<name>"] = title
>
>    layer_map.name = "background"
>    gcompris_layer_to_board(layerlist, activity_name, folder, title_d,
> layer_map, shape,
>                            level, sublevel)
>
> register(
>    "gcompris_babyshapes",
>    "Make files for babyshapes activity",
>    "Make files for babyshapes activity",
>    "Miguel de Izarra. Adapted by A.I. Moreno",
>    "Miguel de Izarra. Adapted by A.I. Moreno",
>    "2012",
>    "<Image>/Python-Fu/GCompris/Babyshapes",
>    "RGB*, GRAY*",
>    [
>        (PF_STRING, "activity_name", "Name of the activity (default =
> babyshapes)", ""),
>        (PF_STRING, "folder", "Relative output directory (default = image
> name)", ""),
>        (PF_STRING, "title", "GCompris puzzle title", ""),
>        (PF_SPINNER, "bordersize", "The Size of border ", 0, (0, 20, 1) ),
> (PF_OPTION,"shapes_color",   "Background color of shapes:", 0,
> ["Random","White","Black"]),
>        (PF_SPINNER, "level", "The level in the activity", 1, (1, 100, 1) ),
>        (PF_SPINNER, "sublevel", "The sub level in the activity", 0, (0,
> 20, 1) ),
>    ],
>    [],
>    gcompris_babyshapes)
>
> On Sun, Jan 22, 2012 at 5:20 PM, Angel Ivan Moreno <angelivanm at gmail.com
> >wrote:
>
> > The Puzzle activity autogenerates the tiles. What I want is to be able to
> > select the shapes I want for the babyshapes activity. I managed to to
> that
> > by cutting and pasting the areas I wanted in new images, besides adding
> >  them to a channel. At the end, I run the geography script and replace
> the
> > generated images with the ones manually generated. So I only reuse the
> > generated xml file (still, removing the sound references). I wondered
> > whether more automation was possible or if an updated script existed
> > somewhere.
> >
> >
> > On Sun, Jan 22, 2012 at 11:56 AM, Bruno Coudoin <
> > bruno.coudoin at gcompris.net> wrote:
> >
> >> Le dimanche 22 janvier 2012 ? 01:08 +0100, Angel Ivan Moreno a ?crit :
> >> > Is there a trick to use the python script for the babyshapes activity?
> >> > The
> >> > boards are very similar to the geography activity, but the python
> >> > script
> >> > does not seem to directly support it, although some of the xml files
> >> > in
> >> > that activity refer to that python script...
> >> >
> >> Hi,
> >>
> >> In Gimp, you should have a script-fu menu for GCompris with 2 entries
> >> "Geography" and "Puzzle". I think the Puzzle one is close to what you
> >> need, have you tried it ?
> >>
> >> Bruno.
> >>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Try before you buy = See our experts in action!
> >> The most comprehensive online learning library for Microsoft developers
> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> >> Metro Style Apps, more. Free future releases when you subscribe now!
> >> http://p.sf.net/sfu/learndevnow-dev2
> >> _______________________________________________
> >> gcompris-devel mailing list
> >> gcompris-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> >>
> >
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 25 Jan 2012 01:32:43 +0100
> From: Bruno Coudoin <bruno.coudoin at gcompris.net>
> Subject: [gcompris-devel] Language learning Activity
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID: <1327451563.5052.32.camel at kong>
> Content-Type: text/plain; charset="ISO-8859-1"
>
>
> Hi,
>
> I have been working rather slowly on a new activity to let children
> practise a foreign language.
>
> There is already a basic code under src/lang-activity/ that you can run
> from git:
> cd src
> ./runit.sh lang-activity
>
> Or for the latest GCompris 12.01 with:
> gcompris --experimental
>
> For now only the level 6 has some data, it teaches numbers from one to
> 10.
>
> The concept is to create lessons. For each one, we associate a set of
> what I call a triplet which are an image, a voice and a description.
> With this, at runtime we let the children display all the triplets one
> by one at his own speed. When all are seen, several exercises are
> proposed to check he remembers properly the triplets.
>
> For now there is a single one. A triplet is selected by the computer and
> there are 4 choices. We will be able to have variations around this by
> displaying the source language description, target language description
> or the voice.
>
> I worked on the dataset with my wife, you can see what it look likes
> here:
>
> http://git.gnome.org/browse/gcompris/tree/src/lang-activity/resources/lang/lang.xml.in
>
> As you can see there will be a lot of work to finish the activity, on
> the code itself to polish it but harder on the dataset because we need a
> voice and a representative image for each triplet.
>
> How do you feel about it, do you think it's a good idea to have this in
> GCompris, do you have ideas to help fill up the data set ?
>
> Bruno.
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 9 Feb 2012 22:37:57 +0530
> From: Apurva Tripathi <alonemayank at gmail.com>
> Subject: [gcompris-devel] Need Help About contributing
> To: gcompris-devel at lists.sourceforge.net
> Message-ID:
>        <CANeP=NDeCrs5Z7SxE_xAygJyYQQRdnQovD20iULbDDiiWmWv+A at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Everyone ,
>                      I am Apurva and I am a third year engineering student
> in Jaipur (India) . I want to contribute to Gcompris. I want to understand
> it from scratch. I know C/C++ and Python as beginner. I will appreciate any
> help from your side. Thank you.
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 09 Feb 2012 22:39:01 +0100
> From: Bruno Coudoin <bruno.coudoin at gcompris.net>
> Subject: Re: [gcompris-devel] Need Help About contributing
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID: <1328823541.4084.5.camel at kong>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Le jeudi 09 f?vrier 2012 ? 22:37 +0530, Apurva Tripathi a ?crit :
> > I am Apurva and I am a third year engineering student
> > in Jaipur (India) . I want to contribute to Gcompris. I want to
> > understand
> > it from scratch. I know C/C++ and Python as beginner. I will
> > appreciate any help from your side. Thank you.
>
> Hi,
>
> GCompris is free software, you have access to the source code, a lot of
> documentation useful to developers can be found on our wiki:
> http://gcompris.net/wiki/Main_Page
>
> In order to help you more than that, you should be more precise, what is
> your goal, what do you plan to do with or for GCompris ?
>
> Bruno.
>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 12 Feb 2012 17:29:39 +0100
> From: Angel Ivan Moreno <angelivanm at gmail.com>
> Subject: Re: [gcompris-devel] GComprisShapegame gimp script
> To: GCompris developpers list <gcompris-devel at lists.sourceforge.net>
> Message-ID:
>        <CADTDjAryWDGAcmqywOfcvdUa5J=_HOiH8i5nRph6_HgwB034Zw at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> I kept modifying the script and adde bump mapping and antialias, so that
> the puzzle pieces look nicer.
>
> On a side note, I noticed that a reduction of up to 20MB of the size of the
> package can be obtained by running optipng on all png files...
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
> ------------------------------
>
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel
>
>
> End of gcompris-devel Digest, Vol 55, Issue 1
> *********************************************
>



More information about the Gcompris-devel mailing list