Skip to content
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

libid3tag: migrate to Conan v2 #18987

Merged
merged 11 commits into from
Dec 26, 2023
Merged

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 31, 2023

TODO:

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2023

Hooks produced the following warnings for commit 111b2fe
libid3tag/0.15.1b
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libid3tag.0.3.0.dylib, libid3tag.0.dylib, libid3tag.dylib

@ghost
Copy link

ghost commented Oct 24, 2023

I detected other pull requests that are modifying libid3tag/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@AbrilRBS
Copy link
Member

Restarted, this PR was also affected by the grpc outtage

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Dec 3, 2023

Hooks produced the following warnings for commit 2fd4dd0
libid3tag/0.15.1b@#2d7856afb421fb59157a49585b9c658f
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libid3tag.0.3.0.dylib, libid3tag.0.dylib, libid3tag.dylib

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading the previous recipe, I see it used the MSBuild in Windows. Did you try the new https://docs.conan.io/2/reference/tools/microsoft/msbuild.html ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did, but the real issue here was

self.run("devenv /Upgrade libid3tag.dsp")

The project ships only with an archaic .dsp file instead of .vcproj or .vcxproj and VS 2023 no longer supports the automatic upgrade from .dsp to .vcxproj like the previous versions do.

Comment on lines 54 to 55
if self.settings.arch == "armv8" and self.options.shared:
raise ConanInvalidConfiguration("shared library build is not supported for armv8")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if self.settings.arch == "armv8" and self.options.shared:
raise ConanInvalidConfiguration("shared library build is not supported for armv8")

I suggest trying it again. I can build it in Mac M1 locally, but probably you had problems when cross-building from Mac Intel to Mac M1. However, we added Mac M1 to the build matrix, so it should work now.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 91310bc
libid3tag/0.15.1b@#fab44d430950a5d00f32d9eb8fcdeb26
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libid3tag.0.3.0.dylib, libid3tag.0.dylib, libid3tag.dylib

Co-authored-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 15 (bd9af616795205ffe770f5987f914885e8f88c72):

  • libid3tag/0.15.1b:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 14 (bd9af616795205ffe770f5987f914885e8f88c72):

  • libid3tag/0.15.1b:
    All packages built successfully! (All logs)

Copy link
Contributor

Hooks produced the following warnings for commit bd9af61
libid3tag/0.15.1b@#2363073a63c51d84dd31aa8dd8395f2d
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libid3tag.0.3.0.dylib, libid3tag.0.dylib, libid3tag.dylib

@uilianries uilianries self-assigned this Dec 18, 2023
@conan-center-bot conan-center-bot merged commit 323292d into conan-io:master Dec 26, 2023
13 checks passed
valgur added a commit to valgur/conan-center-index that referenced this pull request Jan 1, 2024
* libid3tag: migrate to Conan v2

* libid3tag: use AutotoolsDeps

* libid3tag: disable shared build on armv8

* libid3tag: zlib/[>=1.2.11 <2]

* libid3tag: replace legacy VS project with CMakeLists.txt

* libid3tag: fix autotools package()

* libid3tag: make the armv8 check specific to cross-building

* Update recipes/libid3tag/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* libid3tag: add missing import

---------

Co-authored-by: Uilian Ries <uilianries@gmail.com>
Comment on lines -57 to -58
if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
self.build_requires("msys2/cci.latest")
Copy link
Contributor

@SpaceIm SpaceIm Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic must not be removed because autotools require a shell, and msvc is not the only compiler on Windows, so you can go into autotools branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants