From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CDE8KxxeVWLfnQAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 13:10:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +KCdKBxeVWJBnAAA9RJhRA (envelope-from ) for ; Tue, 12 Apr 2022 13:10:20 +0200 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 004CA1FC48 for ; Tue, 12 Apr 2022 13:10:19 +0200 (CEST) Received: from localhost ([::1]:53662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neEPa-00015K-RE for larch@yhetil.org; Tue, 12 Apr 2022 07:10:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neENO-0005ox-PB for guix-patches@gnu.org; Tue, 12 Apr 2022 07:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neENO-0005PO-BG for guix-patches@gnu.org; Tue, 12 Apr 2022 07:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neENO-0003FQ-4K for guix-patches@gnu.org; Tue, 12 Apr 2022 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54881] gnu: Add ncurses-5, ncurses/tinfo-5. Resent-From: "B. Wilson" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 54881@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164976162512375 (code B ref -1); Tue, 12 Apr 2022 11:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 11:07:05 +0000 Received: from localhost ([127.0.0.1]:47758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neEMN-0003D9-UD for submit@debbugs.gnu.org; Tue, 12 Apr 2022 07:07:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:60566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neEMK-0003Cx-VR for submit@debbugs.gnu.org; Tue, 12 Apr 2022 07:06:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neEMH-0003Ks-Lm for guix-patches@gnu.org; Tue, 12 Apr 2022 07:06:54 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:25534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neEMF-0005DO-Kx for guix-patches@gnu.org; Tue, 12 Apr 2022 07:06:53 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1649761611; h=Content-Type: MIME-Version: Message-Id: Subject: Subject: From: From: To: To: Date: Sender: Sender; bh=F1Bv6qTrdoBi/+FTsfsUFtcRunbMXwT0bQId+pHYY7M=; b=DPwqVc9WDgBV6PD1T320XMWB7NGP/wtrH3QspRf028fqK82jYZZ0OsQE6o8GRPZGm4M3q37N zluGEsC2MqU15UV7vFl2l1z5vgb6lqGV4kNkOshJDDkC2jyVA2eWfWIbf0lRl2ndE5hfLWsk hnnpmWct/Bgh92ueSIHWKDjKWxlCUJWDn+8okdEBBPM1OvclawAY+1ogdUHCwRr5crdBnSlJ mZAaXtxvDNXeFd5n/JSotqiAB9mctOIC6b99vDz+gld9qexA/zoN76IXkuIfQKM+ab5zsA2a BBXEuGGQzgcMMbTVr8OLEclDOs/MRs+lCzVILJJeIQ1YyNcjVEQEQQ== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICIwODU0N2EiXQ== Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 62555d4ac172fc506609efb5 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 12 Apr 2022 11:06:50 GMT Received: from localhost (aj168213.dynamic.ppp.asahi-net.or.jp [220.150.168.213]) by wilsonb.com (Postfix) with ESMTPSA id DF672A0526 for ; Tue, 12 Apr 2022 11:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1649761608; bh=F1Bv6qTrdoBi/+FTsfsUFtcRunbMXwT0bQId+pHYY7M=; h=Date:To:From:Subject:From; b=IjgxH05L451yuIvCBZDoapE7xCVFwh+nn7s14gcamvrtF2i+ic40W+WTJO9n3bBMt u774cn6teIyRD2OHm/rZ9HlWaMfmK35bZNhqnKjApapATbMhSjUypxDsqEWvgu6858 msdaBQC9JsPKG8mX8TZcGuAQZCru87hWcrtXsyv32v/hj9LFND5HFxkl8649E7q2/l thQKYrHQ28QiajAd49dkRkvND9rmNaiC1wZEx8MaprTmlKuUaaeYvMw1tXOUj58LY9 8Ns6sPO5UJhLBxBn6AS9NQB/R9q6CZqDPseNxmWk8EwZ051ZI/X7T4n20d0WfLa36q NuzsDOjLr8ctP4CLGFmX6CAlcXJSkIh+p5EEECDM8sAhZ3434tmAixLFK19ZenNeRq 7ZOr2Ko8GXe2I5oz8kzpOc3RGGI/QBVfYwfjYTk1+WbvheS8sHRSFUGZIAaf7dHtbj Y8gQ2sOF3OXnpvP0Zdap935EfXSWm5AT+NMKHuzcO1jFnW8bwCCbMfeUGtLqOXB9O5 jnG6mS3eGSXUYi5oNa4WM7g8eHb0bhGD0glX7yfP4Mjw2aNK/pVXtFsR9/UfAhWiXX 2uLawMiEIon494WVw+U/yEg5A8Q83Ce1YadSTVl0S5CPBWixv6eblTdzIUf5/1hvL3 V5nHaww8BV8wTEpCG/fBvwi4= Date: Tue, 12 Apr 2022 20:06:45 +0900 Message-Id: <2AOSR0ZNKROP0.2ALNTRXGSLUNC@"@WILSONB.COM> User-Agent: mblaze/1.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_0fbcc8d74dec27ef6faacd46_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, MSGID_MULTIPLE_AT=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Reply-to: "B. Wilson" X-ACL-Warn: , "B. Wilson via Guix-patches" From: "B. Wilson via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649761820; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=F1Bv6qTrdoBi/+FTsfsUFtcRunbMXwT0bQId+pHYY7M=; b=SW1xe7Ce0MbW6BxQH0K49NzIfB0YZ5DwRKDR6zDIAkRKkLUrLjFvbwAMicLO/87wsJJiTz piGXjfYDW3AA5ZerVoTCHYvxyld3NU/ALR3MrxE0FIeE50nDYeNwqfF7nQwycj1Dy2yjkz DOKW0ouxKx+u45uHreWNjUCCKtKsQTCMH9x/PSAFiVEYpGn4z9nfiVbEt5Z6pR3dJg2OIA P2bugwIGP0IsraYYIDLFI9MyfFseHopXc+KMpJ2mTXu8C7LL6yhiPqPMmWgjmOBFfcFzl4 CZgAU2SJ2i33aPAert9Ke8HYaLjTDpJYf9+wL3moQp/WoYojquYRfadjODGV8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649761820; a=rsa-sha256; cv=none; b=Lm8V3+91Olpdk3Rf5YV+vjsSeIFlv9E01t9mhU2EPSzwc46XXYOea4uCJnpYbXMRgH5JZ0 eg4gL3ZYZzpiKwa693iCHiR8Rg6FsomDyVOEV8imwEgBsEGeyKQpZbA+DbvO35PzHSrWhW QCs/Ey83BZTbxcbspAbooVVSQUJw08Nw0HD40N6LwerarHQCuxMveyf9G3yt4GW4VIe/pZ zI8BP0puE2TeLjhjJns+UWBsFlJgQK1bF3XLlghj4107/mexPosUF25GRISAF5pF1+Ap/P 5OhkIctI34fRbTSQH7Cz3rhNR/t5J69SgkMgYea+w8gi0tN4he0dSN0MxKvAdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=DPwqVc9W; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=IjgxH05L; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=DPwqVc9W; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=IjgxH05L; dmarc=pass (policy=none) header.from=gnu.org; 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: 004CA1FC48 X-Spam-Score: -4.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: +fl2kifwentj This is a multipart message in MIME format. ------_=_0fbcc8d74dec27ef6faacd46_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Guix, I have a need to use ncurses-with-tinfo@5. The ncurses package embeds the version string in various places, and even hard-codes the version-major 6 in a couple places, making it impractical to= just create a transformation. Is this patch reasonable? ------_=_0fbcc8d74dec27ef6faacd46_=_ Content-Disposition: attachment; filename*0*=UTF-8''0001-gnu-Add-ncurses-5-ncurses-tinfo-5.patch Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable =46rom 8ed5fceb8b0bcbfc39505b4a74bb7eed93dfdaf9 Mon Sep 17 00:00:00 2001 =46rom: "B. Wilson" =44ate: Tue, 12 Apr 2022 12:09:26 +0900 =53ubject: [PATCH] gnu: Add ncurses-5, ncurses/tinfo-5 =54o: guix-patches@gnu.org =0A* gnu/packages/ncurses.scm (ncurses-5, ncurses/tinfo-5): New varaibles. =2D-- =20gnu/packages/ncurses.scm | 49 ++++++++++++++++++++++++++++++---------- =201 file changed, 37 insertions(+), 12 deletions(-) =0Adiff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm =69ndex 5b00da25bb..afca7b0208 100644 =2D-- a/gnu/packages/ncurses.scm =2B++ b/gnu/packages/ncurses.scm =40@ -39,18 +39,19 @@ (define-module (gnu packages ncurses) =20 #:use-module (guix utils) =20 #:use-module (ice-9 match)) =20= =2D(define-public ncurses =2B(define* (make-ncurses-package #:key =2B version =2B source-hash =2B rollup-patch-hash) =20 (package =20 (name "ncurses") =2D (version "6.2.20210619") =2B (version version) =20 (source (origin =20 (method url-fetch) =20 (uri (string-append "mirror://gnu/ncurses/ncurses-" =20 (version-major+minor version) =20 ".tar.gz")) =2D (sha256 =2D (base32 =2D "17bcm2z1rdx5gmzj5fb8cp7f28aw5b4g2z4qvvqg3yg0fq66wc1h"))= =29) =2B (sha256 (base32 source-hash)))) =20 (build-system gnu-build-system) =20 (outputs '("out" =20 "doc")) ;1 MiB of man pages =40@ -130,10 +131,12 @@ (define lib.a =20 (string-append "lib" lib ".a")) =20= =20 ,@(if (not (target-mingw?)) =2D '((define libw.so.x =2D (string-append "lib" lib "w.so.= =36")) =2B `((define libw.so.x =2B (string-append "lib" lib "w.so.= =22 =2B ,(version-major = =76ersion))) =20 (define lib.so.x =2D (string-append "lib" lib ".so.6= =22)) =2B (string-append "lib" lib ".so."= =0A+ ,(version-major= =20version))) =20 (define lib.so =20 (string-append "lib" lib ".so")= =29 =20 (define packagew.pc =40@ -192,7 +195,9 @@ (define package.pc =20 "cf_cv_ld_searchpath=3D/no-ld-searchpath" =20= =20 ;; MinGW: Use term-driver created for the MinGW port. =2D ,@(if (target-mingw?) '("--enable-term-driver") '())))) =2B ,@(if (target-mingw?) '("--enable-term-driver") '()) =2B =2B ,@extra-configure-flags))) =20 #:tests? #f ; no "check" target =20 #:phases (modify-phases %standard-phases =20 (add-after 'unpack 'apply-rollup-patch =40@ -216,9 +221,7 @@ (define package.pc =20 (string-append "https://invisible-mirror.net/archives= =22 =20 "/ncurses/" major "." minor "/ncurses-= =22 =20 major "." minor "-" point "-patch.sh.b= =7A2")))) =2D (sha256 =2D (base32 =2D "1b6522cvi4066bgh9lp93q8lk93zcjjssvnw1512z447xvazy2y6")))) =2B (sha256 (base32 rollup-patch-hash)))) =20 ("pkg-config" ,pkg-config))) =20 (native-search-paths =20 (list (search-path-specification =40@ -234,6 +237,18 @@ (define package.pc =20 (license x11) =20 (home-page "https://www.gnu.org/software/ncurses/"))) =20= =2B(define-public ncurses =2B (make-ncurses-package =2B #:version "6.2.20210619" =2B #:source-hash "17bcm2z1rdx5gmzj5fb8cp7f28aw5b4g2z4qvvqg3yg0fq66wc1h"= =0A+ #:rollup-patch-hash "1b6522cvi4066bgh9lp93q8lk93zcjjssvnw1512z447xv= =61zy2y6")) =2B =2B(define-public ncurses-5 =2B (make-ncurses-package =2B #:version "5.9.20141206" =2B #:source-hash "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh"= =0A+ #:rollup-patch-hash "16ny892yhimy6r4mmsgw3rcl0i15570ifn9c54g1ndyrk7= =6Bpmlgs")) =2B =20(define-public ncurses/gpm =20 (package/inherit ncurses =20 (name "ncurses-with-gpm") =40@ -258,6 +273,16 @@ (define-public ncurses/tinfo =20 `(cons "--with-termlib=3Dtinfo" =20 ,cf)))))) =20= =2B;; Consider merging into ncurses for next core-updates cycle. =2B(define-public ncurses/tinfo-5 =2B (package/inherit ncurses-5 =2B (name "ncurses-with-tinfo") =2B (arguments =2B (substitute-keyword-arguments (package-arguments ncurses-5) =2B ((#:configure-flags cf) =2B `(cons "--with-termlib=3Dtinfo" =2B ,cf)))))) =2B =20(define-public dialog =20 (package =20 (name "dialog") =2D-=20 =32.35.1 =0A= ------_=_0fbcc8d74dec27ef6faacd46_=_--