[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/20: gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec.
From: |
guix-commits |
Subject: |
04/20: gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec. |
Date: |
Sun, 3 Jan 2021 10:24:59 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 7dd1a2174a8376c521dcf271e3b76f64096074fe
Author: luhux <luhux@outlook.com>
AuthorDate: Fri Jan 1 08:57:50 2021 +0800
gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec.
* gnu/packages/dictionaries.scm (sdcv)[native-search-paths]: New field.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/dictionaries.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 6387132..b49e287 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
- branch master updated (7617109 -> 2cb5ebf), guix-commits, 2021/01/03
- 02/20: gnu: graphicsmagick: Add dependency on libwebp., guix-commits, 2021/01/03
- 03/20: gnu: sddm: Update to 0.19.0., guix-commits, 2021/01/03
- 06/20: gnu: Add go-github-com-leodido-go-urn., guix-commits, 2021/01/03
- 04/20: gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec.,
guix-commits <=
- 05/20: gnu: ccid: Fix cross-compilation., guix-commits, 2021/01/03
- 09/20: gnu: Add go-gopkg-in-go-playground-assert-v1., guix-commits, 2021/01/03
- 01/20: gnu: rav1e: Update to 0.3.5., guix-commits, 2021/01/03
- 08/20: gnu: Add go-github-com-go-playground-universal-translator., guix-commits, 2021/01/03
- 10/20: gnu: Add go-gopkg-in-go-playground-validator-v9., guix-commits, 2021/01/03
- 07/20: gnu: Add go-github-com-go-playground-locales., guix-commits, 2021/01/03
- 11/20: gnu: Add go-github-com-goccy-yaml., guix-commits, 2021/01/03
- 12/20: gnu: Add go-github-com-songmu-gitconfig., guix-commits, 2021/01/03
- 13/20: gnu: Add go-github-com-golangplus-fmt., guix-commits, 2021/01/03
- 17/20: gnu: Add go-golang.org-x-net-html., guix-commits, 2021/01/03