Hello community, here is the log from the commit of package gobject-introspection for openSUSE:Factory checked in at 2014-05-05 21:16:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gobject-introspection (Old) and /work/SRC/openSUSE:Factory/.gobject-introspection.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gobject-introspection" Changes: -------- --- /work/SRC/openSUSE:Factory/gobject-introspection/gobject-introspection.changes 2013-12-09 07:05:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gobject-introspection.new/gobject-introspection.changes 2014-05-05 21:17:19.000000000 +0200 @@ -1,0 +2,79 @@ +Wed Mar 26 19:11:35 UTC 2014 - zaitor@opensuse.org + +- Update to version 1.40.0: + + Lots of fixes to docwriter/gjs. + + g-ir-compiler: Add support for callback fields on GObjects. + + Update tests. + + Misc bugfixes. + + Updated documentations. + +------------------------------------------------------------------- +Fri Feb 28 17:13:36 UTC 2014 - dimstar@opensuse.org + +- gi-find-deps.sh: more gresource scanning (bnc#866267): + + Add *.gresource to gobjectintrospection.attr + + Parse *.gresource files the same way we already handle ELF + binaries with gresources embedded. + +------------------------------------------------------------------- +Wed Feb 19 18:49:19 UTC 2014 - zaitor@opensuse.org + +- Update to version 1.39.90: + + Update glib annotations from git master. + + Fix errors parsing OSX 10.9 headers. + + gi-tester: Don't use negative substring parameters. + + scanner: + - Improve compatibility with OS X. + - Report __inline__ as the inline token. + + docwriter: Don't render private nodes. + + Add test passing an owned boxed structure to a callback. + +------------------------------------------------------------------- +Thu Feb 13 19:31:34 UTC 2014 - dimstar@opensuse.org + +- gi-find-deps.sh: Support gresource scanning: + + Add *.so to gobjectintrospection.attr: those files can contain + gresources, which in fact could be javascript code, requiring + typelibs (seen since gnome-shell 3.11.5 for example). + + Introduce gresource_requires function in gi-find-deps.sh, which + extracts the javascript gresources from ELF binaries and scans + them for typelib dependencies. + +------------------------------------------------------------------- +Thu Feb 13 08:23:27 UTC 2014 - dimstar@opensuse.org + +- Pass --enable-doctool to configure: enable g-ir-doctool. +- Add python-Mako BuildRequires: dependency to build g-ir-doctool. + +------------------------------------------------------------------- +Tue Feb 4 18:28:48 UTC 2014 - dimstar@opensuse.org + +- gi-find-deps.sh: be more resilient in detecting examples: the + string "from gi.repository import *" inside quotes does not need + to be parsed. + +------------------------------------------------------------------- +Sun Jan 26 13:36:26 UTC 2014 - zaitor@opensuse.org + +- Update to version 1.39.3: + + Update glib annotations. + + scannerlexer: Fix bad unref. + + Rework The Visual Studio 2008 and 2010 Build Process. + + Correct a Library Name. + + giobjectinfo: Add missing transfer annotation to find_signal(). + + tests: Switch two more uses to LOG_COMPILER to fix + parallel-tests. + + Bugs fixed: bgo#719566. bgo#720063, bgo#720066, bgo#720063, + bgo#720713, bgo#721177, bgo#581525, bgo#721477, bgo#722104. + +------------------------------------------------------------------- +Wed Dec 4 20:57:38 UTC 2013 - dimstar@opensuse.org + +- Update to version 1.39.0: + + Updated glib annotations. + + Bugs fixed: bgo#571648, bgo#640812, bgo#676133, bgo#688375, + bgo#688897, bgo#698367, bgo#700025, bgo#708445, bgo#709462, + bgo#709796, bgo#710320, bgo#710560, bgo#710561, bgo#710562, + bgo#711153, bgo#711157, bgo#711541, bgo#712211. + +------------------------------------------------------------------- @@ -154 +233 @@ - to be able to check files in /usr/bin and want to habe them + to be able to check files in /usr/bin and want to have them Old: ---- gobject-introspection-1.38.0.tar.xz New: ---- gobject-introspection-1.40.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gobject-introspection.spec ++++++ --- /var/tmp/diff_new_pack.QsQF1b/_old 2014-05-05 21:17:20.000000000 +0200 +++ /var/tmp/diff_new_pack.QsQF1b/_new 2014-05-05 21:17:20.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gobject-introspection # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gobject-introspection -Version: 1.38.0 +Version: 1.40.0 Release: 0 # FIXME: Find a way to identify if we need python3-gobject or python-gobject from gi-find-deps.sh. # FIXME: when bgo#629930 gets fixed, move the appropriate pkg-config files to the main package and rename the devel package to libgirepository-devel @@ -25,7 +25,7 @@ License: LGPL-2.1+ and GPL-2.0+ Group: Development/Libraries/GNOME Url: http://live.gnome.org/GObjectIntrospection -Source0: http://download.gnome.org/sources/gobject-introspection/1.38/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/gobject-introspection/1.40/%{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 @@ -40,6 +40,7 @@ BuildRequires: libffi-devel # needed for patch0 BuildRequires: libtool +BuildRequires: python-Mako BuildRequires: python-devel BuildRequires: python-xml BuildRequires: pkgconfig(cairo) @@ -102,7 +103,8 @@ autoreconf -fi %configure \ --enable-gtk-doc \ - --disable-static + --disable-static \ + --enable-doctool %__make %{?_smp_mflags} V=1 %install @@ -128,6 +130,7 @@ %{_bindir}/g-ir-annotation-tool %{_bindir}/g-ir-compiler %{_bindir}/g-ir-dep-tool +%{_bindir}/g-ir-doc-tool %{_bindir}/g-ir-generate %{_bindir}/g-ir-scanner %doc %{_mandir}/man1/g-ir-compiler.1* ++++++ gi-find-deps.sh ++++++ --- /var/tmp/diff_new_pack.QsQF1b/_old 2014-05-05 21:17:20.000000000 +0200 +++ /var/tmp/diff_new_pack.QsQF1b/_new 2014-05-05 21:17:20.000000000 +0200 @@ -44,8 +44,23 @@ done } +function gresources_requires { +# GNOME is embedding .js files into ELF binaries for faster startup. +# As a result, we need to extract them and re'run the scanner over the +# embedded files. +# We extract all the gresources embedded in ELF binaries and start +# gi-find-deps.sh recusively over the extracted file list. +tmpdir=$(mktemp -d) +for resource in $($gresourcecmd list "$1" 2>/dev/null); do + mkdir -p $tmpdir/$(dirname $resource) + $gresourcecmd extract "$1" $resource > $tmpdir/$resource +done +find $tmpdir -type f | sh $0 -R +rm -rf "$tmpdir" +} + function python_requires { - for module in $(grep -h -P "from gi\.repository import (\w+)" $1 | sed -e 's:#.*::' -e 's:raise ImportError.*::' -e 's:.*"from gi.repository import Foo".*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+$::g' -e 's:\s+as\s+\w+::g' -e 's:,: :g'); do + for module in $(grep -h -P "from gi\.repository import (\w+)" $1 | sed -e 's:#.*::' -e 's:raise ImportError.*::' -e 's:.*"from gi.repository import .*".*::' | 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 # Temporarly disabled... this is not true if the python code is written for python3... And there seems no real 'way' to identify this. @@ -168,11 +183,17 @@ *.typelib) typelib_requires "$file" ;; + *.gresource) + gresources_requires "$file" + ;; *) case $(file -b $file) in Python\ script*) python_requires "$file" ;; + *ELF*) + gresources_requires "$file" + ;; esac ;; esac @@ -203,6 +224,12 @@ export GI_TYPELIB_PATH=$GI_TYPELIB_PATH:$path done +if which gresource >/dev/null 2>&1; then + gresourcecmd=$(which gresource 2>/dev/null) +else + grsourcecmd="false" +fi + if inList "$x64bitarch" "${HOSTTYPE}"; then shlib_64="()(64bit)" fi ++++++ gobject-introspection-1.38.0.tar.xz -> gobject-introspection-1.40.0.tar.xz ++++++ ++++ 213295 lines of diff (skipped) ++++++ gobjectintrospection.attr ++++++ --- /var/tmp/diff_new_pack.QsQF1b/_old 2014-05-05 21:17:22.000000000 +0200 +++ /var/tmp/diff_new_pack.QsQF1b/_new 2014-05-05 21:17:22.000000000 +0200 @@ -1,4 +1,4 @@ %__gobjectintrospection_provides %{_rpmconfigdir}/gi-find-deps.sh -P %__gobjectintrospection_requires %{_rpmconfigdir}/gi-find-deps.sh -R -%__gobjectintrospection_path ^(%{_libdir}/.*\.typelib)|(.*\.py)|(.*\.js)|(%{_bindir}/.*)$ +%__gobjectintrospection_path ^(%{_libdir}/.*\.typelib)|(.*\.gresource)|(.*\.py)|(.*\.js)|(.*\.so)|(%{_bindir}/.*)$ %__gobjectintrospection_exclude_path ^/usr/share/doc/packages/ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org