Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Komikku for openSUSE:Factory checked in at 2024-02-20 21:14:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Komikku (Old) and /work/SRC/openSUSE:Factory/.Komikku.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Komikku" Tue Feb 20 21:14:20 2024 rev:5 rq:1147642 version:1.38.1 Changes: -------- --- /work/SRC/openSUSE:Factory/Komikku/Komikku.changes 2024-02-18 20:23:29.758717453 +0100 +++ /work/SRC/openSUSE:Factory/.Komikku.new.1706/Komikku.changes 2024-02-20 21:14:21.937874380 +0100 @@ -1,0 +2,7 @@ +Mon Feb 19 13:24:23 UTC 2024 - Richard Rahl <[email protected]> + +- update to 1.38.1: + * fixes a regression in Updater, where a "no new chapter" for notification + was sent for every manga which didn't have updates + +------------------------------------------------------------------- Old: ---- Komikku-1.38.0.tar.gz New: ---- Komikku-1.38.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Komikku.spec ++++++ --- /var/tmp/diff_new_pack.ME42h3/_old 2024-02-20 21:14:23.577933894 +0100 +++ /var/tmp/diff_new_pack.ME42h3/_new 2024-02-20 21:14:23.601934765 +0100 @@ -17,7 +17,7 @@ Name: Komikku -Version: 1.38.0 +Version: 1.38.1 Release: 0 Summary: A manga reader for GNOME License: GPL-3.0-or-later ++++++ Komikku-1.38.0.tar.gz -> Komikku-1.38.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/data/info.febvre.Komikku.appdata.xml.in.in new/komikku/data/info.febvre.Komikku.appdata.xml.in.in --- old/komikku/data/info.febvre.Komikku.appdata.xml.in.in 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/data/info.febvre.Komikku.appdata.xml.in.in 2024-02-17 01:30:11.000000000 +0100 @@ -100,8 +100,11 @@ <url type="donation">https://valos.gitlab.io/Komikku/#sponsor</url> <releases> - <release version="1.38.0" date="2024-02-16"> + <release version="1.38.1" date="2024-02-17"> <description> + <p>This version fixes a regression in Updater. During batch updates, an unwanted "No new chapters" notification was sent for every manga without changes.</p> + + <p>Changes in version 1.38.0</p> <ul> <li>[Downloader] Improved error notification</li> <li>[Updater] Improved notifications</li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/data/info.febvre.Komikku.desktop.in new/komikku/data/info.febvre.Komikku.desktop.in --- old/komikku/data/info.febvre.Komikku.desktop.in 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/data/info.febvre.Komikku.desktop.in 2024-02-17 01:30:11.000000000 +0100 @@ -7,7 +7,7 @@ Terminal=false Type=Application StartupNotify=true -Categories=Graphics;Viewer;GTK;GNOME; +Categories=Graphics;Network;Viewer;GTK;GNOME; # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=manga;reader;viewer;comic;manhwa;manhua;bd;webtoon;webcomic;scan;offline;gnome; X-GNOME-UsesNotifications=true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/komikku/application.py new/komikku/komikku/application.py --- old/komikku/komikku/application.py 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/komikku/application.py 2024-02-17 01:30:11.000000000 +0100 @@ -418,6 +418,9 @@ window.set_debug_info(debug_info.generate()) window.set_release_notes(""" + <p>This version fixes a regression in Updater. During batch updates, an unwanted "No new chapters" notification was sent for every manga without changes.</p> + + <p>Changes in version 1.38.0</p> <ul> <li>[Downloader] Improved error notification</li> <li>[Updater] Improved notifications</li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/komikku/card/__init__.py new/komikku/komikku/card/__init__.py --- old/komikku/komikku/card/__init__.py 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/komikku/card/__init__.py 2024-02-17 01:30:11.000000000 +0100 @@ -87,10 +87,11 @@ self.pool_to_update_revealer.bind_property('child-revealed', self.pool_to_update_spinner, 'spinning', 0) # Drag gesture self.gesture_drag = Gtk.GestureDrag.new() + self.gesture_drag.set_touch_only(True) self.gesture_drag.set_propagation_phase(Gtk.PropagationPhase.CAPTURE) self.gesture_drag.connect('drag-end', self.on_gesture_drag_end) self.gesture_drag.connect('drag-update', self.on_gesture_drag_update) - self.add_controller(self.gesture_drag) + self.stack.add_controller(self.gesture_drag) self.info_box = InfoBox(self) self.categories_list = CategoriesList(self) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/komikku/card/chapters_list.py new/komikku/komikku/card/chapters_list.py --- old/komikku/komikku/card/chapters_list.py 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/komikku/card/chapters_list.py 2024-02-17 01:30:11.000000000 +0100 @@ -91,8 +91,8 @@ self.gesture_long_press = Gtk.GestureLongPress.new() self.gesture_long_press.set_propagation_phase(Gtk.PropagationPhase.CAPTURE) self.gesture_long_press.set_touch_only(False) - self.listview.add_controller(self.gesture_long_press) self.gesture_long_press.connect('pressed', self.on_long_press) + self.listview.add_controller(self.gesture_long_press) self.card.window.downloader.connect('download-changed', self.update_chapter_item) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/komikku/updater.py new/komikku/komikku/updater.py --- old/komikku/komikku/updater.py 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/komikku/updater.py 2024-02-17 01:30:11.000000000 +0100 @@ -40,11 +40,12 @@ def add(self, mangas): if not isinstance(mangas, list): mangas = [mangas, ] - mangas.reverse() + + batch = len(mangas) > 1 # is it a batch or a single update? for manga in mangas: if manga.id not in self.queue and manga.id != self.current_id and manga.server.status == 'enabled': - self.queue.append(manga.id) + self.queue.append((manga.id, batch)) @if_network_available def start(self): @@ -68,7 +69,7 @@ if self.stop_flag is True: break - manga_id = self.queue.pop(0) + manga_id, in_batch = self.queue.pop(0) manga = Manga.get(manga_id) if manga is None: continue @@ -81,7 +82,7 @@ nb_chapters = len(recent_chapters_ids) if nb_chapters > 0: total_chapters += nb_chapters - GLib.idle_add(complete, manga, recent_chapters_ids, nb_deleted_chapters, synced) + GLib.idle_add(complete, manga, in_batch, recent_chapters_ids, nb_deleted_chapters, synced) else: total_errors += 1 GLib.idle_add(error, manga) @@ -122,7 +123,7 @@ GLib.timeout_add(2000, show_notification, 'updater.0', title, '\n'.join(messages)) - def complete(manga, recent_chapters_ids, nb_deleted_chapters, synced): + def complete(manga, in_batch, recent_chapters_ids, nb_deleted_chapters, synced): nb_recent_chapters = len(recent_chapters_ids) if nb_recent_chapters > 0: @@ -136,7 +137,7 @@ if Settings.get_default().new_chapters_auto_download: self.window.downloader.add(recent_chapters_ids, emit_signal=True) self.window.downloader.start() - else: + elif not in_batch: show_notification(f'updater.{manga.id}', manga.name, _('No new chapters')) self.emit( @@ -192,7 +193,6 @@ rows = db_conn.execute('SELECT * FROM mangas WHERE in_library = 1 ORDER BY last_read DESC').fetchall() db_conn.close() - for row in rows: - self.add(Manga.get(row['id'])) + self.add([Manga.get(row['id']) for row in rows]) self.start() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/meson.build new/komikku/meson.build --- old/komikku/meson.build 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/meson.build 2024-02-17 01:30:11.000000000 +0100 @@ -1,5 +1,5 @@ project('komikku', - version: '1.38.0', + version: '1.38.1', meson_version: '>= 0.59.0', license: 'GPL-3.0-or-later' ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/komikku/po/ru.po new/komikku/po/ru.po --- old/komikku/po/ru.po 2024-02-15 23:17:39.000000000 +0100 +++ new/komikku/po/ru.po 2024-02-17 01:30:11.000000000 +0100 @@ -8,17 +8,17 @@ "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-02-15 22:58+0100\n" -"PO-Revision-Date: 2024-02-03 02:01+0000\n" +"PO-Revision-Date: 2024-02-16 23:40+0000\n" "Last-Translator: СеÑгей <[email protected]>\n" -"Language-Team: Russian <https://hosted.weblate.org/projects/komikku/main/ru/" -">\n" +"Language-Team: Russian <https://hosted.weblate.org/projects/komikku/main/ru/>" +"\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Weblate 5.4-dev\n" +"X-Generator: Weblate 5.4\n" #: ../data/info.febvre.Komikku.appdata.xml.in.in:11 msgid "Read your favorite manga" @@ -126,24 +126,25 @@ #: ../data/info.febvre.Komikku.appdata.xml.in.in:106 msgid "[Downloader] Improve error notification" -msgstr "" +msgstr "[ÐагÑÑзÑик] УлÑÑÑение Ñведомлений об оÑÐ¸Ð±ÐºÐ°Ñ " #: ../data/info.febvre.Komikku.appdata.xml.in.in:107 msgid "[Updater] Improve notifications" -msgstr "" +msgstr "[Updater] УлÑÑÑение Ñведомлений" #: ../data/info.febvre.Komikku.appdata.xml.in.in:108 msgid "" "[Updater] Prevent manga update from being scheduled while it's being updated" msgstr "" +"[Updater] ÐапÑеÑено планиÑование Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð¼Ð°Ð½Ð³Ð¸ во вÑÐµÐ¼Ñ ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ" #: ../data/info.febvre.Komikku.appdata.xml.in.in:109 msgid "[Servers] Armoni Scans (TR): Disable" -msgstr "" +msgstr "[СеÑвеÑÑ] Armoni Scans (TR): ÐÑклÑÑÑн" #: ../data/info.febvre.Komikku.appdata.xml.in.in:110 msgid "[Servers] Komga: Fixed missing covers in search" -msgstr "" +msgstr "[СеÑвеÑÑ] Komga: ÐÑпÑÐ°Ð²Ð»ÐµÐ½Ñ Ð¾ÑÑÑÑÑÑвÑÑÑие обложки в ÑезÑлÑÑаÑÐ°Ñ Ð¿Ð¾Ð¸Ñка" #: ../data/info.febvre.Komikku.appdata.xml.in.in:111 msgid "[Servers] MangaHub (EN): Update" @@ -151,7 +152,7 @@ #: ../data/info.febvre.Komikku.appdata.xml.in.in:112 msgid "[Servers] Manhuaus (EN): Update" -msgstr "" +msgstr "[СеÑвеÑÑ] Manhuaus (EN): ÐбновлÑн" #: ../data/info.febvre.Komikku.appdata.xml.in.in:113 msgid "[Servers] Manhwa Hentai (EN): Update" @@ -159,13 +160,15 @@ #: ../data/info.febvre.Komikku.appdata.xml.in.in:114 msgid "[Servers] Tapas (EN): Update" -msgstr "" +msgstr "[СеÑвеÑÑ] Tapas (EN): ÐбновлÑн" #: ../data/info.febvre.Komikku.appdata.xml.in.in:115 msgid "" "[L10n] Updated Chinese (Traditional), French, Russian, Spanish, Turkish " "translations" msgstr "" +"[L10n] ÐÐ±Ð½Ð¾Ð²Ð»ÐµÐ½Ñ ÐºÐ¸ÑайÑкий (ÑÑадиÑионнÑй), ÑÑанÑÑзÑкий, ÑÑÑÑкий, полÑÑкий, " +"ÑÑÑеÑкий пеÑеводÑ" #: ../data/info.febvre.Komikku.appdata.xml.in.in:117 #: ../data/info.febvre.Komikku.appdata.xml.in.in:132 @@ -1007,6 +1010,9 @@ "{0} is no longer supported.\n" "Please switch to another server." msgstr "" +"УÐÐÐÐÐÐÐÐÐÐ\n" +"{0} болÑÑе не поддеÑживаеÑÑÑ.\n" +"ÐожалÑйÑÑа, пеÑеклÑÑиÑеÑÑ Ð½Ð° дÑÑгой ÑеÑвеÑ." #: ../komikku/card/__init__.py:435 msgid "Unknown author" @@ -1094,7 +1100,7 @@ #: ../komikku/downloader.py:235 #, python-brace-format msgid "Download failure: {0}" -msgstr "" +msgstr "ÐÑибка загÑÑзки: {0}" #: ../komikku/downloader.py:246 #, python-brace-format
