Upgrade to 2.62.2 85/219785/1 accepted/tizen/unified/20191224.131909 submit/tizen/20191218.041916
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 10 Dec 2019 04:58:05 +0000 (13:58 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 10 Dec 2019 04:58:46 +0000 (13:58 +0900)
Change-Id: I8b24412aceb62f5217597e6ddf4106bac947c809

19 files changed:
1  2 
Makefile.am
configure.ac
docs/reference/Makefile.am
docs/reference/libsoup-2.4-sections.txt
libsoup/soup-cache.c
libsoup/soup-connection.c
libsoup/soup-connection.h
libsoup/soup-content-sniffer.c
libsoup/soup-content-sniffer.h
libsoup/soup-cookie-jar-text.c
libsoup/soup-cookie-jar.c
libsoup/soup-message-private.h
libsoup/soup-message.c
libsoup/soup-session-private.h
libsoup/soup-session.c
libsoup/soup-session.h
libsoup/soup-socket.c
libsoup/soup-socket.h
packaging/libsoup.spec

diff --cc Makefile.am
@@@ -1,7 -1,7 +1,7 @@@
  ## Process this file with automake to produce Makefile.in
  ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
  
- SUBDIRS = libsoup po tests 
 -SUBDIRS = libsoup po tests examples docs win32
++SUBDIRS = libsoup po tests examples
  
  EXTRA_DIST =                          \
        data/effective_tld_names.dat    \
diff --cc configure.ac
@@@ -172,7 -155,11 +155,12 @@@ AC_SUBST(HAVE_GNOME
  dnl ***************
  dnl *** gtk-doc ***
  dnl ***************
 +dnl GTK_DOC_CHECK([1.10])
+ # gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
+ # it on it's own line.
+ m4_ifdef([GTK_DOC_CHECK], [
+ GTK_DOC_CHECK([1.20], [--flavour no-tmpl])
+ ],[])
  
  dnl *****************************
  dnl *** gobject-introspection ***
Simple merge
@@@ -418,8 -449,10 +449,11 @@@ soup_session_sen
  soup_session_send_async
  soup_session_send_finish
  <SUBSECTION>
+ soup_session_websocket_connect_async
+ soup_session_websocket_connect_finish
+ <SUBSECTION>
  soup_session_prefetch_dns
 +soup_session_create_idle_connection
  soup_session_prepare_for_uri
  soup_session_abort
  <SUBSECTION>
index 9aceed2,0000000..74342aa
mode 100644,000000..100644
--- /dev/null
@@@ -1,152 -1,0 +1,134 @@@
- Version:        2.46.0
 +%bcond_with gnome
 +%bcond_with introspection
 +
 +Name:           libsoup
- Source:         http://download.gnome.org/sources/libsoup/2.41/%{name}-%{version}.tar.xz
++Version:        2.62.2
 +Release:        1
 +License:        LGPL-2.0+
 +Summary:        HTTP client/server library for GNOME
 +Url:            http://www.gnome.org
 +Group:          System/Libraries
- BuildRequires:  pkgconfig(dlog)
++Source:         http://download.gnome.org/sources/libsoup/2.62/%{name}-%{version}.tar.xz
 +Source99:       baselibs.conf
 +Source1001:     libsoup.manifest
 +Requires:       glib-networking
 +BuildRequires:  gettext-tools
 +BuildRequires:  glib-networking
 +%if %{with introspection}
 +BuildRequires:  gobject-introspection-devel
 +%endif
 +%if %{with gnome}
 +BuildRequires:  pkgconfig(gnome-keyring-1)
 +BuildRequires:  gnome-common
 +%endif
 +BuildRequires:  intltool >= 0.35.0
 +BuildRequires:  sqlite-devel
 +BuildRequires:  which
++BuildRequires:  python3
 +BuildRequires:  pkgconfig(glib-2.0) >= 2.35.0
 +BuildRequires:  pkgconfig(libxml-2.0)
-     --enable-sqlite=yes \
 +
 +%description
 +Libsoup is an HTTP client/server library for GNOME. It uses GObjects
 +and the glib main loop, to integrate well with GNOME applications.
 +
 +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 -n typelib-Soup
 +Summary:        HTTP client/server library for GNOME -- Introspection bindings
 +Group:          System/Libraries
 +
 +%description -n typelib-Soup
 +Libsoup is an HTTP client/server library for GNOME. It uses GObjects
 +and the glib main loop, to integrate well with GNOME applications.
 +
 +This package provides the GObject Introspection bindings for libsoup.
 +
 +%package devel
 +Summary:        HTTP client/server library for GNOME - Development Files
 +Group:          Social & Content/GNOME
 +Requires:       %{name} = %{version}
 +%if %{with gnome}
 +Requires:       typelib-Soup = %{version}
 +%endif
 +
 +%description devel
 +Libsoup is an HTTP client/server library for GNOME. It uses GObjects
 +and the glib main loop, to integrate well with GNOME applications.
 +
 +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
 +cp %{SOURCE1001} .
 +
 +%build
 +chmod +x autogen.sh
 +%autogen\
 +%if %{with introspection}
 +    --enable-introspection \
 +%endif
 +%if %{with gnome}
 +    --with-gnome \
 +%else
 +    --without-gnome \
- %if "{tizen_profile_name}" == "tv"
-     --enable-tizen-client-certificate=yes \
-     --enable-tizen-disable-mime-sniff \
-     --enable-tizen-text-storage-mode-of-cookie \
-     --enable-tizen-soup-cache-clean-leaked-resources \
-     --enable-tizen-tv-soup-cache-optimise-load-time \
-     --enable-tizen-use-expanded-response-block=yes \
-     --enable-tizen-create-idle-tcp-connection \
-     --enable-tizen-immediate-requesting \
-     --enable-tizen-computing-disk-cache-size \
-     --enable-tizen-add-x-soup-message-headers \
-     --enable-tizen-dynamic-certificate-loading \
-     --enable-tizen-certificate-handling \
-     --enable-tizen-tv-checking-deleted-entry-file \
-     --enable-tizen-tv-force-preload-tlsdb \
-     --enable-tizen-tv-no-cache-about-video-and-audio \
-     --enable-tizen-soup-store-dns \
- %endif
-     --disable-static
 +    --disable-tls-check \
 +%endif
++    --disable-static \
++    --enable-vala=no
 +make %{?_smp_mflags}
 +
 +%install
 +%make_install
 +
 +%find_lang %{name}
 +
 +%post -p /sbin/ldconfig
 +
 +%postun -p /sbin/ldconfig
 +
 +%lang_package
 +
 +%files
 +%manifest %{name}.manifest
 +%defattr(-, root, root)
 +%license COPYING
 +%{_libdir}/*.so.*
 +
 +%if %{with introspection}
 +%files -n typelib-Soup
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_libdir}/girepository-1.0/Soup-2.4.typelib
 +%if %{with gnome}
 +%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
 +%endif
 +%endif
 +
 +%files devel
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_includedir}/libsoup-2.4
 +%{_libdir}/*.so
 +%{_libdir}/pkgconfig/*.pc
 +%if %{with introspection}
 +%{_datadir}/gir-1.0/Soup-2.4.gir
 +%if %{with gnome}
 +%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
 +%{_includedir}/libsoup-gnome-2.4
 +%endif
 +%endif