Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428280

Summary: app-doc/doxygen - set date in man pages according to default locale
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: New packagesAssignee: Steve Arnold <nerdboy>
Status: RESOLVED FIXED    
Severity: trivial CC: dev-tools, xarthisius
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: doxygen-1.7.6.1.ebuild
doxygen-1.7.6.1.ebuild

Description Samuel Bauer 2012-07-27 09:27:00 UTC
Created attachment 319364 [details]
doxygen-1.7.6.1.ebuild

When installing doxygen the date field is set according to locale, but doxygen manpage is in english. So date field doesn't fit with manual.

Quick fix is to pass DATE variable to emake setting LC_ALL to C.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-28 23:04:44 UTC
Comment on attachment 319364 [details]
doxygen-1.7.6.1.ebuild

There is no difference between this ebuild and the one in the tree.
Comment 2 Samuel Bauer 2012-07-29 00:05:50 UTC
Created attachment 319574 [details]
doxygen-1.7.6.1.ebuild

Yes, previous ebuild was the one from the tree.
Hope I attached the modified one this time
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-29 22:48:16 UTC
Comment on attachment 319574 [details]
doxygen-1.7.6.1.ebuild

Please attach only the modifications next time (i.e. a unified diff). Like this:

--- doxygen-1.7.6.1.ebuild      2012-05-08 17:22:32.000000000 +0200
+++ -   2012-07-30 00:47:52.197921036 +0200
@@ -156,7 +156,7 @@
 }
 
 src_compile() {
-
+       sed -i 's/shell date/shell LC_ALL="C" LANG="C" date/' Makefile || die
        emake CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" \
                LFLAGS+="${ELDFLAGS}" all
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-11 09:30:39 UTC
+  11 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> doxygen-1.7.6.1.ebuild,
+  doxygen-1.8.1.2.ebuild:
+  Fix date in man pages wrt #428280 by Samuel BAUER <samuel.bauer@yahoo.fr>