From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwJZR-0004pQ-MV for guix-patches@gnu.org; Sun, 02 Sep 2018 00:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwJZO-0008CS-Eg for guix-patches@gnu.org; Sun, 02 Sep 2018 00:01:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwJZO-0008C9-8x for guix-patches@gnu.org; Sun, 02 Sep 2018 00:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwJZO-0001DI-3I for guix-patches@gnu.org; Sun, 02 Sep 2018 00:01:02 -0400 Subject: [bug#32611] [PATCH] xorg.scm - add transset-df Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwJYV-0004Jy-HJ for guix-patches@gnu.org; Sun, 02 Sep 2018 00:00:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwJMV-0003VV-Tt for guix-patches@gnu.org; Sat, 01 Sep 2018 23:47:47 -0400 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]:54543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwJMU-0003Ut-VV for guix-patches@gnu.org; Sat, 01 Sep 2018 23:47:43 -0400 Received: by mail-it0-x235.google.com with SMTP id f14-v6so11796614ita.4 for ; Sat, 01 Sep 2018 20:47:41 -0700 (PDT) Received: from vitasta (c-174-52-88-123.hsd1.ut.comcast.net. [174.52.88.123]) by smtp.gmail.com with ESMTPSA id e20-v6sm7845606ioc.38.2018.09.01.20.47.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Sep 2018 20:47:40 -0700 (PDT) From: Benjamin Slade Date: Sat, 01 Sep 2018 21:47:38 -0600 Message-ID: <87a7p0h86d.fsf@jnanam.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32611@debbugs.gnu.org --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=xorg-add-transsetdf.patch Content-Transfer-Encoding: quoted-printable 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 =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Kei Kebreau ;;; Copyright =C2=A9 2018 Oleg Pykhalov +;;; Copyright =C2=A9 2018 Benjamin Slade ;;; ;;; 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 simulat= es 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 functionalit= y") + (description "A patched version of X.Org's transset with added functio= nality, +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))) --=-=-= Content-Type: text/plain -- 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 ) --=-=-=--