From e820ef1bca31aebc0b0958849b4bbccfacf2ccd14277f7bd4d1870697bd2c43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 28 Mar 2019 23:04:52 +0000 Subject: [PATCH] Accepting request 689484 from GNOME:Next - Update to version 1.60.0: + gir: Update glib annotations. - Update to version 1.59.5: + gir: - Include C header in cairo gir file. - Skip glib-enumtypes.h for GObject-2.0. - Update to version 1.59.4: + tests: Add functions using flat struct arrays. + Clean shebangs out of non-executable scripts and drop exec perm from xmlwriter.py. + maintransformer: parse deprecation annotations for section blocks. + repository: g_irepository_get_object_gtype_interfaces. + message: handle fatal errors even if warnings are disabled. + autotools: Fix build with ``-Wl,--as-needed``. + maintransformer: Don't warn on (optional) annotations on (inout). + girepository: Fix a possible use-after-free if g_mapped_file_new() fails and fix possible leak of transitive dependency names. - Fix shebangs for files installed to /usr/bin to not use /usr/bin/env. - Update to version 1.59.3: + meson: - Use underscore as a separator in build options (gtk-doc-> gtk_doc etc). - Warn that not all tests will be run if building without cairo/doctool. + scanner: - Merge specifiers and qualifiers when merging basic types. Fixes "unsigned char" being wrongly parsed as "unsigned" etc. - Rework source root directory guessing code to not depend on the build directory. - Remove incorrect c:type generated for array of synthesized unions. - Flatten multi-dimensional arrays fields. + website: add cppgir C++ binding. - Replace -Dgtk-doc=true call to meson with -Dgtk_doc=true. - Pass -Ddoctool=true and -Dcairo=true to meson, build and install g-ir-doc-tool and use cairo during meson_check (tests). - Update to version 1.59.2: + Everything included in 1.58.3. + meson: Various fixes and all tests have been ported. + scanner: Save preprocessor input and output files with ``save-temps``. + automake: Use the wildcard function where needed. + build: extend ``PYTHONPATH`` instead of replacing it. + gir/cairo: add ``cairo_rectangle_t``. + Add a ``--version`` option to g-ir-compiler and g-ir-generate. + tests: various test improvements. + ccompiler: don't use Python compiler flags. + parser: Do not bail out when parsing GIR files without doc positions. + gimarshallingtests: Remove declarations of nonexistent functions. - Changes from version 1.59.1: + Everything included in 1.58.2. + build: - Drop Python 2 support, require Python 3.4+. - Add option to make .gir files installation paths configurable. - Skip gobject/gvaluecollector.h when constructing GObject GIR. - Port various tests to work with meson. + regress: - Add test for write-only property. - Implement interface and override properties. + writer: Include documentation and symbol position in source files. + giscanner: - Print relative filename paths when warning. - Define grefcount and gatomicrefcount as aliases to gint. - Allow empty declarations. Fixes warnings with mingw headers. - Replace linked lists with arrays in source scanner. + girepository: - Various docs cleanups and fixes. - Don't abort when calling g_base_info_get_name() on a GITypeInfo. - Add version macros and functions. OBS-URL: https://build.opensuse.org/request/show/689484 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=200 --- gobject-introspection-1.58.3.tar.xz | 3 - gobject-introspection-1.60.0.tar.xz | 3 + gobject-introspection.changes | 102 ++++++++++++++++++++++++++++ gobject-introspection.spec | 14 ++-- 4 files changed, 114 insertions(+), 8 deletions(-) delete mode 100644 gobject-introspection-1.58.3.tar.xz create mode 100644 gobject-introspection-1.60.0.tar.xz diff --git a/gobject-introspection-1.58.3.tar.xz b/gobject-introspection-1.58.3.tar.xz deleted file mode 100644 index 328abe3..0000000 --- a/gobject-introspection-1.58.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:025b632bbd944dcf11fc50d19a0ca086b83baf92b3e34936d008180d28cdc3c8 -size 1378068 diff --git a/gobject-introspection-1.60.0.tar.xz b/gobject-introspection-1.60.0.tar.xz new file mode 100644 index 0000000..4aea697 --- /dev/null +++ b/gobject-introspection-1.60.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9efe4090cb59717126701e97062e784773f800b8d47af14c4d278ebf194df35d +size 1283732 diff --git a/gobject-introspection.changes b/gobject-introspection.changes index 56bb310..5d9eba8 100644 --- a/gobject-introspection.changes +++ b/gobject-introspection.changes @@ -1,3 +1,105 @@ +------------------------------------------------------------------- +Sun Mar 10 13:54:21 UTC 2019 - Bjørn Lie + +- Update to version 1.60.0: + + gir: Update glib annotations. + +------------------------------------------------------------------- +Mon Mar 4 18:51:48 UTC 2019 - Bjørn Lie + +- Update to version 1.59.5: + + gir: + - Include C header in cairo gir file. + - Skip glib-enumtypes.h for GObject-2.0. + +------------------------------------------------------------------- +Thu Feb 14 22:00:50 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.59.4: + + tests: Add functions using flat struct arrays. + + Clean shebangs out of non-executable scripts and drop exec perm + from xmlwriter.py. + + maintransformer: parse deprecation annotations for section + blocks. + + repository: g_irepository_get_object_gtype_interfaces. + + message: handle fatal errors even if warnings are disabled. + + autotools: Fix build with ``-Wl,--as-needed``. + + maintransformer: Don't warn on (optional) annotations on + (inout). + + girepository: Fix a possible use-after-free if + g_mapped_file_new() fails and fix possible leak of transitive + dependency names. + +------------------------------------------------------------------- +Wed Jan 9 12:05:07 UTC 2019 - Dominique Leuenberger + +- Fix shebangs for files installed to /usr/bin to not use + /usr/bin/env. + +------------------------------------------------------------------- +Tue Jan 8 15:44:44 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.59.3: + + meson: + - Use underscore as a separator in build options (gtk-doc-> + gtk_doc etc). + - Warn that not all tests will be run if building without + cairo/doctool. + + scanner: + - Merge specifiers and qualifiers when merging basic types. + Fixes "unsigned char" being wrongly parsed as "unsigned" etc. + - Rework source root directory guessing code to not depend on + the build directory. + - Remove incorrect c:type generated for array of synthesized + unions. + - Flatten multi-dimensional arrays fields. + + website: add cppgir C++ binding. +- Replace -Dgtk-doc=true call to meson with -Dgtk_doc=true. +- Pass -Ddoctool=true and -Dcairo=true to meson, build and install + g-ir-doc-tool and use cairo during meson_check (tests). + +------------------------------------------------------------------- +Fri Jan 4 18:48:35 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 1.59.2: + + Everything included in 1.58.3. + + meson: Various fixes and all tests have been ported. + + scanner: Save preprocessor input and output files with + ``save-temps``. + + automake: Use the wildcard function where needed. + + build: extend ``PYTHONPATH`` instead of replacing it. + + gir/cairo: add ``cairo_rectangle_t``. + + Add a ``--version`` option to g-ir-compiler and g-ir-generate. + + tests: various test improvements. + + ccompiler: don't use Python compiler flags. + + parser: Do not bail out when parsing GIR files without doc + positions. + + gimarshallingtests: Remove declarations of nonexistent + functions. +- Changes from version 1.59.1: + + Everything included in 1.58.2. + + build: + - Drop Python 2 support, require Python 3.4+. + - Add option to make .gir files installation paths + configurable. + - Skip gobject/gvaluecollector.h when constructing GObject GIR. + - Port various tests to work with meson. + + regress: + - Add test for write-only property. + - Implement interface and override properties. + + writer: Include documentation and symbol position in source + files. + + giscanner: + - Print relative filename paths when warning. + - Define grefcount and gatomicrefcount as aliases to gint. + - Allow empty declarations. Fixes warnings with mingw headers. + - Replace linked lists with arrays in source scanner. + + girepository: + - Various docs cleanups and fixes. + - Don't abort when calling g_base_info_get_name() on a + GITypeInfo. + - Add version macros and functions. + ------------------------------------------------------------------- Sun Dec 30 16:24:56 UTC 2018 - bjorn.lie@gmail.com diff --git a/gobject-introspection.spec b/gobject-introspection.spec index 0a44033..0764413 100644 --- a/gobject-introspection.spec +++ b/gobject-introspection.spec @@ -1,7 +1,7 @@ # # spec file for package gobject-introspection # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX 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.58.3 +Version: 1.60.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 @@ License: LGPL-2.1-or-later AND GPL-2.0-or-later Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/Projects/GObjectIntrospection -Source0: http://download.gnome.org/sources/gobject-introspection/1.58/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gobject-introspection/1.60/%{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 @@ -37,7 +37,7 @@ BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gtk-doc -BuildRequires: meson +BuildRequires: meson >= 0.47 BuildRequires: pkgconfig BuildRequires: python3-Mako BuildRequires: python3-Markdown @@ -103,7 +103,9 @@ a uniform, machine readable format. %build %meson \ - -Dgtk-doc=true \ + -Dcairo=true \ + -Ddoctool=true \ + -Dgtk_doc=true \ -Dpython='%{_bindir}/python3' \ %{nil} %meson_build @@ -119,6 +121,8 @@ install -D %{SOURCE2} -m 0644 %{buildroot}%{_rpmconfigdir}/fileattrs/gobjectintr ls %{buildroot}%{_libdir}/girepository-1.0/*.typelib | sh %{SOURCE1} -P > gobject-introspection-typelib.installed diff -s %{SOURCE3} gobject-introspection-typelib.installed %fdupes %{buildroot} +# fixup shebangs in files installed to /usr/bin +sed -i "s|%{_bindir}/env python|%{_bindir}/python|" %{buildroot}%{_bindir}/* %post -n libgirepository-1_0-1 -p /sbin/ldconfig %postun -n libgirepository-1_0-1 -p /sbin/ldconfig