[mythtv-theming] Upgrading theme from 0.23 to 0.24

Robert McNamara robert.mcnamara at gmail.com
Thu Nov 11 20:56:43 UTC 2010


On Thu, Nov 11, 2010 at 12:55 PM, Christopher X. Candreva
<chris at westnet.com> wrote:
> On Thu, 11 Nov 2010, Robert McNamara wrote:
>
>> > I seem to remember for one of the previous upgrades, someone had made a
>> > shell script to do some of the "search and replace" changes. I guess no one
>> > has done that yet ?
>>
>> That was only for one specific change which changed the way
>> buttonlists are built.  I would not expect any such script to be
>> written to migrate a .23 theme to .24.
>
> I see at least one change I'll probably write such a script for: Changing
> <font name=...> to <fontdef name=...>
>
> A little state machine and it should change the corresponding closing /font
> to /fontdef too

Could all be accomplished with a single sed line, don't need anything
as fancy as a script.

Robert


More information about the mythtv-theming mailing list