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

add libplist #5242

Closed
wants to merge 6 commits into from
Closed

add libplist #5242

wants to merge 6 commits into from

Conversation

xyz1001
Copy link
Contributor

@xyz1001 xyz1001 commented Apr 16, 2021

Specify library name and version: libplist/1.2.240, libplist/1.3.17

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!

It is a dependency of my project.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Comment on lines +42 to +44
def build(self):
cmake = self._configure_cmake()
cmake.build()
Copy link
Contributor

@SpaceIm SpaceIm Apr 16, 2021

Choose a reason for hiding this comment

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

I know it's a pain on Windows, but this project provides autotools files. Do your properly emulate what happen in upstream configure.ac and Makefile.am?

Copy link
Contributor Author

@xyz1001 xyz1001 Apr 17, 2021

Choose a reason for hiding this comment

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

Autotools is hard to cross-platform compilation. so I do not try it. This CMakeLists.txt is uesd to compile libplist in my project for two years and it work well, so I just take it and use it.

url: "https://github.com/libimobiledevice-win32/libplist/archive/refs/tags/v1.2.240.tar.gz"
sha256: "9de6e5b8cb806e4cde96ef68833fe6baba0094a12072db343e9c2fdd52187e9e"
"1.3.17":
url: "https://github.com/libimobiledevice-win32/libplist/archive/refs/tags/v1.3.17.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://github.com/libimobiledevice/libplist is the officail repo but it is fail to build under windows. https://github.com/libimobiledevice-win32/libplist fix these compile error.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

libimobiledevice/libplist#76 This is the pull request submitted by the owner of https://github.com/libimobiledevice-win32/libplist. It is about 5 years old yet hasn't been merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Upstream rebased the PR but never answered xD

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 tried to use official repo and it is failed to build as expected. I also try to make patch for official source, but the change is too much. The patch file generated by git has more than 3000 lines. I am very worried about that this patch will conflict with official new release.

@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
Copy link
Collaborator

All green in build 6 (1780031b025f927a0a44110a9e2b19426b1fe542):

  • libplist/1.2.240@:
    All packages built successfully! (All logs)

  • libplist/1.3.17@:
    All packages built successfully! (All logs)

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.

None yet

5 participants