mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01:00
gnu: gifsicle: Build from git source.
* gnu/packages/image.scm (gifsicle)[source]: Switch to git-fetch. [native-inputs]: Add autoconf and automake. Change-Id: I9b23e1d2f66aa328f56bad224b8db03b6261dd00
This commit is contained in:
parent
fe6fdb1a85
commit
b0d5c6924c
1 changed files with 34 additions and 26 deletions
|
@ -2171,33 +2171,41 @@ stdout.")
|
||||||
|
|
||||||
(define-public gifsicle
|
(define-public gifsicle
|
||||||
(package
|
(package
|
||||||
(name "gifsicle")
|
(name "gifsicle")
|
||||||
(version "1.95")
|
(version "1.95")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://www.lcdf.org/gifsicle/gifsicle-"
|
(uri (git-reference
|
||||||
version ".tar.gz"))
|
(url "https://github.com/kohler/gifsicle")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0l69gn562l7a1l10zz1bfs756ipd682idgpk60qs3llz013icwdj"))))
|
(base32 "1wvsf2kv90bqpyxcjilir4zgmaga0xjg96vnn7rzq4fkjx8pb3yg"))
|
||||||
(build-system gnu-build-system)
|
(modules '((guix build utils)))
|
||||||
(arguments
|
(snippet '(begin (substitute* "configure.ac"
|
||||||
'(#:phases
|
(("2.72") "2.69"))))))
|
||||||
(modify-phases %standard-phases
|
(build-system gnu-build-system)
|
||||||
(add-before 'check 'patch-tests
|
(arguments
|
||||||
(lambda _
|
'(#:phases
|
||||||
(substitute* "test/testie"
|
(modify-phases %standard-phases
|
||||||
(("/usr/bin/perl")
|
(add-before 'check 'patch-tests
|
||||||
(which "perl"))
|
(lambda _
|
||||||
(("/bin/sh")
|
(substitute* "test/testie"
|
||||||
(which "sh"))
|
(("/usr/bin/perl")
|
||||||
(("/bin/rm")
|
(which "perl"))
|
||||||
(which "rm"))))))))
|
(("/bin/sh")
|
||||||
(native-inputs (list perl)) ; only for tests
|
(which "sh"))
|
||||||
(inputs (list libx11))
|
(("/bin/rm")
|
||||||
(home-page "https://www.lcdf.org/gifsicle/")
|
(which "rm"))))))))
|
||||||
(synopsis "Edit GIF images and animations")
|
(native-inputs
|
||||||
(description "Gifsicle is a command-line GIF image manipulation tool that:
|
(list
|
||||||
|
autoconf automake
|
||||||
|
perl)) ; only for tests
|
||||||
|
(inputs (list libx11))
|
||||||
|
(home-page "https://www.lcdf.org/gifsicle/")
|
||||||
|
(synopsis "Edit GIF images and animations")
|
||||||
|
(description "Gifsicle is a command-line GIF image manipulation tool that:
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
@item Provides a batch mode for changing GIFs in place.
|
@item Provides a batch mode for changing GIFs in place.
|
||||||
|
@ -2212,7 +2220,7 @@ tables, etc.
|
||||||
Two other programs are included with Gifsicle: @command{gifview} is a
|
Two other programs are included with Gifsicle: @command{gifview} is a
|
||||||
lightweight animated-GIF viewer, and @command{gifdiff} compares two GIFs for
|
lightweight animated-GIF viewer, and @command{gifdiff} compares two GIFs for
|
||||||
identical visual appearance.")
|
identical visual appearance.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public jp2a
|
(define-public jp2a
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue