Hello community,

here is the log from the commit of package gjs for openSUSE:Factory checked in 
at 2020-04-07 10:19:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gjs (Old)
 and      /work/SRC/openSUSE:Factory/.gjs.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gjs"

Tue Apr  7 10:19:29 2020 rev:87 rq:790684 version:1.58.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/gjs/gjs.changes  2020-02-22 19:02:08.113836481 
+0100
+++ /work/SRC/openSUSE:Factory/.gjs.new.3248/gjs.changes        2020-04-07 
10:19:36.889715283 +0200
@@ -1,0 +2,9 @@
+Sat Mar 28 16:52:20 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Update to version 1.58.6:
+  + Various backports:
+    - Correctly handle vfunc inout parameters.
+    - Fix failed redirect of output in CommandLine tests.
+    - Avoid filename conflict when tests run in parallel.
+
+-------------------------------------------------------------------

Old:
----
  gjs-1.58.5.tar.xz

New:
----
  gjs-1.58.6.tar.xz

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

Other differences:
------------------
++++++ gjs.spec ++++++
--- /var/tmp/diff_new_pack.amgtOw/_old  2020-04-07 10:19:37.445715900 +0200
+++ /var/tmp/diff_new_pack.amgtOw/_new  2020-04-07 10:19:37.449715905 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gjs
-Version:        1.58.5
+Version:        1.58.6
 Release:        0
 Summary:        JavaScript bindings based on gobject-introspection and Mozilla
 License:        MIT AND LGPL-2.0-or-later

++++++ gjs-1.58.5.tar.xz -> gjs-1.58.6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/NEWS new/gjs-1.58.6/NEWS
--- old/gjs-1.58.5/NEWS 2020-02-18 07:01:08.000000000 +0100
+++ new/gjs-1.58.6/NEWS 2020-03-28 06:26:22.000000000 +0100
@@ -1,3 +1,11 @@
+Version 1.58.6
+--------------
+
+- Various backports:
+  * Correctly handle vfunc inout parameters [Marco Trevisan]
+  * Fix failed redirect of output in CommandLine tests [Liban Parker]
+  * Avoid filename conflict when tests run in parallel [Philip Chimento]
+
 Version 1.58.5
 --------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/configure new/gjs-1.58.6/configure
--- old/gjs-1.58.5/configure    2020-02-18 07:02:32.000000000 +0100
+++ new/gjs-1.58.6/configure    2020-03-28 06:27:21.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gjs 1.58.5.
+# Generated by GNU Autoconf 2.69 for gjs 1.58.6.
 #
 # Report bugs to <https://gitlab.gnome.org/GNOME/gjs/issues>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='gjs'
 PACKAGE_TARNAME='gjs'
-PACKAGE_VERSION='1.58.5'
-PACKAGE_STRING='gjs 1.58.5'
+PACKAGE_VERSION='1.58.6'
+PACKAGE_STRING='gjs 1.58.6'
 PACKAGE_BUGREPORT='https://gitlab.gnome.org/GNOME/gjs/issues'
 PACKAGE_URL='https://wiki.gnome.org/Projects/Gjs'
 
@@ -1450,7 +1450,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gjs 1.58.5 to adapt to many kinds of systems.
+\`configure' configures gjs 1.58.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1520,7 +1520,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gjs 1.58.5:";;
+     short | recursive ) echo "Configuration of gjs 1.58.6:";;
    esac
   cat <<\_ACEOF
 
@@ -1701,7 +1701,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gjs configure 1.58.5
+gjs configure 1.58.6
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2252,7 +2252,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gjs $as_me 1.58.5, which was
+It was created by gjs $as_me 1.58.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3115,7 +3115,7 @@
 
 # Define the identity of the package.
  PACKAGE='gjs'
- VERSION='1.58.5'
+ VERSION='1.58.6'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3342,10 +3342,10 @@
 
 
 
-GJS_VERSION=15805
+GJS_VERSION=15806
 
 
-$as_echo "#define GJS_VERSION (1 * 100 + 58) * 100 + 5" >>confdefs.h
+$as_echo "#define GJS_VERSION (1 * 100 + 58) * 100 + 6" >>confdefs.h
 
 
 
@@ -23788,7 +23788,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gjs $as_me 1.58.5, which was
+This file was extended by gjs $as_me 1.58.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -23859,7 +23859,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gjs config.status 1.58.5
+gjs config.status 1.58.6
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/configure.ac new/gjs-1.58.6/configure.ac
--- old/gjs-1.58.5/configure.ac 2020-02-18 06:59:38.000000000 +0100
+++ new/gjs-1.58.6/configure.ac 2020-03-28 06:26:22.000000000 +0100
@@ -3,7 +3,7 @@
 
 m4_define(pkg_major_version, 1)
 m4_define(pkg_minor_version, 58)
-m4_define(pkg_micro_version, 5)
+m4_define(pkg_micro_version, 6)
 m4_define(pkg_version, pkg_major_version.pkg_minor_version.pkg_micro_version)
 m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 
+ pkg_micro_version)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/gi/function.cpp 
new/gjs-1.58.6/gi/function.cpp
--- old/gjs-1.58.5/gi/function.cpp      2020-02-18 06:59:38.000000000 +0100
+++ new/gjs-1.58.6/gi/function.cpp      2020-03-28 06:26:22.000000000 +0100
@@ -310,16 +310,19 @@
                     goto out;
                 break;
             }
-            case PARAM_NORMAL:
+            case PARAM_NORMAL: {
                 if (!jsargs.growBy(1))
                     g_error("Unable to grow vector");
 
+                GIArgument* arg = args[i + c_args_offset];
+                if (g_arg_info_get_direction(&arg_info) == GI_DIRECTION_INOUT)
+                    arg = *reinterpret_cast<GIArgument**>(arg);
+
                 if (!gjs_value_from_g_argument(context, jsargs[n_jsargs++],
-                                               &type_info,
-                                               args[i + c_args_offset],
-                                               false))
+                                               &type_info, arg, false))
                     goto out;
                 break;
+            }
             case PARAM_CALLBACK:
                 /* Callbacks that accept another callback as a parameter are 
not
                  * supported, see gjs_callback_trampoline_new() */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gjs-1.58.5/installed-tests/scripts/testCommandLine.sh 
new/gjs-1.58.6/installed-tests/scripts/testCommandLine.sh
--- old/gjs-1.58.5/installed-tests/scripts/testCommandLine.sh   2020-02-18 
06:59:38.000000000 +0100
+++ new/gjs-1.58.6/installed-tests/scripts/testCommandLine.sh   2020-03-28 
06:26:22.000000000 +0100
@@ -183,7 +183,7 @@
 
 # --profile
 rm -f gjs-*.syscap foo.syscap
-$gjs -c 'imports.system.exit(0)' && ! stat gjs-*.syscap &> /dev/null
+$gjs -c 'imports.system.exit(0)' && ! stat gjs-*.syscap > /dev/null 2>&1
 report "no profiling data should be dumped without --profile"
 
 # Skip some tests if built without profiler support
@@ -194,13 +194,13 @@
     skip "GJS_ENABLE_PROFILER=1 should enable the profiler" "$reason"
 else
     rm -f gjs-*.syscap
-    $gjs --profile -c 'imports.system.exit(0)' && stat gjs-*.syscap &> 
/dev/null
+    $gjs --profile -c 'imports.system.exit(0)' && stat gjs-*.syscap > 
/dev/null 2>&1
     report "--profile should dump profiling data to the default file name"
     rm -f gjs-*.syscap
     $gjs --profile=foo.syscap -c 'imports.system.exit(0)' && test -f foo.syscap
     report "--profile with argument should dump profiling data to the named 
file"
     rm -f foo.syscap && rm -f gjs-*.syscap
-    GJS_ENABLE_PROFILER=1 $gjs -c 'imports.system.exit(0)' && stat 
gjs-*.syscap &> /dev/null
+    GJS_ENABLE_PROFILER=1 $gjs -c 'imports.system.exit(0)' && stat 
gjs-*.syscap > /dev/null 2>&1
     report "GJS_ENABLE_PROFILER=1 should enable the profiler"
     rm -f gjs-*.syscap
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/test/gjs-tests.cpp 
new/gjs-1.58.6/test/gjs-tests.cpp
--- old/gjs-1.58.5/test/gjs-tests.cpp   2020-02-18 06:59:38.000000000 +0100
+++ new/gjs-1.58.6/test/gjs-tests.cpp   2020-03-28 06:26:22.000000000 +0100
@@ -27,6 +27,7 @@
 
 #include <glib-object.h>
 #include <glib.h>
+#include <glib/gstdio.h>  // for g_unlink
 
 #include "gjs/jsapi-wrapper.h"
 
@@ -370,6 +371,7 @@
                                                nullptr));
     GjsProfiler *profiler = gjs_context_get_profiler(context);
 
+    gjs_profiler_set_filename(profiler, 
"dont-conflict-with-other-test.syscap");
     gjs_profiler_start(profiler);
 
     for (size_t ix = 0; ix < 100; ix++) {
@@ -385,6 +387,9 @@
     }
 
     gjs_profiler_stop(profiler);
+
+    if (g_unlink("dont-conflict-with-other-test.syscap") != 0)
+        g_message("Temp profiler file not deleted");
 }
 
 int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.58.5/win32/config.h.win32 
new/gjs-1.58.6/win32/config.h.win32
--- old/gjs-1.58.5/win32/config.h.win32 2020-02-18 07:02:38.000000000 +0100
+++ new/gjs-1.58.6/win32/config.h.win32 2020-03-28 06:27:42.000000000 +0100
@@ -10,7 +10,7 @@
 /* #undef ENABLE_GTK */
 
 /* The gjs version as an integer */
-#define GJS_VERSION 15805
+#define GJS_VERSION 15806
 
 /* define if the compiler supports basic C++11 syntax */
 #define HAVE_CXX11 1
@@ -74,7 +74,7 @@
 #define PACKAGE_NAME "gjs"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gjs 1.58.5"
+#define PACKAGE_STRING "gjs 1.58.6"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gjs"
@@ -83,10 +83,10 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "1.58.5"
+#define PACKAGE_VERSION "1.58.6"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION "1.58.5"
+#define VERSION "1.58.6"


Reply via email to