-
Notifications
You must be signed in to change notification settings - Fork 2k
imagemagick 7.0.11-14 #5849
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
imagemagick 7.0.11-14 #5849
Conversation
This comment has been minimized.
This comment has been minimized.
Thanks for the recipe! |
Copied from https://github.com/bincrafters/conan-imagemagick as mentioned by me in #5502. Please mention this in the PR description to provide direct credits 🙂 |
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Does anyone know of a package that downloads multiple sources using conandata.yml that I can use for a reference? |
cryptopp: source code and build system files split in 2 archives |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm not sure why this is failing on windows, since the error given appears to be missing Visual C++ libraries. However on Linux the includes fail due to: def _copy_pkg_config(self, name):
if name not in self.deps_cpp_info.deps:
return
root = self.deps_cpp_info[name].rootpath
pc_dir = os.path.join(root, 'lib', 'pkgconfig')
pc_files = glob.glob('%s/*.pc' % pc_dir)
if not pc_files:
pc_files = glob.glob('%s/*.pc' % root)
for pc_name in pc_files:
new_pc = os.path.join('pkgconfig', os.path.basename(pc_name))
self.output.info('copying .pc file %s' % os.path.basename(pc_name))
shutil.copy(pc_name, new_pc)
prefix = tools.unix_path(root) if os.name == 'nt' else root
tools.replace_prefix_in_pc_file(new_pc, prefix) This is trying to copy pc files from other libraries |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm not sure how to fix this, build is working for me on linux. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It looks like |
https://github.com/ImageMagick/ImageMagick-Windows It looks like MFC is required, I'm not sure there's anything I can do to add that. |
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.
Overwhelming this looks good just a couple follow-up questions
for patch in self.conan_data.get("patches", {}).get(self.version, {}): | ||
tools.patch(**patch) |
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.
The only patch is "remove deps" should it not be applied on all systems?
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.
I'm not sure this is from the original bincrafters recipe, I haven't changed anything related to windows builds since they don't currently work.
|
||
msbuild = MSBuild(self) | ||
# fatal error C1189: #error: Please use the /MD switch for _AFXDLL builds | ||
msbuild.build_env.flags = ["/MD"] |
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.
I've never worked with windows builds
Is the code provided function on your system? It seems odd to merge a lot of complicated logic if it's not somewhat working
This comment has been minimized.
This comment has been minimized.
add conandata.yml change source and build subfolders to property methods additional library options use 'with_' prefix os.name -> tools.os_info.is_windows remove fPIC for shared build add support for libjpeg turbo crossbuilding support for test package remove disabling of pango change homepage to imagemagick.org specify run_environment=True download sources using conandata.yml correct typo in directory name run install during package step move visualmagick to be a subelement of sources in conandata.yml change handling of visualmagick in conandata.yml move some tools.replace_in_file calls to patches remove license export remove shebang update minimum cmake version remove verbose make files add with_pango option remove cstdlib import remove pc file generation add pkg_config generator correct some test keys remove etc, pkgconfig and .la files remove share directory correct path for file removal Add an option to control compilation of djvu support. add components sourced from pc files add pkg_config names split pkg_config names into separate declarations use requires to remove some duplicate component declarations add FIXME for modeling FindImageMagick move pthread to system_libs Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> update libtiff to 4.3.0 update openexr to 2.5.7 throw invalid configuration exception for windows due to mfc remove unused shutil import workaround for xorg/system includes conan-io#6880 remove conan topic Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> change TOGO to FIXME Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> add info for modifying path Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> remove settings from cross_building Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> remove _is_mingw_windows property condense source acquisition Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> condense source acquisition for visualmagick Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> convert test package to c implementation replace self._major with tools.Version(self.version).major remove copying pdb clean up arguments use msvs_toolset add newer visual studio versions formatting define visualmagick_version fix args redefinition removing some configure arguments format visualmagick_version Update recipes/imagemagick/all/conanfile.py Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> Update recipes/imagemagick/all/conanfile.py Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> finish converting test package to run using C move configuration check to validate method Revert "finish converting test package to run using C" This reverts commit 4f9ab48. finish converting test package to run using C fixed refactor issue where this modified the automake recipe
All green in build 46 (
|
Please do not force push 🙏 GitHub forces us to restart the review which is not fun! |
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.
🤞 we can short out the windows section soon
Sorry I was rebasing and squashing all the commits so it shows up nicely on master. |
On the merge commit to |
Ah good to know I'll refrain from doing it in the future then. |
Thank you and keep up the great contributions! |
Specify library name and version: ImageMagick/7.0.11-14
For #5502, copied from bincrafters/conan-imagemagick
conan-center hook activated.