Hello community, here is the log from the commit of package parlatype for openSUSE:Factory checked in at 2020-03-20 23:59:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parlatype (Old) and /work/SRC/openSUSE:Factory/.parlatype.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parlatype" Fri Mar 20 23:59:11 2020 rev:3 rq:786824 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/parlatype/parlatype.changes 2019-09-04 09:16:16.534930362 +0200 +++ /work/SRC/openSUSE:Factory/.parlatype.new.3160/parlatype.changes 2020-03-21 00:02:46.109144307 +0100 @@ -1,0 +2,19 @@ +Fri Mar 20 09:22:55 UTC 2020 - Michael Vetter <[email protected]> + +- Update to 2.0: + * New: Waveform is loaded on-the-fly, there is no blocking progress + dialog. This brings an API bump in libparlatype. + * New: Waveform can be changed continuously instead of in bumps. + * New: Application ID has been changed to org.parlatype.Parlatype and the + homepage moved to https://www.parlatype.org. + * New: LibreOffice helpers (macros) have been split from the main + repository and turned into a LibreOffice extension. + The extension is released at + https://github.com/gkarsay/parlatype-libreoffice-extension/releases/tag/v2.0 + * New: New D-Bus method GetURI to get currently playing file's URI. + * New: Internal modularization (PtController objects control Parlatype). + * New: Event handling is more compatible with GTK 4. + * New: Parlatype builds on Windows, there is no feature parity though. +- Add parlatype-2.0-asr.patch: Fix regression in the ASR assistant dialog. + +------------------------------------------------------------------- Old: ---- parlatype-1.6.2.tar.gz New: ---- parlatype-2.0-asr.patch parlatype-2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parlatype.spec ++++++ --- /var/tmp/diff_new_pack.wCJZWv/_old 2020-03-21 00:02:48.273145494 +0100 +++ /var/tmp/diff_new_pack.wCJZWv/_new 2020-03-21 00:02:48.289145502 +0100 @@ -1,7 +1,7 @@ # # spec file for package parlatype # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define c_lib libparlatype2 +%define c_lib libparlatype3 Name: parlatype -Version: 1.6.2 +Version: 2.0 Release: 0 Summary: GNOME audio player for transcriptions License: GPL-3.0-or-later Group: Productivity/Multimedia/Sound/Utilities URL: https://gkarsay.github.io/parlatype/ Source: https://github.com/gkarsay/parlatype/releases/download/v%{version}/parlatype-%{version}.tar.gz +# https://github.com/gkarsay/parlatype/commit/7d22ead13ef7578f99d24146663cc1bdb7d8c2a9 +Patch0: parlatype-2.0-asr.patch BuildRequires: AppStream-devel BuildRequires: automake BuildRequires: gobject-introspection-devel @@ -64,6 +66,7 @@ %prep %setup -q +%patch0 -p1 %build %meson -Dasr=false @@ -83,17 +86,12 @@ %doc NEWS README.md %{_bindir}/parlatype %{_mandir}/man1/parlatype.1%{?ext_man} -%{_datadir}/applications/com.github.gkarsay.parlatype.desktop -%{_datadir}/metainfo/com.github.gkarsay.parlatype.appdata.xml -%{_datadir}/metainfo/com.github.gkarsay.parlatype.libreoffice_helpers.metainfo.xml %{_datadir}/help/ %{_datadir}/icons/hicolor/ -%{_datadir}/dbus-1/services/com.github.gkarsay.parlatype.service -%{_datadir}/glib-2.0/schemas/com.github.gkarsay.parlatype.gschema.xml -%dir %{_prefix}/lib/libreoffice/ -%dir %{_prefix}/lib/libreoffice/share -%dir %{_prefix}/lib/libreoffice/share/Scripts -%{_prefix}/lib/libreoffice/share/Scripts/python/ +%{_datadir}/applications/org.parlatype.Parlatype.desktop +%{_datadir}/dbus-1/services/org.parlatype.Parlatype.service +%{_datadir}/glib-2.0/schemas/org.parlatype.Parlatype.gschema.xml +%{_datadir}/metainfo/org.parlatype.Parlatype.appdata.xml %files -n libparlatype-devel %{_libdir}/libparlatype.so ++++++ parlatype-2.0-asr.patch ++++++ >From 7d22ead13ef7578f99d24146663cc1bdb7d8c2a9 Mon Sep 17 00:00:00 2001 From: Gabor Karsay <[email protected]> Date: Fri, 20 Mar 2020 09:14:16 +0100 Subject: [PATCH] [window] fix regression in ASR assistant dialog Since commit d2c42df7afcce781db6c21efa9efda726edaca2b parlatype is built without gmodule and callbacks have to be declared. --- src/pt-asr-assistant.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/src/pt-asr-assistant.c b/src/pt-asr-assistant.c index 53c5687..b3271fe 100644 --- a/src/pt-asr-assistant.c +++ b/src/pt-asr-assistant.c @@ -58,6 +58,8 @@ struct _PtAsrAssistantPrivate G_DEFINE_TYPE_WITH_PRIVATE (PtAsrAssistant, pt_asr_assistant, GTK_TYPE_ASSISTANT) +static void folder_chooser_file_set_cb (GtkFileChooserButton *button, PtAsrAssistant *self); + static gchar* get_path_for_uri (gchar *uri) @@ -72,7 +74,7 @@ get_path_for_uri (gchar *uri) return path; } -void +static void name_entry_changed_cb (GtkEntry *entry, PtAsrAssistant *self) { @@ -91,7 +93,7 @@ check_models_complete (PtAsrAssistant *self) self->priv->lm_path && self->priv->dict_path && self->priv->hmm_path); } -void +static void lm_chooser_file_set_cb (GtkFileChooserButton *button, PtAsrAssistant *self) { @@ -109,7 +111,7 @@ lm_chooser_file_set_cb (GtkFileChooserButton *button, check_models_complete (self); } -void +static void dict_chooser_file_set_cb (GtkFileChooserButton *button, PtAsrAssistant *self) { @@ -172,7 +174,7 @@ check_hmm_folder (gchar *folder_uri) return (hits > 4); } -void +static void hmm_chooser_file_set_cb (GtkFileChooserButton *button, PtAsrAssistant *self) { @@ -199,7 +201,7 @@ hmm_chooser_file_set_cb (GtkFileChooserButton *button, check_models_complete (self); } -void +static void lm_combo_changed_cb (GtkComboBox *combo, PtAsrAssistant *self) { @@ -220,7 +222,7 @@ lm_combo_changed_cb (GtkComboBox *combo, check_models_complete (self); } -void +static void dict_combo_changed_cb (GtkComboBox *combo, PtAsrAssistant *self) { @@ -240,7 +242,7 @@ dict_combo_changed_cb (GtkComboBox *combo, check_models_complete (self); } -void +static void hmm_combo_changed_cb (GtkComboBox *combo, PtAsrAssistant *self) { @@ -346,6 +348,16 @@ add_model_page (PtAsrAssistant *self) gtk_combo_box_set_model (GTK_COMBO_BOX (self->priv->dict_combo), GTK_TREE_MODEL (self->priv->dict_list)); gtk_combo_box_set_model (GTK_COMBO_BOX (self->priv->hmm_combo), GTK_TREE_MODEL (self->priv->hmm_list)); + gtk_builder_add_callback_symbols (builder, + "folder_chooser_file_set_cb", G_CALLBACK (folder_chooser_file_set_cb), + "hmm_combo_changed_cb", G_CALLBACK (hmm_combo_changed_cb), + "dict_combo_changed_cb", G_CALLBACK (dict_combo_changed_cb), + "lm_combo_changed_cb", G_CALLBACK (lm_combo_changed_cb), + "hmm_chooser_file_set_cb", G_CALLBACK (hmm_chooser_file_set_cb), + "dict_chooser_file_set_cb", G_CALLBACK (dict_chooser_file_set_cb), + "lm_chooser_file_set_cb", G_CALLBACK (lm_chooser_file_set_cb), + "name_entry_changed_cb", G_CALLBACK (name_entry_changed_cb), + NULL); gtk_builder_connect_signals (builder, self); g_object_unref (builder); } @@ -523,7 +535,7 @@ recursive_search_finished (PtAsrAssistant *self, search_result_free (r); } -void +static void folder_chooser_file_set_cb (GtkFileChooserButton *button, PtAsrAssistant *self) { @@ -637,6 +649,16 @@ pt_asr_assistant_init (PtAsrAssistant *self) gtk_widget_show_all (self->priv->summary); gtk_window_set_default_size (GTK_WINDOW (self), 500, -1); + gtk_builder_add_callback_symbols (builder, + "folder_chooser_file_set_cb", G_CALLBACK (folder_chooser_file_set_cb), + "hmm_combo_changed_cb", G_CALLBACK (hmm_combo_changed_cb), + "dict_combo_changed_cb", G_CALLBACK (dict_combo_changed_cb), + "lm_combo_changed_cb", G_CALLBACK (lm_combo_changed_cb), + "hmm_chooser_file_set_cb", G_CALLBACK (hmm_chooser_file_set_cb), + "dict_chooser_file_set_cb", G_CALLBACK (dict_chooser_file_set_cb), + "lm_chooser_file_set_cb", G_CALLBACK (lm_chooser_file_set_cb), + "name_entry_changed_cb", G_CALLBACK (name_entry_changed_cb), + NULL); gtk_builder_connect_signals (builder, self); g_object_unref (builder); ++++++ parlatype-1.6.2.tar.gz -> parlatype-2.0.tar.gz ++++++ ++++ 36068 lines of diff (skipped)
