gnu: scrot: Update to 0.9.
* gnu/packages/xdisorg.scm (scrot): Update to 0.9. [source, home-page]: Switch to new (git) upstream. [arguments]: Remove them. [native-inputs]: Add autoconf and automake.
This commit is contained in:
parent
e28f3cd9f0
commit
7953675fc0
|
@ -18,7 +18,7 @@
|
||||||
;;; Copyright © 2016 Petter <petter@mykolab.ch>
|
;;; Copyright © 2016 Petter <petter@mykolab.ch>
|
||||||
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
||||||
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
||||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Marek Benc <dusxmt@gmx.com>
|
;;; Copyright © 2017 Marek Benc <dusxmt@gmx.com>
|
||||||
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
|
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
|
||||||
;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
|
;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
|
||||||
|
@ -455,39 +455,24 @@ move windows, switch between desktops, etc.).")
|
||||||
(define-public scrot
|
(define-public scrot
|
||||||
(package
|
(package
|
||||||
(name "scrot")
|
(name "scrot")
|
||||||
(version "0.8")
|
(version "0.9")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (list (string-append
|
(method git-fetch)
|
||||||
"http://linuxbrit.co.uk/downloads/scrot-"
|
(uri
|
||||||
version ".tar.gz")
|
(git-reference
|
||||||
(string-append
|
(url "https://github.com/resurrecting-open-source-projects/scrot.git")
|
||||||
"https://fossies.org/linux/privat/old/scrot-"
|
(commit version)))
|
||||||
version ".tar.gz")))
|
(sha256
|
||||||
(sha256
|
(base32 "1dg0pnmk09p7zlbyxv7d40vf54amrv73y976ds5p7096x6lmlndy"))))
|
||||||
(base32
|
|
||||||
"1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
;; By default, man and doc are put in PREFIX/{man,doc} instead of
|
`(("autoconf" ,autoconf)
|
||||||
;; PREFIX/share/{man,doc}.
|
("automake" ,automake)))
|
||||||
'(#:configure-flags
|
|
||||||
(list (string-append "--mandir="
|
|
||||||
(assoc-ref %outputs "out")
|
|
||||||
"/share/man"))
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(doc (string-append out "/share/doc/scrot")))
|
|
||||||
(mkdir-p doc)
|
|
||||||
(invoke "make" "install"
|
|
||||||
(string-append "docsdir=" doc))))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libx11" ,libx11)
|
`(("giblib" ,giblib)
|
||||||
("giblib" ,giblib)))
|
("libx11" ,libx11)))
|
||||||
(home-page "http://linuxbrit.co.uk/software/")
|
(home-page "https://github.com/resurrecting-open-source-projects/scrot")
|
||||||
(synopsis "Command-line screen capture utility for X Window System")
|
(synopsis "Command-line screen capture utility for X Window System")
|
||||||
(description
|
(description
|
||||||
"Scrot allows to save a screenshot of a full screen, a window or a part
|
"Scrot allows to save a screenshot of a full screen, a window or a part
|
||||||
|
|
Loading…
Reference in New Issue