From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EPyiKHVu9WCKNAAAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 14:22:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2J1qJHVu9WC3KgAA1q6Kng (envelope-from ) for ; Mon, 19 Jul 2021 12:22:13 +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 EA9DB113E4 for ; Mon, 19 Jul 2021 14:22:12 +0200 (CEST) Received: from localhost ([::1]:60322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5SHk-0007zh-2p for larch@yhetil.org; Mon, 19 Jul 2021 08:22:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5SHa-0007wh-PP for guix-patches@gnu.org; Mon, 19 Jul 2021 08:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5SHa-0000CZ-GB for guix-patches@gnu.org; Mon, 19 Jul 2021 08:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5SHa-0001cg-8t for guix-patches@gnu.org; Mon, 19 Jul 2021 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49641] [PATCH] gnu: Add drawterm. Resent-From: iyzsong@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jul 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49641@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16266973076211 (code B ref -1); Mon, 19 Jul 2021 12:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2021 12:21:47 +0000 Received: from localhost ([127.0.0.1]:58249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5SHH-0001c3-Jr for submit@debbugs.gnu.org; Mon, 19 Jul 2021 08:21:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:46888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5SHA-0001bq-22 for submit@debbugs.gnu.org; Mon, 19 Jul 2021 08:21:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5SH9-0007K3-Oi for guix-patches@gnu.org; Mon, 19 Jul 2021 08:21:35 -0400 Received: from mail-pu1apc01olkn0816.outbound.protection.outlook.com ([2a01:111:f400:febe::816]:25692 helo=APC01-PU1-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 1m5SH7-0008Lz-C4 for guix-patches@gnu.org; Mon, 19 Jul 2021 08:21:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cvIYbKDKvWE9TgiNEpaHrrIw92wk14QLe1h0KhRLIbIw/Ij53WklzMt1kIcJakS/qwsP9wnc0VDoBb1CdiiiwiO/8F+xY2AcjjgdhNGpcPKSrbjHAQ/Jv6bHYLdbyHqIxQWFu4M2bIpWihqsdH6XfUAft2rdOlZ2JOEvIst54WPTZaCnHeMPvR/YecR/bIjGhxYrno/mp3mo449AffVNXymDFETmiYsXuL+aLfq4WbVuai9MBYYzTX1umKTJOoYJXXsiG6kHWF/JZM8jyg4qX67lxPfj9Q8Z633yZs3m2JwbPSE3q17O29t7aQbRaWyJvGAGJAIXw+mcDNtdMojHvA== 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-SenderADCheck; bh=B7jOmkoes1RRaKRXHQi6FC6aBescDTc8L7aq+/Xarag=; b=jsGaD/KZXrfmwhq9yH0mCGQYpCHL2XkGTJus5IORipw+m3gntCP01REAe9PGsUS6VJbLNQkLwMRGCyDjIDd0guSQ2aHJXDSOHCh56KZED5Tle6DSxMevaxHIVzRfID0jDimcbeIP+8p7HVeX1oPZMB5rtir83py4S9hcE6BIjmfY7h9xGPAOzIFhS6yGOjFtNGbyDxm5p5XwdFEfppXNFThSG80mf9zNe3Gdp4ZY7ml5bJNLhM4lE+kCotvkUdebvo4sKLw8+T5wTHlMhDVEyYHQ8pLMpKukVYFZ1DRyGnmuX9AUyE1NlI8+yHI9GJTkV9wO19921JCk7kd76Vl9Bw== 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=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B7jOmkoes1RRaKRXHQi6FC6aBescDTc8L7aq+/Xarag=; b=c0RTAmrHAzGDqh8kSD0l+4y3HgPBzZ4ElfQxadqYr8XgAPVUZHYZjqvns1/cyfpnnQDGAX7UmpK+mPScwVZHlAyFSbYGYwKotvwQyt0RmulFQeD2Ujjn01ajPeYFSpe6jczR9Y7c8uGkRBwDCADNoCMfXeKdgDINJYTW6ao+5/bwWDIGUc+GnQPdXIJhYS++1vHIY7wl5oyVSaK7/EYPIaWAnMd6OX6LDKFz8ABVKNOSeUmUqhTH03iYdWGOrvFz/6oRKY0m6tNQnfNaf0I99PNMpepR2txitrjVQrgSbIhysn4Ii9+ZO0b1Isee1WSO8MkctarmVyeYy+oXiySMXw== Received: from HK2PR02CA0137.apcprd02.prod.outlook.com (2603:1096:202:16::21) by KL1PR0601MB3654.apcprd06.prod.outlook.com (2603:1096:820:1c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.29; Mon, 19 Jul 2021 12:16:24 +0000 Received: from HK2APC01FT062.eop-APC01.prod.protection.outlook.com (2603:1096:202:16:cafe::12) by HK2PR02CA0137.outlook.office365.com (2603:1096:202:16::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 12:16:24 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2a01:111:e400:7ebc::49) by HK2APC01FT062.mail.protection.outlook.com (2a01:111:e400:7ebc::449) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 12:16:24 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:2DA1405FE14243830BDE430C20C0D7AB236F70CD1CCC56CE5CF61145FC4E8EF6; UpperCasedChecksum:6BDC8478050B9048A0452E67E0983980D31887E8D0C3272D2CDDEE3177D5B949; SizeAsReceived:8469; Count:45 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::a54b:dcbe:14cd:91e0]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::a54b:dcbe:14cd:91e0%9]) with mapi id 15.20.4331.032; Mon, 19 Jul 2021 12:16:24 +0000 From: iyzsong@outlook.com Date: Mon, 19 Jul 2021 20:16:42 +0800 Message-ID: X-Mailer: git-send-email 2.31.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [r/0KT/xd4c80HldykJuTMtyuUom4EomgKL88Yjzv2JURx8GpKSW5g11d11g6w4OI] X-ClientProxiedBy: HK2PR02CA0172.apcprd02.prod.outlook.com (2603:1096:201:1f::32) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <20210719121642.6469-1-iyzsong@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (240e:399:332:9710:2f1:f5ff:fe18:6bb) by HK2PR02CA0172.apcprd02.prod.outlook.com (2603:1096:201:1f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Mon, 19 Jul 2021 12:16:23 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b7084ab0-9245-4e2d-392b-08d94aaf06c6 X-MS-TrafficTypeDiagnostic: KL1PR0601MB3654: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IsqIHUd1BH0e25HelwxYZUcZdB8mQ987x7SBIU/hCpU24EgtydupvHyoz5GPb6N5slBWs+ubcOsOCvSS3vj9mqusnoYngnRJsL8WiGowvHWCz+ir1WYdbwVH+W25VkJbcsNYjJryn3g0Lq6cQkBNwslj7IaBqo1USQLBkq8HKMQW0kkUedF1HyIU9zrRLNQvj8xlgu52tHJXYU9+5GKKdUOZLH1a6cZ0dWTzD7whM225L1ZlnpUahLpVXsCnXDHNt+bwCzby37L/QMGmCt9vPsyXpj4U/r87UJ9zROgXSvBzxsvRZz9rV4Y2u42f0wT/bHSXAHYK0Ew72CItBoRQi3XVOm9bLPy2+hyJdkZAaqqb9QAkGCUrJYCa+0b2SOhFf6L/4qeXxsR+mm64UoPbe2wjtdAFHTwzVrWucxNFy1JFKMB0R3RMTSWOXujs9c4e25fpv9BJcJ5rfy6GZNKW+wiTRbdoUVyL4GOoHT15OAQ= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JY1rQUKz69jKMoY8U2QSuR71pJDJJp+0rsvDeHUGKBfC5SBWxO8vpBD/aFYBYiOLOo8v7x16mSa/xfFioL8uOMEsEk8RhOWwz/2cn4xjbVI/Uj8ZHneKhV4xQWe84nAD9o3MwnjidjaO4MaP/ug5O7wgYGpb8FX3a4mv/5b3a2BDpwVaTMbJJvrxxq9vY+qjYiKzQM5aJk4NlNj/L68Sog== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7084ab0-9245-4e2d-392b-08d94aaf06c6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 12:16:24.5461 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HK2APC01FT062.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB3654 Received-SPF: pass client-ip=2a01:111:f400:febe::816; envelope-from=iyzsong@outlook.com; helo=APC01-PU1-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626697333; 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-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=B7jOmkoes1RRaKRXHQi6FC6aBescDTc8L7aq+/Xarag=; b=Cl25fgCpHF943atGpOMUCBphCmbrhuhrC6jPx328mhpKFkxMCpY7nPar3xTMlq79rT74vj ZpRZpkFBN9SvwovziYJ984Bx3F+Uvup2m+VfPp/Fzffe1+t49OIqDpy1Xkdt8ah7bwG0nP +JnFXgYmG0PmQet/u+xS+SoY8oNDlDSI9ZStVqu1d1OCvm6TM7Jg5fTuDRR4ya11cqWVtU OVIAL6LMQqqEC9PlAiTppOwBBVzgqdqHN5lKlx7+W1u4pD8TBaWzu9E9BO0agPrdvsFPs9 XTKqUI4VGjk4unbvUY9/tQ7F3vxrJqN4qkwWv2MBPtYgsGAxL47gKfsSr8crMw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1626697333; a=rsa-sha256; cv=fail; b=jWKhJlr8d/l0sEvgyA6f4VzjmieDAkm9oRiDrW6nJESIDu52E+HjFprtgiEpasup1kXOH7 Bl6es/sr24Ht6usWiJFgbs424PNZAu1Y+0UxWqnzGUqjM6KFJ7BoAChQ5C+oiBJdpEgaqM VW4OyfmEzG5Wa0yc3kYShWKgCi1GvMM4DyFG+hqHvb4sy0qUhiTbmTTm9xy6Ducq2r5LzL h2ypPhTuC0GQ/b0F3vwTr5VTSm1ba589Wo8y/qvdRf/K0HV7qrJOkWvq2eQcM1OP8QMPAO vrAFXai7CGY+Fg1wkhOMxZ1KSKRnQNbZUoxcAZDFLKWiyQBBPuMfhq78zbtdXw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=c0RTAmrH; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=c0RTAmrH; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA9DB113E4 X-Spam-Score: 0.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: nv+CY0I7dwQD From: 宋文武 * gnu/packages/plan9.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/plan9.scm | 66 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 gnu/packages/plan9.scm diff --git a/gnu/local.mk b/gnu/local.mk index 62a5e41a46..e94f467e40 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -450,6 +450,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/php.scm \ %D%/packages/piet.scm \ %D%/packages/pkg-config.scm \ + %D%/packages/plan9.scm \ %D%/packages/plotutils.scm \ %D%/packages/poedit.scm \ %D%/packages/polkit.scm \ diff --git a/gnu/packages/plan9.scm b/gnu/packages/plan9.scm new file mode 100644 index 0000000000..e306e04d85 --- /dev/null +++ b/gnu/packages/plan9.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 宋文武 +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages plan9) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages xorg)) + +(define-public drawterm + (let ((revision "1") + (commit "c97fe4693f6112504d6f13fab46f7cc8b27685c1")) + (package + (name "drawterm") + (version (git-version "20210628" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.9front.org/plan9front/drawterm") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "059sl60ap6c9lz8k91k6bd34694a290wm0s93b2vfszzzv683spw")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CONF=unix" + (string-append "CC=" ,(cc-for-target))) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'install ; no install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (man (string-append out "/share/man/man1/"))) + (install-file "drawterm" bin) + (install-file "drawterm.1" man))))))) + (inputs + `(("libx11" ,libx11) + ("libxt" ,libxt))) + (synopsis "Connect to Plan 9 systems") + (home-page "http://drawterm.9front.org") + (description + "@command{drawterm} is a client for connecting venerable systems to +Plan 9 systems. It behaves like a Plan 9 kernel and will attempt to +reconstruct a Plan 9 terminal-like experience from a non-Plan 9 system.") + (license license:expat)))) -- 2.31.1