Accepting request 964928 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/964928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=250
This commit is contained in:
2022-03-28 15:00:21 +00:00
committed by Git OBS Bridge
6 changed files with 208 additions and 46 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f70bf76ebcc84e0705722f038be8e2f9a58d17e1a700810c635fcc18b8974b7e
size 4822784

3
glib-2.72.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7bef0d4c4e7a62e08efb8e5f252a01357007b9588a87ff2b463a3857011f79d
size 4879172

View File

@@ -1,16 +1,16 @@
Index: glib-2.70.1/glib/gkeyfile.c
Index: glib-2.71.0/glib/gkeyfile.c
===================================================================
--- glib-2.70.1.orig/glib/gkeyfile.c
+++ glib-2.70.1/glib/gkeyfile.c
--- glib-2.71.0.orig/glib/gkeyfile.c
+++ glib-2.71.0/glib/gkeyfile.c
@@ -513,6 +513,7 @@ struct _GKeyFile
gboolean checked_locales;
gchar **locales;
gboolean checked_locales; /* TRUE if @locales has been initialised */
gchar **locales; /* (nullable) */
+ gchar *gettext_domain;
gint ref_count; /* (atomic) */
};
@@ -637,6 +638,7 @@ g_key_file_init (GKeyFile *key_file)
@@ -639,6 +640,7 @@ g_key_file_init (GKeyFile *key_file)
key_file->parse_buffer = NULL;
key_file->list_separator = ';';
key_file->flags = 0;
@@ -18,7 +18,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
}
static void
@@ -657,6 +659,12 @@ g_key_file_clear (GKeyFile *key_file)
@@ -659,6 +661,12 @@ g_key_file_clear (GKeyFile *key_file)
key_file->parse_buffer = NULL;
}
@@ -31,7 +31,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
tmp = key_file->groups;
while (tmp != NULL)
{
@@ -876,6 +884,11 @@ g_key_file_load_from_fd (GKeyFile
@@ -879,6 +887,11 @@ g_key_file_load_from_fd (GKeyFile
return FALSE;
}
@@ -43,7 +43,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
return TRUE;
}
@@ -988,6 +1001,11 @@ g_key_file_load_from_data (GKeyFile
@@ -991,6 +1004,11 @@ g_key_file_load_from_data (GKeyFile
return FALSE;
}
@@ -55,7 +55,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
return TRUE;
}
@@ -2227,6 +2245,8 @@ g_key_file_get_locale_string (GKeyFile
@@ -2240,6 +2258,8 @@ g_key_file_get_locale_string (GKeyFile
GError *key_file_error;
gchar **languages;
gboolean free_languages = FALSE;
@@ -64,7 +64,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
gint i;
g_return_val_if_fail (key_file != NULL, NULL);
@@ -2248,6 +2268,23 @@ g_key_file_get_locale_string (GKeyFile
@@ -2261,6 +2281,23 @@ g_key_file_get_locale_string (GKeyFile
free_languages = FALSE;
}
@@ -88,7 +88,7 @@ Index: glib-2.70.1/glib/gkeyfile.c
for (i = 0; languages[i]; i++)
{
candidate_key = g_strdup_printf ("%s[%s]", key, languages[i]);
@@ -2261,6 +2298,39 @@ g_key_file_get_locale_string (GKeyFile
@@ -2274,6 +2311,39 @@ g_key_file_get_locale_string (GKeyFile
break;
}
@@ -128,10 +128,10 @@ Index: glib-2.70.1/glib/gkeyfile.c
/* Fallback to untranslated key
*/
if (!translated_value)
Index: glib-2.70.1/glib/gkeyfile.h
Index: glib-2.71.0/glib/gkeyfile.h
===================================================================
--- glib-2.70.1.orig/glib/gkeyfile.h
+++ glib-2.70.1/glib/gkeyfile.h
--- glib-2.71.0.orig/glib/gkeyfile.h
+++ glib-2.71.0/glib/gkeyfile.h
@@ -320,6 +320,7 @@ gboolean g_key_file_remove_group
#define G_KEY_FILE_DESKTOP_KEY_URL "URL"
#define G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE "DBusActivatable"

View File

@@ -1,16 +1,16 @@
Index: glib-2.70.0/glib/gkeyfile.c
Index: glib-2.71.0/glib/gkeyfile.c
===================================================================
--- glib-2.70.0.orig/glib/gkeyfile.c
+++ glib-2.70.0/glib/gkeyfile.c
--- glib-2.71.0.orig/glib/gkeyfile.c
+++ glib-2.71.0/glib/gkeyfile.c
@@ -514,6 +514,7 @@ struct _GKeyFile
gboolean checked_locales;
gchar **locales;
gboolean checked_locales; /* TRUE if @locales has been initialised */
gchar **locales; /* (nullable) */
gchar *gettext_domain;
+ gchar *file_basename;
gint ref_count; /* (atomic) */
};
@@ -639,6 +640,7 @@ g_key_file_init (GKeyFile *key_file)
@@ -641,6 +642,7 @@ g_key_file_init (GKeyFile *key_file)
key_file->list_separator = ';';
key_file->flags = 0;
key_file->gettext_domain = NULL;
@@ -18,7 +18,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
}
static void
@@ -665,6 +667,12 @@ g_key_file_clear (GKeyFile *key_file)
@@ -667,6 +669,12 @@ g_key_file_clear (GKeyFile *key_file)
key_file->gettext_domain = NULL;
}
@@ -31,7 +31,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
tmp = key_file->groups;
while (tmp != NULL)
{
@@ -808,6 +816,39 @@ find_file_in_data_dirs (const gchar *f
@@ -811,6 +819,39 @@ find_file_in_data_dirs (const gchar *f
return fd;
}
@@ -71,7 +71,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
static gboolean
g_key_file_load_from_fd (GKeyFile *key_file,
gint fd,
@@ -889,6 +930,9 @@ g_key_file_load_from_fd (GKeyFile
@@ -892,6 +933,9 @@ g_key_file_load_from_fd (GKeyFile
G_KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN,
NULL);
@@ -81,7 +81,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
return TRUE;
}
@@ -945,6 +989,8 @@ g_key_file_load_from_file (GKeyFile
@@ -948,6 +992,8 @@ g_key_file_load_from_file (GKeyFile
return FALSE;
}
@@ -90,7 +90,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
return TRUE;
}
@@ -1006,6 +1052,9 @@ g_key_file_load_from_data (GKeyFile
@@ -1009,6 +1055,9 @@ g_key_file_load_from_data (GKeyFile
G_KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN,
NULL);
@@ -100,7 +100,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
return TRUE;
}
@@ -1110,6 +1159,9 @@ g_key_file_load_from_dirs (GKeyFile
@@ -1113,6 +1162,9 @@ g_key_file_load_from_dirs (GKeyFile
}
}
@@ -110,7 +110,7 @@ Index: glib-2.70.0/glib/gkeyfile.c
if (found_file && full_path)
*full_path = output_path;
else
@@ -2310,14 +2362,40 @@ g_key_file_get_locale_string (GKeyFile
@@ -2320,14 +2372,40 @@ g_key_file_get_locale_string (GKeyFile
{
gboolean codeset_set;
const gchar *translated;
@@ -156,10 +156,10 @@ Index: glib-2.70.0/glib/gkeyfile.c
g_free (orig_value);
Index: glib-2.70.0/glib/gkeyfile.h
Index: glib-2.71.0/glib/gkeyfile.h
===================================================================
--- glib-2.70.0.orig/glib/gkeyfile.h
+++ glib-2.70.0/glib/gkeyfile.h
--- glib-2.71.0.orig/glib/gkeyfile.h
+++ glib-2.71.0/glib/gkeyfile.h
@@ -320,7 +320,7 @@ gboolean g_key_file_remove_group
#define G_KEY_FILE_DESKTOP_KEY_URL "URL"
#define G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE "DBusActivatable"

View File

@@ -1,3 +1,173 @@
-------------------------------------------------------------------
Fri Mar 25 14:02:31 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- desktop-file-utils: add Budgie desktop environment
-------------------------------------------------------------------
Fri Mar 18 10:32:49 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.72.0:
+ Bugs fixed: glgo#GNOME/GLib#2620, glgo#GNOME/GLib!2538,
glgo#GNOME/GLib!2542, glgo#GNOME/GLib!2547,
glgo#GNOME/GLib!2548, glgo#GNOME/GLib!2551,
glgo#GNOME/GLib!2552.
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 17 14:56:34 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.71.3:
+ Fix flaky `GDebugController` tests
+ Numerous small documentation updates
+ Bugs fixed: glgo#GNOME/GLib#517, glgo#GNOME/GLib#1929,
glgo#GNOME/GLib#2589, glgo#GNOME/GLib#2598,
glgo#GNOME/GLib#2609, glgo#GNOME/GLib#2611,
glgo#GNOME/GLib#2612, glgo#GNOME/GLib#2613,
glgo#GNOME/GLib!1707, glgo#GNOME/GLib!2424,
glgo#GNOME/GLib!2451, glgo#GNOME/GLib!2466,
glgo#GNOME/GLib!2480, glgo#GNOME/GLib!2485,
glgo#GNOME/GLib!2490, glgo#GNOME/GLib!2491,
glgo#GNOME/GLib!2492, glgo#GNOME/GLib!2493,
glgo#GNOME/GLib!2501, glgo#GNOME/GLib!2502,
glgo#GNOME/GLib!2503, glgo#GNOME/GLib!2504,
glgo#GNOME/GLib!2505, glgo#GNOME/GLib!2506,
glgo#GNOME/GLib!2507, glgo#GNOME/GLib!2508,
glgo#GNOME/GLib!2509, glgo#GNOME/GLib!2510,
glgo#GNOME/GLib!2512, glgo#GNOME/GLib!2513,
glgo#GNOME/GLib!2514, glgo#GNOME/GLib!2515,
glgo#GNOME/GLib!2516, glgo#GNOME/GLib!2517,
glgo#GNOME/GLib!2518, glgo#GNOME/GLib!2519,
glgo#GNOME/GLib!2520, glgo#GNOME/GLib!2523,
glgo#GNOME/GLib!2524, glgo#GNOME/GLib!2525,
glgo#GNOME/GLib!2526, glgo#GNOME/GLib!2527,
glgo#GNOME/GLib!2528, glgo#GNOME/GLib!2531.
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 17 14:56:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
- Split gtk-docs from -devel package, these are not needed
during building projects using glib2
- Use _multibuild as the meson buildprocess is very awkward
regarding the documentation - builds single-jobs only and
twice (again during %install). This way the rest of distribution
waiting for glib2-devel to be available is not blocked by this
-------------------------------------------------------------------
Thu Mar 17 14:56:32 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.71.2:
+ Rework `glib-compile-resources` to output compiler-specific
files to reduce compilation time; see the new `--compiler`
option.
+ Add a cross-platform API for aligned memory allocations
(`g_aligned_alloc()`, `g_aligned_alloc0()` and
`g_aligned_free()`).
+ Deprecate `force_posix_threads` configure option, since it was
a workaround for static linking on Windows.
+ Add `GBindingGroup` and `GSignalGroup` APIs.
+ Implement FD remapping support for
`g_spawn_async_with_pipes_and_fds()` on Windows.
+ Add an async file move API, `g_file_move_async()`.
+ Bugs fixed: glgo#GNOME/GLib#1190, glgo#GNOME/GLib#2329,
glgo#GNOME/GLib#2492, glgo#GNOME/GLib#2563,
glgo#GNOME/GLib#2574, glgo#GNOME/GLib#2592,
glgo#GNOME/GLib#2601, glgo#GNOME/GLib!2235,
glgo#GNOME/GLib!2378, glgo#GNOME/GLib!2404,
glgo#GNOME/GLib!2433, glgo#GNOME/GLib!2458,
glgo#GNOME/GLib!2464, glgo#GNOME/GLib!2465,
glgo#GNOME/GLib!2467, glgo#GNOME/GLib!2468,
glgo#GNOME/GLib!2469, glgo#GNOME/GLib!2471,
glgo#GNOME/GLib!2472, glgo#GNOME/GLib!2473,
glgo#GNOME/GLib!2476, glgo#GNOME/GLib!2477,
glgo#GNOME/GLib!2481, glgo#GNOME/GLib!2482,
glgo#GNOME/GLib!2483, glgo#GNOME/GLib!2484,
glgo#GNOME/GLib!2487, glgo#GNOME/GLib!2488.
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 17 14:56:31 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.71.1:
+ Basic support for static builds on Windows
+ Add `GDebugController` and a D-Bus implementation which exposes
whether debug output is enabled in a process using the
`org.gtk.Debugging` D-Bus interface
+ Support for `AF_UNIX` sockets on Windows 10 (and later)
+ Several important fixes to GDBus message and GVariant parsing
of invalid data
+ Fix potential data loss due to missing fsync when saving files
on btrfs
+ Fix potential buffer overflows in `garray.c` for very large
`GArray`s and `GPtrArray`s
+ Fix FDs in gspawn not being closed and causing process hangs if
`close_range()` fails unexpectedly
+ Fix `g_find_program_in_path()` not returning an absolute path
if `$PATH` is relative
+ Add support for loading PKCS#12 encrypted files in
`GTlsCertificate`
+ A number of improvements to unit tests
+ Support `LOCAL_PEERPID` on macOS, giving partial support for
PIDs in `GCredentials` on that platform
+ Add `g_get_user_state_dir()` to support `XDG_STATE_HOME`
+ Add `g_hash_table_new_similar()` to copy a hash table and its
hash/equal functions without its data
+ Support D-Bus client authentication with `EXTERNAL` on Windows
+ Add a reStructuredText documentation generator to
`gdbus-codegen`
+ Add a Windows implementation of `GMemoryMonitor`
+ Bugs fixed: glgo#GNOME/GLib#692, glgo#GNOME/GLib#1190,
glgo#GNOME/GLib#2487, glgo#GNOME/GLib#2550,
glgo#GNOME/GLib#2557, glgo#GNOME/GLib#2559,
glgo#GNOME/GLib#2560, glgo#GNOME/GLib#2564,
glgo#GNOME/GLib#2565, glgo#GNOME/GLib#2571,
glgo#GNOME/GLib#2572, glgo#GNOME/GLib#2578,
glgo#GNOME/GLib#2579, glgo#GNOME/GLib#2580,
glgo#GNOME/GLib#2582, glgo#GNOME/GLib#2585,
glgo#GNOME/GLib#2586, glgo#GNOME/GLib!2239,
glgo#GNOME/GLib!2362, glgo#GNOME/GLib!2384,
glgo#GNOME/GLib!2395, glgo#GNOME/GLib!2399,
glgo#GNOME/GLib!2400, glgo#GNOME/GLib!2402,
glgo#GNOME/GLib!2403, glgo#GNOME/GLib!2405,
glgo#GNOME/GLib!2407, glgo#GNOME/GLib!2411,
glgo#GNOME/GLib!2412, glgo#GNOME/GLib!2413,
glgo#GNOME/GLib!2414, glgo#GNOME/GLib!2417,
glgo#GNOME/GLib!2423, glgo#GNOME/GLib!2425,
glgo#GNOME/GLib!2426, glgo#GNOME/GLib!2428,
glgo#GNOME/GLib!2429, glgo#GNOME/GLib!2431,
glgo#GNOME/GLib!2432, glgo#GNOME/GLib!2434,
glgo#GNOME/GLib!2440, glgo#GNOME/GLib!2441,
glgo#GNOME/GLib!2442, glgo#GNOME/GLib!2447,
glgo#GNOME/GLib!2448, glgo#GNOME/GLib!2452,
glgo#GNOME/GLib!2453, glgo#GNOME/GLib!2454,
glgo#GNOME/GLib!2456, glgo#GNOME/GLib!2459,
glgo#GNOME/GLib!2461, glgo#GNOME/GLib!2463.
+ Updated translations.
-------------------------------------------------------------------
Thu Mar 17 14:56:30 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.71.0:
+ Fix network changes not being signalled from NetworkManager.
+ Fix build when building with --fatal-meson-warnings.
+ Various fixes to GWeakRef cleanup and toggle refs.
+ Add `G_DBUS_PROXY_FLAGS_NO_MATCH_RULE` flag for disabling match
rules when creating a `GDBusProxy`.
+ Fix FD remapping in `g_spawn_async_with_pipes_and_fds()` with
certain values of target FDs.
+ Make `GDBusProxy::g-signal` signal detailed with D-Bus signal
names.
+ Emit `launched` signal for D-Bus activation of apps with
`GDesktopAppInfo`.
+ Fix IDs of `GDesktopAppInfo`s which are constructed from a
`.desktop` file in a subdirectory.
+ Add `--interactive` option to `gdbus call`.
+ Add `G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP` to
`GSubprocess`.
+ Lots of bug fixes.
+ Updated translations.
- Rebase glib2-bgo569829-gettext-gkeyfile.patch.
-------------------------------------------------------------------
Thu Mar 17 14:56:29 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
@@ -9,16 +179,6 @@ Thu Mar 17 14:56:29 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
offset.
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 28 18:15:50 UTC 2022 - Dirk Müller <dmueller@suse.com>
- Split gtk-docs from -devel package, these are not needed
during building projects using glib2
- Use _multibuild as the meson buildprocess is very awkward
regarding the documentation - builds single-jobs only and
twice (again during %install). This way the rest of distribution
waiting for glib2-devel to be available is not blocked by this
-------------------------------------------------------------------
Fri Feb 11 13:37:10 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -30,13 +30,13 @@
%define libgobject libgobject-%{libver}
%define libgthread libgthread-%{libver}
Name: glib2%{psuffix}
Version: 2.70.5
Version: 2.72.0
Release: 0
Summary: General-Purpose Utility Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://wiki.gnome.org/Projects/GLib
Source0: https://download.gnome.org/sources/glib/2.70/glib-%{version}.tar.xz
Source0: https://download.gnome.org/sources/glib/2.72/glib-%{version}.tar.xz
Source1: glib2.sh
Source2: glib2.csh
# Not upstream file. Only proposes upstream packages:
@@ -309,6 +309,7 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/gio-2.0 %{buildroot}%{_datadir}/app
>> %{buildroot}%{_localstatedir}/cache/gio-2.0/xfce-mimeapps.list
>> %{buildroot}%{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list
>> %{buildroot}%{_localstatedir}/cache/gio-2.0/pantheon-mimeapps.list
>> %{buildroot}%{_localstatedir}/cache/gio-2.0/budgie-mimeapps.list
ln -s %{_localstatedir}/cache/gio-2.0/gnome-mimeapps.list %{buildroot}%{_datadir}/applications/gnome-mimeapps.list
# gio-querymodules magic
%if "%{_lib}" == "lib64"
@@ -442,6 +443,7 @@ done
%ghost %{_localstatedir}/cache/gio-2.0/xfce-mimeapps.list
%ghost %{_localstatedir}/cache/gio-2.0/lxde-mimeapps.list
%ghost %{_localstatedir}/cache/gio-2.0/pantheon-mimeapps.list
%ghost %{_localstatedir}/cache/gio-2.0/budgie-mimeapps.list
%files devel
%license COPYING