unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33098] Opus audio updates
@ 2018-10-19 21:06 Leo Famulari
  2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
  2018-10-23  4:19 ` bug#33098: Opus audio updates Leo Famulari
  0 siblings, 2 replies; 7+ messages in thread
From: Leo Famulari @ 2018-10-19 21:06 UTC (permalink / raw)
  To: 33098

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

These patches update Opus, opus-tools, and opusfile. They also add the
new package libopusenc.

I've made some basic tests by encoding and decoding Opus files with
opus-tools and opusfile, which should exercise Opus and libopusenc.

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

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

* [bug#33098] [PATCH 1/4] gnu: Add libopusenc.
  2018-10-19 21:06 [bug#33098] Opus audio updates Leo Famulari
@ 2018-10-19 21:11 ` Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 2/4] gnu: opusfile: Propagate dependencies required in pkg-config Leo Famulari
                     ` (2 more replies)
  2018-10-23  4:19 ` bug#33098: Opus audio updates Leo Famulari
  1 sibling, 3 replies; 7+ messages in thread
From: Leo Famulari @ 2018-10-19 21:11 UTC (permalink / raw)
  To: 33098

* gnu/packages/xiph.scm (libopusenc): New variable.
---
 gnu/packages/xiph.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 7ecfa580e..dc4f9f14d 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -412,6 +412,28 @@ windows systems.")
     (license license:bsd-3)
     (home-page "https://www.opus-codec.org")))
 
+(define-public libopusenc
+  (package
+    (name "libopusenc")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://archive.mozilla.org/pub/opus/"
+                                  "libopusenc-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (propagated-inputs
+     `(("opus" ,opus)))
+    (synopsis "Library for encoding Opus audio files and streams ")
+    (description "The libopusenc libraries provide a high-level API for
+encoding Opus files and stream.")
+    (home-page "https://www.opus-codec.org/")
+    (license license:bsd-3)))
+
 (define-public icecast
   (package
     (name "icecast")
-- 
2.19.1

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

* [bug#33098] [PATCH 2/4] gnu: opusfile: Propagate dependencies required in pkg-config.
  2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
@ 2018-10-19 21:11   ` Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 3/4] gnu: opus-tools: Update to 0.2 Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 4/4] gnu: Opus: Update to 1.3 Leo Famulari
  2 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2018-10-19 21:11 UTC (permalink / raw)
  To: 33098

* gnu/packages/xiph.scm (opusfile)[inputs]: Move libogg and openssl to
propagated-inputs.
---
 gnu/packages/xiph.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index dc4f9f14d..0a0e615a0 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -397,13 +397,13 @@ decoding .opus files.")
                (base32
                 "1gq3aszzl5glgbajw5p1f5a1kdyf23w5vjdmwwrk246syin9pkkl"))))
     (build-system gnu-build-system)
+    ;; Required by opusfile.pc and opusurl.pc.
     (propagated-inputs
-     `(("opus" ,opus)))
+     `(("libogg" ,libogg)
+       ("openssl" ,openssl)
+       ("opus" ,opus)))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
-    (inputs
-     `(("libogg" ,libogg)
-       ("openssl" ,openssl)))
     (synopsis "Versatile audio codec")
     (description
      "The opusfile library provides seeking, decode, and playback of Opus
-- 
2.19.1

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

* [bug#33098] [PATCH 3/4] gnu: opus-tools: Update to 0.2.
  2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 2/4] gnu: opusfile: Propagate dependencies required in pkg-config Leo Famulari
@ 2018-10-19 21:11   ` Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 4/4] gnu: Opus: Update to 1.3 Leo Famulari
  2 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2018-10-19 21:11 UTC (permalink / raw)
  To: 33098

* gnu/packages/xiph.scm (opus-tools): Update to 0.2.
[native-inputs]: Add pkg-config.
[inputs]: Add libopusenc and opusfile. Remove libogg and opus.
---
 gnu/packages/xiph.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 0a0e615a0..32f4e4da6 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -354,7 +354,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
 (define opus-tools
   (package
     (name "opus-tools")
-    (version "0.1.10")
+    (version "0.2")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -362,7 +362,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
                     version ".tar.gz"))
               (sha256
                (base32
-                "135jfb9ny3xvd27idsxj7j5ns90lslbyrq70cq3bfwcls4r7add2"))))
+                "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl"))))
     (build-system gnu-build-system)
     (arguments
      ;; The package developers misuse pkg-config such that it doesn't work
@@ -373,8 +373,10 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
                                               "/include -I"
                                               (assoc-ref %build-inputs "opus")
                                               "/include/opus"))))
-    (inputs `(("libogg" ,libogg)
-              ("opus" ,opus)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs `(("libopusenc" ,libopusenc)
+              ("opusfile" ,opusfile)
               ("flac" ,flac)))
     (synopsis
      "Command line utilities to encode, inspect, and decode .opus files")
-- 
2.19.1

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

* [bug#33098] [PATCH 4/4] gnu: Opus: Update to 1.3.
  2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 2/4] gnu: opusfile: Propagate dependencies required in pkg-config Leo Famulari
  2018-10-19 21:11   ` [bug#33098] [PATCH 3/4] gnu: opus-tools: Update to 0.2 Leo Famulari
@ 2018-10-19 21:11   ` Leo Famulari
  2 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2018-10-19 21:11 UTC (permalink / raw)
  To: 33098

* gnu/packages/xiph.scm (opus): Update to 1.3.
---
 gnu/packages/xiph.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 32f4e4da6..f7458c4b6 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -332,14 +332,14 @@ ogginfo, to obtain information (tags, bitrate, length, etc.) about
 (define opus
   (package
     (name "opus")
-    (version "1.2.1")
+    (version "1.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://archive.mozilla.org/pub/opus/opus-"
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0ch7yzgg4bn1g36bpjsfrgs4n19c84d7wpdida6yzifrrhwx7byg"))))
+                "0l651n19h0vhc0sn6w2c95hgqks1i8m4b3j04ncaznzjznp6jgag"))))
     (build-system gnu-build-system)
     (synopsis "Versatile audio codec")
     (description
-- 
2.19.1

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

* bug#33098: Opus audio updates
  2018-10-19 21:06 [bug#33098] Opus audio updates Leo Famulari
  2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
@ 2018-10-23  4:19 ` Leo Famulari
  2018-10-23 21:14   ` [bug#33098] " Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2018-10-23  4:19 UTC (permalink / raw)
  To: 33098-done

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

Pushed as 89f731b1506b3b560f4a179da2889408dfa881d

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

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

* [bug#33098] Opus audio updates
  2018-10-23  4:19 ` bug#33098: Opus audio updates Leo Famulari
@ 2018-10-23 21:14   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2018-10-23 21:14 UTC (permalink / raw)
  To: 33098

Leo Famulari <leo@famulari.name> skribis:

> Pushed as 89f731b1506b3b560f4a179da2889408dfa881d

Thank you (the patches all LGTM).

Ludo’.

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

end of thread, other threads:[~2018-10-23 21:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-19 21:06 [bug#33098] Opus audio updates Leo Famulari
2018-10-19 21:11 ` [bug#33098] [PATCH 1/4] gnu: Add libopusenc Leo Famulari
2018-10-19 21:11   ` [bug#33098] [PATCH 2/4] gnu: opusfile: Propagate dependencies required in pkg-config Leo Famulari
2018-10-19 21:11   ` [bug#33098] [PATCH 3/4] gnu: opus-tools: Update to 0.2 Leo Famulari
2018-10-19 21:11   ` [bug#33098] [PATCH 4/4] gnu: Opus: Update to 1.3 Leo Famulari
2018-10-23  4:19 ` bug#33098: Opus audio updates Leo Famulari
2018-10-23 21:14   ` [bug#33098] " Ludovic Courtès

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).