Hi, all.
The Mission Control profiles in the telepathy-haze-mission-control package were originally created manually based on the Jabber/XMPP profile to allow Telepathy-using applications to support the basics of libpurple's more common protocols: AIM/ICQ, MSN, and Yahoo! IM.
However, these are getting rather stale and upstream Empathy already has nicely-working profiles for Haze (with more protocol support than the old subpackage). So, in an effort to more closely track upstream's code and profiles (therefore slightly reducing the package maintenance work), I have committed and am now building new telepathy-haze and empathy packages that use Empathy's profiles instead of manually-created ones.
These should hit tomorrow's rawhide but unfortunately it means that the profiles have been renamed. I have included a script named "upgrade-haze-profiles.sh" (installed as documentation) with Empathy that automagically fixes this on a per-user basis; but this script needs to be run manually.
(Come to think of it, we may need to add this as a minor upgrade-related fix in the Release Notes...)
Thanks, and happy hacking. :]
On Wed, 2008-08-13 at 20:45 -0700, Peter Gordon wrote:
These should hit tomorrow's rawhide but unfortunately it means that the profiles have been renamed. I have included a script named "upgrade-haze-profiles.sh" (installed as documentation) with Empathy that automagically fixes this on a per-user basis; but this script needs to be run manually.
Forgot to add: You may need to install the 'util-linux-ng' package (for the rename tool used in the script).
On Wed, 2008-08-13 at 21:10 -0700, Peter Gordon wrote:
On Wed, 2008-08-13 at 20:45 -0700, Peter Gordon wrote:
These should hit tomorrow's rawhide but unfortunately it means that the profiles have been renamed. I have included a script named "upgrade-haze-profiles.sh" (installed as documentation) with Empathy that automagically fixes this on a per-user basis; but this script needs to be run manually.
Forgot to add: You may need to install the 'util-linux-ng' package (for the rename tool used in the script).
Peter:
First, thanks for including this. There's quite a few of these types of bugs lurking in various packages and it makes me happy when I see maintainers actively fighting them.
That said, I've got two questions:
1) What users will be affected? Anyone who's ever installed any version of empathy, or only people who have had certain versions installed? If the latter, which versions?
2) Why couldn't this be done as part of the package's %post script?
-w
On Thu, 2008-08-14 at 10:36 -0400, Will Woods wrote:
On Wed, 2008-08-13 at 21:10 -0700, Peter Gordon wrote:
On Wed, 2008-08-13 at 20:45 -0700, Peter Gordon wrote:
These should hit tomorrow's rawhide but unfortunately it means that the profiles have been renamed. I have included a script named "upgrade-haze-profiles.sh" (installed as documentation) with Empathy that automagically fixes this on a per-user basis; but this script needs to be run manually.
Forgot to add: You may need to install the 'util-linux-ng' package (for the rename tool used in the script).
Peter:
First, thanks for including this. There's quite a few of these types of bugs lurking in various packages and it makes me happy when I see maintainers actively fighting them.
That said, I've got two questions:
- What users will be affected? Anyone who's ever installed any version
of empathy, or only people who have had certain versions installed? If the latter, which versions?
- Why couldn't this be done as part of the package's %post script?
Typically we don't try to muck with things in people's ~'s in %post. Among other things, it's entirely too fragile in the face of network file systems and/or distributed user databases.
It would be more useful if the UI could notice the existence of an old-style user profile and invoke the migration script for you.
- ajax
On Thu, 2008-08-14 at 10:38 -0400, Adam Jackson wrote:
It would be more useful if the UI could notice the existence of an old-style user profile and invoke the migration script for you.
I could try to whip a patch in mission-control for this; but this is specifically a Fedora issue with how the profiles have been packaged up until this point.
I'll see what I can do about the patch, but if someone whose C-fu is much sharper than mine would like to do that for me it would be greatly appreciated. :D
2008/8/14 Peter Gordon peter@thecodergeek.com:
On Thu, 2008-08-14 at 10:38 -0400, Adam Jackson wrote:
It would be more useful if the UI could notice the existence of an old-style user profile and invoke the migration script for you.
I could try to whip a patch in mission-control for this; but this is specifically a Fedora issue with how the profiles have been packaged up until this point.
I'll see what I can do about the patch, but if someone whose C-fu is much sharper than mine would like to do that for me it would be greatly appreciated. :D
I'll take a look at this tomorrow (EST).
On Thu, 2008-08-14 at 10:36 -0400, Will Woods wrote:
- What users will be affected? Anyone who's ever installed any version
of empathy, or only people who have had certain versions installed? If the latter, which versions?
The profiles were like this until today's rawhide, so just about every Empathy user will be affected. :/
2) Why couldn't this be done as part of the package's %post script?
Like Adam mentioned, I'm not particularly fond of mucking with user's $HOME stuff in a scriplet.
Hi, all.
Thanks to Colin Walters, Empathy now handles the renaming automagically. So there should be no further issues with this transition as of the next rawhide push. Please don't hesitate to scream and yell at me if this is not the case!
Thanks, and regards. <3