Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:BCI:SLCS:next
glib2
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package glib2
--- _multibuild.orig +++ _multibuild @@ -1,3 +1,4 @@ <multibuild> + <package>bootstrap</package> <package>doc</package> </multibuild> --- glib2.changes.orig +++ glib2.changes @@ -1,4 +1,51 @@ ------------------------------------------------------------------- +Fri Feb 23 07:18:43 UTC 2024 - Dan Čermák <dcermak@suse.com> + +- New upstream release 2.79.2 + + * More work to reduce lock contention and improve performance in GObject (#743, + !3869, !3873, work by Thomas Haller) + + * More API changes to libgirepository, which is now stable as of this release + (#3155, #3217, #3218, #3231, #3234, #3243, #3244, #3245, #3246, work by + Philip Chimento, Evan Welsh, Philip Withnall) + + * Import `g-ir-compiler`, `g-ir-generate` and `g-ir-inspect` from + gobject-introspection.git and update them to work with girepository-2.0, + renaming them to `gi-compile-repository`, `gi-decompile-typelib` and + `gi-inspect-typelib` (see docs/reference/girepository/migrating-gi.md) (!3853, + !3909, work by Evan Welsh, Philip Withnall) + + * Add new `GLibUnix-2.0.gir`, `GLibWin32-2.0.gir`, `GioUnix-2.0.gir` and + `GioWin32-2.0.gir` GIRs which contain platform specific APIs, and are the + preferred way for third parties to access those APIs in future; although + platform specific APIs which were already exposed in `GLib-2.0.gir` and + `Gio-2.0.gir` continue to be listed there; the underlying `.so` files have not + changed (!3892, work by Philip Withnall) + + +- New upstream release 2.79.1 + + * Fix a race condition in `g_object_unref()` (#3064, work by Thomas Haller) + + * Various API and build changes to libgirepository as it is not yet API-stable + (#3216, !3780, !3805, !3823, !3833, !3840) + + * Build fixes on big-endian 64-bit systems and mips64el (#3225, #3226, work by + Simon McVittie) + + * Reduce contention on global locks within GObject (!3774, work by Thomas + Haller) + + * Allow building man pages without the reference documentation (!3817, work by + Simon McVittie) + + * Translation updates: + - Georgian (Ekaterine Papava) + - Russian (Artur S0) + + +------------------------------------------------------------------- Thu Dec 7 10:52:01 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com> - Update to version 2.78.3: @@ -749,7 +796,7 @@ Thu Jul 7 11:59:36 UTC 2022 - Dominique + Use a numeric space (U+2007) for padding with some `g_date_time_format()` placeholders. + Fix a slow memory leak in `GSocketClient` when using long-lived - `GCancellable`s. + `GCancellable`s. ------------------------------------------------------------------- Sun Jul 3 23:43:59 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com> @@ -7703,8 +7750,8 @@ Mon Jul 31 23:57:49 CEST 2006 - gekker@s Tue Jul 18 23:39:54 CEST 2006 - rml@suse.de - Update to glib 2.12: - - Lots of bug fixes - - GSlice! + - Lots of bug fixes + - GSlice! - Drop upstream patches ------------------------------------------------------------------- @@ -8019,13 +8066,13 @@ Tue Mar 11 13:10:40 CET 2003 - olh@suse. Mon Feb 3 08:51:24 CET 2003 - hhetter@suse.de - updated to version 2.2.1, from changes: - * Win32 - - Improve handling of stderr/stdout - - Install .def files - - Fix quoting for GSpawn - - Miscellaneous bug fixes - * configure fixes - * New and updated translations + * Win32 + - Improve handling of stderr/stdout + - Install .def files + - Fix quoting for GSpawn + - Miscellaneous bug fixes + * configure fixes + * New and updated translations ------------------------------------------------------------------- Fri Jan 10 15:46:36 CET 2003 - sbrabec@suse.cz @@ -8042,15 +8089,15 @@ Thu Jan 09 15:29:54 CET 2003 - sbrabec@s Tue Nov 5 10:20:12 CET 2002 - hhetter@suse.de - updated to version 2.0.7, bugfix release: - * Fix C++ warnings in gtype.h - * Fix g_type_fundamental_next() - * Fix various missing includes of config.h - * Handle main loop initialization before g_thread_init - * Various 64-bit fixes - * Fix GPoll on Win32 - * Fix bug with buffering on UTF-8 IOChannels - * Misc bug and build fixes - * Updated and new translations (be,cs,de,fa,it,lv,pt_BR,tr) + * Fix C++ warnings in gtype.h + * Fix g_type_fundamental_next() + * Fix various missing includes of config.h + * Handle main loop initialization before g_thread_init + * Various 64-bit fixes + * Fix GPoll on Win32 + * Fix bug with buffering on UTF-8 IOChannels + * Misc bug and build fixes + * Updated and new translations (be,cs,de,fa,it,lv,pt_BR,tr) ------------------------------------------------------------------- Tue Aug 13 13:34:18 CEST 2002 - hhetter@suse.de @@ -8071,24 +8118,24 @@ Thu Aug 8 09:15:07 CEST 2002 - hhetter@ Mon Aug 5 09:45:53 CEST 2002 - hhetter@suse.de - updated to version 2.0.6, fron changes: - * Fix problem with interface prerequisites - * Clean up debug spew from GObject - * Compiler warning fixes - * Fix some problems with g_build_path() - * Fixes for --disable-debug - * Threading fixes - * Documentation fixes - * Misc bug fixes - * Updated translations (bg,ko,vi) + * Fix problem with interface prerequisites + * Clean up debug spew from GObject + * Compiler warning fixes + * Fix some problems with g_build_path() + * Fixes for --disable-debug + * Threading fixes + * Documentation fixes + * Misc bug fixes + * Updated translations (bg,ko,vi) ------------------------------------------------------------------- Mon Jun 17 18:32:00 CEST 2002 - jordi@suse.de - Updated to version 2.0.4 - * Fix some 64-bit problems - * Add note about Tru64 iconv to INSTALL - * Fix problem with timouts > MAXINT - * Updated translations + * Fix some 64-bit problems + * Add note about Tru64 iconv to INSTALL + * Fix problem with timouts > MAXINT + * Updated translations ------------------------------------------------------------------- @@ -8136,17 +8183,17 @@ Tue Dec 11 14:11:28 CET 2001 - ro@suse.d Tue Nov 27 11:42:06 CET 2001 - hhetter@suse.de - updated to version 1.3.11, changes include: - * Win32 fixes - * Documentation improvements - * Portable directory handling API - * Threading fixes - * Fix excess relocations in Unicode tables - * Fix gpattern for UTF-8 - * Support overriding class closures - * Support for derivation from G_TYPE_POINTER - * Hide pointers to type information inside GType to reduce locking - * Adds check for direct inclusion of gobject/*.h - * GObject API cleanups + * Win32 fixes + * Documentation improvements + * Portable directory handling API + * Threading fixes + * Fix excess relocations in Unicode tables + * Fix gpattern for UTF-8 + * Support overriding class closures + * Support for derivation from G_TYPE_POINTER + * Hide pointers to type information inside GType to reduce locking + * Adds check for direct inclusion of gobject/*.h + * GObject API cleanups ------------------------------------------------------------------- Tue Nov 20 16:06:51 CET 2001 - ro@suse.de @@ -8167,4 +8214,3 @@ Tue Nov 13 11:09:57 CET 2001 - hhetter@s Mon Oct 1 14:25:44 CEST 2001 - hhetter@suse.de - initial SuSE release for GNOME 2.0 platform - --- glib2.spec.orig +++ glib2.spec @@ -15,28 +15,41 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%global maj_min_ver 2.79 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "doc" %global psuffix -doc %else +%if "%{flavor}" == "bootstrap" +%global psuffix -bootstrap +%else %global psuffix %{nil} %endif +%endif + +%if "%{flavor}" == "bootstrap" +%bcond_without introspection +%else +%bcond_with introspection +%endif + %define libver 2_0-0 %define libgio libgio-%{libver} %define libglib libglib-%{libver} %define libgmodule libgmodule-%{libver} %define libgobject libgobject-%{libver} %define libgthread libgthread-%{libver} +%define libgirepository libgirepository-%{libver} %bcond_without systemtap Name: glib2%{psuffix} -Version: 2.78.3 +Version: %{maj_min_ver}.2 Release: 0 Summary: General-Purpose Utility Library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://gitlab.gnome.org/GNOME/glib/ -Source0: https://download.gnome.org/sources/glib/2.78/glib-%{version}.tar.xz +Source0: https://download.gnome.org/sources/glib/%{maj_min_ver}/glib-%{version}.tar.xz Source1: glib2.sh Source2: glib2.csh # Not upstream file. Only proposes upstream packages: @@ -49,13 +62,13 @@ Source8: gsettings.zsh Source98: glib2-rpmlintrc Source99: baselibs.conf # PATCH-FEATURE-UPSTREAM glib2-bgo569829-gettext-gkeyfile.patch fate300461 bgo569829 vuntz@novell.com -- Look for translation of desktop entry strings via gettext, part that we share with Ubuntu and try to push upstream -Patch0: glib2-bgo569829-gettext-gkeyfile.patch +Patch0: 0001-Look-for-translation-of-desktop-entry-strings-via-ge.patch # PATCH-FEATURE-OPENSUSE glib2-fate300461-gettext-gkeyfile-suse.patch fate300461 vuntz@novell.com -- Look for translation of desktop entry strings via gettext, part that deals with the openSUSE specific infrastructure (with desktop_translations) -Patch1: glib2-fate300461-gettext-gkeyfile-suse.patch +Patch1: 0002-Look-for-translation-of-desktop-entry-strings-via-ge.patch # PATCH-FIX-OPENSUSE glib2-suppress-schema-deprecated-path-warning.patch rh#814053 badshah400@gmail.com -- Suppress the deprecated path warning since it fills up screen unnecessarily during package installations/upgrade. -Patch2: glib2-suppress-schema-deprecated-path-warning.patch +Patch2: 0003-Suppress-the-deprecated-path-warning-since-it-fills-.patch # PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch olaf@aepfle.de -- Remove version string from files generated by gdbus-codegen -Patch4: glib2-gdbus-codegen-version.patch +Patch4: 0004-Remove-version-string-from-files-generated-by-gdbus-.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes @@ -67,13 +80,19 @@ BuildRequires: pkgconfig BuildRequires: python3-base >= 3.5 # gdbus-codegen is run during the build, so we need python3-xml BuildRequires: python3-xml +# manpages +BuildRequires: python3-docutils BuildRequires: xsltproc + # Needed for gresource BuildRequires: pkgconfig(libelf) >= 0.8.12 BuildRequires: pkgconfig(libffi) >= 3.0.0 BuildRequires: pkgconfig(libpcre2-8) >= 10.32 BuildRequires: pkgconfig(mount) >= 2.28 BuildRequires: pkgconfig(zlib) +%if %{with introspection} +BuildRequires: gobject-introspection +%endif %if "%{flavor}" == "doc" # Split-provides Provides: glib2-devel:%{_datadir}/gtk-doc/html/gobject/index.html @@ -142,6 +161,7 @@ Requires: %{libglib} = %{version} Requires: %{libgmodule} = %{version} Requires: %{libgobject} = %{version} Requires: %{libgthread} = %{version} +Requires: %{libgirepository} = %{version} Requires: glib2-tools = %{version} Requires: glibc-devel Requires: pkgconfig @@ -241,6 +261,15 @@ a main loop abstraction, and so on. The GObject library provides an object-oriented framework for C. +%package -n %{libgirepository} +Summary: GObject Introspection Library +Group: System/Libraries + +%description -n %{libgirepository} +The goal of the project is to describe the APIs and collect them in +a uniform, machine readable format. + + %package tests-devel Summary: Tests for the glib2 package Group: Development/Libraries/C and C++ @@ -272,21 +301,26 @@ sed -i "s/1.32.1/1.32/" docs/reference/m %global _lto_cflags %{_lto_cflags} -ffat-lto-objects %endif %meson \ - --default-library=both \ - -Dselinux=enabled \ - -Dman=true \ + --default-library=both \ + -Dselinux=enabled \ + -Dman=true \ %if "%{flavor}" == "doc" - -Dgtk_doc=true \ + -Dgtk_doc=true \ +%endif +%if %{with introspection} + -Dintrospection=enabled \ +%else + -Dintrospection=disabled \ %endif %if %{with systemtap} - -Dsystemtap=true \ - -Ddtrace=true \ + -Dsystemtap=true \ + -Ddtrace=true \ %else - -Dsystemtap=false \ - -Ddtrace=false \ + -Dsystemtap=false \ + -Ddtrace=false \ %endif - -Dinstalled_tests=true \ - %{nil} + -Dinstalled_tests=true \ + %{nil} %meson_build %install @@ -332,21 +366,22 @@ mkdir -p %{buildroot}%{_datadir}/gtk-doc %define compile_schemas \ (umask 022 && %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas) -%filetriggerin -n glib2-tools -- %{_datadir}/glib-2.0/schemas +%filetriggerin -n %{name}-tools -- %{_datadir}/glib-2.0/schemas %{compile_schemas} -%filetriggerpostun -n glib2-tools -- %{_datadir}/glib-2.0/schemas +%filetriggerpostun -n %{name}-tools -- %{_datadir}/glib-2.0/schemas %{compile_schemas} %post -n %{libglib} -p /sbin/ldconfig %post -n %{libgobject} -p /sbin/ldconfig %post -n %{libgthread} -p /sbin/ldconfig +%post -n %{libgirepository} -p /sbin/ldconfig %post -n %{libgio} %{ldconfig} for ENV in gnome xfce lxde pantheon mate do mimeapps="%{_localstatedir}/cache/gio-2.0/$ENV-mimeapps.list" && - 2>/dev/null <"${mimeapps}" || cat >"${mimeapps}" <<EOF + 2>/dev/null <"${mimeapps}" || cat >"${mimeapps}" <<EOF # Dummy file. Install desktop-file-utils to get better defaults. [Default Applications] EOF @@ -363,6 +398,7 @@ done %postun -n %{libgthread} -p %{ldconfig} %postun -n %{libgio} -p %{ldconfig} %postun -n %{libgmodule} -p %{ldconfig} +%postun -n %{libgirepository} -p %{ldconfig} %if "%{flavor}" == "doc" %files @@ -379,6 +415,9 @@ done %{_bindir}/gio %{_bindir}/gio-querymodules* %{_bindir}/glib-compile-schemas +%{_bindir}/gi-compile-repository +%{_bindir}/gi-decompile-typelib +%{_bindir}/gi-inspect-typelib %{_bindir}/gresource %{_bindir}/gsettings %{_libexecdir}/gio-launch-desktop @@ -426,6 +465,10 @@ done %license LICENSES/LGPL-2.1-or-later.txt %{_libdir}/libgthread*.so.* +%files -n %{libgirepository} +%license LICENSES/LGPL-2.1-or-later.txt +%{_libdir}/libgirepository*.so.* + %files -n %{libgio} %license LICENSES/LGPL-2.1-or-later.txt %{_libdir}/libgio*.so.*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor