Message ID | 20160927171722.3166-4-arunisaac@systemreboot.net |
---|---|
State | New |
Headers | show |
Arun Isaac <arunisaac@systemreboot.net> skribis: > * gnu/packages/emacs.scm (emacs): Build with m17n support. > --- > gnu/packages/emacs.scm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index 7d10492..d311bcf 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -160,7 +160,11 @@ > ("libsm" ,libsm) > ("alsa-lib" ,alsa-lib) > ("dbus" ,dbus) > - ("guix-src" ,(package-source guix)))) > + ("guix-src" ,(package-source guix)) > + > + ;; multilingualization support > + ("libotf" ,libotf) > + ("m17n-lib" ,m17n-lib))) The impact in terms of size seems to be quite small: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix size emacs|tail -1 total: 582.9 MiB $ ./pre-inst-env guix size emacs libotf m17n-lib|tail -1 total: 595.2 MiB --8<---------------cut here---------------end--------------->8--- So I went ahead and applied this patch. How can one check whether it works? Do users have to install m17n-db in their profile? Thanks! Ludo’.
> How can one check whether it works? Do users have to install m17n-db in > their profile? No, users don't have to install m17n-db in their profile. They just need to use the new emacs package built with m17n. m17n-db and m17n-lib are just "inputs" not "propagated-inputs". The difference with and without m17n is visible in the rendering of Indic scripts. Tamil, one of the languages of South India, is the one I use and tested.
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 7d10492..d311bcf 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -160,7 +160,11 @@ ("libsm" ,libsm) ("alsa-lib" ,alsa-lib) ("dbus" ,dbus) - ("guix-src" ,(package-source guix)))) + ("guix-src" ,(package-source guix)) + + ;; multilingualization support + ("libotf" ,libotf) + ("m17n-lib" ,m17n-lib))) (native-inputs `(("pkg-config" ,pkg-config) ("texinfo" ,texinfo)))