pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libsoup24 Update libsoup24 to 2.25.91.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b70f08cb15e
branches:  trunk
changeset: 556050:2b70f08cb15e
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Mon Mar 16 12:49:02 2009 +0000

description:
Update libsoup24 to 2.25.91.

Changes in libsoup from 2.25.4 to 2.25.5:

        * Fixed a crash in SoupProxyResolverGNOME when the proxy
          requires authentication. (This does not make proxy
          authentication *work* yet, it just makes it not crash.)

        * Updated documentation

Changes in libsoup from 2.25.4 to 2.25.5:

        * SoupProxyResolverGConf (which was incomplete) is gone, and
          libsoup-gnome now requires libproxy, which is now officially
          an external dependency of GNOME.

        * Fixed a bug in SoupCookieJar that was making it send
          "Cookie: (null)" when it had no cookies for a site, which
          confused some web servers (WebKit bug 23240).

        * Fixed a bug with using SOUP_MEMORY_TEMPORARY buffers and
          soup_message_body_set_accumulate(FALSE). (Part of WebKit bug
          18343, noticed by Gustavo Noronha Silva.)

        * Fixed the build with non-gcc compilers

Changes in libsoup from 2.25.3 to 2.25.4:

        * Added soup_session_get_feature() and
          soup_session_get_features(), to query the features currently
          available in a session (which is needed by the patch in
          https://bugs.webkit.org/show_bug.cgi?id=22624)

Changes in libsoup from 2.25.2 to 2.25.3:

        * Fixed a crash when using both cookies and a proxy. [#562191,
          Mark Lee]

        * Fixed soup_form_decode() to correctly handle forms with
          URI-encoded parameter names [#563302, Evan Nemerson] and
          added a regression test.

        * Fixed a crash in SoupProxyResolverGConf. [#563145]

Changes in libsoup from 2.25.1 to 2.25.2:

        * Fixed client behavior when presented with multiple auth
          types to choose the *strongest* auth type (eg, Digest)
          rather than the *weakest* one [#562339, Pontus Oldberg].
          Added a regression test for this.

        * Moved libsoup-gnome headers to a different directory to make
          it easier to split libsoup and libsoup-gnome into separate
          packages, and to ensure that things that only want to be
          looking at plain libsoup headers (like gir-repository) don't
          accidentally see the libsoup-gnome ones.

        * Some minor doc fixes

        * Fixed libsoup-gnome linking with --as-needed. [#559342]

Changes in libsoup from 2.24.1 to 2.25.1:

        libsoup 2.25.1 introduces a new library, libsoup-gnome, which
        will be used for features which are important to GNOME apps,
        but which require GNOME-specific libraries that non-GNOME apps
        may not want to add dependencies on.

        In 2.25.1, libsoup-gnome contains:

            * SOUP_TYPE_PROXY_RESOLVER_GNOME, a SoupSessionFeature
              type that can be added to a SoupSession to provide
              automatic proxy handling via the GConf proxy keys. (See
              below) The default implementation uses libproxy, which
              also handles WPAD, PAC, etc, but if libproxy is not
              available it will use GConf directly, supporting only
              the basic HTTP proxy functionality.

            * SoupCookieJarSqlite, a SoupSessionFeature that handles
              cookies and stores them in a Firefox 3-compatible sqlite
              file. (This is not actually a "GNOME-specific" feature,
              but I didn't want to make libsoup itself depend on
              sqlite, and I didn't want to make the dependency
              optional. This might change before 2.26.)

            * SOUP_TYPE_GNOME_FEATURES_2_26: a SoupSessionFeature type
              that can be added to a SoupSession to add all
              GNOME-integration features that are available for 2.26;
              as of 2.25.1, this is just the GNOME proxy resolver, but
              by 2.26.0 it may also include gnome-keyring support and
              possibly other features.

        Applications/libraries that are currently doing GConf proxy
        lookup by hand can be updated as follows:

            * Remove all of the existing code that listens to the
              GConf keys and sets SOUP_SESSION_PROXY_URI

            * Change the configure check to require
              "libsoup-gnome-2.4 >= 2.25.1" instead of "libsoup-2.4"

            * #include <libsoup/soup-gnome.h>

            * After creating your SoupSession, do:

                  soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);

              (Or alternatively, use SOUP_SESSION_ADD_FEATURE_BY_TYPE
              with soup_session_async_new_with_options() or
              soup_session_sync_new_with_options().)


        Other new features and bug fixes in 2.25.1 include:

        * SoupCookieJarText, like SoupCookieJarSqlite, but using the
          old-style cookies.txt format, and in the base libsoup rather
          than libsoup-gnome.

        * Various bugfixes to SoupCookie and SoupCookieJar to fix the
          problems with cookies not working on certain sites.

        * The new SoupMultipart type provides support for multipart
          MIME bodies, and soup-form now includes several methods for
          generating and parsing multipart form data and file uploads.

        * SoupMessageHeaders now has methods for easy handling of the
          Content-Type, Content-Disposition, Range, and Content-Range
          headers. The Content-Disposition handling recognizes
          RFC2231-encoded UTF-8 filenames.

        * SoupServer now automatically handles partial GET requests;
          if your server returns SOUP_STATUS_OK in response to a
          partial GET, libsoup will automatically convert it to a
          SOUP_STATUS_PARTIAL_CONTENT response with only the requested
          portions.

        Thanks to Xan Lopez and Diego Escalante Urrelo for their work
        on SoupCookie, SoupCookieJar, SoupCookieJarText, and
        SoupCookieJarSqlite.

diffstat:

 net/libsoup24/Makefile         |  11 +++++++----
 net/libsoup24/PLIST            |  23 ++++++++++++++++++++++-
 net/libsoup24/distinfo         |  11 ++++++-----
 net/libsoup24/patches/patch-aa |  13 -------------
 net/libsoup24/patches/patch-ba |  13 +++++++++++++
 net/libsoup24/patches/patch-bb |  13 +++++++++++++
 6 files changed, 61 insertions(+), 23 deletions(-)

diffs (187 lines):

diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/Makefile
--- a/net/libsoup24/Makefile    Mon Mar 16 12:39:30 2009 +0000
+++ b/net/libsoup24/Makefile    Mon Mar 16 12:49:02 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2009/01/13 15:28:40 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2009/03/16 12:49:02 jmcneill Exp $
 
-DISTNAME=      libsoup-2.24.3
+DISTNAME=      libsoup-2.25.91
 PKGNAME=       ${DISTNAME:S/libsoup/libsoup24/}
 CATEGORIES=    net gnome
-MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libsoup/2.24/}
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libsoup/2.25/}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    recht%NetBSD.org@localhost
@@ -16,10 +16,13 @@
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 
-PKGCONFIG_OVERRIDE+=   libsoup.pc.in
+PKGCONFIG_OVERRIDE+=   libsoup-2.4.pc.in
+PKGCONFIG_OVERRIDE+=   libsoup-gnome-2.4.pc.in
 
+.include "../../databases/sqlite3/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.15.3
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/libproxy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/PLIST
--- a/net/libsoup24/PLIST       Mon Mar 16 12:39:30 2009 +0000
+++ b/net/libsoup24/PLIST       Mon Mar 16 12:49:02 2009 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2008/10/24 21:54:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/03/16 12:49:02 jmcneill Exp $
 include/libsoup-2.4/libsoup/soup-address.h
 include/libsoup-2.4/libsoup/soup-auth-domain-basic.h
 include/libsoup-2.4/libsoup/soup-auth-domain-digest.h
 include/libsoup-2.4/libsoup/soup-auth-domain.h
 include/libsoup-2.4/libsoup/soup-auth.h
+include/libsoup-2.4/libsoup/soup-cookie-jar-text.h
 include/libsoup-2.4/libsoup/soup-cookie-jar.h
 include/libsoup-2.4/libsoup/soup-cookie.h
 include/libsoup-2.4/libsoup/soup-date.h
@@ -16,7 +17,9 @@
 include/libsoup-2.4/libsoup/soup-message.h
 include/libsoup-2.4/libsoup/soup-method.h
 include/libsoup-2.4/libsoup/soup-misc.h
+include/libsoup-2.4/libsoup/soup-multipart.h
 include/libsoup-2.4/libsoup/soup-portability.h
+include/libsoup-2.4/libsoup/soup-proxy-resolver.h
 include/libsoup-2.4/libsoup/soup-server.h
 include/libsoup-2.4/libsoup/soup-session-async.h
 include/libsoup-2.4/libsoup/soup-session-feature.h
@@ -29,23 +32,35 @@
 include/libsoup-2.4/libsoup/soup-value-utils.h
 include/libsoup-2.4/libsoup/soup-xmlrpc.h
 include/libsoup-2.4/libsoup/soup.h
+include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h
+include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h
+include/libsoup-gnome-2.4/libsoup/soup-gnome.h
 lib/libsoup-2.4.la
+lib/libsoup-gnome-2.4.la
 lib/pkgconfig/libsoup-2.4.pc
+lib/pkgconfig/libsoup-gnome-2.4.pc
 share/gtk-doc/html/libsoup-2.4/SoupAddress.html
 share/gtk-doc/html/libsoup-2.4/SoupAuth.html
 share/gtk-doc/html/libsoup-2.4/SoupAuthDomain.html
 share/gtk-doc/html/libsoup-2.4/SoupAuthDomainBasic.html
 share/gtk-doc/html/libsoup-2.4/SoupAuthDomainDigest.html
 share/gtk-doc/html/libsoup-2.4/SoupCookieJar.html
+share/gtk-doc/html/libsoup-2.4/SoupCookieJarSqlite.html
+share/gtk-doc/html/libsoup-2.4/SoupCookieJarText.html
 share/gtk-doc/html/libsoup-2.4/SoupLogger.html
 share/gtk-doc/html/libsoup-2.4/SoupMessage.html
+share/gtk-doc/html/libsoup-2.4/SoupProxyResolver.html
 share/gtk-doc/html/libsoup-2.4/SoupServer.html
 share/gtk-doc/html/libsoup-2.4/SoupSession.html
 share/gtk-doc/html/libsoup-2.4/SoupSessionAsync.html
+share/gtk-doc/html/libsoup-2.4/SoupSessionFeature.html
 share/gtk-doc/html/libsoup-2.4/SoupSessionSync.html
 share/gtk-doc/html/libsoup-2.4/SoupSocket.html
 share/gtk-doc/html/libsoup-2.4/ch01.html
 share/gtk-doc/html/libsoup-2.4/ch02.html
+share/gtk-doc/html/libsoup-2.4/ch03.html
+share/gtk-doc/html/libsoup-2.4/ch04.html
+share/gtk-doc/html/libsoup-2.4/ch05.html
 share/gtk-doc/html/libsoup-2.4/home.png
 share/gtk-doc/html/libsoup-2.4/index.html
 share/gtk-doc/html/libsoup-2.4/index.sgml
@@ -54,14 +69,18 @@
 share/gtk-doc/html/libsoup-2.4/libsoup-2.4.devhelp
 share/gtk-doc/html/libsoup-2.4/libsoup-2.4.devhelp2
 share/gtk-doc/html/libsoup-2.4/libsoup-24-GValue-Support.html
+share/gtk-doc/html/libsoup-2.4/libsoup-24-HTML-Form-Support.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-Soup-Miscellaneous-Utilities.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupCookie.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMessageBody.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMessageHeaders.html
+share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupMultipart.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-SoupURI.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-XMLRPC-Support.html
+share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-gnome-features.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-method.html
 share/gtk-doc/html/libsoup-2.4/libsoup-24-soup-status.html
+share/gtk-doc/html/libsoup-2.4/libsoup-build-howto.html
 share/gtk-doc/html/libsoup-2.4/libsoup-client-howto.html
 share/gtk-doc/html/libsoup-2.4/libsoup-porting-2.2-2.4.html
 share/gtk-doc/html/libsoup-2.4/libsoup-server-howto.html
@@ -69,5 +88,7 @@
 share/gtk-doc/html/libsoup-2.4/style.css
 share/gtk-doc/html/libsoup-2.4/up.png
 @dirrm share/gtk-doc/html/libsoup-2.4
+@dirrm include/libsoup-gnome-2.4/libsoup
+@dirrm include/libsoup-gnome-2.4
 @dirrm include/libsoup-2.4/libsoup
 @dirrm include/libsoup-2.4
diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/distinfo
--- a/net/libsoup24/distinfo    Mon Mar 16 12:39:30 2009 +0000
+++ b/net/libsoup24/distinfo    Mon Mar 16 12:49:02 2009 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2009/01/20 09:01:54 sketch Exp $
+$NetBSD: distinfo,v 1.7 2009/03/16 12:49:02 jmcneill Exp $
 
-SHA1 (libsoup-2.24.3.tar.bz2) = b63cf9c0bc20264c59e84dea73eb76862be9329c
-RMD160 (libsoup-2.24.3.tar.bz2) = 9000d0355e65879f4031278bead9a4ad61a2bdea
-Size (libsoup-2.24.3.tar.bz2) = 661415 bytes
-SHA1 (patch-aa) = 51d9068480bc2be8671ad4eecdafc1d029fbe96e
+SHA1 (libsoup-2.25.91.tar.bz2) = 996d41f4d508e5810ca495470b3fa5b9383cda85
+RMD160 (libsoup-2.25.91.tar.bz2) = 861750b3102d2c7a8948079f73380daeb6c0ac73
+Size (libsoup-2.25.91.tar.bz2) = 715351 bytes
 SHA1 (patch-ab) = 70b4cfc4df6608042e0c5f5a548e1a8deb79c118
+SHA1 (patch-ba) = 7fa2ffb63809b6cb35da79b8228cd74c16be00a1
+SHA1 (patch-bb) = 15af9033d2350f4a46bccbc28ba31d78aa7e20b5
diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/patches/patch-aa
--- a/net/libsoup24/patches/patch-aa    Mon Mar 16 12:39:30 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/01/20 09:01:54 sketch Exp $
-
---- libsoup/soup-session-feature.h.orig        Tue Jan 20 08:44:20 2009
-+++ libsoup/soup-session-feature.h     Tue Jan 20 08:50:15 2009
-@@ -18,7 +18,7 @@
- #define SOUP_SESSION_FEATURE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SOUP_TYPE_SESSION_FEATURE, SoupSessionFeatureInterface))
- 
- /* dummy struct for gtk-doc */
--struct _SoupSessionFeature {};
-+struct _SoupSessionFeature {char nouse;};
- 
- typedef struct {
-       GTypeInterface parent;
diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/patches/patch-ba
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup24/patches/patch-ba    Mon Mar 16 12:49:02 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 2009/03/16 12:49:02 jmcneill Exp $
+
+--- configure.orig     2009-03-03 20:07:51.000000000 -0500
++++ configure
+@@ -23620,7 +23620,7 @@ _ACEOF
+     fi
+ else
+     have_apache=0
+-    if test "$APACHE_HTTPD" == "no" -o -z "$APACHE_MODULE_DIR"; then
++    if test "$APACHE_HTTPD" = "no" -o -z "$APACHE_MODULE_DIR"; then
+         MISSING_REGRESSION_TEST_PACKAGES="$MISSING_REGRESSION_TEST_PACKAGES apache"
+     else
+         MISSING_REGRESSION_TEST_PACKAGES="$MISSING_REGRESSION_TEST_PACKAGES mod_ssl"
diff -r e596f7824dcb -r 2b70f08cb15e net/libsoup24/patches/patch-bb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup24/patches/patch-bb    Mon Mar 16 12:49:02 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2009/03/16 12:49:02 jmcneill Exp $
+
+--- configure.in.orig  2009-02-16 17:29:28.000000000 -0500
++++ configure.in
+@@ -306,7 +306,7 @@ if test "$APACHE_HTTPD" != "no" -a -n "$
+     fi
+ else
+     have_apache=0
+-    if test "$APACHE_HTTPD" == "no" -o -z "$APACHE_MODULE_DIR"; then
++    if test "$APACHE_HTTPD" = "no" -o -z "$APACHE_MODULE_DIR"; then
+         MISSING_REGRESSION_TEST_PACKAGES="$MISSING_REGRESSION_TEST_PACKAGES apache"
+     else
+         MISSING_REGRESSION_TEST_PACKAGES="$MISSING_REGRESSION_TEST_PACKAGES mod_ssl"



Home | Main Index | Thread Index | Old Index