Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gobject-introspection for 
openSUSE:Factory checked in at 2022-09-21 14:40:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gobject-introspection (Old)
 and      /work/SRC/openSUSE:Factory/.gobject-introspection.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gobject-introspection"

Wed Sep 21 14:40:43 2022 rev:101 rq:1004811 version:1.74.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gobject-introspection/gobject-introspection.changes  
    2022-03-23 20:17:21.898428360 +0100
+++ 
/work/SRC/openSUSE:Factory/.gobject-introspection.new.2083/gobject-introspection.changes
    2022-09-21 14:41:19.781571459 +0200
@@ -1,0 +2,35 @@
+Sun Sep 18 07:04:31 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.74.0:
+  + Update the GIR data for GLib, GObject, GModule, and GIO.
+
+-------------------------------------------------------------------
+Sat Sep  3 14:09:34 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.73.1:
+  + Update the GIR data for GLib, GObject, GModule, and GIO
+  + Disable rpath on Windows
+  + Add llvm/mingw support on Windows
+  + Fix annotations in libgirepository
+  + Support C99 designated initializers when parsing C declarations
+  + Add some more types to win32 GIR
+  + Let doctool prepend emitting objects in GJS signals
+  + Require a C99 toolchain like GLib
+
+-------------------------------------------------------------------
+Thu Sep  1 14:09:49 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- gi-find-deps.sh: extend js script parser to detect imports in the
+  form import 'gi://GeocodeGlib?version=2.0'.
+
+-------------------------------------------------------------------
+Thu Jul 21 13:30:09 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.73.0:
+  + Update the GIR data for GLib, GObject, GModule, and GIO.
+  + scanner:
+    - Support pre-processor macros with zero arguments.
+    - Support ISO C varargs in macros.
+  + Fix subproject build.
+
+-------------------------------------------------------------------

Old:
----
  gobject-introspection-1.72.0.tar.xz

New:
----
  gobject-introspection-1.74.0.tar.xz

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

Other differences:
------------------
++++++ gobject-introspection.spec ++++++
--- /var/tmp/diff_new_pack.hEAqMN/_old  2022-09-21 14:41:20.301572902 +0200
+++ /var/tmp/diff_new_pack.hEAqMN/_new  2022-09-21 14:41:20.305572913 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gobject-introspection
-Version:        1.72.0
+Version:        1.74.0
 Release:        0
 # FIXME: Find a way to identify if we need python3-gobject or python-gobject 
from gi-find-deps.sh.
 Summary:        GObject Introspection Tools
@@ -25,7 +25,7 @@
 Group:          Development/Libraries/GNOME
 URL:            https://wiki.gnome.org/Projects/GObjectIntrospection
 
-Source0:        
https://download.gnome.org/sources/gobject-introspection/1.72/%{name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/gobject-introspection/1.74/%{name}-%{version}.tar.xz
 # gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates 
typelib()-style Provides/Requires.
 Source1:        gi-find-deps.sh
 Source2:        gobjectintrospection.attr

++++++ gi-find-deps.sh ++++++
--- /var/tmp/diff_new_pack.hEAqMN/_old  2022-09-21 14:41:20.361573068 +0200
+++ /var/tmp/diff_new_pack.hEAqMN/_new  2022-09-21 14:41:20.365573079 +0200
@@ -24,6 +24,13 @@
   version=$(echo $1 | awk -F: '{print $2}' | sed "s:[' ]::g")
 }
 
+# some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME 
Maps)
+# import 'gi://GeocodeGlib?version=2.0'
+function split_name_versionjs_gi_name_version {
+  symbol=$(echo $1 | awk -F? '{print $1}')
+  version=$(echo $1 | awk -F? '/version=/ {print $2}' | sed 's/version=//')
+}
+
 function print_req_prov {
 echo -n "typelib($symbol)"
 if [ ! -z "$version" ]; then
@@ -93,6 +100,12 @@
                split_name_version $module
                print_req_prov
        done
+  # some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME 
Maps)
+  # import 'gi://GeocodeGlib?version=2.0'
+        for module in $(grep -h -P -o "[']gi://([^']+)" $1 | sed 
"s|'gi://||"); do
+                split_name_versionjs_gi_name_version $module
+                print_req_prov
+        done
     # This is, at the moment, specifically for Polari where a "const { Foo, 
Bar } = imports.gi;" is used.
        for module in $(grep -h -E -o "\{ \w+(: \w+|, \w+)+ \} = imports.gi;" 
$1 | \
         sed -r -e '0,/\w+:\s\w+/ s/:\s\w+//g' -e 's: = imports.gi;:: ; s:\{ :: 
; s: \}:: ; s/,//g'); do

++++++ gobject-introspection-1.72.0.tar.xz -> 
gobject-introspection-1.74.0.tar.xz ++++++
++++ 2548 lines of diff (skipped)

Reply via email to