From patchwork Tue Feb 5 06:13:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Miloradovsky X-Patchwork-Id: 959 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CDF7016B87; Tue, 5 Feb 2019 06:15:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,SINGLE_HEADER_3K, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4BF0816B80 for ; Tue, 5 Feb 2019 06:15:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:54964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqu0g-0002xJ-8n for patchwork@mira.cbaines.net; Tue, 05 Feb 2019 01:15:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqu0d-0002x9-QK for guix-patches@gnu.org; Tue, 05 Feb 2019 01:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqu0c-0002kB-NX for guix-patches@gnu.org; Tue, 05 Feb 2019 01:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqu0c-0002k3-In for guix-patches@gnu.org; Tue, 05 Feb 2019 01:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqu0c-0007Fo-BX for guix-patches@gnu.org; Tue, 05 Feb 2019 01:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34325] A better patch References: <8ebcda0b-9ce1-6c2a-e9d6-5c19f9109e90@interpretmath.pw> In-Reply-To: <8ebcda0b-9ce1-6c2a-e9d6-5c19f9109e90@interpretmath.pw> Resent-From: Andrew Miloradovsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Feb 2019 06:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 34325@debbugs.gnu.org Received: via spool by 34325-submit@debbugs.gnu.org id=B34325.154934724927801 (code B ref 34325); Tue, 05 Feb 2019 06:15:02 +0000 Received: (at 34325) by debbugs.gnu.org; 5 Feb 2019 06:14:09 +0000 Received: from localhost ([127.0.0.1]:59994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqtzj-0007EJ-KX for submit@debbugs.gnu.org; Tue, 05 Feb 2019 01:14:09 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqtzg-0007E9-Jv for 34325@debbugs.gnu.org; Tue, 05 Feb 2019 01:14:06 -0500 X-Originating-IP: 83.220.238.15 Received: from [192.168.42.70] (unknown [83.220.238.15]) (Authenticated sender: andrew@interpretmath.pw) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 34EA31C0004 for <34325@debbugs.gnu.org>; Tue, 5 Feb 2019 06:14:01 +0000 (UTC) From: Andrew Miloradovsky Openpgp: preference=signencrypt Autocrypt: addr=andrew@interpretmath.pw; prefer-encrypt=mutual; keydata= mQINBFg+3V4BEADLfrVu68AKRL40xssnIMe1IDv/UOjfT7ZpB7jZfN++q5hIiXg47xzgP6S1 KCSHWvx+dlZt1Pgf9pu7snsMJxQ2SJkTOJxQvwpDlNaCbZKhuBc3MbdbU7KOwNi4IBtWWGKr WGmqi/nj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AAYkCJQQYAQgADwUCWD7dXgIbDAUJCWYB gAAKCRA1XCWRxXBsi+atEADHAUfi/EXToIo4JvorqCdhAHu5jcmvGTApSdEfoygz3H/v2S9l zJckh17ZicRjo++g97PA4YBb0nr4RwXmgAoyBrfG0WCmH6t8fbwxyBlOmj6YO/N6ck3a5Jsw BArz0VJnKTMC8DJGgTBdU+RiNTOnkRJj5+jfPoWGZhr/zbbH/VVew/lMPId0F2fquVmQEjdF 6g6tMyOT8vIrI0HReKKhMI4GMbgBm0NQ8MZkVJutxp2qCqo13h33NWbuondhqQOh1v9fFlCo M/Q09v/pS+2wXs0mgAOAh6TJDp6QCTcNtF4PBdtjXd6lIsL9veBEStXjFp1AqhgIQHnc7pm4 bu+k5tXv90c0q3PLeCieHFNIzkIIYbwhOVgPh3p4YemccelhP0vycAdoFEQnHUIFIULD3WvI NvWy6i1UQYFX+uPcZ4wv24sdJzSlOdZpcTSK02pJSTKtOYsigN0iI+QFauu3pjWwf+xso4mR Le/GVWNFdlo6ckOJr53roF3pjPnmFavIIiA46KvaBiNi3kp24RZlRZtLH/YjNFig9fKmU+dm 31xw8be0aRd18xnC2xGA+beOFeQXeZaEev7o4r5WiD0kJUEtvHeXeWPz1MH4O4fMPhoLgPgR M5NoP1F3sJBDYBezSW0iXrm7Naie5w7Dra0a0uv3KNyv3dF2mJ/An70VGQ== Message-ID: <709c5237-4465-4cb6-03a8-473b02b086f4@interpretmath.pw> Date: Tue, 5 Feb 2019 06:13:16 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches OK. Managed to build `pre-inst-env` and run `guix lint`, fixed couple minor issues. From 2267b26f8d38fb40e58d62e3e6fcdaff01001384 Mon Sep 17 00:00:00 2001 From: Andrew Miloradovsky Date: Mon, 4 Feb 2019 23:28:23 +0000 Subject: [PATCH] gnu: Add xmagnify Tiny screen magnifier for X11 * gnu/packages/accessibility.scm (xmagnify): New variable. --- gnu/packages/accessibility.scm | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index d399f98f0..44711cdc3 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm @@ -122,3 +122,42 @@ available to help to click.") It works for both single pedal devices and three pedal devices. All supported devices have vendorId:productId = 0c45:7403 or 0c45:7404.") (license license:expat)))) + +(define-public xmagnify + (let ((commit "56da280173e9d0bd7b3769e07ba485cb4db35869") + (revision "0.1.0")) + (package + (name "xmagnify") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/amiloradovsky/magnify.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ngnp5f5zl3v35vhbdyjpymy6mwrs0476fm5nd7dzkba7n841jdh")))) + (inputs `(("libX11" ,libx11) + ("xproto" ,xproto))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags '("CC=gcc") + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda _ + (substitute* + '("Makefile") (("/usr") + (assoc-ref %outputs "out"))) + #t))))) + (home-page "https://gitlab.com/amiloradovsky/magnify") + (synopsis "Tiny screen magnifier for X11") + (description + "Magnifies a screen region by an integer positive factor and +draws the result on a window. Useful as an accessibility tool, which +works with every X Window System based GUI (depends only on libX11); +or as an assistant for graphic designers, who need to select +individual pixels.") + (license license:gpl2+))))