Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package subtitleeditor for openSUSE:Factory checked in at 2026-02-20 17:41:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/subtitleeditor (Old) and /work/SRC/openSUSE:Factory/.subtitleeditor.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subtitleeditor" Fri Feb 20 17:41:23 2026 rev:7 rq:1333953 version:0.56.2 Changes: -------- --- /work/SRC/openSUSE:Factory/subtitleeditor/subtitleeditor.changes 2026-01-30 18:22:29.082027454 +0100 +++ /work/SRC/openSUSE:Factory/.subtitleeditor.new.1977/subtitleeditor.changes 2026-02-20 17:43:25.305388010 +0100 @@ -1,0 +2,7 @@ +Thu Feb 19 12:57:49 UTC 2026 - Luigi Baldoni <[email protected]> + +- Update to version 0.56.2 + * Make compilation work with newer (actually all) libxml++ and + bump C++ mininimum version to 17. + +------------------------------------------------------------------- Old: ---- subtitleeditor-0.56.1.tar.gz New: ---- subtitleeditor-0.56.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ subtitleeditor.spec ++++++ --- /var/tmp/diff_new_pack.fhhJSO/_old 2026-02-20 17:43:26.517438953 +0100 +++ /var/tmp/diff_new_pack.fhhJSO/_new 2026-02-20 17:43:26.521439121 +0100 @@ -19,7 +19,7 @@ %define _sover 0 %define _fname org.kitone.subtitleeditor Name: subtitleeditor -Version: 0.56.1 +Version: 0.56.2 Release: 0 Summary: A GTK+3 tool to edit subtitles License: GPL-3.0-or-later ++++++ subtitleeditor-0.56.1.tar.gz -> subtitleeditor-0.56.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subtitleeditor-0.56.1/configure.ac new/subtitleeditor-0.56.2/configure.ac --- old/subtitleeditor-0.56.1/configure.ac 2026-01-29 12:04:21.000000000 +0100 +++ new/subtitleeditor-0.56.2/configure.ac 2026-02-18 16:42:23.000000000 +0100 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # AC_PREREQ(2.59) -AC_INIT(subtitleeditor, 0.56.1) +AC_INIT(subtitleeditor, 0.56.2) AM_INIT_AUTOMAKE([tar-ustar]) AC_CONFIG_SRCDIR([Makefile.am]) @@ -20,7 +20,7 @@ # Checks for programs. AC_LANG([C++]) AC_PROG_CXX -AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory]) +AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory]) # Checks for library functions. AC_FUNC_SELECT_ARGTYPES @@ -87,14 +87,29 @@ fi # ========================================================================= -# check libxml++ +# check libxml++, prefer 4, but then fall back to 3, 2.6 or 5: 5 has the worst unicode support, apparently, so it is at the end, though in practice it should not matter -# PKG_CHECK_MODULES(LIBXML, libxml++-2.6 >= 2.20) -PKG_CHECK_MODULES(LIBXML, [libxml++-3.0 >= 3.0.0], [ - AC_DEFINE([HAVE_LIBXMLXX_3], [1], [Define if libxml++-3.0 is available]) -], [ - PKG_CHECK_MODULES(LIBXML, [libxml++-2.6 >= 2.20]) -]) +PKG_CHECK_MODULES(LIBXML, + [libxml++-4.0 >= 4.0.0], + [AC_DEFINE([HAVE_LIBXMLXX_NEW], + [1], + [Define if libxml++-4.0 is available])], + [PKG_CHECK_MODULES(LIBXML, + [libxml++-3.0 >= 3.0.0], + [AC_DEFINE([HAVE_LIBXMLXX_NEW], + [1], + [Define if libxml++-3.0 is available])], + [PKG_CHECK_MODULES(LIBXML, + [libxml++-2.6 >= 2.20], + [], + [PKG_CHECK_MODULES(LIBXML, + [libxml++-5.0 >= 5.0.0], + [AC_DEFINE([HAVE_LIBXMLXX_NEW], + [1], + [Define if libxml++-5.0 is available])]) + ]) + ]) + ]) # ========================================================================= # check gstreamer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subtitleeditor-0.56.1/plugins/subtitleformats/dcsubtitle/dcsubtitle.cc new/subtitleeditor-0.56.2/plugins/subtitleformats/dcsubtitle/dcsubtitle.cc --- old/subtitleeditor-0.56.1/plugins/subtitleformats/dcsubtitle/dcsubtitle.cc 2026-01-29 12:04:21.000000000 +0100 +++ new/subtitleeditor-0.56.2/plugins/subtitleformats/dcsubtitle/dcsubtitle.cc 2026-02-18 16:42:23.000000000 +0100 @@ -67,7 +67,7 @@ // element MovieTitle // xmlpp::Element* xml_movietitle = -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xml_dcsubtitle->add_child_element("MovieTitle"); // element ReelNumber xmlpp::Element* xml_reelnumber = xml_dcsubtitle->add_child_element("ReelNumber"); @@ -83,7 +83,7 @@ // xmlpp::Element* xml_loadfont = xml_dcsubtitle->add_child("LoadFont"); // Font -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xml_font = xml_dcsubtitle->add_child_element("Font"); #else xmlpp::Element* xml_font = xml_dcsubtitle->add_child("Font"); @@ -164,7 +164,7 @@ // attribute VPosition // text (child) -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW Glib::ustring text = xml_text->get_first_child_text()->get_content(); #else Glib::ustring text = xml_text->get_child_text()->get_content(); @@ -184,7 +184,7 @@ Glib::ustring FadeUpTime = "0"; Glib::ustring FadeDownTime = "0"; -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xml_subtitle = xml_root->add_child_element("Subtitle"); #else xmlpp::Element* xml_subtitle = xml_root->add_child("Subtitle"); @@ -206,7 +206,7 @@ Glib::ustring VAlign = "bottom"; Glib::ustring VPosition = "0.0"; // FIXME ? -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xml_text = xml_subtitle->add_child_element("Text"); #else xmlpp::Element* xml_text = xml_subtitle->add_child("Text"); @@ -217,7 +217,7 @@ xml_text->set_attribute("HPosition", HPosition); xml_text->set_attribute("VAlign", VAlign); xml_text->set_attribute("VPosition", VPosition); -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xml_text->set_first_child_text(line); #else xml_text->set_child_text(line); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subtitleeditor-0.56.1/plugins/subtitleformats/subtitleeditorproject/subtitleeditorproject.cc new/subtitleeditor-0.56.2/plugins/subtitleformats/subtitleeditorproject/subtitleeditorproject.cc --- old/subtitleeditor-0.56.1/plugins/subtitleformats/subtitleeditorproject/subtitleeditorproject.cc 2026-01-29 12:04:21.000000000 +0100 +++ new/subtitleeditor-0.56.2/plugins/subtitleformats/subtitleeditorproject/subtitleeditorproject.cc 2026-02-18 16:42:23.000000000 +0100 @@ -108,7 +108,7 @@ } const xmlpp::Element* get_unique_children(const xmlpp::Node* root, const Glib::ustring& name) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW const xmlpp::Node::const_NodeList children = root->get_children(name); #else const xmlpp::Node::NodeList children = root->get_children(name); @@ -145,7 +145,7 @@ if (uri.empty()) return; -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlpl = root->add_child_element("player"); #else xmlpp::Element* xmlpl = root->add_child("player"); @@ -177,7 +177,7 @@ if (!wf) return; -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlwf = root->add_child_element("waveform"); #else xmlpp::Element* xmlwf = root->add_child("waveform"); @@ -208,7 +208,7 @@ if (!kf) return; // don't need to save without KeyFrames... -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlwf = root->add_child_element("keyframes"); #else xmlpp::Element* xmlwf = root->add_child("keyframes"); @@ -224,7 +224,7 @@ Styles styles = document()->styles(); -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW const xmlpp::Node::const_NodeList list_styles = xmlstyles->get_children("style"); #else const xmlpp::Node::NodeList list_styles = xmlstyles->get_children("style"); @@ -244,7 +244,7 @@ } void save_styles(xmlpp::Element* root) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlstyles = root->add_child_element("styles"); #else xmlpp::Element* xmlstyles = root->add_child("styles"); @@ -253,7 +253,7 @@ Styles styles = document()->styles(); for (Style style = styles.first(); style; ++style) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xml = xmlstyles->add_child_element("style"); #else xmlpp::Element* xml = xmlstyles->add_child("style"); @@ -314,7 +314,7 @@ } void save_subtitles(xmlpp::Element* root) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlsubtitles = root->add_child_element("subtitles"); #else xmlpp::Element* xmlsubtitles = root->add_child("subtitles"); @@ -329,7 +329,7 @@ Subtitles subtitles = document()->subtitles(); for (Subtitle sub = subtitles.get_first(); sub; ++sub) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlsub = xmlsubtitles->add_child_element("subtitle"); #else xmlpp::Element* xmlsub = xmlsubtitles->add_child("subtitle"); @@ -366,7 +366,7 @@ } void save_subtitles_selection(xmlpp::Element* root) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xml = root->add_child_element("subtitles-selection"); #else xmlpp::Element* xml = root->add_child("subtitles-selection"); @@ -375,7 +375,7 @@ std::vector<Subtitle> selection = document()->subtitles().get_selection(); for (const auto& subtitle : selection) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* xmlsub = xml->add_child_element("subtitle"); #else xmlpp::Element* xmlsub = xml->add_child("subtitle"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subtitleeditor-0.56.1/plugins/subtitleformats/timedtextauthoringformat1/timedtextauthoringformat1.cc new/subtitleeditor-0.56.2/plugins/subtitleformats/timedtextauthoringformat1/timedtextauthoringformat1.cc --- old/subtitleeditor-0.56.1/plugins/subtitleformats/timedtextauthoringformat1/timedtextauthoringformat1.cc 2026-01-29 12:04:21.000000000 +0100 +++ new/subtitleeditor-0.56.2/plugins/subtitleformats/timedtextauthoringformat1/timedtextauthoringformat1.cc 2026-02-18 16:42:23.000000000 +0100 @@ -45,7 +45,7 @@ auto div = dynamic_cast<const xmlpp::Element*>(body->get_children("div").front()); if (div) { -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Node::const_NodeList list = div->get_children(); #else xmlpp::Node::NodeList list = div->get_children(); @@ -68,14 +68,14 @@ tt->set_attribute("xml:lang", ""); tt->set_attribute("xmlns", "http://www.w3.org/2006/10/ttaf1"); -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* body = tt->add_child_element("body"); #else xmlpp::Element* body = tt->add_child("body"); #endif // div subtitles -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* div = body->add_child_element("div"); #else xmlpp::Element* div = body->add_child("div"); @@ -126,7 +126,7 @@ if (p->has_child_text()) { Glib::ustring text; -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Node::const_NodeList children = p->get_children(); for (auto& node : children) { const xmlpp::ContentNode* cn = dynamic_cast<const xmlpp::ContentNode*>(node); @@ -151,7 +151,7 @@ utility::replace(text, "\n", "<br/>"); -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Element* p = root->add_child_element("p"); #else xmlpp::Element* p = root->add_child("p"); @@ -160,7 +160,7 @@ p->set_attribute("begin", time_to_ttaf1(sub.get_start())); p->set_attribute("end", time_to_ttaf1(sub.get_end())); p->set_attribute("dur", time_to_ttaf1(sub.get_duration())); -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW p->set_first_child_text(text); #else p->set_child_text(text); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subtitleeditor-0.56.1/src/isocodes.cc new/subtitleeditor-0.56.2/src/isocodes.cc --- old/subtitleeditor-0.56.1/src/isocodes.cc 2026-01-29 12:04:21.000000000 +0100 +++ new/subtitleeditor-0.56.2/src/isocodes.cc 2026-02-18 16:42:23.000000000 +0100 @@ -44,7 +44,7 @@ if (root->get_name() != Glib::ustring::compose("%1_entries", iso_id)) return false; -#ifdef HAVE_LIBXMLXX_3 +#ifdef HAVE_LIBXMLXX_NEW xmlpp::Node::const_NodeList entries = #else xmlpp::Node::NodeList entries =
