unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add libpst.
@ 2016-05-11  1:05 Kei Yamashita
  2016-05-11 15:38 ` Kei Yamashita
  2016-05-20 12:18 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Kei Yamashita @ 2016-05-11  1:05 UTC (permalink / raw)
  To: guix-devel


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

Another patch in preparation for Evolution.

[-- Attachment #1.2: 0001-gnu-Add-libpst.patch --]
[-- Type: text/plain, Size: 3154 bytes --]

From 7c54fcc66ba52e58eec806c5a9eaefa0ee56afc1 Mon Sep 17 00:00:00 2001
From: Kei Yamashita <kei@openmailbox.org>
Date: Tue, 10 May 2016 20:39:42 -0400
Subject: [PATCH] gnu: Add libpst.

* gnu/packages/mail.scm (libpst): New variable.
---
 gnu/packages/mail.scm | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 17dd0ad..2d95753 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.
 ;;;
@@ -36,6 +37,7 @@
   #:use-module (gnu packages backup)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages boost)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
@@ -177,14 +179,14 @@ aliasing facilities to work just as they would on normal mail.")
 (define-public mutt
   (package
     (name "mutt")
-    (version "1.6.1")
+    (version "1.6.0")
     (source (origin
              (method url-fetch)
              (uri (string-append "ftp://ftp.mutt.org/pub/mutt/mutt-"
                                  version ".tar.gz"))
              (sha256
               (base32
-               "087dz1y9qhl4ikhsnnb4xmyvs82w6kx480w8zj130wdiqvn6rclq"))
+               "06bc2drbgalkk68rzg7hq2v5m5qgjxff5357wg0419dpi8ivdbr9"))
              (patches (search-patches "mutt-store-references.patch"))))
     (build-system gnu-build-system)
     (inputs
@@ -1203,3 +1205,30 @@ 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 libpst
+  (package
+    (name "libpst")
+    (version "0.6.66")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.five-ten-sg.com/" name
+                                  "/packages/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0whzgrky1b015czg9f5mk8zpz1mvip3ifzp24nfis291v0wrkd4j"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("boost" ,boost)
+       ("libgsf" ,libgsf)
+       ("python" ,python-2)))
+    (home-page "http://www.five-ten-sg.com/libpst/")
+    (synopsis "Microsoft Outlook .pst file converter")
+    (description
+     "Libpst can convert both 32 bit Microsoft Outlook files (pre 2003), and
+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+)))
-- 
2.7.4


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

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

* Re: [PATCH] gnu: Add libpst.
  2016-05-11  1:05 [PATCH] gnu: Add libpst Kei Yamashita
@ 2016-05-11 15:38 ` Kei Yamashita
  2016-05-20 12:18 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Kei Yamashita @ 2016-05-11 15:38 UTC (permalink / raw)
  To: guix-devel

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

On Tue, 10 May 2016 21:05:35 -0400
Kei Yamashita <kei@openmailbox.org> wrote:

> Another patch in preparation for Evolution.

So it turns out that Evolution only builds without support for libpst.
On the bright side, any other software that might need the library
could be packaged after this.

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

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

* Re: [PATCH] gnu: Add libpst.
  2016-05-11  1:05 [PATCH] gnu: Add libpst Kei Yamashita
  2016-05-11 15:38 ` Kei Yamashita
@ 2016-05-20 12:18 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-05-20 12:18 UTC (permalink / raw)
  To: Kei Yamashita; +Cc: guix-devel

Kei Yamashita <kei@openmailbox.org> skribis:

> From 7c54fcc66ba52e58eec806c5a9eaefa0ee56afc1 Mon Sep 17 00:00:00 2001
> From: Kei Yamashita <kei@openmailbox.org>
> Date: Tue, 10 May 2016 20:39:42 -0400
> Subject: [PATCH] gnu: Add libpst.
>
> * gnu/packages/mail.scm (libpst): New variable.

[...]

>    (package
>      (name "mutt")
> -    (version "1.6.1")
> +    (version "1.6.0")
>      (source (origin
>               (method url-fetch)
>               (uri (string-append "ftp://ftp.mutt.org/pub/mutt/mutt-"
>                                   version ".tar.gz"))
>               (sha256
>                (base32
> -               "087dz1y9qhl4ikhsnnb4xmyvs82w6kx480w8zj130wdiqvn6rclq"))
> +               "06bc2drbgalkk68rzg7hq2v5m5qgjxff5357wg0419dpi8ivdbr9"))

Oops.  :-)
Please remove this hunk.

> +(define-public libpst
> +  (package
> +    (name "libpst")
> +    (version "0.6.66")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://www.five-ten-sg.com/" name
> +                                  "/packages/" name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0whzgrky1b015czg9f5mk8zpz1mvip3ifzp24nfis291v0wrkd4j"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("boost" ,boost)
> +       ("libgsf" ,libgsf)
> +       ("python" ,python-2)))
> +    (home-page "http://www.five-ten-sg.com/libpst/")
> +    (synopsis "Microsoft Outlook .pst file converter")
> +    (description
> +     "Libpst can convert both 32 bit Microsoft Outlook files (pre 2003), and
> +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+)))

LGTM.

Hopefully you’ll be able to push by yourself soonish.  :-)

Ludo’.

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

end of thread, other threads:[~2016-05-20 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11  1:05 [PATCH] gnu: Add libpst Kei Yamashita
2016-05-11 15:38 ` Kei Yamashita
2016-05-20 12:18 ` Ludovic Courtès

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