Archived
1
0
Fork 0

gnu: xsel: Update to 1.2.0-1.062e6d3.

* gnu/packages/xdisorg.scm (xsel): Update to 1.2.0-1.062e6d3.
[arguments]: Add a custom bootstrap phase.
[native-inputs]: Add autoconf, automake and libtool.
This commit is contained in:
Mathieu Othacehe 2021-08-16 13:34:32 +02:00
parent a4da8b83a0
commit 62089efeff
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1692,17 +1692,32 @@ Saver extension) library.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public xsel (define-public xsel
;; The 1.2.0 release no longer compiles with GCC 8 and upper, see:
;; https://github.com/kfish/xsel/commit/d88aa9a8dba9228e6780d6bb5a5720a36f854918.
(let ((commit "062e6d373537c60829fa9b5dcddbcd942986b3c3")
(revision "1"))
(package (package
(name "xsel") (name "xsel")
(version "1.2.0") (version (git-version "1.2.0" revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "http://www.vergenet.net/~conrad/software" (uri (git-reference
"/xsel/download/xsel-" version ".tar.gz")) (url "https://github.com/kfish/xsel")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr")))) "0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(invoke "autoreconf" "-vfi"))))))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("libxt" ,libxt))) `(("libxt" ,libxt)))
(home-page "http://www.vergenet.net/~conrad/software/xsel/") (home-page "http://www.vergenet.net/~conrad/software/xsel/")
@ -1715,7 +1730,7 @@ information and pasting it with the middle mouse button.
XSel reads from standard input and writes to standard output by default, XSel reads from standard input and writes to standard output by default,
but can also follow a growing file, display contents, delete entries and more.") but can also follow a growing file, display contents, delete entries and more.")
(license (license:x11-style "file://COPYING" (license (license:x11-style "file://COPYING"
"See COPYING in the distribution.")))) "See COPYING in the distribution.")))))
(define-public xdpyprobe (define-public xdpyprobe
(package (package