Theis makes the build binary reproducible.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -1081,8 +1081,7 @@ static void print_program_info(int flags, int level) |
1081 | 1081 |
av_log(NULL, level, " Copyright (c) %d-%d the FFmpeg developers", |
1082 | 1082 |
program_birth_year, CONFIG_THIS_YEAR); |
1083 | 1083 |
av_log(NULL, level, "\n"); |
1084 |
- av_log(NULL, level, "%sbuilt on %s %s with %s\n", |
|
1085 |
- indent, __DATE__, __TIME__, CC_IDENT); |
|
1084 |
+ av_log(NULL, level, "%sbuilt with %s\n", indent, CC_IDENT); |
|
1086 | 1085 |
|
1087 | 1086 |
av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent); |
1088 | 1087 |
} |
... | ... |
@@ -114,9 +114,9 @@ doc/%-all.pod: doc/%.texi $(SRC_PATH)/doc/texi2pod.pl $(GENTEXI) |
114 | 114 |
|
115 | 115 |
doc/%.1 doc/%.3: TAG = MAN |
116 | 116 |
doc/%.1: doc/%.pod $(GENTEXI) |
117 |
- $(M)pod2man --section=1 --center=" " --release=" " $< > $@ |
|
117 |
+ $(M)pod2man --section=1 --center=" " --release=" " --date=" " $< > $@ |
|
118 | 118 |
doc/%.3: doc/%.pod $(GENTEXI) |
119 |
- $(M)pod2man --section=3 --center=" " --release=" " $< > $@ |
|
119 |
+ $(M)pod2man --section=3 --center=" " --release=" " --date=" " $< > $@ |
|
120 | 120 |
|
121 | 121 |
$(DOCS) doc/doxy/html: | doc/ |
122 | 122 |
$(DOC_EXAMPLES:%$(EXESUF)=%.o): | doc/examples |
... | ... |
@@ -186,6 +186,23 @@ EOT |
186 | 186 |
} |
187 | 187 |
texinfo_register_formatting_function('begin_file', \&ffmpeg_begin_file); |
188 | 188 |
|
189 |
+sub ffmpeg_program_string($) |
|
190 |
+{ |
|
191 |
+ my $self = shift; |
|
192 |
+ if (defined($self->get_conf('PROGRAM')) |
|
193 |
+ and $self->get_conf('PROGRAM') ne '' |
|
194 |
+ and defined($self->get_conf('PACKAGE_URL'))) { |
|
195 |
+ return $self->convert_tree( |
|
196 |
+ $self->gdt('This document was generated using @uref{{program_homepage}, @emph{{program}}}.', |
|
197 |
+ { 'program_homepage' => $self->get_conf('PACKAGE_URL'), |
|
198 |
+ 'program' => $self->get_conf('PROGRAM') })); |
|
199 |
+ } else { |
|
200 |
+ return $self->convert_tree( |
|
201 |
+ $self->gdt('This document was generated automatically.')); |
|
202 |
+ } |
|
203 |
+} |
|
204 |
+texinfo_register_formatting_function('program_string', \&ffmpeg_program_string); |
|
205 |
+ |
|
189 | 206 |
# Customized file ending |
190 | 207 |
sub ffmpeg_end_file($) |
191 | 208 |
{ |
... | ... |
@@ -2562,8 +2562,6 @@ static void ffprobe_show_program_version(WriterContext *w) |
2562 | 2562 |
print_str("version", FFMPEG_VERSION); |
2563 | 2563 |
print_fmt("copyright", "Copyright (c) %d-%d the FFmpeg developers", |
2564 | 2564 |
program_birth_year, CONFIG_THIS_YEAR); |
2565 |
- print_str("build_date", __DATE__); |
|
2566 |
- print_str("build_time", __TIME__); |
|
2567 | 2565 |
print_str("compiler_ident", CC_IDENT); |
2568 | 2566 |
print_str("configuration", FFMPEG_CONFIGURATION); |
2569 | 2567 |
writer_print_section_footer(w); |