Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reproducible builds: honour SOURCE_DATE_EPOCH #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgmbenoit
Copy link

Description: upstream: reproducible: PDFHummus: SOURCE_DATE_EPOCH
This patch brings Reproducible Builds to PDFHummus by honouring the standardised environment variable SOURCE_DATE_EPOCH. This patch actually adapts to PDFHummus the sample code suggested by the Reproducible Builds team in their dedicated webpage docs/source-date-epoch. The adaptation lies in the behaviour in case of an ill-formatted SOURCE_DATE_EPOCH: the suggested code emits an error message and does an exit; the adapted code logs a message and returns a null date (see IsNull definition in PDFDate class in PDFDate.h).
Origin: vendor, Debian
Author: Jerome Benoit < calculus at debian dot org >
Last-Update: 2024-08-09

Description: upstream: reproducible: PDFHummus: SOURCE_DATE_EPOCH
 This patch brings [Reproducible Builds](https://reproducible-builds.org/)
 to PDFHummus by honouring the standardised environment variable
 [SOURCE_DATE_EPOCH](https://reproducible-builds.org/docs/source-date-epoch/).
 This patch actually adapts to PDFHummus the sample code suggested by the
 Reproducible Builds team in their dedicated webpage [docs/source-date-epoch]
 (https://reproducible-builds.org/docs/source-date-epoch/). The adaptation
 lies in the behaviour in case of an ill-formatted SOURCE_DATE_EPOCH:
 the suggested code emits an error message and does an `exit`;
 the adapted code logs a message and returns a null date (see `IsNull`
 definition in `PDFDate class` in `PDFDate.h`).
Origin: vendor, Debian
Author: Jerome Benoit < calculus _at_ debian _dot_ org >
Last-Update: 2024-08-09
jgmbenoit added a commit to jgmbenoit/texmacs that referenced this pull request Aug 9, 2024
Description: upstream: reproducible: PDFHummus: SOURCE_DATE_EPOCH
 This patch brings [Reproducible Builds](https://reproducible-builds.org/)
 to PDFHummus by honouring the standardised environment variable
 [SOURCE_DATE_EPOCH](https://reproducible-builds.org/docs/source-date-epoch/).
 This patch actually adapts to PDFHummus the sample code suggested by the
 Reproducible Builds team in their dedicated webpage [docs/source-date-epoch]
 (https://reproducible-builds.org/docs/source-date-epoch/). The adaptation
 lies in the behaviour in case of a ill-formatted SOURCE_DATE_EPOCH:
 the suggested code emits an error message and does an `exit`;
 the adapted code logs a message and returns a null date (see `IsNull`
 definition in `PDFDate class` in `PDFDate.h`).
Origin: vendor, Debian
Forwarded: galkahana/PDF-Writer#273
Author: Jerome Benoit <[email protected]>
Last-Update: 2024-08-09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant