GNU bug report logs -
#45585
(no subject)
Previous Next
Reported by: luhux <luhux <at> outlook.com>
Date: Fri, 1 Jan 2021 01:14:01 UTC
Severity: normal
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 3 Jan 2021 17:19:43 +0200
with message-id <X/Hgj7xjZoken56o <at> 3900XT>
and subject line Re: [bug#45585] (no subject)
has caused the debbugs.gnu.org bug report #45585,
regarding (no subject)
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
45585: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45585
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[0001-gnu-sdcv-Add-STARDICT_DATA_DIR-search-path-spec.patch (text/x-patch, attachment)]
From 9cc60a408aa92c9b52c36e9555f2628c09a68d1b Mon Sep 17 00:00:00 2001
From: luhux <luhux <at> outlook.com>
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
[Message part 4 (message/rfc822, inline)]
[Message part 5 (text/plain, inline)]
Good catch. Patch pushed!
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.