Closed thesamesam closed 1 year ago
Which latest version worked before? I'm not sure I tested anything after 0.11
Version before, which was working, was 0.11, see: https://packages.gentoo.org/packages/dev-libs/log4cxx
Well, log4cxx break backward compatibility but we need to be compatible with old versions. You can use Debian patches, it seems they fix both log4cxx 0.12+ and swiften 5.0+ issues - https://salsa.debian.org/xmpp-team/spectrum2/-/tree/master/debian/patches
Well, log4cxx break backward compatibility but we need to be compatible with old versions.
I am not sure, why you need? Can't be this added for new releases?
Because we need to run Spectrum on Debian stable and other non-rolling distros
I am not sure, if you are aware, that Debian 12 will be released summer 2023 and includes log4cxx 1.0.0? I think, it would be a could idea, if somehow both versions could be supported. Maybe some compile flag?
Sure, we had in the past a lot of #ifdef
s to support both Swiften 2 and 4. Right now we need the same for Swiften 4/5, log4cxx 0.11/1.0.0. When Debian stable with log4cxx 1.0 will be released we actually can stop support older versions, but not right now.
I recently updated our log4cxx package in Gentoo to 1.0.0 and hit the following build failure:
Full build log: build.log. Let me know if I can grab more info, thanks!