From: Benjamin Slade <slade@jnanam.net>
To: 32611@debbugs.gnu.org
Subject: [bug#32611] [PATCH] xorg.scm - add transset-df
Date: Sat, 01 Sep 2018 21:47:38 -0600 [thread overview]
Message-ID: <87a7p0h86d.fsf@jnanam.net> (raw)
[-- Attachment #1: xorg-add-transsetdf.patch --]
[-- Type: text/x-patch, Size: 2351 bytes --]
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 3875765d2..e8bf99689 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018 Benjamin Slade <slae@jnanam.net@>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6196,3 +6197,43 @@ and embedded platforms.")
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.")
(license license:bsd-3)))
+
+(define-public transset-df
+ (package
+ (name "transset-df")
+ (version "6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://forchheimer.se/" name "/" name "-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5"))))
+ (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")))
+ (mkdir-p bin)
+ (copy-file "transset-df" (string-append bin "/transset-df"))
+ #t))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs `(("libxcomposite" ,libxcomposite)
+ ("libxdamager" ,libxdamage) ("libxrender" ,libxrender)))
+ (synopsis "Patched version of X.Org's transset with added functionality")
+ (description "A patched version of X.Org's transset with added functionality,
+including: selecting window by clicking (as transset), selecting
+windows by pointing select actual focused X11 window, selecting by
+window name or id, forcing toggle increase or decrease opacity")
+ (home-page "http://forchheimer.se/transset-df/")
+ (license x11)))
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
--
Dr Benjamin Slade - https://babbagefiles.xyz
`(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
`(Choose Linux ,(Choose Freedom) . https://linux.com )
next reply other threads:[~2018-09-02 4:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-02 3:47 Benjamin Slade [this message]
2018-09-03 21:28 ` bug#32611: [PATCH] xorg.scm - add transset-df Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7p0h86d.fsf@jnanam.net \
--to=slade@jnanam.net \
--cc=32611@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).