gnu: Replace transset-df with transset.
transset-df was last updated in 2007. The patches got merged upstream a long time ago, which is maintained by the X.Org project. * gnu/packages/xorg.scm (transset): New variable. (transset-df): Define as ‘deprecated package’. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
30aa5dd7e7
commit
144d74f841
1 changed files with 14 additions and 28 deletions
|
@ -6570,47 +6570,33 @@ cursor to any point on the screen with a few key strokes. It also simulates
|
||||||
mouse click. You can do everything mouse can do with a keyboard.")
|
mouse click. You can do everything mouse can do with a keyboard.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public transset-df
|
(define-public transset
|
||||||
(package
|
(package
|
||||||
(name "transset-df")
|
(name "transset")
|
||||||
(version "6")
|
(version "1.0.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://forchheimer.se/" name "/" name "-" version
|
(uri (string-append "https://www.x.org/releases/individual/app/"
|
||||||
".tar.gz"))
|
name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
|
"0rya202y87dwl35jnmq8hs3arzdrv5z4vf1xmi0py4rnmhdpszaw"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'setenv
|
|
||||||
(lambda _
|
|
||||||
(setenv "CC" (which "gcc"))
|
|
||||||
#t))
|
|
||||||
(delete 'configure)
|
|
||||||
(delete 'check)
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(bin (string-append out "/bin")))
|
|
||||||
(install-file "transset-df" bin)
|
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs `(("libxcomposite" ,libxcomposite)
|
(inputs `(("libxcomposite" ,libxcomposite)
|
||||||
("libxdamager" ,libxdamage)
|
("libxdamage" ,libxdamage)
|
||||||
("libxrender" ,libxrender)))
|
("libxrender" ,libxrender)))
|
||||||
(synopsis "Set the transparency of X11 windows")
|
(synopsis "Set the transparency of X11 windows")
|
||||||
(description "The @command{transset-df} command allows you to set the
|
(description "@command{transset} is a simple program for X servers
|
||||||
opacity of X11 windows. This patched version of X.Org's @command{transset}
|
supporting the XFIXES, DAMAGE, and COMPOSITE extensions. It lets the
|
||||||
adds functionality, including: selecting window by clicking (as transset),
|
user set the transparency on a window.")
|
||||||
selecting windows by pointing select actual focused X11 window, selecting by
|
(home-page "https://gitlab.freedesktop.org/xorg/app/transset")
|
||||||
window name or id, forcing toggle, increase or decrease opacity.")
|
|
||||||
(home-page "https://forchheimer.se/transset-df/")
|
|
||||||
(license license:x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
|
(define-public transset-df
|
||||||
|
(deprecated-package "transset-df" transset))
|
||||||
|
|
||||||
(define-public bdfresize
|
(define-public bdfresize
|
||||||
(package
|
(package
|
||||||
(name "bdfresize")
|
(name "bdfresize")
|
||||||
|
|
Reference in a new issue