forked from pool/libsoup
Accepting request 27490 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/libsoup via accept of submit request 27490 revision 2. Request was accepted with message: accept OBS-URL: https://build.opensuse.org/request/show/27490 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=46
This commit is contained in:
parent
9b79f12f56
commit
d5ececedec
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:647217d395d560375551056e291d697543d424eb6363e101c334a01a0b8c6fb6
|
||||
size 631656
|
3
libsoup-2.29.3.tar.bz2
Normal file
3
libsoup-2.29.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b38450a74b569a63bd36a793de25dd84570e47948bf63889c4b808c9f18cf3e
|
||||
size 705665
|
42
libsoup-gir-repository-build.patch
Normal file
42
libsoup-gir-repository-build.patch
Normal file
@ -0,0 +1,42 @@
|
||||
commit b304a99ddebbb14b231c4b288e303b3088d7041e
|
||||
Author: Vincent Untz <vuntz@gnome.org>
|
||||
Date: Thu Dec 3 15:35:58 2009 +0100
|
||||
|
||||
Make connection-created and tunneling of SoupSession use a GObject
|
||||
|
||||
The connection-created and tunneling signals added to SoupSession in commit
|
||||
6ff7ecdd were using SoupConnection, and this made SoupConnection
|
||||
semi-public (gir-repository failed to build because it didn't know about
|
||||
it, for example).
|
||||
|
||||
Since SoupConnection is intended to be private, use a GObject for the
|
||||
signal parameter.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=603696
|
||||
|
||||
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
|
||||
index c4d3044..547db9f 100644
|
||||
--- a/libsoup/soup-session.c
|
||||
+++ b/libsoup/soup-session.c
|
||||
@@ -390,7 +390,9 @@ soup_session_class_init (SoupSessionClass *session_class)
|
||||
NULL, NULL,
|
||||
soup_marshal_NONE__OBJECT,
|
||||
G_TYPE_NONE, 1,
|
||||
- SOUP_TYPE_CONNECTION);
|
||||
+ /* SoupConnection is public, so we can't use
|
||||
+ * SOUP_TYPE_CONNECTION here */
|
||||
+ G_TYPE_OBJECT);
|
||||
|
||||
signals[TUNNELING] =
|
||||
g_signal_new ("tunneling",
|
||||
@@ -400,7 +402,9 @@ soup_session_class_init (SoupSessionClass *session_class)
|
||||
NULL, NULL,
|
||||
soup_marshal_NONE__OBJECT,
|
||||
G_TYPE_NONE, 1,
|
||||
- SOUP_TYPE_CONNECTION);
|
||||
+ /* SoupConnection is public, so we can't use
|
||||
+ * SOUP_TYPE_CONNECTION here */
|
||||
+ G_TYPE_OBJECT);
|
||||
|
||||
|
||||
/* properties */
|
@ -1,3 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 23 10:32:37 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Change gnome-keyring-devel BuildRequires to
|
||||
libgnome-keyring-devel, following the module split upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 14:23:03 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Add libsoup-gir-repository-build.patch to fix the gir-repository
|
||||
build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 01:27:54 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 2.29.3:
|
||||
+ Fixed a crash in SoupCookieJarSqlite when using cookie
|
||||
databases not created by libsoup (eg, upgraded epiphany
|
||||
installations).
|
||||
+ Fixed SoupCookieJar to handle non-http URIs properly (so that,
|
||||
eg, JavaScript bookmarklets that try to set/read cookies won't
|
||||
cause crashes). [bgo#602498]
|
||||
+ HEAD requests that receive a "303 See Other" response will now
|
||||
do a HEAD, not a GET, on the redirected-to resource. Fixes gvfs
|
||||
access to some sites, including certain youtube.com URIs.
|
||||
[bgo#600830]
|
||||
+ Fixed a g_warning that would always trigger in the server-side
|
||||
SoupCookie code. [bgo#602389]
|
||||
+ Fixed the server-side SoupMultipart code to be able to parse
|
||||
multiparts containing binary attachments, rather than rejecting
|
||||
them as malformed. [bgo#601640]
|
||||
+ Fixed the Request-Line format in the https-over-proxy case.
|
||||
Among other things, this fixes access to bugzilla.gnome.org
|
||||
from WebKitGTK-based browsers. [bgo#598277, bgo#600826]
|
||||
+ Fixed a leak in SoupSession if a message was cancelled while
|
||||
the initial socket connection was in progress. [bgo#596074]
|
||||
+ Fixed server-side parsing of Digest auth. [bgo#602898]
|
||||
+ Fixed WinSock initialization on Windows. [bgo#600689]
|
||||
+ Fixed a sporadic crash in the SSL code on Windows. [bgo#600748]
|
||||
+ Fixed handling of https connections with timeouts on Windows.
|
||||
[bgo#600749]
|
||||
+ Added soup_session_prepare_for_uri(), to allow DNS prefetching
|
||||
for faster browsing. [bgo#598948]
|
||||
+ SoupSession now avoids redundant DNS lookups again when first
|
||||
connecting to a new site, resulting in (probably imperceptibly)
|
||||
faster loads.
|
||||
+ Added some debugging APIs to SoupConnection and SoupSession for
|
||||
use by, eg, epiphany's soup-fly extension. [bgo#589163]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 14 02:42:42 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 2.28.1:
|
||||
+ libsoup will now attempt to make multiple connections to a
|
||||
server at once when there are multiple messages queued to that
|
||||
server. The previous behavior (only allowing a single pending
|
||||
connection to each server) resulted in slow load times on pages
|
||||
with lots of subresources (images, css, js, etc) on servers
|
||||
that disallow persistent connections. [bgo#594768]
|
||||
+ There should now be fewer (no?) "Connection terminated
|
||||
unexpectedly" errors in WebKitGTK.
|
||||
+ Fixed a crash in SoupCookieJarSqlite [bgo#596859]
|
||||
+ Fixed soup_address_get_physical() and address-to-name
|
||||
resolution of SoupAddress?
|
||||
+ Fixed a bug in SoupContentSniffer that could cause false
|
||||
negatives [bgo#597545].
|
||||
+ Fixed the configure error if you have gnutls-devel but not
|
||||
gcrypt-devel installed [bgo#587709].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 23 14:30:17 CEST 2009 - dimstar@opensuse.org
|
||||
|
||||
|
106
libsoup.spec
106
libsoup.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libsoup (Version 2.28.0)
|
||||
# spec file for package libsoup (Version 2.29.3)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -21,57 +21,47 @@
|
||||
Name: libsoup
|
||||
BuildRequires: gconf2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gnome-keyring-devel
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: libgnome-keyring-devel
|
||||
BuildRequires: libproxy-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
# We do not need these dependencies needed only for tests.
|
||||
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
||||
License: LGPL v2.1 or later
|
||||
License: LGPLv2.1+
|
||||
Group: Development/Libraries/GNOME
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libsoup-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: Simple Object Access Protocol (SOAP)
|
||||
Version: 2.28.0
|
||||
Summary: HTTP client/server library for GNOME
|
||||
Version: 2.29.3
|
||||
Release: 1
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM libsoup-gir-repository-build.patch bgo603696 vuntz@opensuse.org -- Needed to fix gir-repository build
|
||||
Patch0: libsoup-gir-repository-build.patch
|
||||
Url: http://www.gnome.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: %{name}-2_4-1 = %{version}
|
||||
|
||||
%description
|
||||
Soup is a SOAP (Simple Object Access Protocol) implementation in C.
|
||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||
and the glib main loop, to integrate well with GNOME applications.
|
||||
|
||||
It provides a queued asynchronous callback-based mechanism for sending
|
||||
and servicing SOAP requests and a WSDL (Web Service Definition
|
||||
Language) to C compiler that generates client stubs and server
|
||||
skeletons for easily calling and implementing SOAP methods.
|
||||
|
||||
It uses the Glib main loop and is designed to work well with GTK+
|
||||
applications. This enables GNOME applications to access SOAP servers
|
||||
on the network in a completely asynchronous fashion, very similar to
|
||||
the GTK+ programming model (a synchronous operation mode is also
|
||||
supported for those who want it).
|
||||
|
||||
The WSDL compiler helps you make your applications interoperate with
|
||||
services that expose their descriptions through WSDL.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Alex Graveley <alex@ximian.com>
|
||||
Dick Porter <dick@ximian.com>
|
||||
Miguel De Icaza <miguel@ximian.com>
|
||||
Features:
|
||||
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
||||
* Automatically caches connections
|
||||
* SSL Support using GnuTLS
|
||||
* Proxy support, including authentication and SSL tunneling
|
||||
* Client support for Digest, NTLM, and Basic authentication
|
||||
* Server support for Digest and Basic authentication
|
||||
* XML-RPC support
|
||||
|
||||
%package 2_4-1
|
||||
License: LGPL v2.1 or later
|
||||
Summary: Simple Object Access Protocol (SOAP)
|
||||
License: LGPLv2.1+
|
||||
Summary: HTTP client/server library for GNOME
|
||||
Group: Development/Libraries/GNOME
|
||||
Provides: %{name} = %{version}
|
||||
Obsoletes: %{name} < %{version}
|
||||
@ -82,33 +72,21 @@ Obsoletes: libsoup-64bit
|
||||
#
|
||||
|
||||
%description 2_4-1
|
||||
Soup is a SOAP (Simple Object Access Protocol) implementation in C.
|
||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||
and the glib main loop, to integrate well with GNOME applications.
|
||||
|
||||
It provides a queued asynchronous callback-based mechanism for sending
|
||||
and servicing SOAP requests and a WSDL (Web Service Definition
|
||||
Language) to C compiler that generates client stubs and server
|
||||
skeletons for easily calling and implementing SOAP methods.
|
||||
|
||||
It uses the Glib main loop and is designed to work well with GTK+
|
||||
applications. This enables GNOME applications to access SOAP servers
|
||||
on the network in a completely asynchronous fashion, very similar to
|
||||
the GTK+ programming model (a synchronous operation mode is also
|
||||
supported for those who want it).
|
||||
|
||||
The WSDL compiler helps you make your applications interoperate with
|
||||
services that expose their descriptions through WSDL.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Alex Graveley <alex@ximian.com>
|
||||
Dick Porter <dick@ximian.com>
|
||||
Miguel De Icaza <miguel@ximian.com>
|
||||
Features:
|
||||
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
||||
* Automatically caches connections
|
||||
* SSL Support using GnuTLS
|
||||
* Proxy support, including authentication and SSL tunneling
|
||||
* Client support for Digest, NTLM, and Basic authentication
|
||||
* Server support for Digest and Basic authentication
|
||||
* XML-RPC support
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.1 or later
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
License: LGPLv2.1+
|
||||
Summary: HTTP client/server library for GNOME - Development Files
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version} glib2-devel libgnutls-devel libgcrypt-devel libgpg-error-devel libxml2-devel
|
||||
Provides: %{name}-doc = %{version}
|
||||
@ -120,21 +98,21 @@ Obsoletes: libsoup-devel-64bit
|
||||
#
|
||||
|
||||
%description devel
|
||||
Soup is a SOAP (Simple Object Access Protocol) implementation in C. It
|
||||
provides a queued, asynchronous callback-based mechanism for sending
|
||||
SOAP requests. This package allows you to develop applications that use
|
||||
the Soup library.
|
||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||
and the glib main loop, to integrate well with GNOME applications.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Alex Graveley <alex@ximian.com>
|
||||
Dick Porter <dick@ximian.com>
|
||||
Miguel De Icaza <miguel@ximian.com>
|
||||
Features:
|
||||
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
||||
* Automatically caches connections
|
||||
* SSL Support using GnuTLS
|
||||
* Proxy support, including authentication and SSL tunneling
|
||||
* Client support for Digest, NTLM, and Basic authentication
|
||||
* Server support for Digest and Basic authentication
|
||||
* XML-RPC support
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure\
|
||||
|
Loading…
x
Reference in New Issue
Block a user