Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167617 - >=app-doc/doxygen-1.4.7 has problems with russian in UTF-8
Summary: >=app-doc/doxygen-1.4.7 has problems with russian in UTF-8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 13:54 UTC by Sergey Belyashov
Modified: 2007-03-12 05:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/doxygen-1.4.7-utf8-ru.patch (doxygen-1.4.7-utf8-ru.patch,67.81 KB, patch)
2007-02-23 10:13 UTC, Sergey Belyashov
Details | Diff
app-doc/doxygen-1.4.7.ebuild (doxygen-1.4.7.ebuild,3.84 KB, text/plain)
2007-02-23 10:14 UTC, Sergey Belyashov
Details
app-doc/doxygen-1.5.1.ebuild (doxygen-1.5.1.ebuild,3.81 KB, text/plain)
2007-02-23 10:25 UTC, Sergey Belyashov
Details
files/doxygen-1.5.1-utf8-ru.patch (doxygen-1.5.1-utf8-ru.patch,67.06 KB, patch)
2007-02-23 10:26 UTC, Sergey Belyashov
Details | Diff
files/doxygen-1.4.7-utf8-ru.patch (doxygen-1.4.7-utf8-ru.patch,67.51 KB, patch)
2007-02-28 14:11 UTC, Sergey Belyashov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Belyashov 2007-02-19 13:54:13 UTC
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:
Comment 1 Steve Arnold archtester gentoo-dev 2007-02-23 04:36:19 UTC
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.
Comment 2 Sergey Belyashov 2007-02-23 10:13:35 UTC
Created attachment 111027 [details, diff]
files/doxygen-1.4.7-utf8-ru.patch
Comment 3 Sergey Belyashov 2007-02-23 10:14:28 UTC
Created attachment 111029 [details]
app-doc/doxygen-1.4.7.ebuild

Added new USE flag "unicode"
Comment 4 Sergey Belyashov 2007-02-23 10:25:37 UTC
Created attachment 111033 [details]
app-doc/doxygen-1.5.1.ebuild
Comment 5 Sergey Belyashov 2007-02-23 10:26:07 UTC
Created attachment 111034 [details, diff]
files/doxygen-1.5.1-utf8-ru.patch
Comment 6 Steve Arnold archtester gentoo-dev 2007-02-28 05:05:57 UTC
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
Comment 7 Sergey Belyashov 2007-02-28 13:38:40 UTC
(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.
Comment 8 Sergey Belyashov 2007-02-28 14:11:58 UTC
Created attachment 111544 [details, diff]
files/doxygen-1.4.7-utf8-ru.patch

Fixed patch
Comment 9 Steve Arnold archtester gentoo-dev 2007-03-12 05:24:47 UTC
Cool, patching and PDF generation is good on both of them.  Finally in the tree...