unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45585] (no subject)
@ 2021-01-01  0:57 luhux
  2021-01-03 15:19 ` bug#45585: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: luhux @ 2021-01-01  0:57 UTC (permalink / raw)
  To: 45585

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-sdcv-Add-STARDICT_DATA_DIR-search-path-spec.patch --]
[-- Type: text/x-patch, Size: 1152 bytes --]

From 9cc60a408aa92c9b52c36e9555f2628c09a68d1b Mon Sep 17 00:00:00 2001
From: luhux <luhux@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#45585: (no subject)
  2021-01-01  0:57 [bug#45585] (no subject) luhux
@ 2021-01-03 15:19 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-01-03 15:19 UTC (permalink / raw)
  To: luhux; +Cc: 45585-done

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

Good catch. Patch pushed!

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-03 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01  0:57 [bug#45585] (no subject) luhux
2021-01-03 15:19 ` bug#45585: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).