Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95627 - doxygen-1.4.3 doesn't build with Japanese style dates
Summary: doxygen-1.4.3 doesn't build with Japanese style dates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 20:27 UTC by Chris White (RETIRED)
Modified: 2005-06-10 22:33 UTC (History)
0 users

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


Attachments
doxygen-1.4.3-nls.patch (doxygen-1.4.3-nls.patch,1019 bytes, patch)
2005-06-09 20:28 UTC, Chris White (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris White (RETIRED) gentoo-dev 2005-06-09 20:27:56 UTC
Doxygen installation performs the following sed:

cat doc/doxygen.1    | sed -e "s/DATE/\$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxygen.1 ; \

cat doc/doxytag.1    | sed -e "s/DATE/\$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxytag.1 ; \

cat doc/doxywizard.1 | sed -e "s/DATE/\$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxywizard.1 ;

notice the \ before $(DATE) and notice that $(VERSION) doesn't have it either.  This unfortunately produces the following side effect:

cat doc/doxygen.1    | sed -e "s/DATE/\6月 2005/g" -e "s/VERSION/1.4.3/g" > /var/tmp/portage/doxygen-1.4.3/image//usr/man/man1/doxygen.1 ; \
cat doc/doxytag.1    | sed -e "s/DATE/\6月 2005/g" -e "s/VERSION/1.4.3/g" > /var/tmp/portage/doxygen-1.4.3/image//usr/man/man1/doxytag.1 ; \
cat doc/doxywizard.1 | sed -e "s/DATE/\6月 2005/g" -e "s/VERSION/1.4.3/g" > /var/tmp/portage/doxygen-1.4.3/image//usr/man/man1/doxywizard.1 ;
sed: -e 表現 #1, 文字数 19: invalid reference \7 on `s' command's RHS
sed: -e 表現 #1, 文字数 19: invalid reference \7 on `s' command's RHS
sed: -e 表現 #1, 文字数 19: invalid reference \7 on `s' command's RHS

note that in Japanese, the form is [month number][month kanji] [year].  The fact that the number is first causes sed to want to do a bizzare replacement scheme because of \6 being there.  now, why the \ is there in the first place is beyond me.. it doesn't look necessary.  Therefore I have attached a Makefile.in patch to take care of the situation.
Comment 1 Chris White (RETIRED) gentoo-dev 2005-06-09 20:28:53 UTC
Created attachment 60961 [details, diff]
doxygen-1.4.3-nls.patch

Patch for Makefile.in
Comment 2 Steve Arnold archtester gentoo-dev 2005-06-10 22:33:03 UTC
See doxygen-1.4.3-r1...   Thanks.