Received: (at 47355) by debbugs.gnu.org; 6 Oct 2021 10:46:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 06 06:46:28 2021 Received: from localhost ([127.0.0.1]:42681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mY4RP-0005UJ-PA for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 06:46:28 -0400 Received: from mail-ty1jpn01olkn0176.outbound.protection.outlook.com ([104.47.93.176]:23090 helo=JPN01-TY1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1mY4RM-0005U1-KF for 47355 <at> debbugs.gnu.org; Wed, 06 Oct 2021 06:46:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m9LhRy0CoVUn7viKFxS1Fe86ATkVOEiPsEYH2QX4ekQIC7zlD/BkSYtpJY6kqhsZuFI0ggCX2ahZPC26Kmo5Qz4oN2e3XVTFJUQ/WNVXjOxK9iQNkmYbFerridNw/7r8sc5/3waVw4whnokNNFSNBHhUWVvIjk6oUGYw0XU/57JevquvkQXRPfln2wve9jcMKm2o5Qu1TcYTLFktOzYld7cMGHwZbCwZvt8olJ2BFRgW/CcHEgxUIoyEv+UVl52q06was3P0XdY80ikwmaM5x+k/TKJ4cVrj7SxaTnffbU3xXJR/lqK+MhbKX1Kx9XRIxzDibxsCvKgX2aFLhkP9MA== 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=8sv4qlVvO9+ZgmDpnXdsqeeFrYI3Qrwp9PG/SMkKglo=; b=FblpEt0uqqcRmf3KEVhHJlv0kOS/I98UMV3lzG5CvE30ilav+KZAe7p2aW3pC+nfPM8GEzhmudZ607YoicfS6nHjFkE9xLmBu7PjzvLE7isajBj4FxApYAErZo2XqIkq4/0l6IbGOMvaBnu7uzMsFdiKGHCdK4s4aVS57chSVTRbWSkij0gZEmCuuHdEUwJiIBUFlCj47UCGulJx3tse6fHyoDIhWBHGymJvXr2GFi3xJslBSSxcNG/Sa9ZyLoVnBGBNyCBIcvx/0adoP5V/5eptvrPUL4KBVltIQR8n/6i6RyOFMVfhW9bWvIbe96W3FSgtibqgA15RLXqKpuNzTw== 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=8sv4qlVvO9+ZgmDpnXdsqeeFrYI3Qrwp9PG/SMkKglo=; b=c15nWVB1b/BpuPlUo6B1bSmuQ3qGWCGXT+ZUDsJin+dUqK3ReNQEIvgO/g76/yvGXhdDuZg1YZmbKtc0pk03PdwCqCxLOrOR4wFNPo5YXzxf4kiatW273p6MCKVL9yGwG67tfB1sDkTnW5cHZ7QZRj+IvJp+7BGvGuOXBttE1IFS5CECZ7wn7g5TObxtIB8BLXgAL84b8AfnwVtSvPOdyuxpfCHNawr0xjCzMlIYOvgWbb/dybKP58NKpW6FjzI18sVghojicNNT3wzJZw5eN3sOu1BHwOg3tEloDOJM8s8kjO1iyYUA3d/HkoZjRM+v6gx5m4iwEIOqZi4Aonxfog== Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) by TYWP286MB2233.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:172::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22; Wed, 6 Oct 2021 10:46:17 +0000 Received: from TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::c0f5:fa5d:f30d:8f60]) by TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM ([fe80::c0f5:fa5d:f30d:8f60%4]) with mapi id 15.20.4587.018; Wed, 6 Oct 2021 10:46:17 +0000 From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> To: qblade <qblade@HIDDEN> Subject: Re: bug#47355: ekho use new method to fix datadir References: <oiDwRbkRiKQ62jNg6L9bQ-JVrYEjcXQncETHW8QqGtQDEveqc1C7qihSwBJ-tTtsZ3iAC3cDwvsBRvF-c_n99-LgwStcoFOFPaz513RFQ-s=@protonmail.com> Date: Wed, 06 Oct 2021 18:47:51 +0800 In-Reply-To: <oiDwRbkRiKQ62jNg6L9bQ-JVrYEjcXQncETHW8QqGtQDEveqc1C7qihSwBJ-tTtsZ3iAC3cDwvsBRvF-c_n99-LgwStcoFOFPaz513RFQ-s=@protonmail.com> (qblade@HIDDEN's message of "Wed, 24 Mar 2021 01:07:18 +0000") Message-ID: <TYCP286MB18974DED26CB6C4B9301C183A3B09@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [Dyl9EFApU2qwsR8YkzBcIAIHX2biIpV1asXq2srfwLzKP/zJq3mVFCYcBT7jTnfV] X-ClientProxiedBy: HKAPR03CA0030.apcprd03.prod.outlook.com (2603:1096:203:c9::17) To TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:11e::13) X-Microsoft-Original-Message-ID: <877deq4eg8.fsf@HIDDEN> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (240e:399:337:2e30:2f1:f5ff:fe18:6bb) by HKAPR03CA0030.apcprd03.prod.outlook.com (2603:1096:203:c9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.7 via Frontend Transport; Wed, 6 Oct 2021 10:46:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9069c06-c5fc-4ee6-eebd-08d988b6860e X-MS-TrafficTypeDiagnostic: TYWP286MB2233: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lGMNvdpSsMXI3PU+61PRbDgtwlC+AfFxdaIqo+pTPYinLXblUF2sLoDIAfR3xqAIiks0yghFm82+wrni6HFqUTA4emhEcNybm3KIHAHVW+n5itVuu+7NwfuY4GlrMy5b3qsfgWLEx8U5h0THt9Z139gXRa3JD8eB/ti9Hve62HpQgE6DN0zboLptwzPmcPX6iusnBmJZxbxdfSaB56BcEcXH1ap//aGq4IEwl1JJHKBXUOiF0w+5uAMBaQX/N9+VhlF8dZuRdnt6cnsi8NdbrH40/Sr6g1X4ixe/dLuywidimTnG3abByowj241RpdnKZfDVzJDvxnmqenB+PBCTzICN38+ltrkwGxcKYX12eiXN5UfcoIEcbofCgHWVCNsu8FkJz1aDO63GhiQfj0KbBauajXHo+iIOuylMZHCkzxPgn7eY0muGE6n+ai25Xagw X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OPPTIp0QFZAqS/tr/19MtI/eZ36BhZa1WPSuS9TdB7mRTBICPbhK5ODs+9yZ2ks+jZtnI2kl6B1IVeqnta8l7aagnghsyGdS2YFkc1NUXbslZI1zHF/KmElAIGnjxHs6aPUnAF1InqrgSD8c6Bsc8cHDUd1MKlRf7fmFMOYzVn9Sv73MpxiKsOqQ4O00mrr44DEJtX78NX2R1hIU0N6e9w== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9069c06-c5fc-4ee6-eebd-08d988b6860e X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2021 10:46:17.0160 (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: TYWP286MB2233 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47355 Cc: 47355 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain qblade <qblade@HIDDEN> writes: > I discussed with the developers of this project. It is not recommended > to use environment variables to specify the datadir, so I switched to > hard-coded paths. Hello, I see that while the environment variable EKHO_DATA_PATH is working fine, hard-coded it may be better. Also there is a `-DEKHO_DATA_PATH='"$(datadir)/ekho-data"'` in its Makefile.am, which should work out-of-the-box without any flags, envs or patching, but it doesn't... I'll raise an issue on ekho later for this. In the meanwhile, we can use this, which is a little better than patching: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=ekho.diff diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm index cbc46b32b4..10a4f3fa76 100644 --- a/gnu/packages/speech.scm +++ b/gnu/packages/speech.scm @@ -579,10 +579,12 @@ control.") ("libsndfile" ,libsndfile) ("pulseaudio" ,pulseaudio))) (build-system gnu-build-system) - (native-search-paths - (list (search-path-specification - (variable "EKHO_DATA_PATH") - (files '("share/ekho-data"))))) + (arguments + '(#:configure-flags + (let* ((datadir (string-append (assoc-ref %outputs "out") "/share")) + (ekhodatadir (string-append datadir "/ekho-data"))) + (list (simple-format #f "CXXFLAGS=-DEKHO_DATA_PATH='\"~a\"'" + ekhodatadir))))) (home-page "https://eguidedog.net/ekho.php") (synopsis "Chinese text-to-speech software") (description --=-=-= Content-Type: text/plain What do you think? Thanks! --=-=-=--
guix-patches@HIDDEN
:bug#47355
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Mar 2021 01:07:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 23 21:07:55 2021 Received: from localhost ([127.0.0.1]:33475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lOs03-0005Yu-1o for submit <at> debbugs.gnu.org; Tue, 23 Mar 2021 21:07:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:42518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <qblade@HIDDEN>) id 1lOrzy-0005Yj-Vp for submit <at> debbugs.gnu.org; Tue, 23 Mar 2021 21:07:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <qblade@HIDDEN>) id 1lOrzy-0003kt-Hi for guix-patches@HIDDEN; Tue, 23 Mar 2021 21:07:50 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:33204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <qblade@HIDDEN>) id 1lOrzo-0005nV-JO for guix-patches@HIDDEN; Tue, 23 Mar 2021 21:07:49 -0400 Date: Wed, 24 Mar 2021 01:07:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616548045; bh=OwXnZD5z6EpW9NOL5kJTS7sciPrGaZ+TNcHqlOlz4k4=; h=Date:To:From:Reply-To:Subject:From; b=abJDosxulm5rKEx/Uq3mtZwhr4nimBBfePIjadxmYAMiRl8ODRQ5F4QuXKZxHhDsz n4vJnE0fgLH9MgjoLqyNAJQWdIk3MA8F8TzSm19BLJlX8E9YvNmpB5aQ5wEwN1HddA cGYUYVQB2Og4503knkE4+WxXjFgClDHEpiJKAOOg= To: Guix-patches <guix-patches@HIDDEN> From: qblade <qblade@HIDDEN> Subject: ekho use new method to fix datadir Message-ID: <oiDwRbkRiKQ62jNg6L9bQ-JVrYEjcXQncETHW8QqGtQDEveqc1C7qihSwBJ-tTtsZ3iAC3cDwvsBRvF-c_n99-LgwStcoFOFPaz513RFQ-s=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_cjNQSRoy11lgfcG1O3VklLh0SWcYhfXXWa2JQjTbiqU" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.141; envelope-from=qblade@HIDDEN; helo=mail-40141.protonmail.ch 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_H4=0.001, RCVD_IN_MSPIKE_WL=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.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: qblade <qblade@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_cjNQSRoy11lgfcG1O3VklLh0SWcYhfXXWa2JQjTbiqU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I discussed with the developers of this project. It is not recommended to u= se environment variables to specify the datadir, so I switched to hard-code= d paths. --b1_cjNQSRoy11lgfcG1O3VklLh0SWcYhfXXWa2JQjTbiqU Content-Type: text/x-patch; name=0001-gnu-ekho-use-new-method-to-fix-datadir.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-ekho-use-new-method-to-fix-datadir.patch RnJvbSBjZDYzNzFmNGE5MDNhMmVkYTA4MjRmMzFjYmNjYjFkYTc1N2ViZTM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBxYmxhZGUgPHFibGFkZUBwcm90b25tYWlsLmNvbT4KRGF0ZTog VHVlLCAyMyBNYXI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AgICAgICAgIChsYW1iZGEqICgjOmtl eSBvdXRwdXRzICM6YWxsb3ctb3RoZXIta2V5cykKKyAgICAgICAgICAgICAobGV0KgorICAgICAg ICAgICAgICAgICAoKGRhdGFkaXIKKyAgICAgICAgICAgICAgICAgICAoc3RyaW5nLWFwcGVuZAor ICAgICAgICAgICAgICAgICAgICAoYXNzb2MtcmVmIG91dHB1dHMgIm91dCIpICIvc2hhcmUvZWto by1kYXRhIikpKQorICAgICAgICAgICAgICAgKHN1YnN0aXR1dGUqICJzcmMvZWtob19kaWN0LmNw cCIKKyAgICAgICAgICAgICAgICAgKCgiL3Vzci9sb2NhbC9zaGFyZS9la2hvLWRhdGEiKQorICAg ICAgICAgICAgICAgICAgZGF0YWRpcikKKyAgICAgICAgICAgICAgICAgKCgiL3Vzci9zaGFyZS9l a2hvLWRhdGEiKQorICAgICAgICAgICAgICAgICAgZGF0YWRpcikpKSkpKSkpCiAgICAgKGhvbWUt cGFnZSAiaHR0cHM6Ly9lZ3VpZGVkb2cubmV0L2VraG8ucGhwIikKICAgICAoc3lub3BzaXMgIkNo aW5lc2UgdGV4dC10by1zcGVlY2ggc29mdHdhcmUiKQogICAgIChkZXNjcmlwdGlvbgotLSAKMi4z MC4yCgo= --b1_cjNQSRoy11lgfcG1O3VklLh0SWcYhfXXWa2JQjTbiqU--
qblade <qblade@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#47355
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.