diff options
-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 edfb0cfc4..cd1327f4b 100644 --- a/configure.ac +++ b/configure.ac @@ -77,6 +77,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]) @@ -113,6 +114,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)) |