Hello community,

here is the log from the commit of package libsoup for openSUSE:Factory checked 
in at 2019-05-22 10:56:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsoup (Old)
 and      /work/SRC/openSUSE:Factory/.libsoup.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsoup"

Wed May 22 10:56:09 2019 rev:115 rq:704194 version:2.66.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsoup/libsoup.changes  2019-05-03 
22:11:14.967374513 +0200
+++ /work/SRC/openSUSE:Factory/.libsoup.new.5148/libsoup.changes        
2019-05-22 10:56:10.838998060 +0200
@@ -1,0 +2,10 @@
+Thu May 16 20:06:25 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Update to version 2.66.2:
+  + Make gettext optional (might not be available in Windows).
+  + MSVC: set encoding to UTF-8 to avoid errors.
+  + MinGW tests build fix.
+  + Check for TLS support only when external glib dependency is
+    available.
+
+-------------------------------------------------------------------

Old:
----
  libsoup-2.66.1.tar.xz

New:
----
  libsoup-2.66.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsoup.spec ++++++
--- /var/tmp/diff_new_pack.cQ2Dbu/_old  2019-05-22 10:56:11.466997595 +0200
+++ /var/tmp/diff_new_pack.cQ2Dbu/_new  2019-05-22 10:56:11.470997592 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libsoup
-Version:        2.66.1
+Version:        2.66.2
 Release:        0
 Summary:        HTTP client/server library for GNOME
 License:        LGPL-2.1-or-later

++++++ libsoup-2.66.1.tar.xz -> libsoup-2.66.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsoup-2.66.1/NEWS new/libsoup-2.66.2/NEWS
--- old/libsoup-2.66.1/NEWS     2019-04-09 10:43:30.000000000 +0200
+++ new/libsoup-2.66.2/NEWS     2019-05-15 15:36:29.000000000 +0200
@@ -1,3 +1,15 @@
+Changes in libsoup from 2.66.1 to 2.66.2:
+
+       * Make gettext optional (might not be available in Windows)
+         [Seungha Yang]
+
+       * MSVC: set encoding to UTF-8 to avoid errors [Seungha Yang]
+
+       * MinGW tests build fix [Tomas Popela]
+
+       * Check for TLS support only when external glib dependency is available
+         [Seungha Yang]
+
 Changes in libsoup from 2.66.0 to 2.66.1:
 
         * Fix dylib versioning in MacOS [Tom Schoonjans]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsoup-2.66.1/examples/meson.build 
new/libsoup-2.66.2/examples/meson.build
--- old/libsoup-2.66.1/examples/meson.build     2019-04-09 10:43:30.000000000 
+0200
+++ new/libsoup-2.66.2/examples/meson.build     2019-05-15 15:36:29.000000000 
+0200
@@ -1,5 +1,5 @@
 deps = [
-  glib_dep,
+  glib_deps,
   libsoup_dep
 ]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsoup-2.66.1/libsoup/meson.build 
new/libsoup-2.66.2/libsoup/meson.build
--- old/libsoup-2.66.1/libsoup/meson.build      2019-04-09 10:43:30.000000000 
+0200
+++ new/libsoup-2.66.2/libsoup/meson.build      2019-05-15 15:36:29.000000000 
+0200
@@ -216,7 +216,7 @@
 ]
 
 deps = [
-  glib_dep,
+  glib_deps,
   libxml_dep,
   sqlite_dep,
   libpsl_dep,
@@ -236,7 +236,7 @@
   dependencies : deps)
 
 pkg.generate(libsoup,
-  libraries : glib_dep,
+  libraries : glib_deps,
   name : meson.project_name(),
   description : 'A glib-based HTTP library',
   filebase : libsoup_api_name,
@@ -246,7 +246,7 @@
 libsoup_dep = declare_dependency(link_with : libsoup,
   include_directories : configinc,
   sources : soup_enum_h,
-  dependencies : glib_dep)
+  dependencies : [ platform_deps, glib_deps ])
 
 if enable_gnome
   soup_gnome_api_name = 'soup-gnome-' + apiversion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsoup-2.66.1/meson.build 
new/libsoup-2.66.2/meson.build
--- old/libsoup-2.66.1/meson.build      2019-04-09 10:43:30.000000000 +0200
+++ new/libsoup-2.66.2/meson.build      2019-05-15 15:36:29.000000000 +0200
@@ -1,5 +1,5 @@
 project('libsoup', 'c',
-        version: '2.66.1',
+        version: '2.66.2',
         meson_version : '>=0.48',
         license : 'LGPL2',
         default_options : 'c_std=c89')
@@ -39,6 +39,9 @@
 # Enable extra warnings if compiler supports them.
 if cc.get_id() == 'msvc'
   common_flags += ['/FImsvc_recommended_pragmas.h']
+
+  # set the input encoding to utf-8
+  add_project_arguments(cc.get_supported_arguments(['/utf-8']), language: 'c')
 else
   test_cflags = [
       '-Wall',
@@ -65,12 +68,14 @@
 add_project_arguments(common_flags, language : 'c')
 
 glib_required_version = '>= 2.38'
-glib_dep = [dependency('glib-2.0', version : glib_required_version,
-                       fallback: ['glib', 'libglib_dep']),
-            dependency('gobject-2.0', version : glib_required_version,
-                       fallback: ['glib', 'libgobject_dep']),
-            dependency('gio-2.0', version : glib_required_version,
-                       fallback: ['glib', 'libgio_dep'])]
+glib_dep = dependency('glib-2.0', version : glib_required_version,
+                       fallback: ['glib', 'libglib_dep'])
+gobject_dep = dependency('gobject-2.0', version : glib_required_version,
+                       fallback: ['glib', 'libgobject_dep'])
+gio_dep = dependency('gio-2.0', version : glib_required_version,
+                       fallback: ['glib', 'libgio_dep'])
+
+glib_deps = [glib_dep, gobject_dep, gio_dep]
 
 sqlite_dep = dependency('sqlite3', required: false,
                         fallback: ['sqlite', 'sqlite_dep'])
@@ -126,14 +131,18 @@
 ###################
 enable_tls_check = get_option('tls_check')
 if enable_tls_check
-  check_gio_tls_src = '''#include <gio/gio.h>
-  int main(void) {
-    return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
-  }
-  '''
+  if gio_dep.type_name() == 'internal'
+    warning('TLS check was enabled but required dependency is internal')
+  else
+    check_gio_tls_src = '''#include <gio/gio.h>
+    int main(void) {
+      return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
+    }
+    '''
 
-  assert(cc.compiles(check_gio_tls_src, name : 'GIO has real TLS support', 
dependencies : glib_dep),
-         'libsoup requires glib-networking or glib-openssl for TLS support')
+    assert(cc.compiles(check_gio_tls_src, name : 'GIO has real TLS support', 
dependencies : glib_deps),
+          'libsoup requires glib-networking or glib-openssl for TLS support')
+  endif
 endif
 
 #################################
@@ -302,7 +311,10 @@
 configure_file(output : 'config.h', configuration : cdata)
 
 subdir('libsoup')
-subdir('po')
+# xgettext is optional (on Windows for instance)
+if find_program('xgettext', required : false).found()
+  subdir('po')
+endif
 subdir('examples')
 
 if get_option('tests')


Reply via email to