Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libpeas for openSUSE:Factory checked in at 2023-03-24 15:17:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpeas (Old) and /work/SRC/openSUSE:Factory/.libpeas.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpeas" Fri Mar 24 15:17:07 2023 rev:50 rq:1073176 version:1.36.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libpeas/libpeas.changes 2022-09-21 14:41:39.185625274 +0200 +++ /work/SRC/openSUSE:Factory/.libpeas.new.31432/libpeas.changes 2023-03-24 15:17:13.069880847 +0100 @@ -1,0 +2,8 @@ +Fri Mar 17 18:55:05 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 1.36.0: + + PeasExtensionSet now implements GListModel. + + libpeas now requires GLib 2.44 or newer for GListModel. + + Updated translations. + +------------------------------------------------------------------- Old: ---- libpeas-1.34.0.tar.xz New: ---- libpeas-1.36.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpeas.spec ++++++ --- /var/tmp/diff_new_pack.djq7zI/_old 2023-03-24 15:17:15.765895238 +0100 +++ /var/tmp/diff_new_pack.djq7zI/_new 2023-03-24 15:17:15.769895259 +0100 @@ -1,7 +1,7 @@ # # spec file for package libpeas # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,22 +19,22 @@ %bcond_with lua51 %bcond_without python3 Name: libpeas -Version: 1.34.0 +Version: 1.36.0 Release: 0 Summary: GObject-based Plugin Engine License: LGPL-2.1-or-later Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/Projects/Libpeas -Source0: https://download.gnome.org/sources/libpeas/1.34/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/libpeas/1.36/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gettext BuildRequires: meson >= 0.50.0 BuildRequires: pkgconfig BuildRequires: pkgconfig(gi-docgen) -BuildRequires: pkgconfig(gio-2.0) >= 2.38.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.44.0 BuildRequires: pkgconfig(gladeui-2.0) -BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.44.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 ++++++ libpeas-1.34.0.tar.xz -> libpeas-1.36.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/NEWS new/libpeas-1.36.0/NEWS --- old/libpeas-1.34.0/NEWS 2022-09-17 22:00:41.000000000 +0200 +++ new/libpeas-1.36.0/NEWS 2023-03-17 19:48:39.000000000 +0100 @@ -1,3 +1,16 @@ +Overview of Changes in libpeas 1.36.0 +===================================== + +* PeasExtensionSet now implements GListModel +* libpeas now requires GLib 2.44 or newer for GListModel +* Translation updates: + - Interlingue + - Turkish + +As a note to packagers, we'd like to mention that there is an intention to +release a new libpeas-2 ABI for GNOME 45 to fix a number of longstanding +needs which can only be resolved with an ABI break. + Overview of Changes in libpeas 1.34.0 ===================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/libpeas/peas-extension-set.c new/libpeas-1.36.0/libpeas/peas-extension-set.c --- old/libpeas-1.34.0/libpeas/peas-extension-set.c 2022-09-17 22:00:41.000000000 +0200 +++ new/libpeas-1.36.0/libpeas/peas-extension-set.c 2023-03-17 19:48:39.000000000 +0100 @@ -127,9 +127,11 @@ static guint signals[LAST_SIGNAL]; static GParamSpec *properties[N_PROPERTIES] = { NULL }; -G_DEFINE_TYPE_WITH_PRIVATE (PeasExtensionSet, - peas_extension_set, - G_TYPE_OBJECT) +static void list_model_iface_init (GListModelInterface *iface); + +G_DEFINE_TYPE_WITH_CODE (PeasExtensionSet, peas_extension_set, G_TYPE_OBJECT, + G_ADD_PRIVATE (PeasExtensionSet) + G_IMPLEMENT_INTERFACE (G_TYPE_LIST_MODEL, list_model_iface_init)) #define GET_PRIV(o) \ (peas_extension_set_get_instance_private (o)) @@ -207,6 +209,7 @@ PeasExtensionSetPrivate *priv = GET_PRIV (set); PeasExtension *exten; ExtensionItem *item; + guint position; /* Let's just ignore unloaded plugins... */ if (!peas_plugin_info_is_loaded (info)) @@ -225,7 +228,11 @@ item->info = info; item->exten = exten; + position = priv->extensions.length; + g_queue_push_tail (&priv->extensions, item); + + g_list_model_items_changed (G_LIST_MODEL (set), position, 0, 1); g_signal_emit (set, signals[EXTENSION_ADDED], 0, info, exten); } @@ -246,8 +253,9 @@ { PeasExtensionSetPrivate *priv = GET_PRIV (set); GList *l; + guint position = 0; - for (l = priv->extensions.head; l != NULL; l = l->next) + for (l = priv->extensions.head; l != NULL; l = l->next, position++) { ExtensionItem *item = l->data; @@ -256,6 +264,7 @@ remove_extension_item (set, item); g_queue_delete_link (&priv->extensions, l); + g_list_model_items_changed (G_LIST_MODEL (set), position, 1, 0); return; } } @@ -801,3 +810,40 @@ return set; } + +static guint +peas_extension_set_get_n_items (GListModel *model) +{ + PeasExtensionSet *set = PEAS_EXTENSION_SET (model); + PeasExtensionSetPrivate *priv = GET_PRIV (set); + + return priv->extensions.length; +} + +static gpointer +peas_extension_set_get_item (GListModel *model, + guint position) +{ + PeasExtensionSet *set = PEAS_EXTENSION_SET (model); + PeasExtensionSetPrivate *priv = GET_PRIV (set); + + if (position >= priv->extensions.length) + return NULL; + + return g_object_ref (g_queue_peek_nth (&priv->extensions, position)); +} + +static GType +peas_extension_set_get_item_type (GListModel *model) +{ + return G_TYPE_OBJECT; +} + +static void +list_model_iface_init (GListModelInterface *iface) +{ + iface->get_item_type = peas_extension_set_get_item_type; + iface->get_item = peas_extension_set_get_item; + iface->get_n_items = peas_extension_set_get_n_items; +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/meson.build new/libpeas-1.36.0/meson.build --- old/libpeas-1.34.0/meson.build 2022-09-17 22:00:41.000000000 +0200 +++ new/libpeas-1.36.0/meson.build 2023-03-17 19:48:39.000000000 +0100 @@ -1,6 +1,6 @@ project( 'libpeas', 'c', - version: '1.34.0', + version: '1.36.0', license: 'LGPLv2.1+', meson_version: '>= 0.50.0', default_options: [ @@ -86,7 +86,7 @@ # Dependencies cc = meson.get_compiler('c') -glib_req_version = '2.38.0' +glib_req_version = '2.44.0' glib_req = '>= @0@'.format(glib_req_version) introspection_req = '>= 1.39.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/po/LINGUAS new/libpeas-1.36.0/po/LINGUAS --- old/libpeas-1.34.0/po/LINGUAS 2022-09-17 22:00:41.000000000 +0200 +++ new/libpeas-1.36.0/po/LINGUAS 2023-03-17 19:48:39.000000000 +0100 @@ -30,6 +30,7 @@ hu hi id +ie is it ja diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/po/ie.po new/libpeas-1.36.0/po/ie.po --- old/libpeas-1.34.0/po/ie.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libpeas-1.36.0/po/ie.po 2023-03-17 19:48:39.000000000 +0100 @@ -0,0 +1,152 @@ +# Interlingue translation for libpeas. +# Copyright (C) 2022 libpeas's COPYRIGHT HOLDER +# This file is distributed under the same license as the libpeas package. +# Olga Smirnova <mistresssilv...@hotmail.com>, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: libpeas master\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libpeas/issues\n" +"POT-Creation-Date: 2022-09-18 14:30+0000\n" +"PO-Revision-Date: 2022-12-10 03:52+0700\n" +"Last-Translator: \n" +"Language-Team: Interlingue <i...@li.org>\n" +"Language: ie\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.1.1\n" + +#: libpeas/peas-engine.c:1169 +#, c-format +msgid "Dependency â%sâ was not found" +msgstr "Dependentie «%s» ne esset trovat" + +#: libpeas/peas-engine.c:1179 +#, c-format +msgid "Dependency â%sâ failed to load" +msgstr "Dependentie «%s» ne esset cargat" + +#: libpeas/peas-engine.c:1193 +#, c-format +msgid "Plugin loader â%sâ was not found" +msgstr "Li cargator de plugines «%s» ne esset trovat" + +#: libpeas/peas-engine.c:1205 +#, c-format +msgid "Failed to load" +msgstr "Ne successat cargar" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:95 +msgid "Additional plugins must be disabled" +msgstr "Additional plugines deve esser desactivat" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:102 +#, c-format +msgid "The following plugins depend on â%sâ and will also be disabled:" +msgstr "Li sequent plugines depende de «%s» e va esser anc desactivat:" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:144 +msgid "Plugins" +msgstr "Plugines" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:161 +msgid "An additional plugin must be disabled" +msgstr "Un additional plugin deve esser desactivat" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:168 +#, c-format +msgid "" +"The â%sâ plugin depends on the â%sâ plugin.\n" +"If you disable â%sâ, â%sâ will also be disabled." +msgstr "" +"Li plugines «%s» depende del plugin «%s».\n" +"Si on desactiva «%s», «%s» va anc esser desactivat." + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:182 +msgid "_Cancel" +msgstr "_Annular" + +#: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:184 +msgid "Disable Plugins" +msgstr "Desactivar plugines" + +#: libpeas-gtk/peas-gtk-plugin-manager.c:210 +msgid "There was an error displaying the help." +msgstr "Un error ha evenit durante que monstrar li auxilie." + +#: libpeas-gtk/peas-gtk-plugin-manager.c:256 +msgid "_Close" +msgstr "_Cluder" + +#: libpeas-gtk/peas-gtk-plugin-manager.c:268 +msgid "_Help" +msgstr "Au_xilie" + +#: libpeas-gtk/peas-gtk-plugin-manager.c:326 +msgid "Pr_eferences" +msgstr "Pr_eferenties" + +#: libpeas-gtk/peas-gtk-plugin-manager.c:331 +#: libpeas-gtk/peas-gtk-plugin-manager.c:382 +msgid "_About" +msgstr "_Pri" + +#: libpeas-gtk/peas-gtk-plugin-manager.c:390 +msgid "_Preferences" +msgstr "_Preferenties" + +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:352 +msgid "_Enabled" +msgstr "_Activ" + +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:363 +msgid "E_nable All" +msgstr "A_ctivar omni" + +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:367 +msgid "_Disable All" +msgstr "Desac_tivar omni" + +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:576 +msgid "Enabled" +msgstr "Activ" + +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:597 +msgid "Plugin" +msgstr "Plugin" + +#. Avoid having markup in a translated string +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:684 +#, c-format +msgid "The plugin â%sâ could not be loaded" +msgstr "Ne successat cargar li plugin «%s»" + +#. Keep separate because some translations do special things +#. * for the ':' and might accidentally not keep the space after it +#. +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:690 +#, c-format +msgid "An error occurred: %s" +msgstr "Un errore evenit: %s" + +#. Translators: The directory in which the demo program was compiled at +#: peas-demo/peas-demo.c:43 +msgid "Run from build directory" +msgstr "Lansat ex li fólder de construction" + +#: peas-demo/peas-demo.c:94 +msgid "_Quit" +msgstr "S_urtir" + +#: peas-demo/peas-demo.c:119 +msgid "â libpeas demo application" +msgstr "â un application de demonstration de libpeas" + +#: tests/libpeas-gtk/plugin-manager.c:80 +msgid "About" +msgstr "Pri" + +#: tests/libpeas-gtk/plugin-manager.c:85 +msgid "Preferences" +msgstr "Preferenties" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpeas-1.34.0/po/tr.po new/libpeas-1.36.0/po/tr.po --- old/libpeas-1.34.0/po/tr.po 2022-09-17 22:00:41.000000000 +0200 +++ new/libpeas-1.36.0/po/tr.po 2023-03-17 19:48:39.000000000 +0100 @@ -1,6 +1,6 @@ # Turkish translation for libpeas. # Copyright (C) 2011 the Free Software Foundation, Inc. -# Copyright (C) 2012-2019 libpeas'S COPYRIGHT HOLDER +# Copyright (C) 2012-2022 libpeas'S COPYRIGHT HOLDER # This file is distributed under the same license as the libpeas package. # # Muhammed Eken <gn...@m-eken.com>, 2011. @@ -12,8 +12,8 @@ msgstr "" "Project-Id-Version: libpeas master\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libpeas/issues\n" -"POT-Creation-Date: 2019-08-06 00:27+0000\n" -"PO-Revision-Date: 2019-09-05 20:29+0300\n" +"POT-Creation-Date: 2023-01-25 21:05+0000\n" +"PO-Revision-Date: 2023-02-20 21:57+0300\n" "Last-Translator: Sabri Ãnal <libreaj...@gmail.com>\n" "Language-Team: Turkish <gnome-t...@gnome.org>\n" "Language: tr\n" @@ -21,28 +21,28 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 2.0.6\n" +"X-Generator: Poedit 3.1.1\n" "X-POOTLE-MTIME: 1433229099.000000\n" -#: libpeas/peas-engine.c:1118 +#: libpeas/peas-engine.c:1169 #, c-format msgid "Dependency â%sâ was not found" msgstr "â%sâ baÄımlılıÄı bulunamadı" -#: libpeas/peas-engine.c:1128 +#: libpeas/peas-engine.c:1179 #, c-format msgid "Dependency â%sâ failed to load" msgstr "â%sâ baÄımlılıÄı yüklenemedi" -#: libpeas/peas-engine.c:1142 +#: libpeas/peas-engine.c:1193 #, c-format msgid "Plugin loader â%sâ was not found" msgstr "Eklenti yükleyicisi â%sâ bulunamadı" -#: libpeas/peas-engine.c:1154 +#: libpeas/peas-engine.c:1205 #, c-format msgid "Failed to load" -msgstr "Yükleme baÅarısız" +msgstr "Yüklenemedi" #: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:95 msgid "Additional plugins must be disabled" @@ -68,7 +68,8 @@ "If you disable â%sâ, â%sâ will also be disabled." msgstr "" "â%sâ eklentisi â%sâ eklentisine baÄlı.\n" -"EÄer â%sâ eklentisini devre dıÅı bırakırsanız, â%sâ eklentisi de devre dıÅı kalacak." +"EÄer â%sâ eklentisini devre dıÅı bırakırsanız, â%sâ eklentisi de devre dıÅı " +"kalacak." #: libpeas-gtk/peas-gtk-disable-plugins-dialog.c:182 msgid "_Cancel" @@ -78,53 +79,53 @@ msgid "Disable Plugins" msgstr "Eklentileri Devre DıÅı Bırak" -#: libpeas-gtk/peas-gtk-plugin-manager.c:207 +#: libpeas-gtk/peas-gtk-plugin-manager.c:210 msgid "There was an error displaying the help." msgstr "Yardım görüntülenirken bir hata oluÅtu." -#: libpeas-gtk/peas-gtk-plugin-manager.c:253 +#: libpeas-gtk/peas-gtk-plugin-manager.c:256 msgid "_Close" msgstr "_Kapat" -#: libpeas-gtk/peas-gtk-plugin-manager.c:265 +#: libpeas-gtk/peas-gtk-plugin-manager.c:268 msgid "_Help" msgstr "_Yardım" -#: libpeas-gtk/peas-gtk-plugin-manager.c:323 +#: libpeas-gtk/peas-gtk-plugin-manager.c:326 msgid "Pr_eferences" msgstr "T_ercihler" -#: libpeas-gtk/peas-gtk-plugin-manager.c:328 -#: libpeas-gtk/peas-gtk-plugin-manager.c:379 +#: libpeas-gtk/peas-gtk-plugin-manager.c:331 +#: libpeas-gtk/peas-gtk-plugin-manager.c:382 msgid "_About" msgstr "_Hakkında" -#: libpeas-gtk/peas-gtk-plugin-manager.c:387 +#: libpeas-gtk/peas-gtk-plugin-manager.c:390 msgid "_Preferences" msgstr "_Tercihler" -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:351 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:352 msgid "_Enabled" msgstr "_EtkinleÅtirildi" -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:362 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:363 msgid "E_nable All" msgstr "_Tümünü EtkinleÅtir" -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:366 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:367 msgid "_Disable All" msgstr "Tü_münü Devre DıÅı Bırak" -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:526 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:576 msgid "Enabled" msgstr "EtkinleÅtirildi" -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:547 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:597 msgid "Plugin" msgstr "Eklenti" #. Avoid having markup in a translated string -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:634 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:684 #, c-format msgid "The plugin â%sâ could not be loaded" msgstr "â%sâ eklentisi yüklenemedi" @@ -132,49 +133,28 @@ #. Keep separate because some translations do special things #. * for the ':' and might accidentally not keep the space after it #. -#: libpeas-gtk/peas-gtk-plugin-manager-view.c:640 +#: libpeas-gtk/peas-gtk-plugin-manager-view.c:690 #, c-format msgid "An error occurred: %s" msgstr "Bir hata oluÅtu: %s" #. Translators: The directory in which the demo program was compiled at -#: peas-demo/peas-demo.c:41 +#: peas-demo/peas-demo.c:43 msgid "Run from build directory" msgstr "Ä°nÅa dizininden çalıÅtır" -#: peas-demo/peas-demo.c:92 +#: peas-demo/peas-demo.c:94 msgid "_Quit" msgstr "_Ãık" -#: peas-demo/peas-demo.c:108 +#: peas-demo/peas-demo.c:119 msgid "â libpeas demo application" msgstr "â libpeas deneme uygulaması" -#: tests/libpeas-gtk/plugin-manager.c:77 +#: tests/libpeas-gtk/plugin-manager.c:80 msgid "About" msgstr "Hakkında" -#: tests/libpeas-gtk/plugin-manager.c:82 +#: tests/libpeas-gtk/plugin-manager.c:85 msgid "Preferences" msgstr "Tercihler" - -#~ msgid "Plugin Manager" -#~ msgstr "Eklenti Yöneticisi" - -#~ msgid "View" -#~ msgstr "Görünüm" - -#~ msgid "Plugin Manager View" -#~ msgstr "Eklenti Yöneticisi Görünümü" - -#~ msgid "Show Builtin" -#~ msgstr "YerleÅik Eklentileri Göster" - -#~ msgid "Peas Gtk" -#~ msgstr "Peas Gtk" - -#~ msgid "C_onfigure" -#~ msgstr "_Yapılandır" - -#~ msgid "_Plugins:" -#~ msgstr "_Eklentiler:"