-
-
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
Use Taglib1 package on Linux if found #12760
Conversation
That builds 2.4 for me! (Though I would prefer to be using main.) |
Cleaned the commit history. I think it is reasonable to make this a 2.4.0 PR. |
Wouldn't be better to parametric? Like |
This can already be done by just setting the environment variable PKG_CONFIG_PATH |
also confirming this change builds nicely now on my EndeavourOS (Arch) with taglib2 and taglib1 installed side by side. Thank you @daschuer |
I think should be dealt with by the package/AUR maintainer, not in our code. |
# priorize the taglib1 package introduced in https://aur.archlinux.org/packages/taglib1 | ||
set(ENV{PKG_CONFIG_PATH} "/usr/lib/taglib1/lib/pkgconfig/:$ENV{PKG_CONFIG_PATH}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Holzhaus Only these two lines are ARCH specific. The rest is required to have two version of taglib installed. We may remove it but on the other hand it is convenient for our contributors and does not really hurt.
Which distro do you use? has Taglib2 landed there? |
This is the situation: https://repology.org/project/taglib/versions |
It looks like Debian will allow using a taglib1 and taglib2 package but the development files are conflicting right now. |
Force mixxx-git to use the taglib1 AUR package files by incorporating patches from mixxxdj/mixxx#12760. The patches had to be slightly adapted to account for some changes on the main branch.
I am ok with this kind of hack in order to get a release out -- we can do a "proper" fix later if possible, |
I do not know anything about this issue, @Holzhaus are you ok for us to merge this in or is your objection blocking? |
No, I'm not blocking this but I still think this is unnecessary and the A patch like that can easily be added to the Mixxx AUR package (which I maintain). For the That's why I don't think it makes sense to hack workarounds for specific distros here. That's something package maintainers are responsible for. |
Thank you @Holzhaus The removal of the "taglib/" include prefix is required because of this upstream PR :taglib/taglib@bd4c9cb |
merging mostly just to get the release moving. We can come back to the issue later and maybe move per-distro patches to their respective packaging repos |
This allows to use the https://aur.archlinux.org/packages/taglib1 package on Linux Arch.
This is a workaround for #12790