unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New package recipe: libopus-1.1
@ 2014-01-22 15:23 Sree Harsha Totakura
  2014-01-22 15:29 ` Cyril Roelandt
  0 siblings, 1 reply; 16+ messages in thread
From: Sree Harsha Totakura @ 2014-01-22 15:23 UTC (permalink / raw)
  To: guix-devel


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

Hi,

Attached is a recipe for libopus-1.1.  Please include it.

Thank you,
Sree

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-new-package-libopus-1.1.patch --]
[-- Type: text/x-patch; name="0001-new-package-libopus-1.1.patch", Size: 2816 bytes --]

From eafeaed576eccd20e108f62dc61d89d2c4be353b Mon Sep 17 00:00:00 2001
From: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Wed, 22 Jan 2014 16:17:18 +0100
Subject: [PATCH] new package: libopus-1.1


Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>
---
 gnu/packages/opus.scm |   50 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 gnu/packages/opus.scm

diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm
new file mode 100644
index 0000000..2102b59
--- /dev/null
+++ b/gnu/packages/opus.scm
@@ -0,0 +1,50 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
+;;;
+;;; 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/>.
+
+;; Author:  Sree Harsha Totakura <sreeharsha@totakura.in>
+
+(define-module (gnu packages opus)
+  #:use-module (gnu packages)
+  #:use-module ((guix licenses)
+                #:renamer (symbol-prefix-proc 'license:))
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public libopus
+  (package
+    (name "libopus")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.xiph.org/releases/opus/opus-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
+    (build-system gnu-build-system)
+    (synopsis "Libopus - hightly versatile audio codec")
+    (description "Opus is a totally open, royalty-free, highly versatile audio
+codec. Opus is unmatched for interactive speech and music transmission over
+the Internet, but is also intended for storage and streaming applications. It
+is standardized by the Internet Engineering Task Force (IETF) as RFC 6716
+which incorporated technology from Skype's SILK codec and Xiph.Org's CELT
+codec.")
+    (license license:bsd-3)
+    (home-page "http://www.opus-codec.org/")))
\ No newline at end of file
-- 
1.7.10.4


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: New package recipe: libopus-1.1
  2014-01-22 15:23 New package recipe: libopus-1.1 Sree Harsha Totakura
@ 2014-01-22 15:29 ` Cyril Roelandt
  2014-01-22 16:11   ` Sree Harsha Totakura
  0 siblings, 1 reply; 16+ messages in thread
From: Cyril Roelandt @ 2014-01-22 15:29 UTC (permalink / raw)
  To: guix-devel

On 01/22/2014 04:23 PM, Sree Harsha Totakura wrote:
> Hi,

Hello,

>
> Attached is a recipe for libopus-1.1.  Please include it.
>

Comments inlined.

> Thank you,
> Sree
>
>
> 0001-new-package-libopus-1.1.patch
>
>
>  From eafeaed576eccd20e108f62dc61d89d2c4be353b Mon Sep 17 00:00:00 2001
> From: Sree Harsha Totakura<sreeharsha@totakura.in>
> Date: Wed, 22 Jan 2014 16:17:18 +0100
> Subject: [PATCH] new package: libopus-1.1
>
>
> Signed-off-by: Sree Harsha Totakura<sreeharsha@totakura.in>
> ---
>   gnu/packages/opus.scm |   50 +++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 50 insertions(+)
>   create mode 100644 gnu/packages/opus.scm
>
> diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm
> new file mode 100644
> index 0000000..2102b59
> --- /dev/null
> +++ b/gnu/packages/opus.scm
> @@ -0,0 +1,50 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2013 Andreas Enge<andreas@enge.fr>
> +;;;

Please use the right Copyright...

> +;;; 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/>.
> +
> +;; Author:  Sree Harsha Totakura<sreeharsha@totakura.in>
> +

... and remove this.

> +(define-module (gnu packages opus)
> +  #:use-module (gnu packages)
> +  #:use-module ((guix licenses)
> +                #:renamer (symbol-prefix-proc 'license:))

I do not think you need a #:renamer here.

> +  #:use-module (guix packages)
> +  #:use-module (guix download)
> +  #:use-module (guix build-system gnu))
> +
> +(define-public libopus
> +  (package
> +    (name "libopus")
> +    (version "1.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +"http://downloads.xiph.org/releases/opus/opus-"  version
> +                    ".tar.gz"))
> +              (sha256
> +               (base32
> +                "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
> +    (build-system gnu-build-system)
> +    (synopsis "Libopus - hightly versatile audio codec")

s/hightly/highly/

> +    (description "Opus is a totally open, royalty-free, highly versatile audio
> +codec. Opus is unmatched for interactive speech and music transmission over
> +the Internet, but is also intended for storage and streaming applications. It
> +is standardized by the Internet Engineering Task Force (IETF) as RFC 6716
> +which incorporated technology from Skype's SILK codec and Xiph.Org's CELT
> +codec.")
> +    (license license:bsd-3)

'bsd-3' should be enough.
> +    (home-page"http://www.opus-codec.org/")))
> \ No newline at end of file
> -- 1.7.10.4


Also, please add the new file to gnu-system.am.


Thanks!
Cyril Roelandt.

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

* Re: New package recipe: libopus-1.1
  2014-01-22 15:29 ` Cyril Roelandt
@ 2014-01-22 16:11   ` Sree Harsha Totakura
  2014-01-22 16:37     ` Mark H Weaver
  2014-01-22 20:59     ` Andreas Enge
  0 siblings, 2 replies; 16+ messages in thread
From: Sree Harsha Totakura @ 2014-01-22 16:11 UTC (permalink / raw)
  To: Cyril Roelandt, guix-devel


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

Hi,

Thank you for the feedback.  Here is the new patch incorporating your
suggestions.

Sree

On 01/22/2014 04:29 PM, Cyril Roelandt wrote:
> On 01/22/2014 04:23 PM, Sree Harsha Totakura wrote:
>> Hi,
> 
> Hello,
> 
>>
>> Attached is a recipe for libopus-1.1.  Please include it.
>>
> 
> Comments inlined.
> 
>> Thank you,
>> Sree
>>
>>
>> 0001-new-package-libopus-1.1.patch
>>
>>
>>  From eafeaed576eccd20e108f62dc61d89d2c4be353b Mon Sep 17 00:00:00 2001
>> From: Sree Harsha Totakura<sreeharsha@totakura.in>
>> Date: Wed, 22 Jan 2014 16:17:18 +0100
>> Subject: [PATCH] new package: libopus-1.1
>>
>>
>> Signed-off-by: Sree Harsha Totakura<sreeharsha@totakura.in>
>> ---
>>   gnu/packages/opus.scm |   50
>> +++++++++++++++++++++++++++++++++++++++++++++++++
>>   1 file changed, 50 insertions(+)
>>   create mode 100644 gnu/packages/opus.scm
>>
>> diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm
>> new file mode 100644
>> index 0000000..2102b59
>> --- /dev/null
>> +++ b/gnu/packages/opus.scm
>> @@ -0,0 +1,50 @@
>> +;;; GNU Guix --- Functional package management for GNU
>> +;;; Copyright © 2013 Andreas Enge<andreas@enge.fr>
>> +;;;
> 
> Please use the right Copyright...
> 
>> +;;; 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/>.
>> +
>> +;; Author:  Sree Harsha Totakura<sreeharsha@totakura.in>
>> +
> 
> ... and remove this.
> 
>> +(define-module (gnu packages opus)
>> +  #:use-module (gnu packages)
>> +  #:use-module ((guix licenses)
>> +                #:renamer (symbol-prefix-proc 'license:))
> 
> I do not think you need a #:renamer here.
> 
>> +  #:use-module (guix packages)
>> +  #:use-module (guix download)
>> +  #:use-module (guix build-system gnu))
>> +
>> +(define-public libopus
>> +  (package
>> +    (name "libopus")
>> +    (version "1.1")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append
>> +"http://downloads.xiph.org/releases/opus/opus-"  version
>> +                    ".tar.gz"))
>> +              (sha256
>> +               (base32
>> +               
>> "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
>> +    (build-system gnu-build-system)
>> +    (synopsis "Libopus - hightly versatile audio codec")
> 
> s/hightly/highly/
> 
>> +    (description "Opus is a totally open, royalty-free, highly
>> versatile audio
>> +codec. Opus is unmatched for interactive speech and music
>> transmission over
>> +the Internet, but is also intended for storage and streaming
>> applications. It
>> +is standardized by the Internet Engineering Task Force (IETF) as RFC
>> 6716
>> +which incorporated technology from Skype's SILK codec and Xiph.Org's
>> CELT
>> +codec.")
>> +    (license license:bsd-3)
> 
> 'bsd-3' should be enough.
>> +    (home-page"http://www.opus-codec.org/")))
>> \ No newline at end of file
>> -- 1.7.10.4
> 
> 
> Also, please add the new file to gnu-system.am.
> 
> 
> Thanks!
> Cyril Roelandt.
> 
> 

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-new-package-libopus-1.1.patch --]
[-- Type: text/x-patch; name="0001-new-package-libopus-1.1.patch", Size: 3105 bytes --]

From 8feb9cdc97f42808297ace8a73ecc8cb88a1a045 Mon Sep 17 00:00:00 2001
From: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Wed, 22 Jan 2014 17:09:24 +0100
Subject: [PATCH] new package: libopus-1.1


Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>
---
 gnu-system.am         |    1 +
 gnu/packages/opus.scm |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 gnu/packages/opus.scm

diff --git a/gnu-system.am b/gnu-system.am
index ffa81ac..a3ecd49 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -149,6 +149,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/onc-rpc.scm			\
   gnu/packages/openldap.scm			\
   gnu/packages/openssl.scm			\
+  gnu/packages/opus.scm				\
   gnu/packages/package-management.scm		\
   gnu/packages/parallel.scm			\
   gnu/packages/parted.scm			\
diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm
new file mode 100644
index 0000000..fad265e
--- /dev/null
+++ b/gnu/packages/opus.scm
@@ -0,0 +1,47 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
+;;;
+;;; 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 opus)
+  #:use-module (gnu packages)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public libopus
+  (package
+    (name "libopus")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.xiph.org/releases/opus/opus-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
+    (build-system gnu-build-system)
+    (synopsis "Libopus - highly versatile audio codec")
+    (description "Opus is a totally open, royalty-free, highly versatile audio
+codec. Opus is unmatched for interactive speech and music transmission over
+the Internet, but is also intended for storage and streaming applications. It
+is standardized by the Internet Engineering Task Force (IETF) as RFC 6716
+which incorporated technology from Skype's SILK codec and Xiph.Org's CELT
+codec.")
+    (license bsd-3)
+    (home-page "http://www.opus-codec.org/")))
-- 
1.7.10.4


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: New package recipe: libopus-1.1
  2014-01-22 16:11   ` Sree Harsha Totakura
@ 2014-01-22 16:37     ` Mark H Weaver
  2014-01-22 17:10       ` Sree Harsha Totakura
  2014-01-22 20:59     ` Andreas Enge
  1 sibling, 1 reply; 16+ messages in thread
From: Mark H Weaver @ 2014-01-22 16:37 UTC (permalink / raw)
  To: sreeharsha; +Cc: guix-devel

Hi Sree,

Sree Harsha Totakura <sreeharsha@totakura.in> writes:
> From 8feb9cdc97f42808297ace8a73ecc8cb88a1a045 Mon Sep 17 00:00:00 2001
> From: Sree Harsha Totakura <sreeharsha@totakura.in>
> Date: Wed, 22 Jan 2014 17:09:24 +0100
> Subject: [PATCH] new package: libopus-1.1
>
>
> Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>

Please follow our conventions for the commit logs.  We follow the
conventions for changelogs described in the GNU coding standards, but it
might be easier to simply browse the existing commits for examples.

In this case, a suitable commit log would be:

--8<---------------cut here---------------start------------->8---
gnu: Add libopus.

* gnu/packages/opus.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
--8<---------------cut here---------------end--------------->8---

    Thanks!
      Mark

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

* Re: New package recipe: libopus-1.1
  2014-01-22 16:37     ` Mark H Weaver
@ 2014-01-22 17:10       ` Sree Harsha Totakura
  2014-01-22 22:42         ` Ludovic Courtès
  0 siblings, 1 reply; 16+ messages in thread
From: Sree Harsha Totakura @ 2014-01-22 17:10 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel


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

Hi,

Here is the patch with the suggested commit message.

Sree

On 01/22/2014 05:37 PM, Mark H Weaver wrote:
> gnu: Add libopus.
> 
> * gnu/packages/opus.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-libopus.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-libopus.patch", Size: 3181 bytes --]

From 18c8bb6e1064ec39982c5350e22c74562fd6ea94 Mon Sep 17 00:00:00 2001
From: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Wed, 22 Jan 2014 18:07:06 +0100
Subject: [PATCH] gnu: Add libopus.

* gnu/packages/opus.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>
---
 gnu-system.am         |    1 +
 gnu/packages/opus.scm |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 gnu/packages/opus.scm

diff --git a/gnu-system.am b/gnu-system.am
index 43f95b3..6a88c45 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -149,6 +149,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/onc-rpc.scm			\
   gnu/packages/openldap.scm			\
   gnu/packages/openssl.scm			\
+  gnu/packages/opus.scm				\
   gnu/packages/package-management.scm		\
   gnu/packages/parallel.scm			\
   gnu/packages/parted.scm			\
diff --git a/gnu/packages/opus.scm b/gnu/packages/opus.scm
new file mode 100644
index 0000000..fad265e
--- /dev/null
+++ b/gnu/packages/opus.scm
@@ -0,0 +1,47 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
+;;;
+;;; 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 opus)
+  #:use-module (gnu packages)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public libopus
+  (package
+    (name "libopus")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.xiph.org/releases/opus/opus-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
+    (build-system gnu-build-system)
+    (synopsis "Libopus - highly versatile audio codec")
+    (description "Opus is a totally open, royalty-free, highly versatile audio
+codec. Opus is unmatched for interactive speech and music transmission over
+the Internet, but is also intended for storage and streaming applications. It
+is standardized by the Internet Engineering Task Force (IETF) as RFC 6716
+which incorporated technology from Skype's SILK codec and Xiph.Org's CELT
+codec.")
+    (license bsd-3)
+    (home-page "http://www.opus-codec.org/")))
-- 
1.7.10.4


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: New package recipe: libopus-1.1
  2014-01-22 16:11   ` Sree Harsha Totakura
  2014-01-22 16:37     ` Mark H Weaver
@ 2014-01-22 20:59     ` Andreas Enge
  2014-01-22 22:39       ` Ludovic Courtès
  2014-01-23 15:49       ` Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1) Mark H Weaver
  1 sibling, 2 replies; 16+ messages in thread
From: Andreas Enge @ 2014-01-22 20:59 UTC (permalink / raw)
  To: Sree Harsha Totakura; +Cc: guix-devel

Hello Sree,

thanks for the patch, and congratulations for your first guix package
(which I did not try out yet, I simply assumed it worked...).
Actually, it should go into oggvorbis.scm, where we put all xiph codecs.
Could you please do so and drop the new file, also from gnu-system.am?

I am not sure about the
   Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>
field; normally you are simply the author, no need to add it (and when
Ludovic applies patches coming from the list, he normally signs them off).

Andreas

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

* Re: New package recipe: libopus-1.1
  2014-01-22 20:59     ` Andreas Enge
@ 2014-01-22 22:39       ` Ludovic Courtès
  2014-01-23 15:49       ` Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1) Mark H Weaver
  1 sibling, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2014-01-22 22:39 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> thanks for the patch, and congratulations for your first guix package
> (which I did not try out yet, I simply assumed it worked...).

Indeed, cool.  :-)

And thanks to the other people for the reviews!

> Actually, it should go into oggvorbis.scm, where we put all xiph codecs.
> Could you please do so and drop the new file, also from gnu-system.am?

Agreed.

> I am not sure about the
>    Signed-off-by: Sree Harsha Totakura <sreeharsha@totakura.in>
> field; normally you are simply the author, no need to add it (and when
> Ludovic applies patches coming from the list, he normally signs them off).

Right.

Note to the reviewers: feel free to push a patch that looks good to you
and uncontroversial, per the guidelines in ‘HACKING’.  Don’t be shy.  ;-)

Ludo’.

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

* Re: New package recipe: libopus-1.1
  2014-01-22 17:10       ` Sree Harsha Totakura
@ 2014-01-22 22:42         ` Ludovic Courtès
  2014-01-23 18:41           ` Sree Harsha Totakura
  0 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2014-01-22 22:42 UTC (permalink / raw)
  To: Sree Harsha Totakura; +Cc: guix-devel

Sree Harsha Totakura <sreeharsha@totakura.in> skribis:

> +    (synopsis "Libopus - highly versatile audio codec")

One last thing: please don’t repeat the package name in the synopsis
(there have been exceptions to this rule but we’ll fix them over time.)

As you can see there are a bunch of conventions, but hopefully it will
be easy to adjust and won’t be too much of a burden.

Thank you!

Ludo’.

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

* Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-22 20:59     ` Andreas Enge
  2014-01-22 22:39       ` Ludovic Courtès
@ 2014-01-23 15:49       ` Mark H Weaver
  2014-01-23 16:51         ` Ludovic Courtès
  1 sibling, 1 reply; 16+ messages in thread
From: Mark H Weaver @ 2014-01-23 15:49 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> writes:
> Actually, it should go into oggvorbis.scm, where we put all xiph codecs.

I think that module should be renamed.  Maybe xiph-codecs.scm ?

      Mark

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

* Re: Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-23 15:49       ` Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1) Mark H Weaver
@ 2014-01-23 16:51         ` Ludovic Courtès
  2014-01-23 16:58           ` Thompson, David
  0 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2014-01-23 16:51 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> Andreas Enge <andreas@enge.fr> writes:
>> Actually, it should go into oggvorbis.scm, where we put all xiph codecs.
>
> I think that module should be renamed.  Maybe xiph-codecs.scm ?

Or just xiph.scm?  Because not everything is a codec strictly speaking.

Ludo’.

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

* Re: Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-23 16:51         ` Ludovic Courtès
@ 2014-01-23 16:58           ` Thompson, David
  2014-01-23 18:12             ` Andreas Enge
  2014-01-23 19:26             ` Mark H Weaver
  0 siblings, 2 replies; 16+ messages in thread
From: Thompson, David @ 2014-01-23 16:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Thu, Jan 23, 2014 at 11:51 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> Or just xiph.scm?  Because not everything is a codec strictly speaking.

I like this name best.

- Dave

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

* Re: Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-23 16:58           ` Thompson, David
@ 2014-01-23 18:12             ` Andreas Enge
  2014-01-24 12:53               ` Ludovic Courtès
  2014-01-23 19:26             ` Mark H Weaver
  1 sibling, 1 reply; 16+ messages in thread
From: Andreas Enge @ 2014-01-23 18:12 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

On Thu, Jan 23, 2014 at 11:58:43AM -0500, Thompson, David wrote:
> On Thu, Jan 23, 2014 at 11:51 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> > Or just xiph.scm?  Because not everything is a codec strictly speaking.
> I like this name best.

Done in 54ff0b7. Please correct any errors you find... (As I just restarted
hydra and it needs to catch up building core-updates, I tested only that guix
still compiles.)

Andreas

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

* Re: New package recipe: libopus-1.1
  2014-01-22 22:42         ` Ludovic Courtès
@ 2014-01-23 18:41           ` Sree Harsha Totakura
  2014-01-24 13:05             ` Ludovic Courtès
  0 siblings, 1 reply; 16+ messages in thread
From: Sree Harsha Totakura @ 2014-01-23 18:41 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


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

Hi!

Attached the patch with the suggested changes.

Sree

On 01/22/2014 11:42 PM, Ludovic Courtès wrote:
> As you can see there are a bunch of conventions, but hopefully it will
> be easy to adjust and won’t be too much of a burden.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-oggvorbis-Add-libopus-1.1.patch --]
[-- Type: text/x-patch; name="0001-gnu-oggvorbis-Add-libopus-1.1.patch", Size: 1938 bytes --]

From 23dcddebb12c619e22dac20a6181dfb77df4c876 Mon Sep 17 00:00:00 2001
From: Sree Harsha Totakura <sreeharsha@totakura.in>
Date: Thu, 23 Jan 2014 19:38:39 +0100
Subject: [PATCH] gnu: oggvorbis: Add libopus-1.1.

* gnu/packages/oggvorbis.scm: Add libopus-1.1.
---
 gnu/packages/oggvorbis.scm |   26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/oggvorbis.scm b/gnu/packages/oggvorbis.scm
index 0bce731..239068c 100644
--- a/gnu/packages/oggvorbis.scm
+++ b/gnu/packages/oggvorbis.scm
@@ -40,7 +40,8 @@
             ao
             flac
             libkate
-            vorbis-tools))
+            vorbis-tools
+            libopus))
 
 (define libogg
   (package
@@ -278,3 +279,26 @@ ogginfo, to obtain information (tags, bitrate, length, etc.) about
          an ogg vorbis file.")
    (license license:gpl2)
    (home-page "http://xiph.org/vorbis/")))
+
+(define libopus
+  (package
+    (name "libopus")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.xiph.org/releases/opus/opus-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr"))))
+    (build-system gnu-build-system)
+    (synopsis "highly versatile audio codec")
+    (description
+     "Opus is a totally open, royalty-free, highly versatile audio codec. Opus
+is unmatched for interactive speech and music transmission over the Internet,
+but is also intended for storage and streaming applications. It is
+standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which
+incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
+    (license license:bsd-3)
+    (home-page "http://www.opus-codec.org/")))
-- 
1.7.10.4


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

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

* Re: Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-23 16:58           ` Thompson, David
  2014-01-23 18:12             ` Andreas Enge
@ 2014-01-23 19:26             ` Mark H Weaver
  1 sibling, 0 replies; 16+ messages in thread
From: Mark H Weaver @ 2014-01-23 19:26 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

"Thompson, David" <dthompson2@worcester.edu> writes:

> On Thu, Jan 23, 2014 at 11:51 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>> Or just xiph.scm?  Because not everything is a codec strictly speaking.
>
> I like this name best.

Sure, xiph.scm sounds good to me.

     Mark

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

* Re: Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1)
  2014-01-23 18:12             ` Andreas Enge
@ 2014-01-24 12:53               ` Ludovic Courtès
  0 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2014-01-24 12:53 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> On Thu, Jan 23, 2014 at 11:58:43AM -0500, Thompson, David wrote:
>> On Thu, Jan 23, 2014 at 11:51 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>> > Or just xiph.scm?  Because not everything is a codec strictly speaking.
>> I like this name best.
>
> Done in 54ff0b7. Please correct any errors you find... (As I just restarted
> hydra and it needs to catch up building core-updates, I tested only that guix
> still compiles.)

Thanks!

Ludo’.

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

* Re: New package recipe: libopus-1.1
  2014-01-23 18:41           ` Sree Harsha Totakura
@ 2014-01-24 13:05             ` Ludovic Courtès
  0 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2014-01-24 13:05 UTC (permalink / raw)
  To: Sree Harsha Totakura; +Cc: guix-devel

Sree Harsha Totakura <sreeharsha@totakura.in> skribis:

> From 23dcddebb12c619e22dac20a6181dfb77df4c876 Mon Sep 17 00:00:00 2001
> From: Sree Harsha Totakura <sreeharsha@totakura.in>
> Date: Thu, 23 Jan 2014 19:38:39 +0100
> Subject: [PATCH] gnu: oggvorbis: Add libopus-1.1.
>
> * gnu/packages/oggvorbis.scm: Add libopus-1.1.

Thanks, applied with minor changes:

  • Added you as a copyright holder (let me know if that’s not the
    case);

  • Changed the package name to “opus”, since that’s what it’s called
    upstream;

  • Adjusted to match the xiph.scm rename.

Ludo’.

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

end of thread, other threads:[~2014-01-24 13:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 15:23 New package recipe: libopus-1.1 Sree Harsha Totakura
2014-01-22 15:29 ` Cyril Roelandt
2014-01-22 16:11   ` Sree Harsha Totakura
2014-01-22 16:37     ` Mark H Weaver
2014-01-22 17:10       ` Sree Harsha Totakura
2014-01-22 22:42         ` Ludovic Courtès
2014-01-23 18:41           ` Sree Harsha Totakura
2014-01-24 13:05             ` Ludovic Courtès
2014-01-22 20:59     ` Andreas Enge
2014-01-22 22:39       ` Ludovic Courtès
2014-01-23 15:49       ` Rename oggvorbis.scm to xiph-codecs.scm? (was Re: New package recipe: libopus-1.1) Mark H Weaver
2014-01-23 16:51         ` Ludovic Courtès
2014-01-23 16:58           ` Thompson, David
2014-01-23 18:12             ` Andreas Enge
2014-01-24 12:53               ` Ludovic Courtès
2014-01-23 19:26             ` Mark H Weaver

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