From bruno.coudoin at free.fr Fri Jul 3 05:58:11 2009 From: bruno.coudoin at free.fr (Bruno Coudoin) Date: Fri, 03 Jul 2009 07:58:11 +0200 Subject: [gcompris-devel] sound delays for 10-20 seconds In-Reply-To: <4A4A451E.5050209@tangramltd.com> References: <4A4A451E.5050209@tangramltd.com> Message-ID: <1246600691.8455.15.camel@bruno> Le mardi 30 juin 2009 ? 20:02 +0300, Slava Dubrovskiy a ?crit : > Hi. > > I refresh the version from 8.4.8 to 8.4.12. > I test, and I see that the sound began to be lost with delays for 10-20 > seconds. For example in memory_sound to play not probably. > > Whether there were any changes in 8.4.9 - 8.4.12, what leads to such delays? > How to correct? Well is this lag specific to the memory activity or global. I mean do you experience it also at GCompris startup. Concerning the memory, yes we made some changes in 8.4.12: * src/boards/memory.c: (sound_callback): Hopefully fixed a race in which tux could play several time alone or stop after a single play. Maybe there is a corner case that we have not taken in account. -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre ? Toulouse http://april.org Promouvoir et d?fendre le Logiciel Libre From slava at tangramltd.com Fri Jul 3 12:32:31 2009 From: slava at tangramltd.com (Slava Dubrovskiy) Date: Fri, 03 Jul 2009 15:32:31 +0300 Subject: [gcompris-devel] sound delays for 10-20 seconds In-Reply-To: <1246600691.8455.15.camel@bruno> References: <4A4A451E.5050209@tangramltd.com> <1246600691.8455.15.camel@bruno> Message-ID: <4A4DFA5F.8020308@tangramltd.com> 03.07.2009 08:58, Bruno Coudoin ?????: > Le mardi 30 juin 2009 ? 20:02 +0300, Slava Dubrovskiy a ?crit : > >> Hi. >> >> I refresh the version from 8.4.8 to 8.4.12. >> I test, and I see that the sound began to be lost with delays for 10-20 >> seconds. For example in memory_sound to play not probably. >> >> Whether there were any changes in 8.4.9 - 8.4.12, what leads to such delays? >> How to correct? >> > Well is this lag specific to the memory activity or global. I mean do > you experience it also at GCompris startup. > Seems it global. Other activity have delay too. On other activity less considerably. > Concerning the memory, yes we made some changes in 8.4.12: > * src/boards/memory.c: (sound_callback): Hopefully fixed a race in which > tux could play several time alone or stop after a single play. > > Maybe there is a corner case that we have not taken in account. > I don't know. But it very unpleasant. -- WBR, Dubrovskiy Vyacheslav -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3262 bytes Desc: S/MIME Cryptographic Signature URL: From ankitsahai85 at gmail.com Mon Jul 6 03:07:07 2009 From: ankitsahai85 at gmail.com (Ankit Sahai) Date: Sun, 5 Jul 2009 23:07:07 -0400 Subject: [gcompris-devel] Ankit Sahai sent you a Friend Request on Yaari Message-ID: <9578e3ccd652beef5e53421ad5959bfd@localhost.localdomain> Ankit Sahai wants you to join Yaari! Is Ankit your friend? Yes, Ankit is my friend! No, Ankit isn't my friend. Please respond or Ankit may think you said no :( Thanks, The Yaari Team ----------------------------------------------------------- Yaari Inc., 358 Angier Ave NE Atlanta, GA 30312 Privacy Policy | Unsubscribe | Terms of Service YaariUSR201IJM922DID472VCL521 -------------- next part -------------- An HTML attachment was scrubbed... URL: From slava at tangramltd.com Tue Jul 7 21:06:58 2009 From: slava at tangramltd.com (Slava Dubrovskiy) Date: Wed, 08 Jul 2009 00:06:58 +0300 Subject: [gcompris-devel] sound delays for 10-20 seconds In-Reply-To: <4A4DFA5F.8020308@tangramltd.com> References: <4A4A451E.5050209@tangramltd.com> <1246600691.8455.15.camel@bruno> <4A4DFA5F.8020308@tangramltd.com> Message-ID: <4A53B8F2.8090007@tangramltd.com> 03.07.2009 15:32, Slava Dubrovskiy ?????: > >>> I refresh the version from 8.4.8 to 8.4.12. >>> I test, and I see that the sound began to be lost with delays for 10-20 >>> seconds. For example in memory_sound to play not probably. >>> >>> Whether there were any changes in 8.4.9 - 8.4.12, what leads to such delays? >>> How to correct? >>> >>> >> Well is this lag specific to the memory activity or global. I mean do >> you experience it also at GCompris startup. >> >> > Seems it global. Other activity have delay too. > On other activity less considerably. > >> Concerning the memory, yes we made some changes in 8.4.12: >> * src/boards/memory.c: (sound_callback): Hopefully fixed a race in which >> tux could play several time alone or stop after a single play. >> >> Maybe there is a corner case that we have not taken in account. >> >> > I don't know. But it very unpleasant. > [23:46:29] bdoin: http://pastebin.ca/1487330 [23:50:58] <@bdoin> the error message seems to be releated to gstreamer [23:51:23] <@bdoin> for the free, can you reproduce it ? gdb ? [23:54:05] <@bdoin> http://forums.debian.net/viewtopic.php?t=34315&view=previous&sid=b441fb117bb8f0c220e8b5c86cd501f4 [23:54:23] <@bdoin> you are not alone [23:54:43] <@bdoin> this guy fixed it by installing pulseaudio-esound-compat [23:57:23] bdoin: thanks. trying [00:03:16] dubrsl: Yes. It help [00:03:38] <@bdoin> great [00:04:03] Just install pulseaudio-daemon and start it -- WBR, Dubrovskiy Vyacheslav -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3262 bytes Desc: S/MIME Cryptographic Signature URL: From ankitsahai85 at gmail.com Thu Jul 9 03:08:05 2009 From: ankitsahai85 at gmail.com (Ankit Sahai) Date: Wed, 8 Jul 2009 23:08:05 -0400 Subject: [gcompris-devel] Reminder: Please Respond to Ankit's Invitation Message-ID: Ankit Sahai wants you to join Yaari! Is Ankit your friend? Yes, Ankit is my friend! No, Ankit isn't my friend. Please respond or Ankit may think you said no :( Thanks, The Yaari Team ----------------------------------------------------------- Yaari Inc., 358 Angier Ave NE Atlanta, GA 30312 Privacy Policy | Unsubscribe | Terms of Service YaariUSR201IJM922DID472VCL521 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogstad at pobox.com Sat Jul 11 20:30:33 2009 From: bogstad at pobox.com (Bill Bogstad) Date: Sat, 11 Jul 2009 16:30:33 -0400 Subject: [gcompris-devel] Any way to change order of boards in gcompris 8.4.12? Message-ID: <2d6a9f6f0907111330r2b459fc7s101d7d1383932a4c@mail.gmail.com> Is there any way to change the order in which the groups of boards appear in the left hand column in 8.4.12? I'm aware that I can selectively hide boards or groups with the administration mode "gcompris -a". I want to change the order in which the groups appears in the left hand column. For example, I want computer discovery to be at the top. Thanks, Bill Bogstad From bruno.coudoin at free.fr Wed Jul 15 20:30:27 2009 From: bruno.coudoin at free.fr (Bruno Coudoin) Date: Wed, 15 Jul 2009 22:30:27 +0200 Subject: [gcompris-devel] Any way to change order of boards in gcompris 8.4.12? In-Reply-To: <2d6a9f6f0907111330r2b459fc7s101d7d1383932a4c@mail.gmail.com> References: <2d6a9f6f0907111330r2b459fc7s101d7d1383932a4c@mail.gmail.com> Message-ID: <1247689827.18874.32.camel@bruno> Le samedi 11 juillet 2009 ? 16:30 -0400, Bill Bogstad a ?crit : > Is there any way to change the order in which the groups of boards > appear in the left hand column in 8.4.12? I'm aware that I can > selectively hide boards or groups with the administration mode > "gcompris -a". I want to change the order in which the groups appears > in the left hand column. For example, I want computer discovery to be > at the top. Hi, Sadly no. By the way the order is different depending on 'the wind side'. I have always wanted to add a fixed order but never found time to do so. If someone is willing to provide a patch (on the gcomprixogoo branch) it is welcome. We could just add a 'position' in our xml menu files and use it at menu display time. -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre ? Toulouse http://april.org Promouvoir et d?fendre le Logiciel Libre From bogstad at pobox.com Fri Jul 24 03:28:59 2009 From: bogstad at pobox.com (Bill Bogstad) Date: Thu, 23 Jul 2009 23:28:59 -0400 Subject: [gcompris-devel] problem compiling gcomprixogoo Message-ID: <2d6a9f6f0907232028l248e0d19m518408add9624068@mail.gmail.com> I've been trying to compile various versions of gcompris under Ubuntu 8.04 off and on for a while now. I've been able to compile 8.4.12 successfully, but I've ran into a problem with the current head of gcomprixogoo: commit 10f0529c02b5d88a2e177860002135745ce04bbe Author: Bruno Coudoin Date: Mon Jul 13 15:01:09 2009 +0200 Create the ChangeLog automatically from git log. After dealing with a number of dependency issues, the compilation eventually dies as follows: .......... gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../intl -I../../src/goocanvas/src -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/librsvg-2 -I/usr/include/libxml2 -g -O2 -Wall -Werror -MT target.lo -MD -MP -MF .deps/target.Tpo -c target.c -fPIC -DPIC -o .libs/target.o cc1: warnings being treated as errors target.c: In function ?animate_items?: target.c:607: warning: ?points? may be used uninitialized in this function target.c:607: note: ?points? was declared here make[4]: *** [target.lo] Error 1 make[4]: Leaving directory `/home/bogstad/software/gcompris/gcompris.git/src/target-activity' I've taken a look at the code and I think the problem is actually related to add_points(). A local variable points is created which could be returned uninitialized if the diametre < targetDefinition is always false. GCC can't tell if this ever happens and assumes that add_points returns a random value. The thing is that add_points is only called from animate_items which promptly discards the return value of add_points anyway so in some sense it doesn't matter. On the other hand, the same code in 8.4.12 declares add_points() as void. It's not clear why the change to return an unused value was made in the source code in the first place. Git blame seems seems to show the following: c682a381 src/target-activity/target.c (Bruno Coudoin 2009-01-18 23:28:50 +0000 607) ..... as the commit that introduced the change. Are there some pending changes which will cause the return value of add_point() to matter? In the meantime, can someone suggest how to change the configuration system to not pass -Werror on the command line to gcc so it will ignore (this apparently spurious warning) rather then treat it as an error and exit. Thanks, Bill Bogstad From bogstad at pobox.com Fri Jul 24 17:53:02 2009 From: bogstad at pobox.com (Bill Bogstad) Date: Fri, 24 Jul 2009 13:53:02 -0400 Subject: [gcompris-devel] Babytoy theme not on gcomprixogoo branch?? Message-ID: <2d6a9f6f0907241053y35198376le74b0e631a6a1404@mail.gmail.com> It appears that the Babytoy theme has not been carried over to the gcomprixogoo branch. Is this something that just involves some mindless copying/reformatting or will icons/images have to be redrawn? If it's a mindless task, I'm willing to do the work if someone can give me some instructions on the steps required. Thanks, Bill Bogstad From bogstad at pobox.com Fri Jul 24 18:02:23 2009 From: bogstad at pobox.com (Bill Bogstad) Date: Fri, 24 Jul 2009 14:02:23 -0400 Subject: [gcompris-devel] problem compiling gcomprixogoo In-Reply-To: <2d6a9f6f0907232028l248e0d19m518408add9624068@mail.gmail.com> References: <2d6a9f6f0907232028l248e0d19m518408add9624068@mail.gmail.com> Message-ID: <2d6a9f6f0907241102o4cf1b782nc9d1f63318fc6012@mail.gmail.com> On Thu, Jul 23, 2009 at 11:28 PM, Bill Bogstad wrote: > I've been trying to compile various versions of gcompris under Ubuntu > 8.04 off and on for a while now. ?I've been able to compile 8.4.12 > successfully, but I've ran into a problem with the current head of > gcomprixogoo: > >.... > In the meantime, can someone suggest how to change the configuration > system to not pass -Werror on the command line to gcc so it will > ignore (this apparently > spurious warning) rather then treat it as an error and exit. Yes, I'm replying to my own message. I managed to get gcomprixogoo to compile by editing configure.in, removing all references to -Werror and restarting the build process from the beginning (autogen.sh). I don't think this is the right way to fix this problem, but it did allow me to finish the build. The resulting binary runs and a brief test of the target activity seems to work fine. Thanks, Bill Bogstad From bruno.coudoin at free.fr Fri Jul 24 23:20:41 2009 From: bruno.coudoin at free.fr (Bruno Coudoin) Date: Sat, 25 Jul 2009 01:20:41 +0200 Subject: [gcompris-devel] GCompris on Moblin In-Reply-To: References: Message-ID: <1248477641.11404.16.camel@bruno> Le vendredi 24 juillet 2009 ? 18:43 +0200, Gianluca Masone a ?crit : > Do you like these two posts? > > http://www.linux.com/myblog-admin/moblin4children-how-to-install-gcompris.html > http://www.linux.com/myblog-admin/moblin4children-how-to-install-gcompris-on-a-moblin-production-image.html > Sorry, the links does not work (admin mode). -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre ? Toulouse http://april.org Promouvoir et d?fendre le Logiciel Libre From bruno.coudoin at free.fr Fri Jul 24 23:39:30 2009 From: bruno.coudoin at free.fr (Bruno Coudoin) Date: Sat, 25 Jul 2009 01:39:30 +0200 Subject: [gcompris-devel] Babytoy theme not on gcomprixogoo branch?? In-Reply-To: <2d6a9f6f0907241053y35198376le74b0e631a6a1404@mail.gmail.com> References: <2d6a9f6f0907241053y35198376le74b0e631a6a1404@mail.gmail.com> Message-ID: <1248478770.11404.28.camel@bruno> Le vendredi 24 juillet 2009 ? 13:53 -0400, Bill Bogstad a ?crit : > It appears that the Babytoy theme has not been carried over to the > gcomprixogoo branch. Is this something that just involves some > mindless copying/reformatting Well, the skin system has been completely reworked. Now there is a single svg file that contains all the images GCompris will use for the skin. It makes it much easier to create a new skin. > or will icons/images have to be redrawn? If it's a mindless task, I'm > willing to do the work if someone can give me some instructions on the > steps required. Today there is only a black theme. We could very easily edit the skin.svg file and replace the black by red to bring the babytoy back to life. If there are inspired graphic artist over there, you can have a look here at the file skin.svg and propose us an original theme for the next major release of GCompris : http://git.gnome.org/cgit/gcompris/tree/boards/skins/gartoon?h=gcomprixogoo -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre ? Toulouse http://april.org Promouvoir et d?fendre le Logiciel Libre From bruno.coudoin at free.fr Fri Jul 24 23:50:00 2009 From: bruno.coudoin at free.fr (Bruno Coudoin) Date: Sat, 25 Jul 2009 01:50:00 +0200 Subject: [gcompris-devel] problem compiling gcomprixogoo In-Reply-To: <2d6a9f6f0907232028l248e0d19m518408add9624068@mail.gmail.com> References: <2d6a9f6f0907232028l248e0d19m518408add9624068@mail.gmail.com> Message-ID: <1248479400.11404.34.camel@bruno> Le jeudi 23 juillet 2009 ? 23:28 -0400, Bill Bogstad a ?crit : > I've been trying to compile various versions of gcompris under Ubuntu > 8.04 off and on for a while now. I've been able to compile 8.4.12 > successfully, but I've ran into a problem with the current head of > gcomprixogoo: > > .......... > cc1: warnings being treated as errors > target.c: In function ?animate_items?: > target.c:607: warning: ?points? may be used uninitialized in this function > target.c:607: note: ?points? was declared here Hi, Obviously the compile is right. No idea why I don't get this error as well. This is fixed now. By thr way, I am glad to see someone trying the gcomprixogoo branch. Let me know if it works for you. So far I never got too much feedback on it. What your plan, are you just trying it ? -- Bruno Coudoin http://gcompris.net Free educational software for kids http://toulibre.org Logiciel Libre ? Toulouse http://april.org Promouvoir et d?fendre le Logiciel Libre