unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38126] [PATCH] gnu: Add libltc.
@ 2019-11-08 10:47 Alexandros Theodotou
  2019-11-10 22:05 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-08 10:47 UTC (permalink / raw)
  To: 38126

 From 061201b2179f5ac1c0a3cce89a256d7722c31978 Mon Sep 17 00:00:00 2001
 From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 10:45:11 +0000
Subject: [PATCH] gnu: Add libltc.

* gnu/packages/audio.scm: (libltc): New variable.
---
  gnu/packages/audio.scm | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 28dbf06f3b..acfd517bee 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,6 +23,7 @@
  ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
  ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
  ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -3773,3 +3774,30 @@ other Gnaural instances, allowing synchronous 
sessions between many users.")
  a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the 
audio
  stream to one or more IceCast and/or ShoutCast servers.")
      (license license:gpl3+)))
+
+(define-public libltc
+  (package
+    (name "libltc")
+    (version "1.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://github.com/x42/libltc/releases/download/v"
+               version "/libltc-" version ".tar.gz"))
+        (sha256
+          (base32
+            "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f)) ; tests fail
+    (inputs
+     `(("glibc" ,glibc)))
+    (native-inputs
+     `(("doxygen" ,doxygen)
+       ("pkg-config" ,pkg-config)))
+    (synopsis "Linear/Logitudinal Time Code (LTC) Library")
+    (description "Libltc is a POSIX-C Library for handling 
Linear/Logitudinal
+Time Code (LTC).")
+    (home-page "http://x42.github.io/libltc/")
+    (license license:lgpl3+)))
-- 
2.24.0

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

* [bug#38126] [PATCH] gnu: Add libltc.
  2019-11-08 10:47 [bug#38126] [PATCH] gnu: Add libltc Alexandros Theodotou
@ 2019-11-10 22:05 ` Marius Bakke
  2019-11-11  2:35   ` Alexandros Theodotou
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-11-10 22:05 UTC (permalink / raw)
  To: Alexandros Theodotou, 38126

[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

Alexandros Theodotou <alex@zrythm.org> writes:

>  From 061201b2179f5ac1c0a3cce89a256d7722c31978 Mon Sep 17 00:00:00 2001
>  From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 10:45:11 +0000
> Subject: [PATCH] gnu: Add libltc.
>
> * gnu/packages/audio.scm: (libltc): New variable.

[...]

> +(define-public libltc
> +  (package
> +    (name "libltc")
> +    (version "1.3.1")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append
> +               "https://github.com/x42/libltc/releases/download/v"
> +               version "/libltc-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f)) ; tests fail

Could you give some information as to why the tests fail?  Often it's
simply because of '/bin/sh' references and similar.  You can investigate
a failed build with 'guix build --keep-failed'.

> +    (inputs
> +     `(("glibc" ,glibc)))

glibc is always available and does not need to be explicitly provided.

> +    (native-inputs
> +     `(("doxygen" ,doxygen)
> +       ("pkg-config" ,pkg-config)))
> +    (synopsis "Linear/Logitudinal Time Code (LTC) Library")
> +    (description "Libltc is a POSIX-C Library for handling 
> Linear/Logitudinal
> +Time Code (LTC).")
> +    (home-page "http://x42.github.io/libltc/")
                     ^^^
                   HTTPS
> +    (license license:lgpl3+)))
> -- 
> 2.24.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38126] [PATCH] gnu: Add libltc.
  2019-11-10 22:05 ` Marius Bakke
@ 2019-11-11  2:35   ` Alexandros Theodotou
  2019-11-13 22:25     ` bug#38126: " Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-11  2:35 UTC (permalink / raw)
  To: Marius Bakke, 38126


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

Patch updated

[-- Attachment #1.2: 0001-gnu-Add-libltc.patch --]
[-- Type: text/x-patch, Size: 1913 bytes --]

From 54e5a26b1a2d95370167d09591c2d12bf7b87503 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 10:45:11 +0000
Subject: [PATCH] gnu: Add libltc.

* gnu/packages/audio.scm: (libltc): New variable.
---
 gnu/packages/audio.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bc79225115..43917d3eb4 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3766,3 +3767,28 @@ other Gnaural instances, allowing synchronous sessions between many users.")
 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio
 stream to one or more IceCast and/or ShoutCast servers.")
     (license license:gpl3+)))
+
+(define-public libltc
+  (package
+    (name "libltc")
+    (version "1.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+          (string-append "https://github.com/x42/libltc/releases/download/v"
+                         version "/libltc-" version ".tar.gz"))
+        (sha256
+          (base32
+            "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:parallel-tests? #f)) ; tests fail otherwise
+    (native-inputs
+     `(("doxygen" ,doxygen)
+       ("pkg-config" ,pkg-config)))
+    (synopsis "Linear/Logitudinal Time Code (LTC) Library")
+    (description "Libltc is a POSIX-C Library for handling Linear/Logitudinal
+Time Code (LTC).")
+    (home-page "https://x42.github.io/libltc/")
+    (license license:lgpl3+)))
-- 
2.24.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#38126: [PATCH] gnu: Add libltc.
  2019-11-11  2:35   ` Alexandros Theodotou
@ 2019-11-13 22:25     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2019-11-13 22:25 UTC (permalink / raw)
  To: Alexandros Theodotou, 38126-done

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Alexandros Theodotou <alex@zrythm.org> writes:

> From 54e5a26b1a2d95370167d09591c2d12bf7b87503 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 10:45:11 +0000
> Subject: [PATCH] gnu: Add libltc.
>
> * gnu/packages/audio.scm: (libltc): New variable.

This was missing a module import for (gnu packages documentation).

I also tweaked synopsis and description slightly.  Applied, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-11-13 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 10:47 [bug#38126] [PATCH] gnu: Add libltc Alexandros Theodotou
2019-11-10 22:05 ` Marius Bakke
2019-11-11  2:35   ` Alexandros Theodotou
2019-11-13 22:25     ` bug#38126: " Marius Bakke

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).