diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-07 01:47:56 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-07-07 01:47:56 +0800 |
commit | 62b660cd64722a6fef7c43446fadbf6a8aa31b23 (patch) | |
tree | 14f8ea6288f09cef2629665c4107f1a3fac8b516 | |
parent | 5c935e468ad4ba669a792af60370357de66af582 (diff) | |
download | gsoc2013-epiphany-62b660cd64722a6fef7c43446fadbf6a8aa31b23.tar.gz gsoc2013-epiphany-62b660cd64722a6fef7c43446fadbf6a8aa31b23.tar.zst gsoc2013-epiphany-62b660cd64722a6fef7c43446fadbf6a8aa31b23.zip |
Add libarchive to dependencies
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | embed/ephy-download.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2ebd5ca59..ec8f22e6a 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,7 @@ GSETTINGS_DESKTOP_SCHEMAS_REQUIRED=0.0.1 LIBNOTIFY_REQUIRED=0.5.1 GCR_REQUIRED=3.5.5 AVAHI_REQUIRED=0.6.22 +LIBARCHIVE_REQUIRED=3.0.0 WEBKIT_GTK_PC_NAME=webkit2gtk-3.0 AC_DEFINE([HAVE_WEBKIT2],[1],[Define if building with WebKit2]) @@ -120,6 +121,7 @@ PKG_CHECK_MODULES([DEPENDENCIES], [ gcr-3 >= $GCR_REQUIRED avahi-gobject >= $AVAHI_REQUIRED avahi-client >= $AVAHI_REQUIRED + libarchive >= $LIBARCHIVE_REQUIRED ]) PKG_CHECK_MODULES(WEB_EXTENSION, [ diff --git a/embed/ephy-download.c b/embed/ephy-download.c index 822ae4822..60cbbb873 100644 --- a/embed/ephy-download.c +++ b/embed/ephy-download.c @@ -41,6 +41,9 @@ G_DEFINE_TYPE (EphyDownload, ephy_download, G_TYPE_OBJECT) +/* This line is copied from file-roller */ +#define BUFFER_SIZE (64 * 1024) + #define EPHY_DOWNLOAD_GET_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), EPHY_TYPE_DOWNLOAD, EphyDownloadPrivate)) |