Re: [Sugar-devel] [PATCH Sugar] Set favourites layout to RingLayout if it's not set in gconf SL #3652

2012-05-30 Thread Sascha Silbe
Manuel Quiñones ma...@laptop.org writes:

 Thanks, I see, seems that my gconf setup is wrong because is returning
 None for that key.  This is in sugar-jhbuild [...]

There's a good chance you're running into Gnome#664031. GConf 3.2.4+ has
my fix.

Sascha

[1] https://bugzilla.gnome.org/show_bug.cgi?id=664031
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


pgpivKNBNfmCD.pgp
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
For brevity, here is the complete stacktrace (picked from shell command
line) ::


##
=== SqueakDebug.log START ==
Error: a primitive has failed
30 May 2012 2:21 pm

VM: unix - a SmalltalkImage
Image: etoys4.1 [latest update: #2390]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/ajay/Etoys
Trusted Dir /home/ajay/.etoys/private
Untrusted Dir /home/ajay/Etoys

MPEGFile class(Object)error:
Receiver: MPEGFile
Arguments and temporary variables:
aString: 'a primitive has failed'
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#audioChannels:-a
CompiledMethod (1113) #audioG...etc...
format: 138
instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
'endianness')
organization: ('access' endianness fileHandle fileName
getPercentage getTOC:doS...etc...
subclasses: nil
name: #MPEGFile
classPool: a Dictionary(#Registry-nil )
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil

MPEGFile class(Object)primitiveFailed
Receiver: MPEGFile
Arguments and temporary variables:

Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#audioChannels:-a
CompiledMethod (1113) #audioG...etc...
format: 138
instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
'endianness')
organization: ('access' endianness fileHandle fileName
getPercentage getTOC:doS...etc...
subclasses: nil
name: #MPEGFile
classPool: a Dictionary(#Registry-nil )
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil

MPEGFile classprimFileValidMPEG:
Receiver: MPEGFile
Arguments and temporary variables:
aPath: '/home/ajay/Desktop/DELTA.MPG'
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#audioChannels:-a
CompiledMethod (1113) #audioG...etc...
format: 138
instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
'endianness')
organization: ('access' endianness fileHandle fileName
getPercentage getTOC:doS...etc...
subclasses: nil
name: #MPEGFile
classPool: a Dictionary(#Registry-nil )
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil

MPEGFile classisFileValidMPEG:
Receiver: MPEGFile
Arguments and temporary variables:
path: '/home/ajay/Desktop/DELTA.MPG'
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#audioChannels:-a
CompiledMethod (1113) #audioG...etc...
format: 138
instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
'endianness')
organization: ('access' endianness fileHandle fileName
getPercentage getTOC:doS...etc...
subclasses: nil
name: #MPEGFile
classPool: a Dictionary(#Registry-nil )
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil


--- The full stack ---
MPEGFile class(Object)error:
MPEGFile class(Object)primitiveFailed
MPEGFile classprimFileValidMPEG:
MPEGFile classisFileValidMPEG:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MPEGDisplayMorphopenFileNamed:
MPEGDisplayMorphopenMPEGFile
SimpleButtonMorphdoButtonAction
SimpleButtonMorphmouseUp:
SimpleButtonMorph(Morph)handleMouseUp:
MouseButtonEventsentTo:
SimpleButtonMorph(Morph)handleEvent:
SimpleButtonMorph(Morph)handleFocusEvent:
[] in HandMorphsendFocusEvent:to:clear: {[ActiveHand := self.
ActiveEvent := anEvent.  result := focusHolder han...]}
[] in PasteUpMorphbecomeActiveDuring: {[aBlock value]}
BlockContexton:do:
PasteUpMorphbecomeActiveDuring:
HandMorphsendFocusEvent:to:clear:
HandMorphsendEvent:focus:clear:
HandMorphsendMouseEvent:
HandMorphhandleEvent:
HandMorphprocessEvents
[] in WorldStatedoOneCycleNowFor: {[:h |  ActiveHand := h.  h
processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)do:
WorldStatehandsDo:
WorldStatedoOneCycleNowFor:
WorldStatedoOneCycleFor:
PasteUpMorphdoOneCycle
[] in Project classspawnNewProcess {[[World doOneCycle.  Processor
yield.  false] whileFalse.  nil]}
[] in BlockContextnewProcess {[self value.  Processor terminateActive]}
##

On Wed, May 30, 2012 at 10:59 AM, Ajay Garg a...@activitycentral.comwrote:

 Thanks Bert for the reply.

 I downloaded the source from
 

[Sugar-devel] [PATCH sugar-toolkit-gtk3] Display spinner cursor when saving after closing the activity, OLPC #11691

2012-05-30 Thread Simon Schampijer
Signed-off-by: Simon Schampijer si...@laptop.org
Reviewed-by: Daniel Drake d...@laptop.org
Tested-by: Manuel Quiñones ma...@laptop.org
---
 src/sugar3/activity/activity.py |1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py
index 808cccb..4dea554 100644
--- a/src/sugar3/activity/activity.py
+++ b/src/sugar3/activity/activity.py
@@ -937,6 +937,7 @@ class Activity(Window, Gtk.Container):
 if not self.can_close():
 return
 
+self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
 self.emit('_closing')
 
 if not self._closing:
-- 
1.7.10.2

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg
Did you move the plugin to where the other plugins are, and possibly renamed it 
to match the other plugins name scheme?

Also, are you sure that DELTA.MPG actually is an mp3 file?

- Bert -

On 30.05.2012, at 10:53, Ajay Garg wrote:

 For brevity, here is the complete stacktrace (picked from shell command line) 
 ::
 
 
 ##
 === SqueakDebug.log START ==
 Error: a primitive has failed
 30 May 2012 2:21 pm
 
 VM: unix - a SmalltalkImage
 Image: etoys4.1 [latest update: #2390]
 
 SecurityManager state:
 Restricted: false
 FileAccess: true
 SocketAccess: true
 Working Dir /home/ajay/Etoys
 Trusted Dir /home/ajay/.etoys/private
 Untrusted Dir /home/ajay/Etoys
 
 MPEGFile class(Object)error:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 aString: 'a primitive has failed'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile class(Object)primitiveFailed
 Receiver: MPEGFile
 Arguments and temporary variables: 
 
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile classprimFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 aPath: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile classisFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 path: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 
 --- The full stack ---
 MPEGFile class(Object)error:
 MPEGFile class(Object)primitiveFailed
 MPEGFile classprimFileValidMPEG:
 MPEGFile classisFileValidMPEG:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 MPEGDisplayMorphopenFileNamed:
 MPEGDisplayMorphopenMPEGFile
 SimpleButtonMorphdoButtonAction
 SimpleButtonMorphmouseUp:
 SimpleButtonMorph(Morph)handleMouseUp:
 MouseButtonEventsentTo:
 SimpleButtonMorph(Morph)handleEvent:
 SimpleButtonMorph(Morph)handleFocusEvent:
 [] in HandMorphsendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent 
 := anEvent.  result := focusHolder han...]}
 [] in PasteUpMorphbecomeActiveDuring: {[aBlock value]}
 BlockContexton:do:
 PasteUpMorphbecomeActiveDuring:
 HandMorphsendFocusEvent:to:clear:
 HandMorphsendEvent:focus:clear:
 HandMorphsendMouseEvent:
 HandMorphhandleEvent:
 HandMorphprocessEvents
 [] in WorldStatedoOneCycleNowFor: {[:h |  ActiveHand := h.  h 
 processEvents.  capturingGesture := capturingGest...]}
 Array(SequenceableCollection)do:
 WorldStatehandsDo:
 WorldStatedoOneCycleNowFor:
 WorldStatedoOneCycleFor:
 PasteUpMorphdoOneCycle
 [] in Project classspawnNewProcess {[[World doOneCycle.  Processor 

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
On Wed, May 30, 2012 at 4:09 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 Did you move the plugin to where the other plugins are, and possibly
 renamed it to match the other plugins name scheme?


Yes, tried the following variants ::

* /usr/local/lib/libMpeg3Plugin.so
* /usr/local/lib/Mpeg3Plugin.so
* /usr/lib/libMpeg3Plugin.so
* /usr/lib/Mpeg3Plugin.so



 Also, are you sure that DELTA.MPG actually is an mp3 file?


No, this is a MPEG file.
The same happens with a true mp3 file as well.


Regards,
Ajay


 - Bert -

 On 30.05.2012, at 10:53, Ajay Garg wrote:

 For brevity, here is the complete stacktrace (picked from shell command
 line) ::



 ##
 === SqueakDebug.log START ==
 Error: a primitive has failed
 30 May 2012 2:21 pm

 VM: unix - a SmalltalkImage
 Image: etoys4.1 [latest update: #2390]

 SecurityManager state:
 Restricted: false
 FileAccess: true
 SocketAccess: true
 Working Dir /home/ajay/Etoys
 Trusted Dir /home/ajay/.etoys/private
 Untrusted Dir /home/ajay/Etoys

 MPEGFile class(Object)error:
 Receiver: MPEGFile
 Arguments and temporary variables:
 aString: 'a primitive has failed'
 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
 'endianness')
 organization: ('access' endianness fileHandle fileName
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil

 MPEGFile class(Object)primitiveFailed
 Receiver: MPEGFile
 Arguments and temporary variables:

 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
 'endianness')
 organization: ('access' endianness fileHandle fileName
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil

 MPEGFile classprimFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables:
 aPath: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
 'endianness')
 organization: ('access' endianness fileHandle fileName
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil

 MPEGFile classisFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables:
 path: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
 'endianness')
 organization: ('access' endianness fileHandle fileName
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil


 --- The full stack ---
 MPEGFile class(Object)error:
 MPEGFile class(Object)primitiveFailed
 MPEGFile classprimFileValidMPEG:
 MPEGFile classisFileValidMPEG:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 MPEGDisplayMorphopenFileNamed:
 MPEGDisplayMorphopenMPEGFile
 SimpleButtonMorphdoButtonAction
 SimpleButtonMorphmouseUp:
 SimpleButtonMorph(Morph)handleMouseUp:
 MouseButtonEventsentTo:
 SimpleButtonMorph(Morph)handleEvent:
 SimpleButtonMorph(Morph)handleFocusEvent:
 [] in HandMorphsendFocusEvent:to:clear: {[ActiveHand := self.
 ActiveEvent := anEvent.  result := focusHolder han...]}
 [] in PasteUpMorphbecomeActiveDuring: {[aBlock value]}
 BlockContexton:do:
 PasteUpMorphbecomeActiveDuring:
 HandMorphsendFocusEvent:to:clear:
 HandMorphsendEvent:focus:clear:
 HandMorphsendMouseEvent:
 HandMorphhandleEvent:
 HandMorphprocessEvents
 [] in 

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg

On 30.05.2012, at 12:49, Ajay Garg wrote:

 
 
 On Wed, May 30, 2012 at 4:09 PM, Bert Freudenberg b...@freudenbergs.de 
 wrote:
 Did you move the plugin to where the other plugins are, and possibly renamed 
 it to match the other plugins name scheme?
 
 Yes, tried the following variants ::
 
 * /usr/local/lib/libMpeg3Plugin.so
 * /usr/local/lib/Mpeg3Plugin.so
 * /usr/lib/libMpeg3Plugin.so
 * /usr/lib/Mpeg3Plugin.so

Put it in the squeak plugins folder /usr/lib/squeak/...

- Bert -

  
 
 Also, are you sure that DELTA.MPG actually is an mp3 file?
 
 No, this is a MPEG file.
 The same happens with a true mp3 file as well.
 
 
 Regards,
 Ajay 
 
 - Bert -
 
 On 30.05.2012, at 10:53, Ajay Garg wrote:
 
 For brevity, here is the complete stacktrace (picked from shell command 
 line) ::
 
 
 ##
 === SqueakDebug.log START ==
 Error: a primitive has failed
 30 May 2012 2:21 pm
 
 VM: unix - a SmalltalkImage
 Image: etoys4.1 [latest update: #2390]
 
 SecurityManager state:
 Restricted: false
 FileAccess: true
 SocketAccess: true
 Working Dir /home/ajay/Etoys
 Trusted Dir /home/ajay/.etoys/private
 Untrusted Dir /home/ajay/Etoys
 
 MPEGFile class(Object)error:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 aString: 'a primitive has failed'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile class(Object)primitiveFailed
 Receiver: MPEGFile
 Arguments and temporary variables: 
 
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile classprimFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 aPath: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 MPEGFile classisFileValidMPEG:
 Receiver: MPEGFile
 Arguments and temporary variables: 
 path: '/home/ajay/Desktop/DELTA.MPG'
 Receiver's instance variables: 
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a CompiledMethod 
 (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex' 
 'endianness')
 organization: ('access' endianness fileHandle fileName 
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil
 
 
 --- The full stack ---
 MPEGFile class(Object)error:
 MPEGFile class(Object)primitiveFailed
 MPEGFile classprimFileValidMPEG:
 MPEGFile classisFileValidMPEG:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 MPEGDisplayMorphopenFileNamed:
 MPEGDisplayMorphopenMPEGFile
 SimpleButtonMorphdoButtonAction
 SimpleButtonMorphmouseUp:
 SimpleButtonMorph(Morph)handleMouseUp:
 MouseButtonEventsentTo:
 SimpleButtonMorph(Morph)handleEvent:
 SimpleButtonMorph(Morph)handleFocusEvent:
 [] in HandMorphsendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent 
 := anEvent.  result := focusHolder han...]}
 [] in PasteUpMorphbecomeActiveDuring: {[aBlock value]}
 BlockContexton:do:
 

Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
Same result.

Following are the locations of candidate files :::



[ajay@localhost ~]$ ls -l /usr/lib/squeak/
total 1984
drwxr-xr-x. 2 root root   4096 May 30 17:20 3.10-5
-rwxr-xr-x. 1 root root 674862 May 30 17:20 libMpeg3Plugin.so
-rwxr-xr-x. 1 root root 674862 May 30 17:23 Mpeg3Plugin
-rwxr-xr-x. 1 root root 674862 May 30 17:20 Mpeg3Plugin.so



[ajay@localhost ~]$ ls -l /usr/lib/squeak/3.10-5/
total 3268
-rwxr-xr-x. 1 root root   5672 Jun 22  2010 AioPlugin
-rwxr-xr-x. 1 root root  52660 Jun 22  2010 B3DAcceleratorPlugin
-rwxr-xr-x. 1 root root   5672 Jun 22  2010 ClipboardExtendedPlugin
-rwxr-xr-x. 1 root root  22436 Jun 22  2010 DBusPlugin
-rwxr-xr-x. 1 root root   4288 Jun 22  2010 FileCopyPlugin
-rwxr-xr-x. 1 root root  51128 Jun 22  2010 GStreamerPlugin
-rwxr-xr-x. 1 root root   6964 Jun 22  2010 HostWindowPlugin
-rwxr-xr-x. 1 root root   8240 Jun 22  2010 ImmX11Plugin
-rwxr-xr-x. 1 root root  26088 Jun 22  2010 KedamaPlugin
-rwxr-xr-x. 1 root root  43588 Jun 22  2010 KedamaPlugin2
-rwxr-xr-x. 1 root root 674862 May 30 17:20 libMpeg3Plugin.so
-rwxr-xr-x. 1 root root  10896 Jun 22  2010 MIDIPlugin
-rwxr-xr-x. 1 root root 674862 May 30 17:24 Mpeg3Plugin
-rwxr-xr-x. 1 root root 674862 May 30 17:20 Mpeg3Plugin.so
-rwxr-xr-x. 1 root root  17304 Jun 22  2010 npsqueak.so
-rwxr-xr-x. 1 root root  22416 Jun 22  2010 OggPlugin
-rwxr-xr-x. 1 root root   7980 Jun 22  2010 PseudoTTYPlugin
-rwxr-xr-x. 1 root root  48144 Jun 22  2010 RomePlugin
-rwxr-xr-x. 1 root root 610600 Jun 22  2010 squeak
-rwxr-xr-x. 1 root root  52956 Jun 22  2010 Squeak3D
-rwxr-xr-x. 1 root root  20972 Jun 22  2010 SqueakFFIPrims
lrwxrwxrwx. 1 root root 47 May 29 23:36 SqueakV39.sources -
../../../..//usr/share/squeak/SqueakV39.sources
lrwxrwxrwx. 1 root root 46 May 29 23:36 SqueakV3.sources -
../../../..//usr/share/squeak/SqueakV3.sources
-rwxr-xr-x. 1 root root  32104 Jun 22  2010 UnixOSProcessPlugin
-rwxr-xr-x. 1 root root   3692 Jun 22  2010 UUIDPlugin
-rwxr-xr-x. 1 root root  30812 Jun 22  2010 VideoForLinuxPlugin
-rwxr-xr-x. 1 root root  35048 Jun 22  2010 vm-display-fbdev
-rwxr-xr-x. 1 root root   5136 Jun 22  2010 vm-display-null
-rwxr-xr-x. 1 root root  93836 Jun 22  2010 vm-display-X11
-rwxr-xr-x. 1 root root  18340 Jun 22  2010 vm-sound-ALSA
-rwxr-xr-x. 1 root root   3876 Jun 22  2010 vm-sound-null
-rwxr-xr-x. 1 root root  19076 Jun 22  2010 vm-sound-OSS
-rwxr-xr-x. 1 root root   6072 Jun 22  2010 XDisplayControlPlugin




Regards,
Ajay

On Wed, May 30, 2012 at 4:27 PM, Bert Freudenberg b...@freudenbergs.dewrote:


 On 30.05.2012, at 12:49, Ajay Garg wrote:



 On Wed, May 30, 2012 at 4:09 PM, Bert Freudenberg b...@freudenbergs.dewrote:

 Did you move the plugin to where the other plugins are, and possibly
 renamed it to match the other plugins name scheme?


 Yes, tried the following variants ::

 * /usr/local/lib/libMpeg3Plugin.so
 * /usr/local/lib/Mpeg3Plugin.so
 * /usr/lib/libMpeg3Plugin.so
 * /usr/lib/Mpeg3Plugin.so


 Put it in the squeak plugins folder /usr/lib/squeak/...

 - Bert -




 Also, are you sure that DELTA.MPG actually is an mp3 file?


 No, this is a MPEG file.
 The same happens with a true mp3 file as well.


 Regards,
 Ajay


 - Bert -

 On 30.05.2012, at 10:53, Ajay Garg wrote:

 For brevity, here is the complete stacktrace (picked from shell command
 line) ::



 ##
 === SqueakDebug.log START ==
 Error: a primitive has failed
 30 May 2012 2:21 pm

 VM: unix - a SmalltalkImage
 Image: etoys4.1 [latest update: #2390]

 SecurityManager state:
 Restricted: false
 FileAccess: true
 SocketAccess: true
 Working Dir /home/ajay/Etoys
 Trusted Dir /home/ajay/.etoys/private
 Untrusted Dir /home/ajay/Etoys

 MPEGFile class(Object)error:
 Receiver: MPEGFile
 Arguments and temporary variables:
 aString: 'a primitive has failed'
 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 138
 instanceVariables: #('pathToFile' 'fileBits' 'fileIndex'
 'endianness')
 organization: ('access' endianness fileHandle fileName
 getPercentage getTOC:doS...etc...
 subclasses: nil
 name: #MPEGFile
 classPool: a Dictionary(#Registry-nil )
 sharedPools: nil
 environment: a SystemDictionary(lots of globals)
 category: nil

 MPEGFile class(Object)primitiveFailed
 Receiver: MPEGFile
 Arguments and temporary variables:

 Receiver's instance variables:
 superclass: Object
 methodDict: a MethodDictionary(#audioChannels:-a
 CompiledMethod (1113) #audioG...etc...
 format: 

Re: [Sugar-devel] [ASLO] Media mount point

2012-05-30 Thread Sascha Silbe
Alan Jhonn Aguiar Schwyn alan...@hotmail.com writes:

 And the back compatibility ??And all the activities/programs that
 search in /media ??
 ___

They should use proper API (gio on recent distros, HAL on old OLPC OS
builds) rather than hardcoding paths. Check out the gio VolumeMonitor
API documentation [1] and see _find_media() [2] in Backup [3] for an
example (including fallback to HAL).

Sascha

[1] http://developer.gnome.org/gio/stable/GVolumeMonitor.html
[2] https://git.sugarlabs.org/backup/mainline/blobs/master/backup.py#line671
[3] http://activities.sugarlabs.org/en-US/sugar/addon/4326
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


pgpX5Qp0JjOKC.pgp
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Lists in foreign languages (was Port Gtk 3 (Chat.activity))

2012-05-30 Thread Sascha Silbe
fors...@ozonline.com.au writes:

 http://fedoraproject.org/wiki/Mailing_list_guidelines#Use_the_common_language
 http://tech.groups.yahoo.com/group/editplus/message/5510

+1

Like James I usually don't read non-English posts (with no English
translation included), though less because of concerns about the
accuracy of machine translation and more because my time is rather
limited. Judging whether a mail is interesting in any way is too hard
when it's written in a language I don't understand and translating it
first takes too much time.


 I would encourage those posting in a foreign language to include a
 Google Translate in the main language. I am not sure though, which
 should come first.

For translation between English and Spanish there's also the Open Source
software apertium [1], but the dictionary seems to be rather
limited. IIRC the automatic translation between #sugar and #sugar-es
(IRC) is based on this, so any improvement to the English↔Spanish
apertium dictionary would directly benefit #sugar-es users.

Sascha

[1] http://www.apertium.org
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


pgpzuhGfSMYr8.pgp
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Write] Optional data when it exports a file SL #2795

2012-05-30 Thread Sascha Silbe
Manuel Kaufmann humi...@gmail.com writes:

 'keep' and 'share-scope' are optional metadata for the activity metadata, so 
 we
 should use them only if they are set before and if not we should use default
 values for them. This patch fixes it.
[...]

Reviewed-By: Sascha Silbe si...@activitycentral.com

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


pgpH4Z5oQ8qik.pgp
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Bert Freudenberg

On 30.05.2012, at 13:55, Ajay Garg wrote:

 Same result.
 
 Following are the locations of candidate files :::
 
 
 [ajay@localhost ~]$ ls -l /usr/lib/squeak/3.10-5/
 -rwxr-xr-x. 1 root root 674862 May 30 17:24 Mpeg3Plugin
 
 

This one should have been sufficient. You're right, it does not work. There is 
a genuine problem.

So I checked. I recompiled the VM after setting DEBUG to 1 in 
unix/vm/sqUnixExternalPrims.c which shows what's happening when Squeak tries to 
load the plugin.

The plugin is missing a few functions, which makes it fail to load. I found one 
C file that is not included when building the plugin.

This likely happened in 2009 when we switched to CMake. Which shows that nobody 
else except kids in UY are using the Mpeg3Plugin ;)

It would be much better if you included a real mp3 player in your OS, and not 
rely on the Squeak one ...

I'm not quite sure what the right fix is, but a workaround is to add 
${src}/plugins/Mpeg3Plugin/Mpeg3Plugin.c to the ${plugin}_sources LIST in 
unix/plugins/Mpeg3Plugin/config.cmake

After adding that line and rebuilding, the plugin works fine in the 4.4.7 VM. I 
did not try in the 3.10 VM but it should work too. 

The MP3 I tried played too fast. Not quite sure why that is, but that's enough 
investigating for me for now ...

(And don't bother with MPEG videos. There are only very few that play in this 
plugin. It's not a general-purpose MPEG video player)

- Bert -
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] Media mount point

2012-05-30 Thread Alan Jhonn Aguiar Schwyn

 Alan Jhonn Aguiar Schwyn alan...@hotmail.com writes:
 
 And the back compatibility ??And all the activities/programs that
 search in /media ??
 ___
 
They should use proper API (gio on recent distros, HAL on old OLPC OS
builds) rather than hardcoding paths. Check out the gio VolumeMonitor
API documentation [1] and see _find_media() [2] in Backup [3] for an
example (including fallback to HAL).
 
Sascha
 
[1] http://developer.gnome.org/gio/stable/GVolumeMonitor.html
[2] https://git.sugarlabs.org/backup/mainline/blobs/master/backup.py#line671
[3] http://activities.sugarlabs.org/en-US/sugar/addon/4326
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/Yes.. it's better use that.. Thanks!Regards!Alan 
  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Set accelerator in gtk.ToggleToolButton

2012-05-30 Thread Manuel Kaufmann
Hello guys,

I'm reviewing my list of tickets from Trac and I found this one:

 * http://bugs.sugarlabs.org/ticket/789

It's about adding accelerator key bindings to the GTK buttons so they
are shown in the tooltip. The problem is that I didn't find a way to
do that using gtk.ToggleToolButton (this class doesn't have this
property: props.accelerator

How I should do this?

Thanks,

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Etoys mp3 files

2012-05-30 Thread Ajay Garg
Thanks Bert.
It worked at my side too 

The mp3 played fine at my end though :| :)

However, I now face the ubiquitous packaging issue. As it stands out, the
src-rpm available is squeak-vm-3.10.5-5.fc14.src.rpm, which has some very
different installation schemes as compared to the 
http://www.squeakvm.org/unix/release/Squeak-4.4.7.2357-src.tar.gz; scheme.

Worse, the make for 3.10.5-5 variant fails with the error ::


In file included from
/home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c:3:0:
/usr/include/stdio.h:419:66: error: macro dprintf passed 3 arguments, but
takes just 1
/home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c: In
function ‘__sq_assert’:
/home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c:21:3:
warning: incompatible implicit declaration of built-in function ‘abort’
make[1]: *** [debug.o] Error 1
make: *** [vm/vm.a] Error 2




So, does there exist a way to make a rpm out of 4.4.7.2357 variant, with
the Mpeg3Plugin/config.cmake patch applied?


Thanks a ton for your time.


Thanks and Regards,
Ajay

On Wed, May 30, 2012 at 8:05 PM, Bert Freudenberg b...@freudenbergs.dewrote:


 On 30.05.2012, at 13:55, Ajay Garg wrote:

  Same result.
 
  Following are the locations of candidate files :::
 
 
 
  [ajay@localhost ~]$ ls -l /usr/lib/squeak/3.10-5/
  -rwxr-xr-x. 1 root root 674862 May 30 17:24 Mpeg3Plugin
 
 
 

 This one should have been sufficient. You're right, it does not work.
 There is a genuine problem.

 So I checked. I recompiled the VM after setting DEBUG to 1 in
 unix/vm/sqUnixExternalPrims.c which shows what's happening when Squeak
 tries to load the plugin.

 The plugin is missing a few functions, which makes it fail to load. I
 found one C file that is not included when building the plugin.

 This likely happened in 2009 when we switched to CMake. Which shows that
 nobody else except kids in UY are using the Mpeg3Plugin ;)

 It would be much better if you included a real mp3 player in your OS, and
 not rely on the Squeak one ...

 I'm not quite sure what the right fix is, but a workaround is to add
 ${src}/plugins/Mpeg3Plugin/Mpeg3Plugin.c to the ${plugin}_sources LIST in
 unix/plugins/Mpeg3Plugin/config.cmake

 After adding that line and rebuilding, the plugin works fine in the 4.4.7
 VM. I did not try in the 3.10 VM but it should work too.

 The MP3 I tried played too fast. Not quite sure why that is, but that's
 enough investigating for me for now ...

 (And don't bother with MPEG videos. There are only very few that play in
 this plugin. It's not a general-purpose MPEG video player)

 - Bert -

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH sugar-artwork] Theme GtkSpinButton buttons SL #3406

2012-05-30 Thread Manuel Quiñones
This patch sets border radius to the buttons, so the layout is like
(value [-][+)) .

Also removes two unneeded variables.

Signed-off-by: Manuel Quiñones ma...@laptop.org
---
 gtk3/theme/gtk-widgets.css.em |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 9671e29..d268053 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -173,19 +173,21 @@ icon_large = icon_base * 5
 
 ${ spin_ythickness = my_ceil(3*subcell_size - font_height) }
 ${ spin_xthickness = subcell_size }
-${ spin_btn_ythickness = spin_ythickness }
-${ spin_btn_xthickness = subcell_size * 2 }
 
 .spinbutton.button,
 .spinbutton.button:focused,
 .spinbutton.button:active {
 padding: $(spin_ythickness)px $(spin_xthickness)px;
-border-color: @button_grey;
-border-width: $(thickness)px;
+border-radius: 0px;
+border-width: 0px;
 background-color: @button_grey;
 color: @white;
 }
 
+.spinbutton.button:last-child {
+border-radius: 0px $(subcell_size)px $(subcell_size)px 0px;
+}
+
 .spinbutton.button:active {
 background-color: @white;
 color: @black;
-- 
1.7.10.1

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Wikipedia-35

2012-05-30 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4401

Sugar Platform:
0.96 - 0.96

Download Now:
http://activities.sugarlabs.org/downloads/file/28083/wikipedia-35.xo

Release notes:



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel