-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require TagLib 1.11 or newer #4251
Conversation
Ubuntu 20.04 ships TagLib 1.11.1. To maintain adherence to our minimum requirements policy we need to either:
|
Disregard the last comment. I mistakenly thought TagLib 1.12 was required. |
This PR does not conflict with the minimum requirements policy. We only require TagLib 1.11.x here. This version has serious, known bugs (e.g. OGG corruption) and we still maintain workarounds. |
+38 −228 :) |
Why does the build fail on Windows? We package version 1.12. |
Are you sure the current Windows build environment has TagLib 1.12? This might need to wait for #4225. |
Oh I think it is an issue with the version detection. |
On Windows, the pkgconfig file is found and the variable is defined but somehow set to empty string.
I fixed the version detection on Windows: https://github.com/uklotzde/mixxx/pull/18 |
CMake: fix version detection for TagLib
...to get rid of untested legacy code.
Do we need a redundant check in CMakeLists.txt in addition to the
static_assert
in the code? I have left a TODO comment.This might also fix https://bugs.launchpad.net/bugs/1940777: The invocation of
SoundSource::importTrackMetadataAndCoverImage()
inSoundSourceOpus::importTrackMetadataAndCoverImage()
was accepted by all compilers even though this is slightly misleading. It should have beenMetadataSource::importTrackMetadataAndCoverImage()
.