Skip to content

Conversation

jdoubleu
Copy link
Contributor

Specify library name and version: zbar/0.23.92


@CLAassistant
Copy link

CLAassistant commented Mar 15, 2023

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@prince-chrismc
Copy link
Contributor

Make sure to comment in #4 for access

Also this is missing the test_v1_package which you can find in the docs :)

Copy link
Contributor

@prince-chrismc prince-chrismc left a 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)

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

@prince-chrismc prince-chrismc left a 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

@jdoubleu
Copy link
Contributor Author

jdoubleu commented Mar 26, 2023

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!

there should be a test_v1_package

Is the new file backwards compatible? Can it run with both Conan v1 and v2 simultaneously?

@prince-chrismc
Copy link
Contributor

It's specifically talored to ConanCenter's build infrastructure and wont be run by default with conan create :)

It only works with Conan 1.x but needs to be manully run (see the docs "developing locally" if you want more details)

@prince-chrismc
Copy link
Contributor

Also you need to comment in #4 for access

@prince-chrismc
Copy link
Contributor

Make sure to comment in #4

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member

@jdoubleu Thank you for your contribution, please, consider my PR jdoubleu#1 that contains some important improvements.

@jdoubleu
Copy link
Contributor Author

jdoubleu commented May 9, 2023

Thanks! Does it address all the previous comments in this PR?
Sorry, I haven't had time to fix it myself.

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

Thanks! Does it address all the previous comments in this PR?

Yes, all them 😄

Autotools is not happy with Clang 😤

I'll take a look this afternoon.

@uilianries uilianries self-assigned this May 10, 2023
The configure file is already generated.
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit dce2f4b
zbar/0.10
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libzbar.dylib, libzbar.0.dylib

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Member

@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
@jdoubleu
Copy link
Contributor Author

jdoubleu commented May 11, 2023

I've merge the PR and added you as contributor to my fork. You should be able to directly push to the branch, now.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 3c94d28
zbar/0.10
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libzbar.dylib, libzbar.0.dylib

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Contributor

Conan v1 pipeline ✔️

All green in build 11 (ebee417e251aaba61113d6874a056dada6aef53f):

  • zbar/0.23.92@:
    All packages built successfully! (All logs)

  • zbar/0.10@:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds may be required once they are on the v2 ready list

All green in build 10 (ebee417e251aaba61113d6874a056dada6aef53f):

  • zbar/0.10@:
    All packages built successfully! (All logs)

  • zbar/0.23.92@:
    All packages built successfully! (All logs)

@uilianries
Copy link
Member

@jdoubleu Finally is working! 🔥

@conan-center-bot conan-center-bot merged commit 779ed64 into conan-io:master May 13, 2023
pezy pushed a commit to pezy/conan-center-index that referenced this pull request Jun 1, 2023
* 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>
@jdoubleu jdoubleu deleted the port-zbar-conan2 branch January 21, 2024 09:02
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