Merge pull request #117424 from mvnetbiz/evolution-pst-import
libpst: build as shared library, evolution: enable importing Outlook .pst data files
This commit is contained in:
commit
a57a59febe
@ -10,6 +10,7 @@
|
|||||||
, gtk3
|
, gtk3
|
||||||
, glib
|
, glib
|
||||||
, libnotify
|
, libnotify
|
||||||
|
, libpst
|
||||||
, gspell
|
, gspell
|
||||||
, evolution-data-server
|
, evolution-data-server
|
||||||
, libgdata
|
, libgdata
|
||||||
@ -80,6 +81,7 @@ stdenv.mkDerivation rec {
|
|||||||
libgweather
|
libgweather
|
||||||
libical
|
libical
|
||||||
libnotify
|
libnotify
|
||||||
|
libpst
|
||||||
librsvg
|
librsvg
|
||||||
libsecret
|
libsecret
|
||||||
nspr
|
nspr
|
||||||
@ -99,7 +101,6 @@ stdenv.mkDerivation rec {
|
|||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_AUTOAR=OFF"
|
"-DENABLE_AUTOAR=OFF"
|
||||||
"-DENABLE_LIBCRYPTUI=OFF"
|
"-DENABLE_LIBCRYPTUI=OFF"
|
||||||
"-DENABLE_PST_IMPORT=OFF"
|
|
||||||
"-DENABLE_YTNEF=OFF"
|
"-DENABLE_YTNEF=OFF"
|
||||||
"-DWITH_SPAMASSASSIN=${spamassassin}/bin/spamassassin"
|
"-DWITH_SPAMASSASSIN=${spamassassin}/bin/spamassassin"
|
||||||
"-DWITH_SA_LEARN=${spamassassin}/bin/sa-learn"
|
"-DWITH_SA_LEARN=${spamassassin}/bin/sa-learn"
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
{ lib, stdenv, fetchurl, autoreconfHook, boost, libgsf,
|
{ lib
|
||||||
pkg-config, bzip2, xmlto, gettext, imagemagick, doxygen }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, bzip2
|
||||||
|
, doxygen
|
||||||
|
, gettext
|
||||||
|
, imagemagick
|
||||||
|
, libgsf
|
||||||
|
, xmlto
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libpst-0.6.75";
|
name = "libpst-0.6.75";
|
||||||
@ -9,14 +19,24 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "11wrf47i3brlxg25wsfz17373q7m5fpjxn2lr41dj252ignqzaac";
|
sha256 = "11wrf47i3brlxg25wsfz17373q7m5fpjxn2lr41dj252ignqzaac";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
doxygen
|
||||||
|
gettext
|
||||||
|
xmlto
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost libgsf bzip2
|
bzip2
|
||||||
xmlto gettext imagemagick doxygen
|
imagemagick
|
||||||
|
libgsf
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-python=no"
|
"--enable-python=no"
|
||||||
|
"--disable-static"
|
||||||
|
"--enable-libpst-shared"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
@ -24,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.five-ten-sg.com/libpst/";
|
homepage = "https://www.five-ten-sg.com/libpst/";
|
||||||
description = "A library to read PST (MS Outlook Personal Folders) files";
|
description = "A library to read PST (MS Outlook Personal Folders) files";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = [ maintainers.tohl ];
|
maintainers = [ maintainers.tohl ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user