Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iotas for openSUSE:Factory checked in at 2025-06-10 09:05:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iotas (Old) and /work/SRC/openSUSE:Factory/.iotas.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iotas" Tue Jun 10 09:05:17 2025 rev:3 rq:1283935 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/iotas/iotas.changes 2025-06-05 20:37:44.797794102 +0200 +++ /work/SRC/openSUSE:Factory/.iotas.new.19631/iotas.changes 2025-06-10 09:08:47.496131437 +0200 @@ -1,0 +2,58 @@ +Sat Jun 7 18:40:25 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 0.11.1: + * New features: + - Desktop action for "New Note". + - D-Bus activatability. + - Initial unit tests. + * Changes: + - Improved error handling in shell search. + - Simplified action handling. + - CSS deprecations for libadwaita v1.7. + * Fixes: + - Wrong note could be used when jumping to previous note with + Ctrl + L. + - Short lived contextual header bars (eg. rename, search, etc) + have their right side title buttons hidden but not their + left. + - Link at the start of the first line in a note not being + correctly identified for the formatting toolbar/shortcut and + ctrl-click to open link in the editor. + - Race condition failure when starting search from CLI for the + shell provider. + - Preceding markup underscores not being stripped from + excerpt. + * Updated translations. +- Changes from version 0.11.0: + * New features: + - Ability to jump to other sections of the note being edited + via an outline (glgo#World/iotas#188). + - Shortcut help to open previous note. + * Changes: + - Clearer wording for onboarding help (glgo#World/iotas#189). + - Consistency / HIG tweak to menu strings. + - Use provided timestamp when launching from shell search + results. + - The editor closes if the note is remotely deleted. + * Fix: Can't overwrite previous HTML exports. + * Updated translations. +- Add iotas-optional-pypandoc.patch: Make pypandoc optional so + that app does not crash when it is unavailable on system + (glgo#World/iotas#291); upstream merge request. +- Drop tests and %check section: now requires pandoc. +- Promote python3-linkify-it-py to Requires; now necessary for + markdown preview. + +------------------------------------------------------------------- +Thu Jun 5 14:39:38 UTC 2025 - Elisei Roca <er...@suse.com> + +- Add recommends for built-in features + * sync with Nextcloud Notes + Recommends: python3-requests + * export notes to various formats + Suggests: python3-linkify-it-py + Suggests: python3-markdown-it-py + Suggests: python3-mdit-py-plugins + Suggests: python3-pypandoc + +------------------------------------------------------------------- Old: ---- iotas-0.10.3.tar.bz2 New: ---- iotas-0.11.1.tar.bz2 iotas-optional-pypandoc.patch BETA DEBUG BEGIN: New: * Updated translations. - Add iotas-optional-pypandoc.patch: Make pypandoc optional so that app does not crash when it is unavailable on system BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iotas.spec ++++++ --- /var/tmp/diff_new_pack.7LYMvz/_old 2025-06-10 09:08:48.116157067 +0200 +++ /var/tmp/diff_new_pack.7LYMvz/_new 2025-06-10 09:08:48.120157233 +0200 @@ -17,12 +17,14 @@ Name: iotas -Version: 0.10.3 +Version: 0.11.1 Release: 0 Summary: Distraction-free note taking app with optional cloud sync License: GPL-3.0-or-later URL: https://apps.gnome.org/Iotas/ Source: https://gitlab.gnome.org/World/iotas/-/archive/%{version}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM iotas-optional-pypandoc.patch glgo#World/iotas#291 badshah...@gmail.com -- Make pypandoc optional so that app does not crash when it is unavailable on system +Patch0: iotas-optional-pypandoc.patch BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: meson @@ -34,8 +36,14 @@ BuildRequires: pkgconfig(gtksourceview-5) BuildRequires: pkgconfig(libadwaita-1) Requires: python3-gobject-Gdk +Requires: python3-linkify-it-py Requires: python3-packaging Requires: python3-pygtkspellcheck +Requires: python3-urllib3 +Recommends: python3-requests +Suggests: python3-markdown-it-py +Suggests: python3-mdit-py-plugins +Suggests: python3-pypandoc BuildArch: noarch %description @@ -75,14 +83,12 @@ # Remove build files from installed dirs rm %{buildroot}%{python3_sitelib}/markdown_it_*/meson.* -%check -%meson_test - %files %license LICENSE %doc README.md %{_bindir}/iotas %{_datadir}/applications/org.gnome.World.Iotas.desktop +%{_datadir}/dbus-1/services/org.gnome.World.Iotas.service %{_datadir}/glib-2.0/schemas/org.gnome.World.Iotas.gschema.xml %{_datadir}/gtksourceview-5/language-specs/iotas-markdown.lang %{_datadir}/gtksourceview-5/styles/iotas-*.xml ++++++ iotas-0.10.3.tar.bz2 -> iotas-0.11.1.tar.bz2 ++++++ ++++ 29518 lines of diff (skipped) ++++++ iotas-optional-pypandoc.patch ++++++ >From 2dccbf2b1b10b7dea0f2c2dbe12ece4abd7daa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballog...@gmail.com> Date: Mon, 14 Apr 2025 18:44:54 +0200 Subject: [PATCH] feat: Make pypandoc optional Pypandoc is a huge dependency and it's needed only for ODT and custom defined export formats, while exporting to HTML and PDF still works without it. --- iotas/exporter.py | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/iotas/exporter.py b/iotas/exporter.py index 313d877..64e3a83 100644 --- a/iotas/exporter.py +++ b/iotas/exporter.py @@ -8,7 +8,10 @@ import shutil from typing import Optional import unicodedata -import pypandoc +try: + import pypandoc +except ModuleNotFoundError: + pypandoc = None from iotas.html_generator import HtmlGenerator from iotas.note import Note @@ -122,16 +125,23 @@ class Exporter(GObject.Object): def __export_pandoc(self, out_format: str) -> None: self.__active = True - try: - pypandoc.convert_text( - self.__note.content, out_format, format="gfm", outputfile=self.__location - ) - except (RuntimeError, OSError) as e: - logging.warning(f"Failed to export {out_format} to {self.__location}: %s", e) - self.emit("failed", self.__out_format, str(e)) + if pypandoc: + try: + pypandoc.convert_text( + self.__note.content, out_format, format="gfm", outputfile=self.__location + ) + except (RuntimeError, OSError) as e: + logging.warning(f"Failed to export {out_format} to {self.__location}: %s", e) + self.emit("failed", self.__out_format, str(e)) + else: + logging.info(f"Exported {self.__out_format} to {self.__location}") + self.emit("finished", self.__out_format, self.__location) else: - logging.info(f"Exported {self.__out_format} to {self.__location}") - self.emit("finished", self.__out_format, self.__location) + logging.warning( + f"Failed to export {out_format} to {self.__location}: " + "Pypandoc is not installed on your system." + ) + self.emit("failed", self.__out_format, "Pypandoc is not installed on your system.") self.__active = False def __export_pdf(self) -> None: -- GitLab