From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8I0SM2p37l/sCQAA0tVLHw (envelope-from ) for ; Fri, 01 Jan 2021 01:14:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ULHjLmp37l+GegAA1q6Kng (envelope-from ) for ; Fri, 01 Jan 2021 01:14:18 +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 8EB879404FC for ; Fri, 1 Jan 2021 01:14:18 +0000 (UTC) Received: from localhost ([::1]:45060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv91F-00059X-GI for larch@yhetil.org; Thu, 31 Dec 2020 20:14:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv910-00059M-FS for guix-patches@gnu.org; Thu, 31 Dec 2020 20:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kv910-0004cx-8E for guix-patches@gnu.org; Thu, 31 Dec 2020 20:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kv910-0005zu-3o for guix-patches@gnu.org; Thu, 31 Dec 2020 20:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45585] (no subject) Resent-From: luhux Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jan 2021 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45585 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 45585@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160946358922980 (code B ref -1); Fri, 01 Jan 2021 01:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 01:13:09 +0000 Received: from localhost ([127.0.0.1]:41918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kv909-0005ya-06 for submit@debbugs.gnu.org; Thu, 31 Dec 2020 20:13:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:39012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kv907-0005yS-SR for submit@debbugs.gnu.org; Thu, 31 Dec 2020 20:13:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv907-00051P-La for guix-patches@gnu.org; Thu, 31 Dec 2020 20:13:07 -0500 Received: from mail-oln040092255033.outbound.protection.outlook.com ([40.92.255.33]:23328 helo=APC01-HK2-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 1kv905-0004I3-Bk for guix-patches@gnu.org; Thu, 31 Dec 2020 20:13:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3kanytu7HlzKPfJwipgq4Z3PGmzX5128JLN6+P0557ze/CDOdEEfkvRygI9czqgf8BngNRFU521mM41OPdZMAYxnCKXmU3fRD9hpugy9s+mufieNZqRfg3QMyGLWtDtzccelrQpHV9/SnLaH6h2b3nS+1Q0r4Na0w6f98Yx4S2m+2x1G91K+qSVlM6u6eWyR9mRLxGzcMozftWjLwlE6jrZ40MltA+Q6feYDkYQpnN2vfvyRmX6exj+qNKqmyS4f7o9W3zQoH3LGRYviyGasLeJXjGCKYobilPHaUisskdGWw8zBSDDOxQaRcuBZqzzZYor9qHaI/XbAEB2ivA7aA== 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=vWWhPQVeDaP8sEDWh7lBFi8uumTx39uWUmAoSI2Hgv0=; b=oKaSDaTzmg+EOHIn1u8B5wfqALuWCKKNZigVJfxxd7uemns3JslO2vGkh8dkvM1iPwIJ4xsD4XjARPzx1jXOyzW5ci/rA3QLDGBqJAR2Mq8wt86EngsgEjwOxPlD51XM50ZtYoTtyK0AWRMBMioyQv6j1MqYSRuV2ThN0nUrJcCvVqobeL/yWYclqr5OdtIt6CfRx02WiB5A5NhivhsyZoXWqKR0Hk0Jja3RpNB+1ucSj7of8J8N2lywIEZOOhR81aD55DRkFp8Pz+gKPv9lUtqMSEKEe7TEQN3eu0TTVeT9OvxCzNC67WhrzRqEK4vtGAa9WW8Y3a90pNG2XFFO/Q== 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=vWWhPQVeDaP8sEDWh7lBFi8uumTx39uWUmAoSI2Hgv0=; b=fZFih/gkdN2Gu3lhde4ivvVUYLR9CSLYX/kOBTNL/MyrYeTJ9pH2Q2Gqva/Ry/ZCxxO0+k2Hh6pLjSA4idmT0LSB7bQKfmHAEEEprXrI9mLlvMx1b7eWDSnTWtmhtsUa54owGn5wwdq4aES83o2uB5QCc0wxuvvJokzI7+l6DyA+xYn8iBgjsRbarudjly7YHd96URuYXxk0mbSHYln0guvoxCeZwLYdJ+a/Fd3lUIbUCczvXBBDenYG5P1BlCUYGCcM1s8tfNVnyBWiBpkUdAB1/d3JOZmwWRyWHd0/C1SaBvF4W7dZd6QQGTGStquKi3r3BaeT+gJtWRE4TZuAlw== Received: from SG2APC01FT029.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::46) by SG2APC01HT161.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::343) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Fri, 1 Jan 2021 00:57:53 +0000 Received: from PSXP216MB0214.KORP216.PROD.OUTLOOK.COM (2a01:111:e400:7ebd::46) by SG2APC01FT029.mail.protection.outlook.com (2a01:111:e400:7ebd::214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20 via Frontend Transport; Fri, 1 Jan 2021 00:57:53 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:141F2E91B302D73CD7FE24CD0627E6595F3D6CA2E6531CA9E5EAAEC17E137FCA; UpperCasedChecksum:8FC586C5005977EB3B8C5B7DCE5972E8A603E6CA313A8D87A91F342012E951AF; SizeAsReceived:7199; Count:42 Received: from PSXP216MB0214.KORP216.PROD.OUTLOOK.COM ([fe80::3596:cdc4:9180:eeb3]) by PSXP216MB0214.KORP216.PROD.OUTLOOK.COM ([fe80::3596:cdc4:9180:eeb3%8]) with mapi id 15.20.3721.020; Fri, 1 Jan 2021 00:57:53 +0000 Date: Fri, 01 Jan 2021 08:57:50 +0800 Message-ID: From: luhux Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-sdcv-Add-STARDICT_DATA_DIR-search-path-spec.patch X-TMN: [Xd1RiF64pSaE4uNyb5RngVRwhVNQJ+bX] X-ClientProxiedBy: HK2PR06CA0012.apcprd06.prod.outlook.com (2603:1096:202:2e::24) To PSXP216MB0214.KORP216.PROD.OUTLOOK.COM (2603:1096:300:7::12) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from server-tencentyun (119.45.133.18) by HK2PR06CA0012.apcprd06.prod.outlook.com (2603:1096:202:2e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19 via Frontend Transport; Fri, 1 Jan 2021 00:57:52 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 42 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: eefc87b6-afbd-47e7-abb6-08d8adf04504 X-MS-TrafficTypeDiagnostic: SG2APC01HT161: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2mIdrmrxaD9hip7TuOOLapI3i3KBfUOAEx5CRZYbW3S5l21xq55LiqqTX+pCaS36u7l1TjOgLTqMjo/3zxohIapyQ37IK1+7W+9iOGTU7CamAVhbBgDGMavTYlq3Iecd X-MS-Exchange-AntiSpam-MessageData: VOQ/Hq14QTW6NHKp5X7MJHArU6tXPV9Dy41mfnMIuuyvNS5hmLemRHemOkOyyzFpKredJgxlZbB2brcqZTDVtrNKzlGeTW63QiwtWGuwQC1csopoy/xpGWVN1F8yXchbu1Fn4Rz1lBWRWbk/lvt6OA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jan 2021 00:57:53.4165 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: eefc87b6-afbd-47e7-abb6-08d8adf04504 X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT029.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: SG2APC01HT161 Received-SPF: pass client-ip=40.92.255.33; envelope-from=luhux@outlook.com; helo=APC01-HK2-obe.outbound.protection.outlook.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, MISSING_SUBJECT=1.799, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.77 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=outlook.com header.s=selector1 header.b=fZFih/gk; 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: 8EB879404FC X-Spam-Score: 0.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: IH9UvjBs41xV >From 9cc60a408aa92c9b52c36e9555f2628c09a68d1b Mon Sep 17 00:00:00 2001 From: luhux Date: Thu, 31 Dec 2020 11:42:41 +0800 Subject: [PATCH] gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec. * gnu/packages/dictionaries.scm (sdcv)[native-search-paths]: New field. --- gnu/packages/dictionaries.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 6387132016..b49e287313 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -438,6 +438,12 @@ intelligible and easily correctable.") ("ncurses" ,ncurses) ("readline" ,readline) ("zlib" ,zlib))) + ;; If you use Guix to package and install dictionary data, + ;; you need this variable to load them. + (native-search-paths + (list (search-path-specification + (variable "STARDICT_DATA_DIR") + (files '("share/stardict/dic"))))) (home-page "https://dushistov.github.io/sdcv/") (synopsis "Console version of StarDict") (description "sdcv is simple text-based utility for work with dictionaries -- 2.29.2