[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: Add emacs-gif-screencast.
From: |
Ludovic Courtès |
Subject: |
04/11: gnu: Add emacs-gif-screencast. |
Date: |
Fri, 8 Jun 2018 11:04:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a62d872fdf8f59c01e54badeeec1cd00ce64ab96
Author: Pierre Neidhardt <address@hidden>
Date: Wed Jun 6 11:38:42 2018 +0200
gnu: Add emacs-gif-screencast.
* gnu/packages/emacs.scm (emacs-gif-screencast): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/emacs.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e90660a..3c54910 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10813,3 +10813,53 @@ The package @code{emacs-bash-completion} is an
optional dependency: if available
@code{fish-completion-complete} can be configured to fall back on bash to
further
try completing. See @code{fish-completion-fallback-on-bash-p}.")
(license license:gpl3+)))
+
+(define-public emacs-gif-screencast
+ (let ((commit "825e606950ec842304bf75cf85baef707b853b03"))
+ (package
+ (name "emacs-gif-screencast")
+ (version (git-version "20180309" "1" commit))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/Ambrevar/emacs-gif-screencast/archive/"
+ commit
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1f83sdx4qj4g6byvbdq7aayissbcy5lqm43djp8h0lq455nf7jkc"))))
+ (build-system emacs-build-system)
+ (inputs
+ `(("scrot" ,scrot)
+ ("imagemagick" ,imagemagick)
+ ("gifsicle" ,gifsicle)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((scrot (assoc-ref inputs "scrot"))
+ (imagemagick (assoc-ref inputs "imagemagick"))
+ (gifsicle (assoc-ref inputs "gifsicle")))
+ ;; Specify the absolute file names of the various
+ ;; programs so that everything works out-of-the-box.
+ (emacs-substitute-variables
+ "gif-screencast.el"
+ ("gif-screencast-program"
+ (string-append scrot "/bin/scrot"))
+ ("gif-screencast-convert-program"
+ (string-append imagemagick "/bin/convert"))
+ ("gif-screencast-cropping-program"
+ (string-append imagemagick "/bin/mogrify"))
+ ("gif-screencast-optimize-program"
+ (string-append imagemagick "/bin/gifsicle")))))))))
+ (home-page
+ "https://github.com/Ambrevar/emacs-gif-screencast")
+ (synopsis "One-frame-per-action GIF recording")
+ (description
+ "Call @code{gif-screencast} to start a recording.
+A screenshot is taken for every user action. Call
address@hidden (<f9> by default) to finish recording and create
+the GIF result.")
+ (license license:gpl3+))))
- branch master updated (62d78ec -> ad3a580), Ludovic Courtès, 2018/06/08
- 04/11: gnu: Add emacs-gif-screencast.,
Ludovic Courtès <=
- 08/11: gnu: Add emacs-helm-emms., Ludovic Courtès, 2018/06/08
- 05/11: gnu: Add emacs-google-translate., Ludovic Courtès, 2018/06/08
- 10/11: gnu: Add emacs-helm-flycheck., Ludovic Courtès, 2018/06/08
- 06/11: gnu: Add emacs-helm-company., Ludovic Courtès, 2018/06/08
- 11/11: gnu: hpcguix-web: Update to commit '87cb516'., Ludovic Courtès, 2018/06/08
- 07/11: gnu: Add emacs-helm-descbinds., Ludovic Courtès, 2018/06/08
- 09/11: gnu: Add emacs-helm-exwm., Ludovic Courtès, 2018/06/08
- 01/11: nls: Update 'da' translation., Ludovic Courtès, 2018/06/08
- 03/11: doc: Regenerate *.fr.texi., Ludovic Courtès, 2018/06/08
- 02/11: doc: Update 'fr' translation., Ludovic Courtès, 2018/06/08