commit libmusicbrainz for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmusicbrainz for openSUSE:Factory checked in at 2024-04-21 20:25:07 Comparing /work/SRC/openSUSE:Factory/libmusicbrainz (Old) and /work/SRC/openSUSE:Factory/.libmusicbrainz.new.26366 (New) Package is "libmusicbrainz" Sun Apr 21 20:25:07 2024 rev:25 rq:1168851 version:5.1.0 Changes: --- /work/SRC/openSUSE:Factory/libmusicbrainz/libmusicbrainz.changes 2021-07-10 22:55:09.199457162 +0200 +++ /work/SRC/openSUSE:Factory/.libmusicbrainz.new.26366/libmusicbrainz.changes 2024-04-21 20:25:47.674648744 +0200 @@ -0,0 +1,7 @@ +--- +Thu Apr 18 09:42:20 UTC 2024 - Dominique Leuenberger + +- Add libmusicbrainz-libxml2.12.patch: Fix build against libxml + 2.12. + +--- New: libmusicbrainz-libxml2.12.patch BETA DEBUG BEGIN: New: - Add libmusicbrainz-libxml2.12.patch: Fix build against libxml 2.12. BETA DEBUG END: Other differences: -- ++ libmusicbrainz.spec ++ --- /var/tmp/diff_new_pack.GldRBm/_old 2024-04-21 20:25:48.294671494 +0200 +++ /var/tmp/diff_new_pack.GldRBm/_new 2024-04-21 20:25:48.298671641 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmusicbrainz # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source1:baselibs.conf # PATCH-FIX-UPSTREAM musicbrainz-cmake-noglob.patch dims...@opensuse.org -- do not use wildcards for dependencies Patch0: musicbrainz-cmake-noglob.patch +# PATCH-FIX-UPSTREAM +Patch1: https://patch-diff.githubusercontent.com/raw/metabrainz/libmusicbrainz/pull/19.patch#/libmusicbrainz-libxml2.12.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: neon-devel ++ libmusicbrainz-libxml2.12.patch ++ >From 9ba00067a15479a52262a5126bcb6889da5884b7 Mon Sep 17 00:00:00 2001 From: Christopher Degawa Date: Sun, 8 Oct 2023 11:41:30 -0500 Subject: [PATCH 1/2] libxml: include parser.h libxml2 removed the inclusion of global.h in a few of its include files, so we can no longer rely on transitive includes. This applies to functions like xmlParseFile. Signed-off-by: Christopher Degawa --- src/xmlParser.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmlParser.cc b/src/xmlParser.cc index e63df55..53dec25 100644 --- a/src/xmlParser.cc +++ b/src/xmlParser.cc @@ -30,6 +30,7 @@ #include #include +#include XMLResults::XMLResults() : line(0), >From 558c9ba0e6d702d5c877f75be98176f57abf1b02 Mon Sep 17 00:00:00 2001 From: Christopher Degawa Date: Sun, 8 Oct 2023 11:42:55 -0500 Subject: [PATCH 2/2] libxml: constify the storage of xmlGetLastError() libxml2 recently made it a const return. Since nothing is being modified of it, this should have no real effect past satisfying the compiler. Signed-off-by: Christopher Degawa --- src/xmlParser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmlParser.cc b/src/xmlParser.cc index 53dec25..fee684c 100644 --- a/src/xmlParser.cc +++ b/src/xmlParser.cc @@ -57,7 +57,7 @@ XMLNode *XMLRootNode::parseFile(const std::string , XMLResults* results doc = xmlParseFile(filename.c_str()); if ((doc == NULL) && (results != NULL)) { -xmlErrorPtr error = xmlGetLastError(); +const xmlError *error = xmlGetLastError(); results->message = error->message; results->line = error->line; results->code = error->code; @@ -72,7 +72,7 @@ XMLNode *XMLRootNode::parseString(const std::string , XMLResults* results) doc = xmlParseMemory(xml.c_str(), xml.length()); if ((doc == NULL) && (results != NULL)) { -xmlErrorPtr error = xmlGetLastError(); +const xmlError *error = xmlGetLastError(); results->message = error->message; results->line = error->line; results->code = error->code;
commit libmusicbrainz for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmusicbrainz for openSUSE:Factory checked in at 2021-07-10 22:54:38 Comparing /work/SRC/openSUSE:Factory/libmusicbrainz (Old) and /work/SRC/openSUSE:Factory/.libmusicbrainz.new.2625 (New) Package is "libmusicbrainz" Sat Jul 10 22:54:38 2021 rev:24 rq:905434 version:5.1.0 Changes: --- /work/SRC/openSUSE:Factory/libmusicbrainz/libmusicbrainz.changes 2016-05-31 12:10:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.libmusicbrainz.new.2625/libmusicbrainz.changes 2021-07-10 22:55:09.199457162 +0200 @@ -1,63 +1 @@ -Wed May 25 09:05:01 UTC 2016 - martin.li...@suse.com - -- Add patch gcc6-fix-errors.patch to remove errors seen by GCC6. - -Sat Nov 19 20:43:03 UTC 2011 - co...@suse.com - -- add libtool as buildrequire to avoid implicit dependency - -Fri Apr 14 13:38:21 UTC 2011 - toddrme2...@gmail.com - -- added 32bit compatibility libraries -- package no longer obsoletes itself (fix for RPMLINT warning) -- added BuildRequires: pkg-config (fix for RPMLINT warning) - -Sat Dec 12 16:47:24 UTC 2009 - a...@suse.de - -- Do not package Makefiles since they only work within the build - directory. - -Sat Aug 16 21:56:37 CEST 2008 - crrodrig...@suse.de - -- remove static libraries and "la" files -- correct -devel package dependencies - -Mon Jan 7 11:51:20 CET 2008 - ssom...@suse.de - -- fix build with gcc43 - -Mon Jul 30 00:50:52 CEST 2007 - r...@suse.de - -- provide old name - -Wed Jul 25 16:06:14 CEST 2007 - sbra...@suse.cz - -- Updated to version 2.1.5: - * Fixed compilation on GCC 4.3. - * Fix the patch for buffer overflows in rdfparse.c. - * Patch to allow manually entering the CD TOC information. - * Fixed configure.in to work with newer versions of autoconf. - * Buffer overflow in MBHttp::WriteToBuffer. - * Python bindings: No shebang in non-executable scripts. -- Name package according to shared library packaging policy. - -Fri Apr 27 23:36:56 CEST 2007 - dmuel...@suse.de - -- fix -devel requires - -Fri Apr 27 18:56:16 CEST 2007 - a...@suse.de - -- Add libexpat-devel to BuildRequires. - -Thu Aug 31 18:24:16 CEST 2006 - sbra...@suse.cz +Sat Jul 10 07:49:54 UTC 2021 - Dave Plater @@ -65,5 +3,3 @@ -- Updated to version 2.1.4 (#199134): - * Security fix CVE-2006-4197: -* Fixed buffer overflows in the RDF parsing and HTTP code. -* Fixed invalid memory access in the HTTP code. - * Fixed memory leaks in RDFExtract. +- Copied libmusicbrainz5 package and fixed spec file to fix factory + build failure. Deleted obsolete libmusicbrainz-2.1.5-gcc43.patch + and gcc6-fix-errors.patch @@ -72 +8 @@ -Mon Jul 17 17:24:12 CEST 2006 - lmichno...@suse.cz +Fri Mar 27 10:57:12 UTC 2020 - Dominique Leuenberger @@ -74,2 +10,2 @@ -- fixed failing build (buildhack.patch) - just workaround, needs further investigation +- Add musicbrainz-cmake-noglob.patch: do not use wildcards for + dependencies. Fixes build when using ninja. @@ -78 +14 @@ -Wed Jan 25 21:37:34 CET 2006 - m...@suse.de +Tue Sep 18 08:40:11 UTC 2018 - Tom Chv??tal @@ -80 +16,4 @@ -- converted neededforbuild to BuildRequires +- Switch to %cmake macros +- Drop the test phase, it does nothing it just compiles file that + can communicate with the musicbrainz server, which can't be + validated in OBS @@ -83 +22 @@ -Tue Jan 10 17:27:11 CET 2006 - sbra...@suse.cz +Thu Feb 5 08:21:22 UTC 2015 - p.drou...@gmail.com @@ -85 +24,7 @@ -- Updated to version 2.1.2. +- Update to version 5.1.0 + * Fix LMB-33 - Handle 'ended' element in 'relation' + * Fix LMB-34 - Remove non-free XML parser and replace with libxml2 + * Add support for cross-compilation and building out of tree +- Add pkgconfig(libxml-2.0) build requires; new upstream dependency +- Bump so version to 5-1 +- Delete 0001-Correct-inconsistent-licensing-text.patch @@ -88 +33 @@ -Mon Oct 31 20:12:26 CET 2005 - dmuel...@suse.de +Sat Oct 11 02:17:27 UTC 2014 - crrodrig...@opensuse.org @@ -90 +35 @@ -- don't build as root +- Build the shared library with -fvisibility-inlines-hidden @@