-
Notifications
You must be signed in to change notification settings - Fork 2k
port ZBar recipe to conan2 #16569
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
port ZBar recipe to conan2 #16569
Conversation
This comment has been minimized.
This comment has been minimized.
Make sure to comment in #4 for access Also this is missing the test_v1_package which you can find in the docs :) |
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.
Clean imports (linter comments)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Overall this looks really good,
Two small things
- the builder dont need to be cached anymore
- there should be a test_v1_package
Thanks for the help! I'm not that familiar with Conan. I tried to fix it so that it just works™ with v2, which it did. I'm sure there's room for improvements. I appreciate any help!
Is the new file backwards compatible? Can it run with both Conan v1 and v2 simultaneously? |
It's specifically talored to ConanCenter's build infrastructure and wont be run by default with It only works with Conan 1.x but needs to be manully run (see the docs "developing locally" if you want more details) |
Also you need to comment in #4 for access |
Make sure to comment in #4 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@jdoubleu Thank you for your contribution, please, consider my PR jdoubleu#1 that contains some important improvements. |
Thanks! Does it address all the previous comments in this PR? |
This comment has been minimized.
This comment has been minimized.
Yes, all them 😄 Autotools is not happy with Clang 😤 I'll take a look this afternoon. |
The configure file is already generated.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit dce2f4bzbar/0.10
|
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@jdoubleu Hello, please, consider the new PR jdoubleu#2. The versions 0.10 and 0.23 are basically different in terms of building script, so need to patch the 0.10 to be compatible with Mac M1. |
[zbar] Apply patch to allow cross building on Mac
I've merge the PR and added you as contributor to my fork. You should be able to directly push to the branch, now. |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 3c94d28zbar/0.10
|
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 11 (
Conan v2 pipeline ✔️
All green in build 10 ( |
@jdoubleu Finally is working! 🔥 |
* port ZBar recipe to conan2 * Apply suggestions from code review * Use rm safe * improve test package Signed-off-by: Uilian Ries <uilianries@gmail.com> * do not run autoreconf The configure file is already generated. * Use autoreconf for 0.23 * patch aarch Signed-off-by: Uilian Ries <uilianries@gmail.com> * fix mac build Signed-off-by: Uilian Ries <uilianries@gmail.com> * fix apple shared install Signed-off-by: Uilian Ries <uilianries@gmail.com> --------- Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: Chris Mc <christopherm@jfrog.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
Specify library name and version: zbar/0.23.92