Hello community,

here is the log from the commit of package gobject-introspection for 
openSUSE:Factory checked in at 2012-10-19 08:46:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gobject-introspection (Old)
 and      /work/SRC/openSUSE:Factory/.gobject-introspection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gobject-introspection", Maintainer is "gnome-maintain...@suse.de"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gobject-introspection/gobject-introspection.changes  
    2012-10-03 07:24:36.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.gobject-introspection.new/gobject-introspection.changes
 2012-10-19 08:46:04.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Oct 17 20:49:31 UTC 2012 - dims...@opensuse.org
+
+- Update to version 1.34.1.1:
+  + Add test method for GDestroy with no user data
+- Changes from version 1.34.1:
+  + Update glib annotations to 2.34.1.
+- Add pkgconfig(glib-2.0) BuildRequires, so it can be versioned.
+
+-------------------------------------------------------------------
+Tue Oct 16 20:50:56 UTC 2012 - dims...@opensuse.org
+
+- Extend gi-find-deps.sh to understand gi.require_version in python
+  code. This was the last know format not yet supported.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ gobject-introspection.spec ++++++
--- /var/tmp/diff_new_pack.pYp1Q2/_old  2012-10-19 08:46:06.000000000 +0200
+++ /var/tmp/diff_new_pack.pYp1Q2/_new  2012-10-19 08:46:06.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gobject-introspection
-Version:        1.34.0
+Version:        1.34.1.1
 Release:        0
 # FIXME: when bgo#629930 gets fixed, move the appropriate pkg-config files to 
the main package and rename the devel package to libgirepository-devel
 Summary:        GObject Introspection Tools
@@ -42,6 +42,7 @@
 BuildRequires:  python-xml
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(cairo-gobject)
+BuildRequires:  pkgconfig(glib-2.0) >= 2.34.1
 BuildRequires:  pkgconfig(gobject-2.0)
 %if 0%{?BUILD_FROM_VCS}
 BuildRequires:  gnome-common

++++++ gi-find-deps.sh ++++++
--- /var/tmp/diff_new_pack.pYp1Q2/_old  2012-10-19 08:46:06.000000000 +0200
+++ /var/tmp/diff_new_pack.pYp1Q2/_new  2012-10-19 08:46:06.000000000 +0200
@@ -40,21 +40,19 @@
 }
 
 function find_requires {
-# FIXME: There are multiple ways gi bindings can be imported. We only catch 
the 'basic' one
 # Currently, we detect:
 # - in python:
 #   . from gi.repository import foo [Unversioned requirement of 'foo']
 #   . from gi.repository import foo-1.0 [versioned requirement]
+#   . gi.require_version('Gtk', '3.0') (To specify a version.. there is still 
an import needed)
 #   . And we do not stumble over:
 #     from gi.repository import foo as _bar
 #     from gi.repository import foo, bar
 # - in JS:
 #   . imports.gi.foo; [unversioned requirement of 'foo']
 #   . imports.gi.goo-1.0; [versioned requirement]
+#   . imports.gi.versions.Gtk = '3.0';
 #   . The imports can be listed on one line, and we catch them.
-# Forms currently not detected:
-# - js: imports.gi.versions.Gtk = '3.0';
-# - py: gi.require_version('Gtk', '3.0')
 
 while read file; do
        case $file in
@@ -69,8 +67,12 @@
                                print_req_prov
                        done
                        ;;
-             *.py)
-                       for module in $(grep -h -P "from gi.repository import 
(\w+)" $file | sed -e 's:#.*::' -e 's:raise ImportError.*::' | sed -e 's,from 
gi.repository import,,' -r -e 's:\s+$::g' -e 's:\s+as\s+\w+::g' -e 's:,: :g'); 
do
+           *.py)
+                   for module in $(grep -h -P "from gi.repository import 
(\w+)" $file | sed -e 's:#.*::' -e 's:raise ImportError.*::' | sed -e 's,from 
gi.repository import,,' -r -e 's:\s+$::g' -e 's:\s+as\s+\w+::g' -e 's:,: :g'); 
do
+                       split_name_version $module
+                           print_req_prov
+                       done
+                       for module in $(grep -h -P -o 
"(gi.require_version\(['\"][^'\"]+['\"],\s*['\"][^'\"]+['\"]\))" $file | sed -e 
's:gi.require_version::' -e "s:[()\"' ]::g" -e 's:,:-:'); do
                                split_name_version $module
                                print_req_prov
                        done

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to