gnu: paps: Update to 0.7.0-1.37e6ca1.

* gnu/packages/pdf.scm (paps): Update to 0.7.0-1.37e6ca1.
[source]: Fetch from git.
[arguments]: Add phase "do-not-run-configure-script-during-bootstrap".
[native-inputs]: Add autoconf, automake, gettext-minimal, glib:bin and
intltool.
[home-page]: Point to Github.
master
Ricardo Wurmus 2019-01-22 15:08:02 +01:00
parent 354d27e5dc
commit 11627ca550
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 40 additions and 21 deletions

View File

@ -1078,26 +1078,45 @@ presentation. The input files processed by pdfpc are PDF documents.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public paps (define-public paps
(package (let ((commit "37e6ca1cd96d751bbbff5539d795c90d657289a5")
(name "paps") (revision "1"))
(version "0.6.8") (package
(source (name "paps")
(origin ;; The last release was in 2015, but since then there have been security
(method url-fetch) ;; bug fixes.
(uri (string-append "mirror://sourceforge/paps/paps/" version "/" (version (git-version "0.7.0" revision commit))
"paps-" version ".tar.gz")) (source
(sha256 (origin
(base32 (method git-fetch)
"080ahnyvq918m8ahq8bg9qvgzlv4k0jgcsdqhrwjzppclx74q8fv")))) (uri (git-reference
(build-system gnu-build-system) (url "https://github.com/dov/paps.git")
(inputs (commit commit)))
`(("pango" ,pango))) (file-name (git-file-name name version))
(native-inputs (sha256
`(("pkg-config" ,pkg-config))) (base32
(home-page "http://paps.sourceforge.net/") "1ilcyjqdynxsd2p8dnn8h4592dwf531x9pbkxa1w09hkcdn7hgwc"))))
(synopsis "Pango to PostScript converter") (build-system gnu-build-system)
(description (arguments
"Paps reads a UTF-8 encoded file and generates a PostScript language `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-run-configure-script-during-bootstrap
(lambda _
(substitute* "autogen.sh"
(("^./configure") "#"))
#t)))))
(inputs
`(("pango" ,pango)))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(home-page "https://github.com/dov/paps")
(synopsis "Pango to PostScript converter")
(description
"Paps reads a UTF-8 encoded file and generates a PostScript language
rendering of the file. The rendering is done by creating outline curves rendering of the file. The rendering is done by creating outline curves
through the Pango @code{ft2} backend.") through the Pango @code{ft2} backend.")
(license license:lgpl2.0+))) (license license:lgpl2.0+))))