Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • digiKam digiKam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Bugzilla
    • Bugzilla
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GraphicsGraphics
  • digiKamdigiKam
  • Merge requests
  • !58

Use cmake TIMESTAMP function

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Bernhard M. Wiedemann requested to merge wiedemann/digikam:date into master Apr 11, 2021
  • Overview 6
  • Commits 1
  • Pipelines 2
  • Changes 1

This greatly simplifies code and allows to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

We still use UTC to be independent of timezone.

Without this patch, /usr/lib64/libdigikamcore.so.7.2.0 always varied between clean builds.

Related to commit 6cc8e8b0 CCBUGS: 237010

This PR was done while working on reproducible builds for openSUSE.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: date