Please upgrade libpst from upstream at www.five-ten-sg.com/libpst

Bug #317602 reported by C de-Avillez
14
Affects Status Importance Assigned to Milestone
libpst (Debian)
Fix Released
Unknown
libpst (Ubuntu)
Fix Released
Wishlist
Iain Lane

Bug Description

Evolution 2.26 (to be available in Jaunty) has added a new importer (as an Evolution plugin) for Outlook PST files; this will allow for integrated conversion from Outlook saved emails to Evolution. See [1] for details.

This importer requires libpst to be at version 0.6.17, or later. Currently available libpst on Ubuntu is 0.5.3-1 for Jaunty, and is incompatible.

A check on Debian shows the latest available version as 0.5.3, so also incompatible. Moreover, Debian is in deep freeze now, and we cannot expect a newer version to be available soon [2].

So. The option seems to package directly from upstream; Evolution used a fork [3] from the original source [4], so www.five-ten-sg.com/libpst is the upstream.

Although Evolution upstream based the development on libpst 0.6.17, the currently available version is 0.6.24. I am currently checking on the possibility of using 0.6.24 (so that we will be up-to-date). An additional patch has been proposed by the Evolution developer to allow libpst to be created as a shared library, and would have to be added in the source.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=208426
[2] http://packages.debian.org/search?keywords=readpst&searchon=names&suite=all&section=all
[3] http://www.five-ten-sg.com/libpst/
[4] http://sourceforge.net/projects/ol2mbox/ ; the last released source was on 2002, so we can say this project is abandoned.

Tags: upgrade

Related branches

Revision history for this message
C de-Avillez (hggdh2) wrote :

BTW: I would like input on how to proceed here.

Revision history for this message
C de-Avillez (hggdh2) wrote :

I have packaged libpst-0.6.25 in my PPA (https://launchpad.net/~hggdh2/+archive). I would like feedback on it so that I can correct packaging errors that I am certain I did.

Please note that upstream provides the distribution tarball pre-debianised; unfortunately, this does not work, and required changes under the ./debian directory. Also, a (currently) needed upstream patch has been added.

My package provides 3 binaries: libpst and libpst-dev for the new shared library, and the current readpst.

Revision history for this message
C de-Avillez (hggdh2) wrote :

I have opened an upgrade request on Debian, and am waiting on confirmation. I have no idea if I used the correct format for the request, though.

Revision history for this message
Daniel Holbach (dholbach) wrote :

To review the package I just diff-ed the two debian/ directories (got the old package by running "apt-get source libpst"), and I noticed that you have added a bunch of new files. Why did you not re-use the old packaging?

Check out https://wiki.ubuntu.com/PackagingGuide/Recipes/PackageUpdate as well.

Revision history for this message
C de-Avillez (hggdh2) wrote :

I am sorry, I think I was not clear: the current Debian libpst package is incompatible with the Evolution needs. This is why I am proposing the *other* fork: this fork has been continuously developed (as opposed to the Debian's, where, pretty much, only maintenance patches are applied.

So. If Evolution 2.26 on Jaunty is to provide the Outlook PST importer, we have to split from Debian on libpst.

Additionally, the upstream at 5-10 provides the source already "debianised", but in a rather incomplete and broken way, which required me to make some changes to the source.

I will check the link you provided as soon as I land. Thank you.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm not arguing about the new upstream tarball. The changes in debian/ are just huge and there seem to be added *.ex and *.EX changes all over the place.

Let me know if I looked at the wrong package or something.

Revision history for this message
C de-Avillez (hggdh2) wrote :

No, you did not look at the wrong package. As I said, the source upstream tarball comes pre-debianised in a basic, incomplete, and wrong, way. All the sample *.ex and *.EX are added this way (as can be seen by looking at the orig.tar). I did not change these files, I tried to take them out. It really looks like upstream just ran dh_make, and then packaged the distribution tarball.

I discussed this on #ubuntu-motu, and got no definite answer on how to proceed.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I don't think it's wrong to pick the fork if that makes more sense, but I'd try to ensure that the packaging is similar to what it was before, it'll also help with getting the Debian bug fixed. :-)

Revision history for this message
C de-Avillez (hggdh2) wrote :

Daniel, I think this time I got it right. Can you please check the package in my PPA (libpst-0.6.27-1ppa4 and friends)?

Revision history for this message
C de-Avillez (hggdh2) wrote :

ah well. Got hit by a wrong expectation that libtool would be automatically included by CDBS (like automake and autoconf). Anyway, the correct version is 0.6.27-1ppa5 now.

Also, the diff for the package is quite small, so I guess I am on the right track.

Changed in libpst:
assignee: nobody → hggdh2
status: New → In Progress
Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work.

Here's a few changes I'd do:
 - use {shlibs:Depends} instead of explicit library dependencies, add {misc:Depends} too
 - rename libpst to libpst1
 - remove a few (with cdbs) unneccesary files
 - small fixes here and there.

Please ask Séb to give it another spin. I'm sure he'll find something else. :-)

Revision history for this message
C de-Avillez (hggdh2) wrote :

thanks. Changes done, submitted 1ppa6; chatted with Sébastien, and he will have a go at it after I get a successful build.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the packaging looks mostly fine to me, the rules is a rather complicated and running autootols at build is not optimal but that should work, otherwise there is makefiles to clean in the debian directory

Revision history for this message
C de-Avillez (hggdh2) wrote :

Done (but still using autotools: I wanted to be sure that anyone could get the source and build it outside of Ubuntu).

I guess, now, I should adjust the cahngelog and submit it to Revu, Correct?

Revision history for this message
C de-Avillez (hggdh2) wrote :

libpst-0.6.27-1 has been uploaded to REVU.

Changed in libpst:
status: Unknown → New
C de-Avillez (hggdh2)
Changed in libpst:
assignee: hggdh2 → nobody
status: In Progress → Confirmed
Revision history for this message
C de-Avillez (hggdh2) wrote :

debdiff for Evolution 2.26.0 to activate pst-import is attached.

Changed in libpst (Ubuntu):
importance: Undecided → Wishlist
Iain Lane (laney)
Changed in libpst (Ubuntu):
assignee: nobody → laney
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libpst - 0.6.27-0ubuntu1

---------------
libpst (0.6.27-0ubuntu1) jaunty; urgency=low

  [ HggdH ]
  * new upstream source being used (LP: #317602) -- www.five-ten-sg.com/libpst:
    Debian's libpst version does not provide a shared library, and
    does not support newer Evolution PST files; dropping it.
  * remove upstream basic debianisation, and re-debianise using CDBS.
    upstream provides a basic, incomplete, and non-functional ./debian;
    also, add a ./debian/rules get-orig-source target in order to
    cleanup nicely.
  * debian/patches/10-current-attach.patch: patch for Evolution use,
      should be eventually dropped for a Evolution patch upstream.
  * debian/patches/05-disable-debian-gen.patch: adjust configure.in
    and Makefile.am not to generate the debian directory and files.
  * changed dependency from libgd2-noxpm to libgd2-xpm >= 2.0.36
      (current jaunty alpha 3 level).
  * add a Conflitcs for readpst < 0.6.27, to guarantee upgrade for
    those using the old libpst packages.

  [ Iain Lane ]
  * Set priority: extra and remove conflicts on same binary package
  * debian/copyright: Update and mention GPL-2+ licensed file src/lzfu.c

 -- HggdH <email address hidden> Wed, 25 Feb 2009 10:49:13 -0600

Changed in libpst:
status: In Progress → Fix Released
Revision history for this message
Iain Lane (laney) wrote :

s/extra/optional/ - braino in the changelog ;)

Revision history for this message
Vincent Arnoux (vincent-arnoux) wrote :

Hi,
libpst - 0.6.27-0ubuntu1 package is not installed by default (on a fresh install) in Jaunty RC (I guess that's where the optional comes in play...). Shouldn't it be there by default to help new users migration? I haven't found Ubuntu related documentation stating one should install this package to migrate one's .pst files to Evolution.

Revision history for this message
C de-Avillez (hggdh2) wrote :

Hi Vincent.

Yes, libpst is not installed by default on Jaunty. It ended up that Evolution did not get the PST-import plugin enabled for Jaunty: we did not have enough time to get it in; it might get in on either an update for Jaunty, or on Karmic (Jaunty+1).

Although you can manually select and install libpst, this will *not* make Evolution able to run the plugin: the plugin has to be built. But 'readpst', one of the binary packages generated by the libpst source, allows one to convert PST from the command-line. Granted, not as nice as through Evo, but at least it works right now.

Revision history for this message
Vincent Arnoux (vincent-arnoux) wrote : Re: [Bug 317602] Re: Please upgrade libpst from upstream at www.five-ten-sg.com/libpst

Ouch, that's really bad luck, it was one of the (few) good selling
points for Gnome 2.26... I really hope it will be in an update.

Thanks for your hard work to make Ubuntu as good as it is.

Vincent

On Fri, Apr 17, 2009 at 19:11, C de-Avillez <email address hidden> wrote:
> Hi Vincent.
>
> Yes, libpst is not installed by default on Jaunty. It ended up that
> Evolution did not get the PST-import plugin enabled for Jaunty: we did
> not have enough time to get it in; it might get in on either an update
> for Jaunty, or on Karmic (Jaunty+1).
>
> Although you can manually select and install libpst, this will *not*
> make Evolution able to run the plugin: the plugin has to be built. But
> 'readpst', one of the binary packages generated by the libpst source,
> allows one to convert PST from the command-line. Granted, not as nice as
> through Evo, but at least it works right now.
>
> --
> Please upgrade libpst from upstream at www.five-ten-sg.com/libpst
> https://bugs.launchpad.net/bugs/317602
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in libpst (Debian):
status: New → Fix Committed
Changed in libpst (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.