From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: Re: [PATCH] gnu: Add Libogg.
Date: Fri, 18 Jan 2013 11:04:27 +0100 [thread overview]
Message-ID: <201301181104.27715.andreas@enge.fr> (raw)
In-Reply-To: <874nifuuad.fsf@karetnikov.org>
[-- Attachment #1.1: Type: text/plain, Size: 909 bytes --]
Hello,
I prepared the same, but did not push it yet. Actually, I wanted to package
the vorbis-tools, and got sucked into a dependency chain that started with
curl and currently ends with ghostscript...
> + (inputs `(("xz" ,xz)))
You do not need this; it is only used for unpacking, which is handled
automatically.
Concerning the license, I have
(license (bsd-style "file://COPYING"
"See COPYING in the distribution."))
instead of
+ (license bsd-3)))
My reason was that the license contained a line
"Neither the name of the Xiph.org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission."
So this is not precisely the original BSD-3 license, which does not mention
Xiph.
What is our policy here?
So I would suggest the following more comprehensive patch.
Andreas
[-- Attachment #1.2: Type: text/html, Size: 5069 bytes --]
[-- Attachment #2: 0001-gnu-Add-libogg-libvorbis-and-vorbis-tools.patch --]
[-- Type: text/x-patch, Size: 5775 bytes --]
From 657506537c1167d97b43ce8a69a2bf74b06e33f4 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Fri, 18 Jan 2013 11:02:26 +0100
Subject: [PATCH] gnu: Add libogg, libvorbis and vorbis-tools.
* gnu/packages/oggvorbis.scm: New file.
* Makefile.am (MODULES): Add it.
---
Makefile.am | 1 +
gnu/packages/oggvorbis.scm | 108 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 gnu/packages/oggvorbis.scm
diff --git a/Makefile.am b/Makefile.am
index 86f9651..5c58131 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,6 +102,7 @@ MODULES = \
gnu/packages/ncurses.scm \
gnu/packages/nettle.scm \
gnu/packages/openssl.scm \
+ gnu/packages/oggvorbis.scm \
gnu/packages/perl.scm \
gnu/packages/pkg-config.scm \
gnu/packages/pth.scm \
diff --git a/gnu/packages/oggvorbis.scm b/gnu/packages/oggvorbis.scm
new file mode 100644
index 0000000..d92dfc3
--- /dev/null
+++ b/gnu/packages/oggvorbis.scm
@@ -0,0 +1,108 @@
+;;; 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/>.
+
+(define-module (gnu packages oggvorbis)
+ #:use-module (gnu packages)
+ #:use-module (guix licenses)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu))
+
+(define-public libogg
+ (package
+ (name "libogg")
+ (version "1.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://downloads.xiph.org/releases/ogg/libogg-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0jy79ffkl34vycnwfsj4svqsdg1lwy2l1rr49y8r4d44kh12a5r3"))))
+ (build-system gnu-build-system)
+ (synopsis "libogg, a library for manipulating the ogg multimedia format")
+ (description
+ "The libogg library allows to manipulate the ogg multimedia container
+format, which encapsulates raw compressed data and allows the interleaving of
+audio and video data. In addition to encapsulation and interleaving of
+multiple data streams, ogg provides packet framing, error detection, and
+periodic timestamps for seeking.")
+ (license (bsd-style "file://COPYING"
+ "See COPYING in the distribution."))
+ (home-page "http://xiph.org/ogg/")))
+
+(define-public libvorbis
+ (package
+ (name "libvorbis")
+ (version "1.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://downloads.xiph.org/releases/vorbis/libvorbis-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1gby6hapz9njx4l9g0pndyk4q83z5fgrgc30mfwfgx7bllspsk43"))))
+ (build-system gnu-build-system)
+ (inputs `(("libogg" ,libogg)))
+ (arguments `(#:configure-flags '("LDFLAGS=-lm")))
+ (synopsis "libvorbis, a library implementing the vorbis audio format")
+ (description
+ "The libvorbis library implements the ogg vorbis audio format,
+a fully open, non-proprietary, patent-and-royalty-free, general-purpose
+compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit,
+polyphonic) audio and music at fixed and variable bitrates from 16 to
+128 kbps/channel.")
+ (license (bsd-style "file://COPYING"
+ "See COPYING in the distribution."))
+ (home-page "http://xiph.org/vorbis/")))
+
+(define-public vorbis-tools
+ (package
+ (name "vorbis-tools")
+ (version "1.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://downloads.xiph.org/releases/vorbis/vorbis-tools-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3"))))
+ (build-system gnu-build-system)
+ (inputs `(("libogg" ,libogg)
+ ("libvorbis" ,libvorbis)))
+;; FIXME: Add more inputs, see the documentation:
+;; All of the tools require libogg and libvorbis to be installed (along
+;; with the header files). Additionally, ogg123 requires libao, libcurl,
+;; and a POSIX-compatible thread library. Ogg123 can optionally compiled
+;; to use libFLAC, and libspeex. Oggenc can be optionally compiled with
+;; libFLAC, and libkate. The libraries libogg, libvorbis, and libao are
+;; all available at
+;; http://www.vorbis.com/download.psp
+ (synopsis "ogg vorbis tools")
+ (description
+ "Ogg vorbis is a non-proprietary, patent-and-royalty-free,
+general-purpose compressed audio format.
+
+The package vorbis-tools contains
+ogg123, an ogg vorbis command line audio player;
+oggenc, the ogg vorbis encoder;
+oggdec, a simple, portable command line decoder (to wav and raw);
+ogginfo, to obtain information (tags, bitrate, length, etc.) about
+ an ogg vorbis file.")
+ (license gpl2)
+ (home-page "http://xiph.org/vorbis/")))
--
1.7.10.4
next prev parent reply other threads:[~2013-01-18 10:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 1:57 [PATCH] gnu: Add Libogg Nikita Karetnikov
2013-01-18 10:04 ` Andreas Enge [this message]
2013-01-18 17:25 ` Ludovic Courtès
2013-01-18 17:32 ` Nikita Karetnikov
2013-01-18 10:18 ` Andreas Enge
2013-01-18 13:09 ` To-do lists Ludovic Courtès
2013-01-18 13:16 ` Andreas Enge
2013-01-18 17:47 ` Nikita Karetnikov
2013-01-18 21:15 ` Ludovic Courtès
2013-01-22 23:59 ` Nikita Karetnikov
2013-01-23 15:38 ` Ludovic Courtès
2013-01-23 16:26 ` Jason Self
2013-01-23 22:39 ` Ludovic Courtès
2013-01-23 23:45 ` Jason Self
2013-01-28 13:22 ` Ludovic Courtès
2013-01-28 21:47 ` Andreas Enge
2013-01-28 23:02 ` Cyril Roelandt
2013-01-28 23:26 ` Andreas Enge
2013-01-29 9:31 ` Ludovic Courtès
2013-01-29 12:37 ` Andreas Enge
2013-01-29 1:52 ` Florian Friesdorf
2013-01-29 9:04 ` Andreas Enge
2013-01-29 19:08 ` Florian Friesdorf
2013-01-29 21:33 ` Ludovic Courtès
2013-01-29 22:07 ` Andreas Enge
2013-01-30 20:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201301181104.27715.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.