all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28563] [PATCH 4/4] gnu: Add emacs-cnfonts, emacs-pyim-basedict, emacs-pos-tip, emacs-pyim
@ 2017-09-23  4:17 Feng Shu
  2017-09-30 22:14 ` Feng Shu
  0 siblings, 1 reply; 3+ messages in thread
From: Feng Shu @ 2017-09-23  4:17 UTC (permalink / raw)
  To: 28563

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-emacs-cnfonts.patch --]
[-- Type: text/x-patch, Size: 1459 bytes --]

From cc28dfad01f0e0fd6209f4576dccb38b12aa8e0b Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sat, 23 Sep 2017 11:16:56 +0800
Subject: [PATCH 1/4] gnu: Add emacs-cnfonts.

* gnu/packages/emacs.scm (emacs-cnfonts): New variable.
---
 gnu/packages/emacs.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7a6f16c1e..3d9ae2376 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4780,6 +4780,26 @@ the same - CDLaTeX focuses on speediness for inserting LaTeX
 constructs.")
     (license license:gpl3+)))
 
+(define-public emacs-cnfonts
+  (package
+    (name "emacs-cnfonts")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/cnfonts/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/tumashu/cnfonts")
+    (synopsis "Emacs Chinese fonts setup tool")
+    (description "Cnfonts is a Chinese fonts setup tool, which let user
+config Chinese fonts easily.")
+    (license license:gpl2+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")
-- 
2.14.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-emacs-pyim-basedict.patch --]
[-- Type: text/x-patch, Size: 1478 bytes --]

From 2a4a706d9532355f26af4ceb8a671ac8c5bf61f5 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sat, 23 Sep 2017 11:27:02 +0800
Subject: [PATCH 2/4] gnu: Add emacs-pyim-basedict.

* gnu/packages/emacs.scm (emacs-pyim-basedict): New variable.
---
 gnu/packages/emacs.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 3d9ae2376..c7f200fec 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4800,6 +4800,26 @@ constructs.")
 config Chinese fonts easily.")
     (license license:gpl2+)))
 
+(define-public emacs-pyim-basedict
+  (package
+    (name "emacs-pyim-basedict")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/pyim-basedict/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/tumashu/pyim-basedict")
+    (synopsis "Input method dictory of pyim")
+    (description "Pyim-basedict is default pinyin input method dictory
+of pyim, which words come from rime project.")
+    (license license:gpl2+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")
-- 
2.14.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0003-gnu-Add-emacs-pos-tip.patch --]
[-- Type: text/x-patch, Size: 1863 bytes --]

From 4c0f3c0720c55de5b4c243dc25e53a98f8ffd866 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sat, 23 Sep 2017 11:56:22 +0800
Subject: [PATCH 3/4] gnu: Add emacs-pos-tip.

* gnu/packages/emacs.scm (emacs-pos-tip): New variable.
---
 gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c7f200fec..8970f7364 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4800,6 +4800,33 @@ constructs.")
 config Chinese fonts easily.")
     (license license:gpl2+)))
 
+(define-public emacs-pos-tip
+  (package
+    (name "emacs-pos-tip")
+    (version "0.4.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/pitkali/pos-tip/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
+    (build-system emacs-build-system)
+    ;; The following functions and variables needed by emacs-pos-tip are
+    ;; not included in emacs-minimal:
+    ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
+    (arguments `(#:emacs ,emacs))
+    (home-page "https://github.com/pitkali/pos-tip")
+    (synopsis "Show tooltip at point")
+    (description "The standard library tooltip.el provides the function
+for displaying a tooltip at mouse position which allows users to easily
+show it.  However, locating tooltip at arbitrary buffer position in window
+is not easy.  Pos-tip provides such function to be used by other
+frontend programs.")
+    (license license:gpl2+)))
+
 (define-public emacs-pyim-basedict
   (package
     (name "emacs-pyim-basedict")
-- 
2.14.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: [PATCH 4/4] gnu: Add emacs-pyim. --]
[-- Type: text/x-patch, Size: 1604 bytes --]

From dd37170ad03cc883d080c6617808318f307adc5d Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sat, 23 Sep 2017 11:58:27 +0800
Subject: [PATCH 4/4] gnu: Add emacs-pyim.

* gnu/packages/emacs.scm (emacs-pyim): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8970f7364..211f95d9d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4847,6 +4847,31 @@ frontend programs.")
 of pyim, which words come from rime project.")
     (license license:gpl2+)))
 
+(define-public emacs-pyim
+  (package
+    (name "emacs-pyim")
+    (version "1.6.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/pyim/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-async" ,emacs-async)
+       ("emacs-exwm" ,emacs-pyim-basedict)
+       ("emacs-popup" ,emacs-popup)
+       ("emacs-pos-tip" ,emacs-pos-tip)))
+    (home-page "https://github.com/tumashu/pyim")
+    (synopsis "Chinese input method")
+    (description "Chinese input method which support quanpin,
+shuangpin, wubi and cangjie.")
+    (license license:gpl2+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")
-- 
2.14.1


[-- Attachment #5: Type: text/plain, Size: 6 bytes --]



-- 

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

* [bug#28563] [PATCH 4/4] gnu: Add emacs-cnfonts, emacs-pyim-basedict, emacs-pos-tip, emacs-pyim
  2017-09-23  4:17 [bug#28563] [PATCH 4/4] gnu: Add emacs-cnfonts, emacs-pyim-basedict, emacs-pos-tip, emacs-pyim Feng Shu
@ 2017-09-30 22:14 ` Feng Shu
  2017-10-01  8:52   ` bug#28563: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Feng Shu @ 2017-09-30 22:14 UTC (permalink / raw)
  To: 28563

"Feng Shu" <tumashu@163.com> writes:

Are the four patches status?

> From cc28dfad01f0e0fd6209f4576dccb38b12aa8e0b Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sat, 23 Sep 2017 11:16:56 +0800
> Subject: [PATCH 1/4] gnu: Add emacs-cnfonts.
>
> * gnu/packages/emacs.scm (emacs-cnfonts): New variable.
> ---
>  gnu/packages/emacs.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 7a6f16c1e..3d9ae2376 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4780,6 +4780,26 @@ the same - CDLaTeX focuses on speediness for inserting LaTeX
>  constructs.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-cnfonts
> +  (package
> +    (name "emacs-cnfonts")
> +    (version "0.9.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/tumashu/cnfonts/archive/v"
> +                    version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/tumashu/cnfonts")
> +    (synopsis "Emacs Chinese fonts setup tool")
> +    (description "Cnfonts is a Chinese fonts setup tool, which let user
> +config Chinese fonts easily.")
> +    (license license:gpl2+)))
> +
>  (define-public emacs-xelb
>    (package
>      (name "emacs-xelb")
> -- 
> 2.14.1
>
> From 2a4a706d9532355f26af4ceb8a671ac8c5bf61f5 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sat, 23 Sep 2017 11:27:02 +0800
> Subject: [PATCH 2/4] gnu: Add emacs-pyim-basedict.
>
> * gnu/packages/emacs.scm (emacs-pyim-basedict): New variable.
> ---
>  gnu/packages/emacs.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 3d9ae2376..c7f200fec 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4800,6 +4800,26 @@ constructs.")
>  config Chinese fonts easily.")
>      (license license:gpl2+)))
>  
> +(define-public emacs-pyim-basedict
> +  (package
> +    (name "emacs-pyim-basedict")
> +    (version "0.3.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/tumashu/pyim-basedict/archive/v"
> +                    version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/tumashu/pyim-basedict")
> +    (synopsis "Input method dictory of pyim")
> +    (description "Pyim-basedict is default pinyin input method dictory
> +of pyim, which words come from rime project.")
> +    (license license:gpl2+)))
> +
>  (define-public emacs-xelb
>    (package
>      (name "emacs-xelb")
> -- 
> 2.14.1
>
> From 4c0f3c0720c55de5b4c243dc25e53a98f8ffd866 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sat, 23 Sep 2017 11:56:22 +0800
> Subject: [PATCH 3/4] gnu: Add emacs-pos-tip.
>
> * gnu/packages/emacs.scm (emacs-pos-tip): New variable.
> ---
>  gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index c7f200fec..8970f7364 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4800,6 +4800,33 @@ constructs.")
>  config Chinese fonts easily.")
>      (license license:gpl2+)))
>  
> +(define-public emacs-pos-tip
> +  (package
> +    (name "emacs-pos-tip")
> +    (version "0.4.6")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/pitkali/pos-tip/archive/"
> +                    version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
> +    (build-system emacs-build-system)
> +    ;; The following functions and variables needed by emacs-pos-tip are
> +    ;; not included in emacs-minimal:
> +    ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
> +    (arguments `(#:emacs ,emacs))
> +    (home-page "https://github.com/pitkali/pos-tip")
> +    (synopsis "Show tooltip at point")
> +    (description "The standard library tooltip.el provides the function
> +for displaying a tooltip at mouse position which allows users to easily
> +show it.  However, locating tooltip at arbitrary buffer position in window
> +is not easy.  Pos-tip provides such function to be used by other
> +frontend programs.")
> +    (license license:gpl2+)))
> +
>  (define-public emacs-pyim-basedict
>    (package
>      (name "emacs-pyim-basedict")
> -- 
> 2.14.1
>
> From dd37170ad03cc883d080c6617808318f307adc5d Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sat, 23 Sep 2017 11:58:27 +0800
> Subject: [PATCH 4/4] gnu: Add emacs-pyim.
>
> * gnu/packages/emacs.scm (emacs-pyim): New variable.
> ---
>  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 8970f7364..211f95d9d 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4847,6 +4847,31 @@ frontend programs.")
>  of pyim, which words come from rime project.")
>      (license license:gpl2+)))
>  
> +(define-public emacs-pyim
> +  (package
> +    (name "emacs-pyim")
> +    (version "1.6.4")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/tumashu/pyim/archive/v"
> +                    version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs
> +     `(("emacs-async" ,emacs-async)
> +       ("emacs-exwm" ,emacs-pyim-basedict)
> +       ("emacs-popup" ,emacs-popup)
> +       ("emacs-pos-tip" ,emacs-pos-tip)))
> +    (home-page "https://github.com/tumashu/pyim")
> +    (synopsis "Chinese input method")
> +    (description "Chinese input method which support quanpin,
> +shuangpin, wubi and cangjie.")
> +    (license license:gpl2+)))
> +
>  (define-public emacs-xelb
>    (package
>      (name "emacs-xelb")
> -- 
> 2.14.1

-- 

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

* bug#28563: [PATCH 4/4] gnu: Add emacs-cnfonts, emacs-pyim-basedict, emacs-pos-tip, emacs-pyim
  2017-09-30 22:14 ` Feng Shu
@ 2017-10-01  8:52   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2017-10-01  8:52 UTC (permalink / raw)
  To: Feng Shu; +Cc: 28563-done


[-- Attachment #1.1: Type: text/plain, Size: 520 bytes --]

On Sun, 01 Oct 2017 06:14:39 +0800
"Feng Shu" <tumashu@163.com> wrote:

> "Feng Shu" <tumashu@163.com> writes:
> 
> Are the four patches status?

Hello,

I've now merged these 4 patches, they look good :)

I don't speak Chinese, so I just checked that they built, and ran guix
lint.

I did make some minor changes to the descriptions and one synopsis.
I've attached the difference between the originals, and my attempts at
improving them. I hope that is ok with you.

Thanks for the patches,

Chris

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: changes.diff --]
[-- Type: text/x-patch, Size: 2582 bytes --]

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ff1ea2f9f..35ca2b1cf 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4882,8 +4882,8 @@ constructs.")
     (build-system emacs-build-system)
     (home-page "https://github.com/tumashu/cnfonts")
     (synopsis "Emacs Chinese fonts setup tool")
-    (description "Cnfonts is a Chinese fonts setup tool, which let user
-config Chinese fonts easily.")
+    (description "cnfonts is a Chinese fonts setup tool, allowing for easy
+configuration of Chinese fonts.")
     (license license:gpl2+)))
 
 (define-public emacs-pos-tip
@@ -4906,11 +4906,10 @@ config Chinese fonts easily.")
     (arguments `(#:emacs ,emacs))
     (home-page "https://github.com/pitkali/pos-tip")
     (synopsis "Show tooltip at point")
-    (description "The standard library tooltip.el provides the function
-for displaying a tooltip at mouse position which allows users to easily
-show it.  However, locating tooltip at arbitrary buffer position in window
-is not easy.  Pos-tip provides such function to be used by other
-frontend programs.")
+    (description "The standard library tooltip.el provides a function for
+displaying a tooltip at the mouse position.  However, locating a tooltip at an
+arbitrary buffer position in a window is not easy.  Pos-tip provides such a
+function to be used by other frontend programs.")
     (license license:gpl2+)))
 
 (define-public emacs-pyim-basedict
@@ -4928,9 +4927,9 @@ frontend programs.")
                 "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/tumashu/pyim-basedict")
-    (synopsis "Input method dictory of pyim")
-    (description "Pyim-basedict is default pinyin input method dictory
-of pyim, which words come from rime project.")
+    (synopsis "Input method dictionary of pyim")
+    (description "Pyim-basedict is the default pinyin input method dictionary,
+containing words from the rime project.")
     (license license:gpl2+)))
 
 (define-public emacs-pyim
@@ -4954,8 +4953,8 @@ of pyim, which words come from rime project.")
        ("emacs-pos-tip" ,emacs-pos-tip)))
     (home-page "https://github.com/tumashu/pyim")
     (synopsis "Chinese input method")
-    (description "Chinese input method which support quanpin,
-shuangpin, wubi and cangjie.")
+    (description "Chinese input method which supports quanpin, shuangpin, wubi
+and cangjie.")
     (license license:gpl2+)))
 
 (define-public emacs-xelb

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

end of thread, other threads:[~2017-10-01  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23  4:17 [bug#28563] [PATCH 4/4] gnu: Add emacs-cnfonts, emacs-pyim-basedict, emacs-pos-tip, emacs-pyim Feng Shu
2017-09-30 22:14 ` Feng Shu
2017-10-01  8:52   ` bug#28563: " Christopher Baines

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.