Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libdazzle for openSUSE:Factory checked in at 2021-04-12 12:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdazzle (Old) and /work/SRC/openSUSE:Factory/.libdazzle.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdazzle" Mon Apr 12 12:35:40 2021 rev:21 rq:881153 version:3.40.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libdazzle/libdazzle.changes 2020-11-23 10:33:48.849579879 +0100 +++ /work/SRC/openSUSE:Factory/.libdazzle.new.2401/libdazzle.changes 2021-04-12 12:38:27.117445116 +0200 @@ -1,0 +2,7 @@ +Sat Mar 20 09:17:09 UTC 2021 - Michael Gorse <[email protected]> + +- Update to version 3.40.0: + + Build system fixes for mingw. + + PangoFontDescription to CSS conversion improvements. + +------------------------------------------------------------------- Old: ---- libdazzle-3.38.0.tar.xz New: ---- libdazzle-3.40.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdazzle.spec ++++++ --- /var/tmp/diff_new_pack.fQGhsh/_old 2021-04-12 12:38:27.665445753 +0200 +++ /var/tmp/diff_new_pack.fQGhsh/_new 2021-04-12 12:38:27.669445758 +0200 @@ -1,7 +1,7 @@ # # spec file for package libdazzle # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: libdazzle -Version: 3.38.0 +Version: 3.40.0 Release: 0 Summary: Collection of fancy features for GLib and Gtk+ License: GPL-3.0-or-later AND LGPL-2.1-or-later Group: Development/Tools/Other URL: https://gitlab.gnome.org/GNOME/libdazzle -Source0: https://download.gnome.org/sources/libdazzle/3.38/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/libdazzle/3.40/%{name}-%{version}.tar.xz BuildRequires: gtk-doc BuildRequires: meson >= 0.50.0 @@ -50,7 +50,6 @@ %description -n dazzle-list-counters This package provides the dazzle-list-counters binary. - %package -n libdazzle-1_0-0 Summary: Collection of fancy features for GLib and Gtk+ -- Library file Group: System/Libraries ++++++ libdazzle-3.38.0.tar.xz -> libdazzle-3.40.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/NEWS new/libdazzle-3.40.0/NEWS --- old/libdazzle-3.38.0/NEWS 2020-09-12 20:49:35.545795200 +0200 +++ new/libdazzle-3.40.0/NEWS 2021-03-20 01:06:23.758871800 +0100 @@ -1,4 +1,13 @@ ============== +Version 3.40.0 +============== + +Changes in this release: + + ??? Build system fixes for mingw + ??? PangoFontDescription to CSS conversion improvements + +============== Version 3.38.0 ============== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/meson.build new/libdazzle-3.40.0/meson.build --- old/libdazzle-3.38.0/meson.build 2020-09-12 20:49:35.547795300 +0200 +++ new/libdazzle-3.40.0/meson.build 2021-03-20 01:06:23.762871700 +0100 @@ -1,5 +1,5 @@ project('libdazzle', 'c', - version: '3.38.0', + version: '3.40.0', license: 'GPLv3+', meson_version: '>= 0.50.0', default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ], @@ -53,7 +53,8 @@ '-Werror=empty-body', '-Werror=implicit', '-Werror=implicit-function-declaration', - '-Werror=incompatible-pointer-types', + # fix with mkenums + # '-Werror=incompatible-pointer-types', '-Werror=init-self', '-Werror=int-conversion', '-Werror=int-to-pointer-cast', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/po/POTFILES.in new/libdazzle-3.40.0/po/POTFILES.in --- old/libdazzle-3.38.0/po/POTFILES.in 2020-09-12 20:49:35.547795300 +0200 +++ new/libdazzle-3.40.0/po/POTFILES.in 2021-03-20 01:06:23.762871700 +0100 @@ -2,6 +2,7 @@ # Please keep this file sorted alphabetically. src/animation/dzl-animation.c src/animation/dzl-box-theatric.c +src/backports/gtkeventcontrollermotion.c src/bindings/dzl-binding-group.c src/bindings/dzl-signal-group.c src/cache/dzl-task-cache.c @@ -12,29 +13,34 @@ src/graphing/dzl-graph-model.c src/graphing/dzl-graph-view.c src/prefs/dzl-preferences-entry.c +src/prefs/dzl-preferences-font-button.ui src/prefs/dzl-preferences-page.c src/prefs/dzl-preferences-view.c +src/prefs/dzl-preferences-view.ui src/search/dzl-trie.c src/settings/dzl-settings-sandwich.c src/shortcuts/dzl-shortcut-accel-dialog.c +src/shortcuts/dzl-shortcut-accel-dialog.ui src/shortcuts/dzl-shortcut-manager.c -src/shortcuts/dzl-shortcut-theme-editor.c src/shortcuts/dzl-shortcuts-group.c src/shortcuts/dzl-shortcuts-section.c src/shortcuts/dzl-shortcuts-shortcut.c src/shortcuts/dzl-shortcuts-window.c +src/shortcuts/dzl-shortcut-theme-editor.c +src/shortcuts/dzl-shortcut-theme-editor.ui src/statemachine/dzl-state-machine-buildable.c src/statemachine/dzl-state-machine.c src/suggestions/dzl-suggestion-entry.c src/suggestions/dzl-suggestion-popover.c src/theming/dzl-css-provider.c src/tree/dzl-tree-builder.c -src/tree/dzl-tree-node.c src/tree/dzl-tree.c +src/tree/dzl-tree-node.c src/util/dzl-date-time.c src/util/dzl-file-manager.c src/widgets/dzl-bolding-label.c src/widgets/dzl-box.c +src/widgets/dzl-counters-window.ui src/widgets/dzl-file-chooser-entry.c src/widgets/dzl-pill-box.c src/widgets/dzl-rect-helper.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/po/POTFILES.skip new/libdazzle-3.40.0/po/POTFILES.skip --- old/libdazzle-3.38.0/po/POTFILES.skip 2020-09-12 20:49:35.547795300 +0200 +++ new/libdazzle-3.40.0/po/POTFILES.skip 2021-03-20 01:06:23.762871700 +0100 @@ -1,3 +1,8 @@ # List of source files to skip. # Please keep this file sorted alphabetically. examples/app/example-window.c +examples/app/example-window.ui +examples/app/gtk/menus.ui +tests/data/menus/joined1.ui +tests/data/menus/joined2.ui +tests/data/menus/menus.ui diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/src/files/dzl-recursive-file-monitor.c new/libdazzle-3.40.0/src/files/dzl-recursive-file-monitor.c --- old/libdazzle-3.38.0/src/files/dzl-recursive-file-monitor.c 2020-09-12 20:49:35.551795200 +0200 +++ new/libdazzle-3.40.0/src/files/dzl-recursive-file-monitor.c 2021-03-20 01:06:23.769871700 +0100 @@ -174,7 +174,11 @@ return g_object_ref (file); orig_path = g_file_get_path (file); +#ifdef G_OS_UNIX real_path = realpath (orig_path, NULL); +#else + real_path = _fullpath (orig_path, NULL, _MAX_PATH); +#endif /* unlikely, but PATH_MAX exceeded */ if (real_path == NULL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/src/menus/dzl-menu-manager.c new/libdazzle-3.40.0/src/menus/dzl-menu-manager.c --- old/libdazzle-3.38.0/src/menus/dzl-menu-manager.c 2020-09-12 20:49:35.553795300 +0200 +++ new/libdazzle-3.40.0/src/menus/dzl-menu-manager.c 2021-03-20 01:06:23.772871700 +0100 @@ -235,7 +235,7 @@ { g_autofree gchar *i_after = NULL; - g_menu_model_get_item_attribute (model, i, "after", "s", &i_after); + g_menu_model_get_item_attribute (model, i, DZL_MENU_ATTRIBUTE_AFTER, "s", &i_after); if (i_after == NULL) continue; @@ -275,7 +275,7 @@ { g_autofree gchar *i_before = NULL; - g_menu_model_get_item_attribute (model, i, "before", "s", &i_before); + g_menu_model_get_item_attribute (model, i, DZL_MENU_ATTRIBUTE_BEFORE, "s", &i_before); if (i_before == NULL) continue; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/src/search/dzl-fuzzy-mutable-index.c new/libdazzle-3.40.0/src/search/dzl-fuzzy-mutable-index.c --- old/libdazzle-3.38.0/src/search/dzl-fuzzy-mutable-index.c 2020-09-12 20:49:35.558795200 +0200 +++ new/libdazzle-3.40.0/src/search/dzl-fuzzy-mutable-index.c 2021-03-20 01:06:23.779872000 +0100 @@ -62,8 +62,13 @@ #pragma pack(push, 1) typedef struct { +#ifdef G_OS_WIN32 + guint32 id; + guint16 pos; +#else guint64 id : 32; guint64 pos : 16; +#endif } DzlFuzzyMutableIndexItem; #pragma pack(pop) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/src/search/dzl-trie.c new/libdazzle-3.40.0/src/search/dzl-trie.c --- old/libdazzle-3.38.0/src/search/dzl-trie.c 2020-09-12 20:49:35.559795400 +0200 +++ new/libdazzle-3.40.0/src/search/dzl-trie.c 2021-03-20 01:06:23.780871900 +0100 @@ -71,16 +71,17 @@ * @children: The children #DzlTrieNodeChunk or %NULL. If the chunk is * inline the DzlTrieNode, then there will be fewer items. */ -DZL_ALIGNED_BEGIN(1) +#pragma pack(push, 1) struct _DzlTrieNodeChunk { DzlTrieNodeChunk *next; - gboolean is_inline : 1; - guint flags : 7; - guint count : 8; + guint16 is_inline : 1; + guint16 flags : 7; + guint16 count : 8; guint8 keys[6]; DzlTrieNode *children[0]; -} DZL_ALIGNED_END(1); +}; +#pragma pack(pop) /** * DzlTrieNode: @@ -90,13 +91,14 @@ * @chunk: The first chunk in the chain. Inline chunks have fewer children * elements than extra allocated chunks so that they are cache aligned. */ -DZL_ALIGNED_BEGIN(1) +#pragma pack(push, 1) struct _DzlTrieNode { DzlTrieNode *parent; gpointer value; DzlTrieNodeChunk chunk; -} DZL_ALIGNED_END(1); +}; +#pragma pack(pop) /** * DzlTrie: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/src/util/dzl-pango.c new/libdazzle-3.40.0/src/util/dzl-pango.c --- old/libdazzle-3.38.0/src/util/dzl-pango.c 2020-09-12 20:49:35.566795300 +0200 +++ new/libdazzle-3.40.0/src/util/dzl-pango.c 2021-03-20 01:06:23.787871800 +0100 @@ -27,6 +27,7 @@ #include "util/dzl-pango.h" #define FONT_FAMILY "font-family" +#define FONT_STYLE "font-style" #define FONT_VARIANT "font-variant" #define FONT_STRETCH "font-stretch" #define FONT_WEIGHT "font-weight" @@ -74,6 +75,31 @@ if ((mask & PANGO_FONT_MASK_STYLE) != 0) { + PangoStyle style; + + style = pango_font_description_get_style (font_desc); + + switch (style) + { + case PANGO_STYLE_NORMAL: + ADD_KEYVAL (FONT_STYLE, "normal"); + break; + + case PANGO_STYLE_OBLIQUE: + ADD_KEYVAL (FONT_STYLE, "oblique"); + break; + + case PANGO_STYLE_ITALIC: + ADD_KEYVAL (FONT_STYLE, "italic"); + break; + + default: + break; + } + } + + if ((mask & PANGO_FONT_MASK_VARIANT) != 0) + { PangoVariant variant; variant = pango_font_description_get_variant (font_desc); @@ -152,7 +178,7 @@ switch (pango_font_description_get_stretch (font_desc)) { case PANGO_STRETCH_ULTRA_CONDENSED: - ADD_KEYVAL (FONT_STRETCH, "untra-condensed"); + ADD_KEYVAL (FONT_STRETCH, "ultra-condensed"); break; case PANGO_STRETCH_EXTRA_CONDENSED: @@ -184,7 +210,7 @@ break; case PANGO_STRETCH_ULTRA_EXPANDED: - ADD_KEYVAL (FONT_STRETCH, "untra-expanded"); + ADD_KEYVAL (FONT_STRETCH, "ultra-expanded"); break; default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdazzle-3.38.0/tests/test-directory-reaper.c new/libdazzle-3.40.0/tests/test-directory-reaper.c --- old/libdazzle-3.38.0/tests/test-directory-reaper.c 2020-09-12 20:49:35.573795300 +0200 +++ new/libdazzle-3.40.0/tests/test-directory-reaper.c 2021-03-20 01:06:23.794871800 +0100 @@ -75,6 +75,7 @@ g_assert_cmpint (r, ==, TRUE); } +#ifdef G_OS_UNIX /* Add a symlink to ../ so that we keep ourselves honest ;) */ { g_autofree gchar *cwd = g_get_current_dir (); @@ -95,6 +96,7 @@ g_assert_cmpint (0, ==, symlink ("../../../out-of-tree", "reaper/a/b/d")); g_assert_true (g_file_test ("reaper/a/b/d", G_FILE_TEST_IS_SYMLINK)); g_assert_true (g_file_test ("reaper/a/b/d", G_FILE_TEST_EXISTS)); +#endif dzl_directory_reaper_add_directory (reaper, file, 0);
