Codebase list golang-github-phpdave11-gofpdi / f49c689
New upstream snapshot. Debian Janitor 2 years ago
2 changed file(s) with 8 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 golang-github-phpdave11-gofpdi (1.0.13-2) UNRELEASED; urgency=medium
0 golang-github-phpdave11-gofpdi (1.0.13+git20211212.1.1f10f98-1) UNRELEASED; urgency=medium
11
22 * Remove constraints unnecessary since buster:
33 + Build-Depends: Drop versioned constraint on debhelper.
88 * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
99 Repository-Browse.
1010 * Update standards version to 4.5.1, no changes needed.
11 * New upstream snapshot.
1112
12 -- Debian Janitor <janitor@jelmer.uk> Sun, 29 Aug 2021 14:42:56 -0000
13 -- Debian Janitor <janitor@jelmer.uk> Sat, 19 Mar 2022 23:51:44 -0000
1314
1415 golang-github-phpdave11-gofpdi (1.0.13-1) unstable; urgency=medium
1516
66 "crypto/sha1"
77 "encoding/hex"
88 "fmt"
9 "github.com/pkg/errors"
109 "math"
1110 "os"
11
12 "github.com/pkg/errors"
1213 )
1314
1415 type PdfWriter struct {
226227
227228 func (this *PdfWriter) shaOfInt(i int) string {
228229 hasher := sha1.New()
229 hasher.Write([]byte(fmt.Sprintf("%s-%s", i, this.r.sourceFile)))
230 hasher.Write([]byte(fmt.Sprintf("%d-%s", i, this.r.sourceFile)))
230231 sha := hex.EncodeToString(hasher.Sum(nil))
231232 return sha
232233 }
322323
323324 case PDF_TYPE_BOOLEAN:
324325 if value.Bool {
325 this.straightOut("true")
326 this.straightOut("true ")
326327 } else {
327 this.straightOut("false")
328 this.straightOut("false ")
328329 }
329330 break
330331