Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
librsvg
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 156
    • Issues 156
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • librsvg
  • Merge Requests
  • !10

Closed
Opened Feb 10, 2018 by Chris Lamb@lamby1
  • Report abuse
Report abuse

Please make the PDF output reproducible

Whilst working on the Reproducible Builds effort [0], we noticed that rsvg-convert does not create reproducible output.

This is because it calls cairo_pdf_surface_create_for_stream without setting a modification time, thus leading to the current date always being generated.

An alternative patch could use the creation time of the input file, but this would be misleading metadata when applied to the output - it was not created at the same time as the input.

This has also been filed in Debian [1].

[0] https://reproducible-builds.org/ [1] https://bugs.debian.org/890027

Signed-off-by: Chris Lamb chris@chris-lamb.co.uk

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://gitlab.gnome.org/lamby/librsvg.git reproducible-pdf-output
git checkout -b lamby/librsvg-reproducible-pdf-output FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff lamby/librsvg-reproducible-pdf-output

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 3
  • Commits 1
  • Pipelines 3
  • Changes 2
Assignee
No assignee
Assign to
2.42.3
Milestone
2.42.3
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: GNOME/librsvg!10