aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2013-07-07 01:47:56 +0800
committerLAN-TW <lantw44@gmail.com>2013-09-16 22:04:47 +0800
commit688262dbe73ccd0c2aa357d03133d3982c0fd459 (patch)
treed5b913102cb6aa932aa97b54ecd1aa72ea01c9ac
parent6312d03df0a10a59c8c71f695d1ae574930fc771 (diff)
downloadgsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar.gz
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar.bz2
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar.lz
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar.xz
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.tar.zst
gsoc2013-epiphany-688262dbe73ccd0c2aa357d03133d3982c0fd459.zip
Add libarchive to dependencies
-rw-r--r--configure.ac2
-rw-r--r--embed/ephy-download.c3
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))