gnu: autotrace: Update to 0.40.0-20200219.65.

* gnu/packages/graphics.scm (autotrace): Update to 0.40.0-20200219.65.
[arguments]: Delete field.
[native-inputs, inputs]: Use new style.
This commit is contained in:
Maxim Cournoyer 2022-07-12 14:07:38 -04:00
parent 3e0902cbcc
commit 397147aaad
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -302,7 +302,7 @@ (define-public fox
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public autotrace (define-public autotrace
(let ((commit "travis-20190624.59") (let ((commit "travis-20200219.65")
(version-base "0.40.0")) (version-base "0.40.0"))
(package (package
(name "autotrace") (name "autotrace")
@ -319,35 +319,22 @@ (define-public autotrace
(patches (search-patches "autotrace-glib-compat.patch")) (patches (search-patches "autotrace-glib-compat.patch"))
(sha256 (sha256
(base32 (base32
"0mk4yavy42dj0pszr1ggnggpvmzs4ds46caa9wr55cqsypn7bq6s")))) "1p9gy2vg0jzwjwz34lj95vvknnyswpc4qq63j83bh0m1gz09qh2w"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
;; See: https://github.com/autotrace/autotrace/issues/27.
(add-after 'unpack 'include-spline.h-header
(lambda _
(substitute* "Makefile.am"
((".*src/types.h.*" all)
(string-append all "\t\tsrc/spline.h \\\n")))
#t))
;; See: https://github.com/autotrace/autotrace/issues/26.
(replace 'check
(lambda _
(invoke "sh" "tests/runtests.sh"))))))
(native-inputs (native-inputs
`(("which" ,which) (list which
("pkg-config" ,pkg-config) pkg-config
("autoconf" ,autoconf) autoconf
("automake" ,automake) automake
("intltool" ,intltool) intltool
("libtool" ,libtool) libtool
("gettext" ,gettext-minimal))) gettext-minimal))
(inputs (inputs
`(("glib" ,glib) (list glib
("libjpeg" ,libjpeg-turbo) libjpeg-turbo
("libpng" ,libpng) libpng
("imagemagick" ,imagemagick) imagemagick
("pstoedit" ,pstoedit))) pstoedit))
(home-page "https://github.com/autotrace/autotrace") (home-page "https://github.com/autotrace/autotrace")
(synopsis "Bitmap to vector graphics converter") (synopsis "Bitmap to vector graphics converter")
(description "AutoTrace is a utility for converting bitmap into vector (description "AutoTrace is a utility for converting bitmap into vector