* [PATCH] New package: Seren
@ 2016-05-05 14:34 Francesco Frassinelli
2016-05-06 8:15 ` Alex Kost
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Francesco Frassinelli @ 2016-05-05 14:34 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
Hello,
I'm a new Guix user and I created a package for Seren, a P2P VoIP
conference program which uses Opus as codec.
I would like to thank the for helping me on IRC.
--
Frafra
[-- Attachment #2: 0001-Add-package-Seren.patch --]
[-- Type: text/x-patch, Size: 2377 bytes --]
From ecffe90a83f8ae0dddef49cfb115e28b854b5d62 Mon Sep 17 00:00:00 2001
From: Francesco Frassinelli <fraph24@gmail.com>
Date: Thu, 5 May 2016 16:23:15 +0200
Subject: [PATCH] Add package Seren
---
gnu/packages/seren.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 gnu/packages/seren.scm
diff --git a/gnu/packages/seren.scm b/gnu/packages/seren.scm
new file mode 100644
index 0000000..8ac95ef
--- /dev/null
+++ b/gnu/packages/seren.scm
@@ -0,0 +1,46 @@
+(define-module (gnu packages seren)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix licenses)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages multiprecision))
+
+(define-public seren
+ (package
+ (name "seren")
+ (version "0.0.21")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://holdenc.altervista.org/"
+ "seren/downloads/seren-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "06mams6bng7ib7p2zpfq88kdr4ffril9svzc9lprkb0wjgmkglk9"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'check))))
+ (inputs `(("alsa-lib" ,alsa-lib)
+ ("opus" ,opus)
+ ("libogg" ,libogg)
+ ("ncurses" ,ncurses)
+ ("gmp" ,gmp)))
+ (synopsis "Simple VoIP program to create conferences from the terminal")
+ (description
+ "Seren is a simple VoIP program based on the Opus codec that allows you
+to create a voice conference from the terminal, with up to 10
+partecipants, without having to register accounts, exchange emails, or
+add people to contact lists.
+All you need to join an existing conference is the host name or IP
+address of one of the partecipants.
+Seren creates a dynamic peer-to-peer network of equivalent nodes which
+exchange text and audio data using a UDP connection, and offers the
+user the ability to change the quality/bitrate on the fly, encrypt the
+traffic and record the calls.")
+ (home-page "http://holdenc.altervista.org/seren/")
+ (license gpl3+)))
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] New package: Seren
2016-05-05 14:34 [PATCH] New package: Seren Francesco Frassinelli
@ 2016-05-06 8:15 ` Alex Kost
2016-07-04 6:56 ` Alex Kost
2016-08-02 19:23 ` Alex Kost
2 siblings, 0 replies; 6+ messages in thread
From: Alex Kost @ 2016-05-06 8:15 UTC (permalink / raw)
To: Francesco Frassinelli; +Cc: guix-devel
Francesco Frassinelli (2016-05-05 17:34 +0300) wrote:
> Hello,
Hello and welcome!
> I'm a new Guix user and I created a package for Seren, a P2P VoIP
> conference program which uses Opus as codec.
You made a new "seren.scm" file, but didn't add a standard header (with
copyright, license, etc.) to it. Also new files should be registered in
"<guix>/gnu/local.mk".
However, there is no need to put this pakcage into a separate module. I
think (gnu packages telephony) is a suitable module for it.
The commit message should look like this.
--8<---------------cut here---------------start------------->8---
gnu: Add seren.
* gnu/packages/telephony.scm (seren): New variable.
--8<---------------cut here---------------end--------------->8---
> From ecffe90a83f8ae0dddef49cfb115e28b854b5d62 Mon Sep 17 00:00:00 2001
> From: Francesco Frassinelli <fraph24@gmail.com>
> Date: Thu, 5 May 2016 16:23:15 +0200
> Subject: [PATCH] Add package Seren
>
> ---
> gnu/packages/seren.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 gnu/packages/seren.scm
>
> diff --git a/gnu/packages/seren.scm b/gnu/packages/seren.scm
> new file mode 100644
> index 0000000..8ac95ef
> --- /dev/null
> +++ b/gnu/packages/seren.scm
> @@ -0,0 +1,46 @@
> +(define-module (gnu packages seren)
> + #:use-module (guix packages)
> + #:use-module (guix download)
> + #:use-module (guix build-system gnu)
> + #:use-module (guix licenses)
> + #:use-module (gnu packages linux)
> + #:use-module (gnu packages xiph)
> + #:use-module (gnu packages ncurses)
> + #:use-module (gnu packages multiprecision))
> +
> +(define-public seren
> + (package
> + (name "seren")
> + (version "0.0.21")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "http://holdenc.altervista.org/"
> + "seren/downloads/seren-" version
> + ".tar.gz"))
> + (sha256
> + (base32
> + "06mams6bng7ib7p2zpfq88kdr4ffril9svzc9lprkb0wjgmkglk9"))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (delete 'check))))
Usually instead of deleting 'check' phase, we disable tests, so it
could look like this:
(arguments '(#:tests? #f)) ; no "check" target
> + (inputs `(("alsa-lib" ,alsa-lib)
> + ("opus" ,opus)
> + ("libogg" ,libogg)
> + ("ncurses" ,ncurses)
> + ("gmp" ,gmp)))
> + (synopsis "Simple VoIP program to create conferences from the terminal")
> + (description
> + "Seren is a simple VoIP program based on the Opus codec that allows you
> +to create a voice conference from the terminal, with up to 10
> +partecipants, without having to register accounts, exchange emails, or
> +add people to contact lists.
> +All you need to join an existing conference is the host name or IP
> +address of one of the partecipants.
> +Seren creates a dynamic peer-to-peer network of equivalent nodes which
> +exchange text and audio data using a UDP connection, and offers the
> +user the ability to change the quality/bitrate on the fly, encrypt the
> +traffic and record the calls.")
If you want to make separate paragraphs here, use additional newlines:
(description
"Seren is a simple VoIP program based on the Opus codec that allows
you to create a voice conference from the terminal, with up to 10
partecipants, without having to register accounts, exchange emails, or
add people to contact lists.
All you need to join an existing conference is the host name or IP
address of one of the partecipants.
Seren creates a dynamic peer-to-peer network of equivalent nodes which
exchange text and audio data using a UDP connection, and offers the user
the ability to change the quality/bitrate on the fly, encrypt the
traffic and record the calls.")
(Though I think this description is a bit long, but it's probably OK)
> + (home-page "http://holdenc.altervista.org/seren/")
> + (license gpl3+)))
The rest looks good to me, could you send an updated patch?
And thanks for contributing!
--
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] New package: Seren
2016-05-05 14:34 [PATCH] New package: Seren Francesco Frassinelli
2016-05-06 8:15 ` Alex Kost
@ 2016-07-04 6:56 ` Alex Kost
2016-07-04 7:06 ` Francesco Frassinelli
[not found] ` <1468932716.19774.9.camel@gmail.com>
2016-08-02 19:23 ` Alex Kost
2 siblings, 2 replies; 6+ messages in thread
From: Alex Kost @ 2016-07-04 6:56 UTC (permalink / raw)
To: Francesco Frassinelli; +Cc: guix-devel
Francesco Frassinelli (2016-05-05 17:34 +0300) wrote:
> I'm a new Guix user and I created a package for Seren, a P2P VoIP
> conference program which uses Opus as codec.
Ping! Hello again, are you willing to send an updated patch, putting
'seren' in "gnu/packages/telephony.scm" and making other changes
according to
<http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00173.html>?
Sorry for bothering, your patch is mostly OK, but it would be nice if
seren was in (gnu packages telephony) module, thanks!
--
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] New package: Seren
2016-07-04 6:56 ` Alex Kost
@ 2016-07-04 7:06 ` Francesco Frassinelli
[not found] ` <1468932716.19774.9.camel@gmail.com>
1 sibling, 0 replies; 6+ messages in thread
From: Francesco Frassinelli @ 2016-07-04 7:06 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
2016-07-04 8:56 GMT+02:00 Alex Kost <alezost@gmail.com>:
> Francesco Frassinelli (2016-05-05 17:34 +0300) wrote:
>
> > I'm a new Guix user and I created a package for Seren, a P2P VoIP
> > conference program which uses Opus as codec.
>
> Ping! Hello again, are you willing to send an updated patch, putting
> 'seren' in "gnu/packages/telephony.scm" and making other changes
> according to
> <http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00173.html>?
>
Sure! I'm really sorry, I had too much to work. I'm going to send an
updated version this evening.
--
Frafra
[-- Attachment #2: Type: text/html, Size: 1198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] New package: Seren
[not found] ` <1468932716.19774.9.camel@gmail.com>
@ 2016-07-19 17:04 ` Alex Kost
0 siblings, 0 replies; 6+ messages in thread
From: Alex Kost @ 2016-07-19 17:04 UTC (permalink / raw)
To: Francesco Frassinelli; +Cc: guix-devel
Francesco Frassinelli (2016-07-19 15:51 +0300) wrote:
> Il giorno lun, 04/07/2016 alle 09.56 +0300, Alex Kost ha scritto:
>> Francesco Frassinelli (2016-05-05 17:34 +0300) wrote:
>>
>> > I'm a new Guix user and I created a package for Seren, a P2P VoIP
>> > conference program which uses Opus as codec.
>>
>> Ping! Hello again, are you willing to send an updated patch, putting
>> 'seren' in "gnu/packages/telephony.scm" and making other changes
>> according to
>> <http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00173.html>?
>>
>> Sorry for bothering, your patch is mostly OK, but it would be nice if
>> seren was in (gnu packages telephony) module, thanks!
>
> Hi! Here it is! I wasn't able to test properly due to VM Stack Overflow
> error... I'll try to fix my Guix system next week :)
Hi! If you have some problems, you can ask for help on
<help-guix@gnu.org>.
I think you forgot to Cc guix-devel list, so I do it.
It's not a problem that you didn't test if it can be built, I'll do it,
but... could you send an updated patch? (See the comments below)
> From 1d51b625a325f0c9ee20602572b441950801df97 Mon Sep 17 00:00:00 2001
> From: Francesco Frassinelli <fraph24@gmail.com>
> Date: Tue, 19 Jul 2016 13:11:48 +0200
> Subject: [PATCH] Add package Seren
Not a big deal, but the commit message should be:
gnu: Add seren.
* gnu/packages/telephony.scm (seren): New variable.
> ---
> gnu/packages/seren.scm | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 65 insertions(+)
> create mode 100644 gnu/packages/seren.scm
>
> diff --git a/gnu/packages/seren.scm b/gnu/packages/seren.scm
> new file mode 100644
> index 0000000..4ebdd07
> --- /dev/null
> +++ b/gnu/packages/seren.scm
Putting it into (gnu packages telephony) module means to put it into
"gnu/packages/telephony.scm" file which already exists. Sorry for not
being clear about it.
> @@ -0,0 +1,65 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2016 Francesco Frassinelli <fraph24@gmail.com>
> +;;;
> +;;; 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 telephony)
I didn't meant this, see above. In Guile (foo bar baz) module always
means that a module file is "<...>/foo/bar/baz.scm".
> + #:use-module (guix packages)
> + #:use-module (guix download)
> + #:use-module (guix build-system gnu)
> + #:use-module (guix licenses)
> + #:use-module (gnu packages linux)
> + #:use-module (gnu packages xiph)
> + #:use-module (gnu packages ncurses)
> + #:use-module (gnu packages multiprecision))
> +
> +(define-public seren
> + (package
> + (name "seren")
> + (version "0.0.21")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "http://holdenc.altervista.org/"
> + "seren/downloads/seren-" version
> + ".tar.gz"))
> + (sha256
> + (base32
> + "06mams6bng7ib7p2zpfq88kdr4ffril9svzc9lprkb0wjgmkglk9"))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (arguments `(#:tests? #f)))))
No, not arguments inside arguments, this should be simply:
(arguments '(#:tests? #f)) ; no "check" target
> + (inputs `(("alsa-lib" ,alsa-lib)
> + ("opus" ,opus)
> + ("libogg" ,libogg)
> + ("ncurses" ,ncurses)
> + ("gmp" ,gmp)))
> + (synopsis "Simple VoIP program to create conferences from the terminal")
> + (description
> + "Seren is a simple VoIP program based on the Opus codec that allows you
> +to create a voice conference from the terminal, with up to 10
> +partecipants, without having to register accounts, exchange emails, or
> +add people to contact lists.
> +
> +All you need to join an existing conference is the host name or IP
> +address of one of the partecipants.
> +
> +Seren creates a dynamic peer-to-peer network of equivalent nodes which
> +exchange text and audio data using a UDP connection, and offers the
> +user the ability to change the quality/bitrate on the fly, encrypt the
> +traffic and record the calls.")
> + (home-page "http://holdenc.altervista.org/seren/")
> + (license gpl3+)))
--
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] New package: Seren
2016-05-05 14:34 [PATCH] New package: Seren Francesco Frassinelli
2016-05-06 8:15 ` Alex Kost
2016-07-04 6:56 ` Alex Kost
@ 2016-08-02 19:23 ` Alex Kost
2 siblings, 0 replies; 6+ messages in thread
From: Alex Kost @ 2016-08-02 19:23 UTC (permalink / raw)
To: Francesco Frassinelli; +Cc: guix-devel
> From ecffe90a83f8ae0dddef49cfb115e28b854b5d62 Mon Sep 17 00:00:00 2001
> From: Francesco Frassinelli <fraph24@gmail.com>
> Date: Thu, 5 May 2016 16:23:15 +0200
> Subject: [PATCH] Add package Seren
>
> ---
> gnu/packages/seren.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 gnu/packages/seren.scm
I put it to (gnu packages telephony) module and made the other changes I
mentioned, and committed as 319ac02b5¹.
Thanks for contributing!
¹ http://git.savannah.gnu.org/cgit/guix.git/commit/?id=319ac02b5a775e898af51bb8caec5f30cf5918c0
--
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-02 19:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 14:34 [PATCH] New package: Seren Francesco Frassinelli
2016-05-06 8:15 ` Alex Kost
2016-07-04 6:56 ` Alex Kost
2016-07-04 7:06 ` Francesco Frassinelli
[not found] ` <1468932716.19774.9.camel@gmail.com>
2016-07-19 17:04 ` Alex Kost
2016-08-02 19:23 ` Alex Kost
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).