diff mbox

gnu: Add libytnef.

Message ID 20160512075444.763e366a@openmailbox.org
State New
Headers show

Commit Message

Kei Yamashita May 12, 2016, 11:54 a.m. UTC
On Wed, 11 May 2016 09:24:25 -0500
Eric Bavier <ericbavier@openmailbox.org> wrote:

> On Tue, 10 May 2016 22:14:27 -0400
> Kei Yamashita <kei@openmailbox.org> wrote:
> 
> > * gnu/packages/mail.scm (libytnef): New variable.
> > ---
> >  gnu/packages/mail.scm | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> > 
> > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
> > index 2d95753..a8e8716 100644
> > --- a/gnu/packages/mail.scm
> > +++ b/gnu/packages/mail.scm
> > @@ -1232,3 +1232,25 @@ the 64 bit Outlook 2003 pst files.
> > Utilities are supplied to convert email messages to both mbox and
> > MH mailbox formats.  Contacts can be converted to a simple list, to
> > vcard format, or to ldif format for import to an LDAP server.")
> > (license gpl2+))) +
> > +(define-public libytnef
> > +  (package
> > +    (name "libytnef")
> > +    (version "1.5")  
> 
> The latest git source at https://github.com/Yeraze/ytnef has fixes for
> several bugs, segfaults, and memory leaks.  The configure.ac there
> notes version 1.7, but I don't see any release tarballs.  Could you
> maybe pester the maintainer to make a release?
> 
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (string-append "mirror://sourceforge/ytnef/"
> > +                                  name "/" version "/" name
> > +                                  "-" version ".tar.gz"))
> > +              (sha256
> > +               (base32
> > +
> > "0bkmw5sypwbyrawbb66pkc7d6crck529bs0p36j42z045vja28hv"))))
> > +    (build-system gnu-build-system)
> > +    (home-page "https://github.com/Yeraze/ytnef")
> > +    (synopsis "Decodes TNEF streams")  
> 
> How about "Mail stream decoder" instead?  See section "Synopses and
> Descriptions" in the manual.
> 
> > +    (description
> > +     "ytnef is a program to decode TNEF streams (winmail.dat).
> > Unlike other +similar programs, it can also decode meeting requests
> > and create VCal entries +for easy import.  It can also create vCard
> > entries from contact cards and vTodo +entries from task entries.")
> > +    (license gpl2)))  
> 
> This should be gpl2+, since the source headers contain the "or later"
> verbiage.
> 
> Otherwise LGTM.  Could you send an updated patch?
> `~Eric

Updated as requested. Also, I'll see about building libytnef from
within the github tree if possible.
From 1b6f995092a144b20698b0b24911f06b352cab50 Mon Sep 17 00:00:00 2001
From: Kei Yamashita <kei@openmailbox.org>

Date: Thu, 12 May 2016 00:44:48 -0400
Subject: [PATCH] gnu: Add libytnef.

* gnu/packages/mail.scm (libytnef): New variable.
---
 gnu/packages/mail.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

-- 
2.7.4

Comments

Ludovic Courtès May 25, 2016, 10:08 p.m. UTC | #1
Kei Yamashita <kei@openmailbox.org> skribis:

> On Wed, 11 May 2016 09:24:25 -0500
> Eric Bavier <ericbavier@openmailbox.org> wrote:

[...]

>> This should be gpl2+, since the source headers contain the "or later"
>> verbiage.
>> 
>> Otherwise LGTM.  Could you send an updated patch?
>> `~Eric
>
> Updated as requested. Also, I'll see about building libytnef from
> within the github tree if possible.
>
> From 1b6f995092a144b20698b0b24911f06b352cab50 Mon Sep 17 00:00:00 2001
> From: Kei Yamashita <kei@openmailbox.org>
> Date: Thu, 12 May 2016 00:44:48 -0400
> Subject: [PATCH] gnu: Add libytnef.
>
> * gnu/packages/mail.scm (libytnef): New variable.

Now is a good time to test your Git access: please push!

Thanks,
Ludo’.
diff mbox

Patch

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 13749aa..da8e8df 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -13,6 +13,7 @@ 
 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
+;;; Copyright © 2016 Kei Yamashita <kei@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1203,3 +1204,25 @@  synchronizing with a remote address book, @command{vdirsyncer} is recommended.
 Khard can also be used from within the email client @command{mutt}.")
     (home-page "https://github.com/scheibler/khard")
     (license gpl3+)))
+
+(define-public libytnef
+  (package
+    (name "libytnef")
+    (version "1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/ytnef/"
+                                  name "/" version "/" name
+                                  "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0bkmw5sypwbyrawbb66pkc7d6crck529bs0p36j42z045vja28hv"))))
+    (build-system gnu-build-system)
+    (home-page "https://github.com/Yeraze/ytnef")
+    (synopsis "Mail stream decoder")
+    (description
+     "ytnef is a program to decode TNEF streams (winmail.dat).  Unlike other
+similar programs, it can also decode meeting requests and create VCal entries
+for easy import.  It can also create vCard entries from contact cards and vTodo
+entries from task entries.")
+    (license gpl2+)))