my sources contains russian comments. I process them by doxygen-1.4.7 (and 1.5.0) as result I receive html files with broken comments (as utf-8 in koi8-r). I previously post same bug (which is fixed) about doxygen-1.4.2: http://bugs.gentoo.org/show_bug.cgi?id=112076 Reproducible: Always Steps to Reproduce:
Looks like upstream changes in 1.4.7 broke your patch. Can you supply an updated patch for recent versions of doxygen? The ones currently in portage are 1.4.7 and 1.5.1, and I don't have your source files or the utf-8 fu... Thanks.
Created attachment 111027 [details, diff] files/doxygen-1.4.7-utf8-ru.patch
Created attachment 111029 [details] app-doc/doxygen-1.4.7.ebuild Added new USE flag "unicode"
Created attachment 111033 [details] app-doc/doxygen-1.5.1.ebuild
Created attachment 111034 [details, diff] files/doxygen-1.5.1-utf8-ru.patch
Do you think this bug has anything to do with your issue? http://bugzilla.gnome.org/show_bug.cgi?id=159291 It's the only bug that mentions utf8 in the summary; if the recent updates don't help, then we should push your patches upstream. You could try the latest CVS code if you want, otherwise I would think there should be a new release fairly soon. Also, did you test with USE=doc ? The 1.4.7 patch cause a failure, however, 1.5.1 creates the PDF file successfully: gmake[1]: Entering directory `/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/doc' python translator.py Unexpected token 'lpar' on the line 70 in '/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/src/translator_ru.h'. status = 4 in __collectPublicMethodPrototypes() gmake[1]: *** [language.doc] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/doc' make: *** [docs] Error 2 * "make pdf docs" failed. >>> Source compiled. >>> Test phase [not enabled]: app-doc/doxygen-1.4.7
(In reply to comment #6) > Do you think this bug has anything to do with your issue? > > http://bugzilla.gnome.org/show_bug.cgi?id=159291 > Yes. But these changes will be in next versions. > It's the only bug that mentions utf8 in the summary; if the recent updates > don't help, then we should push your patches upstream. You could try the > latest CVS code if you want, otherwise I would think there should be a new > release fairly soon. > > Also, did you test with USE=doc ? The 1.4.7 patch cause a failure, however, > 1.5.1 creates the PDF file successfully: > > gmake[1]: Entering directory > `/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/doc' > python translator.py > Unexpected token 'lpar' on the line 70 in > '/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/src/translator_ru.h'. > status = 4 in __collectPublicMethodPrototypes() > gmake[1]: *** [language.doc] Error 1 > gmake[1]: Leaving directory > `/var/tmp/portage/app-doc/doxygen-1.4.7/work/doxygen-1.4.7/doc' > make: *** [docs] Error 2 > * "make pdf docs" failed. > >>> Source compiled. > >>> Test phase [not enabled]: app-doc/doxygen-1.4.7 > Sorry. I do not try it. I will fix it few hours later.
Created attachment 111544 [details, diff] files/doxygen-1.4.7-utf8-ru.patch Fixed patch
Cool, patching and PDF generation is good on both of them. Finally in the tree...