all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add GNU Speex.
@ 2013-01-18  2:14 Nikita Karetnikov
  2013-01-18 13:09 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Karetnikov @ 2013-01-18  2:14 UTC (permalink / raw)
  To: bug-guix


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

Hi,

Can I push this patch?

Nikita


[-- Attachment #1.2: 0001-gnu-Add-GNU-Speex.patch --]
[-- Type: text/x-diff, Size: 3041 bytes --]

From eaac22aaf385e846bbf207886498302405f91208 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
Date: Fri, 18 Jan 2013 02:06:35 +0000
Subject: [PATCH] gnu: Add GNU Speex.

* gnu/packages/speex.scm: New file.
* Makefile.am (MODULES): Add it.
---
 Makefile.am            |    1 +
 gnu/packages/speex.scm |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 gnu/packages/speex.scm

diff --git a/Makefile.am b/Makefile.am
index 3ac2379..68ca350 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -112,6 +112,7 @@ MODULES =					\
   gnu/packages/rsync.scm			\
   gnu/packages/scheme.scm			\
   gnu/packages/shishi.scm			\
+  gnu/packages/speex.scm			\
   gnu/packages/system.scm			\
   gnu/packages/tcl.scm				\
   gnu/packages/texinfo.scm			\
diff --git a/gnu/packages/speex.scm b/gnu/packages/speex.scm
new file mode 100644
index 0000000..6792f9f
--- /dev/null
+++ b/gnu/packages/speex.scm
@@ -0,0 +1,48 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages speex)
+  #:use-module ((guix licenses) #:select (bsd-3))
+  #:use-module (gnu packages libogg)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public speex
+  (package
+    (name "speex")
+    (version "1.2rc1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "http://downloads.xiph.org/releases/speex/speex-"
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "19mpkhbz3s08snvndn0h1dk2j139max6b0rr86nnsjmxazf30brl"))))
+    (build-system gnu-build-system)
+    (inputs `(("libogg" ,libogg)))
+    (home-page "https://gnu.org/software/speex")
+    (synopsis
+     "GNU Speex, a patent-free voice codec")
+    (description
+     "GNU Speex is a patent-free voice codec.  It is designed to
+compress voice at bitrates in the 2--45 kbps range.  Possible
+applications include VoIP, internet audio streaming, archiving of speech
+data (e.g., voice mail), and audio books.")
+    (license bsd-3))) ; 'src/getopt.c' is under LGPLv2+
\ No newline at end of file
-- 
1.7.5.4


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: [PATCH] gnu: Add GNU Speex.
  2013-01-18  2:14 [PATCH] gnu: Add GNU Speex Nikita Karetnikov
@ 2013-01-18 13:09 ` Ludovic Courtès
  2013-01-18 13:19   ` Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2013-01-18 13:09 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: bug-guix

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> From eaac22aaf385e846bbf207886498302405f91208 Mon Sep 17 00:00:00 2001
> From: Nikita Karetnikov <nikita@karetnikov.org>
> Date: Fri, 18 Jan 2013 02:06:35 +0000
> Subject: [PATCH] gnu: Add GNU Speex.
>
> * gnu/packages/speex.scm: New file.
> * Makefile.am (MODULES): Add it.

Looks good to me, please push!

Ludo’.

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

* Re: [PATCH] gnu: Add GNU Speex.
  2013-01-18 13:09 ` Ludovic Courtès
@ 2013-01-18 13:19   ` Andreas Enge
  2013-01-18 17:37     ` Nikita Karetnikov
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2013-01-18 13:19 UTC (permalink / raw)
  To: bug-guix

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

Am Freitag, 18. Januar 2013 schrieb Ludovic Courtès:
> Nikita Karetnikov <nikita@karetnikov.org> skribis:
> > From eaac22aaf385e846bbf207886498302405f91208 Mon Sep 17 00:00:00 2001
> > From: Nikita Karetnikov <nikita@karetnikov.org>
> > Date: Fri, 18 Jan 2013 02:06:35 +0000
> > Subject: [PATCH] gnu: Add GNU Speex.
> > * gnu/packages/speex.scm: New file.
> > * Makefile.am (MODULES): Add it.

If you are okay with it, Nikita, I would then push my oggvorbis package, 
after adding a dependency on speex to vorbis-tools.

Andreas

[-- Attachment #2: Type: text/html, Size: 2800 bytes --]

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

* Re: [PATCH] gnu: Add GNU Speex.
  2013-01-18 13:19   ` Andreas Enge
@ 2013-01-18 17:37     ` Nikita Karetnikov
  2013-01-18 19:34       ` Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Karetnikov @ 2013-01-18 17:37 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

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

> If you are okay with it, Nikita, I would then push my oggvorbis
> package, after adding a dependency on speex to vorbis-tools.

Could you push 'oggvorbis' first?  Then I'll push 'speex'.  And you'll
be able to update 'oggvorbis'.

By the way, should I use a separate file for GNU Speex?  Would it be
better to add it to the 'oggvorbis' package?

Nikita

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: [PATCH] gnu: Add GNU Speex.
  2013-01-18 17:37     ` Nikita Karetnikov
@ 2013-01-18 19:34       ` Andreas Enge
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2013-01-18 19:34 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: bug-guix

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

Am Freitag, 18. Januar 2013 schrieb Nikita Karetnikov:
> > If you are okay with it, Nikita, I would then push my oggvorbis
> > package, after adding a dependency on speex to vorbis-tools.
> 
> Could you push 'oggvorbis' first?  Then I'll push 'speex'.

Okay, done, thanks!

> By the way, should I use a separate file for GNU Speex?  Would it be
> better to add it to the 'oggvorbis' package?

I think it would make sense to add it to the oggvorbis package, to have all 
the xiph related programs in one file. We could also rename the package to 
xiph (I hesitated in the first place as I was not sure about using a 
company's name, even though it is apparently a non-profit foundation).

While you are at it, you may as well add the speex input to vorbis-tools.

Andreas

[-- Attachment #2: Type: text/html, Size: 3602 bytes --]

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

end of thread, other threads:[~2013-01-18 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18  2:14 [PATCH] gnu: Add GNU Speex Nikita Karetnikov
2013-01-18 13:09 ` Ludovic Courtès
2013-01-18 13:19   ` Andreas Enge
2013-01-18 17:37     ` Nikita Karetnikov
2013-01-18 19:34       ` Andreas Enge

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.