From 54574ec91ff8aa7e2e892a94ce13eff95092edc5ea237f4c1c50c199bf3c0e6b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 5 Mar 2008 21:41:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsoup?expand=0&rev=8 --- libsoup-2.3.0.1.tar.bz2 | 3 -- libsoup-2.3.4.tar.bz2 | 3 ++ libsoup.changes | 88 ++++++++++++++++++++++++++++++++++++++++ libsoup.spec | 90 ++++++++++++++++++++++++++++++++++++----- 4 files changed, 171 insertions(+), 13 deletions(-) delete mode 100644 libsoup-2.3.0.1.tar.bz2 create mode 100644 libsoup-2.3.4.tar.bz2 diff --git a/libsoup-2.3.0.1.tar.bz2 b/libsoup-2.3.0.1.tar.bz2 deleted file mode 100644 index 6cf46d0..0000000 --- a/libsoup-2.3.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:044d56fccc887ea92ac2f12bfc3d9986f427b4cf78a5e87d78ba42a665a849f9 -size 601619 diff --git a/libsoup-2.3.4.tar.bz2 b/libsoup-2.3.4.tar.bz2 new file mode 100644 index 0000000..e04ae80 --- /dev/null +++ b/libsoup-2.3.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db1903cf8c4cd99565162f2f40e2d7afdbd2db1055482f4cb61ecfe844483ebd +size 612000 diff --git a/libsoup.changes b/libsoup.changes index 80c45f5..85cd55c 100644 --- a/libsoup.changes +++ b/libsoup.changes @@ -1,3 +1,91 @@ +------------------------------------------------------------------- +Mon Mar 3 19:05:24 CET 2008 - maw@suse.de + +- Update to version 2.3.4: + + Documentation is once again available from devhelp (bgo#518384 + and bgo#518317) + + Tidied up libsoup-2.4.pc file (bgo#517631) +- The shared library subpackage is now called libsoup-2_4-1. + +------------------------------------------------------------------- +Mon Feb 18 22:22:18 CET 2008 - maw@suse.de + +- Update to version 2.3.2: + + API changes / Behavior changes: + * soup_server_add_auth_domain() now refs the auth domain when + adding it. (soup_server_remove_auth_domain() already + unreffed it.) This means existing applications using + SoupAuthDomain will now have a small memory leak. Those + applications should update their libsoup-2.4 requirement to + ">= 2.3.2" at some point before the final GNOME 2.22.0 + release, and then fix the code to unref the auth domain + after adding it to the server. + * SoupSession's automatic redirect-handling behavior now obeys + RFC 2616 more closely. In particular, status codes 300 and + 304 are no longer mistakenly considered redirects; POSTs + that receive 303 are now redirected into GETs; and POSTs + that receive 301, 302, or 307 are now not redirected. + + Applications that were using the SOUP_MESSAGE_NO_REDIRECT + flag to prevent libsoup from redirecting POSTs incorrectly + before should now be able to remove that if they depend on + libsoup-2.4 >= 2.3.2. + + + API additions: + * Added a SOUP_SESSION_USER_AGENT property to SoupSession, and + SOUP_SERVER_SERVER_HEADER to SoupServer, to support + automatically adding "User-Agent" and "Server" headers to + messages. (The default behavior is to do nothing, as + before.) + * Added several new methods to soup-forms.h. Applications that + are encoding a fixed set of form fields can now just pass + them to soup_form_encode(), rather than needing to construct + a GHashTable or GData list. (Likewise, the new + soup_uri_set_query_from_fields() behaves similarly for + directly updating a URI with form data.) There are also now + soup_form_request_new() and other related methods, to + directly create a GET or POST SoupMessage for submitting a + form query. + + The original soup_form_* methods have all been renamed, + although bgo#defines exist for backward compatibility. + + * Added soup_message_set_chunk_allocator() and + soup_buffer_new_with_owner(), to give applications more + control over memory usage/copying when doing streaming HTTP. + [Wouter Cloetens, bgo#513810]. + + * Added several new methods to soup-value-utils.h for working + with multiple array or hash table values at once: + soup_value_hash_new_with_vals(), + soup_value_hash_insert_vals(), + soup_value_hash_lookup_vals(), + soup_value_array_new_with_vals(), and + soup_value_array_append_vals(). + + This helps to simplify XML-RPC calls that send or receive + structs or arrays. + + * Added soup_date_to_time_t(). + + * Added SoupMessageHeadersIterator, an iterator type for + SoupMessageHeaders that can be used instead of + soup_message_headers_foreach(). + + + Bug fixes: + + * Fixed a crash-when-idle in evolution-exchange [bgo#437835] and + rhythmbox [bgo#506552]. + + * Added the API version to the gtk-doc installation dir, to + prevent parallel-installation problems with libsoup 2.2 and + 2.4. [bgo#512810, Daniel Gryniewicz]. + + * Fixed tests/query-test to compile correctly on Solaris. + [bgo#513602, patch from Jeff Cai] + + * Fixed some other minor HTTP conformance issues. + ------------------------------------------------------------------- Thu Jan 31 19:32:20 CET 2008 - maw@suse.de diff --git a/libsoup.spec b/libsoup.spec index b60d033..c4f37f1 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -1,5 +1,5 @@ # -# spec file for package libsoup (Version 2.3.0.1) +# spec file for package libsoup (Version 2.3.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -10,6 +10,7 @@ # norootforbuild + Name: libsoup BuildRequires: glib2-devel gnutls-devel gtk-doc libxml2-devel # We do not need these dependencies needed only for tests. @@ -18,8 +19,8 @@ License: LGPL v2.1 or later Group: Development/Libraries/GNOME AutoReqProv: on Summary: Simple Object Access Protocol (SOAP) -Version: 2.3.0.1 -Release: 2 +Version: 2.3.4 +Release: 1 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2 # PATCH-NEEDS-REBASE libsoup-2.2.100-r924.patch Patch1: libsoup-2.2.100-r924.patch @@ -27,7 +28,7 @@ Patch1: libsoup-2.2.100-r924.patch Patch2: libsoup-334021.patch Url: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: %{name}-2_4-0 = %{version} +Requires: %{name}-2_4-1 = %{version} %description Soup is a SOAP (Simple Object Access Protocol) implementation in C. @@ -54,12 +55,12 @@ Authors: Dick Porter Miguel De Icaza -%package 2_4-0 +%package 2_4-1 Summary: Simple Object Access Protocol (SOAP) Group: Development/Libraries/GNOME Requires: %{name} >= %{version} -%description 2_4-0 +%description 2_4-1 Soup is a SOAP (Simple Object Access Protocol) implementation in C. It provides a queued asynchronous callback-based mechanism for sending @@ -151,15 +152,15 @@ rm $RPM_BUILD_ROOT/%{_libdir}/*.*a %clean rm -rf $RPM_BUILD_ROOT -%post 2_4-0 -p /sbin/ldconfig +%post 2_4-1 -p /sbin/ldconfig -%postun 2_4-0 -p /sbin/ldconfig +%postun 2_4-1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING ChangeLog NEWS AUTHORS -%files 2_4-0 +%files 2_4-1 %defattr(-, root, root) %{_libdir}/*.so.* @@ -172,9 +173,78 @@ rm -rf $RPM_BUILD_ROOT %files doc %defattr(-,root,root) -%{_datadir}/gtk-doc/html/libsoup +%{_datadir}/gtk-doc/html/libsoup-2.4 %changelog +* Mon Mar 03 2008 maw@suse.de +- Update to version 2.3.4: + + Documentation is once again available from devhelp (bgo#518384 + and bgo#518317) + + Tidied up libsoup-2.4.pc file (bgo#517631) +- The shared library subpackage is now called libsoup-2_4-1. +* Mon Feb 18 2008 maw@suse.de +- Update to version 2.3.2: + + API changes / Behavior changes: + * soup_server_add_auth_domain() now refs the auth domain when + adding it. (soup_server_remove_auth_domain() already + unreffed it.) This means existing applications using + SoupAuthDomain will now have a small memory leak. Those + applications should update their libsoup-2.4 requirement to + ">= 2.3.2" at some point before the final GNOME 2.22.0 + release, and then fix the code to unref the auth domain + after adding it to the server. + * SoupSession's automatic redirect-handling behavior now obeys + RFC 2616 more closely. In particular, status codes 300 and + 304 are no longer mistakenly considered redirects; POSTs + that receive 303 are now redirected into GETs; and POSTs + that receive 301, 302, or 307 are now not redirected. + Applications that were using the SOUP_MESSAGE_NO_REDIRECT + flag to prevent libsoup from redirecting POSTs incorrectly + before should now be able to remove that if they depend on + libsoup-2.4 >= 2.3.2. + + API additions: + * Added a SOUP_SESSION_USER_AGENT property to SoupSession, and + SOUP_SERVER_SERVER_HEADER to SoupServer, to support + automatically adding "User-Agent" and "Server" headers to + messages. (The default behavior is to do nothing, as + before.) + * Added several new methods to soup-forms.h. Applications that + are encoding a fixed set of form fields can now just pass + them to soup_form_encode(), rather than needing to construct + a GHashTable or GData list. (Likewise, the new + soup_uri_set_query_from_fields() behaves similarly for + directly updating a URI with form data.) There are also now + soup_form_request_new() and other related methods, to + directly create a GET or POST SoupMessage for submitting a + form query. + The original soup_form_* methods have all been renamed, + although bgo#defines exist for backward compatibility. + * Added soup_message_set_chunk_allocator() and + soup_buffer_new_with_owner(), to give applications more + control over memory usage/copying when doing streaming HTTP. + [Wouter Cloetens, bgo#513810]. + * Added several new methods to soup-value-utils.h for working + with multiple array or hash table values at once: + soup_value_hash_new_with_vals(), + soup_value_hash_insert_vals(), + soup_value_hash_lookup_vals(), + soup_value_array_new_with_vals(), and + soup_value_array_append_vals(). + This helps to simplify XML-RPC calls that send or receive + structs or arrays. + * Added soup_date_to_time_t(). + * Added SoupMessageHeadersIterator, an iterator type for + SoupMessageHeaders that can be used instead of + soup_message_headers_foreach(). + + Bug fixes: + * Fixed a crash-when-idle in evolution-exchange [bgo#437835] and + rhythmbox [bgo#506552]. + * Added the API version to the gtk-doc installation dir, to + prevent parallel-installation problems with libsoup 2.2 and + 2.4. [bgo#512810, Daniel Gryniewicz]. + * Fixed tests/query-test to compile correctly on Solaris. + [bgo#513602, patch from Jeff Cai] + * Fixed some other minor HTTP conformance issues. * Thu Jan 31 2008 maw@suse.de - Split out a shared library subpackage - Build with -fno-strict-aliasing