Re: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5

2017-09-29 Thread Huang, Ying
Efraim Flashner <efr...@flashner.co.il> writes: > On Fri, Sep 29, 2017 at 07:21:27PM +0800, Huang, Ying wrote: >> Hi, All, >> >> I use the guix git. After not upgrade the code for quite some time >> (several months?), today after `git pull`, `guix environment gu

Re: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5

2017-09-29 Thread Huang, Ying
Andy Wingo <wi...@igalia.com> writes: > On Fri 29 Sep 2017 13:21, "Huang, Ying" <huang_ying_cari...@163.com> writes: > >> I use the guix git. After not upgrade the code for quite some time >> (several months?), today after `git pull`, `guix environment g

gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5

2017-09-29 Thread Huang, Ying
ate-struct: Wrong type argument in position 2: 5 Best Regards, Huang, Ying

Re: bug#26308: [PATCH -v2] services: dict.scm: Support more dicod configuration

2017-04-02 Thread huang ying
On Sun, Apr 2, 2017 at 6:12 AM, Ludovic Courtès <l...@gnu.org> wrote: > Hello, > > "Huang, Ying" <huang_ying_cari...@163.com> skribis: > >> l...@gnu.org (Ludovic Courtès) writes: > > [...] > >>> While I was at it, I wrote

Re: bug#26308: [PATCH -v2] services: dict.scm: Support more dicod configuration

2017-04-01 Thread Huang, Ying
l...@gnu.org (Ludovic Courtès) writes: > Hello, > > Huang Ying <huang.ying.cari...@gmail.com> skribis: > >> * gnu/services/dict.scm (): Add handlers to configure >> handlers (module instances). >> (): Add new record type to describe handler (module &g

[PATCH -v2] services: dict.scm: Support more dicod configuration

2017-03-30 Thread Huang Ying
;;; Copyright © 2016 Ludovic Courtès <l...@gnu.org> +;;; Copyright © 2017 Huang Ying <huang.ying.cari...@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,6 +33,7 @@ #:export (dicod-service dicod-service-type dicod-configuration +

Re: bug#26075: [PATCH -v3 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-24 Thread Huang, Ying
Hi, Ludo, Any comment? Best Regards, Huang, Ying Danny Milosavljevic <dan...@scratchpost.org> writes: > Both LGTM!

[PATCH -v3 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-12 Thread Huang Ying
* guix/build/union.scm (union-build): Add create-all-directories? keyword parameter. --- guix/build/union.scm | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/guix/build/union.scm b/guix/build/union.scm index 6640b5652..b852bc66e 100644 ---

[PATCH -v3 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-12 Thread Huang Ying
* guix/profiles.scm (fonts-dir-file): Create fonts.dir/scale files for all fonts directories. --- guix/profiles.scm | 60 --- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index

Re: Could anyone help me to pack the shellcheck (haskell)

2017-03-12 Thread Huang, Ying
Danny Milosavljevic <dan...@scratchpost.org> writes: > Hi, > > On Thu, 09 Mar 2017 19:39:19 +0800 > "Huang\, Ying" <huang_ying_cari...@163.com> wrote: > >> Danny Milosavljevic <dan...@scratchpost.org> writes: >> >> > Hi,

Re: Could anyone help me to pack the shellcheck (haskell)

2017-03-10 Thread Huang, Ying
Danny Milosavljevic <dan...@scratchpost.org> writes: > Hi, > > On Thu, 09 Mar 2017 19:39:19 +0800 > "Huang\, Ying" <huang_ying_cari...@163.com> wrote: > >> Danny Milosavljevic <dan...@scratchpost.org> writes: >> >> > Hi,

Re: [PATCH Resend] services: dict.scm: Support more dicod configuration

2017-03-09 Thread Huang, Ying
l...@gnu.org (Ludovic Courtès) writes: > Hello! > > Sorry for the long delay. > > Huang Ying <huang.ying.cari...@gmail.com> skribis: > >> * gnu/services/dict.scm (): Rename databases >> to items to reflect more general configuration. >> (): Add n

Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-09 Thread Huang, Ying
l...@gnu.org (Ludovic Courtès) writes: > huang ying <huang.ying.cari...@gmail.com> skribis: > >> On Wed, Mar 8, 2017 at 4:24 AM, Danny Milosavljevic >> <dan...@scratchpost.org> wrote: >>> Hi, >>> >>>>

Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-09 Thread Huang, Ying
Hi, Ludo, Thanks for comments! l...@gnu.org (Ludovic Courtès) writes: > Huang Ying <huang.ying.cari...@gmail.com> skribis: > >> * guix/profiles.scm (fonts-dir-file): Create fonts.dir/scale files for all >> fonts directories. > > Looks cool, modulo Danny’s sugg

Re: [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-09 Thread Huang, Ying
l...@gnu.org (Ludovic Courtès) writes: > Huang Ying <huang.ying.cari...@gmail.com> skribis: > >> * guix/build/union.scm (union-build): Add create-all-directories? keyword >> parameter. To add/remove some files from the directory. > > I guess this is needed for fo

Re: Could anyone help me to pack the shellcheck (haskell)

2017-03-09 Thread Huang, Ying
Danny Milosavljevic <dan...@scratchpost.org> writes: > Hi, > > On Wed, 08 Mar 2017 20:08:41 +0800 > "Huang\, Ying" <huang_ying_cari...@163.com> wrote: > >> I know very little about Haskell, but I use shellcheck >> (https://github.com/koalaman/s

Could anyone help me to pack the shellcheck (haskell)

2017-03-08 Thread Huang, Ying
Hi, All, I know very little about Haskell, but I use shellcheck (https://github.com/koalaman/shellcheck) to check my shell scripts. I tried myself, but found it is hard for me. Could anyone help me on that? Thanks in advance! Best Regards, Huang, Ying

Re: [PATCH Resend] services: dict.scm: Support more dicod configuration

2017-03-08 Thread Huang, Ying
Hi, Can anyone help me to review this patch? Best Regards, Huang, Ying Huang Ying <huang.ying.cari...@gmail.com> writes: > * gnu/services/dict.scm (): Rename databases > to items to reflect more general configuration. > (): Add new record type to describe handler (module). &

Re: [PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-07 Thread huang ying
dir) > > Please do not throw away the status code here (result of system*). You can > check for okayness by (zero? (system* ...)). Then what is the intended behavior? abort the build process with message and non-zero exit code? Usually we will raise a exception or just display some message and exit? Best Regards, Huang, Ying

Re: [PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread huang ying
On Wed, Mar 8, 2017 at 4:35 AM, Danny Milosavljevic <dan...@scratchpost.org> wrote: > Hi, > > On Tue, 7 Mar 2017 19:07:48 +0800 > Huang Ying <huang.ying.cari...@gmail.com> wrote: > >> * guix/build/union.scm (union-build): Add create-all-directories? keyword &g

[PATCH -v2 2/2] guix: profiles: create fonts.dir/scale for all fonts directories

2017-03-07 Thread Huang Ying
* guix/profiles.scm (fonts-dir-file): Create fonts.dir/scale files for all fonts directories. --- guix/profiles.scm | 56 ++- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index

[PATCH -v2 1/2] build: union: Add create-all-directories? parameter to union-build

2017-03-07 Thread Huang Ying
* guix/build/union.scm (union-build): Add create-all-directories? keyword parameter. To add/remove some files from the directory. --- guix/build/union.scm | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/guix/build/union.scm b/guix/build/union.scm index

[PATCH Resend] services: dict.scm: Support more dicod configuration

2017-03-07 Thread Huang Ying
* gnu/services/dict.scm (): Rename databases to items to reflect more general configuration. (): Add new record type to describe handler (module). (): Add more fields. (dicod-configuration-file): Support convert more configuration items to config file. --- gnu/services/dict.scm | 50

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-27 Thread Huang, Ying
iyzs...@member.fsf.org (宋文武) writes: > "Huang, Ying" <huang_ying_cari...@163.com> writes: > > Hi, sorry for my late reply. > >> Danny Milosavljevic <dan...@scratchpost.org> writes: >> >>> Hi, >>> >>> yeah, I've look

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-25 Thread Huang, Ying
s that in addition to $GUIX_PROFILE/share/fonts/truetype, we need to create fonts.dir/scale for other directories in $GUIX_PROFILE/share/fonts too. So we need to create all directories under $GUIX_PROFILE/share/fonts. We do that in 2/2 of the patchset. Best Regards, Huang, Ying > If we've mis

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-25 Thread Huang, Ying
n as input and not just single > directories one by one. Thoughts?) union will only be called with create-all-directory? != nil for packages have share/fonts directories. And for these packages, we plan to remove the fonts.dir and fonts.scale files, so that we need to create all directories for them after all. Is this good enough? Best Regards, Huang, Ying

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-24 Thread Huang, Ying
t some more I think it looks good enough to me. I'd like a > second opinion, though. > > Other than that, the name of the new flag "create-all-directory?" is weird. > I'd like it to be something like "create-all-directories?". OK. Will change it. Best Regards, Hua

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-24 Thread Huang, Ying
Hi, Andy, Andy Wingo <wi...@igalia.com> writes: > Hi :) > > On Fri 24 Feb 2017 13:40, "Huang, Ying" <huang_ying_cari...@163.com> writes: > >>>(define (union output inputs) >>> (match inputs >>>((inpu

Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build

2017-02-24 Thread Huang, Ying
Hi, All, Can anyone help me to review this patch? Best Regards, Huang, Ying huang_ying_cari...@163.com writes: > From: Huang Ying <huang.ying.cari...@gmail.com> > > * guix/build/union.scm (union-build): Add create-all-directory? keyword > parameter. To add/remo

Re: Stumpwm and config.scm

2017-02-19 Thread Huang, Ying
rror. I didn't put > sbcl-stumpwm in my config.scm but I installed sbcl-stumpwm: bin and it works. I have ever used (specification->package+output "sbcl-stumpwm:bin") in my config.scm. Best Regards, Huang, Ying

Re: [PATCH] gnu: font-gnu-unifont: Call mkfontdir for pcf output

2017-02-15 Thread Huang, Ying
> I completely agree; removing all "fonts.dir" and "fonts.alias" files > from packages and regenerating them at profile time looks like a good > idea to me. Good to know this. I will implement it as this. Best Regards, Huang, Ying

Re: [PATCH -v3] Fix gtk-im-modules for gtk+3

2017-02-09 Thread Huang, Ying
iyzs...@member.fsf.org (宋文武) writes: > "Huang, Ying" <huang_ying_cari...@163.com> writes: > >> Hi, Wenwu, >> >> iyzs...@member.fsf.org (宋文武) writes: >> >>> "Huang, Ying" <huang_ying_cari...@163.com> writes: >>&g

Re: Add /usr/bin/env by default in guixsd?

2017-02-09 Thread Huang, Ying
file” FILE. > > For example, adding the following lines to the ‘services’ field of > your operating system declaration leads to a ‘/usr/bin/env’ > symlink: > > (extra-special-file "/usr/bin/env" > (file-append coreutils "/bin/env")) Great! Thanks a lot! Best Regards, Huang, Ying

Re: [PATCH -v3] Fix gtk-im-modules for gtk+3

2017-02-06 Thread Huang, Ying
Hi, Wenwu, iyzs...@member.fsf.org (宋文武) writes: > "Huang, Ying" <huang_ying_cari...@163.com> writes: > >> [...] >>> -#$(if gtk+ (build gtk+ "3.0.0") #t) >>> -#$(if gtk+-2 (build gt

Re: [PATCH -v2] Fix gtk-im-modules for Gtk+3

2017-02-06 Thread Huang, Ying
Hi, Ricardo, Ricardo Wurmus <rek...@elephly.net> writes: > huang_ying_cari...@163.com writes: > >> From: Huang Ying <huang.ying.cari...@gmail.com> >> >> Gtk+3 now have multiple outputs, so the gtk-query-immodules-3.0 should be >> find >> in bi

Re: [PATCH] gnu: font-gnu-unifont: Call mkfontdir for pcf output

2017-02-05 Thread Huang, Ying
"Huang, Ying" <huang_ying_cari...@163.com> writes: > Hi, Wenwu, > > Thanks for comments! > > iyzs...@member.fsf.org (宋文武) writes: > >> huang_ying_cari...@163.com writes: >> >>> * gnu/packages/fonts.scm (font-gnu-unifont): call mkfont

Re: [PATCH] gnu: font-gnu-unifont: Call mkfontdir for pcf output

2017-02-05 Thread Huang, Ying
Hi, Wenwu, Thanks for comments! iyzs...@member.fsf.org (宋文武) writes: > huang_ying_cari...@163.com writes: > >> * gnu/packages/fonts.scm (font-gnu-unifont): call mkfontdir for pcf output. >> >> Signed-off-by: "Huang, Ying" <huang.ying.cari...@gmail.com&g

Re: [PATCH -v3] Fix gtk-im-modules for gtk+3

2017-02-05 Thread Huang, Ying
Hi, Wenwu, Thanks for comments. iyzs...@member.fsf.org (宋文武) writes: > huang_ying_cari...@163.com writes: > >> From: "Huang, Ying" <huang.ying.cari...@gmail.com> >> >> Gtk+3 now have multiple outputs, so the gtk-query-immodules-3.0 should be &g

Re: [PATCH -v2] Fix gtk-im-modules for Gtk+3

2017-02-04 Thread Huang, Ying
ase update the docstring too. Sure. >> + (if output >> + (string-suffix? output version*) >> #t > > Should that include the separator between the parts? Otherwise it > could maybe have false positives... OK. Best Regards, Huang, Ying

Re: [PATCH -v2] Fix gtk-im-modules for Gtk+3

2017-02-03 Thread Huang, Ying
Hi, All, huang_ying_cari...@163.com writes: > From: Huang Ying <huang.ying.cari...@gmail.com> > > Gtk+3 now have multiple outputs, so the gtk-query-immodules-3.0 should be find > in bin output. > > The fix works, but appears hacky, because I haven't read much guix source