summaryrefslogtreecommitdiff
path: root/databases/evolution-data-server/files/patch-support-libxml2-2.9
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-11-19 11:49:04 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-11-19 11:49:04 +0000
commitaf3811313c14afb06fe2d1f6158e3e431bbfc2b6 (patch)
tree1ad98a4e8faecd0e2fa9ac2c18e65da4cf89c236 /databases/evolution-data-server/files/patch-support-libxml2-2.9
parentCleanup the @dirrm (diff)
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up. This commit removes the old GNOME 2 desktop, bindings and some ports that can't be compiled. A few ports where updated to more recent versions to allow them to compile with this update. Apart from updating ports to newer versions GDM is more integrated with gnome-shell now, and handles several things for the GNOME desktop such as screen locking. If you want to use GNOME 3 via startx, you will have to add your own lock screen/screensaver. For example xscreensaver can be used for sessions started without GDM. Shell Extensions can be installed via https://extensions.gnome.org/ , we have ported a few that can't be installed via this way. The old gnome-utils and gnome-games ports where split up into single ports and where converted to meta-ports. gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but if you use startx you need to do this yourself. Upgrade instructions: Delete the old and conflicting packages: # pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \ guile gcalctool gnome-media libgnomekbd # pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \ evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center For package users the following lines will be enough: # pkg upgrade # pkg install gnome3 For ports users should do the following: # portmaster -a # portmaster x11/gnome3 We are currently aware of two issues. The first issue is a bug in the file monitoring code in the glib20 port. This bug causes glib programs to crash when files in a monitored directory are added or removed. Upstream is aware of the problem, but since the problem is quite complex there is no solution yet. This problem isn't restricted to BSD. The second issue is that on certain video cards totem will display a purple/pink overlay on the video. It not clear yet where the issues comes from. Major thanks goes to Gustau Perez for being a driving force behind getting GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs. This update was also made possible by: Joe Maloney Kris Moore Beeblebrox Ryan Lortie Antoine Jacoutot and everyone I missed
Notes
Notes: svn path=/head/; revision=372768
Diffstat (limited to 'databases/evolution-data-server/files/patch-support-libxml2-2.9')
-rw-r--r--databases/evolution-data-server/files/patch-support-libxml2-2.9118
1 files changed, 0 insertions, 118 deletions
diff --git a/databases/evolution-data-server/files/patch-support-libxml2-2.9 b/databases/evolution-data-server/files/patch-support-libxml2-2.9
deleted file mode 100644
index 9d8711600e5c..000000000000
--- a/databases/evolution-data-server/files/patch-support-libxml2-2.9
+++ /dev/null
@@ -1,118 +0,0 @@
-From 679b10d75730e81fa268e11cfda289a27fd3e306 Mon Sep 17 00:00:00 2001
-From: Colin Walters <walters@verbum.org>
-Date: Mon, 13 Aug 2012 09:50:50 -0400
-Subject: Bug 681321 - Support both old and new-buf libxml2 APIs
-
-libxml2 changed the API for xmlOutputBuffer incompatibly.
-See https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00004.html
-
-diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
-index 0219b34..f96907e 100644
---- calendar/backends/caldav/e-cal-backend-caldav.c
-+++ calendar/backends/caldav/e-cal-backend-caldav.c
-@@ -1188,6 +1188,19 @@ caldav_authenticate (ECalBackendCalDAV *cbdav,
- return success;
- }
-
-+static gconstpointer
-+compat_libxml_output_buffer_get_content (xmlOutputBufferPtr buf,
-+ gsize *out_len)
-+{
-+#ifdef LIBXML2_NEW_BUFFER
-+ *out_len = xmlOutputBufferGetSize (buf);
-+ return xmlOutputBufferGetContent (buf);
-+#else
-+ *out_len = buf->buffer->use;
-+ return buf->buffer->content;
-+#endif
-+}
-+
- /* Returns whether calendar changed on the server. This works only when server
- * supports 'getctag' extension. */
- static gboolean
-@@ -1198,6 +1211,8 @@ check_calendar_changed_on_server (ECalBackendCalDAV *cbdav)
- xmlDocPtr doc;
- xmlNodePtr root, node;
- xmlNsPtr ns, nsdav;
-+ gconstpointer buf_content;
-+ gsize buf_size;
- gboolean result = TRUE;
-
- g_return_val_if_fail (cbdav != NULL, TRUE);
-@@ -1230,11 +1245,11 @@ check_calendar_changed_on_server (ECalBackendCalDAV *cbdav)
- soup_message_headers_append (message->request_headers,
- "Depth", "0");
-
-+ buf_content = compat_libxml_output_buffer_get_content (buf, &buf_size);
- soup_message_set_request (message,
- "application/xml",
- SOUP_MEMORY_COPY,
-- (gchar *) buf->buffer->content,
-- buf->buffer->use);
-+ buf_content, buf_size);
-
- /* Send the request now */
- send_and_handle_redirection (cbdav->priv->session, message, NULL);
-@@ -1299,6 +1314,8 @@ caldav_server_list_objects (ECalBackendCalDAV *cbdav,
- xmlDocPtr doc;
- xmlNsPtr nsdav;
- xmlNsPtr nscd;
-+ gconstpointer buf_content;
-+ gsize buf_size;
- gboolean result;
-
- /* Allocate the soup message */
-@@ -1378,11 +1395,11 @@ caldav_server_list_objects (ECalBackendCalDAV *cbdav,
- soup_message_headers_append (message->request_headers,
- "Depth", "1");
-
-+ buf_content = compat_libxml_output_buffer_get_content (buf, &buf_size);
- soup_message_set_request (message,
- "application/xml",
- SOUP_MEMORY_COPY,
-- (gchar *) buf->buffer->content,
-- buf->buffer->use);
-+ buf_content, buf_size);
-
- /* Send the request now */
- send_and_handle_redirection (cbdav->priv->session, message, NULL);
-@@ -1795,6 +1812,8 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav)
- xmlDocPtr doc;
- xmlNodePtr root, node;
- xmlNsPtr nsdav;
-+ gconstpointer buf_content;
-+ gsize buf_size;
- gchar *owner = NULL;
-
- g_return_val_if_fail (E_IS_CAL_BACKEND_CALDAV (cbdav), FALSE);
-@@ -1820,11 +1839,11 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav)
- soup_message_headers_append (message->request_headers, "User-Agent", "Evolution/" VERSION);
- soup_message_headers_append (message->request_headers, "Depth", "0");
-
-+ buf_content = compat_libxml_output_buffer_get_content (buf, &buf_size);
- soup_message_set_request (message,
- "application/xml",
- SOUP_MEMORY_COPY,
-- (gchar *) buf->buffer->content,
-- buf->buffer->use);
-+ buf_content, buf_size);
-
- /* Send the request now */
- send_and_handle_redirection (cbdav->priv->session, message, NULL);
-@@ -1870,11 +1889,11 @@ caldav_receive_schedule_outbox_url (ECalBackendCalDAV *cbdav)
- soup_message_headers_append (message->request_headers, "User-Agent", "Evolution/" VERSION);
- soup_message_headers_append (message->request_headers, "Depth", "0");
-
-+ buf_content = compat_libxml_output_buffer_get_content (buf, &buf_size);
- soup_message_set_request (message,
-- "application/xml",
-- SOUP_MEMORY_COPY,
-- (gchar *) buf->buffer->content,
-- buf->buffer->use);
-+ "application/xml",
-+ SOUP_MEMORY_COPY,
-+ buf_content, buf_size);
-
- /* Send the request now */
- send_and_handle_redirection (cbdav->priv->session, message, NULL);
-