Hi, I propose the attached patch which does not change the default behaviour of pdftex but if the environment variable SOURCE_DATE_EPOCH is set it
I'm not sure. Meanwhile, Thanh has already made changes in the pdftex source repository, revision 724 at https://foundry.supelec.fr/scm/viewvc.php/branches/stable/source/?root=pdftex (project page: https://foundry.supelec.fr/projects/pdftex/) I append his message about it (sent privately). Will it suffice for you? --karl -------------------------------------------- From: The Thanh Han [...] 2 new commands were added. Usage examples: \pdfinfoomitdate=1 % tell pdftex not to write the default CreationDate and ModDate; % however custom values specified via \pdfinfo{} will always be outputted \pdftrailerid{} % tell pdftex to omit trailer id, or \pdftrailerid{abc} % provide custom value for trailer id A minimal test file was included in the commit: https://foundry.supelec.fr/scm/viewvc.php/branches/stable/tests/03-deterministic-output/?root=pdftex Regards, Thanh _______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds