Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428280 - app-doc/doxygen - set date in man pages according to default locale
Summary: app-doc/doxygen - set date in man pages according to default locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-07-27 09:27 UTC by Samuel Bauer
Modified: 2012-08-11 09:30 UTC (History)
2 users (show)

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


Attachments
doxygen-1.7.6.1.ebuild (doxygen-1.7.6.1.ebuild,6.15 KB, text/plain)
2012-07-27 09:27 UTC, Samuel Bauer
Details
doxygen-1.7.6.1.ebuild (doxygen-1.7.6.1.ebuild,6.22 KB, text/plain)
2012-07-29 00:05 UTC, Samuel Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
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>