[evolution] [Win32] Update evolution-rss patch to latest git master of it
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] [Win32] Update evolution-rss patch to latest git master of it
- Date: Fri, 26 Sep 2014 21:50:21 +0000 (UTC)
commit 8a394f5702483c9cfeea33c84aef090f6bb119ce
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 26 23:49:56 2014 +0200
[Win32] Update evolution-rss patch to latest git master of it
win32/Makefile | 2 +-
win32/build | 14 +++++++-
win32/patches/rss.patch | 84 -----------------------------------------------
3 files changed, 13 insertions(+), 87 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index 9320488..d9d3647 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -92,7 +92,7 @@ $(BUILD_ROOT_EVO)/share/glib-2.0/schemas/org.gnome.evolution.plugin.evolution-rs
@if test ! -f "../../evolution-rss/gtk-doc.make" ; then \
cp "patches/gtk-doc.make" "../../evolution-rss/"; \
fi
- @./build acmmi "$(BUILD_ROOT_EVO)" ../../../evolution-rss "rss.patch" "" $(VERBOSE)
+ @./build acmmi "$(BUILD_ROOT_EVO)" ../../../evolution-rss "../evolution/win32/patches/rss.patch" ""
$(VERBOSE)
gcr: env gtk dbus $(BUILD_ROOT_DEPS)/lib/pkgconfig/gcr-3.pc
diff --git a/win32/build b/win32/build
index 915e352..93f94b2 100755
--- a/win32/build
+++ b/win32/build
@@ -35,7 +35,12 @@ export INCLUDE_PATH=$PREFIX/include
export LIBRARY_PATH=$PREFIX/lib
if test "$PATCHAFTERCFG" != "1" ; then
- for p in $PATCHES; do patch -p1 -f --fuzz=0 <../../patches/$p; done
+ for p in $PATCHES; do
+ case "$p" in
+ (*"/"*) patch -p1 -f --fuzz=0 <$p ;;
+ (*) patch -p1 -f --fuzz=0 <../../patches/$p ;;
+ esac
+ done
fi
if test "${HOW:0:1}" = "r" ; then
@@ -108,7 +113,12 @@ if test "$HOW" = "cmmi" ; then
fi
if test "$PATCHAFTERCFG" = "1" ; then
- for p in $PATCHES; do patch -p1 -f --fuzz=0 <../../patches/$p; done
+ for p in $PATCHES; do
+ case "$p" in
+ (*"/"*) patch -p1 -f --fuzz=0 <$p ;;
+ (*) patch -p1 -f --fuzz=0 <../../patches/$p ;;
+ esac
+ done
fi
if test "$VERBOSE" != "1" ; then
diff --git a/win32/patches/rss.patch b/win32/patches/rss.patch
index 5fa6194..06aa5a5 100644
--- a/win32/patches/rss.patch
+++ b/win32/patches/rss.patch
@@ -2,14 +2,6 @@ diff --git a/configure.ac b/configure.ac
index 6679ab5..f7fdae5 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -104,6 +104,7 @@ PKG_CHECK_MODULES(EVOLUTION_RSS_EPLUGIN,
- libsoup$SOUP >= $LIBSOUP_REQUIRED dnl
- $EVOLUTION_PLUGIN_CHECK dnl
- evolution-shell$EVOLUTION_BASE_VERSION_S >= $EVOLUTION_REQUIRED dnl
-+ evolution-mail$EVOLUTION_BASE_VERSION_S >= $EVOLUTION_REQUIRED dnl
- $EVOLUTION_ADDITIONAL dnl
- libebook-1.2 dnl
- ])
@@ -316,12 +317,6 @@ AC_SUBST(RENDER_CFLAGS)
AC_SUBST(RENDER)
AC_SUBST(RENDER_N)
@@ -23,79 +15,3 @@ index 6679ab5..f7fdae5 100644
dnl ***************
dnl Gsettings stuff
dnl ***************
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 91f2671..c0c6ecd 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -130,8 +130,12 @@ evolution_module_rss_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir) \
- -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \
-- -DG_LOG_DOMAIN=\"evolution-module-rss\" \
-- $(EVOLUTION_RSS_EPLUGIN_LIBS)
-+ -DG_LOG_DOMAIN=\"evolution-module-rss\"
-+
-+evolution_module_rss_la_LIBADD = \
-+ $(EVOLUTION_RSS_EPLUGIN_LIBS) \
-+ $(DATASERVER_LIBS)
-+
-
-
- evolution_module_rss_la_LDFLAGS = \
-diff --git a/src/e-mail-formatter-evolution-rss.c b/src/e-mail-formatter-evolution-rss.c
-index 6ae8d16..fd581d1 100644
---- a/src/e-mail-formatter-evolution-rss.c
-+++ b/src/e-mail-formatter-evolution-rss.c
-@@ -30,7 +30,6 @@
- #include <libedataserver/libedataserver.h>
-
- #include <glib/gi18n-lib.h>
--#include <X11/Xlib.h>
- #include <camel/camel.h>
-
- #include "misc.h"
-diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
-index a4f22e8..3529a64 100644
---- a/src/rss-config-factory.c
-+++ b/src/rss-config-factory.c
-@@ -552,11 +552,18 @@ folder_cb (GtkWidget *widget, gpointer data)
- model = em_folder_tree_model_get_default ();
- #endif
- #if EVOLUTION_VERSION >= 30303
-+#if EVOLUTION_VERSION >= 31301
-+ dialog = em_folder_selector_new (window, model);
-+ em_folder_selector_set_can_create (EM_FOLDER_SELECTOR (dialog), TRUE);
-+ em_folder_selector_set_caption (EM_FOLDER_SELECTOR (dialog), _("Move to Folder"));
-+ em_folder_selector_set_default_button_label (EM_FOLDER_SELECTOR (dialog), _("M_ove"));
-+#else
- dialog = em_folder_selector_new (
- window,
- model,
- EM_FOLDER_SELECTOR_CAN_CREATE,
- _("Move to Folder"), NULL, _("M_ove"));
-+#endif
- #else
- dialog = em_folder_selector_new (
- window,
-diff --git a/src/rss-evo-common.c b/src/rss-evo-common.c
-index 1a96862..269565b 100644
---- a/src/rss-evo-common.c
-+++ b/src/rss-evo-common.c
-@@ -55,6 +55,17 @@
- #include <libsoup/soup-gnome-features.h>
- #endif
-
-+#ifdef G_OS_WIN32
-+#include <winsock2.h>
-+#include <ws2tcpip.h>
-+#ifdef HAVE_WSPIAPI_H
-+#include <wspiapi.h>
-+#endif
-+
-+#define IN6_ARE_ADDR_EQUAL(a,b) IN6_ADDR_EQUAL(a,b)
-+
-+#endif
-+
- #define d(x)
-
- #include "rss-evo-common.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]