Re: Cron <gnomeweb@window> $HOME/bin/logify cvs-update-www.gnome.org



On จ., 2005-08-29 at 08:46 +0200, Danilo Šegan wrote:
> This is already fixed, but window.gnome.org has older version
> of gnome-doc-utils (0.2.0): 
> 
> 2005-07-18  Danilo Šegan  <danilo gnome org>
> 
>         Fixes #310754.
>         
>         * modes/docbook.py (docbookXmlMode.postProcessXmlTranslation):
>         Encode translator credits as UTF-8 for libxml2.
> 
> Version 0.2.2 of gnome-doc-utils (from gnome-2-10 branch) contains the
> fix, as does 0.3.2 release.  Here is a patch that can be applied
> directly to /usr/share/xml2po/docbook.py on window:
> 
> Index: docbook.py
> ===================================================================
> RCS file: /cvs/gnome/gnome-doc-utils/xml2po/modes/docbook.py,v
> retrieving revision 1.9
> retrieving revision 1.9.2.1
> diff -u -r1.9 -r1.9.2.1
> --- docbook.py  27 Mar 2005 17:00:05 -0000      1.9
> +++ docbook.py  18 Jul 2005 19:20:30 -0000      1.9.2.1
> @@ -187,7 +187,7 @@
>                          holder = match.group(2)
>                      else:
>                          holder = "???"
> -                    copy.newChild(None, "holder", holder)
> +                    copy.newChild(None, "holder", holder.encode('utf-8'))
>  
>  # Perform some tests when ran standalone
>  if __name__ == '__main__':
> 
> 
> (though, applying it directly will most likely break packaging system). 
> 

It might work, as we can take the SRPM for whichever RPM is installed on
window now, add this patch and re-roll it. It might break if an updated
RPM comes out on up2date, but hopefully by then we'll be on RHEL4
anyway.

--
Ross




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]