[Sugar-devel] service_name and bundle_id... again

Manuel Quiñones manuq at laptop.org
Wed Oct 30 12:51:13 EDT 2013


Hi,

2013/10/30 Daniel Narvaez <dwnarvaez at gmail.com>:
> This breaks gtk2 activities right? I think that should be considered a bug
> and thus we should take the patch (I have not reviewed it). I would add a
> comment though so that when we will finally drop gtk2 support we will remove
> this too.

First of all, GTK2 activities should use sugar-toolkit, not sugar-toolkit-gtk3 .

So this is not a bug.  The 'service_name' is deprecated since six
years ago, in old Sugar v0.70.2.  I couldn't find release notes, but
that's what git log says.  When we did sugar-toolkit-gtk3 for the GTK3
port, we did a cleanup of deprecated API. Was about time.
http://wiki.sugarlabs.org/go/Features/GTK3/Porting#Cleanup.2C_adopt_to_API_changes_in_sugar-toolkit-gtk3

By Sugar 0.84 - 0.86, all the core activities updated their activity.info .

In Sugar 0.90, deprecation warning messages were added:
http://wiki.sugarlabs.org/go/0.90/Notes#API

I think these activities should just update their activity.info .


>
> On Wednesday, 30 October 2013, Gonzalo Odiard wrote:
>>
>> Today I received this mail from Esteban Arias in Uruguay:
>>
>> "....
>> Cuando sugar cambió el toolbar, o cuando se pasó a gtk3, se mantuvo
>> compatibilidad hacia atrás.
>> Pero al pasar a sugar 0.98 varias de las actividades dejaron de funcionar
>> por tener service_name en lugar de bundle_id enel activity.info.
>> Existe alguno parche o alguna solución para evitar cambiar todos los
>> activity.info de las actividades?
>> ....
>> "
>> Translation:
>> "When sugar changed the toolbar, or when changed to gtk3, background
>> compatibility
>> was maintained. But with the change to 0.98 several activities stoped
>> working because
>> have service_name instead of bundle_id in activity.info.
>> There are a patch or fix to avoid change the activity.info file in every
>> activity?"
>>
>> Similar mails reporting errors in activities, and finally found the
>> problem is related to this
>> change are received regularly in support mailing lists as iaep or
>> support-gang.
>>
>> I wanted try what is needed change to make that activities work, and the
>> change is really small. Attached is a patch to sugar-toolkit-gtk3. From my
>> part I think we have broken
>> compatibility without a good reason in this case, and should be solved.
>>
>> What you think about include it  in Sugar?
>>
>> Gonzalo
>
>
>
> --
> Daniel Narvaez
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
.. manuq ..


More information about the Sugar-devel mailing list