[FFmpeg-devel] [PATCH] configure: add --build-date and --build-time options
Michael Niedermayer
michaelni at gmx.at
Sat Jan 31 22:36:34 CET 2015
On Sun, Jan 25, 2015 at 09:25:07PM +0100, Andreas Cadhalpun wrote:
> Hi,
>
> On 25.01.2015 18:53, Michael Niedermayer wrote:
> >On Sun, Jan 25, 2015 at 05:29:08PM +0100, Hendrik Leppkes wrote:
> >>On Sun, Jan 25, 2015 at 5:15 PM, Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> >>wrote:
> >>>I vote for just removing the build date.
> [...]
> >>Remove it for all I care, the important part is the revision info and the
> >>compiler used.
> >
> >+1
>
> OK, if that's preferred. New patch attached.
>
> The ffmpeg_program_string function in t2h.pm is just the
> _default_program_string function from texinfo [1] without the
> timestamp.
>
> Best regards,
> Andreas
>
> 1: https://anonscm.debian.org/cgit/debian-tex/texinfo.git/tree/tp/Texinfo/Convert/HTML.pm/#n6118
> cmdutils.c | 3 +--
> doc/Doxyfile | 2 +-
> doc/Makefile | 4 ++--
> doc/t2h.pm | 17 +++++++++++++++++
> ffprobe.c | 2 --
> 5 files changed, 21 insertions(+), 7 deletions(-)
> edc63ab37708e1e5b509b3d3b7523b3b1213f55e stop-embedding-the-build-date.patch
> From 3163612fb5da694a4ebcc39605561558566d85ed Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Sun, 25 Jan 2015 21:13:18 +0100
> Subject: [PATCH] stop embedding the build date
>
> Theis makes the build binary reproducible.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> cmdutils.c | 3 +--
> doc/Doxyfile | 2 +-
> doc/Makefile | 4 ++--
> doc/t2h.pm | 17 +++++++++++++++++
> ffprobe.c | 2 --
> 5 files changed, 21 insertions(+), 7 deletions(-)
>
> diff --git a/cmdutils.c b/cmdutils.c
> index 53268d8..6c40df9 100644
> --- a/cmdutils.c
> +++ b/cmdutils.c
> @@ -1081,8 +1081,7 @@ static void print_program_info(int flags, int level)
> av_log(NULL, level, " Copyright (c) %d-%d the FFmpeg developers",
> program_birth_year, CONFIG_THIS_YEAR);
> av_log(NULL, level, "\n");
> - av_log(NULL, level, "%sbuilt on %s %s with %s\n",
> - indent, __DATE__, __TIME__, CC_IDENT);
> + av_log(NULL, level, "%sbuilt with %s\n", indent, CC_IDENT);
>
> av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
> }
> diff --git a/doc/Doxyfile b/doc/Doxyfile
> index 8697e6c..5d18b10 100644
> --- a/doc/Doxyfile
> +++ b/doc/Doxyfile
> @@ -839,7 +839,7 @@ HTML_COLORSTYLE_GAMMA = 80
> # page will contain the date and time when the page was generated. Setting
> # this to NO can help when comparing the output of multiple runs.
>
> -HTML_TIMESTAMP = YES
> +HTML_TIMESTAMP = NO
is there some other means to identify outdated doxygen ?
like a git revission ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150131/3e93ca05/attachment.asc>
More information about the ffmpeg-devel
mailing list