guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27643] [PATCH] gnu: Add simplescreenrecorder.


From: Alex Vong
Subject: [bug#27643] [PATCH] gnu: Add simplescreenrecorder.
Date: Tue, 11 Jul 2017 23:22:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Arun Isaac <address@hidden> writes:

>>>> + ("qt" ,qt-4) ; README.md: using Qt 5 causes some stability issues
>>>> +              ("ffmpeg" ,ffmpeg)
>>>> +              ("alsa-lib" ,alsa-lib)
>>>> +              ("pulseaudio" ,pulseaudio)
>>>> +              ("jack" ,jack-1)
>>>> +              ("glu" ,glu)
>>>> +              ("libx11" ,libx11)
>>>> +              ("libxfixes" ,libxfixes)
>>>> +              ("libxext" ,libxext)
>>>
>>> The package builds successfully without libx11, libxfixes and libxext
>>> included as inputs. Are you sure they are needed? Could you check again?
>>>
>>>> +              ("libxi" ,libxi)))
>>>
>> These packages are listed as Build dependencies in README[0]. What do
>> you think?
>
> I think we should not include them as dependencies. We can always
> include them later if we have problems.
>
> I did start the application built without these packages, and it started
> successfully. If you are a user of this package, you could test it more
> extensively.
>
> WDYT?

I have tested it just now. Indeed, it works without those packages. (I
recorded a 10s video.) So I remove them.

Here is the new patch:
From 3ca05bb6f3a9c6097c72681734f1fcf754cee424 Mon Sep 17 00:00:00 2001
From: Alex Vong <address@hidden>
Date: Mon, 10 Jul 2017 23:25:26 +0800
Subject: [PATCH] gnu: Add simplescreenrecorder.

* gnu/packages/video.scm (simplescreenrecorder): New variable.
---
 gnu/packages/video.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5338d375e..dc73114e4 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2015 Andy Patterson <address@hidden>
 ;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
-;;; Copyright © 2015, 2016 Alex Vong <address@hidden>
+;;; Copyright © 2015, 2016, 2017 Alex Vong <address@hidden>
 ;;; Copyright © 2016, 2017 Alex Griffin <address@hidden>
 ;;; Copyright © 2016 Kei Kebreau <address@hidden>
 ;;; Copyright © 2016 Dmitry Nikolaev <address@hidden>
@@ -1888,6 +1888,41 @@ your graphical desktop and encodes it as a video.  This 
is a useful tool for
 making @dfn{screencasts}.")
     (license license:gpl2+)))
 
+(define-public simplescreenrecorder
+  (package
+    (name "simplescreenrecorder")
+    (version "0.3.8")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/MaartenBaert/ssr/";
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0v8w35n8w772s08w7k0icynqdsdakbrcanbgx6j847bfqfsg21gg"))))
+    (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    ;; Although libx11, libxfixes, libxext are listed as build dependencies in
+    ;; README. The program builds and functions properly without it.
+    ;; As a result, they are omitted. Please add them back if problems appear.
+    (inputs `(("alsa-lib" ,alsa-lib)
+              ("ffmpeg" ,ffmpeg)
+              ("glu" ,glu)
+              ("jack" ,jack-1)
+              ("libxi" ,libxi)
+              ("pulseaudio" ,pulseaudio)
+              ("qt" ,qt-4))) ; README: using Qt 5 causes some stability issues
+    ;; Using HTTPS causes part of the page displayed improperly.
+    (home-page "http://www.maartenbaert.be/simplescreenrecorder/";)
+    (synopsis "Screen recorder")
+    (description "SimpleScreenRecorder is a screen recorder.  Despite the name,
+this program is actually quite complex.  It's @emph{simple} in the sense that
+it's easier to use than ffmpeg/avconv or VLC.")
+    (license (list license:gpl3+ ; most files
+                   license:zlib ; glinject/elfhacks.*
+                   license:isc ; glinject/*
+                   license:x11)))) ; build-aux/install-sh
+
 (define-public libsmpeg
   (package
     (name "libsmpeg")
-- 
2.13.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]