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

@ -1692,30 +1692,45 @@ Saver extension) library.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public xsel (define-public xsel
(package ;; The 1.2.0 release no longer compiles with GCC 8 and upper, see:
(name "xsel") ;; https://github.com/kfish/xsel/commit/d88aa9a8dba9228e6780d6bb5a5720a36f854918.
(version "1.2.0") (let ((commit "062e6d373537c60829fa9b5dcddbcd942986b3c3")
(source (origin (revision "1"))
(method url-fetch) (package
(uri (string-append "http://www.vergenet.net/~conrad/software" (name "xsel")
"/xsel/download/xsel-" version ".tar.gz")) (version (git-version "1.2.0" revision commit))
(sha256 (source (origin
(base32 (method git-fetch)
"070lbcpw77j143jrbkh0y1v10ppn1jwmjf92800w7x42vh4cw9xr")))) (uri (git-reference
(build-system gnu-build-system) (url "https://github.com/kfish/xsel")
(inputs (commit commit)))
`(("libxt" ,libxt))) (file-name (git-file-name name version))
(home-page "http://www.vergenet.net/~conrad/software/xsel/") (sha256
(synopsis "Manipulate X selection") (base32
(description "0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri"))))
"XSel is a command-line program for getting and setting the contents of (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
`(("libxt" ,libxt)))
(home-page "http://www.vergenet.net/~conrad/software/xsel/")
(synopsis "Manipulate X selection")
(description
"XSel is a command-line program for getting and setting the contents of
the X selection. Normally this is only accessible by manually highlighting the X selection. Normally this is only accessible by manually highlighting
information and pasting it with the middle mouse button. 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