From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 29 05:31:13 2021 Received: (at submit) by debbugs.gnu.org; 29 Oct 2021 09:31:13 +0000 Received: from localhost ([127.0.0.1]:54001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgOED-0006ew-1H for submit@debbugs.gnu.org; Fri, 29 Oct 2021 05:31:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:41486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgOE9-0006el-07 for submit@debbugs.gnu.org; Fri, 29 Oct 2021 05:31:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgOE8-00007f-Nn for guix-patches@gnu.org; Fri, 29 Oct 2021 05:31:08 -0400 Received: from mail-oln040092253020.outbound.protection.outlook.com ([40.92.253.20]:11520 helo=APC01-SG2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgOE1-0002yq-MY for guix-patches@gnu.org; Fri, 29 Oct 2021 05:31:07 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=np9qm9oJziWPwluFQZre72gystdKi8HnkawGhZoJPQ8+yPktoxdRGQjhngNmNDll5jqJ3t7yYunhX3i6dCznJedC6TAAuEPIYRhzSzq12oXfuzkzrxO2suiPK9E853FubaqSM4a4oD7koL55AqunWnWc4xz1MxtbEFGjJ76A3ZXBTXTpjSqpaZ04ZChJ3Rvd1FzEoJo5IujLZn5D845m/fjBXJERQCXHUDD1tvFGkvoeUcqTV+eWHp3z7CShyD0XghY23GUR/yOeMVF51Vh5SiiepDIw4xuWXQB3zRQAoKbu+j1yugNFOxV9Z1lgoJA8S+Q4t5QN+bBNhpF5RRH4sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hbfwOQR7O0hD439DzMw7IeB6KWWuwsZ5ApK0pIYfQSA=; b=bkErnwrhmZvZyI5BXJ0JOMcAofxCv2crrI7jq8wEv4Xj5BrE2SyMzBzLybw+wfOYWFLJZtIgzwRp0xZVRRy7+XOMNCLoo33+Bdrgxqr9dqTKNRSvDHtOMUr/q+hieLVmAGW+NEo0rZRyRs8+ebSIjpZa4XFgAGIhgcdsqrHWQzZgjVMmoUkn++EAL7TuIzxvO195D2qIgUNuDer1gb3RKvvd/jFIjz8tDWcqUHtgPViuKf2xPbRjhKwtMxOu63RyVBC+V8P20oyi8sgRe7SDWe0v6GUNT87A1c8jwG1u6QVrLOZgOapwfeJTPxZngpc+M4JhqD2xBxXD6kGx8wFmaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hbfwOQR7O0hD439DzMw7IeB6KWWuwsZ5ApK0pIYfQSA=; b=EjSAP1wh0Qz8sXruutaexWJF3Oo4fxtoKMDP4CzoiVtXNu1IKJDMDpFLPu38zc2/mWpMCQdqXLlbbiacYKAE2m4z6Ra/cdOWS4G7kH2W9FEZ4AEiqHn03fswm/QcJi2Edn903L29e7HpHbRnjd1GPKhVfAM4TtI523CkQt6XX6lJD+2CJugvKAMeIAS3kNi7gmZ88lzjV9/FFwd2D2pS7PwW7Ue8acy7BPtZKe9PwDyoqs9hZcleMef7d+A4BwJu8fYmW3eBAy9ROUolQ15ZRR1SXw0yT6Q0O3TpfM5a6CkJYIG533WdoEOTVfB3UbcMV9lUJOhYKiAMQY4NK8DYUw== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2232.apcprd01.prod.exchangelabs.com (2603:1096:300:38::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Fri, 29 Oct 2021 09:30:56 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015%6]) with mapi id 15.20.4628.020; Fri, 29 Oct 2021 09:30:56 +0000 Date: Fri, 29 Oct 2021 09:30:52 +0000 From: Foo Chuan Wei To: guix-patches@gnu.org Subject: [PATCH] gnu: Add nsxiv Message-ID: Mail-Followup-To: guix-patches@gnu.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-TMN: [MBe2CcnPHwaCeiFYTYAAw/sFAVUfXe5o+hGd13zCvEI=] X-ClientProxiedBy: HK2PR02CA0197.apcprd02.prod.outlook.com (2603:1096:201:21::33) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211029093052.7trj5k2k2ek5hrlk@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (119.160.168.152) by HK2PR02CA0197.apcprd02.prod.outlook.com (2603:1096:201:21::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13 via Frontend Transport; Fri, 29 Oct 2021 09:30:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 78bbbafa-578a-4cbe-fbf7-08d99abecf32 X-MS-TrafficTypeDiagnostic: PS2PR01MB2232: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0DyDcmxPiz8Dtirs1hNrQavQZj5F1dm7ub+u/IMD4nZHtVeK3++nj+f9tLjEzr8OitfPITr1YD4p/4dJv5r6QuqnO87CJIP1f6HzHYBi8Y41eBF9kuFZJUfiTnQz2lJh+BMJ5gJ03gJYeQkrdY82uTSgCLwwg/c5NKVWHSiZB92UmcJ2WDnpOYqWcxacOeSe5kMFx7KJLu5/Pxy3sWLN14h4g3xUXGog3nEN6K+F7Mnqpa6KsWmxxHsessK7UDo13d3WGQpqgqWyMimxr2U4Wo3bhNNi1SjF7Gw74zmkcPeAnEzAiLH62d9AGnVToiKAyVVkitvBT2DuniXBeinWwGtqYvUK1vTrNGxCs0hElPX6W7Vlx/Dn9td6UDcG2WM5+balxECXk2RrRbWUhdkcQbp0vgocKwszIEMVCztq5iON/lr3p4GyT3v3JRvdO8isBArYYqqOzJqOAZcNxVokDEQpKEepD/YkCEoKPiGxR6kI43EvJ+sIw824m96avocBLjxHkHTLyoieRQkMlnlIknktXDSDOGqq5Wcm9IS/XTGPJIoxHGyR18sQAjG4m8OlT7BpfQPlEZGQx7cg/evdGw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lqK32j2V8wR7GgjWKD1USdgwl8hi9A9wnO/apYh9T8/ah4YWKLvCvJ3IujZc2FPm1EpkIQiCBdN+3ByvLAK1BFAVy0Gky2MYTm5NXX7RZpIuQ0CnwL8SYw4zmuv7dUfi/ZJB+Z10Ge5HROS0HQhtnEPYtYCHc/tyQtAs8ZbVGt32BJFrwnYwaNRZpCQ3UbLb7JgsUK4+vdOdJmzGlM+AzmU3wiOBL3UgqB3ahRBhie53IHg/6JQpe0GILvQwXsmNr9tGhD88hY2AfOBo2xD6Sv3Hp5DatABNSvfbJtDFB/8MQ1M425plB/uqWE9yUYCTvg7P15rYWuo6ceVlyFgEAsQPHcCLwG+CEh81dz3OVKr22Bq+c/drtUnDUrjTz7tc8Iy1NTg76yNoUUA9DaVOc+J02ewS1wcHicfxfb/lM4KStjbQQoykXOh33HoT+IhogCwbUUOYo5NzL6FFcYR3kN2NrLC9WHhMGO8qyyUirEzQtibk7sY0ubwbhtv0qe7rO47biC1OWZeC1WDN5ZlTBwoB6/06ZrgZhLPXt10dPZl1ZYkihU6ANJmJOraAq6u+oPvTpFsu+YI+QS+cVyeCz4KAHgqGug0b9oDaq9PE08KDi/xeo8R7/Cambn/8+NcR81zU5TOWBf6UZ6atvsBqKxy3/AqauarXQh4WSVhU55+W0S7wO3ePfbS2Qo/3v1eadD2S67bDuToews+OflOMJw== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 78bbbafa-578a-4cbe-fbf7-08d99abecf32 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 09:30:56.4502 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2232 Received-SPF: pass client-ip=40.92.253.20; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-SG2-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/image-viewers.scm (nsxiv): New variable. --- gnu/packages/image-viewers.scm | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 4f87b63ca1..1799642cbb 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 jgart ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -417,6 +418,60 @@ base should be kept small and clean to make it easy for you to dig into it and customize it for your needs.") (license license:gpl2+))) +(define-public nsxiv + (package + (name "nsxiv") + (version "27.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nsxiv/nsxiv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1na7f0hpc9g04nm7991gzaqr5gkj08n2azx833hgxcm2w1pnn1bk")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:make-flags + (list (string-append "PREFIX=" %output) + (string-append "CC=" ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-after 'unpack 'fix-libXft-path + (lambda _ + ;; Xft.h #includes without ‘freetype2/’. The Makefile + ;; works around this by hard-coding /usr/include & $PREFIX. + (substitute* "Makefile" + (("-I/usr/include/freetype2 -I\\$\\(PREFIX\\)/include/freetype2") + (string-append "-I" (assoc-ref %build-inputs "freetype") + "/include/freetype2"))))) + (add-after 'install 'install-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (install-file "nsxiv.desktop" + (string-append (assoc-ref outputs "out") + "/share/applications")))) + (add-after 'install 'install-icons + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "-C" "icon" "install" make-flags)))))) + (inputs + `(("freetype" ,freetype) + ("giflib" ,giflib) + ("imlib2" ,imlib2) + ("libexif" ,libexif) + ("libx11" ,libx11) + ("libxft" ,libxft))) + (home-page "https://github.com/nsxiv/nsxiv") + (synopsis "Neo Simple X Image Viewer") + (description + "nsxiv is a fork of sxiv. Its primary goal is to provide the most basic +features required for fast image viewing. It has vi key bindings and works +nicely with tiling window managers. Its code base should be kept small an +clean to make it easy for you to dig into it and customize it for your needs.") + (license license:gpl2+))) + (define-public viewnior (package (name "viewnior") base-commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675 -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 05:11:47 2021 Received: (at 51477) by debbugs.gnu.org; 31 Oct 2021 09:11:47 +0000 Received: from localhost ([127.0.0.1]:58983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mh6sV-0008I6-JV for submit@debbugs.gnu.org; Sun, 31 Oct 2021 05:11:47 -0400 Received: from mail-oln040092255083.outbound.protection.outlook.com ([40.92.255.83]:36503 helo=APC01-HK2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mh6sU-0008Ht-0D for 51477@debbugs.gnu.org; Sun, 31 Oct 2021 05:11:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FMpmbeT1f55sigpGLQfB5P8LB2BMNbPVmdxaiOE9C+XIyDW2en0gxpLLcyygTKevb90NxVexlx5VFcpf1EwTbVSo3zhyiLvWSFWwb0OmNDlmU+CKAakneZyKDTvO4mRk+R0kNa+zt0ljJUYF/DTWqpFsosz53r71dp/ONxlAqWHW2mEOh+FNgSyKj88qcXiDn5DvAupwHoVxg7Ctzpq7Q92apDa+vkWoiL601XsODFMCmf5Q1uroT4tC5smKhEm+pwKBgrkmkagb+9e6p2Uzi4MgrvDJBrz500v+uq29hWYvTGBIuHrHIhcMGIY3NzFGuFWDw7tMnkxZ3zaIoh+qUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nZf5PL9oEYEfWrSyYhGeSS2jerBQ5n48kj98CFyquCE=; b=eWx4tb5cBi1PCtEvSDEaAkhVSgjZFVXRi9X4+gW8ufMkkgVdIGGzbu30rjdNJsCLGbfiIcOkuu4HrzTQJiCJnx48WtUQey6Pcuenam2HNYXV96zvtlJOV5RBajpnxu7Vt4968MsdbMv9MMfnTYQ4UAqYbt4ep8umm8WxOiZa7IYxtGE2nHVw+z8GDpn0PqUNtZ+wt8IHA2+kgreQ0ccXel7ecFfLNJIpWDhcfiJ6hhKn9vBb+iIXiu/iqkCd9wdmRF4pePEKOaw1afjEpIfxhbqB3erDcmqZF2LYMkPohH4HT0RfSWDCW4wGXMWxSU7xC+AguBzv/Je8IBfGhCPVJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nZf5PL9oEYEfWrSyYhGeSS2jerBQ5n48kj98CFyquCE=; b=fkss6vaWFPYcdR6DwjzDIQR2uK3bk6207Vtw8bN9XbNSeuUoUZzV1fTYIlt2R8hmN2YGYlppBVufsxmBuShxCQLaz+FYXojMUDCucLpAr4hbbGf4WgUlkXOFZaSO1eMWzjuzVuswkmO7LlCSTdCeVT49C376dzZT+4nPOgTEko0rDSAujrfdCIqdBXvTFl5pivcfVBiV+zOgVtn9ciKK5QKohonxpatqIGxUlwgF2Uxjr5FDfGDCHhJ9dk8wdsfPJQMoCgtphtoNvZSWDsUjUN5mwzqYMSLf5Y0CqyCiCPYM1MvMXGab8wm2eRrE5MsGZY69yeF4rS6D2xxZFJ8i+Q== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PSAPR01MB3958.apcprd01.prod.exchangelabs.com (2603:1096:301:4b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.19; Sun, 31 Oct 2021 09:11:38 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015%6]) with mapi id 15.20.4649.019; Sun, 31 Oct 2021 09:11:37 +0000 Date: Sun, 31 Oct 2021 09:11:29 +0000 From: Foo Chuan Wei To: 51477@debbugs.gnu.org Subject: [PATCH v2] gnu: Add nsxiv. Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-TMN: [z6ErVRj7DKukThuDJuVc6wiRT95VyM7z] X-ClientProxiedBy: HK2P15301CA0005.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::15) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211031091129.gpxrg7jmaxak3hx2@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (118.103.255.21) by HK2P15301CA0005.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.2 via Frontend Transport; Sun, 31 Oct 2021 09:11:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4024b6f0-e074-4f51-bebd-08d99c4e6f0e X-MS-TrafficTypeDiagnostic: PSAPR01MB3958: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VboiGowZdlYQH4WaTaEj2iwqvFNsUJVw15Cff8QbC7QX2B1zYXtVObIjqEnW5l5T0HU++bJxGBaJahAi8lPZlseo8rDKFXXM628yl7D2fFpRoxLnqrbS9jOfl0cBmg7R/6QpkIUr0IGksBrx5LTg9eDtGC/lfVHp8Xy6pe4iZ8m+Y7kA8rvU9+3+2O9lbCygwliNoRf+bylJcTFs0OZQjQMR719hxWsq/TyXUh5FBkNbfy55iBzhtQ7qKf7SiH+X1Y6pSMPpY+4vaKYOsq2Wqny3Ov63CuKYQteDA9wN5TCjA/fdaR+E29pq6Vi1dyFEjYvnHSBpW3KYSw8+wtWFNL28jYTSB05H/M0WW9v0FYj/qCVXeNZsA1a0cSJO9+7WEdKrtE+cGjcFgWmSg0kBXnAKTQQ5ZqZwCgfpMzV4RBvKBicVwwFp8jirBsb0KjrYx07MNYRzfHwxGtLQ2+a2swRE9ZoGwEvErNzB06XaBxIACU8+bhAjCrL5fEIjub0FRZZhLuU8JS0yfAPL/kr6cPsmufJjj44iUSBr+LPG4+BhRviclyhAo/5iUF1SDPM/hAdFG+bLuVYFz8G2GgpgKw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HGPsHB7L75xV1R73p9ZAHWv7O6Gwb/sU6Rro6L57mvemlopOn6v5g1xiGS4RXJTH0EjnmLKZ1u4v9paKQl/yXjLkdo4VJg4nAQDR+mIvTO3/4aRwPSsPqGxC9DO+2I/99AvbsYKhAqPxbvvMIo7Nvh7S13RhR57FsfA0d6v/kxUWIwql0ab0R338dbJEfpLCaRSVC7RrgOgg1bJuWTX0YCbSHwc9GKsJoorHyCe2xPW5Paj4AuLUx4cppaKSR5TJefaqez2hNHaUHRJCxMcZCBqMbrtE6ryn7XYywBIRLHEH/Lego9ByGpOKjpvu/eGHrL0KsIT0y2RLEjEOqun+jZnxT8KUwhks93g4bhjdz4P7bv+eQ6BVtDuonrFBe9zwoMiC3iOwuInmkUF7Q+qNuj3M1qst+M/Zp5eVExWRUXwMY9lYYeiA5ScgKsiTLX4m9AiA8kGLd7pSsDNqF3VK0ccdpMl2D1KXDrJw3NJ2YM0ikl80ImxVl/WIgJRKnbQHcC5KnUfDVbAfzz4SmOZvLtKKoGzM4baEIW5AbOkTeMFiqVGJQU3tVnTqSJeqQnPi4f1AvLiE8zOquPtCULav9FwtxT5Xr6DYCOui9Ql3OnvWRDIGGqstvM/NwlBodGU/3NHUC1k5qT1FLk09eNzYjLH7PvZsH6LmsaNaq115x2NVyycVb7Zl5rBwEwUgVxhuaW1wiCD2d6gZIE62pnJQig== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 4024b6f0-e074-4f51-bebd-08d99c4e6f0e X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2021 09:11:37.0284 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR01MB3958 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51477 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/image-viewers.scm (nsxiv): New variable. --- gnu/packages/image-viewers.scm | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 4f87b63ca1..8e34ce1608 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -417,6 +417,60 @@ base should be kept small and clean to make it easy for you to dig into it and customize it for your needs.") (license license:gpl2+))) +(define-public nsxiv + (package + (name "nsxiv") + (version "27.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nsxiv/nsxiv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1na7f0hpc9g04nm7991gzaqr5gkj08n2azx833hgxcm2w1pnn1bk")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:make-flags + (list (string-append "PREFIX=" %output) + (string-append "CC=" ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-after 'unpack 'fix-paths + (lambda _ + ;; Xft.h #includes without ‘freetype2/’. The Makefile + ;; works around this by hard-coding /usr/include & $PREFIX. + (substitute* "Makefile" + (("-I/usr/include/freetype2 -I\\$\\(PREFIX\\)/include/freetype2") + (string-append "-I" (assoc-ref %build-inputs "freetype") + "/include/freetype2"))))) + (add-after 'install 'install-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (install-file "nsxiv.desktop" + (string-append (assoc-ref outputs "out") + "/share/applications")))) + (add-after 'install 'install-icons + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "-C" "icon" "install" make-flags)))))) + (inputs + `(("freetype" ,freetype) + ("giflib" ,giflib) + ("imlib2" ,imlib2) + ("libexif" ,libexif) + ("libx11" ,libx11) + ("libxft" ,libxft))) + (home-page "https://github.com/nsxiv/nsxiv") + (synopsis "Neo Simple X Image Viewer") + (description + "nsxiv is a fork of sxiv. Its primary goal is to provide the most basic +features required for fast image viewing. It has vi key bindings and works +nicely with tiling window managers. Its code base should be kept small and +clean to make it easy for you to dig into it and customize it for your needs.") + (license license:gpl2+))) + (define-public viewnior (package (name "viewnior") base-commit: 9f2c5e901e988b575d487629976d2d14be4ed61d -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 14 09:22:36 2021 Received: (at 51477-done) by debbugs.gnu.org; 14 Nov 2021 14:22:36 +0000 Received: from localhost ([127.0.0.1]:49544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmGOy-000769-4l for submit@debbugs.gnu.org; Sun, 14 Nov 2021 09:22:36 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmGOv-00075o-In for 51477-done@debbugs.gnu.org; Sun, 14 Nov 2021 09:22:34 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E70EB6000A; Sun, 14 Nov 2021 14:22:26 +0000 (UTC) From: Nicolas Goaziou To: Foo Chuan Wei Subject: Re: [bug#51477] [PATCH v2] gnu: Add nsxiv. References: Date: Sun, 14 Nov 2021 15:22:19 +0100 In-Reply-To: (Foo Chuan Wei's message of "Sun, 31 Oct 2021 09:11:29 +0000") Message-ID: <87o86mkeas.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51477-done Cc: 51477-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Foo Chuan Wei writes: > * gnu/packages/image-viewers.scm (nsxiv): New variable. Thank you. Applied with the following changes: > + (add-after 'unpack 'fix-paths > + (lambda _ > + ;; Xft.h #includes without =E2=80=98freetype2/= =E2=80=99. The Makefile > + ;; works around this by hard-coding /usr/include & $PREFIX. > + (substitute* "Makefile" > + (("-I/usr/include/freetype2 -I\\$\\(PREFIX\\)/include/fre= etype2") > + (string-append "-I" (assoc-ref %build-inputs "freetype") > + "/include/freetype2"))))) I used the code below instead: (lambda* (#:key inputs #:allow-other-keys) (let ((freetype (string-append (assoc-ref inputs "freetype") "/include/freetype2"))) (substitute* "Makefile" (("-I/usr/include/freetype2 -I\\$\\(PREFIX\\)/include/freetype2") (string-append "-I" freetype))))) > + (description > + "nsxiv is a fork of sxiv. Its primary goal is to provide the most b= asic > +features required for fast image viewing. It has vi key bindings and wor= ks > +nicely with tiling window managers. Its code base should be kept small a= nd > +clean to make it easy for you to dig into it and customize it for > your needs.") I added two spaces at the end of sentences, per Texinfo syntax. Regards, --=20 Nicolas Goaziou From unknown Tue Aug 19 10:03:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 13 Dec 2021 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator