From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0CCHD8wbkWGvgwAAgWs5BA (envelope-from ) for ; Sun, 14 Nov 2021 15:23:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kNEpC8wbkWFdUgAAB5/wlQ (envelope-from ) for ; Sun, 14 Nov 2021 14:23:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DF20915295 for ; Sun, 14 Nov 2021 15:23:07 +0100 (CET) Received: from localhost ([::1]:41368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmGPS-0005LR-Dw for larch@yhetil.org; Sun, 14 Nov 2021 09:23:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmGPO-0005J7-8T for guix-patches@gnu.org; Sun, 14 Nov 2021 09:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmGPO-0004yV-05 for guix-patches@gnu.org; Sun, 14 Nov 2021 09:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmGPN-000775-QX for guix-patches@gnu.org; Sun, 14 Nov 2021 09:23:01 -0500 Subject: bug#51477: [PATCH v2] gnu: Add nsxiv. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 14:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Foo Chuan Wei Cc: 51477-done@debbugs.gnu.org Mail-Followup-To: 51477@debbugs.gnu.org, mail@nicolasgoaziou.fr, chuanwei.foo@hotmail.com Received: via spool by 51477-done@debbugs.gnu.org id=D51477.163689975627293 (code D ref 51477); Sun, 14 Nov 2021 14:23:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636899787; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=4C4cwjz2Im0probM9zp4UOb3J8XhvX3XO4fTjhDm2P8=; b=X3JRGYgLy6r9fTAhSNBQ7XJD9GCqnmGFZs5YsvPIl0eB3xEKrNiccbPv9EVhDy8tha4q08 iIEBUlHc7tP02gZBZ2C6Cyo+5d6bVMgpzlbZrCmsBVONgaA8V99pExGPbf3Qz22XfPTyj2 OZHrakvEWwFw0hs2m8Pp0SkCMWM81JPQ2sTsmcD3l8yjjxIuD88iUOZ7iKCkdtMBtToD8S cYBjMll/LF01Yt6tueiZkfgWrdFLhGzrrkJ5xJOMDuqDN6VSkvrSk9O77l8olyqasGSfvP CP9X0UOjmImknxODCCuTgVKrhAYAh+tvgp2lNz5XfwJ8XfrZpoGRWvgCAlHhGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636899787; a=rsa-sha256; cv=none; b=b3evLyM+4AodloWQpdc3s7bSMpy4RqeZF5ntnIV0T0B7+zZpu3Ijw3yD0ZFV3j3rNNJ4Uq aNWhIK5QTgfW4fLam77umOmLnBehZMxkEUK5dJ1N4OuV7ZDvLh6mqthpV0CJw1FRJV46WT P+i25COFcmleVmJ8tLKYZKuAO7r/KKd1B38LfZAnJYHrlBAnNFweMDtuia+4N15eDcouvT X3Ugum6w15INMV1fWNHt/5peMPwuNnXofcK5vdMmCCIk2awyeHQYdTn7AdNUn0IuCBFCc9 cslIeO2rb5//Rdenh8x2l4fR7NcPZmqMdlYzl8URAGSt3ozJhVQq1p5+hRqnWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DF20915295 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: x3UNHY2e4yax 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